3 Jan 1990 21:25
Re: packet socket can't steal packets
Carl-Johan Bostorp <ctor <at> krixor.xy.org>
1990-01-03 20:25:00 GMT
1990-01-03 20:25:00 GMT
On Tue, May 07, 2002 at 09:02:31PM +0300, Dmitrii Tisnek wrote: > hey, I've been trying to change certain network packet mangling software > such that it would not need a kernel module, and it seems to me that, > unfortunately there's no way to make packet socket "steal" packets it > deliveres to the user mode. "Divert Sockets for Linux" springs to my mind.. http://www.anr.mcnc.org/~divert/index.shtml --- Divert sockets enable both IP packet interception and injection on the end-hosts as well as on routers. Interception and injection happen at the IP layer. The intercepted packets are diverted to sockets in the user space, thus they will not be able to reach their destination unless they are reinjected by the user space sockets. This allows different tricks (e.g., routing and firewall) to be played, outside the operating system kernel, in between the packet interception and reinjection. --- -- -- ~~~<*>~~~ Web: http://elemental.webservices.se/ ICQ: 3534707 PGP: 0xA6B5C43B IRCnet: ctor ~~~<*>~~~(Continue reading)
RSS Feed