testing: Convert swanctl scenarios to curve-25519
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# /etc/strongswan.conf - strongSwan configuration file
|
||||
|
||||
charon {
|
||||
load = random nonce aes sha1 sha2 pem pkcs1 gmp x509 curl revocation hmac vici kernel-netlink socket-default updown
|
||||
load = random nonce aes sha1 sha2 pem pkcs1 curve25519 gmp x509 curl revocation hmac vici kernel-netlink socket-default updown
|
||||
|
||||
start-scripts {
|
||||
creds = /usr/local/sbin/swanctl --load-creds
|
||||
|
||||
@@ -19,24 +19,24 @@ connections {
|
||||
remote_ts = 10.1.0.0/16[icmp/2048]
|
||||
|
||||
updown = /usr/local/libexec/ipsec/_updown iptables
|
||||
esp_proposals = aes128gcm128-modp3072
|
||||
esp_proposals = aes128gcm128-curve25519
|
||||
}
|
||||
icmp-rep {
|
||||
local_ts = dynamic[icmp/0]
|
||||
remote_ts = 10.1.0.0/16[icmp/0]
|
||||
|
||||
updown = /usr/local/libexec/ipsec/_updown iptables
|
||||
esp_proposals = aes128gcm128-modp3072
|
||||
esp_proposals = aes128gcm128-curve25519
|
||||
}
|
||||
ftp-ssh {
|
||||
local_ts = dynamic[tcp/32768-65535]
|
||||
remote_ts = 10.1.0.0/16[tcp/21-22]
|
||||
|
||||
updown = /usr/local/libexec/ipsec/_updown iptables
|
||||
esp_proposals = aes128gcm128-modp3072
|
||||
esp_proposals = aes128gcm128-curve25519
|
||||
}
|
||||
}
|
||||
version = 2
|
||||
proposals = aes128-sha256-modp3072
|
||||
proposals = aes128-sha256-curve25519
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# /etc/strongswan.conf - strongSwan configuration file
|
||||
|
||||
charon {
|
||||
load = random nonce aes sha1 sha2 pem pkcs1 gmp x509 curl revocation hmac vici kernel-netlink socket-default updown
|
||||
load = random nonce aes sha1 sha2 pem pkcs1 curve25519 gmp x509 curl revocation hmac vici kernel-netlink socket-default updown
|
||||
|
||||
start-scripts {
|
||||
creds = /usr/local/sbin/swanctl --load-creds
|
||||
|
||||
@@ -18,7 +18,7 @@ connections {
|
||||
|
||||
hostaccess = yes
|
||||
updown = /usr/local/libexec/ipsec/_updown iptables
|
||||
esp_proposals = aes128gcm128-modp3072
|
||||
esp_proposals = aes128gcm128-curve25519
|
||||
}
|
||||
icmp-rep {
|
||||
local_ts = 10.1.0.0/16[icmp/0]
|
||||
@@ -26,7 +26,7 @@ connections {
|
||||
|
||||
hostaccess = yes
|
||||
updown = /usr/local/libexec/ipsec/_updown iptables
|
||||
esp_proposals = aes128gcm128-modp3072
|
||||
esp_proposals = aes128gcm128-curve25519
|
||||
}
|
||||
ftp-ssh {
|
||||
local_ts = 10.1.0.0/16[tcp/21-22]
|
||||
@@ -34,10 +34,10 @@ connections {
|
||||
|
||||
hostaccess = yes
|
||||
updown = /usr/local/libexec/ipsec/_updown iptables
|
||||
esp_proposals = aes128gcm128-modp3072
|
||||
esp_proposals = aes128gcm128-curve25519
|
||||
}
|
||||
}
|
||||
version = 2
|
||||
proposals = aes128-sha256-modp3072
|
||||
proposals = aes128-sha256-curve25519
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user