IKEv1 ConfigMode: Added TRANSACTION exchange type. Added attribute_payload (IKEv2 equiv cp_payload) and data_attribute (IKEv2 equiv configuration_attribute) payload types. Did not combine with IKEv2 because it wasn't trivial to do so. This might be a task worth investigating in the future, because there is a decent amount of shared code here.

This commit is contained in:
Clavister OpenSource
2012-03-20 17:30:49 +01:00
parent 9769b76cab
commit 54a8a94fa9
6 changed files with 78 additions and 20 deletions
+11
View File
@@ -112,6 +112,11 @@ enum payload_type_t {
*/
VENDOR_ID_V1 = 13,
/**
* Attribute payload (ISAKMP Cfg Mode "draft-ietf-ipsec-isakmp-mode-cfg-05")
*/
ATTRIBUTE_V1 = 14,
/**
* The security association (SA) payload containing proposals.
*/
@@ -252,6 +257,12 @@ enum payload_type_t {
* This is not really a payload, but rather the complete IKEv1 message.
*/
ENCRYPTED_V1,
/**
* DATA_ATTRIBUTE, attribute in an ATTRIBUTE payload.
*/
DATA_ATTRIBUTE_V1,
};
/**