in reply to IP traffic filter

This sounds like something best done on the web server level. A quick search for apache limit connections per ip seems to produce quite useful results - I hope one of them is viable for you.
Perl 6 - links to (nearly) everything that is Perl 6.