Go to the documentation of this file.
32 #define TRACE_LEVEL IKE_TRACE_LEVEL
40 #if (IKE_SUPPORT == ENABLED && IKE_TRACE_LEVEL >= TRACE_LEVEL_DEBUG)
409 const char_t *nextPayloadName;
410 const char_t *exchangeTypeName;
414 ikePayloadList,
arraysize(ikePayloadList));
418 ikeExchangeTypeList,
arraysize(ikeExchangeTypeList));
423 TRACE_DEBUG(
" Next Payload = %" PRIu8
" (%s)\r\n", header->nextPayload, nextPayloadName);
424 TRACE_DEBUG(
" Major Version = %" PRIu8
"\r\n", header->majorVersion);
425 TRACE_DEBUG(
" Minor Version = %" PRIu8
"\r\n", header->minorVersion);
426 TRACE_DEBUG(
" Exchange Type = %" PRIu8
" (%s)\r\n", header->exchangeType, exchangeTypeName);
458 if(
r != 0 || v != 0 || i != 0)
485 if(
r != 0 || v != 0 || i != 0)
515 const char_t *payloadName;
639 const char_t *nextPayloadName;
643 ikePayloadList,
arraysize(ikePayloadList));
646 TRACE_DEBUG(
" Next Payload = %" PRIu8
" (%s)\r\n", header->nextPayload, nextPayloadName);
647 TRACE_DEBUG(
" Critical = %" PRIu8
"\r\n", header->critical);
648 TRACE_DEBUG(
" Payload Length = %" PRIu16
"\r\n",
ntohs(header->payloadLength));
682 n =
ntohs(proposal->proposalLength);
712 const char_t *lastSubstrucName;
713 const char_t *protocolIdName;
723 ikeLastSubstrucList,
arraysize(ikeLastSubstrucList));
728 ikeProtocolIdList,
arraysize(ikeProtocolIdList));
731 TRACE_DEBUG(
" Last Substruc = %" PRIu8
" (%s)\r\n",
732 proposal->lastSubstruc, lastSubstrucName);
735 ntohs(proposal->proposalLength));
737 TRACE_DEBUG(
" Proposal Num = %" PRIu8
"\r\n", proposal->proposalNum);
740 proposal->protocolId, protocolIdName);
742 TRACE_DEBUG(
" SPI Size = %" PRIu8
"\r\n", proposal->spiSize);
743 TRACE_DEBUG(
" Num Transforms = %" PRIu8
"\r\n", proposal->numTransforms);
750 TRACE_DEBUG(
" SPI (%" PRIu8
" bytes)\r\n", proposal->spiSize);
754 p = (uint8_t *) proposal +
sizeof(
IkeProposal) + proposal->spiSize;
770 n =
ntohs(transform->transformLength);
802 const char_t *lastSubstrucName;
803 const char_t *transformName;
814 ikeLastSubstrucList,
arraysize(ikeLastSubstrucList));
818 ikeTransformTypeList,
arraysize(ikeTransformTypeList));
821 TRACE_DEBUG(
" Last Substruc = %" PRIu8
" (%s)\r\n",
822 transform->lastSubstruc, lastSubstrucName);
825 ntohs(transform->transformLength));
827 TRACE_DEBUG(
" Transform Type = %" PRIu8
" (%s)\r\n",
828 transform->transformType, transformName);
867 algoName =
"Unknown";
871 TRACE_DEBUG(
" Transform ID = %" PRIu16
" (%s)\r\n",
875 p = transform->transformAttr;
919 const char_t *attrFormatName;
920 const char_t *attrTypeName;
927 attrFormat = (
ntohs(attr->type) & 0x8000) >> 15;
929 attrType =
ntohs(attr->type) & 0x7FFF;
934 ikeAttrFormatList,
arraysize(ikeAttrFormatList));
942 TRACE_DEBUG(
" Attribute Format = %" PRIu16
" (%s)\r\n",
943 attrFormat, attrFormatName);
945 TRACE_DEBUG(
" Attribute Type = %" PRIu16
" (%s)\r\n",
946 attrType, attrTypeName);
956 ntohs(attr->length));
1012 TRACE_DEBUG(
" Diffie-Hellman Group Num = 0x%" PRIX16
" (%s)\r\n",
1013 groupNum, groupName);
1029 const char_t *idTypeName;
1049 #if (IPV4_SUPPORT == ENABLED)
1062 #if (IPV6_SUPPORT == ENABLED)
1090 const char_t *certEncodingName;
1099 ikeCertEncodingList,
arraysize(ikeCertEncodingList));
1102 TRACE_DEBUG(
" Certificate Encoding = %" PRIu8
" (%s)\r\n",
1103 payload->certEncoding, certEncodingName);
1122 const char_t *certEncodingName;
1131 ikeCertEncodingList,
arraysize(ikeCertEncodingList));
1134 TRACE_DEBUG(
" Certificate Encoding = %" PRIu8
" (%s)\r\n",
1135 payload->certEncoding, certEncodingName);
1155 const char_t *authMethodName;
1167 payload->authMethod, authMethodName);
1211 const char_t *protocolIdName;
1212 const char_t *notifyMsgName;
1224 ikeProtocolIdList,
arraysize(ikeProtocolIdList));
1228 ikeNotifyMsgTypeList,
arraysize(ikeNotifyMsgTypeList));
1232 payload->protocolId, protocolIdName);
1236 TRACE_DEBUG(
" Notify Message Type = %" PRIu16
" (%s)\r\n",
1270 const char_t *protocolIdName;
1278 ikeProtocolIdList,
arraysize(ikeProtocolIdList));
1282 payload->protocolId, protocolIdName);
1330 for(i = 1; i <=
payload->numTs; i++)
1341 n =
ntohs(ts->selectorLength);
1369 const char_t *tsTypeName;
1370 const char_t *ipProtocolIdName;
1381 ipProtocolIdName =
ikeGetParamName(ts->ipProtocolId, ikeIpProtocolIdList,
1385 TRACE_DEBUG(
" TS Type = %" PRIu8
" (%s)\r\n", ts->tsType,
1388 TRACE_DEBUG(
" IP Protocol ID = %" PRIu8
" (%s)\r\n",
1389 ts->ipProtocolId, ipProtocolIdName);
1392 ntohs(ts->selectorLength));
1401 #if (IPV4_SUPPORT == ENABLED)
1422 #if (IPV6_SUPPORT == ENABLED)
1515 size_t paramListLen)
1520 static const char_t defaultName[] =
"Unknown";
1523 for(i = 0; i < paramListLen; i++)
1526 return paramList[i].
name;
void ikeDumpPayloads(const uint8_t *payloads, size_t length, uint8_t nextPayload)
Dump IKE payloads.
@ IKE_TRANSFORM_ID_ENCR_AES_GCM_8
@ IKE_TRANSFORM_ID_AUTH_AES_CMAC_96
@ IKE_NOTIFY_MSG_TYPE_PSK_CONFIRM
@ IKE_TRANSFORM_ID_DH_GROUP_CURVE448
Curve448.
char_t * ipv6AddrToString(const Ipv6Addr *ipAddr, char_t *str)
Convert a binary IPv6 address to a string representation.
Parameter value/name binding.
error_t ikeDumpTransformAttr(const IkeTransformAttr *attr, size_t length, size_t *consumed)
Dump transform attribute.
@ IKE_TRANSFORM_ID_AUTH_HMAC_SHA2_384_192
@ IKE_TRANSFORM_ID_DH_GROUP_MODP_1024
1024-bit MODP Group
@ IKE_TRANSFORM_ID_DH_GROUP_ECP_192
192-bit Random ECP Group
@ IKE_NOTIFY_MSG_TYPE_CLONE_IKE_SA
@ IKE_TRANSFORM_ID_AUTH_HMAC_SHA1_96
@ IKE_TS_TYPE_IPV4_ADDR_RANGE
@ IKE_TRANSFORM_ID_PRF_AES128_CMAC
@ IKE_TRANSFORM_ID_ENCR_AES_CCM_16
@ IKE_NOTIFY_MSG_TYPE_IPCOMP_SUPPORTED
@ IKE_TRANSFORM_ID_ENCR_KUZNYECHIK_MGM_KTREE
@ IKE_NOTIFY_MSG_TYPE_INVALID_MESSAGE_ID
@ IKE_TRANSFORM_ID_ENCR_AES_CTR
@ IKE_NOTIFY_MSG_TYPE_ERX_SUPPORTED
@ IKE_TRANSFORM_ID_DH_GROUP_NONE
None.
@ IKE_NOTIFY_MSG_TYPE_IKEV2_FRAGMENTATION_SUPPORTED
void ikeDumpKePayload(const IkeKePayload *payload, size_t length)
Dump Key Exchange payload.
@ IKE_NOTIFY_MSG_TYPE_INVALID_SPI
@ IKE_CERT_ENCODING_RAW_RSA_KEY
Raw RSA key (deprecated)
@ IKE_NOTIFY_MSG_TYPE_SET_WINDOW_SIZE
@ IKE_IP_PROTOCOL_ID_ICMP
@ IKE_NOTIFY_MSG_TYPE_REKEY_SA
@ IKE_NOTIFY_MSG_TYPE_CHILD_SA_NOT_FOUND
@ IKE_TRANSFORM_ID_AUTH_HMAC_SHA1_160
@ IKE_NOTIFY_MSG_TYPE_ADDITIONAL_TS_POSSIBLE
@ IKE_NOTIFY_MSG_TYPE_NO_PROPOSAL_CHOSEN
@ IKE_PAYLOAD_TYPE_CP
Configuration.
@ IKE_NOTIFY_MSG_TYPE_ADDITIONAL_IP6_ADDRESS
@ IKE_TRANSFORM_ID_ENCR_CAMELLIA_CBC
@ IKE_ID_TYPE_DER_ASN1_DN
@ IKE_TRANSFORM_ID_ENCR_IDEA
@ IKE_TRANSFORM_ID_AUTH_AES_128_GMAC
@ IKE_TRANSFORM_ID_AUTH_HMAC_MD5_96
@ IKE_TRANSFORM_ID_DH_GROUP_MODP_4096
4096-bit MODP Group
@ IKE_CERT_ENCODING_DNS_SIGNED_KEY
DNS signed key.
@ IKE_LAST_SUBSTRUC_MORE_TRANSFORMS
More transform substructures.
@ IKE_AUTH_METHOD_ECDSA_P521_SHA512
ECDSA with SHA-512 on the P-521 curve.
@ IKE_TRANSFORM_ID_DH_GROUP_MODP_2048
2048-bit MODP Group
void ikeDumpSaPayload(const IkeSaPayload *payload, size_t length)
Dump Security Association payload.
@ IKE_NOTIFY_MSG_TYPE_PUZZLE
@ IKE_TRANSFORM_ID_DH_GROUP_MODP_8192
8192-bit MODP Group
@ IKE_TRANSFORM_TYPE_DH
Diffie-Hellman Group.
@ IKE_TRANSFORM_ID_ESN_NO
No Extended Sequence Numbers.
@ IKE_AUTH_METHOD_GSPAM
Generic Secure Password Authentication Method.
@ IKE_NOTIFY_MSG_TYPE_UPDATE_SA_ADDRESSES
@ IKE_TRANSFORM_ID_ENCR_CAST
@ IKE_AUTH_METHOD_RSA
RSA Digital Signature.
@ IKE_PROTOCOL_ID_AH
AH protocol.
@ IKE_TRANSFORM_ID_ENCR_CAMELLIA_CCM_8
@ IKE_EXCHANGE_TYPE_IKE_SESSION_RESUME
IKE_SESSION_RESUME.
@ IKE_LAST_SUBSTRUC_LAST
Last proposal/transform substructure.
@ IKE_NOTIFY_MSG_TYPE_USE_WESP_MODE
void ikeDumpEncryptedPayload(const IkeEncryptedPayload *payload, size_t length)
Dump Encrypted payload.
@ IKE_PAYLOAD_TYPE_CERTREQ
Certificate Request.
@ IKE_TRANSFORM_ID_ENCR_CAMELLIA_CCM_16
@ IKE_TRANSFORM_ID_ENCR_MAGMA_MGM_MAC_KTREE
@ IKE_NOTIFY_MSG_TYPE_SENDER_REQUEST_ID
@ IKE_TRANSFORM_ID_AUTH_AES_192_GMAC
@ IKE_NOTIFY_MSG_TYPE_IFOM_CAPABILITY
@ IKE_NOTIFY_MSG_TYPE_ROHC_SUPPORTED
@ IKE_NOTIFY_MSG_TYPE_TICKET_NACK
@ IKE_TRANSFORM_ID_ENCR_CHACHA20_POLY1305_IIV
@ IKE_TRANSFORM_ID_ENCR_DES_IV64
@ IKE_TRANSFORM_ID_ENCR_AES_GCM_16_IIV
@ IKE_CERT_ENCODING_HASH_URL_X509_BUNDLE
Hash and URL of X.509 bundle.
@ IKE_AUTH_METHOD_NULL
NULL Authentication.
@ IKE_TRANSFORM_ID_DH_GROUP_CURVE25519
Curve25519.
@ IKE_TRANSFORM_ID_DH_GROUP_BRAINPOOLP224R1
224-bit Brainpool ECP Group
uint32_t Ipv4Addr
IPv4 network address.
@ IKE_NOTIFY_MSG_TYPE_SIGNATURE_HASH_ALGORITHMS
@ IKE_TRANSFORM_ID_ENCR_CHACHA20_POLY1305
@ IKE_ATTR_FORMAT_TV
shortened Type/Value format
@ IKE_TRANSFORM_ID_AUTH_AES_XCBC_96
@ IKE_TRANSFORM_ID_PRF_HMAC_SHA2_384
@ IKE_NOTIFY_MSG_TYPE_USE_AGGFRAG
@ IKE_NOTIFY_MSG_TYPE_NAT_DETECTION_SOURCE_IP
@ IKE_TRANSFORM_TYPE_ESN
Extended Sequence Numbers.
void ikeDumpEncryptedFragPayload(const IkeEncryptedFragPayload *payload, size_t length)
Dump Encrypted Fragment payload.
@ IKE_NOTIFY_MSG_TYPE_TS_UNACCEPTABLE
@ IKE_TRANSFORM_ID_DH_GROUP_ECP_224
224-bit Random ECP Group
@ IKE_NOTIFY_MSG_TYPE_LINK_ID
@ IKE_NOTIFY_MSG_TYPE_NAT_DETECTION_DESTINATION_IP
@ IKE_TRANSFORM_ID_ENCR_AES_CBC
@ IKE_PAYLOAD_TYPE_EAP
Extensible Authentication.
@ IKE_ID_TYPE_DER_ASN1_GN
@ IKE_TRANSFORM_ATTR_TYPE_KEY_LEN
Key Length (in bits)
@ IKE_NOTIFY_MSG_TYPE_FAILED_CP_REQUIRED
@ IKE_NOTIFY_MSG_TYPE_IPSEC_REPLAY_COUNTER_SYNC
@ IKE_EXCHANGE_TYPE_IKE_AUTH
IKE_AUTH.
void ikeDumpCertReqPayload(const IkeCertReqPayload *payload, size_t length)
Dump Certificate Request payload.
@ IKE_NOTIFY_MSG_TYPE_CHILDLESS_IKEV2_SUPPORTED
@ IKE_NOTIFY_MSG_TYPE_INVALID_SELECTORS
@ IKE_NOTIFY_MSG_TYPE_ANOTHER_AUTH_FOLLOWS
@ IKE_ATTR_FORMAT_TLV
Type/Length/Value format.
@ IKE_NOTIFY_MSG_TYPE_IP4_ALLOWED
Data logging functions for debugging purpose (IKEv2)
@ IKE_FLAGS_I
Initiator flag.
@ IKE_PAYLOAD_TYPE_SK
Encrypted and Authenticated.
@ IKE_TRANSFORM_ID_DH_GROUP_MODP_768
768-bit MODP Group
void ikeDumpTs(const IkeTs *ts, size_t length)
Dump Traffic Selector substructure.
@ IKE_PAYLOAD_TYPE_AUTH
Authentication.
@ IKE_TRANSFORM_ID_ENCR_NULL
@ IKE_PAYLOAD_TYPE_CERT
Certificate.
@ IKE_AUTH_METHOD_DIGITAL_SIGN
Digital Signature.
@ IKE_EXCHANGE_TYPE_IKE_INTERMEDIATE
IKE_INTERMEDIATE.
@ IKE_NOTIFY_MSG_TYPE_NO_NATS_ALLOWED
@ IKE_TRANSFORM_ID_ENCR_KUZNYECHIK_MGM_MAC_KTREE
void ikeDumpPayloadHeader(const IkePayloadHeader *header)
Dump generic payload header.
@ IKE_PROTOCOL_ID_ESP
ESP protocol.
@ IKE_NOTIFY_MSG_TYPE_NO_PPK_AUTH
@ IKE_TRANSFORM_ID_PRF_HMAC_MD5
@ IKE_NOTIFY_MSG_TYPE_PPK_IDENTITY
@ IKE_NOTIFY_MSG_TYPE_QUICK_CRASH_DETECTION
@ IKE_CERT_ENCODING_PGP_CERT
PGP certificate.
@ IKE_TRANSFORM_ID_DH_GROUP_BRAINPOOLP512R1
512-bit Brainpool ECP Group
@ IKE_IP_PROTOCOL_ID_ICMPV6
@ IKE_TRANSFORM_ID_PRF_HMAC_SHA1
@ IKE_CERT_ENCODING_X509_CERT_ATTR
X.509 certificate - attribute.
@ IKE_NOTIFY_MSG_TYPE_MOBIKE_SUPPORTED
@ IKE_TRANSFORM_ID_ENCR_AES_GCM_12
@ IKE_CERT_ENCODING_OCSP_CONTENT
OCSP Content.
@ IKE_TRANSFORM_ID_ENCR_AES_CCM_8_IIV
@ IKE_PAYLOAD_TYPE_V
Vendor ID.
@ IKE_TRANSFORM_ID_ENCR_MAGMA_MGM_KTREE
@ IKE_PAYLOAD_TYPE_IDI
Identification - Initiator.
@ IKE_NOTIFY_MSG_TYPE_REDIRECTED_FROM
@ IKE_TRANSFORM_ID_ENCR_BLOWFISH
@ IKE_TRANSFORM_ID_DH_GROUP_MODP_1536
1536-bit MODP Group
@ IKE_TRANSFORM_TYPE_ENCR
Encryption Algorithm.
@ IKE_TRANSFORM_ID_ENCR_DES_IV32
@ IKE_TRANSFORM_ID_PRF_AES128_XCBC
@ IKE_TRANSFORM_ID_AUTH_HMAC_MD5_128
@ IKE_CERT_ENCODING_HASH_URL_X509_CERT
Hash and URL of X.509 certificate.
@ IKE_TRANSFORM_ID_DH_GROUP_MODP_2048_224
2048-bit MODP Group with 224-bit Prime Order Subgroup
@ IKE_NOTIFY_MSG_TYPE_USE_PPK
@ IKE_NOTIFY_MSG_TYPE_IP6_ALLOWED
@ IKE_EXCHANGE_TYPE_CREATE_CHILD_SA
CREATE_CHILD_SA.
@ IKE_NOTIFY_MSG_TYPE_TICKET_OPAQUE
@ IKE_NOTIFY_MSG_TYPE_UNEXPECTED_NAT_DETECTED
@ IKE_AUTH_METHOD_SHARED_KEY
Shared Key Message Integrity Code.
@ IKE_NOTIFY_MSG_TYPE_HTTP_CERT_LOOKUP_SUPPORTED
@ IKE_TRANSFORM_ID_DH_GROUP_ECP_384
384-bit Random ECP Group
@ IKE_TRANSFORM_ID_PRF_HMAC_SHA2_256
@ IKE_NOTIFY_MSG_TYPE_ESP_TFC_PADDING_NOT_SUPPORTED
@ IKE_CERT_ENCODING_CRL
Certificate revocation list.
@ IKE_NOTIFY_MSG_TYPE_STATE_NOT_FOUND
@ IKE_NOTIFY_MSG_TYPE_NON_FIRST_FRAGMENTS_ALSO
@ IKE_TRANSFORM_ID_AUTH_HMAC_SHA2_256_128
void ikeDumpCertPayload(const IkeCertPayload *payload, size_t length)
Dump Certificate payload.
@ IKE_TRANSFORM_ID_ENCR_DES
IKEv2 (Internet Key Exchange Protocol)
@ IKE_NOTIFY_MSG_TYPE_AUTHORIZATION_FAILED
@ IKE_TRANSFORM_ID_AUTH_KPDK_MD5
@ IKE_TRANSFORM_ID_AUTH_AES_256_GMAC
@ IKE_TRANSFORM_ID_ENCR_NULL_AUTH_AES_GMAC
void ikeDumpDeletePayload(const IkeDeletePayload *payload, size_t length)
Dump Delete payload.
@ IKE_CERT_ENCODING_PKCS7_X509_CERT
PKCS #7 wrapped X.509 certificate.
@ IKE_PAYLOAD_TYPE_PS
Puzzle Solution.
void ikeDumpAuthPayload(const IkeAuthPayload *payload, size_t length)
Dump Authentication payload.
@ IKE_EXCHANGE_TYPE_IKE_SA_INIT
IKE_SA_INIT.
@ IKE_PAYLOAD_TYPE_NONCE
Nonce.
@ IKE_NOTIFY_MSG_TYPE_INVALID_KE_PAYLOAD
void ikeDumpHeader(const IkeHeader *header)
Dump IKE header.
void ikeDumpProposal(const IkeProposal *proposal, size_t length)
Dump Proposal substructure.
#define ipv6CopyAddr(destIpAddr, srcIpAddr)
void ikeDumpNoncePayload(const IkeNoncePayload *payload, size_t length)
Dump Nonce payload.
#define TRACE_DEBUG_ARRAY(p, a, n)
@ IKE_TRANSFORM_ID_DH_GROUP_MODP_1024_160
1024-bit MODP Group with 160-bit Prime Order Subgroup
@ IKE_TRANSFORM_ID_ENCR_3DES
@ IKE_TRANSFORM_ID_ENCR_AES_GCM_16
@ IKE_NOTIFY_MSG_TYPE_INTERMEDIATE_EXCHANGE_SUPPORTED
@ IKE_NOTIFY_MSG_TYPE_NO_ADDITIONAL_SAS
@ IKE_NOTIFY_MSG_TYPE_UNSUPPORTED_CRITICAL_PAYLOAD
@ IKE_TRANSFORM_ID_PRF_HMAC_TIGER
@ IKE_PAYLOAD_TYPE_SKF
Encrypted and Authenticated Fragment.
@ IKE_TRANSFORM_ID_DH_GROUP_MODP_3072
3072-bit MODP Group
@ IKE_TRANSFORM_ID_ENCR_AES_CCM_12
@ IKE_TRANSFORM_TYPE_PRF
Pseudorandom Function.
@ IKE_TRANSFORM_ID_ESN_YES
Extended Sequence Numbers.
void ikeDumpTransform(const IkeTransform *transform, size_t length)
Dump Transform substructure.
@ IKE_NOTIFY_MSG_TYPE_TICKET_LT_OPAQUE
@ IKE_NOTIFY_MSG_TYPE_SECURE_PASSWORD_METHODS
@ IKE_TRANSFORM_ID_ENCR_CAMELLIA_CTR
@ IKE_CERT_ENCODING_ARL
Authority revocation list.
@ IKE_NOTIFY_MSG_TYPE_USE_ASSIGNED_HOA
@ IKE_ID_TYPE_RFC822_ADDR
@ IKE_PROTOCOL_ID_IKE
IKE protocol.
@ IKE_AUTH_METHOD_DSS
DSS Digital Signature.
@ IKE_NOTIFY_MSG_TYPE_AUTH_FAILED
@ IKE_NOTIFY_MSG_TYPE_TEMPORARY_FAILURE
@ IKE_TRANSFORM_ID_ENCR_3IDEA
@ IKE_EXCHANGE_TYPE_INFORMATIONAL
INFORMATIONAL.
@ IKE_PAYLOAD_TYPE_LAST
No Next Payload.
@ IKE_LAST_SUBSTRUC_MORE_PROPOSALS
More proposal substructures.
@ IKE_NOTIFY_MSG_TYPE_TICKET_REQUEST
const char_t * ikeGetParamName(uint_t value, const IkeParamName *paramList, size_t paramListLen)
Convert a parameter to string representation.
@ IKE_CERT_ENCODING_SPKI_CERT
SPKI certificate.
@ IKE_NOTIFY_MSG_TYPE_INITIAL_CONTACT
@ IKE_NOTIFY_MSG_TYPE_INTERNAL_ADDRESS_FAILURE
@ IKE_PAYLOAD_TYPE_KE
Key Exchange.
@ IKE_NOTIFY_MSG_TYPE_IKEV2_MESSAGE_ID_SYNC_SUPPORTED
@ IKE_NOTIFY_MSG_TYPE_REDIRECT
@ IKE_NOTIFY_MSG_TYPE_AUTH_LIFETIME
@ IKE_AUTH_METHOD_ECDSA_P256_SHA256
ECDSA with SHA-256 on the P-256 curve.
@ IKE_NOTIFY_MSG_TYPE_COOKIE
#define ipv4CopyAddr(destIpAddr, srcIpAddr)
@ IKE_NOTIFY_MSG_TYPE_IPSEC_REPLAY_COUNTER_SYNC_SUPPORTED
@ IKE_FLAGS_R
Response flag.
@ IKE_PAYLOAD_TYPE_TSI
Traffic Selector - Initiator.
@ IKE_NOTIFY_MSG_TYPE_USE_TRANSPORT_MODE
@ IKE_CERT_ENCODING_X509_CERT_SIGN
X.509 certificate - signature.
@ IKE_NOTIFY_MSG_TYPE_SINGLE_PAIR_REQUIRED
@ IKE_TRANSFORM_ID_AUTH_DES_MAC
@ IKE_TRANSFORM_ID_DH_GROUP_MODP_2048_256
2048-bit MODP Group with 256-bit Prime Order Subgroup
@ IKE_TRANSFORM_ID_DH_GROUP_ECP_256
256-bit Random ECP Group
@ IKE_NOTIFY_MSG_TYPE_TICKET_ACK
@ IKE_NOTIFY_MSG_TYPE_REDIRECT_SUPPORTED
@ IKE_NOTIFY_MSG_TYPE_MULTIPLE_AUTH_SUPPORTED
@ IKE_PAYLOAD_TYPE_IDR
Identification - Responder.
@ IKE_NOTIFY_MSG_TYPE_ADDITIONAL_KEY_EXCHANGE
@ IKE_TRANSFORM_ID_AUTH_HMAC_SHA2_512_256
@ IKE_PAYLOAD_TYPE_D
Delete.
void ikeDumpNotifyPayload(const IkeNotifyPayload *payload, size_t length)
Dump Notify payload.
@ IKE_NOTIFY_MSG_TYPE_EAP_ONLY_AUTHENTICATION
@ IKE_NOTIFY_MSG_TYPE_COOKIE2
@ IKE_PAYLOAD_TYPE_SA
Security Association.
@ IKE_NOTIFY_MSG_TYPE_INVALID_GROUP_ID
@ IKE_TRANSFORM_ID_AUTH_NONE
char_t * ipv4AddrToString(Ipv4Addr ipAddr, char_t *str)
Convert a binary IPv4 address to dot-decimal notation.
@ IKE_FLAGS_V
Version flag.
@ IKE_NOTIFY_MSG_TYPE_PSK_PERSIST
@ IKE_TRANSFORM_ID_DH_GROUP_BRAINPOOLP384R1
384-bit Brainpool ECP Group
@ IKE_NOTIFY_MSG_TYPE_INVALID_MAJOR_VERSION
@ IKE_CERT_ENCODING_KERBEROS_TOKEN
Kerberos token.
@ IKE_NOTIFY_MSG_TYPE_IKEV2_MESSAGE_ID_SYNC
@ IKE_NOTIFY_MSG_TYPE_NO_ADDITIONAL_ADDRESSES
void ikeDumpMessage(const uint8_t *message, size_t length)
Dump IKE message.
void ikeDumpIdPayload(const IkeIdPayload *payload, size_t length)
Dump Identification payload.
@ IKE_NOTIFY_MSG_TYPE_INVALID_IKE_SPI
@ IKE_NOTIFY_MSG_TYPE_UNACCEPTABLE_ADDRESSES
@ IKE_TRANSFORM_ID_DH_GROUP_ECP_521
521-bit Random ECP Group
@ IKE_NOTIFY_MSG_TYPE_CLONE_IKE_SA_SUPPORTED
@ IKE_AUTH_METHOD_ECDSA_P384_SHA384
ECDSA with SHA-384 on the P-384 curve.
@ IKE_TRANSFORM_ID_ENCR_RC5
@ IKE_NOTIFY_MSG_TYPE_ADDITIONAL_IP4_ADDRESS
@ IKE_PAYLOAD_TYPE_N
Notify.
@ IKE_TRANSFORM_ID_DH_GROUP_BRAINPOOLP256R1
256-bit Brainpool ECP Group
@ IKE_TRANSFORM_ID_PRF_HMAC_SHA2_512
@ IKE_TRANSFORM_ID_DH_GROUP_MODP_6144
6144-bit MODP Group
@ IKE_TS_TYPE_IPV6_ADDR_RANGE
void ikeDumpFlags(uint8_t flags)
Dump flags.
@ IKE_CERT_ENCODING_RAW_PUBLIC_KEY
Raw Public Key.
@ IKE_PAYLOAD_TYPE_GSPM
Generic Secure Password Method.
@ IKE_PAYLOAD_TYPE_TSR
Traffic Selector - Responder.
@ IKE_NOTIFY_MSG_TYPE_INVALID_SYNTAX
@ IKE_TRANSFORM_ID_ENCR_CAMELLIA_CCM_12
@ IKE_TRANSFORM_ID_ENCR_AES_CCM_8
void ikeDumpTsPayload(const IkeTsPayload *payload, size_t length)
Dump Traffic Selector payload.
@ IKE_TRANSFORM_TYPE_INTEG
Integrity Algorithm.