All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Patrick Schaaf <bof@bof.de>
Cc: "netfilter-devel@lists.netfilter.org"
	<netfilter-devel@lists.netfilter.org>,
	Cedric de Launois <delaunois@info.ucl.ac.be>
Subject: Re: [PATCH] info file for ROUTE target
Date: Tue, 14 Dec 2004 03:47:00 +0100	[thread overview]
Message-ID: <41BE5424.40001@trash.net> (raw)
In-Reply-To: <20041210091445.GC4121@oknodo.bof.de>

Patrick Schaaf wrote:

>>My fear is that you could still have something like this :
>>
>>          PC1                                    PC2
>>
>>      orig packet     
>>           |
>>           v                  dup pkt 1
>>   [ROUTE --tee --gw PC2] -------------------------.
>>         | |   ^                                   |
>>         | |   |                                   v
>>         | |   '-----dup pkt 2 ---------- [ROUTE --tee --gw PC1]
>>         | |                                      | |
>>         v v                                      v v
>> Flood of duplicated packets            Flood of duplicated packets
>>
>
>This is easily possible. There are lots of other failure scenarios.
>
>For example, when the chosen --gw resolves through our defaul route,
>chances are good all duplicate packets will come back to us almost
>immediately. We saw this in our testing, already. TTL should always
>be properly decremented, so this is a bit self-limiting, but
>nevertheless it's certainly a dangerous thing.
>
Seems ok to me, you can also add a route via loopback, it will loop until
the ttl expires. Fact is you can shoot yourself in the foot with some
setups. I've added your patch except the file iptables/extensions/xxx :)

Regards
Patrick

  reply	other threads:[~2004-12-14  2:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-09 14:43 [PATCH] info file for ROUTE target Cedric de Launois
2004-12-09 19:57 ` Patrick Schaaf
2004-12-09 21:24   ` Bill Rugolsky Jr.
2004-12-10  8:37     ` Cedric de Launois
2004-12-10  8:43       ` Patrick Schaaf
2004-12-16 12:25         ` Harald Welte
2004-12-10  0:18   ` Patrick McHardy
2004-12-10  9:03     ` Cedric de Launois
2004-12-10  9:14       ` Patrick Schaaf
2004-12-14  2:47         ` Patrick McHardy [this message]
2004-12-10  0:16 ` Patrick McHardy

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=41BE5424.40001@trash.net \
    --to=kaber@trash.net \
    --cc=bof@bof.de \
    --cc=delaunois@info.ucl.ac.be \
    --cc=netfilter-devel@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.