testing: Migrated ikev2 scenarios to swanctl

This commit is contained in:
Andreas Steffen
2018-12-09 13:16:41 +01:00
parent be1c7e3815
commit 030de21b7b
361 changed files with 5989 additions and 214 deletions
@@ -1,14 +1,15 @@
The roadwarrior <b>carol</b> sets up a connection to gateway <b>moon</b>.
At the outset the gateway authenticates itself to the client by sending
an IKEv2 <b>RSA signature</b> accompanied by a certificate.
<b>carol</b> then uses the <i>Extensible Authentication Protocol</i>
in association with a <i>GSM Subscriber Identity Module</i>
(<b>EAP-SIM</b>) to authenticate against the gateway <b>moon</b>.
In this scenario, triplets from the file <b>/etc/ipsec.d/triplets.dat</b>
are used instead of a physical SIM card on the client <b>carol</b>.
The roadwarriors <b>carol</b> and <b>dave</b> set up a connection to gateway <b>moon</b>.
At the outset the gateway authenticates itself to the clients by sending
an IKEv2 <b>digital signature</b> accompanied by an X.509 certificate.
<p/>
Next the clients use the GSM <i>Subscriber Identity Module</i> (<b>EAP-SIM</b>)
method of the <i>Extensible Authentication Protocol</i> to authenticate themselves.
In this scenario triplets from the file <b>/etc/ipsec.d/triplets.dat</b> are used
instead of a physical SIM card.
<p/>
The gateway forwards all EAP messages to the RADIUS server <b>alice</b>
which also uses a static triplets file.
<p>
which also uses static triplets.
<p/>
The roadwarrior <b>dave</b> sends wrong EAP-SIM triplets. As a consequence
the radius server <b>alice</b> returns an <b>Access-Reject</b> message
and the gateway <b>moon</b> sends back an <b>EAP_FAILURE</b>.
the RADIUS server <b>alice</b> returns an <b>Access-Reject</b> message
and the gateway <b>moon</b> sends back <b>EAP_FAILURE</b>.