Can Wireshark capture serial port data?
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.
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.