From owner-freebsd-net@FreeBSD.ORG Fri Feb 5 08:34:52 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DFFC106566B for ; Fri, 5 Feb 2010 08:34:52 +0000 (UTC) (envelope-from lstewart@freebsd.org) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id 54D8B8FC12 for ; Fri, 5 Feb 2010 08:34:52 +0000 (UTC) Received: from lstewart.caia.swin.edu.au (lstewart.caia.swin.edu.au [136.186.229.95]) by lauren.room52.net (Postfix) with ESMTPSA id 732717E820; Fri, 5 Feb 2010 19:34:50 +1100 (EST) Message-ID: <4B6BD829.9080303@freebsd.org> Date: Fri, 05 Feb 2010 19:34:49 +1100 From: Lawrence Stewart User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20100105 Thunderbird/3.0 MIME-Version: 1.0 To: Frank Schuster References: <1967077940@web.de> In-Reply-To: <1967077940@web.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: TCP debugging 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, 05 Feb 2010 08:34:52 -0000 Hi Frank, On 02/03/10 00:11, Frank Schuster wrote: > Hello, > > I want to debug a tcp connection but I can't find how can I do this. > I want to plot the cwnd and ssthresh over the time. > > I come from the "linux-world" and there is tcp_probe, but what can I do on Freebsd. > > 1.) Is this in freebsd possible and if it, how is it? Have a look at the SIFTR tool I've been working on. You can grab it from here: http://people.freebsd.org/~lstewart/patches/tcp_ffcaia2008/siftr_8.x.r195779.patch I use it to do exactly the sort of thing you're trying to do. > 2.) Which slow-start algorithm freebsd 8.0 is using as standard? (Reno, Cubic,...) The slow start method used is regular RFC2851. The congestion control algorithm is NewReno, but I also have patches enabling experimental use of other algorithms for research purposes. Happy to provide more pointers if you're interested. Cheers, Lawrence