From owner-freebsd-pf@FreeBSD.ORG Thu Feb 28 13:24:24 2008 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 382F0106566C for ; Thu, 28 Feb 2008 13:24:24 +0000 (UTC) (envelope-from reinhard.haller@interactive-net.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.freebsd.org (Postfix) with ESMTP id B7B6D8FC12 for ; Thu, 28 Feb 2008 13:24:23 +0000 (UTC) (envelope-from reinhard.haller@interactive-net.de) Received: from interactive.dnsalias.net (ppp-88-217-19-88.dynamic.mnet-online.de [88.217.19.88]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis) id 0MKwh2-1JUiY52sLm-0002Ut; Thu, 28 Feb 2008 14:11:46 +0100 Received: from fs-inter.interactive.de ([192.168.0.1]) by interactive.dnsalias.net with smtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JUiY5-000A6Q-O0 for freebsd-pf@freebsd.org; Thu, 28 Feb 2008 14:11:45 +0100 Received: from [192.168.0.196] ([192.168.0.196]) by fs-inter.interactive.de; Thu, 28 Feb 2008 14:10:35 +0100 Message-ID: <47C6B300.4080507@interactive-net.de> Date: Thu, 28 Feb 2008 14:11:28 +0100 From: Reinhard Haller User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-pf@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-ACL-rcpt: freebsd-pf@freebsd.org X-ACL-Send: reinhard.haller@interactive-net.de X-Provags-ID: V01U2FsdGVkX1/WAqsbPVYOOY+HvvBSq8Z0M9v9/aUGuWic7c+ XytiPDfgB5Kp8twAIQKXSpigT8uRLdPrO+7W6Rl7OXz3PNuj/B FypNWb5eWD1fjRe5PWCkVHJkTrPx6V5gMeL4kQhGc+msvWGbHx 3mg== Subject: tables in anchors 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, 28 Feb 2008 13:24:24 -0000 Hi, the anchor rule in the following ruleset doesn't work. table const { 192.168.0.25, \ 192.168.1.0/24, \ 192.168.125.0/24 } anchor mailIn proto tcp to $mail_addr { \ #exim pass quick proto tcp from to any port smtp \ } pass quick proto tcp from to $mail_addr port smtp Checking with pfctl -t smtpHosts -T show results in "table doesn't exist", the second rule works as expected. Any suggestions? Thanks Reinhard