Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-11-2010, 11:20 AM   #1
LQ Newbie
Registered: May 2010
Posts: 2

Rep: Reputation: 0
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 !
Old 05-12-2010, 11:21 AM   #2
LQ Newbie
Registered: May 2010
Posts: 8

Rep: Reputation: 0
For understanding hooks,check out Rusty Russels document...on lwn
and linux bridges ,check out Understanding Linux Nework Internals....(2.4)
Old 05-13-2010, 10:49 AM   #3
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
stateful packet inspection firewall using netfilter hooks with load balancing deepamn Programming 2 12-16-2009 07:58 PM
Keyboard hooks icemanind Programming 3 07-19-2006 06:01 AM
Netfilter hooks mousars Programming 2 03-16-2006 01:22 PM
about mac layer hooks chandakumesh Linux - Networking 1 08-26-2005 03:47 PM
mutt hooks cbb Linux - Software 2 08-14-2005 02:51 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration