Hello to all,
I see that not enough information how to use netmap.
I just need get the packets and allow it or drop it in userspace. It seems it is easy but I could not find the way of it.
Anyone help me for this. (FreeBSD)
There are some example programs in Luigi Rizzo's original project:
https://github.com/luigirizzo/netmap
HTH,
Patrick
Hello, thank you for your reply.
Yes I checked that already but it doesnot work for my problem or I realy did not understand what is going on that examples. For example, I need to see inside of packet and decide it drop or allow. Actually it is needed for my thesis. I need compare how fast it is, If I run it for all packets allowed or dropped
So the simplest way is enough for me :)
Sorry, I am not much of a coder but more of a network engineer plugging existing solutions together.
There was a netmap tutorial at AsiaBSDCon 2018:
https://github.com/netmap-unipi/netmap-tutorial
I guess I already checked for it but should check again :) so many webpage I checked I am really confused :) Thank you again