Exception: IPAccessDenied::Input

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

Overview

This class handles IP access denied exceptions for incoming 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



232
233
234
235
236
237
# File 'lib/ipaccess/ip_access_errors.rb', line 232

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