/[smecontribs]/rpms/smeserver-xt_geoip/contribs9/smeserver-xt_geoip-1.0.1-bz10881_whitelist_localhost.patch |
Parent Directory | Revision Log | Revision Graph
make: « clog » est à jour.
1 | michel | 1.1 | diff -urN smeserver-xt_geoip-1.0.1.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustXt_Geoip smeserver-xt_geoip-1.0.1/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustXt_Geoip |
2 | --- smeserver-xt_geoip-1.0.1.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustXt_Geoip 2020-01-11 09:35:29.000000000 +0400 | ||
3 | +++ smeserver-xt_geoip-1.0.1/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustXt_Geoip 2020-02-24 22:19:13.528000000 +0400 | ||
4 | @@ -37,6 +37,9 @@ | ||
5 | if (-s $PATH_MODULE || -s $PATH2_MODULE || -s $PATH3_MODULE) | ||
6 | { | ||
7 | |||
8 | + # do not block Localhost(s) | ||
9 | + $OUT .= " /sbin/iptables -A \$NEW_XTGeoIP -s 127.0.0.0/24 -j RETURN\n"; | ||
10 | + | ||
11 | # do not block LAN | ||
12 | my $locals = "@locals"; | ||
13 | if (@locals) |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |