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

diff --git a/testing/tests/ikev2/alg-aes-ctr/description.txt b/testing/tests/ikev2/alg-aes-ctr/description.txt
new file mode 100644 (file)
index 0000000..edb601b
--- /dev/null
@@ -0,0 +1,4 @@
+Roadwarrior <b>carol</b> proposes to gateway <b>moon</b> the cipher suite
+<b>AES_CTR_128</b> both for IKE and ESP by defining <b>ike=aes128ctr-aesxcbc-modp2048</b>
+and <b>esp=aes128ctr-aesxcbc-modp2048</b> in ipsec.conf, respectively.
+A ping from <b>carol</b> to <b>alice</b> successfully checks the established tunnel.
similarity index 66%
rename from testing/tests/ikev2/esp-alg-aes-ctr/evaltest.dat
rename to testing/tests/ikev2/alg-aes-ctr/evaltest.dat
index 6b5d0ba0b6b4d23c540f49035b75e6c711faaa88..522ce608885a4568313aba769f1faf58fa2cb4b4 100644 (file)
@@ -1,8 +1,10 @@
 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_CTR_128/AES_XCBC_96::YES
-carol::ipsec statusall::AES_CTR_128/AES_XCBC_96::YES
+moon::ipsec statusall::IKE proposal: AES_CTR_128::YES
+carol::ipsec statusall::IKE proposal: AES_CTR_128::YES
+moon::ipsec statusall::AES_CTR_128/AES_XCBC_96,::YES
+carol::ipsec statusall::AES_CTR_128/AES_XCBC_96,::YES
 moon::ip xfrm state::rfc3686(ctr(aes))::YES
 carol::ip xfrm state::rfc3686(ctr(aes))::YES
 moon::tcpdump::IP carol.strongswan.org > moon.strongswan.org: ESP.*length 180::YES
similarity index 93%
rename from testing/tests/ikev2/esp-alg-aes-ctr/hosts/carol/etc/ipsec.conf
rename to testing/tests/ikev2/alg-aes-ctr/hosts/carol/etc/ipsec.conf
index 02ca66b75a4917c2becfd253daa521d7b4ae7351..70c4828355d0e3742166a678e19328b1fe250aa6 100755 (executable)
@@ -11,7 +11,7 @@ conn %default
        rekeymargin=3m
        keyingtries=1
        keyexchange=ikev2
-       ike=aes128-aesxcbc-modp2048!
+       ike=aes128ctr-aesxcbc-modp2048!
        esp=aes128ctr-aesxcbc-modp2048!
 
 conn home
similarity index 66%
rename from testing/tests/ikev2/esp-alg-aes-ctr/hosts/moon/etc/strongswan.conf
rename to testing/tests/ikev2/alg-aes-ctr/hosts/carol/etc/strongswan.conf
index 339b56987a62a04962421480742561733660e6a4..be46d6d3ec85506d5ef66ae1f702d6d3bd697066 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 ctr stroke kernel-netlink socket-default updown
 }
similarity index 92%
rename from testing/tests/ikev2/esp-alg-aes-ctr/hosts/moon/etc/ipsec.conf
rename to testing/tests/ikev2/alg-aes-ctr/hosts/moon/etc/ipsec.conf
index 1c19714b91fd7ec8048fbba7e512f1d0dbf00e81..bf103742f09fbdf3c30d1ca69ddde3bb58e6e1e8 100755 (executable)
@@ -11,7 +11,7 @@ conn %default
        rekeymargin=3m
        keyingtries=1
        keyexchange=ikev2
-       ike=aes128-aesxcbc-modp2048!
+       ike=aes128ctr-aesxcbc-modp2048!
        esp=aes128ctr-aesxcbc-modp2048!
 
 conn rw
similarity index 66%
rename from testing/tests/ikev2/esp-alg-aes-ctr/hosts/carol/etc/strongswan.conf
rename to testing/tests/ikev2/alg-aes-ctr/hosts/moon/etc/strongswan.conf
index 339b56987a62a04962421480742561733660e6a4..be46d6d3ec85506d5ef66ae1f702d6d3bd697066 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 ctr stroke kernel-netlink socket-default updown
 }
diff --git a/testing/tests/ikev2/esp-alg-aes-ctr/description.txt b/testing/tests/ikev2/esp-alg-aes-ctr/description.txt
deleted file mode 100644 (file)
index 6443a34..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Roadwarrior <b>carol</b> proposes to gateway <b>moon</b> the ESP cipher suite
-<b>AES_CTR_128 / AES_XCBC_96</b> by defining <b>esp=aes128ctr-aesxcbc-modp2048</b> in ipsec.conf.
-A ping from <b>carol</b> to <b>alice</b> successfully checks the established tunnel.