testing: Converterd tnc to systemd

This commit is contained in:
Andreas Steffen
2017-11-11 16:41:16 +01:00
parent 323f0b05d7
commit 13a3f20f2e
124 changed files with 338 additions and 558 deletions
@@ -1,17 +1,14 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
load = random nonce x509 openssl pem pkcs1 revocation curl vici kernel-netlink socket-default tnc-pdp tnc-tnccs tnc-imc tnc-imv tnccs-20
charon-systemd {
load = random nonce x509 openssl pem pkcs1 revocation curl vici kernel-netlink socket-default tnc-pdp tnc-tnccs tnc-imc tnc-imv tnccs-20
start-scripts {
creds = /usr/local/sbin/swanctl --load-creds
}
syslog {
auth {
default = 0
}
daemon {
tnc = 2
tnc = 2
imc = 2
imv = 2
}
@@ -36,10 +33,10 @@ libtls {
libimcv {
plugins {
imc-test {
command = allow
command = allow
}
imv-test {
rounds = 1
}
rounds = 1
}
}
}
@@ -1 +1 @@
sun::service charon stop
sun::systemctl stop strongswan-swanctl
@@ -1,4 +1,4 @@
sun::service charon start
sun::systemctl start strongswan-swanctl
moon::cat /etc/pts/options
moon::sleep 1
moon::/usr/local/bin/pt-tls-client --optionsfrom /etc/pts/options