diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-01-11 04:19:07 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-01-17 16:55:02 +0100 |
commit | 472a411aa86ce81c5086c0040549d4e8c807a6dc (patch) | |
tree | cc2b048839cb6abd72ae1bd0d6e8fb17a0757fcf /testing/tests/tnc/tnccs-20-os | |
parent | 4aa32cc3fec3cd8da6e7b8ceb83913d5867c1916 (diff) | |
download | strongswan-472a411aa86ce81c5086c0040549d4e8c807a6dc.tar.bz2 strongswan-472a411aa86ce81c5086c0040549d4e8c807a6dc.tar.xz |
converted all tnc iptables scenarios
Diffstat (limited to 'testing/tests/tnc/tnccs-20-os')
-rw-r--r-- | testing/tests/tnc/tnccs-20-os/posttest.dat | 6 | ||||
-rw-r--r-- | testing/tests/tnc/tnccs-20-os/pretest.dat | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/testing/tests/tnc/tnccs-20-os/posttest.dat b/testing/tests/tnc/tnccs-20-os/posttest.dat index c166c1706..74b902c69 100644 --- a/testing/tests/tnc/tnccs-20-os/posttest.dat +++ b/testing/tests/tnc/tnccs-20-os/posttest.dat @@ -1,7 +1,7 @@ moon::ipsec stop carol::ipsec stop dave::ipsec stop -moon::/etc/init.d/iptables stop 2> /dev/null -carol::/etc/init.d/iptables stop 2> /dev/null -dave::/etc/init.d/iptables stop 2> /dev/null +moon::iptables-restore < /etc/iptables.flush +carol::iptables-restore < /etc/iptables.flush +dave::iptables-restore < /etc/iptables.flush carol::echo 1 > /proc/sys/net/ipv4/ip_forward diff --git a/testing/tests/tnc/tnccs-20-os/pretest.dat b/testing/tests/tnc/tnccs-20-os/pretest.dat index 58634a86f..8169afab2 100644 --- a/testing/tests/tnc/tnccs-20-os/pretest.dat +++ b/testing/tests/tnc/tnccs-20-os/pretest.dat @@ -1,6 +1,6 @@ -moon::/etc/init.d/iptables start 2> /dev/null -carol::/etc/init.d/iptables start 2> /dev/null -dave::/etc/init.d/iptables start 2> /dev/null +moon::iptables-restore < /etc/iptables.rules +carol::iptables-restore < /etc/iptables.rules +dave::iptables-restore < /etc/iptables.rules carol::echo 0 > /proc/sys/net/ipv4/ip_forward moon::cat /etc/tnc_config carol::cat /etc/tnc_config |