Projet

Général

Profil

Actions

fail2band.sh --help

This is Fail2BAND (./fail2band.sh) main tool to configure, pull and push
data to fail2band server and interact with local fail2ban.

Usage:
./fail2band.sh --setup   to start setup wizard
./fail2band.sh --get     to get data from fail2band server
./fail2band.sh --push    to push data to fail2band server
./fail2band.sh --help    to display this help page

fail2band --setup options:
  with no options        wizard will ask you for needed informations
  --create               wizard will create your account on fail2band.com
  --email                your account email
  --password             your password

fail2band --push options:
  --action [ban/unban]   push ban or unban ip to fail2band.com
  --ip xxx.xxx.xxx.xxx   set ip to use for this action
  --ip6 fe80::8e97:::ff  set ip v6 to use for this action
  --jail jail_name       send jail name to fail2band.com (ex. ssh, imap ...)
                         could be used to download only theses rules
                         (see --filter on --get command)
  --proto name           protocol (ex. tcp/udp, all ...)
  --port number          port used (ex. 22, any ...)
  --reason string        (optional) reason of ban/unban

fail2band --get options:
  --filter string        (optional) get only rules from jail_name
                         if not provided, get all blacklisted ip from all my
                         others servers

Mis à jour par Eric Seigne il y a 4 mois · 2 révisions

Go to top
Ajouter une image à partir du presse-papier (Taille maximale: 50 Mo)