open5gs/tests/non3gpp
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
..
abts-main.c [SEPP] Initial Update for 5G Roaming (#2739) 2023-11-19 19:34:51 +09:00
diameter-s6b-path.c [LOG] remove ogs_expect_or_return()/return_val() 2023-01-24 00:01:36 +09:00
diameter-swx-path.c [LOG] remove ogs_expect_or_return()/return_val() 2023-01-24 00:01:36 +09:00
epdg-test.c Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
gtp-path.c [GTP/PFCP]] incorrect dst TEI=0/SEID=0 (#3043) 2024-03-23 10:06:16 +09:00
gtp-path.h [EPC] Support ePDG Interface (#1039) 2021-06-21 22:36:38 +09:00
meson.build Prometheus metrics set to default 2022-11-21 22:06:29 +09:00
s2b-build.c [LOG] remove ogs_expect_or_return()/return_val() 2023-01-24 00:01:36 +09:00
s2b-build.h [EPC] Support ePDG Interface (#1039) 2021-06-21 22:36:38 +09:00
s2b-handler.c [SMF] Memory leak in Handling APCO IE (#3010) 2024-02-28 20:51:20 +09:00
s2b-handler.h Rename GTPv2C specifics to gtp2 prefix (#1485) 2022-04-13 07:07:39 +09:00
test-fd-path.c [ALL] Removing trailing whitespace and tab 2022-09-02 23:38:39 +09:00
test-fd-path.h [EPC] Support ePDG Interface (#1039) 2021-06-21 22:36:38 +09:00