Try the attached. There is one caveat: it won’t work correctly if you have a IPv6 Destination Options Header with the PDM option but also other option types in that same header.
Also, I have no idea if I did the time scaling correctly. BTW, there’s a bug in the draft: page 8 says for the Options Length field "This field MUST be set to 16.” But really the field must be set to 12, since that’s the length of the PDM option. -hadriel
pdm.lua
Description: Binary data
> > On Jul 6, 2015, at 9:15 AM, Nalini Elkins > > <nalini.elk...@insidethestack.com> wrote: > > > > Hello All, > > > > Please let me know if I should post this to the user's list. > > > > My proposal for a new IPv6 Destination Option was recently adopted by the > > IP Performance Metrics Working Group of the IETF. It is at: > > http://datatracker.ietf.org/doc/draft-ietf-ippm-6man-pdm-option/ > > > > I have started implementation of this on FreeBSD. Of course, one of the > > steps in this process is to write a Wireshark dissector! > > > > I have started with an LUA implementation. (See attached) I am having > > some problems as this is my first time with LUA. > > > > The first problem is that I do not seem to be pointing to the payload of > > the IPv6 Destination Option correctly. The parsing should be for the field > > ipv6.opt.experimental. But, I am not able to make this work. I would > > appreciate any help. > > > > A PCAP is also attached. > > Thanks, > > > > Nalini Elkins > > Inside Products, Inc. > > (831) 659-8360 > > www.insidethestack.com > > <pdmIPSec.pcapng><pdmOriginal.lua>___________________________________________________________________________ > > > > > Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org> > > Archives: https://www.wireshark.org/lists/wireshark-dev > > Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev > > mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe > >
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe