Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.sbin/tcpdump pull up rev 1.10 from trunk via patch ...



details:   https://anonhg.NetBSD.org/src/rev/12c80e521ca7
branches:  netbsd-1-4
changeset: 469573:12c80e521ca7
user:      cgd <cgd%NetBSD.org@localhost>
date:      Mon Oct 11 05:39:16 1999 +0000

description:
pull up rev 1.10 from trunk via patch (requested by sjg):
  Add telnet option printing and hex/ascii dumps to tcpdump.

diffstat:

 usr.sbin/tcpdump/tcpdump.8 |  22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)

diffs (55 lines):

diff -r 245b610ead7c -r 12c80e521ca7 usr.sbin/tcpdump/tcpdump.8
--- a/usr.sbin/tcpdump/tcpdump.8        Mon Oct 11 05:39:09 1999 +0000
+++ b/usr.sbin/tcpdump/tcpdump.8        Mon Oct 11 05:39:16 1999 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: tcpdump.8,v 1.8 1998/08/17 17:51:54 msaitoh Exp $
+.\" $NetBSD: tcpdump.8,v 1.8.2.1 1999/10/11 05:39:16 cgd Exp $
 .\"
 .\" @(#) Header: tcpdump.1,v 1.67 97/06/30 16:31:50 leres Exp  (LBL)
 .\"
@@ -29,7 +29,7 @@
 .na
 .B tcpdump
 [
-.B \-adeflnNOpqStvx
+.B \-adeflnNOpqStvxX
 ] [
 .B \-c
 .I count
@@ -202,11 +202,19 @@
 .B \-v
 (Slightly more) verbose output.  For example, the time to live
 and type of service information in an IP packet is printed.
+Telnet options are printed.
 .TP
 .B \-vv
 Even more verbose output.  For example, additional fields are
 printed from NFS reply packets.
 .TP
+.B \-vvv
+Even more verbose output.  For example,
+telnet \fBSB\fP ... \fBSE\f options
+are printed in full.  With
+.B \-X
+telnet options are printed in hex as well.
+.TP
 .B \-w
 Write the raw packets to \fIfile\fR rather than parsing and printing
 them out.  They can later be printed with the \-r option.
@@ -217,6 +225,16 @@
 The smaller of the entire packet or
 .I snaplen
 bytes will be printed.
+.TP
+.B \-X
+When printing hex, print ascii too.  Thus if
+.B \-x
+is also set, the packet is printed in hex/ascii.
+This is very handy for analysing new protocols.
+Even if
+.B \-x
+is not also set, some parts of some packets may be printed
+in hex/ascii.
 .IP "\fI expression\fP"
 .RS
 selects which packets will be dumped.  If no \fIexpression\fP



Home | Main Index | Thread Index | Old Index