]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Distributed openssl-ikev2 scenarios
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 18 Oct 2022 17:15:08 +0000 (19:15 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 22 Mar 2023 10:35:12 +0000 (11:35 +0100)
118 files changed:
testing/scripts/build-certs-chroot
testing/tests/ikev2-algs/alg-camellia/description.txt [moved from testing/tests/openssl-ikev2/alg-camellia/description.txt with 100% similarity]
testing/tests/ikev2-algs/alg-camellia/evaltest.dat [moved from testing/tests/openssl-ikev2/alg-camellia/evaltest.dat with 100% similarity]
testing/tests/ikev2-algs/alg-camellia/hosts/carol/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/alg-camellia/hosts/carol/etc/strongswan.conf with 100% similarity]
testing/tests/ikev2-algs/alg-camellia/hosts/carol/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/alg-camellia/hosts/carol/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2-algs/alg-camellia/hosts/moon/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/alg-camellia/hosts/moon/etc/strongswan.conf with 100% similarity]
testing/tests/ikev2-algs/alg-camellia/hosts/moon/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/alg-camellia/hosts/moon/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2-algs/alg-camellia/posttest.dat [moved from testing/tests/openssl-ikev2/alg-camellia/posttest.dat with 100% similarity]
testing/tests/ikev2-algs/alg-camellia/pretest.dat [moved from testing/tests/openssl-ikev2/alg-camellia/pretest.dat with 100% similarity]
testing/tests/ikev2-algs/alg-camellia/test.conf [moved from testing/tests/openssl-ikev2/alg-camellia/test.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-high/description.txt [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-high/description.txt with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-high/evaltest.dat [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-high/evaltest.dat with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-high/hosts/carol/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-high/hosts/carol/etc/strongswan.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-high/hosts/carol/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-high/hosts/carol/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-high/hosts/dave/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-high/hosts/moon/etc/strongswan.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-high/hosts/dave/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-high/hosts/dave/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-high/hosts/moon/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-low/hosts/carol/etc/strongswan.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-high/hosts/moon/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-high/hosts/moon/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-high/posttest.dat [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-high/posttest.dat with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-high/pretest.dat [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-high/pretest.dat with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-high/test.conf [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-high/test.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-low/description.txt [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-low/description.txt with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-low/evaltest.dat [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-low/evaltest.dat with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-low/hosts/carol/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-low/hosts/moon/etc/strongswan.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-low/hosts/carol/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-low/hosts/carol/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-low/hosts/dave/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/alg-ecp-high/hosts/carol/etc/strongswan.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-low/hosts/dave/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-low/hosts/dave/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-low/hosts/moon/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/alg-ecp-high/hosts/moon/etc/strongswan.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-low/hosts/moon/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-low/hosts/moon/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-low/posttest.dat [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-low/posttest.dat with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-low/pretest.dat [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-low/pretest.dat with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-brainpool-low/test.conf [moved from testing/tests/openssl-ikev2/alg-ecp-brainpool-low/test.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-high/description.txt [moved from testing/tests/openssl-ikev2/alg-ecp-high/description.txt with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-high/evaltest.dat [moved from testing/tests/openssl-ikev2/alg-ecp-high/evaltest.dat with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-high/hosts/carol/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/alg-ecp-low/hosts/carol/etc/strongswan.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-high/hosts/carol/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/alg-ecp-high/hosts/carol/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-high/hosts/dave/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/alg-ecp-low/hosts/moon/etc/strongswan.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-high/hosts/dave/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/alg-ecp-high/hosts/dave/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-high/hosts/moon/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/ecdsa-certs/hosts/carol/etc/strongswan.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-high/hosts/moon/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/alg-ecp-high/hosts/moon/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-high/posttest.dat [moved from testing/tests/openssl-ikev2/alg-ecp-high/posttest.dat with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-high/pretest.dat [moved from testing/tests/openssl-ikev2/alg-ecp-high/pretest.dat with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-high/test.conf [moved from testing/tests/openssl-ikev2/alg-ecp-high/test.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-low/description.txt [moved from testing/tests/openssl-ikev2/alg-ecp-low/description.txt with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-low/evaltest.dat [moved from testing/tests/openssl-ikev2/alg-ecp-low/evaltest.dat with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-low/hosts/carol/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/ecdsa-certs/hosts/dave/etc/strongswan.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-low/hosts/carol/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/alg-ecp-low/hosts/carol/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-low/hosts/dave/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/ecdsa-certs/hosts/moon/etc/strongswan.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-low/hosts/dave/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/alg-ecp-low/hosts/dave/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-low/hosts/moon/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/critical-extension/hosts/sun/etc/strongswan.conf with 84% similarity]
testing/tests/ikev2-algs/alg-ecp-low/hosts/moon/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/alg-ecp-low/hosts/moon/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-low/posttest.dat [moved from testing/tests/openssl-ikev2/alg-ecp-low/posttest.dat with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-low/pretest.dat [moved from testing/tests/openssl-ikev2/alg-ecp-low/pretest.dat with 100% similarity]
testing/tests/ikev2-algs/alg-ecp-low/test.conf [moved from testing/tests/openssl-ikev2/alg-ecp-low/test.conf with 100% similarity]
testing/tests/ikev2/ecdsa-certs/description.txt [moved from testing/tests/openssl-ikev2/ecdsa-certs/description.txt with 100% similarity]
testing/tests/ikev2/ecdsa-certs/evaltest.dat [moved from testing/tests/openssl-ikev2/ecdsa-certs/evaltest.dat with 100% similarity]
testing/tests/ikev2/ecdsa-certs/hosts/carol/etc/strongswan.conf [new file with mode: 0644]
testing/tests/ikev2/ecdsa-certs/hosts/carol/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/ecdsa-certs/hosts/carol/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2/ecdsa-certs/hosts/dave/etc/strongswan.conf [new file with mode: 0644]
testing/tests/ikev2/ecdsa-certs/hosts/dave/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/ecdsa-certs/hosts/dave/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2/ecdsa-certs/hosts/moon/etc/strongswan.conf [new file with mode: 0644]
testing/tests/ikev2/ecdsa-certs/hosts/moon/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/ecdsa-certs/hosts/moon/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2/ecdsa-certs/posttest.dat [moved from testing/tests/openssl-ikev2/ecdsa-certs/posttest.dat with 100% similarity]
testing/tests/ikev2/ecdsa-certs/pretest.dat [moved from testing/tests/openssl-ikev2/ecdsa-certs/pretest.dat with 100% similarity]
testing/tests/ikev2/ecdsa-certs/test.conf [moved from testing/tests/openssl-ikev2/ecdsa-certs/test.conf with 100% similarity]
testing/tests/ikev2/ecdsa-pkcs8/description.txt [moved from testing/tests/openssl-ikev2/ecdsa-pkcs8/description.txt with 100% similarity]
testing/tests/ikev2/ecdsa-pkcs8/evaltest.dat [moved from testing/tests/openssl-ikev2/ecdsa-pkcs8/evaltest.dat with 100% similarity]
testing/tests/ikev2/ecdsa-pkcs8/hosts/carol/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/ecdsa-pkcs8/hosts/carol/etc/strongswan.conf with 100% similarity]
testing/tests/ikev2/ecdsa-pkcs8/hosts/carol/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/ecdsa-pkcs8/hosts/carol/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2/ecdsa-pkcs8/hosts/dave/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/ecdsa-pkcs8/hosts/dave/etc/strongswan.conf with 100% similarity]
testing/tests/ikev2/ecdsa-pkcs8/hosts/dave/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/ecdsa-pkcs8/hosts/dave/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2/ecdsa-pkcs8/hosts/moon/etc/strongswan.conf [moved from testing/tests/openssl-ikev2/ecdsa-pkcs8/hosts/moon/etc/strongswan.conf with 100% similarity]
testing/tests/ikev2/ecdsa-pkcs8/hosts/moon/etc/swanctl/swanctl.conf [moved from testing/tests/openssl-ikev2/ecdsa-pkcs8/hosts/moon/etc/swanctl/swanctl.conf with 100% similarity]
testing/tests/ikev2/ecdsa-pkcs8/posttest.dat [moved from testing/tests/openssl-ikev2/ecdsa-pkcs8/posttest.dat with 100% similarity]
testing/tests/ikev2/ecdsa-pkcs8/pretest.dat [moved from testing/tests/openssl-ikev2/ecdsa-pkcs8/pretest.dat with 100% similarity]
testing/tests/ikev2/ecdsa-pkcs8/test.conf [moved from testing/tests/openssl-ikev2/ecdsa-pkcs8/test.conf with 100% similarity]
testing/tests/openssl-ikev2/.gitignore [deleted file]
testing/tests/openssl-ikev2/alg-ecp-brainpool-high/hosts/dave/etc/strongswan.conf [deleted file]
testing/tests/openssl-ikev2/alg-ecp-brainpool-low/hosts/dave/etc/strongswan.conf [deleted file]
testing/tests/openssl-ikev2/alg-ecp-high/hosts/dave/etc/strongswan.conf [deleted file]
testing/tests/openssl-ikev2/alg-ecp-low/hosts/dave/etc/strongswan.conf [deleted file]
testing/tests/openssl-ikev2/critical-extension/description.txt [deleted file]
testing/tests/openssl-ikev2/critical-extension/evaltest.dat [deleted file]
testing/tests/openssl-ikev2/critical-extension/hosts/moon/etc/strongswan.conf [deleted file]
testing/tests/openssl-ikev2/critical-extension/hosts/moon/etc/swanctl/swanctl.conf [deleted file]
testing/tests/openssl-ikev2/critical-extension/hosts/sun/etc/swanctl/swanctl.conf [deleted file]
testing/tests/openssl-ikev2/critical-extension/posttest.dat [deleted file]
testing/tests/openssl-ikev2/critical-extension/pretest.dat [deleted file]
testing/tests/openssl-ikev2/critical-extension/test.conf [deleted file]
testing/tests/openssl-ikev2/net2net-pkcs12/description.txt [deleted file]
testing/tests/openssl-ikev2/net2net-pkcs12/evaltest.dat [deleted file]
testing/tests/openssl-ikev2/net2net-pkcs12/hosts/moon/etc/strongswan.conf [deleted file]
testing/tests/openssl-ikev2/net2net-pkcs12/hosts/moon/etc/swanctl/swanctl.conf [deleted file]
testing/tests/openssl-ikev2/net2net-pkcs12/hosts/sun/etc/strongswan.conf [deleted file]
testing/tests/openssl-ikev2/net2net-pkcs12/hosts/sun/etc/swanctl/swanctl.conf [deleted file]
testing/tests/openssl-ikev2/net2net-pkcs12/posttest.dat [deleted file]
testing/tests/openssl-ikev2/net2net-pkcs12/pretest.dat [deleted file]
testing/tests/openssl-ikev2/net2net-pkcs12/test.conf [deleted file]
testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/description.txt [deleted file]
testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/evaltest.dat [deleted file]
testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/hosts/moon/etc/strongswan.conf [deleted file]
testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/hosts/moon/etc/swanctl/swanctl.conf [deleted file]
testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/hosts/sun/etc/strongswan.conf [deleted file]
testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/hosts/sun/etc/swanctl/swanctl.conf [deleted file]
testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/posttest.dat [deleted file]
testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/pretest.dat [deleted file]
testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/test.conf [deleted file]
testing/tests/openssl-ikev2/rw-cert/description.txt [deleted file]
testing/tests/openssl-ikev2/rw-cert/evaltest.dat [deleted file]
testing/tests/openssl-ikev2/rw-cert/hosts/carol/etc/strongswan.conf [deleted file]
testing/tests/openssl-ikev2/rw-cert/hosts/carol/etc/swanctl/swanctl.conf [deleted file]
testing/tests/openssl-ikev2/rw-cert/hosts/dave/etc/strongswan.conf [deleted file]
testing/tests/openssl-ikev2/rw-cert/hosts/dave/etc/swanctl/swanctl.conf [deleted file]
testing/tests/openssl-ikev2/rw-cert/hosts/moon/etc/strongswan.conf [deleted file]
testing/tests/openssl-ikev2/rw-cert/hosts/moon/etc/swanctl/swanctl.conf [deleted file]
testing/tests/openssl-ikev2/rw-cert/posttest.dat [deleted file]
testing/tests/openssl-ikev2/rw-cert/pretest.dat [deleted file]
testing/tests/openssl-ikev2/rw-cert/test.conf [deleted file]

index 81d0ed6b1207dc777735a14739ca749198b6243a..62b043f4b72ae491d72f2060e850ca970fc8d29f 100755 (executable)
@@ -350,7 +350,7 @@ openssl pkcs12 -export -inkey ${HOST_KEY} -in ${HOST_CERT} -name "sun" \
         -certpbe aes-128-cbc -macalg sha256 -passout "pass:IxjQVCF3JGI+MoPi" > ${SUN_PKCS12}
 
 # Put a PKCS#12 copy into the botan/net2net-pkcs12 scenario
-for t in botan/net2net-pkcs12 openssl-ikev2/net2net-pkcs12
+for t in botan/net2net-pkcs12
 do
   TEST="${TEST_DIR}/${t}"
   mkdir -p ${TEST}/hosts/moon/${SWANCTL_DIR}/pkcs12
@@ -753,13 +753,6 @@ pki --issue --cakey ${CA_KEY} --cacert ${CA_CERT} --crl ${CA_CDP} --type rsa \
     --outform pem > ${TEST_CERT}
 cp ${TEST_CERT} ${CA_DIR}/certs/${SERIAL}.pem
 
-# Put a copy in the openssl-ikev2/critical extension scenario
-TEST="${TEST_DIR}/openssl-ikev2/critical-extension"
-mkdir -p ${TEST}/hosts/moon/${SWANCTL_DIR}/rsa
-mkdir -p ${TEST}/hosts/moon/${SWANCTL_DIR}/x509
-cp ${TEST_KEY} ${TEST}/hosts/moon/${SWANCTL_DIR}/rsa
-cp ${TEST_CERT} ${TEST}/hosts/moon/${SWANCTL_DIR}/x509
-
 # Generate sun certificate with an unsupported critical X.509 extension
 TEST="${TEST_DIR}/ikev2/critical-extension"
 TEST_KEY="${TEST}/hosts/sun/${SWANCTL_DIR}/rsa/sunKey.pem"
@@ -776,13 +769,6 @@ pki --issue --cakey ${CA_KEY} --cacert ${CA_CERT} --crl ${CA_CDP} --type rsa \
     --outform pem > ${TEST_CERT}
 cp ${TEST_CERT} ${CA_DIR}/certs/${SERIAL}.pem
 
-# Put a copy in the openssl-ikev2/critical extension scenario
-TEST="${TEST_DIR}/openssl-ikev2/critical-extension"
-mkdir -p ${TEST}/hosts/sun/${SWANCTL_DIR}/rsa
-mkdir -p ${TEST}/hosts/sun/${SWANCTL_DIR}/x509
-cp ${TEST_KEY} ${TEST}/hosts/sun/${SWANCTL_DIR}/rsa
-cp ${TEST_CERT} ${TEST}/hosts/sun/${SWANCTL_DIR}/x509
-
 # Generate winnetou server certificate
 HOST_KEY="${CA_DIR}/winnetouKey.pem"
 HOST_CERT="${CA_DIR}/winnetouCert.pem"
similarity index 84%
rename from testing/tests/openssl-ikev2/critical-extension/hosts/sun/etc/strongswan.conf
rename to testing/tests/ikev2-algs/alg-ecp-low/hosts/moon/etc/strongswan.conf
index 77d858547f853299dbea386504fef523414ddae3..a322670f4b19de0c3a6c79fcffc652c6de3ad985 100644 (file)
@@ -2,5 +2,4 @@
 
 charon {
   load = random nonce pem pkcs1 openssl curl revocation vici kernel-netlink socket-default updown
-  multiple_authentication = no
 }
diff --git a/testing/tests/ikev2/ecdsa-certs/hosts/carol/etc/strongswan.conf b/testing/tests/ikev2/ecdsa-certs/hosts/carol/etc/strongswan.conf
new file mode 100644 (file)
index 0000000..a322670
--- /dev/null
@@ -0,0 +1,5 @@
+# /etc/strongswan.conf - strongSwan configuration file
+
+charon {
+  load = random nonce pem pkcs1 openssl curl revocation vici kernel-netlink socket-default updown
+}
diff --git a/testing/tests/ikev2/ecdsa-certs/hosts/dave/etc/strongswan.conf b/testing/tests/ikev2/ecdsa-certs/hosts/dave/etc/strongswan.conf
new file mode 100644 (file)
index 0000000..a322670
--- /dev/null
@@ -0,0 +1,5 @@
+# /etc/strongswan.conf - strongSwan configuration file
+
+charon {
+  load = random nonce pem pkcs1 openssl curl revocation vici kernel-netlink socket-default updown
+}
diff --git a/testing/tests/ikev2/ecdsa-certs/hosts/moon/etc/strongswan.conf b/testing/tests/ikev2/ecdsa-certs/hosts/moon/etc/strongswan.conf
new file mode 100644 (file)
index 0000000..a322670
--- /dev/null
@@ -0,0 +1,5 @@
+# /etc/strongswan.conf - strongSwan configuration file
+
+charon {
+  load = random nonce pem pkcs1 openssl curl revocation vici kernel-netlink socket-default updown
+}
diff --git a/testing/tests/openssl-ikev2/.gitignore b/testing/tests/openssl-ikev2/.gitignore
deleted file mode 100644 (file)
index c67f9a2..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-*.pem
-*.p12
diff --git a/testing/tests/openssl-ikev2/alg-ecp-brainpool-high/hosts/dave/etc/strongswan.conf b/testing/tests/openssl-ikev2/alg-ecp-brainpool-high/hosts/dave/etc/strongswan.conf
deleted file mode 100644 (file)
index 59c81a0..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# /etc/strongswan.conf - strongSwan configuration file
-
-charon {
-  load = random nonce aes sha1 sha2 gmp pem pkcs1 hmac kdf x509 openssl curl revocation vici kernel-netlink socket-default updown
-}
diff --git a/testing/tests/openssl-ikev2/alg-ecp-brainpool-low/hosts/dave/etc/strongswan.conf b/testing/tests/openssl-ikev2/alg-ecp-brainpool-low/hosts/dave/etc/strongswan.conf
deleted file mode 100644 (file)
index f08553b..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# /etc/strongswan.conf - strongSwan configuration file
-
-charon {
-  load = random nonce aes des sha1 sha2 gmp pem pkcs1 hmac kdf x509 openssl curl revocation vici kernel-netlink socket-default updown
-}
diff --git a/testing/tests/openssl-ikev2/alg-ecp-high/hosts/dave/etc/strongswan.conf b/testing/tests/openssl-ikev2/alg-ecp-high/hosts/dave/etc/strongswan.conf
deleted file mode 100644 (file)
index 59c81a0..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# /etc/strongswan.conf - strongSwan configuration file
-
-charon {
-  load = random nonce aes sha1 sha2 gmp pem pkcs1 hmac kdf x509 openssl curl revocation vici kernel-netlink socket-default updown
-}
diff --git a/testing/tests/openssl-ikev2/alg-ecp-low/hosts/dave/etc/strongswan.conf b/testing/tests/openssl-ikev2/alg-ecp-low/hosts/dave/etc/strongswan.conf
deleted file mode 100644 (file)
index f08553b..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# /etc/strongswan.conf - strongSwan configuration file
-
-charon {
-  load = random nonce aes des sha1 sha2 gmp pem pkcs1 hmac kdf x509 openssl curl revocation vici kernel-netlink socket-default updown
-}
diff --git a/testing/tests/openssl-ikev2/critical-extension/description.txt b/testing/tests/openssl-ikev2/critical-extension/description.txt
deleted file mode 100644 (file)
index 4f472b8..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-A connection between the subnets behind the gateways <b>moon</b> and <b>sun</b> is set up.
-The authentication is based on <b>X.509 certificates</b> which contain a <b>critical</b> but
-unsupported 'strongSwan' extension. Whereas <b>moon</b> ignores unsupported critical
-extensions by setting <b>libstrongswan.x509.enforce_critical = no</b> in strongswan.conf,
-<b>sun</b> discards such certificates and aborts the connection setup.
diff --git a/testing/tests/openssl-ikev2/critical-extension/evaltest.dat b/testing/tests/openssl-ikev2/critical-extension/evaltest.dat
deleted file mode 100644 (file)
index e91ba2b..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-moon::cat /var/log/daemon.log::sending end entity cert::YES
-moon::cat /var/log/daemon.log::received AUTHENTICATION_FAILED notify error::YES
-sun:: cat /var/log/daemon.log::found unsupported critical X.509 extension::YES
-sun:: cat /var/log/daemon.log::building CRED_CERTIFICATE - X509 failed::YES
diff --git a/testing/tests/openssl-ikev2/critical-extension/hosts/moon/etc/strongswan.conf b/testing/tests/openssl-ikev2/critical-extension/hosts/moon/etc/strongswan.conf
deleted file mode 100644 (file)
index f2104c5..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# /etc/strongswan.conf - strongSwan configuration file
-
-charon {
-  load = random nonce pem pkcs1 openssl revocation curl vici kernel-netlink socket-default updown
-  multiple_authentication = no
-}
-
-libstrongswan {
-  x509 {
-    enforce_critical = no
-  }
-}
diff --git a/testing/tests/openssl-ikev2/critical-extension/hosts/moon/etc/swanctl/swanctl.conf b/testing/tests/openssl-ikev2/critical-extension/hosts/moon/etc/swanctl/swanctl.conf
deleted file mode 100755 (executable)
index 0b0aa32..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-connections {
-
-   gw-gw {
-      local_addrs  = 192.168.0.1
-      remote_addrs = 192.168.0.2
-
-      local {
-         auth = pubkey
-         id = moon.strongswan.org
-      }
-      remote {
-         auth = pubkey
-         id = sun.strongswan.org
-      }
-      children {
-         net-net {
-            local_ts  = 10.1.0.0/16
-            remote_ts = 10.2.0.0/16
-            esp_proposals = aes128gcm128-ecp256
-         }
-      }
-      version = 2
-      mobike = no
-      proposals = aes128-sha256-ecp256
-   }
-}
diff --git a/testing/tests/openssl-ikev2/critical-extension/hosts/sun/etc/swanctl/swanctl.conf b/testing/tests/openssl-ikev2/critical-extension/hosts/sun/etc/swanctl/swanctl.conf
deleted file mode 100755 (executable)
index bb068bd..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-connections {
-
-   gw-gw {
-      local_addrs  = 192.168.0.2
-      remote_addrs = 192.168.0.1
-
-      local {
-         auth = pubkey
-         id = sun.strongswan.org
-      }
-      remote {
-         auth = pubkey
-         id = moon.strongswan.org
-      }
-      children {
-         net-net {
-            local_ts  = 10.2.0.0/16
-            remote_ts = 10.1.0.0/16
-             esp_proposals = aes128gcm128-ecp256
-         }
-      }
-      version = 2
-      mobike = no
-      proposals = aes128-sha256-ecp256
-   }
-}
diff --git a/testing/tests/openssl-ikev2/critical-extension/posttest.dat b/testing/tests/openssl-ikev2/critical-extension/posttest.dat
deleted file mode 100644 (file)
index 4ee2ed6..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-moon::systemctl stop strongswan
-sun::systemctl stop strongswan
diff --git a/testing/tests/openssl-ikev2/critical-extension/pretest.dat b/testing/tests/openssl-ikev2/critical-extension/pretest.dat
deleted file mode 100644 (file)
index bcc06db..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-moon::systemctl start strongswan
-sun::systemctl start strongswan
-moon::expect-connection gw-gw
-sun::expect-connection gw-gw
-moon::swanctl --initiate --child net-net 2> /dev/null
diff --git a/testing/tests/openssl-ikev2/critical-extension/test.conf b/testing/tests/openssl-ikev2/critical-extension/test.conf
deleted file mode 100644 (file)
index d3016a8..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-#
-# This configuration file provides information on the
-# guest instances used for this test
-
-# All guest instances that are required for this test
-#
-VIRTHOSTS="alice moon winnetou sun bob"
-
-# Corresponding block diagram
-#
-DIAGRAM="a-m-w-s-b.png"
-
-# Guest instances on which tcpdump is to be started
-#
-TCPDUMPHOSTS=""
-
-# Guest instances on which IPsec is started
-# Used for IPsec logging purposes
-#
-IPSECHOSTS="moon sun"
-
-# charon controlled by swanctl
-#
-SWANCTL=1
diff --git a/testing/tests/openssl-ikev2/net2net-pkcs12/description.txt b/testing/tests/openssl-ikev2/net2net-pkcs12/description.txt
deleted file mode 100644 (file)
index 1d40e30..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-A connection between the subnets behind the gateways <b>moon</b> and <b>sun</b> is set up.
-The authentication is based on <b>X.509 certificates</b> and an RSA private key stored in
-<b>PKCS12</b> format.
-<p/>
-Upon the successful establishment of the IPsec tunnels, <b>leftfirewall=yes</b>
-automatically inserts iptables-based firewall rules that let pass the tunneled traffic.
-In order to test both tunnel and firewall, client <b>alice</b> behind gateway <b>moon</b>
-pings client <b>bob</b> located behind gateway <b>sun</b>.
diff --git a/testing/tests/openssl-ikev2/net2net-pkcs12/evaltest.dat b/testing/tests/openssl-ikev2/net2net-pkcs12/evaltest.dat
deleted file mode 100644 (file)
index bfc7e76..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-alice::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_.eq=1::YES
-moon::swanctl --list-sas --raw 2> /dev/null::gw-gw.*version=2 state=ESTABLISHED local-host=192.168.0.1 local-port=500 local-id=moon.strongswan.org remote-host=192.168.0.2 remote-port=500 remote-id=sun.strongswan.org initiator=yes.*encr-alg=AES_CBC encr-keysize=128 integ-alg=HMAC_SHA2_256_128 prf-alg=PRF_HMAC_SHA2_256 dh-group=MODP_3072.*child-sas.*net-net.*state=INSTALLED mode=TUNNEL.*ESP.*encr-alg=AES_GCM_16 encr-keysize=128.*local-ts=\[10.1.0.0/16] remote-ts=\[10.2.0.0/16]::YES
-sun:: swanctl --list-sas --raw 2> /dev/null::gw-gw.*version=2 state=ESTABLISHED local-host=192.168.0.2 local-port=500 local-id=sun.strongswan.org remote-host=192.168.0.1 remote-port=500 remote-id=moon.strongswan.org.*encr-alg=AES_CBC encr-keysize=128 integ-alg=HMAC_SHA2_256_128 prf-alg=PRF_HMAC_SHA2_256 dh-group=MODP_3072.*child-sas.*net-net.*state=INSTALLED mode=TUNNEL.*ESP.*encr-alg=AES_GCM_16 encr-keysize=128.*local-ts=\[10.2.0.0/16] remote-ts=\[10.1.0.0/16]::YES
-sun::tcpdump::IP moon.strongswan.org > sun.strongswan.org: ESP::YES
-sun::tcpdump::IP sun.strongswan.org > moon.strongswan.org: ESP::YES
diff --git a/testing/tests/openssl-ikev2/net2net-pkcs12/hosts/moon/etc/strongswan.conf b/testing/tests/openssl-ikev2/net2net-pkcs12/hosts/moon/etc/strongswan.conf
deleted file mode 100644 (file)
index 9232c58..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# /etc/strongswan.conf - strongSwan configuration file
-
-swanctl {
-  load = pem openssl
-}
-
-charon-systemd {
-  load = pem nonce openssl curl vici kernel-netlink socket-default updown
-}
diff --git a/testing/tests/openssl-ikev2/net2net-pkcs12/hosts/moon/etc/swanctl/swanctl.conf b/testing/tests/openssl-ikev2/net2net-pkcs12/hosts/moon/etc/swanctl/swanctl.conf
deleted file mode 100755 (executable)
index b11cf0f..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-connections {
-
-   gw-gw {
-      local_addrs  = 192.168.0.1
-      remote_addrs = 192.168.0.2
-
-      local {
-         auth = pubkey
-         id = moon.strongswan.org
-      }
-      remote {
-         auth = pubkey
-         id = sun.strongswan.org
-      }
-      children {
-         net-net {
-            local_ts  = 10.1.0.0/16
-            remote_ts = 10.2.0.0/16
-
-            updown = /usr/local/libexec/ipsec/_updown iptables
-            esp_proposals = aes128gcm128-modp3072
-         }
-      }
-      version = 2
-      mobike = no
-      proposals = aes128-sha256-modp3072
-   }
-}
-
-secrets {
-
-   pkcs12-moon {
-      file = moonCert.p12
-      secret = "kUqd8O7mzbjXNJKQ"
-   }
-}
diff --git a/testing/tests/openssl-ikev2/net2net-pkcs12/hosts/sun/etc/strongswan.conf b/testing/tests/openssl-ikev2/net2net-pkcs12/hosts/sun/etc/strongswan.conf
deleted file mode 100644 (file)
index 9232c58..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# /etc/strongswan.conf - strongSwan configuration file
-
-swanctl {
-  load = pem openssl
-}
-
-charon-systemd {
-  load = pem nonce openssl curl vici kernel-netlink socket-default updown
-}
diff --git a/testing/tests/openssl-ikev2/net2net-pkcs12/hosts/sun/etc/swanctl/swanctl.conf b/testing/tests/openssl-ikev2/net2net-pkcs12/hosts/sun/etc/swanctl/swanctl.conf
deleted file mode 100755 (executable)
index 28c0e87..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-connections {
-
-   gw-gw {
-      local_addrs  = 192.168.0.2
-      remote_addrs = 192.168.0.1
-
-      local {
-         auth = pubkey
-         id = sun.strongswan.org
-      }
-      remote {
-         auth = pubkey
-         id = moon.strongswan.org
-      }
-      children {
-         net-net {
-            local_ts  = 10.2.0.0/16
-            remote_ts = 10.1.0.0/16
-
-            updown = /usr/local/libexec/ipsec/_updown iptables
-            esp_proposals = aes128gcm128-modp3072
-         }
-      }
-      version = 2
-      mobike = no
-      proposals = aes128-sha256-modp3072
-   }
-}
-
-secrets {
-
-   pkcs12-sun {
-      file = sunCert.p12
-      secret = "IxjQVCF3JGI+MoPi"
-   }
-}
diff --git a/testing/tests/openssl-ikev2/net2net-pkcs12/posttest.dat b/testing/tests/openssl-ikev2/net2net-pkcs12/posttest.dat
deleted file mode 100644 (file)
index 61d173e..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-moon::systemctl stop strongswan
-sun::systemctl stop strongswan
-moon::iptables-restore < /etc/iptables.flush
-sun::iptables-restore < /etc/iptables.flush
-moon::rm /etc/swanctl/pkcs12/moonCert.p12
-sun::rm /etc/swanctl/pkcs12/sunCert.p12
diff --git a/testing/tests/openssl-ikev2/net2net-pkcs12/pretest.dat b/testing/tests/openssl-ikev2/net2net-pkcs12/pretest.dat
deleted file mode 100644 (file)
index a65c397..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-moon::cd /etc/swanctl; rm rsa/moonKey.pem x509/moonCert.pem x509ca/strongswanCert.pem
-sun::cd /etc/swanctl; rm rsa/sunKey.pem x509/sunCert.pem x509ca/strongswanCert.pem
-moon::iptables-restore < /etc/iptables.rules
-sun::iptables-restore < /etc/iptables.rules
-moon::systemctl start strongswan
-sun::systemctl start strongswan
-moon::expect-connection gw-gw
-sun::expect-connection gw-gw
-moon::swanctl --initiate --child net-net 2> /dev/null
diff --git a/testing/tests/openssl-ikev2/net2net-pkcs12/test.conf b/testing/tests/openssl-ikev2/net2net-pkcs12/test.conf
deleted file mode 100644 (file)
index 87abc76..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-#
-# This configuration file provides information on the
-# guest instances used for this test
-
-# All guest instances that are required for this test
-#
-VIRTHOSTS="alice moon winnetou sun bob"
-
-# Corresponding block diagram
-#
-DIAGRAM="a-m-w-s-b.png"
-
-# Guest instances on which tcpdump is to be started
-#
-TCPDUMPHOSTS="sun"
-
-# Guest instances on which IPsec is started
-# Used for IPsec logging purposes
-#
-IPSECHOSTS="moon sun"
-
-# charon controlled by swanctl
-#
-SWANCTL=1
diff --git a/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/description.txt b/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/description.txt
deleted file mode 100755 (executable)
index 2db82a9..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-A connection between the subnets behind the gateways <b>moon</b> and <b>sun</b> is set up.
-The authentication is based on <b>X.509 certificates</b> with signatures consisting of
-<b>RSA-encrypted SHA-3 hashes</b>.
-<p/>
-Upon the successful establishment of the IPsec tunnel, the updown script automatically
-inserts iptables-based firewall rules that let pass the tunneled traffic.
-In order to test both tunnel and firewall, client <b>alice</b> behind gateway <b>moon</b>
-pings client <b>bob</b> located behind gateway <b>sun</b>.
diff --git a/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/evaltest.dat b/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/evaltest.dat
deleted file mode 100755 (executable)
index 4c56d52..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-moon::swanctl --list-sas --raw 2> /dev/null::gw-gw.*version=2 state=ESTABLISHED local-host=192.168.0.1 local-port=500 local-id=moon.strongswan.org remote-host=192.168.0.2 remote-port=500 remote-id=sun.strongswan.org initiator=yes.*encr-alg=AES_CBC encr-keysize=128 integ-alg=HMAC_SHA2_256_128 prf-alg=PRF_HMAC_SHA2_256 dh-group=CURVE_25519.*child-sas.*net-net.*state=INSTALLED mode=TUNNEL.*ESP.*encr-alg=AES_GCM_16 encr-keysize=128.*local-ts=\[10.1.0.0/16] remote-ts=\[10.2.0.0/16]::YES
-sun:: swanctl --list-sas --raw 2> /dev/null::gw-gw.*version=2 state=ESTABLISHED local-host=192.168.0.2 local-port=500 local-id=sun.strongswan.org remote-host=192.168.0.1 remote-port=500 remote-id=moon.strongswan.org.*encr-alg=AES_CBC encr-keysize=128 integ-alg=HMAC_SHA2_256_128 prf-alg=PRF_HMAC_SHA2_256 dh-group=CURVE_25519.*child-sas.*net-net.*state=INSTALLED mode=TUNNEL.*ESP.*encr-alg=AES_GCM_16 encr-keysize=128.*local-ts=\[10.2.0.0/16] remote-ts=\[10.1.0.0/16]::YES
-alice::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_.eq=1::YES
-sun::tcpdump::IP moon.strongswan.org > sun.strongswan.org: ESP::YES
-sun::tcpdump::IP sun.strongswan.org > moon.strongswan.org: ESP::YES
diff --git a/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/hosts/moon/etc/strongswan.conf b/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/hosts/moon/etc/strongswan.conf
deleted file mode 100755 (executable)
index 50d8bcc..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# /etc/strongswan.conf - strongSwan configuration file
-
-swanctl {
-  load = pem x509 revocation constraints pubkey openssl random
-}
-
-charon-systemd {
-  load = random nonce pem x509 revocation constraints pubkey openssl curl kernel-netlink socket-default updown vici
-}
diff --git a/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/hosts/moon/etc/swanctl/swanctl.conf b/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/hosts/moon/etc/swanctl/swanctl.conf
deleted file mode 100755 (executable)
index bcc2742..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-connections {
-
-   gw-gw {
-      local_addrs  = 192.168.0.1
-      remote_addrs = 192.168.0.2 
-
-      local {
-         auth = pubkey
-         certs = moonCert.pem
-         id = moon.strongswan.org
-      }
-      remote {
-         auth = pubkey
-         id = sun.strongswan.org 
-      }
-      children {
-         net-net {
-            local_ts  = 10.1.0.0/16 
-            remote_ts = 10.2.0.0/16 
-
-            updown = /usr/local/libexec/ipsec/_updown iptables
-            rekey_time = 5400
-            rekey_bytes = 500000000
-            rekey_packets = 1000000
-            esp_proposals = aes128gcm128-x25519
-         }
-      }
-      version = 2
-      mobike = no
-      reauth_time = 10800
-      proposals = aes128-sha256-x25519
-   }
-}
diff --git a/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/hosts/sun/etc/strongswan.conf b/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/hosts/sun/etc/strongswan.conf
deleted file mode 100755 (executable)
index 50d8bcc..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# /etc/strongswan.conf - strongSwan configuration file
-
-swanctl {
-  load = pem x509 revocation constraints pubkey openssl random
-}
-
-charon-systemd {
-  load = random nonce pem x509 revocation constraints pubkey openssl curl kernel-netlink socket-default updown vici
-}
diff --git a/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/hosts/sun/etc/swanctl/swanctl.conf b/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/hosts/sun/etc/swanctl/swanctl.conf
deleted file mode 100755 (executable)
index 12cee0f..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-connections {
-
-   gw-gw {
-      local_addrs  = 192.168.0.2
-      remote_addrs = 192.168.0.1 
-
-      local {
-         auth = pubkey
-         certs = sunCert.pem
-         id = sun.strongswan.org
-      }
-      remote {
-         auth = pubkey
-         id = moon.strongswan.org 
-      }
-      children {
-         net-net {
-            local_ts  = 10.2.0.0/16 
-            remote_ts = 10.1.0.0/16 
-
-            updown = /usr/local/libexec/ipsec/_updown iptables
-            rekey_time = 5400
-            rekey_bytes = 500000000
-            rekey_packets = 1000000
-            esp_proposals = aes128gcm128-x25519
-         }
-      }
-      version = 2
-      mobike = no
-      reauth_time = 10800
-      proposals = aes128-sha256-x25519
-   }
-}
diff --git a/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/posttest.dat b/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/posttest.dat
deleted file mode 100755 (executable)
index cc6a5bf..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-moon::swanctl --terminate --ike gw-gw 2> /dev/null
-moon::systemctl stop strongswan
-sun::systemctl stop strongswan
-moon::iptables-restore < /etc/iptables.flush
-sun::iptables-restore < /etc/iptables.flush
diff --git a/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/pretest.dat b/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/pretest.dat
deleted file mode 100755 (executable)
index 2d3c8c1..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-moon::iptables-restore < /etc/iptables.rules
-sun::iptables-restore < /etc/iptables.rules
-moon::systemctl start strongswan
-sun::systemctl start strongswan
-moon::expect-connection gw-gw
-sun::expect-connection gw-gw
-moon::swanctl --initiate --child net-net 2> /dev/null
diff --git a/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/test.conf b/testing/tests/openssl-ikev2/net2net-sha3-rsa-cert/test.conf
deleted file mode 100755 (executable)
index 07a3b24..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-#
-# This configuration file provides information on the
-# guest instances used for this test
-
-# All guest instances that are required for this test
-#
-VIRTHOSTS="alice moon winnetou sun bob"
-
-# Corresponding block diagram
-#
-DIAGRAM="a-m-w-s-b.png"
-# Guest instances on which tcpdump is to be started
-#
-TCPDUMPHOSTS="sun"
-
-# Guest instances on which IPsec is started
-# Used for IPsec logging purposes
-#
-IPSECHOSTS="moon sun"
-
-# charon controlled by swanctl
-#
-SWANCTL=1
diff --git a/testing/tests/openssl-ikev2/rw-cert/description.txt b/testing/tests/openssl-ikev2/rw-cert/description.txt
deleted file mode 100644 (file)
index ca738a1..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-The roadwarrior <b>carol</b> and the gateway <b>moon</b> use the <b>openssl</b>
-plugin based on the <b>OpenSSL</b> library for all cryptographical and X.509 certificate
-functions whereas roadwarrior <b>dave</b> uses the default <b>strongSwan</b> cryptographical
-plugins <b>aes des sha1 sha2 hmac gmp</b> and <b>x509</b>.
-<p/>
-The roadwarriors <b>carol</b> and <b>dave</b> set up a connection each
-to gateway <b>moon</b>. The authentication is based on <b>X.509 certificates</b>.
-<p/>
-Upon the successful establishment of the IPsec tunnels, the updown script
-automatically inserts iptables-based firewall rules that let pass the tunneled traffic.
-In order to test both tunnel and firewall, both <b>carol</b> and <b>dave</b> ping
-the client <b>alice</b> behind the gateway <b>moon</b>.
-
diff --git a/testing/tests/openssl-ikev2/rw-cert/evaltest.dat b/testing/tests/openssl-ikev2/rw-cert/evaltest.dat
deleted file mode 100644 (file)
index 572a138..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-carol::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_.eq=1::YES
-dave:: ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_.eq=1::YES
-carol::swanctl --list-sas --raw 2> /dev/null::home.*version=2 state=ESTABLISHED local-host=192.168.0.100 local-port=4500 local-id=carol@strongswan.org remote-host=192.168.0.1 remote-port=4500 remote-id=moon.strongswan.org initiator=yes.*encr-alg=3DES_CBC integ-alg=HMAC_SHA1_96 prf-alg=PRF_HMAC_SHA1 dh-group=MODP_2048.*child-sas.*home.*state=INSTALLED mode=TUNNEL.*ESP.*encr-alg=3DES_CBC.*local-ts=\[192.168.0.100/32] remote-ts=\[10.1.0.0/16]::YES
-dave:: swanctl --list-sas --raw 2> /dev/null::home.*version=2 state=ESTABLISHED local-host=192.168.0.200 local-port=4500 local-id=dave@strongswan.org remote-host=192.168.0.1 remote-port=4500 remote-id=moon.strongswan.org initiator=yes.*encr-alg=AES_CBC encr-keysize=128 integ-alg=HMAC_SHA2_256_128 prf-alg=PRF_HMAC_SHA2_256 dh-group=MODP_3072.*child-sas.*home.*state=INSTALLED mode=TUNNEL.*ESP.*encr-alg=AES_GCM_16 encr-keysize=128.*local-ts=\[192.168.0.200/32] remote-ts=\[10.1.0.0/16]::YES
-moon:: swanctl --list-sas --ike-id 1 --raw 2> /dev/null::rw.*version=2 state=ESTABLISHED local-host=192.168.0.1 local-port=4500 local-id=moon.strongswan.org remote-host=192.168.0.100 remote-port=4500 remote-id=carol@strongswan.org.*encr-alg=3DES_CBC integ-alg=HMAC_SHA1_96 prf-alg=PRF_HMAC_SHA1 dh-group=MODP_2048.*child-sas.*net.*reqid=1 state=INSTALLED mode=TUNNEL.*ESP.*encr-alg=3DES_CBC.*local-ts=\[10.1.0.0/16] remote-ts=\[192.168.0.100/32]::YES
-moon:: swanctl --list-sas --ike-id 2 --raw 2> /dev/null::rw.*version=2 state=ESTABLISHED local-host=192.168.0.1 local-port=4500 local-id=moon.strongswan.org remote-host=192.168.0.200 remote-port=4500 remote-id=dave@strongswan.org.*encr-alg=AES_CBC encr-keysize=128 integ-alg=HMAC_SHA2_256_128 prf-alg=PRF_HMAC_SHA2_256 dh-group=MODP_3072.*child-sas.*net.*reqid=2 state=INSTALLED mode=TUNNEL.*ESP.*encr-alg=AES_GCM_16 encr-keysize=128.*local-ts=\[10.1.0.0/16] remote-ts=\[192.168.0.200/32]::YES
-moon::tcpdump::IP carol.strongswan.org > moon.strongswan.org: ESP::YES
-moon::tcpdump::IP moon.strongswan.org > carol.strongswan.org: ESP::YES
-moon::tcpdump::IP dave.strongswan.org > moon.strongswan.org: ESP::YES
-moon::tcpdump::IP moon.strongswan.org > dave.strongswan.org: ESP::YES
diff --git a/testing/tests/openssl-ikev2/rw-cert/hosts/carol/etc/strongswan.conf b/testing/tests/openssl-ikev2/rw-cert/hosts/carol/etc/strongswan.conf
deleted file mode 100644 (file)
index 996be95..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-# /etc/strongswan.conf - strongSwan configuration file
-
-charon {
-  load = test-vectors pem pkcs1 openssl curl revocation nonce xcbc cmac ctr ccm vici kernel-netlink socket-default updown
-
-  integrity_test = yes
-  crypto_test {
-    on_add = yes
-  }
-}
diff --git a/testing/tests/openssl-ikev2/rw-cert/hosts/carol/etc/swanctl/swanctl.conf b/testing/tests/openssl-ikev2/rw-cert/hosts/carol/etc/swanctl/swanctl.conf
deleted file mode 100755 (executable)
index e8504ad..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-connections {
-
-   home {
-      local_addrs  = 192.168.0.100
-      remote_addrs = 192.168.0.1
-
-      local {
-         auth = pubkey
-         certs = carolCert.pem
-         id = carol@strongswan.org
-      }
-      remote {
-         auth = pubkey
-         id = moon.strongswan.org
-      }
-      children {
-         home {
-            remote_ts = 10.1.0.0/16
-
-            updown = /usr/local/libexec/ipsec/_updown iptables
-            esp_proposals = 3des-sha1-modp2048
-         }
-      }
-      version = 2
-      proposals = 3des-sha1-modp2048
-   }
-}
diff --git a/testing/tests/openssl-ikev2/rw-cert/hosts/dave/etc/strongswan.conf b/testing/tests/openssl-ikev2/rw-cert/hosts/dave/etc/strongswan.conf
deleted file mode 100644 (file)
index f78a0fb..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# /etc/strongswan.conf - strongSwan configuration file
-
-charon {
-  load = test-vectors aes des sha1 sha2 md5 pem pkcs1 gmp random nonce x509 curl revocation hmac kdf xcbc cmac ctr ccm gcm vici kernel-netlink socket-default updown
-
-  integrity_test = yes
-  crypto_test {
-    required = yes
-    on_add = yes
-  }
-}
diff --git a/testing/tests/openssl-ikev2/rw-cert/hosts/dave/etc/swanctl/swanctl.conf b/testing/tests/openssl-ikev2/rw-cert/hosts/dave/etc/swanctl/swanctl.conf
deleted file mode 100755 (executable)
index 27c6f12..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-connections {
-
-   home {
-      local_addrs  = 192.168.0.200
-      remote_addrs = 192.168.0.1
-
-      local {
-         auth = pubkey
-         certs = daveCert.pem
-         id = dave@strongswan.org
-      }
-      remote {
-         auth = pubkey
-         id = moon.strongswan.org
-      }
-      children {
-         home {
-            remote_ts = 10.1.0.0/16
-
-            updown = /usr/local/libexec/ipsec/_updown iptables
-            esp_proposals = aes128gcm128-modp3072
-         }
-      }
-      version = 2
-      proposals = aes128-sha256-modp3072
-   }
-}
diff --git a/testing/tests/openssl-ikev2/rw-cert/hosts/moon/etc/strongswan.conf b/testing/tests/openssl-ikev2/rw-cert/hosts/moon/etc/strongswan.conf
deleted file mode 100644 (file)
index 996be95..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-# /etc/strongswan.conf - strongSwan configuration file
-
-charon {
-  load = test-vectors pem pkcs1 openssl curl revocation nonce xcbc cmac ctr ccm vici kernel-netlink socket-default updown
-
-  integrity_test = yes
-  crypto_test {
-    on_add = yes
-  }
-}
diff --git a/testing/tests/openssl-ikev2/rw-cert/hosts/moon/etc/swanctl/swanctl.conf b/testing/tests/openssl-ikev2/rw-cert/hosts/moon/etc/swanctl/swanctl.conf
deleted file mode 100755 (executable)
index aa8d616..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-connections {
-
-   rw {
-      local_addrs  = 192.168.0.1
-
-      local {
-         auth = pubkey
-         certs = moonCert.pem
-         id = moon.strongswan.org
-      }
-      remote {
-         auth = pubkey
-      }
-      children {
-         net {
-            local_ts  = 10.1.0.0/16
-
-            updown = /usr/local/libexec/ipsec/_updown iptables
-            esp_proposals = aes128gcm128-modp3072,3des-sha1-modp2048
-         }
-      }
-      version = 2
-      proposals = aes128-sha256-modp3072,3des-sha1-modp2048
-   }
-}
diff --git a/testing/tests/openssl-ikev2/rw-cert/posttest.dat b/testing/tests/openssl-ikev2/rw-cert/posttest.dat
deleted file mode 100644 (file)
index eb21008..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-carol::swanctl --terminate --ike home
-dave::swanctl --terminate --ike home
-carol::systemctl stop strongswan
-dave::systemctl stop strongswan
-moon::systemctl stop strongswan
-moon::iptables-restore < /etc/iptables.flush
-carol::iptables-restore < /etc/iptables.flush
-dave::iptables-restore < /etc/iptables.flush
diff --git a/testing/tests/openssl-ikev2/rw-cert/pretest.dat b/testing/tests/openssl-ikev2/rw-cert/pretest.dat
deleted file mode 100644 (file)
index 6a1f10c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-mmoon::iptables-restore < /etc/iptables.rules
-carol::iptables-restore < /etc/iptables.rules
-dave::iptables-restore < /etc/iptables.rules
-moon::systemctl start strongswan
-carol::systemctl start strongswan
-dave::systemctl start strongswan
-moon::expect-connection rw
-carol::expect-connection home
-carol::swanctl --initiate --child home 2> /dev/null
-dave::expect-connection home
-dave::swanctl --initiate --child home 2> /dev/null
diff --git a/testing/tests/openssl-ikev2/rw-cert/test.conf b/testing/tests/openssl-ikev2/rw-cert/test.conf
deleted file mode 100644 (file)
index 1227b9d..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-#
-# This configuration file provides information on the
-# guest instances used for this test
-
-# All guest instances that are required for this test
-#
-VIRTHOSTS="alice moon carol winnetou dave"
-
-# Corresponding block diagram
-#
-DIAGRAM="a-m-c-w-d.png"
-
-# Guest instances on which tcpdump is to be started
-#
-TCPDUMPHOSTS="moon"
-
-# Guest instances on which IPsec is started
-# Used for IPsec logging purposes
-#
-IPSECHOSTS="moon carol dave"
-
-# charon controlled by swanctl
-#
-SWANCTL=1