Add AUTH_RULE_IDENTITY_LOOSE which allows to use IDr loosely as initiator
If it is set on an auth config IDr will not be sent, and later the configured identity will not only be checked against the returned IDr, but also against other identities contained in the responder's certificate.
This commit is contained in:
@@ -67,6 +67,9 @@ extern enum_name_t *auth_class_names;
|
||||
enum auth_rule_t {
|
||||
/** identity to use for IKEv2 authentication exchange, identification_t* */
|
||||
AUTH_RULE_IDENTITY,
|
||||
/** if TRUE don't send IDr as initiator, but verify the identity after
|
||||
* receiving IDr (but also verify it against subjectAltNames), bool */
|
||||
AUTH_RULE_IDENTITY_LOOSE,
|
||||
/** authentication class, auth_class_t */
|
||||
AUTH_RULE_AUTH_CLASS,
|
||||
/** AAA-backend identity for EAP methods supporting it, identification_t* */
|
||||
|
||||
Reference in New Issue
Block a user