Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Gungho::Component::BloUseriContributed PerGungho::Component::BlockPrivateIP(3)

NAME
       Gungho::Component::BlockPrivateIP - Block Requests With Private IP
       Address

SYNOPSIS
	 components:
	   - BlockPrivateIP

DESCRIPTION
       Some domain names map to	private	IP addresses such as 192.168.*.*
       purpose,	which could cause DoS in certain situations.

       Loading this component will make	addresses resolved via DNS lookups to
       be blocked, if they resolved to a private IP address such as
       192.168.1.1.  Note that 127.0.0.1 is also considered a private IP.

METHODS
   request_is_allowed
       Overrides Gungho::Component::Core::request_is_allowed()

   handle_dns_response
       Overrides Gungho::Component::Core::handle_dns_response()

   block_private_ip_address
       Check the given address,	and if it's a private address, generates an
       error HTTP Response/

   address_is_private
       Given an	address, returns true if the address looks like	a private IP

SEE ALSO
       Regexp::Common

perl v5.24.1			  2007-11-Gungho::Component::BlockPrivateIP(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Gungho::Component::BlockPrivateIP&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help