From owner-freebsd-net@FreeBSD.ORG Thu Nov 16 22:35:02 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A9DF16A62B; Thu, 16 Nov 2006 22:35:02 +0000 (UTC) (envelope-from pp@pp.dyndns.biz) Received: from mxfep03.bredband.com (mxfep03.bredband.com [195.54.107.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CBD843D76; Thu, 16 Nov 2006 22:34:54 +0000 (GMT) (envelope-from pp@pp.dyndns.biz) Received: from ironport2.bredband.com ([195.54.107.84] [195.54.107.84]) by mxfep03.bredband.com with ESMTP id <20061116223453.NQFF2545.mxfep03.bredband.com@ironport2.bredband.com>; Thu, 16 Nov 2006 23:34:53 +0100 Received: from c-58d8e055.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.224.216.88]) by ironport2.bredband.com with ESMTP/TLS/AES256-SHA; 16 Nov 2006 23:34:53 +0100 Received: from phobos ([192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.13.6/8.13.6) with ESMTP id kAGMYmUb012901; Thu, 16 Nov 2006 23:34:52 +0100 (CET) (envelope-from pp@pp.dyndns.biz) From: "Morgan" Sender: "pp" To: Date: Thu, 16 Nov 2006 23:34:47 +0100 Message-ID: <00f701c709cf$6c371d20$152ea8c0@phobos> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <455CB311.8040301@freebsd.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AccJsFUZ53nADhP1RDycyhIlM7RtTgAHKF0A Cc: freebsd-net@freebsd.org Subject: SV: Automatic TCP send socker buffer sizing X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2006 22:35:02 -0000 > This is a patch adding automatic TCP send socket buffer > sizing. > The patch is available here: > > http://people.freebsd.org/~andre/tcp_auto_sndbuf-20061116.diff > > Any testers, especially with busy FTP servers, are very welcome. > Very nice indeed! I've actually been looking for something like this :-) I would very much like to try it out but I need to know if I can benefit from it with my setup. My network knowledge on this deep level is very limited so I need to ask a few questions that probably sounds stupid... but here we go: Would this patch only benefit traffic generated from or destined to the FreeBSD box itself or would it also benefit traffic generated behind it on a LAN if the FreeBSD box was configured as: a) a router with NAT b) a router without NAT c) a bridge only Add to this the extra complexity of pf with synproxy and modulate state. I simply don't know how (if at all) FreeBSD interacts with or manipulates packets going through it under any of these circumstances, so I have to ask to learn :-) The patch didn't apply cleanly to my 6.1-RELEASE. Since this patch was cross-posted to -current I guess it wasn't meant for me. Any chance you can provide a patch for 6.1-RELEASE? This is the output: # patch