test-vector support in rw-cert scenarios

This commit is contained in:
Andreas Steffen
2009-06-16 20:53:41 +02:00
parent e0b09f8e76
commit c8db70156d
44 changed files with 219 additions and 41 deletions
@@ -1,5 +1,11 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
load = curl aes des sha1 sha2 md5 gmp random x509 pubkey hmac xcbc stroke kernel-netlink updown
load = curl test-vectors aes des sha1 sha2 md5 gmp random x509 pubkey hmac xcbc stroke kernel-netlink updown
}
libstrongswan {
crypto_test {
on_add = yes
}
}
@@ -1,5 +1,11 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
load = curl aes des sha1 sha2 md5 gmp random x509 pubkey hmac xcbc stroke kernel-netlink updown
load = curl test-vectors aes des sha1 sha2 md5 gmp random x509 pubkey hmac xcbc stroke kernel-netlink updown
}
libstrongswan {
crypto_test {
on_add = yes
}
}
@@ -1,5 +1,11 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
load = curl aes des sha1 sha2 md5 gmp random x509 pubkey hmac xcbc stroke kernel-netlink updown
load = curl test-vectors aes des sha1 sha2 md5 gmp random x509 pubkey hmac xcbc stroke kernel-netlink updown
}
libstrongswan {
crypto_test {
on_add = yes
}
}
@@ -23,5 +23,4 @@ conn rw-eap
rightsendcert=never
rightauth=eap-aka
eap_identity=%any
right=%any
auto=add
@@ -9,15 +9,16 @@ conn %default
rekeymargin=3m
keyingtries=1
keyexchange=ikev2
authby=eap
conn home
left=PH_IP_CAROL
leftnexthop=%direct
[email protected]
leftauth=eap
leftfirewall=yes
eap_identity=carol
right=PH_IP_MOON
[email protected]
rightsubnet=10.1.0.0/16
rightauth=pubkey
auto=add
@@ -12,15 +12,15 @@ conn %default
keyexchange=ikev2
conn rw-eap
authby=rsasig
eap=radius
eap_identity=%identity
left=PH_IP_MOON
leftsubnet=10.1.0.0/16
[email protected]
leftcert=moonCert.pem
leftauth=pubkey
leftfirewall=yes
rightid=*@strongswan.org
rightsendcert=never
rightauth=eap-radius
eap_identity=%any
right=%any
auto=add
@@ -9,14 +9,15 @@ conn %default
rekeymargin=3m
keyingtries=1
keyexchange=ikev2
authby=eap
conn home
left=PH_IP_CAROL
leftnexthop=%direct
[email protected]
leftauth=eap
leftfirewall=yes
right=PH_IP_MOON
[email protected]
rightsubnet=10.1.0.0/16
rightauth=pubkey
auto=add
@@ -12,14 +12,14 @@ conn %default
keyexchange=ikev2
conn rw-eap
authby=rsasig
eap=radius
left=PH_IP_MOON
leftsubnet=10.1.0.0/16
[email protected]
leftcert=moonCert.pem
leftauth=pubkey
leftfirewall=yes
rightid=*@strongswan.org
rightauth=eap-radius
rightsendcert=never
right=%any
auto=add
@@ -9,14 +9,15 @@ conn %default
rekeymargin=3m
keyingtries=1
keyexchange=ikev2
authby=eap
conn home
left=PH_IP_CAROL
leftnexthop=%direct
[email protected]
leftauth=eap
leftfirewall=yes
right=PH_IP_MOON
[email protected]
rightsubnet=10.1.0.0/16
rightauth=pubkey
auto=add
@@ -12,14 +12,14 @@ conn %default
keyexchange=ikev2
conn rw-eap
authby=rsasig
eap=md5
left=PH_IP_MOON
leftsubnet=10.1.0.0/16
[email protected]
leftcert=moonCert.pem
leftauth=pubkey
leftfirewall=yes
rightid=*@strongswan.org
rightauth=eap-md5
rightsendcert=never
right=%any
auto=add
@@ -9,15 +9,16 @@ conn %default
rekeymargin=3m
keyingtries=1
keyexchange=ikev2
authby=eap
conn home
left=PH_IP_CAROL
leftnexthop=%direct
[email protected]
leftfirewall=yes
leftauth=eap
eap_identity=228060123456001
right=PH_IP_MOON
[email protected]
rightsubnet=10.1.0.0/16
rightauth=pubkey
auto=add
@@ -12,15 +12,15 @@ conn %default
keyexchange=ikev2
conn rw-eap
authby=rsasig
eap=radius
eap_identity=%identity
left=PH_IP_MOON
leftsubnet=10.1.0.0/16
[email protected]
leftcert=moonCert.pem
leftauth=pubkey
leftfirewall=yes
rightid=*@strongswan.org
rightauth=eap-radius
eap_identity=%any
rightsendcert=never
right=%any
auto=add
@@ -9,14 +9,15 @@ conn %default
rekeymargin=3m
keyingtries=1
keyexchange=ikev2
authby=eap
conn home
left=PH_IP_CAROL
leftnexthop=%direct
[email protected]
leftauth=eap
leftfirewall=yes
right=PH_IP_MOON
[email protected]
rightsubnet=10.1.0.0/16
rightauth=pubkey
auto=add
@@ -12,14 +12,14 @@ conn %default
keyexchange=ikev2
conn rw-eapsim
authby=rsasig
eap=sim
left=PH_IP_MOON
leftsubnet=10.1.0.0/16
[email protected]
leftcert=moonCert.pem
leftauth=pubkey
leftfirewall=yes
rightid=*@strongswan.org
rightauth=eap-sim
right=%any
rightsendcert=never
auto=add