Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pmlnr
· 3mo ago · 0 comments
Fail2ban becomes a serious bottleneck at significant traffic. I've replaced it with a shell script and direct pf commands that run every few minutes.
Comments
[–]
virgoerns
3mo ago
Do you mind sharing your script? I also noticed that fail2ban currently eats ~25% of CPU and started thinking if it's even worth running at this point
[–]
pmlnr
OP
3mo ago
https://petermolnar.net/article/asn-blocking-freebsd-pf-ngin...
It's not the most sophisticated thing.