Date: 27 Feb 2002 17:23:17 +1130 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-mobile@freebsd.org Subject: Killing TCP connections before suspend Message-ID: <1014789198.39862.28.camel@chowder.gsoft.com.au>
next in thread | raw e-mail | index | archive | help
I have my laptop doing suspend to disk now (and everything working on resume :) and I was thinking it would be really useful to be able to reset all TCP connections that don't go over localhost. ie you run a magical program in rc.suspend and it toasts all of your TCP connections so your applications are forced to reconnect, otherwise what happens is they hang around for a while and you have to manually kill them etc.. Anyone have any ideas for how this could be implemented? I have tried tcpkill from the dsniff port but it can only work when traffic for the connection in question gets captured. Would it be possible to use libkvm to grovel around? --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1014789198.39862.28.camel>