aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2024-02-21 18:56:49 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2024-02-21 18:57:21 +0100
commita4b4ae37588993c1e081416237b3706d5aac1a7e (patch)
tree8a22171463af35593b8bb7341a2d88da050f2ccd
parent722816c68e2f54b9b05e9d0d665d5a4504abe995 (diff)
gsup: Add ePDG Tunnel Request/Error/Result messages
These messages are used in the GSUP-based CEAI interface between strongswan IPsec and osmo-epdg, which acts basically as a forwarding protocol between IKEv2 on the UE side and GTPv2C S2b towards PGW + Diameter SWm towards AAA Server. Those fields are already present in libosmocore, GSUP reference implementation [1]. [1] https://gitea.osmocom.org/osmocom/libosmocore/src/branch/master/include/osmocom/gsm/gsup.h#L205
-rw-r--r--epan/dissectors/packet-gsm_gsup.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-gsm_gsup.c b/epan/dissectors/packet-gsm_gsup.c
index 7ed3119b6b..45ddf21e2d 100644
--- a/epan/dissectors/packet-gsm_gsup.c
+++ b/epan/dissectors/packet-gsm_gsup.c
@@ -183,6 +183,10 @@ enum osmo_gsup_message_type {
OSMO_GSUP_MSGT_E_ABORT = 0x4b,
OSMO_GSUP_MSGT_E_ROUTING_ERROR = 0x4e,
+
+ OSMO_GSUP_MSGT_EPDG_TUNNEL_REQUEST = 0x50,
+ OSMO_GSUP_MSGT_EPDG_TUNNEL_ERROR = 0x51,
+ OSMO_GSUP_MSGT_EPDG_TUNNEL_RESULT = 0x52,
};
#define OSMO_GSUP_IS_MSGT_REQUEST(msgt) (((msgt) & 0b00000011) == 0b00)
@@ -422,6 +426,9 @@ static const value_string gsup_msg_types[] = {
{ OSMO_GSUP_MSGT_E_CLOSE, "E Close"},
{ OSMO_GSUP_MSGT_E_ABORT, "E Abort"},
{ OSMO_GSUP_MSGT_E_ROUTING_ERROR, "E Routing Error"},
+ { OSMO_GSUP_MSGT_EPDG_TUNNEL_REQUEST, "ePDG Tunnel Request"},
+ { OSMO_GSUP_MSGT_EPDG_TUNNEL_ERROR, "ePDG Tunnel Error"},
+ { OSMO_GSUP_MSGT_EPDG_TUNNEL_RESULT, "ePDG Tunnel Result"},
{ 0, NULL }
};