notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Port details
py-fail2ban Scans log files and bans IP that makes too many password failures
1.1.1 security on this many watch lists=24 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.1.0_8Version of this port present on the latest quarterly branch.
Maintainer: cy@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2009-01-13 18:22:37
Last Update: 2026-08-24 15:29:17
Commit Hash: 7935d9f
People watching this port, also watch:: curl, dovecot, libxml2, rsync, pcre
Also Listed In: python
License: GPLv2
WWW:
https://www.fail2ban.org/wiki/index.php/Main_Page
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • fail2ban
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}fail2ban>0:security/py-fail2ban@${PY_FLAVOR}
To install the port:
cd /usr/ports/security/py-fail2ban/ && make install clean
To add the package, run one of these commands:
  • pkg install security/py-fail2ban
  • pkg install py312-fail2ban
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-fail2ban listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-fail2ban
Package flavors (<flavor>: <package>)
  • py312: py312-fail2ban
distinfo:
TIMESTAMP = 1787580972 SHA256 (fail2ban-fail2ban-1.1.1_GH0.tar.gz) = 4be0ea0488e32de260058462a44a040f0542cd26a9fb6fa6d2514f9dd8ec1609 SIZE (fail2ban-fail2ban-1.1.1_GH0.tar.gz) = 627126

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-setuptools>=63.1.0 : devel/py-setuptools@py312
Runtime dependencies:
  1. py312-sqlite3>0 : databases/py-sqlite3@py312
  2. py312-pyinotify>=0.8.3 : devel/py-pyinotify@py312
  3. python3.12 : lang/python312
Patch dependencies:
  1. python3.12 : lang/python312
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for py312-fail2ban-1.1.1: DOCS=on: Build and/or install documentation INOTIFY=on: Support for (lib)inotify to monitor filesystem changes ===> Use 'make config' to modify these settings
Options name:
security_py-fail2ban
USES:
cpe python:patch,run shebangfix
pkg-message:
For install:
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.
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/fail2ban/fail2ban/tar.gz/1.1.1?dummy=/
Collapse this list.

Number of commits found: 103 (showing only 3 on this page)

«  1 | 2 

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.8.3_1
01 Jun 2009 06:19:04
Original commit files touched by this commit This port version is marked as vulnerable.
pgollucci search for other commits by this committer
- Add an rc.d script

Submitted by:   sd@mostnet.ru (via e-mail)
0.8.3
16 May 2009 06:27:56
Original commit files touched by this commit This port version is marked as vulnerable.
pgollucci search for other commits by this committer
- Mark most of my ports MAKE_JOBS_SAFE=yes

Tested by: several builds in P6 TB
0.8.3
13 Jan 2009 18:22:19
Original commit files touched by this commit This port version is marked as vulnerable.
pgollucci search for other commits by this committer
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.

WWW: http://www.fail2ban.org/wiki/index.php/Main_Page

Number of commits found: 103 (showing only 3 on this page)

«  1 | 2