Thread: IP Ban Service
View Single Post
Old 6th June 2006, 00:06
sjau sjau is offline
Local Meanie
Join Date: Apr 2006
Location: Switzerland
Posts: 1,158
Thanks: 4
Thanked 58 Times in 54 Posts
Default 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.

Reply With Quote
Sponsored Links