Date: Fri, 17 Aug 2001 08:15:02 -0500 From: Eric_Stanfield@kenokozie.com To: FreeBSD-ISP@FreeBSD.ORG Subject: Re: Killing TCP/IP connection. Message-ID: <OFCB9C33C2.F26B6BDD-ON86256AAB.0048B5D0@kka.com>
next in thread | raw e-mail | index | archive | help
Wasn't there an app called tcpkill in the ports? I just looked and didn't see it but I could have sworn it was there in the past and was supposed to be able to nuke individual tcp sessions. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Eric Stanfield, K2Access Keno Kozie Associates 222 N LaSalle #1500 Chicago, IL 60606 (312) 332-3000 Fernando Gleiser <fgleiser@cactus.fi To: <FreeBSD-Questions@FreeBSD.ORG> .uba.ar> cc: <FreeBSD-ISP@FreeBSD.ORG> Sent by: Subject: Re: Killing TCP/IP connection. owner-freebsd-isp@F reeBSD.ORG 08/17/01 08:36 AM On Fri, 17 Aug 2001 sthaug@nethelp.no wrote: > That's fine for the one process per client case. But I'm talking about > the general case where *one* process handles the connections to many > clients, and you specifically *don't* have a separate process per client. > In such cases it would be very useful to have a command line facility > to kill *one* connection without interfering with the other connections > handled by the same process. If you are using TCP and the clients are on a remote machine, there is no standard way to shutdown a connection from an external process. You would need to sniff the net to know the sequence numbers involved and then send a RST. What you can do is modify the server to use some kind of IPC in which you tell it "I want to shutdown the socket connectod from ip,port to ip,port" and the server then shutown(2)s the socket. Fer > > Steinar Haug, Nethelp consulting, sthaug@nethelp.no > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OFCB9C33C2.F26B6BDD-ON86256AAB.0048B5D0>