wmnsk / go-pfcp

PFCP (Packet Forwarding Control Protocol) in pure Go.
MIT License
125 stars 56 forks source link

Fix bad handling of PFD Content IE #106

Closed john721 closed 2 years ago

john721 commented 2 years ago

3 test cases added:

  1. PFD Content with only 2 octets payload ("Flag" + "Spare"), no FD, no URL.... when PFD is deleted.
  2. Add NodeID to case1
  3. With longer FD & AFD.
john721 commented 2 years ago

pfdMgmtReq.pcap.zip Attached file contains 2 packets, they are:

  1. case 2 : "Empty PFDContent + NodeID"
  2. case 3 : "PFDContent(FD + AFD) + NodeID" Please view the packet file with up-to-date Wireshark (e.g. Version 4.0.0), older Wireshark versions may mark 1st packet as malformed.