itr6
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
README.md
|
@ -432,7 +432,9 @@ We need to set the logging driver to syslog so the host OS and Fail2Ban can see |
|
|
tag: "$TAG" |
|
|
tag: "$TAG" |
|
|
``` |
|
|
``` |
|
|
With the above settings in the docker-compose file. Any failed login attempts will look like this in your syslog file: |
|
|
With the above settings in the docker-compose file. Any failed login attempts will look like this in your syslog file: |
|
|
`$DATE $TIME $SERVER $TAG[979]: ERROR: Username or password is incorrect. Try again. IP: XX.XX.XX.XX. Username: email@domain.com.` |
|
|
``` |
|
|
|
|
|
$DATE $TIME $SERVER $TAG[979]: ERROR: Username or password is incorrect. Try again. IP: XX.XX.XX.XX. Username: email@domain.com. |
|
|
|
|
|
``` |
|
|
You can change the '$TAG' to anything you like. Just remember it because it will be in the Fail2Ban filter. |
|
|
You can change the '$TAG' to anything you like. Just remember it because it will be in the Fail2Ban filter. |
|
|
|
|
|
|
|
|
#### Fail2Ban Filter |
|
|
#### Fail2Ban Filter |
|
|