From owner-freebsd-current@FreeBSD.ORG Fri Apr 20 10:18:31 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 292AC16A401 for ; Fri, 20 Apr 2007 10:18:31 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by mx1.freebsd.org (Postfix) with ESMTP id 962C113C45D for ; Fri, 20 Apr 2007 10:18:30 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by core.fnop.net (Postfix) with ESMTP id 6E1CA690619; Fri, 20 Apr 2007 11:20:13 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 283FD6906BB; Fri, 20 Apr 2007 11:20:13 +0100 (WEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on core.fnop.net X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,RCVD_IN_SORBS_DUL autolearn=no version=3.1.7 Received: from epsilon.local.fnop.net (87-196-85-62.net.novis.pt [87.196.85.62]) by core.fnop.net (Postfix) with ESMTP id 43D21690619; Fri, 20 Apr 2007 11:20:12 +0100 (WEST) Date: Fri, 20 Apr 2007 11:18:24 +0100 Message-ID: <86abx3nybz.wl%rpaulo@fnop.net> From: Rui Paulo To: Craig Boston , Peter Jeremy , Krassimir Slavchev , freebsd-current@freebsd.org In-Reply-To: <20070420043638.GA4453@nowhere> References: <46272B99.9090100@bulinfo.net> <20070419223759.GA4051@turion.vk2pj.dyndns.org> <20070420043638.GA4453@nowhere> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: ClamAV using ClamSMTP Cc: 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 10:18:31 -0000 At Thu, 19 Apr 2007 23:36:38 -0500, Craig Boston wrote: > > On Fri, Apr 20, 2007 at 08:37:59AM +1000, Peter Jeremy wrote: > > 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). > > I don't know if it's related, but I've had problems with packets to/from > a recent -CURRENT box not being able to traverse a pf (running on > 6.2-stable) firewall with NAT and state rules. Some of the packets are > dropped unless I disable net.inet.tcp.rfc1323 on the system running > -CURRENT, enough to cause ssh connections to stall and drop before > login. > > 6.x machines behind the same firewall work just fine. I can provide > tcpdump output if someone thinks it will help. Maybe this helps. revision 1.291 date: 2006/02/28 23:05:59; author: andre; state: Exp; lines: +20 -19 Rework TCP window scaling (RFC1323) to properly scale the send window right from the beginning and partly clean up the differences in handling between SYN_SENT and SYN_RCVD (syncache). Further changes to this code to come. This is a first incremental step to a general overhaul and streamlining of the TCP code. PR: kern/15095 PR: kern/92690 (partly) Reviewed by: qingli (and tested with ANVL) Sponsored by: TCP/IP Optimization Fundraise 2005 -- Rui Paulo - rpaulo@fnop.net