(E-Mail Removed) wrote:
> sudo /usr/sbin/tcpdump -i eth0 host 10.128.0.2
> tcpdump: verbose output suppressed, use -v or -vv for full protocol
> decode
> listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
> 16:38:56.832118 IP 10.128.0.2.33846 > ratheesh.ftp: S
> 512021751:512021751(0) win 5840 <mss 1460,sackOK,timestamp 1840785658
> 0,nop,wscale 2>
> 16:38:56.833201 IP ratheesh.ftp > 10.128.0.2.33846: S
> 1246138828:1246138828(0) ack 512021752 win 5792 <mss
> 1460,sackOK,timestamp 3756663 1840785658,nop,wscale 2>
> 16:38:56.897908 IP 10.128.0.2.33846 > ratheesh.ftp: . ack 1 win 1460
> <nop,nop,timestamp 1840785724 3756663>
>
> ""
> I am confused regarding the window size that both sender and
> receiver advertises.
Because tcpdump output is not honouring the wscale option of the tcp
handshake for subsequent session packages.
2^2*1460=5840...
Try tshark and you will see everything is fine.
Markus