pf not loading the rules at boot

2006-05-06 Thread Iantcho Vassilev
Hello to all, 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 t

Re: pf not loading the rules at boot

2006-05-06 Thread Max Laier
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

Re: pf not loading the rules at boot

2006-05-07 Thread Iantcho Vassilev
/etc/rc.d/pf rcvar - returns YES my pf doesn`t have any ALTQ use I will try pf_flags -v Any other suggestions... On 5/7/06, Max Laier <[EMAIL PROTECTED]> wrote: 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_e

Re: pf not loading the rules at boot

2006-05-07 Thread Iantcho Vassilev
Also (if i didn`t mentioned it)..with rc_debug set i can`t see the pf being checked at all... in /var/log/messages i have.. May 7 12:00:30 tms_slave root: /etc/rc: INFO: checkyesno: inetd_enable is set to NO. May 7 12:00:30 tms_slave root: /etc/rc: INFO: checkyesno: hostapd_enable is set to NO.

Re: pf not loading the rules at boot

2006-05-07 Thread Iantcho Vassilev
On 5/7/06, Pertti Kosunen <[EMAIL PROTECTED]> wrote: Iantcho Vassilev wrote: > Hello to all, > > > I noticed such a problem: > > I have a 6.1 RC2 and i have in rc.conf > > pf_enable="YES" > pflogd_enable="YES" pf_rules="/etc/pf.conf" # rules definition file for pf I have also that line

Re: pf not loading the rules at boot

2006-05-07 Thread Roland Smith
On Sun, May 07, 2006 at 03:49:08PM +0300, Iantcho Vassilev wrote: > On 5/7/06, Pertti Kosunen <[EMAIL PROTECTED]> wrote: > > > >Iantcho Vassilev wrote: > >> Hello to all, > >> > >> > >> I noticed such a problem: > >> > >> I have a 6.1 RC2 and i have in rc.conf > >> > >> pf_enable="YES" > >> pflogd_

Re: pf not loading the rules at boot

2006-05-07 Thread Iantcho Vassilev
My mistake.. Is is actually pflog_enable="YES" also i checked the /etc/rc.d/pf file permission => 755... I just don`t know On 5/7/06, Roland Smith <[EMAIL PROTECTED]> wrote: On Sun, May 07, 2006 at 03:49:08PM +0300, Iantcho Vassilev wrote: > On 5/7/06, Pertti Kosunen <[EMAIL PROTECTED]

Re: pf not loading the rules at boot

2006-05-07 Thread Doug Barton
Iantcho Vassilev wrote: > Hello to all, > > > I noticed such a problem: > > I have a 6.1 RC2 Step one should be to upgrade to the latest 6-stable, and run mergemaster. > and i have in rc.conf > > pf_enable="YES" > pflogd_enable="YES" I think you already corrected yourself to say that you hav

Re: pf not loading the rules at boot

2006-05-08 Thread Iantcho Vassilev
On 5/8/06, Doug Barton <[EMAIL PROTECTED]> wrote: Iantcho Vassilev wrote: > Hello to all, > > > I noticed such a problem: > > I have a 6.1 RC2 Step one should be to upgrade to the latest 6-stable, and run mergemaster. I will do that in the next couple of days because i did it 5 days ago..

Re: pf not loading the rules at boot

2006-05-08 Thread Iantcho Vassilev
On 5/8/06, Michel Talon <[EMAIL PROTECTED]> wrote: By the way, if you have a kernel *without* IPV6 support, the firewall module will *not* load. You will have to recompile the firewall module without IPV6 support first. This is the most common cause of the problem you are seeing. -- Michel TA

Re: pf not loading the rules at boot

2006-05-08 Thread Dmitry Morozovsky
On Mon, 8 May 2006, Iantcho Vassilev wrote: IV> > By the way, if you have a kernel *without* IPV6 support, the firewall IV> > module IV> > will *not* load. You will have to recompile the firewall module without IV> > IPV6 support first. This is the most common cause of the problem you are IV> > se

Re: pf not loading the rules at boot

2006-05-08 Thread Dmitry Morozovsky
On Mon, 8 May 2006, Dmitry Morozovsky wrote: DM> BTW, ipfw says DM> DM> ipfw2 (+ipv6) DM> DM> even when it is build without inet6, which is a bit misleading. The following simple patch fixes this. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN]

Re: pf not loading the rules at boot

2006-05-08 Thread Dmitry Morozovsky
On Mon, 8 May 2006, Dmitry Morozovsky wrote: DM> On Mon, 8 May 2006, Dmitry Morozovsky wrote: DM> DM> DM> BTW, ipfw says DM> DM> DM> DM> ipfw2 (+ipv6) DM> DM> DM> DM> even when it is build without inet6, which is a bit misleading. DM> DM> The following simple patch fixes this. Oh no, INET6 s