BSD Ports

security/py-fail2ban 1.1.0_2 DragonFly

Scans log files and bans IP that makes too many password failures

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
python, security
Package size
811.5 KiB, 3551.8 KiB installed

Description

Fail2ban scans log files like /var/log/pwdfail or /var/log/apache/error_log and bans IP that makes too many password failures. It updates firewall rules to reject the IP address.

In the other systems

SystemPortVersion
DragonFlysecurity/py-fail2ban1.1.0_2
FreeBSDsecurity/py-fail2ban1.1.1
MidnightBSDsecurity/py-fail2ban1.1.0_1

Install

Binary package:

pkg install py311-fail2ban

From DPorts:

cd /usr/dports/security/py-fail2ban && make install clean

Dependencies

Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Please do not edit the fail2ban.conf, jail.conf, or any other 
files in the distributen as they will be overwritten upon each 
upgrade of the port. Instead, create new files named *.local e.g. 
fail2ban.local or jail.local.

For more information, see the official manual:
http://www.fail2ban.org/wiki/index.php/MANUAL_0_8#Configuration

If you have custom filters or actions and you are upgrading from
0.9.x please check them.

Users of pf: please read the notes in action.d/pf.conf and the
discussion at https://github.com/fail2ban/fail2ban/pull/1925
Please note that fail2ban will put curly braces '{}' around the
ports in the action so you shouldn't do it yourself.