Exception: IPAccessDenied::Output

Inherits:
IPAccessDenied show all
Defined in:
lib/ipaccess/ip_access_errors.rb

Overview

This class handles IP access denied exceptions for outgoing connections/datagrams.

Instance Attribute Summary

Attributes inherited from IPAccessDenied

#acl, #originator, #peer_ip, #rule, #socket

Instance Method Summary collapse

Methods inherited from IPAccessDenied

#access_set, #access_set_desc, #initialize, #peer_ip_short, #reason, #reason_desc, #rule_desc, #rule_short, #show, #to_s

Constructor Details

This class inherits a constructor from IPAccessDenied

Instance Method Details

#messageObject



246
247
248
249
250
251
# File 'lib/ipaccess/ip_access_errors.rb', line 246

def message
  return "outgoing connection to "        +
         "#{peer_ip_short} denied by "    +
         "#{access_set_desc}#{rule_desc}" +
         "#{reason_desc}"
end