1 |
jpp |
1.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 |
|
|
|