From owner-freebsd-net@FreeBSD.ORG Mon Feb 21 05:26:43 2005 Return-Path: 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 BBAB716A4CE for ; Mon, 21 Feb 2005 05:26:43 +0000 (GMT) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 1169943D5D for ; Mon, 21 Feb 2005 05:26:43 +0000 (GMT) (envelope-from silby@silby.com) Received: (qmail 13747 invoked from network); 21 Feb 2005 05:26:41 -0000 Received: from unknown (HELO localhost) (unknown) by unknown with SMTP; 21 Feb 2005 05:26:41 -0000 X-pair-Authenticated: 209.68.2.70 Date: Sun, 20 Feb 2005 23:26:41 -0600 (CST) From: Mike Silbersack To: Kris Kennaway In-Reply-To: <20050221051100.GA13873@xor.obsecurity.org> Message-ID: <20050220232303.D3038@odysseus.silby.com> References: <42192D78.6070600@elischer.org> <20050220193909.K1739@odysseus.silby.com> <20050221051100.GA13873@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: Julian Elischer cc: net@freebsd.org Subject: Re: ABI suggestions? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2005 05:26:43 -0000 On Sun, 20 Feb 2005, Kris Kennaway wrote: > On Sun, Feb 20, 2005 at 07:40:35PM -0600, Mike Silbersack wrote: >> Yes, I think that'd be very useful; when a user has a repeatable network >> problem, we could have them turn this on and create a detailed log file >> for us. In cases of reset connections, etc, this would be quite useful. > > Wouldn't it be best to use KTR for this on 5.x/6.x instead of > introducing another KTR-alike? > > Kris TCP/IP events always happen in places where sleepable locks can be held, so this doesn't require the semantics of KTR. Instead, it seems feasible to send the tcp info straight to syslog and let it direct the relevant info to /var/log/tcpdebug.log. No need for a translation program like ktrdump then. Mike "Silby" Silbersack