open5gs/lib
Sukchan Lee 8484a5af60 [GTP] Incorrect destination TEID=0 (#3043)
If eg. PCRF or AAA diameter link is not yet ready (eg. PCRF crashed),
and a client sends a CreateSessionRequest announcing its ow F-TEID,
then open5gs-smfd answers with Create Session Response Cause=
"Remote peer not responding", but it is not setting the received F-TEID
in the header of the response, instead it sends with TEI=0.

As a result, the peer cannot match the CreateSessionResponse,
and needs to rely on its own timeout timer to figure out
that specific request failed.

To address this issue, I modified the GTP Response message to check
the Sender F-TEID and send it accordingly, setting the destination TEID
to the value of the Sender F-TEID.

I've made this modification only for SMF, but MME and SGW-C have not done so;
if you need to, you can work from the examples in SMF.

Similarly, the same situation can happen with PFCP. If anyone needs to do this
in the future, I think you can work on it this way.
2024-04-06 16:39:32 +09:00
..
app Add space to inprove readbility of error 2023-12-21 22:14:24 +09:00
asn1c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
core [PFCP] Session removal while waiting PFCP reply (#3040) 2024-03-24 09:50:23 +09:00
crypt [UDM] Added validation for pubkey 2024-03-24 14:09:10 +09:00
dbi [DBI] mongoc version not checked correctly #3086 2024-03-31 20:41:50 +09:00
diameter [SMF] Gy: Check Multiple-Services-Credit-Control Result-Code 2024-03-21 07:13:44 +09:00
gtp [GTP] Incorrect destination TEID=0 (#3043) 2024-04-06 16:39:32 +09:00
ipfw [SMF] Added Bi-Directional Flow (#2909) 2024-02-17 20:43:15 +01:00
metrics [SEPP] Initial Update for 5G Roaming (#2739) 2023-11-19 19:34:51 +09:00
nas UE context transfer (#3052) 2024-03-21 07:07:25 +09:00
ngap [MME/AMF] Fixed crash following Handover Request (#3014) 2024-02-29 23:02:38 +09:00
pfcp pfcp: Fix missing fields in ogs_pfcp_build_update_urr() 2024-04-04 23:23:32 +09:00
proto UE context transfer (#3052) 2024-03-21 07:07:25 +09:00
s1ap [Release-17] Upgrade S1AP/NGAP to v17.3.9 2023-02-21 21:48:06 +09:00
sbi Include cause in HTTP response ProblemDetails (#3051) 2024-04-04 23:29:20 +09:00
sctp [MME] Added log messages to find memory problem 2024-02-27 21:16:50 +09:00
tun [ALL] Removing trailing whitespace and tab 2022-09-02 23:38:39 +09:00
meson.build [SEPP] Initial Update for 5G Roaming (#2739) 2023-11-19 19:34:51 +09:00