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,21 +1,17 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
charon-systemd {
load = random nonce aes sha1 sha2 md5 pem pkcs1 gmp hmac x509 revocation curl vici kernel-netlink socket-default eap-identity eap-md5 eap-ttls eap-tnc tnc-imc tnc-tnccs tnccs-20 updown
multiple_authentication = no
start-scripts {
creds = /usr/local/sbin/swanctl --load-creds
conns = /usr/local/sbin/swanctl --load-conns
}
syslog {
auth {
default = 0
}
daemon {
tnc = 3
imc = 2
imc = 2
}
}
}
@@ -27,7 +23,7 @@ libtls {
libimcv {
plugins {
imc-test {
command = retry
command = retry
retry_command = allow
}
}
@@ -1,21 +1,17 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
charon-systemd {
load = random nonce aes sha1 sha2 md5 pem pkcs1 gmp hmac x509 revocation curl vici kernel-netlink socket-default eap-identity eap-md5 eap-ttls eap-tnc tnc-imc tnc-tnccs tnccs-20 updown
multiple_authentication = no
start-scripts {
creds = /usr/local/sbin/swanctl --load-creds
conns = /usr/local/sbin/swanctl --load-conns
}
syslog {
auth {
default = 0
}
daemon {
tnc = 3
imc = 2
imc = 2
}
}
plugins {
@@ -32,7 +28,7 @@ libtls {
libimcv {
plugins {
imc-test {
command = retry
command = retry
retry_command = isolate
}
imc-scanner {
@@ -1,21 +1,17 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
charon-systemd {
load = random nonce aes sha1 sha2 md5 pem pkcs1 gmp hmac x509 revocation curl vici kernel-netlink socket-default eap-identity eap-ttls eap-md5 eap-tnc tnc-tnccs tnccs-20 tnc-imv updown
multiple_authentication = no
start-scripts {
creds = /usr/local/sbin/swanctl --load-creds
conns = /usr/local/sbin/swanctl --load-conns
}
syslog {
auth {
default = 0
}
daemon {
tnc = 3
imv = 2
imv = 2
}
}
plugins {
@@ -34,7 +30,7 @@ libtls {
libimcv {
plugins {
imv-test {
rounds = 0
rounds = 0
}
imv-scanner {
closed_port_policy = yes
@@ -1,6 +1,6 @@
carol::service charon stop
dave::service charon stop
moon::service charon stop
carol::systemctl stop strongswan-swanctl
dave::systemctl stop strongswan-swanctl
moon::systemctl stop strongswan-swanctl
moon::iptables-restore < /etc/iptables.flush
carol::iptables-restore < /etc/iptables.flush
dave::iptables-restore < /etc/iptables.flush
@@ -8,9 +8,9 @@ carol::rm /etc/swanctl/rsa/*
dave::rm /etc/swanctl/rsa/*
carol::rm /etc/swanctl/x509/*
dave::rm /etc/swanctl/x509/*
moon::service charon start
carol::service charon start
dave::service charon start
moon::systemctl start strongswan-swanctl
carol::systemctl start strongswan-swanctl
dave::systemctl start strongswan-swanctl
moon::expect-connection rw-allow
moon::expect-connection rw-isolate
carol::expect-connection home