libnetfilter_queue example

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am trying to write a simple application using netfilter_queue. There
is this example in the git repo:
https://git.netfilter.org/libnetfilter_queue/tree/examples/nf-queue.c
I also found this example:
https://www.apriorit.com/dev-blog/598-linux-mitm-nfqueue

The former is more verbose and seems to use libmnl calls while the
latter seems to use libnetfilter_queue calls. Which one should I use?

Thanks,
psyspy



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux