Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2007 12:01:08 +0100
From:      Rui Paulo <rpaulo@fnop.net>
To:        Anton Yuzhaninov <citrin@citrin.ru>
Cc:        freebsd-net@freebsd.org
Subject:   Re: RELENG_7: can't connect to Solaris
Message-ID:  <3171D7CB-2E63-4FAF-92A9-3907D44AB845@fnop.net>
In-Reply-To: <47206EE2.6030606@citrin.ru>
References:  <47206EE2.6030606@citrin.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

On 25 Oct 2007, at 11:24, Anton Yuzhaninov wrote:

>
> I can't connect from FreeBSD 7 box to Solaris 9. While between  
> FreeBSD6 and Solaris 9 tcp work fine.
>
> I run on FreeBSD, and it nod't work:
> $ fetch -o /dev/null http://mail6:8274      fetch: transfer timed out
>
> OS versions:
> FreeBSD citrin.rambler.stack.net 7.0-PRERELEASE FreeBSD 7.0- 
> PRERELEASE #0: Fri Oct 19 00:31:03 MSD 2007  
> citrin@citrin.rambler.stack.net:/usr/obj/usr/src/sys/GENERIC  amd64
> SunOS mail6 5.9 Generic_117172-07 i86pc i386 i86pc
>
> tcpdump on freebsd side:
> 04:26:28.332895 81.19.65.162.57161 > 81.19.71.6.8274: S [bad tcp  
> cksum 3038!] 3123015513:3123015513(0) win 65535 <mss  
> 1460,nop,wscale 8,sackOK,timestamp 498561841 0> (DF) (ttl 64, id  
> 27368, len 60, bad cksum 0!)
> 04:26:28.333213 81.19.71.6.8274 > 81.19.65.162.57161: S [tcp sum  
> ok] 2890615179:2890615179(0) ack 3123015514 win 33304  
> <nop,nop,timestamp 622594948 498561841,mss 1460,nop,wscale  
> 1,nop,nop,sackOK> (DF) (ttl 62, id 16035, len 64)
> 04:26:28.333290 81.19.65.162.57161 > 81.19.71.6.8274: . [bad tcp  
> cksum 793f!] ack 1 win 260 <nop,nop,timestamp 498561841 622594948>  
> (DF) (ttl 64, id 27369, len 52, bad cksum 0!)
> 04:26:28.334892 81.19.65.162.57161 > 81.19.71.6.8274: P [bad tcp  
> cksum 572f!] 1:88(87) ack 1 win 260 <nop,nop,timestamp 498561843  
> 622594948> (DF) (ttl 64, id 27370, len 139, bad cksum 0!)
> 04:26:28.335148 81.19.71.6.8274 > 81.19.65.162.57161: . [tcp sum  
> ok] ack 88 win 33260 <nop,nop,timestamp 622594948 498561843> (DF)  
> (ttl 62, id 16036, len 52)
>
> snoop in Solaris show same:
>   1   0.00000 81.19.65.162 -> 81.19.71.6   TCP D=8274 S=57161 Syn  
> Seq=3123015513 Len=0 Win=65535 Options=<mss 1460,nop,wscale  
> 8,sackOK,tstamp 498561841 0>
>   2   0.00001   81.19.71.6 -> 81.19.65.162 TCP D=57161 S=8274 Syn  
> Ack=3123015514 Seq=2890615179 Len=0 Win=33304  
> Options=<nop,nop,tstamp 622594948 498561841,mss 1460,nop,wscale  
> 1,nop,nop,sackOK>
>   3   0.00028 81.19.65.162 -> 81.19.71.6   TCP D=8274 S=57161  
> Ack=2890615180 Seq=3123015514 Len=0 Win=260 Options=<nop,nop,tstamp  
> 498561841 622594948>
>   4   0.00162 81.19.65.162 -> 81.19.71.6   TCP D=8274 S=57161 Push  
> Ack=2890615180 Seq=3123015514 Len=87 Win=260  
> Options=<nop,nop,tstamp 498561843 622594948>
>   5   0.00003   81.19.71.6 -> 81.19.65.162 TCP D=57161 S=8274  
> Ack=3123015601 Seq=2890615180 Len=0 Win=33260  
> Options=<nop,nop,tstamp 622594948 498561843>
>
>
> With net.inet.tcp.rfc1323=0 tcp work, but it should work with  
> rfc1323=1 (and in FreeBSD 6 tcp to SunOS work with rfc1323=1).
>
> net.inet.tcp.log_debug=1 and nothing about this connection logged.

As silby@ already pointed out to me, try changing TCP_MAX_WINSHIFT in  
src/sys/netinet/tcp.h to 4.

Regards.
--
Rui Paulo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3171D7CB-2E63-4FAF-92A9-3907D44AB845>