Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
using Netmap
« previous
next »
Print
Pages: [
1
]
Author
Topic: using Netmap (Read 1112 times)
Ercan
Newbie
Posts: 4
Karma: 0
using Netmap
«
on:
May 20, 2022, 02:51:45 pm »
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)
Logged
Patrick M. Hausen
Hero Member
Posts: 6853
Karma: 575
Re: using Netmap
«
Reply #1 on:
May 20, 2022, 02:57:26 pm »
There are some example programs in Luigi Rizzo's original project:
https://github.com/luigirizzo/netmap
HTH,
Patrick
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Ercan
Newbie
Posts: 4
Karma: 0
Re: using Netmap
«
Reply #2 on:
May 20, 2022, 03:18:23 pm »
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
Logged
Ercan
Newbie
Posts: 4
Karma: 0
Re: using Netmap
«
Reply #3 on:
May 20, 2022, 03:19:25 pm »
So the simplest way is enough for me
Logged
Patrick M. Hausen
Hero Member
Posts: 6853
Karma: 575
Re: using Netmap
«
Reply #4 on:
May 20, 2022, 03:22:58 pm »
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
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Ercan
Newbie
Posts: 4
Karma: 0
Re: using Netmap
«
Reply #5 on:
May 20, 2022, 04:42:51 pm »
I guess I already checked for it but should check again
so many webpage I checked I am really confused
Thank you again
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
using Netmap