Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Dissectors Calling Libraries/Making Network Requests

From: Billy Prin <billy3045@xxxxxxxxx>
Date: Tue, 9 Nov 2010 09:51:51 -0500
Hi,

I am writing my first dissector for an internal protocol. Part of the protocol is based on a spec that must be obtained via a web service based on its ID. So in order to obtain the information needed to dissect the data I need to make a web request to the service. What I'd like to do is just use something like curl in my dissector to send a request when the tree is opened to dissect the payload data.  There would probably need to be a different request for any two packets. The request should be fast but I can't guarantee that.  I wasn't sure if this was a reasonable idea and if there are any stumbling blocks I should be aware of. Thanks a lot if anyone has advice.

Bill Prin