From owner-freebsd-pf@FreeBSD.ORG Thu Oct 15 22:17:26 2009 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 955E710656A6 for ; Thu, 15 Oct 2009 22:17:26 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mx1.freebsd.org (Postfix) with ESMTP id 2B5958FC14 for ; Thu, 15 Oct 2009 22:17:25 +0000 (UTC) Received: from vampire.homelinux.org (dslb-088-067-232-182.pools.arcor-ip.net [88.67.232.182]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MABsf-1N9J4H2cEz-00BEXK; Fri, 16 Oct 2009 00:17:24 +0200 Received: (qmail 93880 invoked from network); 15 Oct 2009 22:17:24 -0000 Received: from kvm.laiers.local (HELO kvm.localnet) (192.168.4.200) by ns1.laiers.local with SMTP; 15 Oct 2009 22:17:24 -0000 From: Max Laier Organization: FreeBSD To: freebsd-pf@freebsd.org Date: Fri, 16 Oct 2009 00:17:33 +0200 User-Agent: KMail/1.12.1 (Linux/2.6.30-ARCH; KDE/4.3.1; x86_64; ; ) References: <4AD79180.204@infosec.pl> In-Reply-To: <4AD79180.204@infosec.pl> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200910160017.34339.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1/G7nPH5qZ7LIIuizSAQzkrjbOFs6uaWMpER9b etq0VJo21XVaO5iqMwRNKd+N+WBPfAY53H2BtlbpI6QQejrEvD n5fbXJbEj9vXlUgS+ojkQ== Cc: Subject: Re: pf starts too early X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2009 22:17:26 -0000 On Thursday 15 October 2009 23:17:52 Michal wrote: > Hello, > > I'm using pf on FreeBSD 8.0-RC1. My wlan0-ath0 card is set up via > wpa_supplicant.conf and rc.conf (ifconfig_wlan0="WPA DHCP"). pf also > starts via rc.conf > > Problem is that pf cannot start during the system boot because it tries > to load rules before my network card gets authenticated and connected. > Since wlan0 doesn't have IP address at the time I get a lot of: > > no IP address found for wlan0 > /etc/pf.conf:151: could not parse host specification > no IP address found for wlan0 > pfctl: Syntax error in config file: pf rules not loaded > pf enabled simply s/wlan0/(wlan0)/ where is appears in a host/address context. This is an FAQ. > It fills up my dmesg output. Loading rules by hand works perfectly fine. > > Any ideas what is wrong or which part of the system should I tweak? > > Michal > -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News