Skip to content

feat: recognize UEIPAddress in UpdatePDR - #591

Merged
pirog-spb merged 2 commits into
edgecomllc:mainfrom
yoursunny:ueip
Feb 25, 2025
Merged

pirog-spb merged 2 commits into
edgecomllc:mainfrom
yoursunny:ueip

Conversation

@yoursunny

Copy link
Copy Markdown
Contributor

This patch allows eUPF to recognize UEIPAddress field within UpdatePDR IE.
The test case comes from 1.pcapng.gz frame 34, which was generated by free5GC v3.4.4.

Existing code would log the following error upon encountering this message:

�[90m2025/02/03 17:23:09�[0m �[32mINF�[0m Both F-TEID IE and UE IP Address IE are missing
�[90m2025/02/03 17:23:09�[0m �[33mDBG�[0m Error extracting PDR info: got invalid type: 9

Comment thread cmd/core/pdr_creation_context.go Resolved
@pirog-spb
pirog-spb merged commit a1b6f6a into edgecomllc:main Feb 25, 2025
pirog-spb added a commit that referenced this pull request Oct 31, 2026
Adapted from upstream a1b6f6a to the refactored extractPDR structure.
Lookup UEIPAddress within PDI (findIEindex) instead of on PDR directly,
so that UpdatePDR correctly recognizes UE IP address changes. Also fix
a latent bug where the final 'missing' branch returned a nil error.

Co-authored-by: Junxiao Shi <[email protected]>
Co-authored-by: Alex Rozhkevich <[email protected]>
Signed-off-by: pirog-spb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants