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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.1.1 | 1.1.1 | 1.0.2 | 1.1.0_7 | 1.1.1 |
| FreeBSD:14:quarterly | 1.1.1 | 1.1.1 | n/a | 1.1.0_5 | 1.1.1 |
| FreeBSD:15:latest | 1.1.1 | 1.1.1 | n/a | 1.1.0_6 | 1.1.0_7 |
| FreeBSD:15:quarterly | 1.1.1 | 1.1.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.1.1 | 1.1.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
${PYTHON_PKGNAMEPREFIX}sqlite3>0: databases/py-sqlite3
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
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| INOTIFY | on | Support for (lib)inotify to monitor filesystem changes |
- USES
- cpe python:patch,run shebangfix
- Service scripts
fail2ban
Message after installing
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
| File | Size | SHA256 |
|---|---|---|
| fail2ban-fail2ban-1.1.1_GH0.tar.gz | 627126 | 4be0ea0488e32de260058462a44a040f0542cd26a9fb6fa6d2514f9dd8ec1609 |