/[smecontribs]/rpms/smeserver-fail2ban/contribs9/smeserver-fail2ban-0.1.18.bz10839.patch
ViewVC logotype

Contents of /rpms/smeserver-fail2ban/contribs9/smeserver-fail2ban-0.1.18.bz10839.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Nov 28 02:49:23 2019 UTC (4 years, 11 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-fail2ban-0_1_18-10_el6_sme, HEAD
* Wed Nov 27 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-10.sme
- fix wordpress template error [SME: 10839]
- rewrite rule for [SME: 9719]

1 diff -Nur smeserver-fail2ban-0.1.18.old/root/etc/e-smith/templates/etc/fail2ban/jail.conf/05IgnoreIP smeserver-fail2ban-0.1.18/root/etc/e-smith/templates/etc/fail2ban/jail.conf/05IgnoreIP
2 --- smeserver-fail2ban-0.1.18.old/root/etc/e-smith/templates/etc/fail2ban/jail.conf/05IgnoreIP 2017-10-27 08:34:58.000000000 -0400
3 +++ smeserver-fail2ban-0.1.18/root/etc/e-smith/templates/etc/fail2ban/jail.conf/05IgnoreIP 2019-11-27 21:46:35.189000000 -0500
4 @@ -12,7 +12,7 @@
5 unless (($fail2ban{FilterValidRemoteHosts} || 'disabled') eq 'enabled'){
6 foreach (split /[,;]/, (${'httpd-admin'}{'ValidFrom'} || '')){
7 my ($ip,$bits) = Net::IPv4Addr::ipv4_parse("$_");
8 - push @ip, "$ip/$bits" unless "$ip/$bits" eq '0.0.0.0/0';
9 + push @ip, "$ip/$bits" unless "$ip" eq '0.0.0.0';
10 }
11 }
12
13 diff -Nur smeserver-fail2ban-0.1.18.old/root/etc/e-smith/templates/etc/fail2ban/jail.conf/10FindTime smeserver-fail2ban-0.1.18/root/etc/e-smith/templates/etc/fail2ban/jail.conf/10FindTime
14 --- smeserver-fail2ban-0.1.18.old/root/etc/e-smith/templates/etc/fail2ban/jail.conf/10FindTime 2017-10-27 08:34:58.000000000 -0400
15 +++ smeserver-fail2ban-0.1.18/root/etc/e-smith/templates/etc/fail2ban/jail.conf/10FindTime 2019-11-27 21:45:49.929000000 -0500
16 @@ -1,6 +1,6 @@
17 {
18
19 -my $findtime = $fail2ban{'FindTime'} || '900';
20 +our $findtime = $fail2ban{'FindTime'} || '900';
21
22 $OUT .= "findtime = $findtime";
23

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed