Discussion:
Abillity to sniff serial line with wireshark?
J. Büsch
2010-03-02 12:28:14 UTC
Permalink
Hey folks,

I have a question concerning the abillity to sniff the serial line with
wireshark.
We have a special hardware radio that is connected via serial link.
Airframes are encapsulated in serial packets.

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

Thanks for your help!
Best regards,
J.Büsch
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <wireshark-dev-IZ8446WsY0/***@public.gmane.org>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request-IZ8446WsY0/***@public.gmane.org?subject=unsubscribe
Steve Karg
2010-03-02 15:31:09 UTC
Permalink
Hello J.Büsch,
Post by 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/
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <wireshark-dev-IZ8446WsY0/***@public.gmane.org>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request-IZ8446WsY0/***@public.gmane.org?subject=unsubscribe
Loading...