Re: Want to "plug in" a link-level protocol into IP stack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 2008-06-17 05:03, Len Gross wrote:

>I have used FreeBSD's Netgraph to successfully develop a unique link-level
>protocol.  I would like to do a similar thing in Linux and would like to do
>the initial implementation in userland.  I use Ethernet packets on a
>LAN and embed
>the protocol inside them.  I have to modify outgoing packets and strip out
>header/trailers from incoming packets.  IP frames need to be passed-up
>the stack.
>
>Would Netfilter be the best way to approach this? If not, what other
>LINUX tools make sense\?

Netfilter is a kernel component, but you wanted to do an userspace thing.
Programs that directly play with the link layer, such as dhcpd,
use a PF_PACKET socket.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux