This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
networking:linux:fail2ban [2013/10/13 15:06] gcooper |
networking:linux:fail2ban [2017/03/15 08:51] (current) gcooper |
||
---|---|---|---|
Line 247: | Line 247: | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
+ | |||
+ | **Correctly count login failures**: http:// | ||
+ | |||
+ | < | ||
+ | sudo sed -i ' | ||
+ | sudo service rsyslog restart | ||
+ | sudo service fail2ban restart | ||
+ | </ | ||
:!: If you can test a filter successfully with '' | :!: If you can test a filter successfully with '' | ||
This shows failed SSH logins by date: | This shows failed SSH logins by date: | ||
+ | |||
+ | CentOS/ | ||
< | < | ||
cat / | cat / | ||
+ | </ | ||
+ | |||
+ | Debian/ | ||
+ | |||
+ | < | ||
+ | cat / | ||
</ | </ | ||