From owner-freebsd-pf@FreeBSD.ORG Tue Aug 22 23:10:00 2006 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B902E16A4E0 for ; Tue, 22 Aug 2006 23:10:00 +0000 (UTC) (envelope-from remko@freebsd.org) Received: from caelis.elvandar.org (caelis.elvandar.org [217.148.169.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8453B43D6A for ; Tue, 22 Aug 2006 23:09:51 +0000 (GMT) (envelope-from remko@freebsd.org) Received: from localhost (caelis.elvandar.org [217.148.169.59]) by caelis.elvandar.org (Postfix) with ESMTP id 7746F92FD48; Wed, 23 Aug 2006 01:09:50 +0200 (CEST) Received: from caelis.elvandar.org ([217.148.169.59]) by localhost (caelis.elvandar.org [217.148.169.59]) (amavisd-new, port 10024) with ESMTP id 48652-01; Wed, 23 Aug 2006 01:09:50 +0200 (CEST) Message-ID: <44EB8EC1.2060300@FreeBSD.org> Date: Wed, 23 Aug 2006 01:09:53 +0200 From: Remko Lodder User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Jon Simola References: <44EB6B18.4030201@2012.vi> <8eea04080608221517rd487cf1v35f5372c1a5bb157@mail.gmail.com> In-Reply-To: <8eea04080608221517rd487cf1v35f5372c1a5bb157@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by the elvandar.org maildomain Cc: freebsd-pf@freebsd.org Subject: Re: Another Lists/Macros Question 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: Tue, 22 Aug 2006 23:10:00 -0000 Jon Simola wrote: > On 8/22/06, beno wrote: >> This is accepted by the pfclt compiler just fine: >> >> http_ports="80 8080 7080" >> ssh_ports="22" >> ftp_ports="21 8021 7021" >> smtp_ports="25" >> pop3_ports="110" >> https_ports="443" >> imap_ssl_ports="993 143" >> squid_ports="3128" >> mysql_ports="3306" >> email_ports='"{' $smtp_ports $pop3_ports '}"' >> all_http_ports='"{' $http_ports $https_ports '}"' >> tcp_ports= "{" $ssh_ports $ftp_ports $all_http_ports $imap_ssl_ports "}" > > Not here: > > # pfctl -vvnf ./pf-beno-test > http_ports = "80 8080 7080" > ssh_ports = "22" > ftp_ports = "21 8021 7021" > smtp_ports = "25" > pop3_ports = "110" > https_ports = "443" > imap_ssl_ports = "993 143" > squid_ports = "3128" > mysql_ports = "3306" > email_ports = ""{ 25 110 }"" > all_http_ports = ""{ 80 8080 7080 443 }"" > tcp_ports = "{ 22 21 8021 7021 { 80 8080 7080 443 } 993 143 }" > > Note the nested braces in the last line - that is your problem. > Like i said; the same problem as before! That is what I meant by not reading the information given from others. Thanks for clarifying this Jon. Cheers, remko -- Kind regards, Remko Lodder ** remko@elvandar.org FreeBSD ** remko@FreeBSD.org