From 7ed43d417110b9b6ae3314170ad0ee5c3b524d43 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 29 Feb 2016 11:21:10 +0100 Subject: [PATCH] Ignore failures to retrieve proxy.pac --- root/etc/fail2ban/filter.d/apache-auth.local | 2 ++ smeserver-fail2ban.spec | 1 + 2 files changed, 3 insertions(+) create mode 100644 root/etc/fail2ban/filter.d/apache-auth.local 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 0b6abbf..ef8a837 100644 --- a/smeserver-fail2ban.spec +++ b/smeserver-fail2ban.spec @@ -82,6 +82,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