All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Brian Gunlogson <bmg300@yahoo.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Matching 10000's of IP ranges
Date: Mon, 3 Jan 2005 09:34:30 -0500	[thread overview]
Message-ID: <20050103143430.GP10437@ns.snowman.net> (raw)
In-Reply-To: <20050102225028.83118.qmail@web41504.mail.yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]

* Brian Gunlogson (bmg300@yahoo.com) wrote:
> What is a reasonable way to match around 80000 IP ranges with iptables?

If there aren't too many actual *IP*s then you might look into
ipt_recent.  It does more than you actually need but I've put 1.5M IP
addresses in an ipt_recent hash before.  Many more than that and
ipt_recent runs into problems because it can't allocate enough memory w/
the default kernel memory setup.

	Stephen

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2005-01-03 14:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-02 22:50 Matching 10000's of IP ranges Brian Gunlogson
2005-01-03  6:26 ` Krystian
2005-01-03  8:07 ` Jozsef Kadlecsik
2005-01-03 14:34 ` Stephen Frost [this message]
2005-01-03 18:17 ` John A. Sullivan III
2005-01-05 21:01   ` Matching 10000's of IP ranges (solution) Brian Gunlogson

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=20050103143430.GP10437@ns.snowman.net \
    --to=sfrost@snowman.net \
    --cc=bmg300@yahoo.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.