Hi Alfredo

If i want to do it in my own code, what method or data structure i could use to 
easily retrieve the received packet's from IP, port, protocol? 

Secondly, if i do it in my own code , and i just need to filter the multicast 
protocol, and a specific range of ip and port, would this use case be still 
faster than using method like unix epoll? I am asking this because in this use 
case I am capturing all the packets from the device, and filtering only the 
subset of what i need in my code.



From: [email protected]
Date: Mon, 14 Sep 2015 09:37:54 +0200
To: [email protected]
Subject: Re: [Ntop-misc] How to configure pf_ring for listening udp     
multicast group addesses and ports?

Hi Bryanpf_ring provides raw capture, you should handle your traffic writing 
your own code, if you just need to filter some traffic you can use bpf or 
similar.
Alfredo
On 14 Sep 2015, at 08:06, Bryan Fok <[email protected]> wrote:Hi exports

I am new to pf_ring, and I am trying to use it to replace my unix epoll base 
udp multicast library.  I am following the zcount.c example under 
/PF_RING-master/userland/examples_zc folder. So far so good until where can I 
define the mulicast group address and port in the code? or should it be define 
in the file? I have about 30 multicast group need to be listen.

Cheers
Bryan
_______________________________________________Ntop-misc mailing 
[email protected]http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc                          
          
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to