using Netmap

Started by Ercan, May 20, 2022, 02:51:45 PM

Previous topic - Next topic
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
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

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
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

I guess I already checked for it but should check again :) so many webpage I checked I am really confused :) Thank you again