Fixes #11597
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
# create iptables rules, if blocking this country
# is enabled.
foreach my $location (@locations) {
- if($geoipsettings{$location} eq "on") {
+ if(exists $geoipsettings{$location} && $geoipsettings{$location} eq "on") {
run("$IPTABLES -A GEOIPBLOCK -m geoip --src-cc $location -j DROP");
}
}
srv/web/ipfire/cgi-bin/ids.cgi
srv/web/ipfire/cgi-bin/logs.cgi/showrequestfromcountry.dat
srv/web/ipfire/cgi-bin/logs.cgi/urlfilter.dat
+usr/lib/firewall/rules.pl
usr/local/bin/rebuild-initrd
usr/local/bin/syslogdctrl
usr/sbin/updxlrator