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?

Thanks.

edit retag flag offensive close merge delete

Comments

I am not aware of direct serial port access available within Wireshark/tshark/dumpcap, and appears this question has come up before: https://osqa-ask.wireshark.org/questions/23243/how-do-you-capture-serial-com-communications/

For troubleshooting (i.e. non-production use), I have solved this problem with tools like socat (for example, something like: https://www.digi.com/support/knowledg...) 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