From owner-freebsd-current@FreeBSD.ORG Mon Nov 6 17:41:52 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB5E116A412 for ; Mon, 6 Nov 2006 17:41:52 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id F36EB43D60 for ; Mon, 6 Nov 2006 17:41:51 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 5360646D70; Mon, 6 Nov 2006 12:41:51 -0500 (EST) Date: Mon, 6 Nov 2006 17:41:51 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Max Laier In-Reply-To: <200611061628.13333.max@love2party.net> Message-ID: <20061106173624.O28593@fledge.watson.org> References: <454F4B61.2000708@cisco.com> <200611061628.13333.max@love2party.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Randall Stewart , freebsd-current@freebsd.org Subject: Re: Tools looking for a home :-) 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: Mon, 06 Nov 2006 17:41:52 -0000 On Mon, 6 Nov 2006, Max Laier wrote: > On Monday 06 November 2006 15:49, Randall Stewart wrote: >> I would like opinions... and or advice on where to place things.. >> >> I have some SCTP test tools.. I know there is a /usr/src/tools >> directory.... should I just make an sctp/ directory under that.. and then >> place some of the test-tools in there? Or have folks got a place for IP >> transport test utilities? > > Speaking of tools, is there a patch to teach netstat "-sp sctp"? The > exported stats seem very elaborated, so maybe a bit of filtering is in > order. Right now, the supporting sysctls to do this aren't present; the getcred sysctl is present but based on a rather stale version of the TCP code of the same nature, and the lookup to query the lists, etc, isn't present at all. We should add these, but let's try and do a better job than with what we have now -- we should make a clean distinction between the user and kernel data structures, and not have the external ones include nested copies of internal ones, etc, as this makes netstat very fragile in the face of kernel changes. Once or twice I've started unwinding the mess that is the xfoo data structures for TCP, but I usually give up quickly. :-) Robert N M Watson Computer Laboratory University of Cambridge