serialsnoop is a command-line tool for Linux that echoes bytes to and from any two serial ports, PTYs, or network sockets.
Version: 0.4serialsnoop is a command-line tool for Linux that echoes bytes to and from any two serial ports, PTYs, or network sockets , and prints all traffic to stdout in hex and ASCII.
Operating System: Linux
to install (binary, debian):
get the latest x86 .deb file and dpkg -i the thing.
to install (from source):
you'll need linux. the code uses non-portable linux-isms in the network socket code. this is fixable, but i haven't done it yet. for now, it's a penguin-only thing.
get the source and untar it.
get my utility header file and put it either in the source tree or somewhere else in your include path
type "make". hopefully it will build for you
"./sersnoop -h" will get you the help. you can specify two fd's to listen to: -a and -b. either or both of these can be a network socket, a physical tty, or a virtual pty.
or, on debian systems, to build from source, you can grab the source package files and build from them.