plan9 man page for snoopy

Query: snoopy

OS: plan9

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SNOOPY(8)						      System Manager's Manual							 SNOOPY(8)

NAME
snoopy - spy on Ethernet packets
SYNOPSIS
snoopy [ -abceiltup9 ] [ -np ] [ -N count ]
DESCRIPTION
Snoopy displays the header and first 20 data bytes of packets received from the local Ethernet. The packets displayed depend on the options chosen. The following options each select packets from a particular protocol. If more than one flag is given, packets from all those protocols are displayed. a ARP b BOOTP c ICMP e all Ethernet packets i IP l IL t TCP u UDP By default all addresses are translated into system names. The option n suppresses this. Snoopy runs in promiscuous mode by default, displaying all packets it can capture from the Ethernet. The option p causes only packets sent to or from the system snoopy is running on to be displayed. Option 9 causes the data of TCP and IL messages to be interpreted and displayed as 9P messages. The N option sets the count (default 20) of the number of bytes to dump in hexadecimal from each packet.
FILES
/net/ether Ethernet device
SOURCE
/sys/src/cmd/ip/snoopy.c
BUGS
The CPU servers do not take well to running in promiscuous mode. If run on them, snoopy may kill their Ethernets. SNOOPY(8)
Related Man Pages
pppstats(8) - linux
pppstats(8) - debian
randpkt(1) - centos
spray(1m) - sunos
spray(1m) - debian
Similar Topics in the Unix Linux Community
promiscuous mode machines
osiping
Script to check good compilation of packets
Capturing bad packets
Ethernet programming (not MAC, LLC, but Preamble, SFD and FCS)