open5gs/tests/common
Sukchan Lee 4599b273fa [MME] Problem keep changing PDN-Type (#3209)
If the UE continuously attempts to Attach while changing PDN Type,
it will cause the wrong IP to be assigned.
(e.g PDU-Type : IPv4v6 -> IPv4 -> IPv4v6)

This is because we use two variables at the same time,
one to read and store the Static IP from the Subscriber DB and
one to store the IP assigned from SMF, called session->paa.

When the UE attaches with PDN-Type set to IPv4v6,
MME saves the allocated IP in session->paa.

However, MME thinks it has been assigned a static IP based on the information
in session->paa, so changing the PDN-Type may result in the wrong IP
being assigned.

To solve this problem, I separated the variable(session->paa) that stores
the allocated IP received from SMF and the variable(session->ue_ip) that stores
the Static IP read from the Subscriber DB.

Therefore, the information read from the Subscriber DB
(session->session_type and session->ue_ip) should not be modified.
2024-05-18 14:01:00 +09:00
..
application.c [SEPP] Initial Update for 5G Roaming (#2739) 2023-11-19 19:34:51 +09:00
application.h Release v2.0.0 2020-08-21 23:33:45 -04:00
context.c [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
context.h [MME] Incorrect behavior of SGsAP+Dedicated-Bearer (#3072) 2024-04-01 22:13:36 +09:00
emm-build.c [NAS/GTP/PFCP] Upgrade IE to Release-17 2023-03-11 18:42:30 +09:00
emm-build.h Fix the ciphered test program 2022-01-08 12:26:23 +09:00
emm-handler.c Try to fix the UE infinite attach (#568) 2021-03-09 14:28:07 +09:00
emm-handler.h Try to fix the UE infinite attach (#568) 2021-03-09 14:28:07 +09:00
esm-build.c [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
esm-build.h [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
esm-handler.c [MME] Incorrect behavior of SGsAP+Dedicated-Bearer (#3072) 2024-04-01 22:13:36 +09:00
esm-handler.h [MME] Incorrect behavior of SGsAP+Dedicated-Bearer (#3072) 2024-04-01 22:13:36 +09:00
gmm-build.c Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
gmm-build.h Fix the ciphered test program 2022-01-08 12:26:23 +09:00
gmm-handler.c [AMF] 5G-GUTI generation changed (#910) 2021-04-13 17:34:25 +09:00
gmm-handler.h [AMF] 5G-GUTI generation changed (#910) 2021-04-13 17:34:25 +09:00
gsm-build.c Use x1000 multiplier for Kbps, Mbps, ... etc. (#2515) 2023-08-13 18:19:45 +09:00
gsm-build.h VoNR added but not tested! 2021-11-14 21:07:56 +09:00
gsm-handler.c Fixes UE IPv6 BUG (#808) 2021-03-15 10:01:55 +09:00
gsm-handler.h feat: Add dedicated QoS flow 2020-12-31 21:07:08 -05:00
gtpu.c [GTPU] Fixed PDCP SN handling (#2584, #2477) 2023-09-10 22:37:42 +09:00
gtpu.h [GTPU] Fixed PDCP SN handling (#2584, #2477) 2023-09-10 22:37:42 +09:00
meson.build Prometheus metrics set to default 2022-11-21 22:06:29 +09:00
nas-encoder.c [NAS] modify library to include both directions of deregistration requests 2022-07-11 22:53:21 +09:00
nas-encoder.h Release v2.0.0 2020-08-21 23:33:45 -04:00
nas-path.c [MME] Incorrect behavior of SGsAP+Dedicated-Bearer (#3072) 2024-04-01 22:13:36 +09:00
nas-path.h Release v2.0.0 2020-08-21 23:33:45 -04:00
nas-security.c [NAS] modify library to include both directions of deregistration requests 2022-07-11 22:53:21 +09:00
nas-security.h Release v2.0.0 2020-08-21 23:33:45 -04:00
ngap-build.c [SEC] Crash and Protocol Violations 2024-04-09 16:23:49 +09:00
ngap-build.h [SEC] Vulnerabilities have been resolved (#2945) 2024-03-06 07:20:50 +09:00
ngap-handler.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
ngap-handler.h feat: Indirect Data Forwarding in N2-Handover 2021-01-31 23:01:15 -05:00
ngap-path.c Fix the ciphered test program 2022-01-08 12:26:23 +09:00
ngap-path.h Add AUSF, UDM, and UDR 2020-06-04 14:12:05 -04:00
s1ap-build.c [MME] Implement ENBConfigurationUpdate (#2589) 2023-09-16 20:58:58 +09:00
s1ap-build.h [MME] Implement ENBConfigurationUpdate (#2589) 2023-09-16 20:58:58 +09:00
s1ap-handler.c [MME] Race condition between S1AP and S6A 2024-03-16 23:08:07 +09:00
s1ap-handler.h X2 handover with SGW change (#1367, #1459) 2022-05-12 22:52:36 +09:00
s1ap-path.c [MME/AMF] Fixed crash following Handover Request (#3014) 2024-02-29 23:02:38 +09:00
s1ap-path.h Release v2.0.0 2020-08-21 23:33:45 -04:00
sctp.c [ASN1C] Fixed asn1c library on 32bit (#2934) 2024-02-12 14:00:06 +09:00
sctp.h Improve the socket option configuration (#1404) 2022-03-15 22:03:50 +09:00
sgsap-build.c [CORE] OGS_MAX_SDU_LEN->OGS_HUGE_LEN Stack (#2008) 2023-01-25 22:24:51 +09:00
sgsap-build.h Release v2.0.0 2020-08-21 23:33:45 -04:00
test-common.h [AMF/MME] UEContextReleaseCommand after Interity Protected (#2786) (#2794) 2023-12-13 17:54:37 +09:00