HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Smalltalk (
-   -   IP Ban Service (

sjau 6th June 2006 00:06

IP Ban Service

As guestbook/forum spamming becomes more and more a problem me and a buddy of mine had a solution:
Taking the concept of RBLs and making it suitable for the www.

Since my skills are limited to PHP I wanted to make it easy to implement this kind of RBL.
In the end I got a little script that can be entered at the beginning of PHP files.

If you are interested in finding out more about this, please visit:
The site is far from being finished yet however the IP blocking service works already.

Now, the main question is how do we get the IPs that are put onto the black list? As of now I only enter IPs that are suspicious on the server. Either entered into the hosts.deny file ( or from fake signups at different forums that I run on the server or guestbooks.

As of now all IPs entered will be stored (forever) in the db and the blocking works like this:
Upon first submission into the db the IP will be blocked for 1 month. If the IP is entered into the db again, then it will be blocked forever - or until the ISP in question took according measures to stop abuse of other peoples sites through their services.

Now, since all IPs entered into the db will be automatically blocked the question arises who does enter IPs into the db. As of now it's only me and my buddy. However if you also wish to submit IPs please contact me.


falko 6th June 2006 13:14

It's a very interesting project. I recommend to visit the web site to get an idea of the project.

sjau 7th June 2006 00:29

Feedback is also welcomed :)

All times are GMT +2. The time now is 11:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.