ikev2: Add task that verifies a peer's certificate

On failure the SA is deleted and reestablished as configured.  The task
is activated after the REAUTH_COMPLETE task so a make-before-break reauth
is completed before the new SA might get torn down.
This commit is contained in:
Tobias Brunner
2016-03-10 11:07:15 +01:00
parent 034a462901
commit 8ce78e43a4
7 changed files with 183 additions and 2 deletions
+2
View File
@@ -59,6 +59,8 @@ enum task_type_t {
TASK_IKE_REAUTH_COMPLETE,
/** redirect an active IKE_SA */
TASK_IKE_REDIRECT,
/** verify a peer's certificate */
TASK_IKE_VERIFY_PEER_CERT,
/** delete an IKE_SA */
TASK_IKE_DELETE,
/** liveness check */