LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 05-11-2010, 11:20 AM   #1
helenalinux
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 2.6.31.14, 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
Saptarshi4031
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
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi, Helenalinux:

Two good resources:

http://netfilter.org/documentation/H...g-HOWTO-4.html

http://ebtables.sourceforge.net/br_fw_ia/br_fw_ia.html

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

'Hope that helps .. PSM
 
  


Reply


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


All times are GMT -5. The time now is 07:29 AM.

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