From owner-freebsd-current@FreeBSD.ORG Thu Apr 19 22:38:08 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 2EC5116A401 for ; Thu, 19 Apr 2007 22:38:08 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id B334013C4C1 for ; Thu, 19 Apr 2007 22:38:07 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l3JMc05o004170; Fri, 20 Apr 2007 08:38:00 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l3JMbxJN004169; Fri, 20 Apr 2007 08:37:59 +1000 (EST) (envelope-from peter) Date: Fri, 20 Apr 2007 08:37:59 +1000 From: Peter Jeremy To: Krassimir Slavchev Message-ID: <20070419223759.GA4051@turion.vk2pj.dyndns.org> References: <46272B99.9090100@bulinfo.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/9DWx/yDrRhgMJTb" Content-Disposition: inline In-Reply-To: <46272B99.9090100@bulinfo.net> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.14 (2007-02-12) 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: Thu, 19 Apr 2007 22:38:08 -0000 --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-Apr-19 11:43:05 +0300, Krassimir Slavchev wrot= e: >The problem is when I try to access ftp servers, the connection stalls=20 >randomly. Also I can't do cvsup and fetch. >This happens only with machines running -current and when the traffic is= =20 >passed through router based on FreeBSD 4.4. One of the test machines is=20 >my notebook which have installed 7.0-CURRENT (from today) and 5.4-STABLE= =20 >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). 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? --=20 Peter Jeremy --/9DWx/yDrRhgMJTb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGJ+9H/opHv/APuIcRApq0AJ9SoUS763fQnw1t8q21Fl704/mBsgCeOe0t uBEjDKmzyABNZQlgyCum6wQ= =leSD -----END PGP SIGNATURE----- --/9DWx/yDrRhgMJTb--