Skip to content

A web page which accepts an IP address from the user and looks up the network CIDR and its owner by using the ARIN Whois-RWS API

License

Notifications You must be signed in to change notification settings

addiscent/ip-addr-to-arin-cidr

Repository files navigation

Important: Apache Web Server Version Compatibility Note

This program is not compatible with Apache Web Server v2.4 and later. "Ip-addr-to-arin-cidr" uses the "deny from" .htaccess file directive to block service to IP addresses. However, the "deny from" (etc) directive set has been deprecated in Apache v2.4; the "deny from" directive has been replaced by a different IP allow/block directive set, ("Require all granted... Require not ip X.X.X.X, etc"). Therefore, "ip-addr-to-arin-cidr", is only useful in older versions of Apache Web Server which correctly support the "deny from" directive. Please see the Apache documentation for additional information.

This project remains online for those who must use older versions of Apache which are compatible, though operating an obsolete version of Apache is not recommended.

ip-addr-to-arin-cidr

This is a PHP/HTML web page which accepts an IP address entered by a user and then uses ARIN Whois-RWS API to look up the IP address range. The IP address range is displayed along with the Apache .htaccess directive required to block the IP address or IP address range.

It is a simple tool for web host administrators. It assists the admin's task of blocking access to a web host, if the admin wishes to do so by blacklisting IP addresses by using the Apache HTTP server .htaccess file.

A CIDR is a specification for a range of addresses. The admin may choose to block a range instead of a single IP address for a variety of reasons.

The information returned to the user is displayed in a format which can easily be copy-and-pasted into an .htaccess file by an admin.

This project is also known by the name "Deny From IP".

"Deny From IP" is a web page which displays instructions and accepts an IP address entered by a user. The web page uses the submitted IP address to do a query to the ARIN Whois-RWS API. The query looks up the network range of IP addresses which contains the IP address submitted by the user. The associated CIDR is displayed to the user, along with other information.

Visit the latest stable working "Deny From IP" web page example at http://ip-addr-to-arin-cidr.addiscent.com.

Copyright (C) Rex Addiscentis - raddiscentis@addiscent.com

About

A web page which accepts an IP address from the user and looks up the network CIDR and its owner by using the ARIN Whois-RWS API

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages