From: Patrick McHardy <kaber@trash.net>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: Netfilter Developer Mailing List <netfilter-devel@vger.kernel.org>
Subject: Re: HTTP connection tracking
Date: Mon, 07 Jul 2008 16:20:51 +0200 [thread overview]
Message-ID: <48722643.80608@trash.net> (raw)
In-Reply-To: <alpine.LNX.1.10.0807071547330.8248@fbirervta.pbzchgretzou.qr>
Jan Engelhardt wrote:
> Hi,
>
> a user in irc came up with the following scenario:
>
> - home router is connected to two ISPs with different IP addresses and
> does round-robin or some other form of packet scheduling.
>
> - in such a setup, one generally uses MARK/CONNMARK to make sure that
> packets of a certain connection always leave through the same device
> through which the first packet was sent. (This is required to not
> break TCP connections.)
>
> But how can we make sure that arbitrary connections which are defined as
> related, can be sent through the same device? Think of a website which,
> when the user is logged in, requires that all HTTP and HTTPS connections
> that will be made by the user, must come from the same IP address.
>
> Connection helpers seemed like a good idea at first, since expected
> connections inherit the connmark value of the original connection.
> However, once an expectation is set up, there is no way to set up
> another right after one expectation has been confirmed.
Why not?
next prev parent reply other threads:[~2008-07-07 14:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-07 14:13 HTTP connection tracking Jan Engelhardt
2008-07-07 14:20 ` Patrick McHardy [this message]
2008-07-07 14:52 ` Jan Engelhardt
2008-07-07 15:25 ` 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=48722643.80608@trash.net \
--to=kaber@trash.net \
--cc=jengelh@medozas.de \
--cc=netfilter-devel@vger.kernel.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