From owner-freebsd-pf@FreeBSD.ORG Mon Aug 21 17:43:18 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 7D36016A4DA for ; Mon, 21 Aug 2006 17:43:18 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9FC343D78 for ; Mon, 21 Aug 2006 17:43:17 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.182.129] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1GFDnt2cQC-0003NA; Mon, 21 Aug 2006 19:43:16 +0200 From: Max Laier Organization: FreeBSD To: freebsd-pf@freebsd.org Date: Mon, 21 Aug 2006 19:43:06 +0200 User-Agent: KMail/1.9.3 References: <44E9C775.5060009@2012.vi> <55e8a96c0608211010q35b64221sad299c67f8ebb888@mail.gmail.com> <44E9EE39.3050404@2012.vi> In-Reply-To: <44E9EE39.3050404@2012.vi> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4029406.4BCM6LEjfj"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200608211943.12721.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: Subject: Re: Never Ask Questions On A Friday Afternoon 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: Mon, 21 Aug 2006 17:43:18 -0000 --nextPart4029406.4BCM6LEjfj Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 21 August 2006 19:32, beno wrote: > Bill Marquette wrote: > > Loads here, your ISP must be blocking it. Here's the subect lines > > from that thread and the authors for you to Google - should be able > > to find this thread on any number of mailing list archive sites. > > > > 1. 2006-05-26 Re: Recursive macro expansion problems > > openbsd-p Daniel Hartmeier > > 2. 2006-05-26 Re: Recursive macro expansion problems > > openbsd-p Siju George > > 3. 2006-05-24 Re: Recursive macro expansion problems > > openbsd-p andrew fresh > > 4. 2006-05-23 Re: Recursive macro expansion problems > > openbsd-p Daniel Hartmeier > > 5. 2006-05-23 Recursive macro expansion problems > > openbsd-p andrew fresh > > That helped a lot. Strange little trick...glad it works! But unless I > (again) missed something, that still doesn't address how to deal with > the CIDR/netmask problem: > > directv_ip_addresses=3D"69.19.0.0/17" > > where (apparently) the parser doesn't like that "/". I tried escaping > it > > directv_ip_addresses=3D"69.19.0.0\/17" > > but that didn't work either. It would be great if we could do something > like this: > > directv_ip_addresses=3D"69.19.0.0 netmask 255.255.0.0" > > or whatever, but no go. So, what to do? Again, the fact that this is a > *known problem* that *hasn't* been fixed gives every indication that > there's a workaround :) Max Laier wrote this last week: > > That's a well-known problem in the pfctl-parser. Patches have been > proposed but never made it to the tree - afaik. Look in the archives > of this and the original ML for reasons and detailed discussion. > > Unfortunately, googling my best I couldn't find anything in either list > on the subject. TIA, > beno printf 'list=3D"{ 10/8, 192.168.0/24 }"\npass from $list to any\n' |=20 pfctl -nvf- list =3D "{ 10/8, 192.168.0/24 }" pass inet from 10.0.0.0/8 to any pass inet from 192.168.0.0/24 to any =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart4029406.4BCM6LEjfj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBE6fCwXyyEoT62BG0RAo+BAJ9HXmI/+AmFOh7Hxs/b3WH541aU1QCbBE92 XTZJFfvflsbfLMIeCjOTDY4= =/z1o -----END PGP SIGNATURE----- --nextPart4029406.4BCM6LEjfj--