From owner-freebsd-stable@FreeBSD.ORG Sun May 7 00:49:04 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E1E416A400 for ; Sun, 7 May 2006 00:49:04 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7249B43D46 for ; Sun, 7 May 2006 00:49:00 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.185.59] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu10) with ESMTP (Nemesis), id 0ML31I-1FcXSE3ol4-00068i; Sun, 07 May 2006 02:48:59 +0200 From: Max Laier Organization: FreeBSD To: freebsd-stable@freebsd.org Date: Sun, 7 May 2006 02:48:51 +0200 User-Agent: KMail/1.9.1 References: <18e02bd30605061659m4244e961wd4a334f5825fae3d@mail.gmail.com> In-Reply-To: <18e02bd30605061659m4244e961wd4a334f5825fae3d@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart9548604.qRSz6R5HHn"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605070248.58024.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: Iantcho Vassilev Subject: Re: pf not loading the rules at boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 May 2006 00:49:04 -0000 --nextPart9548604.qRSz6R5HHn Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 07 May 2006 01:59, Iantcho Vassilev wrote: > I noticed such a problem: > > I have a 6.1 RC2 and i have in rc.conf > > pf_enable=3D"YES" > pflogd_enable=3D"YES" > > but when the system boots i test with: > > pfctl -vs rules > > and there are not rules loaded.if i load them by hand there is no problem= =2E. > then i made: > > rc_debug=3D"YES" > > and the first thing that i saw was: when pf_enable is after pflogd_enable= ; > it is not printed(checked).. > > then i changed the place of pf and pflogd in the rc.conf and i saw some > output in the /var/log/messages.. > but still the ruleset wasn`t loaded.. > > i put pf_load=3D"YES" >> /boot/loader.conf > and still the ruleset is NOT loaded on boot... What is your pf.conf like? Do you have ALTQ in use? Do you maybe try to u= se=20 ALTQ on an interface that is created later on (tun0 or the like)? What doe= s=20 "/etc/rc.d/{pf, pflog} rcvar" give you? Does "/etc/rc.d/pf start" work aft= er=20 it failed on boot? Try setting pf_flags=3D"-v" to get additional error=20 messages. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart9548604.qRSz6R5HHn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEXUP6XyyEoT62BG0RAoCiAJ4qKAA9ELVt7Xm2SDtr1Lrz1b4fgQCfRin3 adw1lKfzN1F45IPFuPyHnws= =625b -----END PGP SIGNATURE----- --nextPart9548604.qRSz6R5HHn--