Re: Packet tapping

Francis Galiegue (fg@mandrakesoft.com)
Wed, 12 Sep 2001 05:43:15 -0400 (EDT)


On Wed, 12 Sep 2001, Manoj Sontakke wrote:

>
> Hi,
> Is it possible to tap a packet and send it to a userlevel program
> before it is sent to appropriate receive function (say ip_rcv()). The
> user level program will give the packet back to the kernel for delivery
> to appropriate receive function.
> In short, is it possible to have a protocol stack (between layer 2 and
> 3) to be implemented in useland.
>
> Is Tun/Tap driver useful here?
>

Isn't the QUEUE driver from iptables done for such cases?

-- 
Francis Galiegue, fg@mandrakesoft.com - Normand et fier de l'être
"Programming is a race between programmers, who try and make more and more
idiot-proof software, and universe, which produces more and more remarkable
idiots. Until now, universe leads the race"  -- R. Cook

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/