From owner-freebsd-stable@FreeBSD.ORG Sun Jan 28 16:08:58 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B27C616A402 for ; Sun, 28 Jan 2007 16:08:58 +0000 (UTC) (envelope-from karagodov@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.233]) by mx1.freebsd.org (Postfix) with ESMTP id 7214513C4B3 for ; Sun, 28 Jan 2007 16:08:58 +0000 (UTC) (envelope-from karagodov@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so1094518nzh for ; Sun, 28 Jan 2007 08:08:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=o57FclfJ4rlBhNIjY/1k75cbO+RcsJRrZggL/uvMEZAdASUmTnvdUF60B6W3Vi+Bb4P3AckQrRExCkVt4ZNBmfajEDnCcvAsh6hNySR9h/0T18QEFnUVXYkAAVD38NpP+h76xE91oDp3nJEuZ0p76zjCaUdjX+ibZvshnfA4LIw= Received: by 10.114.46.1 with SMTP id t1mr211798wat.1169998847908; Sun, 28 Jan 2007 07:40:47 -0800 (PST) Received: by 10.114.235.17 with HTTP; Sun, 28 Jan 2007 07:40:47 -0800 (PST) Message-ID: Date: Sun, 28 Jan 2007 18:40:47 +0300 From: "Alexey Karagodov" To: Volker In-Reply-To: <45BC9E03.6020506@vwsoft.com> MIME-Version: 1.0 References: <45BC9E03.6020506@vwsoft.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org, Pete French Subject: Re: impossible rc.d ordering problem with stf and pf ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 16:08:58 -0000 or just make a symlink from /etc/rc.d/pf to /usr/local/etc/rc.d/pf i solved this way problem with FQDN in pf rules 2007/1/28, Volker : > > On 12/23/-58 20:59, 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. > > Pete, > > I've played with that problems a few times. It's not a perfect > solution, but you may create your own pf loading script and place it > in /usr/local/etc/rc.d/. To make sure it's running late in startup, > use a proper # REQUIRE: line. > > That way (and that what makes me saying it's not perfect) pf load > script /etc/rc.d/pf is being run but aborts loading pf rules in > first place and later (when rc is working though > /usr/local/etc/rc.d/) pf rules are loaded by your custom script. > > HTH, > > Volker > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >