From owner-freebsd-stable@FreeBSD.ORG Fri Feb 29 15:47:22 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFC3D1065679 for ; Fri, 29 Feb 2008 15:47:22 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id CAB8B8FC15 for ; Fri, 29 Feb 2008 15:47:22 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id A5D571CC05B; Fri, 29 Feb 2008 07:47:22 -0800 (PST) Date: Fri, 29 Feb 2008 07:47:22 -0800 From: Jeremy Chadwick To: Dmitry Antipov Message-ID: <20080229154722.GB94436@eos.sc1.parodius.com> References: <47C7E73E.5010701@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47C7E73E.5010701@yandex.ru> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-stable@freebsd.org Subject: Re: 7.0 - slow/unstable Internet access via Linux router X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 15:47:23 -0000 On Fri, Feb 29, 2008 at 02:06:38PM +0300, Dmitry Antipov wrote: > recently I've installed 7.0 and now I'm observing strange thing with my > Internet connection. > Access to some sites may be VERY slow or doesn't work at all with different > kinds of timeout > messages or without messages at all (but other sites works fine). For > example, firefox may say > "Transferring data from..." message and then "The connection to the server > was reset while > the page was loading", lynx just says "HTTP/1.1 200 OK" and displays no > data, etc. Sounds like TCP stack breakage, and not so much an MTU problem. I read many months ago that some others having this problem solved it by disabling RFC1323 extensions (default is on), which is a little odd, but it worked for a couple people. Try doing "sysctl net.inet.tcp.rfc1323=0" and see if the problem goes away. If it does, put tcp_extensions="no" in /etc/rc.conf. I can't reproduce this behaviour, though, on my own setup at home (using em(4) gigE NICs on the BSD box, and Broadcom BCM47xx 10/100 NICs on the Linux box (a WRT54GL). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |