ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Redirecting Wireshark output through a socket

From: Eloy Paris <peloy@xxxxxxxxxx>
Date: Thu, 15 Oct 2009 18:54:26 -0400
On 10/15/2009 06:32 PM, Stephen Fisher wrote:

On Oct 15, 2009, at 12:30 PM, Jeff Morriss wrote:

In that case you should probably use 'tshark' and you could (I suppose
this would work on Windows) do something like:

tshark -V -r /some/cap/file | the_other_analyzer

though I doubt that the commercial tool will really understand this
output...

... and the text is subject to change occasionally

There's also Packet Details Markup Language (PDML) output, selected via tshark's -T option. Since it's an XML-based format it may be easier to parse. If the commercial tool does not understand the output then the original poster could write a simple application to translate PDML to something that the commercial tool understands. The -T option has other options that may be useful, so it is probably something worth looking into.

Cheers,

Eloy Paris.-
netexpect.org