First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

How do I go about adding a new protocol

  • retag add tags

I'd like to add the work ongoing here

https://djl-analysis.deepsymmetry.org...

into wireshark, so that CDJ packets are rendered as such. All packets have a magic number and hardcoded ports so they should be quite easy to spot.

I have a quick hunt around the wiki and src code but I dont see where to get started.

Is there a packet dscription format or do we write C/C++?

teknopaul's avatar
1
teknopaul
asked 2021-02-21 18:36:11 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

There are a number of options when adding a new dissector, some of them are discussed in my SharkFest presentation How to write a Dissector.

If using C (note C++ is not currently supported for dissectors) or Lua, then the Wireshark Developers Guide and the various README.xxx files in the source tree doc directory are essential reading.

grahamb's avatar
23.8k
grahamb
answered 2021-02-22 10:08:31 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

There is already an enhancement request to implement this protocol: https://gitlab.com/wireshark/wireshar...

Uli's avatar
1.1k
Uli
answered 2021-02-25 07:35:35 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer