Projet

Général

Profil

Actions

Fail2bandsh --help » Historique » Révision 1

Révision 1/2 | Suivant »
Eric Seigne, 09/07/2021 15:05


Fail2bandsh --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 presque 3 ans · 1 révisions

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