Re: Kill TCP session
- From: Ceri Davies <ceri_usenet@xxxxxxxxxxxxx>
- Date: Mon, 31 Jul 2006 14:39:00 GMT
On 2006-07-31, Brian Mac <mcnamarabrian@xxxxxxxxx> wrote:
rahan wrote:
Hi,
kill is used to kill process.
How it's possible to kill a tcp session btw client and solaris server
without killing process ?
So, i have some tcp connexion to the application running on my solaris
server, and i need to know how it's possible to kill session btw one
client and my server.
Check out a utility called lsof - to the best of my knowledge it isn't
included with Solaris. It will list open files, including network
connections. The difference between it and netstat is that lsof will
list the PID .
The OP did ask for a way to drop the session without killing the process.
While OpenBSD and FreeBSD (at least), there is a utility called tcpdrop
which will do this. I don't think that Solaris has an equivalent,
although you could null route the client IP if you were happy to drop
all traffic between the client and server..
Ceri
--
That must be wonderful! I don't understand it at all.
-- Moliere
.
- Follow-Ups:
- Re: Kill TCP session
- From: Casper H . S . ***
- Re: Kill TCP session
- References:
- Kill TCP session
- From: rahan
- Re: Kill TCP session
- From: Brian Mac
- Kill TCP session
- Prev by Date: Re: Kill TCP session
- Next by Date: Sun LDAP server on Solaris 10 compared to Solaris 8
- Previous by thread: Re: Kill TCP session
- Next by thread: Re: Kill TCP session
- Index(es):