[BGPCEP-706] Fail to serialize packet-length properly in BGP flowspec Created: 23/Oct/17  Updated: 02/Jul/18  Resolved: 02/Jul/18

Status: Resolved
Project: bgpcep
Component/s: BGP
Affects Version/s: None
Fix Version/s: Oxygen

Type: Bug Priority: Medium
Reporter: Kevin Wang Assignee: Kevin Wang
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File port_179_corrected.cap    

 Description   

ODL failed to properly serialize the packet-length in flowspec.
For packet-length, there is a "end-of-list" bit in operator flags must be set when the length filter is the last filter in the list.

I attached a modified packet capture to show the correct encoding. In the capture, the malformed packet is generated by ODL, where the "end-of-list" is not set. The other good packet has the same packet-length filter, where I fixed the "end-of-list" bit, so wireshark won't complain it's malformed.

This bug will also occur when other numeric operand filter is used, such as dscp



 Comments   
Comment by Kevin Wang [ 30/Oct/17 ]

master: https://git.opendaylight.org/gerrit/#/c/64746/

Comment by Claudio David Gasparini [ 07/Nov/17 ]

https://git.opendaylight.org/gerrit/#/q/topic:BGPCEP-706

Generated at Wed Feb 07 19:13:53 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.