📜 ⬆️ ⬇️

Fail2ban 0.10: New features. Test open

This is the announcement of the new version of fail2ban (for the time being, the alpha test branch), in which, besides many other improvements and goodies, albeit with a delay, the long-planned IPv6 support has appeared.
Time, be it not well - flies at a breakneck pace.


Briefly, the list of the new, already entered (and most likely to be added soon) in fail2ban version 0.10:



The significant performance gains in fail2ban version 0.10 can be roughly estimated in the following figures:


Rating / Version0.9.40.10
Average response time (Delay in finding failure)200 ms15 ms
Average time to lock (Delay lock)150 ms10 ms
Maximum Response Time (Delay in Failure)500 ms30 ms
Maximum time to lock (Lock Delay)1000 ms20 ms
Average blocking speed6 IP / sec170 IP / s
Increased blocking delay (Regression)100 ms / 1000 IPs5 ms / 1000 IPs

A score is quite strongly influenced by many parameters, such as activity (parasitic) logging, quality (and quantity) of regular expressions (fail2ban filter), call speed and type of banaction, lookns-type parameters usedns , etc. etc. However, ceteris paribus, in the case close to the ideal, approximately such figures are obtained.


For those who read my article "Fail2ban [incremental]: Better, faster, more reliable" or use this "incremental" version - everything new 0.10 merged in this thread - https://github.com/sebres/fail2ban/tree/0.10 -full . I will support here until I release (see PR gh-1460 )


Automatically configured blocking of sub-networks is also planned (as it is especially important for IPv6-addresses). Simply putting 2 16 (or 65.536) IPv6 addresses in the bank separately if the attacker has the X :: / 112 subnet, which is somehow noncomme (we will keep silent about the higher order subnets).
I hope before the release of 0.10, this functionality will still be finished.


I repeat, 0.10 is still a test branch. Anyone who wants to take part in testing or modify for example the support of other action - welcome.


Download:
https://github.com/fail2ban/fail2ban/archive/0.10.zip


Git:
git clone -b 0.10 https://github.com/fail2ban/fail2ban.git


')

Source: https://habr.com/ru/post/283540/


All Articles