Automic VaultAutomic Vault

brew

Installer fail2ban avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de fail2ban pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install fail2ban

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install fail2ban

MacPorts ports tree · security/fail2ban/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add fail2ban

Alpine Linux edge package indexes · fail2ban · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install fail2ban

Debian stable package indexes · fail2ban · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install fail2ban

Fedora Rawhide package metadata · fail2ban · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#fail2ban

nixpkgs package indexes · pkgs/by-name/fa/fail2ban/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S fail2ban

Arch Linux sync databases · fail2ban · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install fail2ban

openSUSE Tumbleweed package metadata · fail2ban · Source: download.opensuse.org

aperçu

Résumé du paquet

Scan log files and ban IPs showing malicious signs

Commandes et alias

  • fail2ban-client
  • fail2ban-python
  • fail2ban-regex
  • fail2ban-server
  • fail2ban-testcases

historique

Historique du projet et usages

Fail2Ban is a long-running Python daemon and command-line toolkit for reacting to hostile log patterns by banning hosts through firewall actions. Its core appeal has stayed stable since the early releases: watch authentication and service logs, count repeated failures, and temporarily block the offending address.

Historique du projet

The official changelog records Fail2Ban releases back to 0.1.0 in October 2004. Early 0.x releases moved quickly through alpha, beta, and stable lines, with 0.6.0 stable in 2005, the 0.7 branch in 2006, and 0.8.0 stable in 2007. The README still credits Cyril Jaquier as original author and describes the project as community-driven for years.

The 0.9 series, beginning in 2014, marked the modern service-management era by adding a systemd journal backend. The 0.10 line followed with IPv6 work, including an alpha labeled for IPv6 support in 2016 and a 0.10.0 release in 2017. Later releases continued to refine journald, iptables, nftables, firewalld, pf, and service-specific filters.

The 1.x line arrived with 1.0.1 and 1.0.2 releases in 2022 and 1.1.0 in 2024. These releases focused less on changing the basic model and more on compatibility, security, and operational maintenance: Python version support, CVE fixes, systemd backend stability, IPv6 auto-detection, newer service log formats, and additional filters and actions.

Historique d'adoption

Fail2Ban became part of the standard Linux server-security toolbox because it matched the common shape of internet-facing Unix services: SSH, mail, web, and database daemons emitting failed-authentication logs. The project README says it is likely already packaged for a user's Linux distribution, and the supplied package-manager facts show broad availability across Alpine, Debian, Fedora/DNF, Homebrew, MacPorts, Nix, Arch, Ubuntu, and openSUSE.

Its adoption has been helped by configuration conventions that distributions can ship and administrators can override. Stock jails, filters, actions, and path files let package maintainers encode distribution-specific log locations while users keep local policy in `/etc/fail2ban`, especially `jail.local` and `jail.d` snippets.

Modes d'utilisation

A typical Fail2Ban deployment installs the daemon, enables selected jails such as `sshd`, and lets `fail2ban-server` monitor logs while administrators use `fail2ban-client` for status, reloads, and manual control. The README explicitly warns users to interact through `fail2ban-client` rather than calling the server directly.

The package also matters to operators because `fail2ban-regex` gives a local way to test filters against log samples before enabling bans. That workflow, plus filter and action directories, made Fail2Ban not just a daemon but a small domain-specific toolkit for converting service logs into firewall state.

Pourquoi les passionnés de paquets s'y intéressent

Fail2Ban is significant in package-manager culture because it is both ordinary and sharp-edged: a tiny install command can place a privileged daemon, distro-specific defaults, init/systemd integration, and firewall actions on a host. Packagers must get paths, service units, Python dependencies, and default actions right or administrators either get no protection or accidental lockouts.

It is also a classic example of a package whose value comes from accumulated operational knowledge. The code is important, but the long tail of maintained filters for OpenSSH, Apache, nginx, Postfix, Dovecot, Exim, and many other services is why administrators keep installing it.

Chronologie

  • 2004: Fail2Ban 0.1.0 alpha released.
  • 2005: 0.6.0 stable release published.
  • 2007: 0.8.0 stable release published.
  • 2014: 0.9.0 beta added systemd journal backend.
  • 2016: 0.10.0 alpha introduced IPv6-support work.
  • 2017: 0.10.0 released.
  • 2020: 0.11.2 released.
  • 2022: 1.0.1 and 1.0.2 released with compatibility and security fixes.
  • 2024: 1.1.0 released with newer Python support and further backend/filter updates.

Related projects

  • OpenSSH, iptables, nftables, firewalld, pf, systemd-journald, DenyHosts, sshguard

posture de sécurité

Niveau de risque : orange

broad file, network, media, or database tool signal. formula declares a Homebrew service.

Classificateur de risque

risque orange · confiance moyen · infrastructure

Pourquoi

  • broad file, network, media, or database tool signal
  • formula declares a Homebrew service

