Re: How to drop TCP connection without killing process?

2004-05-26 Thread Michael ODonnell
jesus H!! I can smell that one all the way over here! Does it smell like lilacs? I suppose if you had done this, you would have checked the return value from close and called perror() if -1 was returned. (-: Sir, I would not presume to improve on this hack - it is a Hacker's hack - it

Re: How to drop TCP connection without killing process?

2004-05-26 Thread Larry Cook
Kevin, I'd like to force that connection to drop so that Mozilla will start checking that account again. And I like to do this without having to stop and restart Mozilla. Perhaps the attached script will do the trick? My version of Mozilla doesn't seem to object to this sort of chicanery.

Re: How to drop TCP connection without killing process?

2004-05-25 Thread Kevin D. Clark
Larry Cook [EMAIL PROTECTED] writes: What you're asking for is kindof weird Yes, I guess it is. Let me explain: A POP3 server I use doesn't send a response on occasion. This causes Mozilla to stop checking that POP3 account because the connection is still up. And the connection just

Re: How to drop TCP connection without killing process?

2004-05-25 Thread Michael ODonnell
for fd in $FDS ; do echo call close($fd) $GDBX done echo detach $GDBX gdb -batch -x $GDBX jesus H!! I can smell that one all the way over here! ___ gnhlug-discuss mailing list [EMAIL PROTECTED]

How to drop TCP connection without killing process?

2004-05-24 Thread Larry Cook
Does anyone know of or have a utility that can drop TCP connections without killing the process that made the connection? I'm trying dsniff/tcpkill and hunt, but both need to see some traffic first. Either there's no keep-alive packets being sent on the connection, or I'm not setting the

Re: How to drop TCP connection without killing process?

2004-05-24 Thread Ray Cote
At 2:12 PM -0400 5/24/04, Larry Cook wrote: Does anyone know of or have a utility that can drop TCP connections without killing the process that made the connection? Hi Larry. Strangely enough, we've been doing precisely this type of testing lately by pulling the plug out of the back of the

Re: How to drop TCP connection without killing process?

2004-05-24 Thread Kevin D. Clark
Larry Cook [EMAIL PROTECTED] writes: Does anyone know of or have a utility that can drop TCP connections without killing the process that made the connection? Warning: Cisco's sleek black gunships are speeding towards your office right now. Ha ha. At least they're not sending their

Re: How to drop TCP connection without killing process?

2004-05-24 Thread Larry Cook
What you're asking for is kindof weird Yes, I guess it is. Let me explain: A POP3 server I use doesn't send a response on occasion. This causes Mozilla to stop checking that POP3 account because the connection is still up. And the connection just stays up, with no traffic, as far as I can