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

diff --git a/testing/tests/ikev2/alg-aes-gcm/description.txt b/testing/tests/ikev2/alg-aes-gcm/description.txt
new file mode 100644 (file)
index 0000000..2afcecd
--- /dev/null
@@ -0,0 +1,5 @@
+Roadwarrior <b>carol</b> proposes to gateway <b>moon</b> the cipher suite
+<b>AES_GCM_16_256</b> both for IKE and ESP by defining <b>ike=aes256gcm16-aesxcbc-modp2048</b>
+(or alternatively <b>aes256gcm128</b>) and <b>esp=aes256gcm16-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-gcm/evaltest.dat
rename to testing/tests/ikev2/alg-aes-gcm/evaltest.dat
index 7434cc1561d4a0ee993c9ba5ff2ad73576ddd1d2..9cd3e8e1554b34a5d9c5dd1f33c2bd2eab27b08d 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_GCM_16_256::YES
-carol::ipsec statusall::AES_GCM_16_256::YES
-carol::ip xfrm state::aead rfc4106(gcm(aes))::YES
+moon::ipsec statusall::IKE proposal: AES_GCM_16_256::YES
+carol::ipsec statusall::IKE proposal: AES_GCM_16_256::YES
+moon::ipsec statusall::AES_GCM_16_256,::YES
+carol::ipsec statusall::AES_GCM_16_256,::YES
 moon::ip xfrm state::aead rfc4106(gcm(aes))::YES
+carol::ip xfrm state::aead rfc4106(gcm(aes))::YES
 moon::tcpdump::IP carol.strongswan.org > moon.strongswan.org: ESP.*length 184::YES
 moon::tcpdump::IP moon.strongswan.org > carol.strongswan.org: ESP.*length 184::YES
similarity index 92%
rename from testing/tests/ikev2/esp-alg-aes-gcm/hosts/carol/etc/ipsec.conf
rename to testing/tests/ikev2/alg-aes-gcm/hosts/carol/etc/ipsec.conf
index df2b7437da7685bca64f597d1404566d497c74f7..e3f19aff826738c1791be8dde66e1eb6b505956f 100755 (executable)
@@ -11,7 +11,7 @@ conn %default
        rekeymargin=3m
        keyingtries=1
        keyexchange=ikev2
-       ike=aes256-aesxcbc-modp2048!
+       ike=aes256gcm128-aesxcbc-modp2048!
        esp=aes256gcm128-modp2048!
 
 conn home
similarity index 66%
rename from testing/tests/ikev2/esp-alg-aes-gcm/hosts/moon/etc/strongswan.conf
rename to testing/tests/ikev2/alg-aes-gcm/hosts/carol/etc/strongswan.conf
index 339b56987a62a04962421480742561733660e6a4..7fe7619f1f507e2bbba4f83ff0c16b1a8cbe0510 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 gcm stroke kernel-netlink socket-default updown
 }
similarity index 91%
rename from testing/tests/ikev2/esp-alg-aes-gcm/hosts/moon/etc/ipsec.conf
rename to testing/tests/ikev2/alg-aes-gcm/hosts/moon/etc/ipsec.conf
index 661681105aa532f537059732a99c35a354765d69..0d51a3ea8c519cc80c5849fd96105419bed6ba62 100755 (executable)
@@ -11,7 +11,7 @@ conn %default
        rekeymargin=3m
        keyingtries=1
        keyexchange=ikev2
-       ike=aes256-aesxcbc-modp2048!
+       ike=aes256gcm16-aesxcbc-modp2048!
        esp=aes256gcm16-modp2048!
 
 conn rw
similarity index 66%
rename from testing/tests/ikev2/esp-alg-aes-gcm/hosts/carol/etc/strongswan.conf
rename to testing/tests/ikev2/alg-aes-gcm/hosts/moon/etc/strongswan.conf
index 339b56987a62a04962421480742561733660e6a4..7fe7619f1f507e2bbba4f83ff0c16b1a8cbe0510 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 gcm stroke kernel-netlink socket-default updown
 }
diff --git a/testing/tests/ikev2/esp-alg-aes-gcm/description.txt b/testing/tests/ikev2/esp-alg-aes-gcm/description.txt
deleted file mode 100644 (file)
index bd9521e..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-Roadwarrior <b>carol</b> proposes to gateway <b>moon</b> the ESP cipher suite
-<b>AES_GCM_16_256</b> by defining <b>esp=aes256gcm16-modp2048</b> or alternatively
-<b>esp=aes256gcm128-modp2048</b> in ipsec.conf.
-A ping from <b>carol</b> to <b>alice</b> successfully checks the established tunnel.