This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Hi, i have created a Dissector for some new protocols. Now i have to build a continious integration job with Jenkins, where i have to test if the plugin is working correctly. So i thought i can use tshark to dissect a pcap file and than build an job which is checking the createt xml if the dissection was successfull.

Now i have the problem, that tshark isnt loading my plugin. Is tshark able to load plugins? If yes, how do i load plugins with tshark?

greetings Christina

asked 30 Sep '14, 05:29

Venturina's gravatar image

Venturina
1779
accept rate: 0%


tshark uses the same plugins as Wireshark, and loads them in the same manner. tshark is also used in this way in the Wireshark CI build tests, see the test directory of the Wireshark sources for some test script examples.

As to your actual issue, it's likely that your CI environment isn't placing the built plugin in the correct place for the copy of tshark that is being run by the tests to load.

permanent link

answered 30 Sep '14, 05:53

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

Thanks, it works now.

(01 Oct '14, 01:43) Venturina

If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.

(01 Oct '14, 01:50) grahamb ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×832
×637
×173

question asked: 30 Sep '14, 05:29

question was seen: 2,697 times

last updated: 01 Oct '14, 01:50

p​o​w​e​r​e​d by O​S​Q​A