Re: Tools looking for a home :-)

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Mon, 6 Nov 2006 17:41:51 +0000 (GMT)
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
Received on Mon Nov 06 2006 - 16:41:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:02 UTC