Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2006 02:48:51 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-stable@freebsd.org
Cc:        Iantcho Vassilev <ianchov@gmail.com>
Subject:   Re: pf not loading the rules at boot
Message-ID:  <200605070248.58024.max@love2party.net>
In-Reply-To: <18e02bd30605061659m4244e961wd4a334f5825fae3d@mail.gmail.com>
References:  <18e02bd30605061659m4244e961wd4a334f5825fae3d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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="YES"
> pflogd_enable="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..
> then i made:
>
> rc_debug="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="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 use 
ALTQ on an interface that is created later on (tun0 or the like)?  What does 
"/etc/rc.d/{pf, pflog} rcvar" give you?  Does "/etc/rc.d/pf start" work after 
it failed on boot?  Try setting pf_flags="-v" to get additional error 
messages.

-- 
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQBEXUP6XyyEoT62BG0RAoCiAJ4qKAA9ELVt7Xm2SDtr1Lrz1b4fgQCfRin3
adw1lKfzN1F45IPFuPyHnws=
=625b
-----END PGP SIGNATURE-----

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