Browse Source

Plan 9 from Bell Labs 2007-01-27

David du Colombier 17 years ago
parent
commit
fec370a6c8
4 changed files with 17 additions and 6 deletions
  1. 1 1
      dist/replica/_plan9.db
  2. 1 1
      dist/replica/plan9.db
  3. 1 0
      dist/replica/plan9.log
  4. 14 4
      sys/man/8/snoopy

+ 1 - 1
dist/replica/_plan9.db

@@ -7760,7 +7760,7 @@ sys/man/8/secstore - 664 sys sys 1105016705 1954
 sys/man/8/securenet - 664 sys sys 954305552 3160
 sys/man/8/send - 664 sys sys 1045501634 2168
 sys/man/8/smtp - 664 sys sys 1147439305 4499
-sys/man/8/snoopy - 664 sys sys 1146318297 4288
+sys/man/8/snoopy - 664 sys sys 1169851832 4442
 sys/man/8/stats - 664 sys sys 1161483511 4336
 sys/man/8/statusbar - 664 sys sys 1159419702 1254
 sys/man/8/stub - 664 sys sys 1044830500 943

+ 1 - 1
dist/replica/plan9.db

@@ -7760,7 +7760,7 @@ sys/man/8/secstore - 664 sys sys 1105016705 1954
 sys/man/8/securenet - 664 sys sys 954305552 3160
 sys/man/8/send - 664 sys sys 1045501634 2168
 sys/man/8/smtp - 664 sys sys 1147439305 4499
-sys/man/8/snoopy - 664 sys sys 1146318297 4288
+sys/man/8/snoopy - 664 sys sys 1169851832 4442
 sys/man/8/stats - 664 sys sys 1161483511 4336
 sys/man/8/statusbar - 664 sys sys 1159419702 1254
 sys/man/8/stub - 664 sys sys 1044830500 943

+ 1 - 0
dist/replica/plan9.log

@@ -47448,3 +47448,4 @@
 1169753407 0 c sys/games/lib/fortunes - 664 sys sys 1169753249 262807
 1169753407 1 c sys/src/cmd/ls.c - 664 sys sys 1169752489 5640
 1169784006 0 c 386/bin/ls - 775 sys sys 1169783949 82470
+1169852405 0 c sys/man/8/snoopy - 664 sys sys 1169851832 4442

+ 14 - 4
sys/man/8/snoopy

@@ -17,7 +17,7 @@ snoopy \- spy on network packets
 ] [
 .B -h first-header
 ] [
-packet-file
+packet-source
 ]
 .PP
 .B snoopy
@@ -28,12 +28,22 @@ packet-file
 .SH DESCRIPTION
 .PP
 .I Snoopy
-reads packets from a packet source (default
+reads packets from a
+.I packet-source
+(default
 .BR /net/ether0 ),
 matches them to a filter (by default anything matches), and writes
 matching packets to standard output either in human readable form (default)
-or in a binary trace format that can be reinput to
+or in a binary trace format that can be later read by
 .IR snoopy .
+.I Packet-source
+can be the name of an Ethernet
+(e.g.,
+.BR /net/ether0 ),
+an interface
+(e.g.,
+.BR /net/ipifc/0 ),
+or a file of captured packets.
 .PP
 The human readable format consists of multiple lines per packet.
 The first line contains the milliseconds since the
@@ -194,7 +204,7 @@ later display those to/from TCP port 80:
 .EE
 .SH FILES
 .TP
-.B /net/ether
+.B /net/ether0
 Ethernet device
 .SH SOURCE
 .B /sys/src/cmd/ip/snoopy