Antonio Augusto (Mancha) wrote: > Hey Guys, > > I'm working on a security project and would like to do some > experiments with arp/dns poisoning, but to do so I'd need that the > network the VMs are connected behaved like a switched one, that is: > packets arrive only on the interface to where they are destined. > I've tried looking on the code, specially in > src/VBox/Devices/Network/DrvIntNet.cpp but I couldn't quite understand > how the "receiving" works ... > I see that there is a ringbuffer one the drvIntNetAsyncIoRun , but i > don't get if this buffer is exclusive for each interface or if its the > "network" buffer. >
That ring buffer is exclusive for each interface. The ring is fed from src/VBox/Devices/Network/SrvIntNetR0.cpp and that's also where the "switch" code is. -- Kind regards / Mit freundlichen Gruessen / Vennlig hilsen, Knut -- Sun Microsystems GmbH Knut St. Osmundsen Werkstrasse 24 Senior Staff Engineer, VirtualBox 71384 Weinstadt, Germany mailto:[email protected] ================================================ Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten Amtsgericht Muenchen: HRB 161028 Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boehmer Vorsitzender des Aufsichtsrates: Martin Haering ================================================ _______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
