From: Harald Welte <laforge@netfilter.org>
To: Andre Uratsuka Manoel <andre@insite.com.br>
Cc: Chris Wilson <chris@netservers.co.uk>,
"netfilter-devel@lists.netfilter.org"
<netfilter-devel@lists.netfilter.org>,
Robert Olsson <robban@robtex.com>,
John McEleney <john@netservers.co.uk>,
Ben McKeegan <ben@netservers.co.uk>
Subject: Re: IPtables performance (fwd)
Date: Wed, 28 May 2003 21:20:19 +0200 [thread overview]
Message-ID: <20030528192019.GC12978@naboo> (raw)
In-Reply-To: <Pine.LNX.4.33.0305031750040.8241-100000@fantomas.insite.com.br>
[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]
On Sat, May 03, 2003 at 07:39:46PM -0300, Andre Uratsuka Manoel wrote:
> Be my guest to implement it. I thought of doing it myself, but I'm
> still looking around and trying to understand all those structures and
> pointers and I am still trying to find my way around.
While a long train ride I recently had the time to think about your
algorithm and I really like it. I even started with an implementation,
but came to the following problem:
> Here is the pseudo-code for the algorithm:
>
> -------------------------------------------------
> for every chain:
> paint it white
> set chain->comefrom to 0
how can we safely iterate over the whole table (which might contain
loops) and paint all chains white? I mean, if there is a loop in it,
already the initialization-to-white function would loop indefinitely.
any ideas?
> Regards,
> Andre
--
- Harald Welte <laforge@netfilter.org> http://www.netfilter.org/
============================================================================
"Fragmentation is like classful addressing -- an interesting early
architectural error that shows how much experimentation was going
on while IP was being designed." -- Paul Vixie
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-05-28 19:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-22 11:04 IPtables performance (fwd) Chris Wilson
2003-04-27 13:02 ` Harald Welte
2003-04-27 14:57 ` Robert Olsson
2003-05-02 12:57 ` Andre Uratsuka Manoel
2003-04-28 12:25 ` Chris Wilson
2003-04-29 14:34 ` Harald Welte
2003-05-02 18:32 ` Chris Wilson
2003-05-02 20:14 ` Harald Welte
2003-05-03 10:34 ` Chris Wilson
2003-05-02 20:15 ` Andre Uratsuka Manoel
2003-05-03 10:32 ` Chris Wilson
2003-05-03 22:39 ` Andre Uratsuka Manoel
2003-05-04 1:09 ` Harald Welte
2003-05-28 19:20 ` Harald Welte [this message]
2003-05-28 22:28 ` Andre Uratsuka Manoel
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=20030528192019.GC12978@naboo \
--to=laforge@netfilter.org \
--cc=andre@insite.com.br \
--cc=ben@netservers.co.uk \
--cc=chris@netservers.co.uk \
--cc=john@netservers.co.uk \
--cc=netfilter-devel@lists.netfilter.org \
--cc=robban@robtex.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 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.