LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > yaplej
User Name
Password

Notices


Just some entries about what I have learned in my effort to write an open source network accelerator.

http://www.opennop.org
Netfilter
Old

Intercepting IP packets using Netfilter hooks

Posted 04-22-2010 at 10:26 PM by yaplej
Updated 04-22-2010 at 10:33 PM by yaplej

Netfilter hooks are very useful when you wish to intercept, and modify IP packets inside a kernel module.

One great thing about using Netfilter hooks over say dev_add_pack() is that the bad L2 frames, and bad IP packets get filtered out earlier in the network stack so you only deal with good packets.

Now the whole point of the Netfilter hook is to customize what the kernel does with the packets received by the system so here is an example hook function. It simply...
Member
Views 4553 Comments 1 yaplej is offline

  



All times are GMT -5. The time now is 07:11 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration