[vbox-dev] Internal Network - Switch Like Behavior

Antonio Augusto (Mancha) mkhaos7 at gmail.com
Thu Apr 23 19:07:51 PDT 2009


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.

Its a bit late in my side of the world, and my eyes are heavy, so I
might be misunderstanding something, but if one of the developers
could point me on the right direction, and maybe elaborate a bit on
how network work on VBox It'd be of great help.

Thanks a lot!




More information about the vbox-dev mailing list