/[smeserver]/rpms/e-smith-packetfilter/sme9/e-smith-packetfilter-2.4.0-negation.patch
ViewVC logotype

Contents of /rpms/e-smith-packetfilter/sme9/e-smith-packetfilter-2.4.0-negation.patch

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


Revision 1.1 - (show annotations) (download)
Tue Feb 19 19:18:59 2013 UTC (11 years, 3 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-packetfilter-2_4_0-2_el6_sme, e-smith-packetfilter-2_4_0-3_el6_sme, HEAD
* Tue Feb 19 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-2.sme
- Use extrapositioned negation (Credits to John Crisp) [SME: 7262]

1 diff -Nur e-smith-packetfilter-2.4.0/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowLocal e-smith-packetfilter-2.4.0-negation/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowLocal
2 --- e-smith-packetfilter-2.4.0/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowLocal 2006-08-13 12:33:35.000000000 +0200
3 +++ e-smith-packetfilter-2.4.0-negation/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowLocal 2013-02-19 20:12:58.050707898 +0100
4 @@ -6,7 +6,7 @@
5 # Accept any traffic initiated on "local" interfaces
6 if [ -n "$OUTERIF" ]; then
7 /sbin/iptables --append local_chk_1 \
8 - --in-interface ! $OUTERIF -j ACCEPT
9 + ! --in-interface $OUTERIF -j ACCEPT
10 fi
11 /sbin/iptables --append local_chk -j local_chk_1
12

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed