GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GUNGHO::COMPONENT::BLOCKPRIVATEIP (3)

.ds Aq ’

NAME

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

CONTENTS

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
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 GUNGHO::COMPONENT::BLOCKPRIVATEIP (3) 2007-11-26

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.