PHP Classes

FloodDam: Protect a site against abusive number of accesses

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 1,183 This week: 1All time: 3,201 This week: 560Up
Version License Categories
flooddam 1.0.0GNU Lesser Genera...Networking, Security
Description 

Author

This class can be used to protect a site against an abusive number of accesses.

It determines the IP address of each user accessing the site PHP scripts and keeps the access counts stored in distinct files per each IP address.

When the number of accesses from an IP address exceeds a configurable limit, the class exits the current script and the user from the banned address is not served.

The class is able to determine the current user IP address from environments and also attempts to determine the IP address of users behind proxies.

The class may automatically deny access to users when it is not possible to determine their IP addresses.

Picture of Murat Atay
Name: Murat Atay <contact>
Classes: 2 packages by
Country: Turkey Turkey
Age: 41
All time rank: 155125 in Turkey Turkey
Week rank: 411 Up9 in Turkey Turkey Up

Details

FLOODDAM 1.0.4 -------------------------------------------------------------------------------- FloodDam is a class for protecting a site against an abusive number of accesses. Properties: - Block users which passes the setted time and request limit - Allow / Disallow users with no IP - Configurable maximum request number - Configurable minimum time - Determine IP of users behind proxies - Remove block after setted time Licence: LGPL http://www.opensource.org/licenses/lgpl-license.html -------------------------------------------------------------------------------- MURAT ATAY WEB: - EMAIL: witty.tr@gmail.com PHPCLASSES: http://www.phpclasses.org/browse/package/2440.html FRESHMEAT: - --------------------------------------------------------------------------------

  Files folder image Files  
File Role Description
Accessible without login Plain text file example_en.php Example English Example Page
Accessible without login Plain text file example_tr.php Example Turkish Example Page
Plain text file flooddam.php Class FloodDam Class
Accessible without login Plain text file readme_en.txt Doc. English Documentation
Accessible without login Plain text file readme_tr.txt Doc. Turkish Documentation

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,183
This week:1
All time:3,201
This week:560Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:58%StarStarStar
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2389