Limiting concurrent connections per IP

After playing around with ab (apache benchmark) in a test server, I’ve found particulary annoying that with this simple tool I could break this test server. The problem is that a server have a limitate number of resources (CPU/RAM) and for that reason is not possible to accept too many concurrent requests from the same source. This is the base […]

Fail2Ban: Set a permanent ban per IP

Fail2Ban is a really good piece of software that allows to understand when someone (a bot) is trying to offend your server using a brute force attack. Let’s say that you don’t want to apply a permanent ban as a default rule (because it is possibile, setting the bantime at -1 in the relative filter of the jail.conf file). Let’s […]