diff --git a/root/etc/fail2ban/filter.d/apache-auth.local b/root/etc/fail2ban/filter.d/apache-auth.local new file mode 100644 index 0000000..e2a2242 --- /dev/null +++ b/root/etc/fail2ban/filter.d/apache-auth.local @@ -0,0 +1,2 @@ +[Definition] +ignoreregex = ^%(_apache_error_client)s (AH01797: )?client denied by server configuration: /etc/httpd/conf/proxy/proxy\.pac\s*$ diff --git a/smeserver-fail2ban.spec b/smeserver-fail2ban.spec index e92bb0c..4755c2e 100644 --- a/smeserver-fail2ban.spec +++ b/smeserver-fail2ban.spec @@ -71,6 +71,7 @@ perl createlinks --dir /var/log/fail2ban 'attr(0750,root,root)' \ --file /var/log/fail2ban/daemon.log 'config(noreplace) %attr(0600,root,root)' \ --file /etc/cron.daily/cleanup_fail2ban 'attr(0755,root,root)' \ + --file /etc/fail2ban/filter.d/apache-auth.local 'config(noreplace) %attr(0644,root,root)' \ > %{name}-%{version}-filelist %files -f %{name}-%{version}-filelist