From owner-freebsd-net Thu Apr 25 21:26:28 2002 Delivered-To: freebsd-net@freebsd.org Received: from patrocles.silby.com (d64.as2.nwbl0.wi.voyager.net [169.207.92.64]) by hub.freebsd.org (Postfix) with ESMTP id 2C66E37B41D for ; Thu, 25 Apr 2002 21:26:22 -0700 (PDT) Received: from patrocles.silby.com (localhost [127.0.0.1]) by patrocles.silby.com (8.12.3/8.12.3) with ESMTP id g3Q4QLUm009835; Thu, 25 Apr 2002 23:26:21 -0500 (CDT) (envelope-from silby@silby.com) Received: from localhost (silby@localhost) by patrocles.silby.com (8.12.3/8.12.3/Submit) with ESMTP id g3Q4Q4JF009832; Thu, 25 Apr 2002 23:26:05 -0500 (CDT) X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Thu, 25 Apr 2002 23:26:04 -0500 (CDT) From: Mike Silbersack To: Alfred Perlstein Cc: "George V. Neville-Neil" , Subject: Re: Putting all PCBs into sysctl? In-Reply-To: <20020426040001.GB1530@elvis.mu.org> Message-ID: <20020425232324.S7839-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 25 Apr 2002, Alfred Perlstein wrote: > * George V. Neville-Neil [020425 20:02] wrote: > > Hey Folks, > > > > I was just wondering if anyone had considered making it possible to > > control PCBs from the sysctl interface? I'm not completely familiar with > > sysctl yet, is it possible to add information to the database dynamically? > > > > It would be nice to be able to disconnect, or modify, long running > > connections, > > for instance on a machine under DOS attack or perhaps for debugging. > > > > Just an idea... > > A very good one in fact, see what you can do, I'd be interested in > seeing patches to do this safely. > > -- > -Alfred Perlstein [alfred@freebsd.org] Agreed, that would be cool. The only problem I can see is how you would uniquely identify a socket. (It wouldn't be nice to kill the wrong socket because they switched out from under you.) Maybe a procfs like filesystem for sockets would be better. :) Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message