From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: Nishit Shah <nishit@elitecore.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: Does Redirect/NAT change the destination port of reverse tuple ?
Date: Sat, 01 Mar 2008 13:22:21 +0100 [thread overview]
Message-ID: <47C94A7D.4040408@plouf.fr.eu.org> (raw)
In-Reply-To: <006701c87acf$63edd8d0$2bc98a70$@com>
Nishit Shah a écrit :
>
>> NAT may implicitly change the original source port in order to
>> avoid a clash with an existing connection.
>
> Hmm... So if I need original source IP and port in proxy (like
> SO_ORIGINAL_DST, something SO_ORIGINAL_SRC) I should trust conntrack not the
> socket info, correct ?
I guess so, unless it exists some option similar to SO_ORIGINAL_DST,
which is IMHO a ugly hack.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2008-03-01 12:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-29 10:49 Does Redirect/NAT change the destination port of reverse tuple ? Nishit Shah
2008-02-29 11:29 ` Jan Engelhardt
2008-02-29 12:00 ` Nishit Shah
2008-02-29 12:04 ` Jan Engelhardt
2008-02-29 12:13 ` Nishit Shah
2008-02-29 11:52 ` Pascal Hambourg
2008-02-29 12:34 ` Nishit Shah
2008-03-01 12:22 ` Pascal Hambourg [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=47C94A7D.4040408@plouf.fr.eu.org \
--to=pascal.mail@plouf.fr.eu.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=nishit@elitecore.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.