testing: Converted tnc scenarios to swanctl

This commit is contained in:
Andreas Steffen
2015-12-11 18:26:54 +01:00
parent 74270c8c86
commit 6aa7703122
386 changed files with 5091 additions and 2383 deletions
@@ -1,9 +0,0 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
charondebug="tnc 2, imv 3"
conn aaa
leftcert=aaaCert.pem
leftid=aaa.strongswan.org
auto=add
@@ -1,6 +0,0 @@
# /etc/ipsec.secrets - strongSwan IPsec secrets file
: RSA aaaKey.pem
carol : EAP "Ar3etTnp"
dave : EAP "W7R0g3do"
@@ -1,8 +1,20 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
load = aes des sha1 sha2 md5 pem pkcs1 gmp random nonce x509 curl revocation hmac socket-default kernel-netlink stroke eap-identity eap-ttls eap-md5 eap-tnc tnc-pdp tnc-imv tnc-tnccs tnccs-20 sqlite
load = random nonce aes sha1 sha2 md5 pem pkcs1 gmp hmac x509 revocation curl vici socket-default kernel-netlink eap-identity eap-ttls eap-md5 eap-tnc tnc-pdp tnc-imv tnc-tnccs tnccs-20 sqlite
start-scripts {
creds = /usr/local/sbin/swanctl --load-creds
}
syslog {
auth {
default = 0
}
daemon {
tnc = 2
imv = 3
}
}
plugins {
eap-ttls {
phase2_method = md5
@@ -0,0 +1,11 @@
secrets {
eap-carol {
id = carol
secret = "Ar3etTnp"
}
eap-dave {
id = dave
secret = "W7R0g3do"
}
}