diff -Nur e-smith-packetfilter-2.6.0.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90PPPconnAdjust00Start e-smith-packetfilter-2.6.0/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90PPPconnAdjust00Start --- e-smith-packetfilter-2.6.0.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90PPPconnAdjust00Start 2003-05-01 14:00:32.000000000 -0400 +++ e-smith-packetfilter-2.6.0/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90PPPconnAdjust00Start 1969-12-31 19:00:00.000000000 -0500 @@ -1,11 +0,0 @@ -{ - $OUT = ""; - if ((%pptpd) and (exists $pptpd{Interfaces})) - { - $OUT .=<<'EOF'; - OLD_PPPconn=$(get_safe_id PPPconn filter find) - NEW_PPPconn=$(get_safe_id PPPconn filter new) - /sbin/iptables --new-chain $NEW_PPPconn -EOF - } -} diff -Nur e-smith-packetfilter-2.6.0.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90PPPconnAdjust50adjust_conns e-smith-packetfilter-2.6.0/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90PPPconnAdjust50adjust_conns --- e-smith-packetfilter-2.6.0.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90PPPconnAdjust50adjust_conns 2003-05-01 13:28:03.000000000 -0400 +++ e-smith-packetfilter-2.6.0/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90PPPconnAdjust50adjust_conns 1969-12-31 19:00:00.000000000 -0500 @@ -1,14 +0,0 @@ -{ - $OUT = ""; - if ((%pptpd) and (exists $pptpd{Interfaces})) - { - my @interfaces = split /,/, $pptpd{Interfaces}; - foreach my $interface (sort @interfaces) - { - $OUT .=<<"EOF"; - /sbin/iptables --insert \$NEW_PPPconn --in-interface $interface -j ACCEPT - /sbin/iptables --insert \$NEW_PPPconn --out-interface $interface -j ACCEPT -EOF - } - } -} diff -Nur e-smith-packetfilter-2.6.0.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90PPPconnAdjust99Finish e-smith-packetfilter-2.6.0/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90PPPconnAdjust99Finish --- e-smith-packetfilter-2.6.0.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90PPPconnAdjust99Finish 2003-05-01 13:28:03.000000000 -0400 +++ e-smith-packetfilter-2.6.0/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90PPPconnAdjust99Finish 1969-12-31 19:00:00.000000000 -0500 @@ -1,13 +0,0 @@ -{ - $OUT = ""; - if ((%pptpd) and (exists $pptpd{Interfaces})) - { - $OUT .=<<'EOF'; - # Destroy the old chain and put in the new one. - /sbin/iptables --replace PPPconn 1 \ - --jump $NEW_PPPconn - /sbin/iptables --flush $OLD_PPPconn - /sbin/iptables --delete-chain $OLD_PPPconn -EOF - } -}