Re: Banning IP's with Net::Netmask

2018-01-26 Thread SurfShop
> On Jan 24, 2018, at 2:37 AM, Brandon Parncutt > wrote: > > fail2ban would surely be the best bet here. Thanks, Brandon. I'll look into that if I can't find a pure Perl solution. It needs to be easily distributed with an OSS script. Frank

Re: Banning IP's with Net::Netmask

2018-01-24 Thread Brandon Parncutt
fail2ban would surely be the best bet here. It's based on Python but does exactly what you're describing and does it well...as long as your web app logs requests in a file somewhere. On Jan 23, 2018 17:39, "SurfShop" wrote: > I'm working on adding anti-hammering code to SurfShop to be ab

Banning IP's with Net::Netmask

2018-01-23 Thread SurfShop
I'm working on adding anti-hammering code to SurfShop to be able to temporarily ban visitors if they enter certain "keywords" into the query string, or if they repeatedly hammer the cart. I've also set it up to be able to permanently block foreign IP's of the store owner's choosing. Ea