Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
languagebash
themeEmacs
# fail2ban-client status
Status
|- Number of jail:	1
`- Jail list:	sshd


# fail2ban-client status sshd
Status for the jail: sshd
|- Filter
|  |- Currently failed:	0
|  |- Total failed:	0
|  `- Journal matches:	_SYSTEMD_UNIT=sshd.service + _COMM=sshd
`- Actions
   |- Currently banned:	0
   |- Total banned:	0
   `- Banned IP list:


# fail2ban-client get dbfile
Current database file is:
`- /var/lib/fail2ban/fail2ban.sqlite3


# fail2ban-client unban --all


# fail2ban-client --help
version
start
stop
restart
status
unban --all
unban <IP> ... <IP>
set <JAIL> unbanip [--report-absent] <IP> ... <IP>

...