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] 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/