Home > Uncategorized > Считаем трафик через ipacctd

Считаем трафик через ipacctd

February 1st, 2009 Leave a comment Go to comments

/usr/ports/net-mgmt/ipacctd

/etc/rc.conf:

1
2
3
4
5
ipacctd_enable="YES"
ipacctd_flags="-v"
ipacctd_rules="all"
ipacctd_rule_all_flags="-p 10000 -f /var/log/ipacctd/ipacct.%F"
ipacctd_rule_all_pid="/var/run/ipacctd.pid"

/etc/rc.firewall:

1
${fwcmd} 3 add divert 10000 ip from any to any

http://www.lissyara.su/?id=1134

Tags:
  1. No comments yet.
  1. No trackbacks yet.