Thank you for the pointer, Much appreciated. That gives me something to start looking.
--------------- Added [DATE]1426622022[/DATE] at [TIME]1426622022[/TIME] ---------------
AND ... it works. Now, if those suckers show up once their IP will be banned and instead of creating problems over and over and letting them try over and over the first time they fail their IP is gone for good.
Next thing will be to make the test for the banned IP faster. Currently that is a linear search, which for only a few IP adresses is OK, but once those become hundreds something better needs to be done.
Currently I am thinking of keeping the list of banned IPs as a sorted address then then there are only 10 comparisons for 1024 entries.
|