notes:fail2ban
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
notes:fail2ban [2014/08/28 08:59] – created admin | notes:fail2ban [2014/09/08 14:11] – [Nginx] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== fail2ban | + | ====== |
To install fail2ban type | To install fail2ban type | ||
Line 7: | Line 7: | ||
fail2ban-client -h | fail2ban-client -h | ||
to see if everything is all right. You should always use fail2ban-client and never call fail2ban-server directly. | to see if everything is all right. You should always use fail2ban-client and never call fail2ban-server directly. | ||
+ | |||
+ | ===== fail2ban for postfix/ssh ===== | ||
Now edit jail.conf, which contains the declaration of your jails. Set | Now edit jail.conf, which contains the declaration of your jails. Set | ||
Line 17: | Line 19: | ||
===== Nginx ===== | ===== Nginx ===== | ||
Scanning in search of broken script is quite frequent. My nginx '' | Scanning in search of broken script is quite frequent. My nginx '' | ||
- | 2014/05/28 21:59:00 [error] 17394#0: *105 open() "/ | + | 2014/05/28 21:59:00 [error] 17394#0: *105 open() "/ |
- | 2014/05/28 21:59:00 [error] 17394#0: *105 open() "/ | + | 2014/05/28 21:59:00 [error] 17394#0: *105 open() "/ |
- | 2014/05/28 21:59:01 [error] 17393#0: *111 "/ | + | 2014/05/28 21:59:01 [error] 17393#0: *111 "/ |
- | 2014/05/28 21:59:01 [error] 17393#0: *109 open() "/ | + | 2014/05/28 21:59:01 [error] 17393#0: *109 open() "/ |
Create new filter / | Create new filter / |
notes/fail2ban.txt · Last modified: 2014/09/08 14:12 by admin