From nobody@FreeBSD.org  Tue Jan 25 18:39:20 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B53E316A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 25 Jan 2005 18:39:20 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8BCD243D2D
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 25 Jan 2005 18:39:20 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j0PIdK5F090805
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 25 Jan 2005 18:39:20 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j0PIdJNB090804;
	Tue, 25 Jan 2005 18:39:20 GMT
	(envelope-from nobody)
Message-Id: <200501251839.j0PIdJNB090804@www.freebsd.org>
Date: Tue, 25 Jan 2005 18:39:20 GMT
From: Alexandre NERAT <gz@poliris.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD 5.3 not returning ack when talking with windows 2003 server (seems to happen with other versions too)
X-Send-Pr-Version: www-2.3

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 25 18:40:30 GMT 2005
>Closed-Date:    Wed Jan 26 14:33:54 GMT 2005
>Last-Modified:  Wed Jan 26 14:33:54 GMT 2005
>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:

From: "Alexandre NERAT" <gz@poliris.com>
To: <FreeBSD-gnats-submit@FreeBSD.org>, <freebsd-bugs@FreeBSD.org>
Cc:  
Subject: Re: kern/76674: -- discard report, sorry --
Date: Wed, 26 Jan 2005 14:51:46 +0100

 Hi,
 
 You can discard this report, actually it was an old hp procurve
 switch that screwed some specific packets.
 
 Sorry for the inconvenience..
 
 ----- Original Message ----- 
 From: <FreeBSD-gnats-submit@FreeBSD.org>
 To: "Alexandre NERAT" <gz@poliris.com>
 Sent: Tuesday, January 25, 2005 7:40 PM
 Subject: Re: kern/76674: FreeBSD 5.3 not returning ack when talking with
 windows 2003 server (seems to happen with other versions too)
 
 
 > Thank you very much for your problem report.
 > It has the internal identification `kern/76674'.
 > The individual assigned to look at your
 > report is: freebsd-bugs.
 >
 > You can access the state of your problem report at any time
 > via this link:
 >
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=76674
 >
 > >Category:       kern
 > >Responsible:    freebsd-bugs
 > >Synopsis:       FreeBSD 5.3 not returning ack when talking with windows
 2003 server (seems to happen with other versions too)
 > >Arrival-Date:   Tue Jan 25 18:40:30 GMT 2005
 >
 
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Wed Jan 26 14:33:33 GMT 2005 
State-Changed-Why:  
Closed at the submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76674 
>Unformatted:
