Fail2bandsh --help » Historique » Version 1
Eric Seigne, 09/07/2021 15:05
1 | 1 | Eric Seigne | # Fail2bandsh --help |
---|---|---|---|
2 | |||
3 | ``` |
||
4 | This is Fail2BAND (./fail2band.sh) main tool to configure, pull and push |
||
5 | data to fail2band server and interact with local fail2ban. |
||
6 | |||
7 | Usage: |
||
8 | ./fail2band.sh --setup to start setup wizard |
||
9 | ./fail2band.sh --get to get data from fail2band server |
||
10 | ./fail2band.sh --push to push data to fail2band server |
||
11 | ./fail2band.sh --help to display this help page |
||
12 | |||
13 | fail2band --setup options: |
||
14 | with no options wizard will ask you for needed informations |
||
15 | --create wizard will create your account on fail2band.com |
||
16 | --email your account email |
||
17 | --password your password |
||
18 | |||
19 | fail2band --push options: |
||
20 | --action [ban/unban] push ban or unban ip to fail2band.com |
||
21 | --ip xxx.xxx.xxx.xxx set ip to use for this action |
||
22 | --ip6 fe80::8e97:::ff set ip v6 to use for this action |
||
23 | --jail jail_name send jail name to fail2band.com (ex. ssh, imap ...) |
||
24 | could be used to download only theses rules |
||
25 | (see --filter on --get command) |
||
26 | --proto name protocol (ex. tcp/udp, all ...) |
||
27 | --port number port used (ex. 22, any ...) |
||
28 | --reason string (optional) reason of ban/unban |
||
29 | |||
30 | fail2band --get options: |
||
31 | --filter string (optional) get only rules from jail_name |
||
32 | if not provided, get all blacklisted ip from all my |
||
33 | others servers |
||
34 | |||
35 | ``` |