[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1HWOXu-0000P5-00@gondolin.me.apana.org.au>
Date: Wed, 28 Mar 2007 13:09:58 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: jheffner@....edu (John Heffner)
Cc: jheffner@....edu, mhuth@...sta.com, davem@...emloft.net,
dagriego@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH] NET: Add TCP connection abort IOCTL
John Heffner <jheffner@....edu> wrote:
>
> Responding to myself in good form :P I'll add that there are other ways
> to do this currently but all I know of are hackish, f.e. using a raw
> socket to send RST packets to yourself.
While not pretty, it is easy enough to ptrace a process using gdb and
call shutdown(2) on the fd.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists