Browse Source

Ignore failures to retrieve proxy.pac

tags/0.1.11_el5
Daniel Berteaud 4 years ago
parent
commit
5f11114572
2 changed files with 3 additions and 0 deletions
  1. +2
    -0
      root/etc/fail2ban/filter.d/apache-auth.local
  2. +1
    -0
      smeserver-fail2ban.spec

+ 2
- 0
root/etc/fail2ban/filter.d/apache-auth.local View File

@@ -0,0 +1,2 @@
[Definition]
ignoreregex = ^%(_apache_error_client)s (AH01797: )?client denied by server configuration: /etc/httpd/conf/proxy/proxy\.pac\s*$

+ 1
- 0
smeserver-fail2ban.spec View File

@@ -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


Loading…
Cancel
Save