--- rpms/smeserver-fail2ban/contribs10/smeserver-fail2ban.spec 2021/12/09 01:43:53 1.11 +++ rpms/smeserver-fail2ban/contribs10/smeserver-fail2ban.spec 2021/12/09 02:20:41 1.12 @@ -1,5 +1,5 @@ %define version 0.1.18 -%define release 21 +%define release 22 %define name smeserver-fail2ban Summary: fail2ban integration on SME Server @@ -28,6 +28,7 @@ Patch14: smeserver-fail2ban-0.1.18-local Patch15: smeserver-fail2ban-0.1.18-bz11586-redofailtostart.patch Patch16: smeserver-fail2ban-0.1.18-bz11650.patch Patch17: smeserver-fail2ban-0.1.18-bz11651-wordpress.patch +Patch18: smeserver-fail2ban-0.1.18-bz10857.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch @@ -43,6 +44,10 @@ AutoReqProv: no Configure fail2ban on SME Server %changelog +* Wed Dec 08 2021 Jean-Philippe Pialasse 0.1.18-22.sme +- fix apache-badbot logfile definition [SME: 10857] + add updated badbot list. + * Wed Dec 08 2021 Jean-Philippe Pialasse 0.1.18-21.sme - update wordpress filters [SME: 11651] @@ -193,6 +198,7 @@ Configure fail2ban on SME Server %patch15 -p1 %patch16 -p1 %patch17 -p1 +%patch18 -p1 %build %{__mkdir_p} root/var/log/fail2ban @@ -207,6 +213,7 @@ perl createlinks --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)' \ + --file /etc/fail2ban/filter.d/apache-badbots.local 'config(noreplace) %attr(0644,root,root)' \ --file /usr/bin/sfail2ban 'attr(0755,root,root)' \ > %{name}-%{version}-filelist