open5gs/src
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
..
amf Include cause in HTTP response ProblemDetails (#3051) 2024-04-04 23:29:20 +09:00
ausf Include cause in HTTP response ProblemDetails (#3051) 2024-04-04 23:29:20 +09:00
bsf Include cause in HTTP response ProblemDetails (#3051) 2024-04-04 23:29:20 +09:00
hss [DBI] mongoc version not checked correctly #3086 2024-03-31 20:41:50 +09:00
mme [MME] Incorrect behavior of SGsAP+Dedicated-Bearer (#3072) 2024-04-01 22:13:36 +09:00
nrf Include cause in HTTP response ProblemDetails (#3051) 2024-04-04 23:29:20 +09:00
nssf Include cause in HTTP response ProblemDetails (#3051) 2024-04-04 23:29:20 +09:00
pcf Include cause in HTTP response ProblemDetails (#3051) 2024-04-04 23:29:20 +09:00
pcrf Document Gx interface spec references 2024-01-25 07:05:33 +09:00
scp Include cause in HTTP response ProblemDetails (#3051) 2024-04-04 23:29:20 +09:00
sepp Include cause in HTTP response ProblemDetails (#3051) 2024-04-04 23:29:20 +09:00
sgwc [SMF] Crash SMF when no GTP-C config (#3094) 2024-03-31 20:25:25 +09:00
sgwu Revert "[GTP/PFCP]] incorrect dst TEI=0/SEID=0 (#3043)" 2024-03-26 08:04:26 +09:00
smf [GTP] Incorrect destination TEID=0 (#3043) 2024-04-06 16:39:32 +09:00
udm Include cause in HTTP response ProblemDetails (#3051) 2024-04-04 23:29:20 +09:00
udr Include cause in HTTP response ProblemDetails (#3051) 2024-04-04 23:29:20 +09:00
upf cosmetic: upf: Add missing lines between functions 2024-04-04 23:23:32 +09:00
main.c Fixed dynamic-stack-buffer-overflow (#2578, #2577) 2023-09-05 21:58:05 +09:00
meson.build [SEPP] Initial Update for 5G Roaming (#2739) 2023-11-19 19:34:51 +09:00