From owner-freebsd-questions@FreeBSD.ORG Sun Feb 25 14:13:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCE3416A402 for ; Sun, 25 Feb 2007 14:13:18 +0000 (UTC) (envelope-from oregnier@steelbox.org) Received: from 30.mail-out.ovh.net (30.mail-out.ovh.net [213.186.62.213]) by mx1.freebsd.org (Postfix) with SMTP id 2035013C4B5 for ; Sun, 25 Feb 2007 14:13:17 +0000 (UTC) (envelope-from oregnier@steelbox.org) Received: (qmail 17200 invoked by uid 503); 25 Feb 2007 14:13:32 -0000 Received: (QMFILT: 1.0); 25 Feb 2007 14:13:32 -0000 Received: from b6.ovh.net (HELO mail54.ha.ovh.net) (213.186.33.56) by 30.mail-out.ovh.net with SMTP; 25 Feb 2007 14:13:32 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 25 Feb 2007 14:13:06 -0000 Received: from mac76-2-82-241-6-173.fbx.proxad.net (HELO ?192.168.1.3?) (postmaster@steelbox.org@82.241.6.173) by ns0.ovh.net with SMTP; 25 Feb 2007 14:13:04 -0000 Message-ID: <45E19982.4080205@steelbox.org> Date: Sun, 25 Feb 2007 15:13:22 +0100 From: Olivier Regnier User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Ovh-Remote: 82.241.6.173 (mac76-2-82-241-6-173.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.5/N Subject: freebsd/pf with pfstat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 14:13:18 -0000 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 :)