Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > e170e38d6232f0e58af6f338c6a714a1 > files > 35

netsniff-ng-0.5.5.0-0.4.211svn.fc13.i686.rpm

#!/bin/sh
#
# More stuff: man netsniff-ng
#
#  Start sniffing in deamon mode on device eth0 
#  for ICMP messages and print stats to terminal:
#

netsniff-ng -d eth0 -f /etc/netsniff-ng/rules/icmp.bpf -D -P /var/run/netsniff-ng.pid -L /var/log/netsniff-ng.log -S /tmp/netsniff-ng.uds

# do a kill -USR1 <netsniff-ng process id> to bring the current stats to your term