Michael Robinton > Net-Connection-Sniffer-0.36 >
Net::Connection::Sniffer    Annotate this POD  View/Report Bugs
Module Version: 0.36   Source     Net::Connection::Sniffer --
gather stats on network connections     use
Net::Connection::Sniffer;    Net::Connection::Sniffer is a perl
module to gather connection statistics by listening to ethernet
traffic. Traffic is filtered using standard BPF notation as
described in the tcpdump documentation and implemented using the
standard pcap library to sniff packets on host network
interfaces.   Create a directory with appropriate permissions
for the pid file and the profile statistics dump file. Typical
installation:    mkdir -p /var/run/nc.sniffer  Edit the
nc.sniffer.pl.sample file to change or set the following:    my
$config = {    # specify the directory for the pid file for this
daemon.   # The directory must exist and have writable
permissions.   # [required]         piddir  =>
'/var/run/nc.sniffer',    # specify the directory for the
statistics file for this