HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Smalltalk (http://www.howtoforge.com/forums/forumdisplay.php?f=11)
-   -   IP Ban Service (http://www.howtoforge.com/forums/showthread.php?t=4718)

sjau 5th June 2006 23:06

IP Ban Service
 
Hiya

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: http://www.regenmacher.ch
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 (http://www.howtoforge.com/preventing...with_denyhosts) 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.

sjau

falko 6th June 2006 12:14

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

sjau 6th June 2006 23:29

Feedback is also welcomed :)


All times are GMT +2. The time now is 00:22.

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