|
|
@ -9,7 +9,7 @@ my @ip = ("127.0.0.1"); |
|
|
|
# Add hosts which can access the server-manager to the whitelist |
|
|
|
# Add hosts which can access the server-manager to the whitelist |
|
|
|
push @ip, $_ foreach (split /[,;]/, (${'httpd-admin'}{'ValidFrom'} || '')); |
|
|
|
push @ip, $_ foreach (split /[,;]/, (${'httpd-admin'}{'ValidFrom'} || '')); |
|
|
|
|
|
|
|
|
|
|
|
if (($fail2ban{FilterLocalNetworks} || 'disabled') eq 'enabled'){ |
|
|
|
unless (($fail2ban{FilterLocalNetworks} || 'disabled') eq 'enabled'){ |
|
|
|
foreach my $net ($n->networks){ |
|
|
|
foreach my $net ($n->networks){ |
|
|
|
my $key = $net->key; |
|
|
|
my $key = $net->key; |
|
|
|
my $mask = $net->prop('Mask'); |
|
|
|
my $mask = $net->prop('Mask'); |
|
|
|