feat(setup): Add fail2ban sub-command status <JAIL> (#3455)

* Added status command to fail2ban setup script

* Switched to `printf` for command output

Co-authored-by: Casper <casperklein@users.noreply.github.com>

* Update docs/content/config/security/fail2ban.md

Co-authored-by: Casper <casperklein@users.noreply.github.com>

---------

Co-authored-by: Casper <casperklein@users.noreply.github.com>
This commit is contained in:
Nils Höll 2023-08-02 02:09:01 +02:00 committed by GitHub
parent da984e5696
commit 85603193a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 0 deletions

View file

@ -58,6 +58,12 @@ setup fail2ban
the script will show all banned IP addresses.
To get a more detailed `status` view, run
```bash
setup fail2ban status
```
### Managing Bans
You can manage F2B with the `setup` script. The usage looks like this: