This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:ubuntu:fail2ban [2018/11/27 09:28] – [Configuration] lunetikk | linux:ubuntu:fail2ban [2019/10/29 10:45] (current) – lunetikk | ||
|---|---|---|---|
| Line 31: | Line 31: | ||
| port = 22 | port = 22 | ||
| filter | filter | ||
| + | # | ||
| + | # | ||
| logpath | logpath | ||
| maxretry = 3 | maxretry = 3 | ||
| Line 65: | Line 67: | ||
| logpath | logpath | ||
| maxretry = 3 | maxretry = 3 | ||
| + | #findtime is 365 days | ||
| findtime = 31536000 | findtime = 31536000 | ||
| bantime | bantime | ||
| </ | </ | ||
| + | |||
| + | ===== Abusemails ===== | ||
| + | |||
| + | Click the following link for more info about abuse automatisation\\ | ||
| + | [[linux: | ||
| ===== Commands ===== | ===== Commands ===== | ||
| Line 92: | Line 100: | ||
| Get a list of commands | Get a list of commands | ||
| < | < | ||
| + | |||
| + | ===== Troubleshooting ===== | ||
| + | |||
| + | ==== IP gets banned everytime ==== | ||
| + | |||
| + | An IP listed in " | ||
| + | |||
| + | __Reason:__ \\ | ||
| + | The IP was banned before you added it to " | ||
| + | |||
| + | __Fix:__ \\ | ||
| + | The IP is added to the file " | ||
| + | Open the file and remove the IP. | ||
| + | |||