Wireshark mailing list archives
Re: Preparing to Write Dissector for New IPv6 Destination Option
From: Hadriel Kaplan <hadrielk () yahoo com>
Date: Mon, 6 Jul 2015 13:32:33 -0400
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
Attachment:
pdm.lua
Description:
On Jul 6, 2015, at 9:15 AM, Nalini Elkins <nalini.elkins () 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-request () 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-request () wireshark org?subject=unsubscribe
Current thread:
- Preparing to Write Dissector for New IPv6 Destination Option Nalini Elkins (Jul 06)
- Re: Preparing to Write Dissector for New IPv6 Destination Option Hadriel Kaplan (Jul 06)
- Re: Preparing to Write Dissector for New IPv6 Destination Option Nalini Elkins (Jul 06)
- Re: Preparing to Write Dissector for New IPv6 Destination Option Hadriel Kaplan (Jul 06)
- Re: Preparing to Write Dissector for New IPv6 Destination Option Nalini Elkins (Jul 06)
- Re: Preparing to Write Dissector for New IPv6 Destination Option Hadriel Kaplan (Jul 06)
- Re: Preparing to Write Dissector for New IPv6 Destination Option Nalini Elkins (Jul 06)
- Re: Preparing to Write Dissector for New IPv6 Destination Option Nalini Elkins (Jul 06)
- Re: Preparing to Write Dissector for New IPv6 Destination Option Hadriel Kaplan (Jul 06)