From: Harald Welte <laforge@gnumonks.org>
To: Steve Bergman <steve@rueb.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Performance of iptables-restore on large rule sets
Date: Tue, 1 Feb 2005 00:06:57 +0100 [thread overview]
Message-ID: <20050131230657.GP6878@sunbeam.de.gnumonks.org> (raw)
In-Reply-To: <41FA8ADE.6080708@rueb.com>
[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]
On Fri, Jan 28, 2005 at 12:56:30PM -0600, Steve Bergman wrote:
> I have a large rule set (~53000 rules) that I sometimes load using
> iptables-restore. (It takes almost an hour.
That's really slow. I've seen multiple minutes, but an hour? What kind
of system is this? How does the ruleset look like? Maybe some dns
resolvals are timing out?
> Googling around tells me that the loop detection code in the kernel is
> slow with large rule sets.
That's wrong. What used to be slow is libiptc. iptables-1.2.11 should
actually already be significantly faster than all prior versions.
Please try the current pre-1.3.0 snapshots from
ftp://ftp.netfilter.org/pub/iptables/snapshot
Please report back if they solve your performance issue.
> Steve Bergman
--
- Harald Welte <laforge@gnumonks.org> http://www.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2005-01-31 23:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-28 18:56 Steve Bergman
2005-01-28 19:19 ` Martin Josefsson
2005-01-31 23:06 ` Harald Welte [this message]
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=20050131230657.GP6878@sunbeam.de.gnumonks.org \
--to=laforge@gnumonks.org \
--cc=linux-kernel@vger.kernel.org \
--cc=steve@rueb.com \
/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
all inboxes | Powered by JetHome®