Update paths and ignore IPs for fail2ban.

This commit is contained in:
Darren 'Tadgy' Austin 2021-03-12 20:50:32 +00:00
commit 6aad3ca04c
2 changed files with 5 additions and 5 deletions

View file

@ -7,7 +7,7 @@
# "ignoreip" can be a list of IP addresses, CIDR masks or DNS hosts. Fail2ban
# will not ban a host which matches an address in this list. Several addresses
# can be defined using space (and/or comma) separator.
ignoreip = 127.0.0.1/8 91.109.244.0/24 ::1 2a02:2498:1:227::/64 afterdark.org.uk
ignoreip = 127.0.0.1/8 212.78.94.73 216.119.155.57 216.119.155.58 216.119.155.59 216.119.155.60 216.119.155.61 216.119.155.62 91.109.244.7 91.109.244.8 91.109.244.9 91.109.244.10 91.109.244.11 185.176.90.169 82.163.78.10 ::1 2a02:2498:e004:2a::/64 2a02:2498:1:227::/64 2a07:4580:b0d:57f::169 2a02:2498:e004:1:216:3eff:fe69:98ba afterdark.org.uk
# "bantime" is the number of seconds that a host is banned.
bantime = 12h

View file

@ -1,8 +1,8 @@
[DEFAULT]
syslog_mail = /var/log/smtpd
syslog_mail = /var/log/smtp
syslog_mail_warn = /var/log/smtpd
syslog_mail_warn = /var/log/smtp
syslog_authpriv = /var/log/messages
@ -16,9 +16,9 @@ syslog_daemon = /var/log/messages
syslog_local0 = /var/log/messages
apache_error_log = /var/log/httpd/*error.log
apache_error_log = /var/log/httpd
apache_access_log = /var/log/httpd/*access.log
# apache_access_log = /var/log/httpd/*access.log
# Default for Slackware provided below,
# please change according to your proftpd config file.