[PATCH 13/18] Netfilter: Multiport revision with port ranges (replaces "mport")

Nicolas Bouliane nib at cookinglinux.org
Wed Jan 5 06:32:18 CET 2005


Phil Oester wrote:
> On Wed, Jan 05, 2005 at 02:35:59PM +1100, Rusty Russell wrote:
> 
>>The multiport match doesn't support ranges of ports, so a new match
>>called "mport" was written.  Now we have versioning of matches and
>>targets, we can simply put this extension in multiport revision 1.
> 
> 
> While I agree the above is a useful change, why not also add inversion
> to multiport in the process -- as long as you're making a new revision?
> Or should that be done in revision 2?
> 
> Phil
> 

AFAIK iptables already support ranges of ports.

iptables -A INPUT -p tcp --sport 10:40


Cheers :)

-acidfu



More information about the netfilter-devel mailing list