Hello, I'm using Wireshark to capture Netflow v9 flow exports of MPLS encapsulated packets. For packets that have multiple labels (e.g. L3VPN traffic), it seems that Wireshark is showing the bottom label (the one that has the bottom of stack bit set to 1), as "top of stack." Is this a typo in the decoder? I uploaded a screenshot here: http://imgur.com/4pnfk6S Thanks, Chris asked 27 Aug '14, 10:58 mplspackets |
One Answer:
Can you confirm the actual hex (undecoded) that make up the label headers? It's a bit to navigate but it looks like the function being called on each label header starts at line 1493 of file "packet-netflow.c". That function seems to be checking that bit value to see if it's set, and I think you're right (looks like the logic is to add the text "top-of-stack" if the "bottom-of-stack" bit is set). I suggest commenting on this in Wireshark's bugzilla page at: https://bugs.wireshark.org/bugzilla/ For reference, the code there is:
answered 27 Aug '14, 17:44 Quadratic |
Here's the hex for each label field in the flow export: http://imgur.com/a/FaTso#0
I went ahead and filed a bug 10458. Thanks for your help!
Fixed; See https://code.wireshark.org/review/#/c/4067/