aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-03-07 04:45:12 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-03-07 04:45:12 +0000
commit0d1f9110659717b6969d53617bfd752c2f092e66 (patch)
treed70666a4e94b3e65a8008d1ad9bfc5a17b852974 /testing
parent26ad49c8e728420a89b044f9c4ad01fc281b1e85 (diff)
downloadstrongswan-0d1f9110659717b6969d53617bfd752c2f092e66.tar.bz2
strongswan-0d1f9110659717b6969d53617bfd752c2f092e66.tar.xz
conntrack -F is used to flush the NAT states
Diffstat (limited to 'testing')
-rw-r--r--testing/tests/ikev2/double-nat-net/posttest.dat2
-rw-r--r--testing/tests/ikev2/double-nat/posttest.dat2
-rw-r--r--testing/tests/ikev2/nat-one-rw/posttest.dat2
-rw-r--r--testing/tests/ikev2/nat-two-rw-psk/posttest.dat2
-rw-r--r--testing/tests/ikev2/nat-two-rw/posttest.dat2
5 files changed, 7 insertions, 3 deletions
diff --git a/testing/tests/ikev2/double-nat-net/posttest.dat b/testing/tests/ikev2/double-nat-net/posttest.dat
index 0eb2c0d6c..d8558d794 100644
--- a/testing/tests/ikev2/double-nat-net/posttest.dat
+++ b/testing/tests/ikev2/double-nat-net/posttest.dat
@@ -6,4 +6,6 @@ alice::/etc/init.d/iptables stop 2> /dev/null
bob::/etc/init.d/iptables stop 2> /dev/null
moon::iptables -t nat -F
sun::iptables -t nat -F
+moon::conntrack -F
+sun::conntrack -F
sun::ip route del 10.1.0.0/16 via PH_IP_BOB
diff --git a/testing/tests/ikev2/double-nat/posttest.dat b/testing/tests/ikev2/double-nat/posttest.dat
index 07f22d07d..03d005b29 100644
--- a/testing/tests/ikev2/double-nat/posttest.dat
+++ b/testing/tests/ikev2/double-nat/posttest.dat
@@ -6,3 +6,5 @@ alice::/etc/init.d/iptables stop 2> /dev/null
bob::/etc/init.d/iptables stop 2> /dev/null
moon::iptables -t nat -F
sun::iptables -t nat -F
+moon::conntrack -F
+sun::conntrack -F
diff --git a/testing/tests/ikev2/nat-one-rw/posttest.dat b/testing/tests/ikev2/nat-one-rw/posttest.dat
index af8e00575..b1485afa4 100644
--- a/testing/tests/ikev2/nat-one-rw/posttest.dat
+++ b/testing/tests/ikev2/nat-one-rw/posttest.dat
@@ -5,4 +5,4 @@ sun::ipsec stop
alice::/etc/init.d/iptables stop 2> /dev/null
sun::/etc/init.d/iptables stop 2> /dev/null
moon::iptables -t nat -F
-
+moon::conntrack -F
diff --git a/testing/tests/ikev2/nat-two-rw-psk/posttest.dat b/testing/tests/ikev2/nat-two-rw-psk/posttest.dat
index f019842ed..dafe458ed 100644
--- a/testing/tests/ikev2/nat-two-rw-psk/posttest.dat
+++ b/testing/tests/ikev2/nat-two-rw-psk/posttest.dat
@@ -8,4 +8,4 @@ alice::/etc/init.d/iptables stop 2> /dev/null
venus::/etc/init.d/iptables stop 2> /dev/null
sun::/etc/init.d/iptables stop 2> /dev/null
moon::iptables -t nat -F
-
+moon::conntrack -F
diff --git a/testing/tests/ikev2/nat-two-rw/posttest.dat b/testing/tests/ikev2/nat-two-rw/posttest.dat
index f019842ed..dafe458ed 100644
--- a/testing/tests/ikev2/nat-two-rw/posttest.dat
+++ b/testing/tests/ikev2/nat-two-rw/posttest.dat
@@ -8,4 +8,4 @@ alice::/etc/init.d/iptables stop 2> /dev/null
venus::/etc/init.d/iptables stop 2> /dev/null
sun::/etc/init.d/iptables stop 2> /dev/null
moon::iptables -t nat -F
-
+moon::conntrack -F