Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2007 15:13:22 +0100
From:      Olivier Regnier <oregnier@steelbox.org>
To:        freebsd-questions@freebsd.org
Subject:   freebsd/pf with pfstat
Message-ID:  <45E19982.4080205@steelbox.org>

next in thread | raw e-mail | index | archive | help
hello,

Im currently running on FreeBSD 6.2 with pf (packet filter). I installed
pfstat that collects packet filter statistic and produces graphs.

I added this line in my pf.conf and i restarted pf:
set loginterface $int_if

next step, i created pfstat.conf:

# bandwidth = 1 hour
collect 1 = interface "ndis0" pass bytes in ipv4 diff
collect 2 = interface "ndis0" pass bytes in ipv4 diff

image "/var/stats/pf/bytes_1hour.png {
from 1 hours to now
width 350 height 135
left
    graph 1 bps "in" "bits/s" color 0 192 0 filled
right
    graph 2 bps "out" "bits/s" color 0 0 255
}

i tested pfstat with this command in root:
pfstat -q

and nothing, my pfstat.log in /var directory is empty. I can't create
graphs. Can you help me please ?

Thank you :)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45E19982.4080205>