From owner-freebsd-current@FreeBSD.ORG Fri Apr 20 07:17:22 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6C38916A401 for ; Fri, 20 Apr 2007 07:17:22 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id 27E5B13C4B9 for ; Fri, 20 Apr 2007 07:17:22 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id B75BA6292B; Fri, 20 Apr 2007 10:17:20 +0300 (EEST) Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 37130-05; Fri, 20 Apr 2007 10:17:19 +0300 (EEST) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id 552C46292A; Fri, 20 Apr 2007 10:17:19 +0300 (EEST) Message-ID: <462868FF.2050008@bulinfo.net> Date: Fri, 20 Apr 2007 10:17:19 +0300 From: Krassimir Slavchev User-Agent: Thunderbird 1.5 (X11/20060201) MIME-Version: 1.0 To: Peter Jeremy References: <46272B99.9090100@bulinfo.net> <20070419223759.GA4051@turion.vk2pj.dyndns.org> In-Reply-To: <20070419223759.GA4051@turion.vk2pj.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at mx.bulinfo.net Cc: freebsd-current@freebsd.org Subject: Re: network problems? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2007 07:17:22 -0000 Peter Jeremy wrote: > On 2007-Apr-19 11:43:05 +0300, Krassimir Slavchev wrote: > >> The problem is when I try to access ftp servers, the connection stalls >> randomly. Also I can't do cvsup and fetch. >> This happens only with machines running -current and when the traffic is >> passed through router based on FreeBSD 4.4. One of the test machines is >> my notebook which have installed 7.0-CURRENT (from today) and 5.4-STABLE >> and I see this problem only with -current. >> > > The default TCP send and receive spaces were increased just after > RELENG4 was branched. The new receive space requires window scaling > to be used. I know that some versions of IPfilter have bugs in their > window scaling code and incorrectly block packets as "out of window". > > You could try reducing net.inet.tcp.recvspace or disabling > net.inet.tcp.rfc1323 and see if that helps. (Though RELENG5 should > also be affected if this is the problem). > Disabling net.inet.tcp.rfc1323 solves the problem. Decreasing net.inet.tcp.recvspace (16384 on 4.x) increases stallages. > Are you in a position to run tcpdump on your router? If so, can you > tcpdump both the internal and external interfaces and find packets > that don't make it thru? > Yes. I can do this when the traffic is minimal. It is very strange that both 6.2 and 5.4 have the same settings as 7.0: net.inet.tcp.recvspace: 65536 net.inet.tcp.rfc1323: 1 but the problem is with 7.0 only. Best Regards