Can Wireshark capture serial port data?

asked 2022-10-13 12:09:05 +0000

dac777 gravatar image

I have used Wireshark for may Ethernet based projects, so I am familiar with it in that space.

However, I would like to capture, parse, and display packets received on a serial port, which are formatted in a proprietary protocol.

Can Wireshark be configured to do this?


edit retag flag offensive close merge delete


I am not aware of direct serial port access available within Wireshark/tshark/dumpcap, and appears this question has come up before:

For troubleshooting (i.e. non-production use), I have solved this problem with tools like socat (for example, something like: and then a custom LUA dissector. As much as serial ports are old and slow, they are still around in my sandbox so if you come up with a good solution please share.

Bob Jones gravatar imageBob Jones ( 2022-10-13 14:02:06 +0000 )edit