From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 11:16:59 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 570C016A41C for ; Fri, 15 Jul 2005 11:16:59 +0000 (GMT) (envelope-from stefan@aeschbacher.ch) Received: from mx.nts.ch (mail.nts.ch [212.103.67.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 8A85943D49 for ; Fri, 15 Jul 2005 11:16:57 +0000 (GMT) (envelope-from stefan@aeschbacher.ch) Received: (qmail 8137 invoked by uid 7650); 15 Jul 2005 11:16:59 -0000 Received: from stefan@aeschbacher.ch by bernoulli by uid 64011 with qmail-scanner-1.21 (f-prot: 4.4.1/3.14.11. spamassassin: 2.63. Clear:RC:1(212.103.64.3):. Processed in 0.019075 secs); 15 Jul 2005 11:16:59 -0000 Received: from localhost ([212.103.64.3]) by mx.nts.ch ([192.168.123.34]) with ESMTP via TCP; 15 Jul 2005 11:16:59 -0000 Received: from ftp.nts.ch (ftp.nts.ch [212.103.67.6]) by horde.nts.ch (IMP) with HTTP for ; Fri, 15 Jul 2005 13:17:17 +0200 Message-ID: <1121426237.42d79b3dcf954@horde.nts.ch> Date: Fri, 15 Jul 2005 13:17:17 +0200 From: stefan@aeschbacher.ch To: hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.3-cvs X-Originating-IP: 212.103.67.6 Cc: Subject: rc.d ppp dependency X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 11:16:59 -0000 Hi when using ppp together with pf there seems to exist a dependency problem. I start ppp and pf with : ppp_enable="YES" and pf_enable="YES" in rc.conf. At startup when the pf rulefile is loaded, the tun0 (which I use in the pf config) device does not yet exist and therefore the rules can not load. I noticed that in /etc/rc.d/ppp-user, ipfilter is resynced after ppp has started. Shouldn't the same be done for pf? thanks Stefan P.S. a similar problem exists with sshd when a ListenAddress directive is used with an address configured to tun0