Skip to content

contrib/pfcp: add missing feature bits to UP and CP Function Features IEs - #5322

Open
shazop wants to merge 1 commit into
secdev:masterfrom
shazop:fix-5286-pfcp-function-features
Open

shazop wants to merge 1 commit into
secdev:masterfrom
shazop:fix-5286-pfcp-function-features

Conversation

@shazop

@shazop shazop commented Nov 30, 2026

Copy link
Copy Markdown

Description

Updates IE_UPFunctionFeatures (IE type 43) and IE_CPFunctionFeatures (IE type 89) in scapy/contrib/pfcp.py with length-conditional feature bitfields per 3GPP TS 29.244 V20.1.0 (29244-k10.docx in https://www.3gpp.org/ftp/Specs/archive/29_series/29.244/29244-k10.zip):

  • Clause 8.2.25, Table 8.2.25-1 (UP Function Features): defines octets 5-16 (including octet 6 bit 8 EPFAR with a deprecated_fields redirect from spare, octet 7 DPDRA..GCOM including BUNDL, through octet 16 UHRR/SCONE). Hyphenated 3GPP names use underscores (ATSSS_LL, MT_EDT, MPQUIC_UDP, CN_TL, MT_SDT, MPQUIC_IP, MPQUIC_E).
  • Clause 8.2.58, Table 8.2.58-1 (CP Function Features): defines octet 5 (LOAD, OVRL, EPFAR, SSET, BUNDL, MPAS, ARDR, UIAUR) and octet 6 (PSUCC, RPGUR, PAPFD, plus 5 spare bits).

When length is omitted during packet construction, the base Supported-Features octets (2 octets for UP, 1 octet for CP) are emitted by default and extended up to the highest octet with an explicitly set field.

fixes #5286

… IEs

Define the 3GPP TS 29.244 V20.1.0 feature bitmasks for IE_UPFunctionFeatures (clause 8.2.25, octets 5-16) and IE_CPFunctionFeatures (clause 8.2.58, octets 5-6) as length-conditional fields.

AI-Assisted: yes (Arena.ai)
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.

contrib/pfcp: UP and CP Function Features IEs lack later feature bits such as BUNDL

1 participant