]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
wip: notify-payload: Add notify type for Child SA KE negotiation during IKE_AUTH
authorTobias Brunner <tobias@strongswan.org>
Mon, 20 Oct 2025 15:01:10 +0000 (17:01 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 24 Oct 2025 15:46:31 +0000 (17:46 +0200)
wip: fix id once allocated and potentially reference in comment

src/libcharon/encoding/payloads/notify_payload.c
src/libcharon/encoding/payloads/notify_payload.h

index bf140e870394775f6003214e7af00710692170af..450e6e05f95abe6787fe0291f537e9b43f2e07f2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2023 Tobias Brunner
+ * Copyright (C) 2006-2025 Tobias Brunner
  * Copyright (C) 2005-2010 Martin Willi
  * Copyright (C) 2006 Daniel Roethlisberger
  * Copyright (C) 2005 Jan Hutter
@@ -136,7 +136,7 @@ ENUM_NEXT(notify_type_names, UNITY_LOAD_BALANCE, UNITY_LOAD_BALANCE, DPD_R_U_THE
        "UNITY_LOAD_BALANCE");
 ENUM_NEXT(notify_type_names, USE_BEET_MODE, USE_BEET_MODE, UNITY_LOAD_BALANCE,
        "USE_BEET_MODE");
-ENUM_NEXT(notify_type_names, ME_MEDIATION, RADIUS_ATTRIBUTE, USE_BEET_MODE,
+ENUM_NEXT(notify_type_names, ME_MEDIATION, CHILD_SA_PFS_INFO_SUPPORTED, USE_BEET_MODE,
        "ME_MEDIATION",
        "ME_ENDPOINT",
        "ME_CALLBACK",
@@ -144,8 +144,9 @@ ENUM_NEXT(notify_type_names, ME_MEDIATION, RADIUS_ATTRIBUTE, USE_BEET_MODE,
        "ME_CONNECTKEY",
        "ME_CONNECTAUTH",
        "ME_RESPONSE",
-       "RADIUS_ATTRIBUTE");
-ENUM_END(notify_type_names, RADIUS_ATTRIBUTE);
+       "RADIUS_ATTRIBUTE",
+       "CHILD_SA_PFS_INFO_SUPPORTED");
+ENUM_END(notify_type_names, CHILD_SA_PFS_INFO_SUPPORTED);
 
 
 ENUM_BEGIN(notify_type_short_names, UNSUPPORTED_CRITICAL_PAYLOAD, UNSUPPORTED_CRITICAL_PAYLOAD,
@@ -259,7 +260,7 @@ ENUM_NEXT(notify_type_short_names, UNITY_LOAD_BALANCE, UNITY_LOAD_BALANCE, DPD_R
        "UNITY_LB");
 ENUM_NEXT(notify_type_short_names, USE_BEET_MODE, USE_BEET_MODE, UNITY_LOAD_BALANCE,
        "BEET_MODE");
-ENUM_NEXT(notify_type_short_names, ME_MEDIATION, RADIUS_ATTRIBUTE, USE_BEET_MODE,
+ENUM_NEXT(notify_type_short_names, ME_MEDIATION, CHILD_SA_PFS_INFO_SUPPORTED, USE_BEET_MODE,
        "ME_MED",
        "ME_EP",
        "ME_CB",
@@ -267,8 +268,9 @@ ENUM_NEXT(notify_type_short_names, ME_MEDIATION, RADIUS_ATTRIBUTE, USE_BEET_MODE
        "ME_CKEY",
        "ME_CAUTH",
        "ME_R",
-       "RADIUS");
-ENUM_END(notify_type_short_names, RADIUS_ATTRIBUTE);
+       "RADIUS",
+       "CHILD_PFS_SUP");
+ENUM_END(notify_type_short_names, CHILD_SA_PFS_INFO_SUPPORTED);
 
 
 typedef struct private_notify_payload_t private_notify_payload_t;
index a7b1367ef795e53fdfd1f2d19cf7ef2a67167af1..cb24226b569043eafa32c0c505024350f03c5b77 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2023 Tobias Brunner
+ * Copyright (C) 2006-2025 Tobias Brunner
  * Copyright (C) 2006 Daniel Roethlisberger
  * Copyright (C) 2005-2006 Martin Willi
  * Copyright (C) 2005 Jan Hutter
@@ -199,6 +199,8 @@ enum notify_type_t {
        ME_RESPONSE = 40968,
        /* RADIUS attribute received/to send to a AAA backend */
        RADIUS_ATTRIBUTE = 40969,
+       /* KE negotiation during IKE_AUTH, draft-ietf-ipsecme-child-pfs-info */
+       CHILD_SA_PFS_INFO_SUPPORTED = 40970,
 };
 
 /**