Subject: Re: ipf on pppoe0 problem at boot time
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Andrew Doran <ad@interlude.eu.org>
List: tech-net
Date: 04/23/2002 23:36:52
Manuel Bouyer <bouyer@antioche.eu.org> wrote:

> On Tue, Apr 23, 2002 at 05:12:07PM +0200, Bjoern Labitzke wrote:
> > Hello...
> > 
> > As long as I load the ipf rules on my own (ipf -Fa -v -f /etc/ipf.conf)
> > everything works as expected and I can use pppoe0 like I want to. This
> > interface is created and configured up at system startup. But after
> > booting the system, absolutely everything gets blocked from ipfilter.
> > Checking the rules with ipfstat -o -n shows, that all the rules
> > (including the pass rules) are there. And as soon as I reload the
> > rules manually (ipf -Fa -v -f /etc/ipf.conf) everything works and
> > ipfstat -o -n shows exactly the same rules as before. What could be
> > wrong? Could the problem be, that ipfilter gets started before pppoe0
> > is configured? What would be the correct fix?
> 
> This is probably the problem. I added a ipf reload call in /etc/netstart.local
> on my machine.

I seems like "ipf -y" might achieve the same goal, but I don't recall
whether or not it did the last time I tried it.

       -y     Manually resync the in-kernel interface list  main-
              tained by IP Filter with the current interface sta-
              tus list.

Andrew