mirror of https://github.com/fail2ban/fail2ban
small review
parent
a03e79f184
commit
612e9ae3a8
|
@ -57,6 +57,10 @@ logger -t 'test:auth' -i -p auth.info "pam_unix(test:auth): authentication failu
|
|||
logger -t 'test:auth' -i -p auth.info "pam_unix(test:auth): authentication failure; login=xxx"
|
||||
logger -t 'test:auth' -i -p auth.info "pam_unix(test:auth): authentication failure; login=xxx"
|
||||
```
|
||||
This should produce in `/var/log/auth.log` 3 entries like:
|
||||
``` bash
|
||||
Nov 14 20:07:35 srv test:auth[3141]: pam_unix(test:auth): authentication failure; login=xxx
|
||||
```
|
||||
|
||||
To test regular expression, use new option `--raw` or `-r`, to prevent dns resolving errors:
|
||||
|
||||
|
|
Loading…
Reference in New Issue