Re: RELENG_7: can't connect to Solaris




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@xxxxxxxxxxxxxxxxxxxxxxxx:/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

_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: RELENG_7: cant connect to Solaris
    ... FreeBSD6 and Solaris 9 tcp work fine. ... FreeBSD citrin.rambler.stack.net 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE ... First 5 packets in session almost same, but connction no stalled after 5th packet. ...
    (freebsd-net)
  • RELENG_7: cant connect to Solaris
    ... I run on FreeBSD, and it nod't work: ... tcpdump on freebsd side: ... snoop in Solaris show same: ...
    (freebsd-net)
  • FreeBSD-SA-01:48: tcpdump contains remote buffer overflow
    ... FreeBSD only: NO ... An overflowable buffer was found in the version of tcpdump included ... RELENG_4_3 security branch after the respective correction dates. ... An experimental upgrade package is available for users who wish to ...
    (Bugtraq)
  • Re: Backspace
    ... I'm a new user to FreeBSD and Unix. ... When Solaris is installed, press backspace will give you ^H, you'll ... all key assignments are dependent on the ... shells in UNIX environments have startup files to customize the key ...
    (freebsd-questions)
  • [Getting offtopic?] Solaris vs Linux vs FreeBSD on SPARC Machine (was: Re: Was: More FreeBSD Problem
    ... much less hassle than with FreeBSD. ... Any recent Solaris release will run well on that system, ... available in both x86 and SPARC versions. ... See below about the compile issues. ...
    (comp.unix.bsd.freebsd.misc)