-   Linux - Networking (
-   -   Netfilter hooks (

helenalinux 05-11-2010 11:20 AM

Netfilter hooks
Hello all,

I am researcher currently working on a project that requires me to implement a Netfilter hook to do some actions on some particular packets, by queuing them to the user space where I need to process them further and then send these packets back into the network stack.

I am a Netfilter newbie, so I don't really know how to start dealing with this problem. I've been searching for tutorials and clear explanations, but could not find something relevant.

I am using a linux kernel, and this hook is intended to be used coupled with a linux bridge.

So if you have any recommendations or document that might help me developing this, please feel free to share them here!

Thanks in advance for your help !

Saptarshi4031 05-12-2010 11:21 AM

For understanding hooks,check out Rusty Russels document...on lwn
and linux bridges ,check out Understanding Linux Nework Internals....(2.4)

paulsm4 05-13-2010 10:49 AM

Hi, Helenalinux:

Two good resources:

However, it sounds like you're probably going to need to dig into the iptables code.

'Hope that helps .. PSM

All times are GMT -5. The time now is 05:45 AM.