testing: Converted gcrypt-ikev1 to systemd

This commit is contained in:
Andreas Steffen
2017-11-10 11:49:38 +01:00
parent 88a950d915
commit b46deb8107
8 changed files with 63 additions and 31 deletions
@@ -1,11 +1,19 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
swanctl {
load = pem pkcs1 x509 revocation constraints pubkey openssl random
}
charon-systemd {
load = nonce pem pkcs1 gcrypt hmac x509 revocation curl vici kernel-netlink socket-default
start-scripts {
creds = /usr/local/sbin/swanctl --load-creds
conns = /usr/local/sbin/swanctl --load-conns
}
syslog {
daemon {
default = 1
}
auth {
default = 0
}
}
send_vendor_id = yes
}
@@ -1,11 +1,19 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
swanctl {
load = pem pkcs1 x509 revocation constraints pubkey openssl random
}
charon-systemd {
load = nonce pem pkcs1 gcrypt hmac x509 revocation vici kernel-netlink socket-default
start-scripts {
creds = /usr/local/sbin/swanctl --load-creds
conns = /usr/local/sbin/swanctl --load-conns
syslog {
daemon {
default = 1
}
auth {
default = 0
}
}
send_vendor_id = yes
}
@@ -1,2 +1,2 @@
moon::service charon stop
carol::service charon stop
carol::systemctl stop strongswan-swanctl
moon::systemctl stop strongswan-swanctl
@@ -1,5 +1,5 @@
moon::service charon start 2> /dev/null
carol::service charon start 2> /dev/null
moon::expect-connection rw
carol::expect-connection home
carol::swanctl --initiate --child home 2> /dev/null
moon::systemctl start strongswan-swanctl
carol::systemctl start strongswan-swanctl
moon::expect-connection rw
carol::expect-connection home
carol::swanctl --initiate --child home 2> /dev/null
@@ -1,11 +1,19 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
swanctl {
load = pem pkcs1 x509 revocation constraints pubkey openssl random
}
charon-systemd {
load = nonce pem pkcs1 gcrypt hmac x509 revocation curl vici kernel-netlink socket-default
start-scripts {
creds = /usr/local/sbin/swanctl --load-creds
conns = /usr/local/sbin/swanctl --load-conns
}
syslog {
daemon {
default = 1
}
auth {
default = 0
}
}
send_vendor_id = yes
}
@@ -1,11 +1,19 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
swanctl {
load = pem pkcs1 x509 revocation constraints pubkey openssl random
}
charon-systemd {
load = nonce pem pkcs1 gcrypt hmac x509 revocation vici kernel-netlink socket-default
start-scripts {
creds = /usr/local/sbin/swanctl --load-creds
conns = /usr/local/sbin/swanctl --load-conns
syslog {
daemon {
default = 1
}
auth {
default = 0
}
}
send_vendor_id = yes
}
@@ -1,2 +1,2 @@
moon::service charon stop
carol::service charon stop
carol::systemctl stop strongswan-swanctl
moon::systemctl stop strongswan-swanctl
@@ -1,5 +1,5 @@
moon::service charon start 2> /dev/null
carol::service charon start 2> /dev/null
moon::expect-connection rw
carol::expect-connection home
moon::systemctl start strongswan-swanctl
carol::systemctl start strongswan-swanctl
moon::expect-connection rw
carol::expect-connection home
carol::swanctl --initiate --child home 2> /dev/null