From: "Nishit Shah" <nishit@elitecore.com>
To: "'Jan Engelhardt'" <jengelh@computergmbh.de>
Cc: <netfilter-devel@vger.kernel.org>
Subject: RE: Does Redirect/NAT change the destination port of reverse tuple ?
Date: Fri, 29 Feb 2008 17:43:10 +0530 [thread overview]
Message-ID: <006501c87acc$737343b0$5a59cb10$@com> (raw)
In-Reply-To: <Pine.LNX.4.64.0802291302510.24056@fbirervta.pbzchgretzou.qr>
-----Original Message-----
From: Jan Engelhardt [mailto:jengelh@computergmbh.de]
Sent: Friday, February 29, 2008 5:34 PM
To: Nishit Shah
Cc: netfilter-devel@vger.kernel.org
Subject: RE: Does Redirect/NAT change the destination port of reverse tuple
?
On Feb 29 2008 17:30, Nishit Shah wrote:
>>>Now here original and reverse tuples are -->
>>> Original tuple 192.168.206.200:63423->72.14.223.83:443
>>> Reply tuple 192.168.121.125:3128->192.168.206.200:46873
>>>
>>>So, here destination port of reverse tuple is 46873. Is it correct ?
>>
>>You could compare with the output of tcpdump to capture the
>>actual on-wire situation especially regarding port 46873.
>
>In tcpdump output I am seeing packets only with port 63423. No packets with
>port 46873. Something like
>
> 192.168.206.200:63423->72.14.223.83:443 Syn
> 72.14.223.83:443->192.168.206.200:63423 Syn Ack
> 192.168.206.200:63423->72.14.223.83:443 Ack
>
>Also, this happens with heavy load only. In normal conditions destination
>port of reverse tuple doesn't change.
Then, also check the output of `lsof -Pn` and see if it has
46873.
squid 5770 squid 20u IPv4 30336 TCP
192.168.206.200:46873->a.b.c.d:3128 (ESTABLISHED)
Yes, It is like you have mentioned. Even In squid I am getting source port
as 46873.
I am putting my load pattern here may be that can help
Client IP - 192.168.206.200 and I am sending random https requests with
incrementing source port every time starting from 1025 to 65535....
next prev parent reply other threads:[~2008-02-29 12:12 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 [this message]
2008-02-29 11:52 ` Pascal Hambourg
2008-02-29 12:34 ` Nishit Shah
2008-03-01 12:22 ` Pascal Hambourg
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='006501c87acc$737343b0$5a59cb10$@com' \
--to=nishit@elitecore.com \
--cc=jengelh@computergmbh.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 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.