add-memberalign-toparrow-leftarrow-rightbellblockcalendarcamerachatchevron-leftchevron-rightchevron-small-downchevron-upcircle-with-crosscomposecrossfacebookflagfolderglobegoogleimagesinstagramkeylocation-pinmedalmoremuplabelShape 3 + Rectangle 1pagepersonpluspollsImported LayersImported LayersImported LayersshieldstartwitterwinbackClosewinbackCompletewinbackDiscountyahoo

Re: [linux-392] Kill FIN_WAIT1 Connections

From: Clyde G.
Sent on: Friday, January 4, 2008 9:22 PM

No DoS attack.  I'm not the one hosting the ftp server and I can connect to the ftp server with the same credentials using an ftp client on a different machine so I don't think the DoS is on the server side either.

The good news is tcpkill did the trick

This is the command I used for those interested

tcpkill -i eth0 -9 ip host local_ip and remote_ip

Of course substitute remote_ip and local_ip with the actual IP's

The connections dropped right off however it didn't resolve the problem i'm having with not being able to connect to the ftp server.  But after telneting to the server on port 21 I got an error saying something about "too many open connection" and "connection closed by foreign hosts".  So I'm filing a ticket with the guys on the server side.

Thanks for you help!


On Jan 4,[masked]:16 PM, Bruce Ingalls <[address removed]> wrote:
I'll assume that you are not being 0wn3d by a DoS attack...
Does it help to use lsof to find & kill the associated zombie processes?
I assume you already tried netstat:

Also take a look at fuser:

tcpkill looks to be as bad as rebooting:

> On Jan 4,[masked]:54 PM, Jay < [address removed]> wrote:
> > <<I'm hoping someone could point me in the right direction with an issue
> I've been having.  I have a bunch of ftp connections in a FIN_WAIT1 status
> that just won't go away.  The ftp client(lftp) isn't running anymore and I

Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ( [address removed])
This message was sent by Bruce Ingalls ([address removed]) from The NYC  Linux Meetup Group.
To learn more about Bruce Ingalls, visit his/her member profile:
To unsubscribe or to update your mailing list settings, click here: Customer Service: [address removed]
632 Broadway New York NY 10012 USA

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy