Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LINKTYPE_MCTP/DLT_MCTP and LINKTYPE_PCI_DOE/DLT_PCI_DOE #990

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jyao1
Copy link

@jyao1 jyao1 commented Jan 28, 2021

Those are media type for DMTF Secure Protocol and
Data Model (SPDM) messages.

Those are media type for DMTF Secure Protocol and
Data Model (SPDM) messages.
@mcr mcr requested a review from guyharris January 28, 2021 13:35
Copy link
Member

@mcr mcr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's annoying not to have a PCISIG reference, but I think that we can perhaps live with that.

@infrastation
Copy link
Member

This DLT request has been in the queue for a while.

@infrastation
Copy link
Member

The MCTP link-layer header includes neither the medium-specific header nor the medium-specific trailer, correct?

@guyharris
Copy link
Member

DMTF Secure Protocol and Data Model (SPDM) messages

Presumably that's the DMTF Security Protocol and Data Model (SPDM).

If so, presumably the packet contents for LINKTYPE_MCTP are described by section 4.7.1 "Generic SPDM message format", so the first octet of packet data is an octet containing the SPDM major and minor versions, followed by an octet containing the Request Response Code, and so forth.

@guyharris
Copy link
Member

And presumably LINKTYPE_PCI_DOE is for the PCI Data Object Exchange. Sadly, the PCI SIG allows only members of organizations that are members of the PCI SIG to get at the documents for it, but the entry for it on the link-layer header types page should at least mention the names of the specifications on the PCI SIG Specifications page, so people who work for organizations that are members of the PCI SIG can get at them.

(And note that either tcpdump or Wireshark code to dissect them are subject to changes due to either tcpdump or Wireshark dissector programming interface changes; absent a spec that's available to the public, either for free or for a not-too-unreasonable fee, that runs the risk of the people making the code changes having to make guesses.)

@guyharris
Copy link
Member

You might want to first make a pull request for the link-layer header types page in the tcpdump.org Web site GitHub repository. See the instructions on how to make such an update.

@guyharris
Copy link
Member

Or, rather, make two separate pull requests for the link-layer header types page, one for LINKTYPE_MCTP and one for LINKTYPE_PCI_DOE; there's no reason to tie the two together, as each one can be added without the other.

@mcr
Copy link
Member

mcr commented Aug 6, 2023

(And note that either tcpdump or Wireshark code to dissect them are subject to changes due to either tcpdump or Wireshark dissector programming interface changes; absent a spec that's available to the public, either for free or for a not-too-unreasonable fee, that runs the risk of the people making the code changes having to make guesses.)

tcpdump mostly does not seem to gain new L2 dissectors very often, which is arguably a bug.
wireshark does.
It would be good to have the above sentence as a policy on the wireshark web site.
Myself, I would just drop dissectors when APIs change that don't have accessible specifications :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants