Fail2Ban

Channel Revision Published Runs on
latest/stable 2 11 Nov 2020
Ubuntu 14.04
latest/edge 2 11 Nov 2020
Ubuntu 14.04
juju deploy fail2ban
Show information

Platform:

Ubuntu
14.04

Bans IP addresses that have too many authentication failures.

Fail2ban monitors log files (e.g. /var/log/auth.log, /var/log/apache/access.log) and temporarily or persistently bans failure-prone addresses by updating existing firewall rules. Fail2ban allows easy specification of different actions to be taken such as to ban an IP using iptables or hostsdeny rules, or simply to send a notification email. By default, it comes with filter expressions for various services (sshd, apache, qmail, proftpd, sasl etc.) but configuration can be easily extended for monitoring any other text file. All filters and actions are given in the config files, thus fail2ban can be adopted to be used with a variety of files and firewalls.