Код: Выделить всё
FreeBSD 10.1
Quad CPU Q9550
RAM 8Gb
utm5-3.002
Инфо по траффику передается конструкцией вида
Код: Выделить всё
/sbin/ipfw add netgraph 181 ip from any to any in
/usr/sbin/ngctl mkpeer ipfw: netflow 181 iface0
/usr/sbin/ngctl name ipfw:181 netflow
/usr/sbin/ngctl connect ipfw: netflow: 180 out0
/usr/sbin/ngctl msg netflow: settimeouts { inactive=30 active=600 }
/usr/sbin/ngctl mkpeer netflow: ksocket export inet/dgram/udp
/usr/sbin/ngctl msg netflow:export connect inet/127.0.0.1:9996
/usr/sbin/ngctl msg netflow: setdlt { iface=0 dlt=12 }
/usr/sbin/ngctl msg netflow: setifindex { iface=0 index=5 }
при траффике в 30k
Код: Выделить всё
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
9677 root 25 20 0 207M 109M select 0 19:12 94.48% utm5_core
Код: Выделить всё
kern.ipc.maxsockbuf=20485760
net.inet.udp.recvspace=10485760
net.local.dgram.recvspace=10485760
net.inet.udp.maxdgram=100000
Код: Выделить всё
nfbuffer_bufsize=10485760