go-upf icon indicating copy to clipboard operation
go-upf copied to clipboard

PFCP Session Establishment Response is encoded incorrectly

Open yoursunny opened this issue 1 year ago • 1 comments

I notice that free5GC UPF is encoding PFCP Session Establishment Response message incorrectly. According to TS 129 244 section 7.5.3.1, the PFCP Session Establishment Response message may contain Created PDR IE (IE Type 8). However, the PFCP Session Establishment Response message sent by free5GC UPF contains Create PDR IE (IE Type 1), which is only allowed in PFCP Session Establishment/Modification Request.

Packet trace: n4n3-free5gc.zip Frame 38 has the incorrectly encoded packet:

Packet Forwarding Control Protocol
    Flags: 0x21, SEID (S)
    Message Type: PFCP Session Establishment Response (51)
    Length: 235
    SEID: 0x0000000000000001
    Sequence Number: 4
    Spare: 0
    Node ID : IPv4 address: 172.25.195.6
    Cause : Request accepted(success)
    F-SEID : SEID: 0x0000000000000001, IPv4 172.25.195.6
    Create PDR : [Grouped IE]: PDR ID: 2
        IE Type: Create PDR (1)
        IE Length: 188
        Create PDR : [Grouped IE]: PDR ID: 1
        Create PDR : [Grouped IE]: PDR ID: 2
    [Response To: 37]
    [Response Time: 0.002743378 seconds]

yoursunny avatar Jul 11 '24 16:07 yoursunny

This is indeed a bug in our program. We will fix it as soon as possible. Thank you for reporting it.

ian60509 avatar Oct 09 '24 05:10 ian60509

#58

andy89923 avatar Oct 15 '24 01:10 andy89923