当前位置: 首页 >> Tag标签为 'Flow-tools'

IP 流量统计排行榜 ( netflow TopN ) 简易速成法

安装 /usr/ports/net-mgmt/flow-tools 后在 /etc/rc.conf 加入如下设定:flow_capture_enable=”YES”
flow_capture_datadir=”Directory
flow_capture_remoteip=”192.168.1.1
flow_capture_port=”9991
flow_capture_flags=”-e 1440 -N 0 -n 143 -z 6
可用内建指令做各种 netflow TopN 统计:底下以县网为例,因县网有二个 Interface 对外 ( 编号 83,93 ) ,各是 1G 线路,因此做 TopN 的指令如下:
Read the rest of this entry »