You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
contrib/pfcp: PFCPSEReq-Flags (IE type 186) is not dissected #5283
Scapy does not dissect the PFCPSEReq-Flags IE (type 186), which a PFCP Session Establishment Request carries to signal a session restoration (RESTI). There is no class for it and no entry in the ietypecls table (scapy/contrib/pfcp.py:2274), so the IE decodes as IE_NotImplemented and its flags cannot be built or read through a typed layer. IE_PFCPSMReqFlags (scapy/contrib/pfcp.py:1110, type 49) is the different PFCPSMReq-Flags IE of the Session Modification Request.
TS 29.244 V20.1.0 clause 8.2.136 defines PFCPSEReq-Flags (type 186, extendable): octet 5 bit 1 RESTI (Restoration Indication), bit 2 SUMPC, bit 3 HRSBOM, bit 4 EPRI, bits 5 to 8 spare. Table 7.5.2.1-1 lists it as a conditional IE of the PFCP Session Establishment Request, included whenever at least one of its flags is set.
Expected: an IE_PFCPSEReqFlags class with those four flags, registered in ietypecls under 186, so that the IE above decodes with RESTI set and can be built.
I am working on this. I will add an IE_PFCPSEReqFlags class with RESTI, SUMPC, HRSBOM and EPRI in octet 5, register it as type 186 in ietypecls, and add a UTScapy case that dissects 00ba00010f and builds 00ba000101.
Activity
Shellghostt commentedon Nov 12, 2026
I am working on this. I will add an IE_PFCPSEReqFlags class with RESTI, SUMPC, HRSBOM and EPRI in octet 5, register it as type 186 in ietypecls, and add a UTScapy case that dissects 00ba00010f and builds 00ba000101.