open5gs/tests
Sukchan Lee a667525041 [GTP/PFCP]] incorrect dst TEI=0/SEID=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.

This also happens in PFCP, so to solve this problem, I added teid/seid_presence
to the interface that sends the error message as shown below.

void ogs_gtp2_send_error_message(ogs_gtp_xact_t *xact,
        int teid_presence, uint32_t teid, uint8_t type, uint8_t cause_value);
void ogs_pfcp_send_error_message(
    ogs_pfcp_xact_t *xact, int seid_presence, uint64_t seid, uint8_t type,
    uint8_t cause_value, uint16_t offending_ie_value);
2024-03-23 10:06:16 +09:00
..
310014 Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
af [SEPP] Initial Update for 5G Roaming (#2739) 2023-11-19 19:34:51 +09:00
app [AMF] Increase the number of SLICE 512 to 1024 (#2761)(#2765) 2023-12-04 20:46:58 +09:00
attach [MME] Race condition between S1AP and S6A 2024-03-16 23:08:07 +09:00
common [MME] Race condition between S1AP and S6A 2024-03-16 23:08:07 +09:00
core Fixed dynamic-stack-buffer-overflow (#2578, #2577) 2023-09-05 21:58:05 +09:00
crypt Fixed dynamic-stack-buffer-overflow (#2578, #2577) 2023-09-05 21:58:05 +09:00
csfb Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
fuzzing [Fuzzing] bug fix 59062 and increasing converge 2023-05-25 22:47:47 +09:00
handover [MME/AMF] Fixed crash following Handover Request (#3014) 2024-02-29 23:02:38 +09:00
non3gpp [GTP/PFCP]] incorrect dst TEI=0/SEID=0 (#3043) 2024-03-23 10:06:16 +09:00
registration [SEC] Vulnerabilities have been resolved (#2945) 2024-03-06 07:20:50 +09:00
sctp [SEPP] Initial Update for 5G Roaming (#2739) 2023-11-19 19:34:51 +09:00
slice [AMF] Fixed crash in no context setup (#2999) 2024-03-04 21:03:07 +09:00
unit [SBI] Preamble parsing issues in MIME (#3058) 2024-03-17 10:36:29 +09:00
volte [SMF] Added Bi-Directional Flow (#2909) 2024-02-17 20:43:15 +01:00
vonr [SMF] Added Bi-Directional Flow (#2909) 2024-02-17 20:43:15 +01:00
meson.build [EPC] Support ePDG Interface (#1039) 2021-06-21 22:36:38 +09:00