From owner-freebsd-net Fri Apr 26 10:56:14 2002 Delivered-To: freebsd-net@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 3043F37B41D for ; Fri, 26 Apr 2002 10:55:52 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 024C9AE2B7; Fri, 26 Apr 2002 10:55:51 -0700 (PDT) Date: Fri, 26 Apr 2002 10:55:51 -0700 From: Alfred Perlstein To: "George V. Neville-Neil" Cc: jayanth , Mike Silbersack , freebsd-net@FreeBSD.ORG Subject: Re: Putting all PCBs into sysctl? Message-ID: <20020426175551.GH1530@elvis.mu.org> References: <20020426103451.B92949@yahoo-inc.com> <200204261748.g3QHmSV4016488@mail.meer.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200204261748.g3QHmSV4016488@mail.meer.net> User-Agent: Mutt/1.3.27i 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 * George V. Neville-Neil [020426 10:48] wrote: > > We have a sysctl that takes the four tuple as an argument, which can > > be got from netstat -an output. It is used only for deleting a > > connection not modifying it. > > > > for e.g > > sysctl net.inet.tcp.deleteconn="a.b.c.d:80:x.y.z.w:30000". > > > > netstat -Aan gives us the tcp control block address or the inpcb address > > depending on the type of socket. That could also be used for identifying > > the socket. > > Do you mean this is what you'd like or that it exists? I get: > > # sysctl net.inet.tcp.deleteconn="209.157.133.226.4296:216.136.204.21.80" > sysctl: unknown oid 'net.inet.tcp.deleteconn' > # > > when I try it. It's a yahoo specific os hack. :) -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message