Skip to content

chennqqi/nfhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nfhook

nfhook is a netfilter hook framework which can support different hook APIs in Linux kernels.

  • Define default hook points
  • Provide a generic hook interface
  • Support net namespaces

How to Build

  • checkout out code
  • install build essential packages and the kernel header
  • make all

Test

  $ sudo insmod nfhook.ko
  $ sudo insmod test_hook.ko
  $ tail -f /var/log/kern.log

Interfaces

  • see nfhook.h for details
  • see test_hook.c for the sample

Contact

johnnie.deacon@gmail.com

About

A universal netfilter hook framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published