It looks like this parsing is done with gopacket. The modification to display MPTCP instead of unknown-30 is easy, see https://github.com/gopacket/gopacket/pull/63. But it might be better to display more info about the options, similar to what TCPDump is doing. For that, there is https://github.com/gopacket/gopacket/pull/66, but it is still waiting for a review.
Hello,
Thank you for developing this nice project!
It is very useful, but in my case, I cannot use it because it doesn't support MPTCP which is what I'm working on for the moment:
When I use the -v option, we can now see
unknown-30
, because MPTCP is using the TCP option 30.FYI, here is the output with
tcpdump
:It looks like this parsing is done with gopacket. The modification to display MPTCP instead of
unknown-30
is easy, see https://github.com/gopacket/gopacket/pull/63. But it might be better to display more info about the options, similar to what TCPDump is doing. For that, there is https://github.com/gopacket/gopacket/pull/66, but it is still waiting for a review.Because you are already maintaining a fork of gopacket, do you think you could include this PR https://github.com/gopacket/gopacket/pull/66 into your fork to support MPTCP? :)