testing: Converted af-alg to systemd
This commit is contained in:
@@ -1,10 +1,18 @@
|
|||||||
# /etc/strongswan.conf - strongSwan configuration file
|
# /etc/strongswan.conf - strongSwan configuration file
|
||||||
|
|
||||||
charon {
|
swanctl {
|
||||||
|
load = pem pkcs1 x509 revocation constraints pubkey openssl random
|
||||||
|
}
|
||||||
|
|
||||||
|
charon-systemd {
|
||||||
load = random nonce pem pkcs1 af-alg gmp x509 revocation kernel-netlink curl socket-default updown vici
|
load = random nonce pem pkcs1 af-alg gmp x509 revocation kernel-netlink curl socket-default updown vici
|
||||||
|
|
||||||
start-scripts {
|
syslog {
|
||||||
creds = /usr/local/sbin/swanctl --load-creds
|
daemon {
|
||||||
conns = /usr/local/sbin/swanctl --load-conns
|
default = 1
|
||||||
|
}
|
||||||
|
auth {
|
||||||
|
default = 0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,18 @@
|
|||||||
# /etc/strongswan.conf - strongSwan configuration file
|
# /etc/strongswan.conf - strongSwan configuration file
|
||||||
|
|
||||||
charon {
|
swanctl {
|
||||||
|
load = pem pkcs1 x509 revocation constraints pubkey openssl random
|
||||||
|
}
|
||||||
|
|
||||||
|
charon-systemd {
|
||||||
load = random nonce pem pkcs1 af-alg gmp x509 revocation kernel-netlink curl socket-default updown vici
|
load = random nonce pem pkcs1 af-alg gmp x509 revocation kernel-netlink curl socket-default updown vici
|
||||||
|
|
||||||
start-scripts {
|
syslog {
|
||||||
creds = /usr/local/sbin/swanctl --load-creds
|
daemon {
|
||||||
conns = /usr/local/sbin/swanctl --load-conns
|
default = 1
|
||||||
|
}
|
||||||
|
auth {
|
||||||
|
default = 0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
carol::swanctl --terminate --ike home
|
carol::swanctl --terminate --ike home
|
||||||
carol::service charon stop 2> /dev/null
|
carol::systemctl stop strongswan-swanctl
|
||||||
moon::service charon stop 2> /dev/null
|
moon::systemctl stop strongswan-swanctl
|
||||||
moon::iptables-restore < /etc/iptables.flush
|
moon::iptables-restore < /etc/iptables.flush
|
||||||
carol::iptables-restore < /etc/iptables.flush
|
carol::iptables-restore < /etc/iptables.flush
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
moon::iptables-restore < /etc/iptables.rules
|
moon::iptables-restore < /etc/iptables.rules
|
||||||
carol::iptables-restore < /etc/iptables.rules
|
carol::iptables-restore < /etc/iptables.rules
|
||||||
moon::service charon start 2> /dev/null
|
moon::systemctl start strongswan-swanctl
|
||||||
carol::service charon start 2> /dev/null
|
carol::systemctl start strongswan-swanctl
|
||||||
moon::expect-connection net
|
moon::expect-connection net
|
||||||
carol::expect-connection home
|
carol::expect-connection home
|
||||||
carol::swanctl --initiate --child home 2> /dev/null
|
carol::swanctl --initiate --child home 2> /dev/null
|
||||||
|
|||||||
@@ -1,13 +1,20 @@
|
|||||||
# /etc/strongswan.conf - strongSwan configuration file
|
# /etc/strongswan.conf - strongSwan configuration file
|
||||||
|
|
||||||
charon {
|
swanctl {
|
||||||
|
load = pem pkcs1 x509 revocation constraints pubkey openssl random
|
||||||
|
}
|
||||||
|
|
||||||
|
charon-systemd {
|
||||||
load = random nonce test-vectors pem pkcs1 af-alg gmp x509 revocation curl ctr ccm gcm kernel-netlink socket-default updown vici
|
load = random nonce test-vectors pem pkcs1 af-alg gmp x509 revocation curl ctr ccm gcm kernel-netlink socket-default updown vici
|
||||||
|
|
||||||
start-scripts {
|
syslog {
|
||||||
creds = /usr/local/sbin/swanctl --load-creds
|
daemon {
|
||||||
conns = /usr/local/sbin/swanctl --load-conns
|
default = 1
|
||||||
|
}
|
||||||
|
auth {
|
||||||
|
default = 0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
integrity_test = yes
|
integrity_test = yes
|
||||||
crypto_test {
|
crypto_test {
|
||||||
on_add = yes
|
on_add = yes
|
||||||
|
|||||||
@@ -1,13 +1,20 @@
|
|||||||
# /etc/strongswan.conf - strongSwan configuration file
|
# /etc/strongswan.conf - strongSwan configuration file
|
||||||
|
|
||||||
charon {
|
swanctl {
|
||||||
|
load = pem pkcs1 x509 revocation constraints pubkey openssl random
|
||||||
|
}
|
||||||
|
|
||||||
|
charon-systemd {
|
||||||
load = random nonce test-vectors aes des sha1 sha2 md5 pem pkcs1 gmp x509 revocation curl hmac xcbc ctr ccm gcm kernel-netlink socket-default updown vici
|
load = random nonce test-vectors aes des sha1 sha2 md5 pem pkcs1 gmp x509 revocation curl hmac xcbc ctr ccm gcm kernel-netlink socket-default updown vici
|
||||||
|
|
||||||
start-scripts {
|
syslog {
|
||||||
creds = /usr/local/sbin/swanctl --load-creds
|
daemon {
|
||||||
conns = /usr/local/sbin/swanctl --load-conns
|
default = 1
|
||||||
|
}
|
||||||
|
auth {
|
||||||
|
default = 0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
integrity_test = yes
|
integrity_test = yes
|
||||||
crypto_test {
|
crypto_test {
|
||||||
on_add = yes
|
on_add = yes
|
||||||
|
|||||||
@@ -1,13 +1,20 @@
|
|||||||
# /etc/strongswan.conf - strongSwan configuration file
|
# /etc/strongswan.conf - strongSwan configuration file
|
||||||
|
|
||||||
charon {
|
swanctl {
|
||||||
|
load = pem pkcs1 x509 revocation constraints pubkey openssl random
|
||||||
|
}
|
||||||
|
|
||||||
|
charon-systemd {
|
||||||
load = random nonce test-vectors pem pkcs1 af-alg gmp x509 revocation curl ctr ccm gcm kernel-netlink socket-default updown vici
|
load = random nonce test-vectors pem pkcs1 af-alg gmp x509 revocation curl ctr ccm gcm kernel-netlink socket-default updown vici
|
||||||
|
|
||||||
start-scripts {
|
syslog {
|
||||||
creds = /usr/local/sbin/swanctl --load-creds
|
daemon {
|
||||||
conns = /usr/local/sbin/swanctl --load-conns
|
default = 1
|
||||||
|
}
|
||||||
|
auth {
|
||||||
|
default = 0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
integrity_test = yes
|
integrity_test = yes
|
||||||
crypto_test {
|
crypto_test {
|
||||||
on_add = yes
|
on_add = yes
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
carol::swanctl --terminate --ike home
|
carol::swanctl --terminate --ike home
|
||||||
dave::swanctl --terminate --ike home
|
dave::swanctl --terminate --ike home
|
||||||
carol::service charon stop 2> /dev/null
|
carol::systemctl stop strongswan-swanctl
|
||||||
dave::service charon stop 2> /dev/null
|
dave::systemctl stop strongswan-swanctl
|
||||||
moon::service charon stop 2> /dev/null
|
moon::systemctl stop strongswan-swanctl
|
||||||
moon::iptables-restore < /etc/iptables.flush
|
moon::iptables-restore < /etc/iptables.flush
|
||||||
carol::iptables-restore < /etc/iptables.flush
|
carol::iptables-restore < /etc/iptables.flush
|
||||||
dave::iptables-restore < /etc/iptables.flush
|
dave::iptables-restore < /etc/iptables.flush
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
moon::iptables-restore < /etc/iptables.rules
|
moon::iptables-restore < /etc/iptables.rules
|
||||||
carol::iptables-restore < /etc/iptables.rules
|
carol::iptables-restore < /etc/iptables.rules
|
||||||
dave::iptables-restore < /etc/iptables.rules
|
dave::iptables-restore < /etc/iptables.rules
|
||||||
moon::service charon start 2> /dev/null
|
moon::systemctl start strongswan-swanctl
|
||||||
carol::service charon start 2> /dev/null
|
carol::systemctl start strongswan-swanctl
|
||||||
dave::service charon start 2> /dev/null
|
dave::systemctl start strongswan-swanctl
|
||||||
moon::expect-connection net
|
moon::expect-connection net
|
||||||
carol::expect-connection home
|
carol::expect-connection home
|
||||||
carol::swanctl --initiate --child home 2> /dev/null
|
carol::swanctl --initiate --child home 2> /dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user