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
+7 -7
View File
@@ -1,12 +1,12 @@
The roadwarriors <b>carol</b> and <b>dave</b> set up a connection to gateway <b>moon</b>.
The authentication is based on RSA signatures (<b>RSASIG</b>) using X.509 certificates
followed by extended authentication (<b>XAUTH</b>) of <b>carol</b> and <b>dave</b>
based on user names defined by the <b>xauth_identity</b> parameter (<b>carol</b> and <b>dave</b>,
respectively) and corresponding user passwords defined and stored in ipsec.secrets.
Next both <b>carol</b> and <b>dave</b> request a <b>virtual IP</b> via the IKE Mode Config
protocol by using the <b>leftsourceip=%config</b> parameter.
The authentication is based on RSA signatures using X.509 certificates followed by extended
authentication (<b>XAUTH</b>) of <b>carol</b> and <b>dave</b> based on user names defined
by the <b>xauth_id</b> parameter carol and dave, respectively and corresponding user passwords
defined and stored in the secrets section of swanctl.conf.
Next both <b>carol</b> and <b>dave</b> request a <b>virtual IP</b> via the IKEv1 Mode Config
protocol by using the <b>vips = 0.0.0.0</b> parameter.
<p>
Upon the successful establishment of the IPsec tunnel, leftfirewall=yes automatically
Upon the successful establishment of the IPsec tunnel, the updown-script automatically
inserts iptables-based firewall rules that let pass the tunneled traffic.
In order to test both tunnel and firewall, <b>carol</b> and <b>dave</b> ping the client
<b>alice</b> behind the gateway <b>moon</b>.