PHP Classes

How Can PHP Allow IP Address Range of Real Users by Blocking Machines Used to Perform Security Attacks - Tor Geoip Tools package blog

Recommend this page to a friend!
  All package blogs All package blogs   Tor Geoip Tools Tor Geoip Tools   Blog Tor Geoip Tools package blog   RSS 1.0 feed RSS 2.0 feed   Blog How Can PHP Allow IP ...  
  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Package: Tor Geoip Tools

Sometimes Web servers that run PHP sites are attacked by several machines hosted in the same network.

One way to protect against those attacks from all those machines is to block network connections from the whole IP address range segment.

This package simplifies blocking a whole IP address range segment by generating commands to run the Linux iptables command that adds rules to stop all the IP addresses that belong to those range segments.




Loaded Article

About the Tor Geoip Tools Package

The package Tor Geoip Tools is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Generate IPTables rules to block the range of a IP

Here follows in more detail what it does:

This class can generate IPTables rules to block the range of an IP.

It can find the IP range segment of a given IP address by looking up at a GeoIP database in CSV format generated by the Tor project geoip-db-tool command.

The class can output commands with parameters to use the iptables program to block the IP range segment.

The class can also determine the country of a user accessing a Web site based on the IP address of the user's computer.

Conclusion

The Tor Geoip Tools can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.

This package was considered notable for implementing its benefits in a way that is worth noticing.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.

One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.




You need to be a registered user or login to post a comment

1,614,673 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  All package blogs All package blogs   Tor Geoip Tools Tor Geoip Tools   Blog Tor Geoip Tools package blog   RSS 1.0 feed RSS 2.0 feed   Blog How Can PHP Allow IP ...