lkml.org 
[lkml]   [2001]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Packet tapping
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/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.066 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site