From owner-freebsd-pf@FreeBSD.ORG Fri May 23 15:03:29 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 A220B106564A for ; Fri, 23 May 2008 15:03:29 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 5CFBA8FC23 for ; Fri, 23 May 2008 15:03:29 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 0212719E023; Fri, 23 May 2008 16:44:51 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id B2C4919E019; Fri, 23 May 2008 16:44:48 +0200 (CEST) Message-ID: <4836D872.9080804@quip.cz> Date: Fri, 23 May 2008 16:45:06 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: freebsd-pf@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: How specify range IP? 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: Fri, 23 May 2008 15:03:29 -0000 Vitaliy Vladimirovich wrote: > > --- Original Message --- >>Hi,all! >>I need specify a range IP addresses in may spamd-whitelist table, >>e.g. 209.85.128.0-209.85.255.255. >>How can I do this correctly? > > > Hi, > Try in CIDR notation. e.g. 209.85.128.0/17 > I know about CIDR notation, and what about if I need specify something similary 10.0.10.1-10.0.10.8?? You can use net/tableutil from ports to convert your ranges in to CIDR. http://www.freebsd.org/cgi/url.cgi?ports/net/tableutil/pkg-descr http://expiretable.fnord.se/ Miroslav Lachman