/[smecontribs]/rpms/smeserver-xt_geoip/contribs9/smeserver-xt_geoip-1.0.1-bz10881_whitelist_localhost.patch
ViewVC logotype

Annotation of /rpms/smeserver-xt_geoip/contribs9/smeserver-xt_geoip-1.0.1-bz10881_whitelist_localhost.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Feb 24 19:28:33 2020 UTC (4 years, 3 months ago) by michel
Branch: MAIN
CVS Tags: smeserver-xt_geoip-1_0_1-26_el6_sme, HEAD
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 RSS 2.0 feed