-sersniff 0.0.3 - A program to tunnel between 2 serial ports and show
+sersniff 0.0.4 - A program to tunnel between 2 serial ports and show
what's happening.
Copyright 1999 Jonathan McDowell for Project Purple.
http://www.earth.li/projectpurple/progs/sersniff.html
Command line options:
-sersniff [-h] [-i DEVICE | -l PORT] [-o DEVICE | -c HOST:PORT] [-b BAUD] [-s]
+sersniff [-h] [-i DEVICE ] [-o DEVICE] [-b BAUD] [-s] [-n] [-w USECS]
-h
Displays some command line option help.
-i IN_DEV
- Set the device to use for Port1, if you're using serial ports.
- Default of /dev/ttyS0
-
--l PORT
- Set the port to listen on, if you want Port1 to be a TCP socket.
+ Set the device to use for Port1. Default of /dev/ttyS0. If you want
+ to listen on a TCP port then use the format :port. If there's a / in
+ the string then it will always be treated as a device rather than a
+ port to listen on.
-o OUT_DEV
- Set the device to use for Port2, if you're using serial ports.
- Default of /dev/ttyS1
-
--c HOST:PORT
- Specify the host and port to connect to if Port2 is to be a TCP
- socket.
+ Set the device to use for Port2. Default of /dev/ttyS1. If you want
+ to connect to a TCP port then use the format host:port. Again if
+ there's a / in the string then it will always be treated as a device.
-b BAUD
Specify baud rate for serial connections. Defaults to 19200.
Make sersniff not copy data between the two ports - useful if a
Y cable is being used for serial port sniffing for example.
+-n
+ Don't do any port configuration.
+
+-w USECS
+ How many microsecs to wait before reporting a delay.
+
+-x
+ Show hex characters instead of normal ASCII characters.
+
+-f
+ Specify the format string that should be used to print hex characters.
+
TCP/serial things: