Date: Sun, 28 Jan 2007 02:06:36 +0100 From: Roland Smith <rsmith@xs4all.nl> To: Pete French <petefrench@ticketswitch.com> Cc: freebsd-stable@freebsd.org Subject: Re: impossible rc.d ordering problem with stf and pf ? Message-ID: <20070128010636.GA12106@slackbox.xs4all.nl> In-Reply-To: <E1HAsD1-0004VZ-3B@dilbert.ticketswitch.com> References: <E1HAsD1-0004VZ-3B@dilbert.ticketswitch.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 27, 2007 at 06:23:27PM +0000, Pete French wrote: > Am trying to solve a little problem with 'pf'. I have a ruleset which > has some firewall rules for the IPv6 interface stf0. This works fine, > except when I rreboot the machine, as the pf script is run before the > network_ipv6 script - so stf0 does not exist. but I cannot work out > how to arrange for stf0 to be created before the pf script is run - as > network_ipv6 requires 'routing', but the pf script says it must be run > before 'routing', if I am reading the 'REQUIRE' and 'BEFORE' lines > correctly. >=20 > Any solutions ? Just a thought: Put the IPv6 specific rules in a separate file. Put a script in /usr/local/etc/rc.d that REQUIREs network_ipv6. In this script, use pfctl to load the IPv6 specific rules. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) iD8DBQFFu/ccEnfvsMMhpyURAmRgAKCbdS7ztGhhKkULJKs2x6zZpvT4CQCgnng7 Kc9+OnMF4yN+wAOgqYNXByI= =m03u -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070128010636.GA12106>