Ask Your Question
0

G.hn packets docoder

asked 2017-12-24 17:22:27 +0000

Is their any plugin in wireshark to decode G.hn packets. So we can see G.hn specific parameter like Device ID (DID), Domain Name etc.

G.hn is a protocol to transmit data packets over a copper wire.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-12-24 20:48:03 +0000

Guy Harris gravatar image

G.hn is a protocol to transmit data packets over a copper wire.

So is Ethernet. :-)

What you mean is "G.hn is a protocol to transmit data packets over "premises wiring including inside telephone wiring, coaxial cable, and power-line wiring", to quote G.9961.

Is their any plugin in wireshark to decode G.hn packets.

I don't know of any.

Furthermore:

All packets that Wireshark can decode must be in some form of traffic capture file.

In what form are the G.hn packets? Are they encapsulated in some other protocol, or is, for example, G.9961 LLC the lowest-level protocol in those frames?

In the first case, any G.hn dissector would have to register itself with that other protocol, so as to see the packets. That would require knowing what the other protocol is, and how the G.hn frames encapsulated.

In the second case, either:

  • the traffic capture file format is an existing file format supported by Wireshark, in which case we would have to know how G.hn frames (as opposed to, for example, Ethernet or 802.11 or PPP or... frames) are indicated, and modify the code to read those files to indicate "this is a G.hn frame";

  • the traffic capture file format is a new format that Wireshark currently doesn't support, in which case we'd need a specification for that file format, so that we could add code to Wireshark to read those files, or, if no such specification is available, we would need several files of that format, and detailed dissections by some other program that reads those files of the files, so we can reverse-engineer it;

  • there isn't currently a file format that supports G.hn, in which case we would have to add support to the only file formats over which we have any control, namely pcap and pcapng, by adding a new link-layer header type, and then adding support for that in Wireshark.

Once that's done, a dissector for G.hn frames could be added.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2017-12-24 17:22:27 +0000

Seen: 660 times

Last updated: Dec 24 '17