FreeBSD Ports

security/py-fail2ban 1.1.1

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

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
7935d9fb9b
License
GPLv2
Categories
security, python
Package size
870.8 KiB, 3490.3 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.

Install

As a binary package — by origin, or by package name:

pkg install security/py-fail2ban
pkg install py312-fail2ban

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-fail2ban>0:security/py-fail2ban

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1.11.1.11.0.21.1.0_71.1.1
FreeBSD:14:quarterly1.1.11.1.1n/a1.1.0_51.1.1
FreeBSD:15:latest1.1.11.1.1n/a1.1.0_61.1.0_7
FreeBSD:15:quarterly1.1.11.1.1n/an/an/a
FreeBSD:16:latest1.1.11.1.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

The full lists below include those, and their dependencies in turn.

All build dependencies 11
All run dependencies 17

No port depends on this one.

Configuration

Options name: security_fail2ban

OptionDefaultDescription
DOCSoffBuild and/or install documentation
INOTIFYonSupport for (lib)inotify to monitor filesystem changes
USES
cpe python:patch,run shebangfix
Service scripts
fail2ban

Message after installing

Please do not edit the fail2ban.conf, jail.conf, or any other 
files in the distribution 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.

Files

Manual pages 5
  • fail2ban(1)
  • fail2ban-client(1)
  • fail2ban-jail.conf(5)
  • fail2ban-regex(1)
  • fail2ban-server(1)
pkg-plist 12
  • share/man/man1/fail2ban-client.1.gz
  • share/man/man1/fail2ban-regex.1.gz
  • share/man/man1/fail2ban-server.1.gz
  • share/man/man1/fail2ban.1.gz
  • share/man/man5/fail2ban-jail.conf.5.gz
  • bin/fail2ban-python
  • @dir etc/py312-fail2ban/fail2ban.d
  • @dir etc/py312-fail2ban/jail.d
  • @dir
  • @dir /var/lib/fail2ban
  • @dir /var/lib
  • @dir /var/run/fail2ban
distinfo 1
FileSizeSHA256
fail2ban-fail2ban-1.1.1_GH0.tar.gz6271264be0ea0488e32de260058462a44a040f0542cd26a9fb6fa6d2514f9dd8ec1609

Commit history 1

DateCommitCreditsLog message
7935d9fb9b Cy Schubert security/py-fail2ban: Update to 1.1.1