Skip to content
Discussion options

You must be logged in to vote

Fail2ban (as tool or as python process) doesn't require any capability to run, but...
It surely depend on goals for which you need it, and then on jails to protect, banning actions, etc. E. g. if you would need banactions to ban IPs via net-filter subsystem (iptables/nftables/etc) it would be surely NET_ADMIN. But if you do banning not IP-based, e. g. session/user/token only, for instance with something like nginx-block-map action, or your action just redirect requests to some proxy backend (honeypot) for certain IDs, or it is just an action notifying admin by e-mail by some failures, you'd not need it at all.
Also it is crucial to able to monitor logs and/or journal (but I don't think yo…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by polarathene
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants