I have finished developing(on Ubuntu 12.4) my second dissector for Wireshark as a plugin and made a patch file(.diff). However, when I went to patch the Wireshark source, obtained by 'svn co http://anonsvn.wireshark.org/wireshark/trunk/', the patch failed because the source had been updated to not include one of the plugins it used to and that I have on my main computer("giop" is the name). I know a way to fix this issue, I will just go in manually and add my dissectors as plugins but this defeats the whole purpose of the patch file. The version of the source on my main computer is only a month or two old. Is there any better way to make a patch file or something like it? I would hate to have to go through manually every month or so and re add all my dissectors.
My thought right now is to just download the source and save it to my drive and use the same source every time when I want to put it on a new computer. Any other ideas or critiques of mine would be greatly appreciated!
asked 10 Jul '12, 07:45
Correct: the stable/release versions are, well, more stable (meaning: less things change) so sticking to a release branch (the current one is trunk-1.8) is a good idea.
An even better idea would be to clean up your dissector and submit it to Wireshark so maintaining it becomes the core developers' job. :-)
(That being said, yes, I, too, maintain a number of "private" dissectors; I usually figure the punishment for this "sin" is having to maintain them myself.)
Also: the GIOP dissector did not go away, it was simply moved from being a plugin to being a built-in dissector (in epan/dissectors/ instead of plugins/giop).
answered 10 Jul '12, 12:21