From owner-freebsd-current@FreeBSD.ORG Wed Sep 15 19:56:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A06FB16A4D4; Wed, 15 Sep 2004 19:56:38 +0000 (GMT) Received: from mail.revolutionsp.com (ganymede.revolutionsp.com [64.246.0.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FA7243D41; Wed, 15 Sep 2004 19:56:38 +0000 (GMT) (envelope-from klr@6s-gaming.com) Received: from mail.revolutionsp.com (localhost [127.0.0.1]) by mail.revolutionsp.com (Postfix) with ESMTP id 6AFCE15C95; Wed, 15 Sep 2004 16:53:59 +0000 (GMT) Received: from 81.84.174.8 (SquirrelMail authenticated user klr@6s-gaming.com); by mail.revolutionsp.com with HTTP; Wed, 15 Sep 2004 16:53:59 -0000 (GMT) Message-ID: <58653.81.84.174.8.1095267239.squirrel@81.84.174.8> Date: Wed, 15 Sep 2004 16:53:59 -0000 (GMT) From: "Hugo Silva" To: freebsd-pf@freebsd.org, freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Mailman-Approved-At: Thu, 16 Sep 2004 12:04:37 +0000 Subject: pf not logging on 5.3-BETA3 ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 19:56:38 -0000 Hi, I can't make pf log to a logfile on the 5.3-BETA3. I didn't have any problems with this on 5.2.1-RELEASE-p9 using the port.. I can access pflog0 and there I will see entries that are matching the blocks, but I can't tail /var/log/pflog (empty). I've added device pf, pfsync, pflog to the kernel, and have the following on rc.conf: pf_enable="YES" pf_logd="YES" pflog_logfile="/var/log/pflog" pf_rules="/etc/pf.conf" The ruleset won't load automatically either (I think it should be pf_conf=, but /etc/defaults/rc.conf shows pf_rules ...). pflogd won't start, if I start it by hand it won't work either (starts, exits)... The /var/log/pflog file is there, owned root:wheel. But no entries are being added to the log. If I try to see it like: [root@evilreborn:/usr/src/sys/i386/conf]# pflog tcpdump: WARNING: pflog0: no IPv4 address assigned tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on pflog0, link-type PFLOG (OpenBSD pflog file), capture size 96 bytes it works (btw, i had to ifconfig pflog0 up or it wouldn't work, this is dumb) But it won't write the blocked/logged entries to the logfile. Am I missing something obvious here? Please reply to me as I'm not subsribed to -current or pf Regards, Hugo