Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2005 18:39:20 GMT
From:      Alexandre NERAT <gz@poliris.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/76674: FreeBSD 5.3 not returning ack when talking with windows 2003 server (seems to happen with other versions too)
Message-ID:  <200501251839.j0PIdJNB090804@www.freebsd.org>
Resent-Message-ID: <200501251840.j0PIeUZt095202@freefall.freebsd.org>

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

>Number:         76674
>Category:       kern
>Synopsis:       FreeBSD 5.3 not returning ack when talking with windows 2003 server (seems to happen with other versions too)
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 25 18:40:30 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alexandre NERAT
>Release:        5.3-RELEASE
>Organization:
POLIRIS
>Environment:
FreeBSD megastorage.poliris.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Wed Nov 24 17:28:22 UTC 2004     root@megastorage.poliris.net:/usr/src/sys/i386/compile/megastorage  i386
>Description:
The background: I have a FreeBSD 5.3-release with a samba on it. When doing a 'big' transfer, the tcp connection seems to be screwed up at one time.
First, I noticed it happen when FreeBSD echoed the first "sack 2", but when turning net.inet.tcp.sack.enable to 0, the problem still appeared (insted, FreeBSD just sent normal acks).

It may come from packet data and tcp routine, since I noticed the same kind of problem in the past (I couldn't transfer a file, either with samba or ftp).

Here is some extract of the tcpdump:
18:22:54.320915 IP 10.0.0.3.445 > 10.0.100.143.3284: . ack 2192789 win 65535
18:22:54.320932 IP 10.0.0.3.445 > 10.0.100.143.3284: . ack 2192789 win 65535
18:22:54.688850 IP 10.0.100.143.3284 > 10.0.0.3.445: . 2192789:2194249(1460) ack 49770 win 17367
18:22:55.438829 IP 10.0.100.143.3284 > 10.0.0.3.445: . 2192789:2194249(1460) ack 49770 win 17367
18:22:57.079427 IP 10.0.100.143.3284 > 10.0.0.3.445: . 2192789:2194249(1460) ack 49770 win 17367
18:23:00.251249 IP 10.0.100.143.3284 > 10.0.0.3.445: . 2192789:2194249(1460) ack 49770 win 17367
18:23:06.594879 IP 10.0.100.143.3284 > 10.0.0.3.445: . 2192789:2194249(1460) ack 49770 win 17367
-> and then the tcp connection disappears from windows 2003 (which is 10.0.100.143), but still remains 'ESTABLISHED' on FreeBSD (10.0.0.3).

I have tcpdump capture file if you want, but it's more than 4Mb, so I prefer have you to ask it if you need it.. ;)

Anyway, thank you for developping and supporting my favorite OS ;)
>How-To-Repeat:
I can repeat it by launching the transfer.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501251839.j0PIdJNB090804>