Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2008 16:45:06 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        freebsd-pf@freebsd.org
Subject:   Re: How specify  range IP?
Message-ID:  <4836D872.9080804@quip.cz>
In-Reply-To: <E1JzXPN-000NaL-MS@ffe11.ukr.net>
References:  <E1JzXPN-000NaL-MS@ffe11.ukr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4836D872.9080804>