open5gs/tests/attach
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
..
abts-main.c Fixed security vulnerability for malformed packet 2023-07-26 16:32:46 +09:00
auth-test.c [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
crash-test.c [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
emm-status-test.c [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
guti-test.c [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
idle-test.c [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
issues-test.c [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
meson.build Fixed security vulnerability for malformed packet 2023-07-26 16:32:46 +09:00
reset-test.c [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
s1setup-test.c [MME] Implement ENBConfigurationUpdate (#2589) 2023-09-16 20:58:58 +09:00
simple-test.c [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
ue-context-test.c [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00