Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Feizhou <feizhou@linuxmail.org>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: netfilter@lists.netfilter.org
Subject: Re: Large number of repeated rules with only differing -s ipaddrs/cidrs
Date: Mon, 19 Apr 2004 22:47:28 +0800	[thread overview]
Message-ID: <4083E680.9020309@linuxmail.org> (raw)
In-Reply-To: <Pine.LNX.4.33.0404191400460.8154-100000@blackhole.kfki.hu>

>>I have a whole bunch of ips/cidrs that I want to apply the rule to.
>>
>>Is there any way to insert one rule where the -s would be able to look
>>up a table (btree/hash/cdb whatever) that contains those ips/cidrs
>>instead of insert gazillion rules?
> 
> 
> Yes, you can use either the ippool or the ipset extensions. ippool is
> capable to store up to the number of IP addresses of a full B class network.
> ippool can store network addresses as well and supports random
> adressess/networks too.
> 

lovely.

when will ipset be available in 2.6?

I presume ippool is going to become obsolete?


  reply	other threads:[~2004-04-19 14:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-19 10:02 Large number of repeated rules with only differing -s ipaddrs/cidrs Feizhou
2004-04-19 11:42 ` Frank Gruellich
2004-04-19 13:44   ` Feizhou
2004-04-19 12:03 ` Jozsef Kadlecsik
2004-04-19 14:47   ` Feizhou [this message]
2004-04-20 14:16     ` Jozsef Kadlecsik
2004-04-20 14:36       ` Feizhou
2004-04-20 14:59         ` Jozsef Kadlecsik
2004-04-21  0:02           ` Feizhou
2004-04-19 12:12 ` Torsten Luettgert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4083E680.9020309@linuxmail.org \
    --to=feizhou@linuxmail.org \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox