]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
replaced ikev2/esp-alg-aes-ccm by ikev2/alg-aes-ccm
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 29 Aug 2010 18:24:12 +0000 (20:24 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 29 Aug 2010 18:24:12 +0000 (20:24 +0200)
testing/tests/ikev2/alg-aes-ccm/description.txt [new file with mode: 0644]
testing/tests/ikev2/alg-aes-ccm/evaltest.dat [moved from testing/tests/ikev2/esp-alg-aes-ccm/evaltest.dat with 68% similarity]
testing/tests/ikev2/alg-aes-ccm/hosts/carol/etc/ipsec.conf [moved from testing/tests/ikev2/esp-alg-aes-ccm/hosts/carol/etc/ipsec.conf with 92% similarity]
testing/tests/ikev2/alg-aes-ccm/hosts/carol/etc/strongswan.conf [moved from testing/tests/ikev2/esp-alg-aes-ccm/hosts/moon/etc/strongswan.conf with 66% similarity]
testing/tests/ikev2/alg-aes-ccm/hosts/moon/etc/ipsec.conf [moved from testing/tests/ikev2/esp-alg-aes-ccm/hosts/moon/etc/ipsec.conf with 91% similarity]
testing/tests/ikev2/alg-aes-ccm/hosts/moon/etc/strongswan.conf [moved from testing/tests/ikev2/esp-alg-aes-ccm/hosts/carol/etc/strongswan.conf with 66% similarity]
testing/tests/ikev2/alg-aes-ccm/posttest.dat [moved from testing/tests/ikev2/esp-alg-aes-ccm/posttest.dat with 100% similarity]
testing/tests/ikev2/alg-aes-ccm/pretest.dat [moved from testing/tests/ikev2/esp-alg-aes-ccm/pretest.dat with 100% similarity]
testing/tests/ikev2/alg-aes-ccm/test.conf [moved from testing/tests/ikev2/esp-alg-aes-ccm/test.conf with 100% similarity]
testing/tests/ikev2/esp-alg-aes-ccm/description.txt [deleted file]

diff --git a/testing/tests/ikev2/alg-aes-ccm/description.txt b/testing/tests/ikev2/alg-aes-ccm/description.txt
new file mode 100644 (file)
index 0000000..28e38ca
--- /dev/null
@@ -0,0 +1,4 @@
+Roadwarrior <b>carol</b> proposes to gateway <b>moon</b> the cipher suite
+<b>AES_CCM_12_128</b> both for IKE and ESP by defining <b>ike=aes128ccm12-aesxcbc-modp2048</b>
+(or alternatively <b>aes128ccm96</b>) and <b>esp=aes128ccm12-modp2048</b> in ipsec.conf, respectively.
+A ping from <b>carol</b> to <b>alice</b> successfully checks the established tunnel.
similarity index 68%
rename from testing/tests/ikev2/esp-alg-aes-ccm/evaltest.dat
rename to testing/tests/ikev2/alg-aes-ccm/evaltest.dat
index f7959d12915af5cd0267434728b016297a196aaa..0834a8db06819adfdf6fad2e8ed46476fc438fb2 100644 (file)
@@ -1,9 +1,11 @@
 moon::ipsec statusall::rw.*INSTALLED::YES
 carol::ipsec statusall::home.*INSTALLED::YES
 carol::ping -c 1 -s 120 -p deadbeef PH_IP_ALICE::128 bytes from PH_IP_ALICE: icmp_seq=1::YES
-moon::ipsec statusall::AES_CCM_12_128::YES
-carol::ipsec statusall::AES_CCM_12_128::YES
-carol::ip xfrm state::aead rfc4309(ccm(aes))::YES
+moon::ipsec statusall::IKE proposal: AES_CCM_12_128::YES
+carol::ipsec statusall::IKE proposal: AES_CCM_12_128::YES
+moon::ipsec statusall::AES_CCM_12_128,::YES
+carol::ipsec statusall::AES_CCM_12_128,::YES
 moon::ip xfrm state::aead rfc4309(ccm(aes))::YES
+carol::ip xfrm state::aead rfc4309(ccm(aes))::YES
 moon::tcpdump::IP carol.strongswan.org > moon.strongswan.org: ESP.*length 180::YES
 moon::tcpdump::IP moon.strongswan.org > carol.strongswan.org: ESP.*length 180::YES
similarity index 92%
rename from testing/tests/ikev2/esp-alg-aes-ccm/hosts/carol/etc/ipsec.conf
rename to testing/tests/ikev2/alg-aes-ccm/hosts/carol/etc/ipsec.conf
index 85c825002c2bb0c8b1c0eacd5b648f613d11e19a..6bcfbc28de083c4f565d2b049f7559942f60e580 100755 (executable)
@@ -11,7 +11,7 @@ conn %default
        rekeymargin=3m
        keyingtries=1
        keyexchange=ikev2
-       ike=aes128-aesxcbc-modp2048!
+       ike=aes128ccm96-aesxcbc-modp2048!
        esp=aes128ccm96-modp2048!
 
 conn home
similarity index 66%
rename from testing/tests/ikev2/esp-alg-aes-ccm/hosts/moon/etc/strongswan.conf
rename to testing/tests/ikev2/alg-aes-ccm/hosts/carol/etc/strongswan.conf
index 339b56987a62a04962421480742561733660e6a4..db2c09bae35c317983cda226beae4f39d3b7dda2 100644 (file)
@@ -1,5 +1,5 @@
 # /etc/strongswan.conf - strongSwan configuration file
 
 charon {
-  load = curl aes des sha1 sha2 md5 pem pkcs1 gmp random x509 revocation hmac xcbc stroke kernel-netlink socket-default updown
+  load = curl aes des sha1 sha2 md5 pem pkcs1 gmp random x509 revocation hmac xcbc ccm stroke kernel-netlink socket-default updown
 }
similarity index 91%
rename from testing/tests/ikev2/esp-alg-aes-ccm/hosts/moon/etc/ipsec.conf
rename to testing/tests/ikev2/alg-aes-ccm/hosts/moon/etc/ipsec.conf
index 8f84045163ebd01c41497870c40d3f39ffd14490..1d6f13861254281bf12d08c4367b1d2599e24e03 100755 (executable)
@@ -11,7 +11,7 @@ conn %default
        rekeymargin=3m
        keyingtries=1
        keyexchange=ikev2
-       ike=aes128-aesxcbc-modp2048!
+       ike=aes128ccm12-aesxcbc-modp2048!
        esp=aes128ccm12-modp2048!
 
 conn rw
similarity index 66%
rename from testing/tests/ikev2/esp-alg-aes-ccm/hosts/carol/etc/strongswan.conf
rename to testing/tests/ikev2/alg-aes-ccm/hosts/moon/etc/strongswan.conf
index 339b56987a62a04962421480742561733660e6a4..db2c09bae35c317983cda226beae4f39d3b7dda2 100644 (file)
@@ -1,5 +1,5 @@
 # /etc/strongswan.conf - strongSwan configuration file
 
 charon {
-  load = curl aes des sha1 sha2 md5 pem pkcs1 gmp random x509 revocation hmac xcbc stroke kernel-netlink socket-default updown
+  load = curl aes des sha1 sha2 md5 pem pkcs1 gmp random x509 revocation hmac xcbc ccm stroke kernel-netlink socket-default updown
 }
diff --git a/testing/tests/ikev2/esp-alg-aes-ccm/description.txt b/testing/tests/ikev2/esp-alg-aes-ccm/description.txt
deleted file mode 100644 (file)
index 9fe03b0..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-Roadwarrior <b>carol</b> proposes to gateway <b>moon</b> the ESP cipher suite
-<b>AES_CCM_12_128</b> by defining <b>esp=aes128ccm12-modp2048</b> or alternatively
-<b>esp=aes128ccm96-modp2048</b> in ipsec.conf.
-A ping from <b>carol</b> to <b>alice</b> successfully checks the established tunnel.