Hi Rodrigo
with low rates you can use standard drivers, 
PF_RING/userland/examples/pfbridge.c in -p mode is a good starting point 
(please note this is monodirectional),
otherwise you should have a look at PF_RING/userland/examples/pfdnabounce.c

Best Regards
Alfredo

On Jun 6, 2013, at 7:56 PM, Rodrigo Jaureguy Dobler <[email protected]> 
wrote:

> Hello. I have a doubt about PF_RING and DNA/libzero so I need some help.
> 
> I was reading the UsersGuide of PF_RING but I still don't know if I can use 
> just PF_RING or if I need to use  Libzero for DNA:
> I want to implement an external Fault Injector.
> 
> The idea is this: I intend to use 3 computers A,B (midle, with interfaces 
> dna0 (RX0 e TX0 queues) and dna1(RX1 e TX1 queues) and C: Computer "A" will 
> have a conection to the dna0 interface and computer C, will have a conection 
> to the interface dna1. The computer B will have a fault injector  
> application. 
> 
> This fault injector aims insert faults in the communication packages between 
> the computers A and C. 
> 
> My doubt is if this is possible:
> 
> Computer A sends a message to computer C. Computer B receives the message at 
> RX0 queue, inserts the fault in the message and sends it to computer C using 
> the TX1 queue.
> 
> And the opposite:
>  
> Computer C sends a message to computer A. Computer B receives the message at 
> RX1 queue, inserts the fault in the message and sends it to computer A using 
> the TX0 queue.
> 
> 
> Someone could help?  Is this possible to do with PF_RING Vanilla or I need to 
> use DNA/Libzero? 
> 
> Thanks a lot for your time and patience in helping me.
>  
> Best regards,
> 
> Rodrigo.
> 
> _______________________________________________
> 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