whitelist the whole 127.0.0.0/8 mask

This commit is contained in:
Daniel Berteaud 2013-05-02 01:44:54 +02:00
parent 1848a6a869
commit 3efe85e03e

View File

@ -4,7 +4,7 @@ use esmith::NetworksDB;
my $n = esmith::NetworksDB->open_ro() ||
die "Couldn't open networks DB\n";
my @ip = ("127.0.0.1");
my @ip = ("127.0.0.0/8");
# Add hosts which can access the server-manager to the whitelist
push @ip, $_ foreach (split /[,;]/, (${'httpd-admin'}{'ValidFrom'} || ''));