aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/tkm/net2net-xfrmproxy/pretest.dat
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-03-19 15:25:38 +0100
committerTobias Brunner <tobias@strongswan.org>2013-03-19 15:25:38 +0100
commit7f0f185bedf6b67ef5dac3d74e7e4f875d95fce2 (patch)
tree3dc37f41df2b66b0c50c602b3f677cae9861b446 /testing/tests/tkm/net2net-xfrmproxy/pretest.dat
parentdeafaf51f1c768ce1dbdc7ff7ac91f7fb4ea5e21 (diff)
parent7cc6fa1a983a668bd884e08f0e453637d4702cbe (diff)
downloadstrongswan-7f0f185bedf6b67ef5dac3d74e7e4f875d95fce2.tar.bz2
strongswan-7f0f185bedf6b67ef5dac3d74e7e4f875d95fce2.tar.xz
Merge branch 'tkm'
This adds charon-tkm a special build of the charon IKEv2 daemon that delegates security critical operations to a separate process (TKM = Trusted Key Manager).
Diffstat (limited to 'testing/tests/tkm/net2net-xfrmproxy/pretest.dat')
-rw-r--r--testing/tests/tkm/net2net-xfrmproxy/pretest.dat12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/tests/tkm/net2net-xfrmproxy/pretest.dat b/testing/tests/tkm/net2net-xfrmproxy/pretest.dat
new file mode 100644
index 000000000..4732a37f6
--- /dev/null
+++ b/testing/tests/tkm/net2net-xfrmproxy/pretest.dat
@@ -0,0 +1,12 @@
+sun::ipsec start
+moon::rm /etc/ipsec.secrets
+moon::tkm_cfgtool -c /etc/tkm/tkm.conf -i /etc/ipsec.conf -t /etc/tkm/tkm.bin -s /usr/local/share/tkm/tkmconfig.xsd
+moon::cat /etc/ipsec.conf
+moon::tkm_keymanager -c /etc/tkm/tkm.bin -k /etc/tkm/moonKey.der -r /etc/tkm/strongswanCert.der >/tmp/tkm.log 2>&1 &
+moon::expect-file /tmp/tkm.rpc.ike
+moon::DAEMON_NAME=charon-tkm ipsec start
+moon::expect-file /tmp/tkm.rpc.ees
+moon::xfrm_proxy >/tmp/xfrm_proxy.log 2>&1 &
+moon::DAEMON_NAME=charon-tkm expect-connection conn1
+sun::expect-connection net-net
+alice::ping -c 3 PH_IP_BOB