Re: ipset v5.0-pre10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, 15 Dec 2010, Mr Dash Four wrote:

> I've just looked at the code and man pages for the above - it makes some
> interesting reading!
> 
> I have a question though - Would it be possible for me to specify port ranges
> as well - if not at the members level, then at least from the command line?
> 
> For example, with the current setup if I want to include 'low' ports in a set,
> then I have to run a separate script with a 'count' value from 1 to 1024 and
> execute 1024 different 'ipset -A' statements to include that particular port
> into the set. The situation is much worse if I am dealing with high-ports -
> for obvious reasons.
> 
> Would it be possible to be able to specify port ranges (say, '1-1024') in a
> similar fashion as it is currently done with ip address ranges?

I don't completely understand you: the bitmap:port type already supports 
adding/deleting port ranges. Could you write a full example?

Best regards,
Jozsef
-
E-mail  : kadlec@xxxxxxxxxxxxxxxxx, kadlec@xxxxxxxxxxxx
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
          H-1525 Budapest 114, POB. 49, Hungary
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux