PHP Classes
elePHPant
Icontem

FloodDam: Protect a site against abusive number of accesses

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-09-14 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,137 All time: 3,121 This week: 1,037Up
Version License Categories  
flooddam 1.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: 33
All time rank: 150025 in Turkey Turkey
Week rank: 1483 Up33 in Turkey Turkey Down

Details provided by the author  
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,137All time:3,121
 This week:0This week:1,037Up