aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2/alg-sha384
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2013-01-06 08:43:51 +0100
committerTobias Brunner <tobias@strongswan.org>2013-01-17 16:55:00 +0100
commitd815235d17a0391fa5f72bb61a37b3a9fc57cdc7 (patch)
treef890eab0bb94ae133809a471e2f3b3e363cfcae0 /testing/tests/ikev2/alg-sha384
parent28b7db2b3c09acb617d38dae07611a9b833aee33 (diff)
downloadstrongswan-d815235d17a0391fa5f72bb61a37b3a9fc57cdc7.tar.bz2
strongswan-d815235d17a0391fa5f72bb61a37b3a9fc57cdc7.tar.xz
use iptables-restore in all ikev2 firewall scenarios
Diffstat (limited to 'testing/tests/ikev2/alg-sha384')
-rw-r--r--testing/tests/ikev2/alg-sha384/posttest.dat4
-rw-r--r--testing/tests/ikev2/alg-sha384/pretest.dat4
2 files changed, 4 insertions, 4 deletions
diff --git a/testing/tests/ikev2/alg-sha384/posttest.dat b/testing/tests/ikev2/alg-sha384/posttest.dat
index 94a400606..046d4cfdc 100644
--- a/testing/tests/ikev2/alg-sha384/posttest.dat
+++ b/testing/tests/ikev2/alg-sha384/posttest.dat
@@ -1,4 +1,4 @@
moon::ipsec stop
carol::ipsec stop
-moon::/etc/init.d/iptables stop 2> /dev/null
-carol::/etc/init.d/iptables stop 2> /dev/null
+moon::iptables-restore < /etc/iptables.flush
+carol::iptables-restore < /etc/iptables.flush
diff --git a/testing/tests/ikev2/alg-sha384/pretest.dat b/testing/tests/ikev2/alg-sha384/pretest.dat
index f360351e1..4fc25772b 100644
--- a/testing/tests/ikev2/alg-sha384/pretest.dat
+++ b/testing/tests/ikev2/alg-sha384/pretest.dat
@@ -1,5 +1,5 @@
-moon::/etc/init.d/iptables start 2> /dev/null
-carol::/etc/init.d/iptables start 2> /dev/null
+moon::iptables-restore < /etc/iptables.rules
+carol::iptables-restore < /etc/iptables.rules
moon::ipsec start
carol::ipsec start
carol::sleep 1