Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2002 10:48:28 -0700
From:      "George V. Neville-Neil" <gnn@neville-neil.com>
To:        jayanth <jayanth@yahoo-inc.com>
Cc:        Mike Silbersack <silby@silby.com>, Alfred Perlstein <bright@mu.org>, freebsd-net@FreeBSD.ORG
Subject:   Re: Putting all PCBs into sysctl? 
Message-ID:  <200204261748.g3QHmSV4016488@mail.meer.net>
In-Reply-To: Message from jayanth <jayanth@yahoo-inc.com>  of "Fri, 26 Apr 2002 10:34:51 PDT." <20020426103451.B92949@yahoo-inc.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.

Later,
George

-- 
George V. Neville-Neil                                  gnn@neville-neil.com
Neville-Neil Consulting                                	www.neville-neil.com

"I learn only to be contented."  inscription at Ryoan-ji in Kyoto, Japan



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204261748.g3QHmSV4016488>