天天看點

snoop 抓包

例子:snoop -d hme1 -ta -x 54 192.168.30.150 and port 23520 and tcp

 參數簡介: 

[ -a ] # Listen to packets on audio 

[ -d device ] # settable to le?, ie?, bf?, tr? 

[ -s snaplen ] # Truncate packets 

[ -c count ] # Quit after count packets 

[ -P ] # Turn OFF promiscuous mode 

[ -D ] # Report dropped packets 

[ -S ] # Report packet size 

[ -i file ] # Read previously captured packets 

[ -o file ] # Capture packets in file 

[ -n file ] # Load addr-to-name table from file 

[ -N ] # Create addr-to-name table 

[ -t r|a|d ] # Time: Relative, Absolute or Delta 

[ -v ] # Verbose packet display 

[ -V ] # Show all summary lines 

[ -p first[,last] ] # Select packet(s) to display 

[ -x offset[,length] ] # Hex dump from offset for length 

[ -C ] # Print packet filter code