Monday, March 24, 2014

netfilter hooks to snoop packets


I've written a short netfilter hook to help snoop some outgoing packets. You can view the source code here [1]. I read a few articles [2] [3] [4] to get an idea of how to put things together.

  1. https://github.com/arges/nf-snoop
  2. http://www.netfilter.org/documentation/HOWTO/netfilter-hacking-HOWTO-3.html
  3. http://www.linuxjournal.com/article/7184
  4. http://www.paulkiddie.com/2009/10/creating-a-simple-hello-world-netfilter-module/

No comments:

Post a Comment