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

I want to write a new dissector. Should I use the development source or the latest version source. What's the difference?

  • retag add tags

I am new to working with wireshark code and am not sure why I would want to use the older version development source.

tlofton1's avatar
1
tlofton1
asked 2018-10-17 12:15:54 +0000
cmaynard's avatar
11.1k
cmaynard
updated 2018-10-17 14:34:22 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Basically it depends on what you're intending to do with the dissector.

If you're keeping it private, within a company you may want to just run the stable release version.

If you're going to submit the dissector back to the Wireshark project, then as per the Wireshark Development Submitting Patches wiki page, you should base your change off master (i.e. development). Bug fixes only can be backported to the stable versions, a new dissector will only be in the development version until that's released (see the LifeCycle wiki page for more notes about releases and backports) .

grahamb's avatar
23.8k
grahamb
answered 2018-10-17 12:35:03 +0000
edit flag offensive 0 remove flag delete link

Comments

Thank you for the quick response. This will be for troubleshooting equipment that uses Ethernet to communicate between the devices on a closed network. It is a locally developed protocol and would be of no value to anyone else. For that reason it will remain private.

tlofton1's avatar tlofton1 (2018-10-17 12:40:49 +0000) edit

Then it's up to you. If you're likely to want to maintain it in future and use with newer Wireshark versions, then probably best to start with the dev sources. The drawback of the dev sources is that things change rapidly, sometimes lots of changes in a short time so if you're tracking against master you might have more rework to do. Having said that the API that a dissector uses seems fairly stable at the moment.

grahamb's avatar grahamb (2018-10-17 13:05:24 +0000) edit

My own 2 cents: For internal dissectors that I maintain, I stick with the latest stable release, and then migrate to the next stable release whenever it comes out, usually once per year. There usually aren't that many changes that need to be made when migrating, and by sticking with the latest stable release, I avoid any changes occurring in development that may or possibly may not make it into the next stable release.

cmaynard's avatar cmaynard (2018-10-17 14:33:48 +0000) edit
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