Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

query about wrtitng a netfilter module

how can i write a module program that will be called at NF_IP_LOCAL_OUT? actually i want to call a function that processes on the packet that is builded in packet outgoing process. for that i want that module to be integrated part of linux
kernel.how can i then make that module to be called at NF_IP_LOCAL_OUT?
0
b123coder
Asked:
b123coder
  • 2
1 Solution
 
scnCommented:
0
 
b123coderAuthor Commented:
hi scn,
           Is there any website that provide more  netfilter module examples?
0
 
scnCommented:
Sorry, I am not aware of such websites.
In the kernel source code, there are some modules that make use of the netfilter hooks, e.g. net/ipv4/netfilter/iptable_netfilter.c. Even if they are quite complex, they can give some ideas.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now