<HOST>` instead of <ADDR> if ERROR No 'host' group in ....

Kofl 2019-10-27 23:25:05 +01:00
parent ddb23d83d6
commit c009457400
1 changed files with 6 additions and 0 deletions

@ -37,6 +37,12 @@ failregex = ^.*Username or password is incorrect\. Try again\. IP: <ADDR>\. User
ignoreregex = ignoreregex =
``` ```
Use ```<HOST>``` instead of ```<ADDR>``` if you get the following error message in fail2ban.log
(CentOS 7, Fail2Ban v0.9.7):
```
fail2ban.filter [5291]: ERROR No 'host' group in '^.*Username or password is incorrect\. Try again\. IP: <ADDR>\. Username:.*$'
```
## Fail2Ban Jail ## Fail2Ban Jail
Now we need the jail, create the jail file Now we need the jail, create the jail file