From owner-freebsd-questions@FreeBSD.ORG Mon Nov 6 23:22:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6463116A403 for ; Mon, 6 Nov 2006 23:22:22 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 822A543D55 for ; Mon, 6 Nov 2006 23:22:17 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-2) with ESMTP id kA6NMB1L000478 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 7 Nov 2006 01:22:13 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id kA6NM2np008759; Tue, 7 Nov 2006 01:22:03 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id kA6NM22q008758; Tue, 7 Nov 2006 01:22:02 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 7 Nov 2006 01:22:01 +0200 From: Giorgos Keramidas To: Zbigniew Szalbot Message-ID: <20061106232201.GB8688@kobe.laptop> References: <20061106214652.GA7918@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.526, required 5, AWL -0.13, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20, UNPARSEABLE_RELAY 0.00) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: pf working but no log 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: Mon, 06 Nov 2006 23:22:22 -0000 On 2006-11-06 22:57, Zbigniew Szalbot wrote: > On Mon, 6 Nov 2006, Giorgos Keramidas wrote: >> I think there's a slight misunderstanding here. PF is *not* >> ipfilter, so unless you've done something special it doesn't log to >> ipfilter.log. >> >> Can you show us the exact rc.conf settings you used for PF? > > Acutally I made a typo when writting the email. I just called the log > pflog (which I forgot and thought I had called it > ipfileter.log). That's alright. > Here's the snippet: > > #pf-related conf > pf_enable="YES" # Enable PF (load module if required) > pf_rules="/etc/pf.conf" # rules definition file for PF > pflog_enable="YES" # start pflogd(8) > pflog_logfile="/var/log/pflog" # where pflogd should store the logfile > > Sorry for the confusion and thanks for being willing to help! I > appreciate that very much! Cool. The pf should be logging. * Have you restarted it at all, after the configuration options were set? * Does the file '/var/log/pflog' exist? If yes, who is its owner and what are its permissions? Is it empty? # /bin/ls -olbF /var/log/pflog