Wireshark-dev: Re: [Wireshark-dev] Abillity to sniff serial line with wireshark?

From: Steve Karg <skarg@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 2 Mar 2010 09:31:09 -0600
Hello J.Büsch,

> Is there any chance to let wireshark open a specific serial port and
> sniff whatever comes on that link?

You can use a named pipe for sniffing serial, but you need to
packetize the serial data first.

Here is the Wiki page about pipes:
http://wiki.wireshark.org/CaptureSetup/Pipes

I wrote a command line utility in C to packetize BACnet MS/TP serial
data, save in pcap format to a file, and forward to a named pipe on
Linux or Windows:
https://bacnet.svn.sourceforge.net/svnroot/bacnet/trunk/bacnet-stack/demo/mstpcap/main.c

Best Regards,

Steve
-- 
http://steve.kargs.net/