From owner-freebsd-net@FreeBSD.ORG Fri Nov 17 17:40:58 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 AD34716A415; Fri, 17 Nov 2006 17:40:58 +0000 (UTC) (envelope-from pp@pp.dyndns.biz) Received: from mxfep01.bredband.com (mxfep01.bredband.com [195.54.107.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C74F43D45; Fri, 17 Nov 2006 17:40:56 +0000 (GMT) (envelope-from pp@pp.dyndns.biz) Received: from ironport2.bredband.com ([195.54.107.84] [195.54.107.84]) by mxfep01.bredband.com with ESMTP id <20061117174056.KFC17968.mxfep01.bredband.com@ironport2.bredband.com>; Fri, 17 Nov 2006 18:40:56 +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; 17 Nov 2006 18:40:55 +0100 Received: from phobos ([192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.13.6/8.13.6) with ESMTP id kAHHkSKp001185; Fri, 17 Nov 2006 18:46:32 +0100 (CET) (envelope-from pp@pp.dyndns.biz) From: "Morgan" Sender: "pp" To: Date: Fri, 17 Nov 2006 18:40:48 +0100 Message-ID: <013901c70a6f$84d7eee0$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: <455DC0F4.1070309@freebsd.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AccKUb82ur/NrvZ0Ri67/tQE/3b1QwAHM5Zg 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: Fri, 17 Nov 2006 17:40:58 -0000 > A RELENG_6 version (for FreeBSD 6.x) of the patch is here: > > http://people.freebsd.org/~andre/tcp_auto_sndbuf-20061116-RELE > NG_6.diff > > Just apply this patch and recompile your kernel. It is > activated by default. Downloaded, applied, recompiled, installed and rebooted without any errors. I did however add the sysctl variables to my /etc/sysctl.conf just in case. > Be aware that all socket buffer sizing events get logged to > syslog under LOG_DEBUG. Does this mean they will automatically show up in /var/log/debug.log? > This may affect overall system > performance and you may want to disable logging to disk of > this in syslogd.conf. I could use some help with the syntax for this... :-) And a final question: Will this feature work regardless of what side initiates the TCP connection? Or will I have to instruct my ftp-users to use active mode only when they transfer files to/from my FreeBSD box? Regards Morgan