流量统计darkstat


流量统计darkstat
--------------------------------------------------------------------------------
install
cd /usr/ports/net/darkstat
make install clean
cp darkstat.db /root/
--------------------------------------------------------------------------------
startup
# /usr/local/sbin/darkstat -i fxp0 -d /root &
darkstat v1.1 using libpcap v2.4
Sniffing on device fxp0, local IP is 211.75.215.107
Loaded hosts.
Loaded protocols.
Loaded ports.
Loaded graphs.
Firing up threads...
Capturing traffic...
Point your browser to http://localhost:666/ to see the stats.
DNS: Thread is awake.
WWW: Thread is awake and awaiting connections.
--------------------------------------------------------------------------------
browse
http://localhost:666/
界面不错。
原文地址:https://www.cnblogs.com/studio313/p/1276212.html