testing: Reorganizing IKEv1 and IKEv2 examples

For documentation purposes the new folders ikev1-algs, ikev2-algs,
ikev1-multi-ca and ikev2-multi-ca have been created. Most of the
test cases have now been converted to the vici interface. The
remaining legacy stroke scenarios yet to be converted have been put
into the ikev2-stroke-bye folder.

For documentation purposes some legacy stroke scenarios will be kept
in the ikev1-stroke, ikev2-stroke and ipv6-stroke folders.
This commit is contained in:
Andreas Steffen
2021-05-21 09:42:50 +02:00
parent db93938297
commit 7c5a2974b9
4054 changed files with 16375 additions and 15209 deletions
@@ -0,0 +1,9 @@
# /etc/strongswan.conf - strongSwan configuration file
swanctl {
load = pem pkcs1 pubkey openssl random
}
charon-systemd {
load = random nonce openssl pem pkcs1 pubkey kernel-netlink socket-default updown vici
}
@@ -0,0 +1,26 @@
connections {
home {
local_addrs = 192.168.0.100
remote_addrs = 192.168.0.1
local {
auth = pubkey
pubkeys = carolPub.pem
}
remote {
auth = pubkey
pubkeys = moonPub.pem
}
children {
home {
remote_ts = 10.1.0.0/16
updown = /usr/local/libexec/ipsec/_updown iptables
esp_proposals = aes128gcm128-ecp256
}
}
version = 2
proposals = aes128-sha256-ecp256
}
}
@@ -0,0 +1,9 @@
# /etc/strongswan.conf - strongSwan configuration file
swanctl {
load = pem pkcs1 pubkey openssl random
}
charon-systemd {
load = random nonce openssl pem pkcs1 pubkey kernel-netlink socket-default updown vici
}
@@ -0,0 +1,26 @@
connections {
home {
local_addrs = 192.168.0.200
remote_addrs = 192.168.0.1
local {
auth = pubkey
pubkeys = davePub.pem
}
remote {
auth = pubkey
pubkeys = moonPub.pem
}
children {
home {
remote_ts = 10.1.0.0/16
updown = /usr/local/libexec/ipsec/_updown iptables
esp_proposals = aes128gcm128-ecp256
}
}
version = 2
proposals = aes128-sha256-ecp256
}
}
@@ -0,0 +1,9 @@
# /etc/strongswan.conf - strongSwan configuration file
swanctl {
load = pem pkcs1 x509 revocation constraints pubkey openssl random
}
charon-systemd {
load = random nonce openssl pem pkcs1 pubkey kernel-netlink socket-default updown vici
}
@@ -0,0 +1,20 @@
connections {
rw-carol {
include swanctl_base.conf
remote {
auth = pubkey
pubkeys = carolPub.pem
}
}
rw-dave {
include swanctl_base.conf
remote {
auth = pubkey
pubkeys = davePub.pem
}
}
}
@@ -0,0 +1,16 @@
local_addrs = 192.168.0.1
local {
auth = pubkey
pubkeys = moonPub.pem
}
children {
net {
local_ts = 10.1.0.0/16
updown = /usr/local/libexec/ipsec/_updown iptables
esp_proposals = aes128gcm128-ecp256
}
}
version = 2
proposals = aes128-sha256-ecp256