open5gs/src/mme
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
..
app-init.c A minor typo fix (#2707) 2023-10-28 22:11:58 +09:00
emm-build.c [MME] Gn: Introduce initial support for 2G->4G cell reselection 2024-01-17 23:05:19 +09:00
emm-build.h [MME] Follow-up Cancel Location Handling (#1698) 2022-08-19 16:52:39 +09:00
emm-handler.c [MME] Race condition between S1AP and S6A 2024-03-16 23:08:07 +09:00
emm-handler.h [MME] Gn: Introduce initial support for 2G->4G cell reselection 2024-01-17 23:05:19 +09:00
emm-sm.c [MME] Race condition between S1AP and S6A 2024-03-16 23:08:07 +09:00
esm-build.c [MME/SMF] Added Extended-PCO in 4G/LTE (#2261) 2023-04-22 00:06:50 +09:00
esm-build.h Distinguish the type of session creation 2022-04-14 17:34:55 +09:00
esm-handler.c [MME] Added log messages to find memory problem 2024-02-27 21:16:50 +09:00
esm-handler.h [ALL] Fix differences in function parameter names between definition and declaration 2022-07-01 21:38:47 +09:00
esm-sm.c [MME] Race condition between S1AP and S6A 2024-03-16 23:08:07 +09:00
meson.build mme: Introduce initial Gn iface (GTPv1C) support 2023-07-15 23:44:57 +09:00
metrics.c [AMF metrics] Initial histogram support 2023-03-24 23:03:49 +09:00
metrics.h [METRICS] Re-order init/final (#1985, #2001) 2023-01-20 21:16:45 +09:00
mme-context.c [MME] Race condition between S1AP and S6A 2024-03-16 23:08:07 +09:00
mme-context.h [MME] Added log messages to find memory problem 2024-02-27 21:16:50 +09:00
mme-event.c [MME] Gn: Introduce initial support for 4G->2G cell reselection 2023-12-23 09:56:55 +09:00
mme-event.h [MME] Gn: Introduce initial support for 4G->2G cell reselection 2023-12-23 09:56:55 +09:00
mme-fd-path.c [MME] Race condition between S1AP and S6A 2024-03-16 23:08:07 +09:00
mme-fd-path.h [MME] Race condition between S1AP and S6A 2024-03-16 23:08:07 +09:00
mme-gn-build.c [mme] cosmetic: Document spec references stating NSAPI=EBI 2024-03-08 06:46:31 +09:00
mme-gn-build.h [MME] Gn: Introduce initial support for 2G->4G cell reselection 2024-01-17 23:05:19 +09:00
mme-gn-handler.c [MME] Race condition between S1AP and S6A 2024-03-16 23:08:07 +09:00
mme-gn-handler.h [MME] Gn: Introduce initial support for 2G->4G cell reselection 2024-01-17 23:05:19 +09:00
mme-gtp-path.c [GTP/PFCP]] incorrect dst TEI=0/SEID=0 (#3043) 2024-03-23 10:06:16 +09:00
mme-gtp-path.h [MME] Gn: Introduce initial support for 2G->4G cell reselection 2024-01-17 23:05:19 +09:00
mme-init.c [SEPP] Initial Update for 5G Roaming (#2739) 2023-11-19 19:34:51 +09:00
mme-path.c Rollback Pull Request (#1911) 2024-02-03 16:18:26 +09:00
mme-path.h no Purge Timer, no config, expanded code 2023-01-24 12:35:47 -06:00
mme-s6a-handler.c [MME] Race condition between S1AP and S6A 2024-03-16 23:08:07 +09:00
mme-s6a-handler.h [MME] Add Purge-UE Capability (#1991) 2023-01-14 09:13:48 +09:00
mme-s11-build.c [MME] Added log messages to find memory problem 2024-02-27 21:16:50 +09:00
mme-s11-build.h [ALL] Fix differences in function parameter names between definition and declaration 2022-07-01 21:38:47 +09:00
mme-s11-handler.c [GTP/PFCP]] incorrect dst TEI=0/SEID=0 (#3043) 2024-03-23 10:06:16 +09:00
mme-s11-handler.h [ALL] Fix differences in function parameter names between definition and declaration 2022-07-01 21:38:47 +09:00
mme-sm.c [MME] Race condition between S1AP and S6A 2024-03-16 23:08:07 +09:00
mme-sm.h [CSFB] Create a state machine 2019-06-16 15:40:26 +09:00
mme-timer.c [MME] Gn: Introduce initial support for 4G->2G cell reselection 2023-12-23 09:56:55 +09:00
mme-timer.h [MME] Gn: Introduce initial support for 4G->2G cell reselection 2023-12-23 09:56:55 +09:00
nas-path.c [MME] Race condition between S1AP and S6A 2024-03-16 23:08:07 +09:00
nas-path.h [MME] Race condition between S1AP and S6A 2024-03-16 23:08:07 +09:00
nas-security.c Shall cipher in the NAS message container IE 2022-01-05 22:39:06 +09:00
nas-security.h Add AUSF, UDM, and UDR 2020-06-04 14:12:05 -04:00
s1ap-build.c [MME] Fixes crash in building s1ap message 2024-02-02 21:17:41 +09:00
s1ap-build.h [MME] Implement ENBConfigurationUpdate (#2589) 2023-09-16 20:58:58 +09:00
s1ap-handler.c [MME] Added log messages to find memory problem 2024-02-27 21:16:50 +09:00
s1ap-handler.h [MME] Implement ENBConfigurationUpdate (#2589) 2023-09-16 20:58:58 +09:00
s1ap-path.c [MME/AMF] Fixed crash following Handover Request (#3014) 2024-02-29 23:02:38 +09:00
s1ap-path.h [MME] Implement ENBConfigurationUpdate (#2589) 2023-09-16 20:58:58 +09:00
s1ap-sctp.c [ALL] Removing trailing whitespace and tab 2022-09-02 23:38:39 +09:00
s1ap-sm.c [MME] Implement ENBConfigurationUpdate (#2589) 2023-09-16 20:58:58 +09:00
sbc-handler.c [AMF/MME] Fixed crash when no NG/S1 context(#2012) 2023-01-23 10:37:22 +09:00
sbc-handler.h [CSFB] Fix the MacOSX 2019-07-08 21:03:39 +09:00
sbc-message.h NGSetup is added 2020-05-25 12:15:22 -04:00
sgsap-build.c [MME] SGaAP-MO-CSFB-INDICATION w/ TAI/ECGI (#2664) 2023-10-11 20:37:12 +09:00
sgsap-build.h Refact paging module (#1676) 2022-07-30 14:44:34 +09:00
sgsap-conv.c Re-factoring the all library 2019-09-13 21:07:47 +09:00
sgsap-conv.h Move src/../nf-sm.[ch] to lib/sbi/nf-sm.[ch] 2022-08-12 14:03:53 +09:00
sgsap-handler.c [MME] Race condition between S1AP and S6A 2024-03-16 23:08:07 +09:00
sgsap-handler.h [SGsAP] add MM-INFORMATION-REQUEST(Discard by Option2) 2019-07-21 22:52:28 +09:00
sgsap-path.c Fixed MacOSX compile error 2023-04-04 21:53:39 +09:00
sgsap-path.h [SGsAP] Changed message if Paging failed (#1701) 2022-08-19 18:58:55 +09:00
sgsap-sctp.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
sgsap-sm.c [LOG] remove ogs_expect_or_return()/return_val() 2023-01-24 00:01:36 +09:00
sgsap-types.h [MME] SGaAP-MO-CSFB-INDICATION w/ TAI/ECGI (#2664) 2023-10-11 20:37:12 +09:00