Signaux

  • metadata:service
  • text:client,server

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de formule déclarent un service ou daemon.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 1 dépendances d’exécution.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/fail2ban/jail.conf/etc/fail2ban/jail.local/etc/fail2ban/jail.d/*.conf/etc/fail2ban/filter.d/*.conf/etc/fail2ban/action.d/*.conf

exécutables

Exécutables installés

CommandeTypeExpositionNote
fail2ban-clientcliexécutable global
fail2ban-pythoncliexécutable global
fail2ban-regexcliexécutable global
fail2ban-servercliexécutable global
fail2ban-testcasescliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-26
version du gestionnaire1.1.0
gestionnaire mis à jour
données localesOK
amontà jour
dernière version détectée1.1.0

https://github.com/fail2ban/fail2ban

  • infoNo package-manager update timestamp was available.confiance faible

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:fail2ban
Version1.1.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/fail2ban
Page d'accueilhttps://www.fail2ban.org/
Dépôthttps://github.com/fail2ban/fail2ban
Docs amonthttps://fail2ban.readthedocs.io/
LicenceGPL-2.0-or-later
Archive sourcehttps://github.com/fail2ban/fail2ban/archive/refs/tags/1.1.0.tar.gz
Dépendancespython@3.14
Dépendances de compilationsphinx-doc
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Servicedeclared
PrécautionsYou must enable any jails by editing: $HOMEBREW_PREFIX/etc/fail2ban/jail.conf Other configuration files are in $HOMEBREW_PREFIX/etc/fail2ban. See more instructions at https://github.com/fail2ban/fail2ban/wiki/Proper-fail2ban-configuration.

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefail2ban
Version Scheme0
Revision2
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

fail2ban 1.1.0-8

ban hosts that cause multiple authentication errors

https://www.fail2ban.org

sudo apt install fail2ban
  • Section: net
  • Architecture: all
  • 2 Dépendances
  • 9 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Fail2ban
Debian stable package indexes · deb.debian.org · Debian stable package indexes: fail2ban from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

fail2ban

nix profile install nixpkgs#fail2ban
  • normalized package name match
  • Correspondance par : Fail2ban
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fa/fail2ban/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

fail2ban 1.0.2-3

ban hosts that cause multiple authentication errors

https://www.fail2ban.org

sudo apt install fail2ban
  • Section: universe/net
  • Architecture: all
  • 2 Dépendances
  • 8 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Fail2ban
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: fail2ban from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

fail2ban 1.1.0-r3

Scans log files for login failures then updates iptables to reject originating ip address

https://www.fail2ban.org/

sudo apk add fail2ban
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: fail2ban
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Fail2ban
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fail2ban from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

fail2ban-doc 1.1.0-r3

Scans log files for login failures then updates iptables to reject originating ip address (documentation)

https://www.fail2ban.org/

sudo apk add fail2ban-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: fail2ban
  • normalized package name match
  • Correspondance par : Fail2ban
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fail2ban-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

fail2ban-openrc 1.1.0-r3

Scans log files for login failures then updates iptables to reject originating ip address (OpenRC init scripts)

https://www.fail2ban.org/

sudo apk add fail2ban-openrc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: fail2ban
  • normalized package name match
  • Correspondance par : Fail2ban
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fail2ban-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

fail2ban-pyc 1.1.0-r3

Precompiled Python bytecode for fail2ban

https://www.fail2ban.org/

sudo apk add fail2ban-pyc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: fail2ban
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Fail2ban
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fail2ban-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

fail2ban-tests 1.1.0-r3

Fail2ban test cases

https://www.fail2ban.org/

sudo apk add fail2ban-tests
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: fail2ban
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Fail2ban
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fail2ban-tests from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

fail2ban 1.1.0-17.fc45

Daemon to ban hosts that cause multiple authentication errors

https://www.fail2ban.org

sudo dnf install fail2ban
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: fail2ban
  • 3 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Fail2ban
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: fail2ban from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

fail2ban-all 1.1.0-17.fc45

Install all Fail2Ban packages and dependencies

https://www.fail2ban.org

sudo dnf install fail2ban-all
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: fail2ban
  • 9 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Fail2ban
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: fail2ban-all from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

fail2ban-firewalld 1.1.0-17.fc45

Firewalld support for Fail2Ban

https://www.fail2ban.org

sudo dnf install fail2ban-firewalld
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: fail2ban
  • 2 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Fail2ban
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: fail2ban-firewalld from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

fail2ban-hostsdeny 1.1.0-17.fc45

Hostsdeny (tcp_wrappers) support for Fail2Ban

https://www.fail2ban.org

sudo dnf install fail2ban-hostsdeny
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: fail2ban
  • 3 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Fail2ban
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: fail2ban-hostsdeny from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

fail2ban-mail 1.1.0-17.fc45

Mail actions for Fail2Ban

https://www.fail2ban.org

sudo dnf install fail2ban-mail
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: fail2ban
  • 2 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Fail2ban
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: fail2ban-mail from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

fail2ban-selinux 1.1.0-17.fc45

SELinux policies for Fail2Ban

https://www.fail2ban.org

sudo dnf install fail2ban-selinux
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: fail2ban
  • 6 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Fail2ban
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: fail2ban-selinux from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

fail2ban-sendmail 1.1.0-17.fc45

Sendmail actions for Fail2Ban

https://www.fail2ban.org

sudo dnf install fail2ban-sendmail
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: fail2ban
  • 2 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Fail2ban
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: fail2ban-sendmail from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

fail2ban-server 1.1.0-17.fc45

Core server component for Fail2Ban

https://www.fail2ban.org

sudo dnf install fail2ban-server
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: fail2ban
  • 8 Dépendances
  • 4 fournit
  • normalized package name match
  • Correspondance par : Fail2ban
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: fail2ban-server from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment