Watching serial port activity.
Sergei Organov
osv at javad.com
Wed May 31 01:14:03 EDT 2006
Grant Edwards <grante at visi.com> writes:
> On 2006-05-30, TheSeeker <duane.kaufman at gmail.com> wrote:
>
>> Have you looked into slsnif
>> (http://www.dakotacom.net/~ymg/software.html)
>
> FYI, slsnif won't work for any serial program that needs to use
> parity, 7 data bits, or any of the modem control/status lines.
>
> Since all of the serial applications I use need to use actual
> serial ports, I've never found slsnif to be useful. It's
> really a shame that pty devices don't support the same set of
> ioctl calls that tty devices do.
It seems that sniff on a real tty device could be implemented using the
same technique strace uses to intercept and show syscalls, though I'm
not aware of any sniffer application that does it.
--
Sergei.
More information about the Python-list
mailing list