Serial Port Sniffing
Hi,
Does anyone have any experience with sniffing data from a serial port w/o the device attached to the serial port or the application having knowledge of this ?
I had found an old kernel module (for 2.2.0, i think) called 'maxty' which would does this. Is there something equivalent for the 2.6.x kernels ?
Or is there a better way to go about doing this?
Signature · 4 lines
Lee [email protected] 13:22:49 up 2 days, 16:50, 2 users, load average: 0.21, 0.07, 0.10
Quoted 5 lines · Lee
Does anyone have any experience with sniffing data from a serial port w/o the device attached to the serial port or the application having knowledge of this ?
I had found an old kernel module (for 2.2.0, i think) called 'maxty' which would does this. Is there something equivalent for the 2.6.x kernels ?
Or is there a better way to go about doing this?
Don't know about software sniffing but hardware sniffing of RS-232 is relatively simple. Splice in a "Y" cable and configure a serial port of another device to listen. Of course, you'll have to configure the serial port to the same rate, parity and stop bits but that's usually easy. Cut the transmit wire on the sniffer side to ensure nothing outbound succeeds in leaving the sniffer machine. Listening to both sides of the conversation would require two sniffer devices, or at least two serial ports.
--
Jeff Woods <[email protected]>