BSD Ports

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

SystemPortVersion
MidnightBSDsecurity/py-fail2ban1.1.0_1
FreeBSDsecurity/py-fail2ban1.1.1
DragonFlysecurity/py-fail2ban1.1.0_2
HardenedBSDsecurity/py-fail2ban1.1.1
GhostBSDsecurity/py-fail2ban1.1.1
OPNsensesecurity/py-fail2ban1.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

Run dependencies 1

No port depends on this one.

Configuration

Options name: security_fail2ban

OptionDefaultDescription
DOCSoff
INOTIFYonSupport 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
FileSizeSHA256
fail2ban-fail2ban-1.1.0_GH0.tar.gz603854474fcc25afdaf929c74329d1e4d24420caabeea1ef2e041a267ce19269570bae