security/py-fail2ban 1.1.0_1 MidnightBSD
Scans log files and bans IP that makes too many password failures
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- gpl2
- Categories
- security, python
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
| System | Port | Version |
|---|---|---|
| MidnightBSD | security/py-fail2ban | 1.1.0_1 |
| FreeBSD | security/py-fail2ban | 1.1.1 |
| DragonFly | security/py-fail2ban | 1.1.0_2 |
| HardenedBSD | security/py-fail2ban | 1.1.1 |
| GhostBSD | security/py-fail2ban | 1.1.1 |
| OPNsense | security/py-fail2ban | 1.1.0_8 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}fail2ban
From mports:
cd /usr/mports/security/py-fail2ban && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fail2ban>0:security/py-fail2ban
Dependencies
As this port's Makefile names them.
Runtime 1
${PYTHON_PKGNAMEPREFIX}sqlite3>0: databases/py-sqlite3
Run dependencies 1
No port depends on this one.
Configuration
Options name: security_fail2ban
| Option | Default | Description |
|---|---|---|
| DOCS | off | |
| INOTIFY | on | Support for (lib)inotify to monitor filesystem changes |
- USES
- cpe python:patch,run shebangfix
- Service scripts
fail2ban
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/${PYTHON_PKGNAMEPREFIX}fail2ban/fail2ban.d
- @dir etc/${PYTHON_PKGNAMEPREFIX}fail2ban/jail.d
- @dir /var/db/fail2ban
- @dir /var/lib/fail2ban
- @dir /var/lib
- @dir /var/run/fail2ban
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| fail2ban-fail2ban-1.1.0_GH0.tar.gz | 603854 | 474fcc25afdaf929c74329d1e4d24420caabeea1ef2e041a267ce19269570bae |