Subject: Re: ipf race (was: Flag to exclude an interface from INADDR_ANY?)
To: Wolfgang Rupprecht <>
From: Darren Reed <>
List: tech-net
Date: 01/03/2002 08:42:22
In some email I received from Wolfgang Rupprecht, sie wrote:
> > configuring ipf to block all services invisibly on the outside
> > interface(s) is both error-prone and subject to both race conditions
> Is it possible to eliminate the race condition by swapping filters as such:
> 	ipf -I -F a -f /etc/ipf.conf
> 	ipf -I -6   -f /etc/ipf-v6.conf
> 	ipf -s
> Or does the "ipf -s" have a small race condition of its own?  If so,
> I'm going to have to rethink how I reload filters. (eg. perhaps something
> along the lines of ifconfig down, reload, ifconfig up)

There is no race condition there.