Back out IPSEC 2.6 partial

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1376 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-05-29 00:56:08 +00:00
parent 0881af787a
commit cc57c8493f

View File

@ -1418,20 +1418,9 @@ setup_tunnels() # $1 = name of tunnels file
setup_one_ipsec() # $1 = gateway $2 = Tunnel Kind $3 = gateway zones
{
local kind=$2 noah= markval=
local kind=$2 noah=
case $kind in
*:*:*)
markval=${kind#*}
kind=${kind%%:*}
;;
esac
case $kind in
*:[1-9]*)
markval=${kind#*}
kind=${kind%:*}
;;
*:*)
noah=${kind#*:}
[ $noah = noah -o $noah = NOAH ] || fatal_error "Invalid IPSEC modifier $noah in tunnel \"$tunnel\""
@ -2129,9 +2118,9 @@ setup_tc1() {
# Link to the TC mangle chains from the main chains
#
run_iptables -t mangle -A FORWARD -m mark --mark 0 -j tcfor
run_iptables -t mangle -A PREROUTING -j tcpre
run_iptables -t mangle -A OUTPUT -j tcout
run_iptables -t mangle -A FORWARD -j tcfor
run_iptables -t mangle -A PREROUTING -j tcpre
run_iptables -t mangle -A OUTPUT -j tcout
run_user_exit tcstart