[vbox-dev] Internal Network - Switch Like Behavior
Eduardo Robles Elvira
edulix at gmail.com
Fri Apr 24 03:30:10 PDT 2009
On Fri, Apr 24, 2009 at 4:07 AM, Antonio Augusto (Mancha)
<mkhaos7 at gmail.com> 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.
> 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!
Precisely I'm working in a patch to make virtualbox host-only and
internal networks work in "mesh" mode. So that I can configure each
interface connected to a network to which other network interfaces is
it directly connected to. I want to do that for testing using
virtuabox my final project which is an implementation of the AODV mesh
networks routing protocol. Yesterday I "finished" the patch i.e. it
compiles and in theory it should work but I didn't have enough time
yet to test it. I attach it to this email so that others can review
the patch and/or help me developing it. My final aim is that it works
and it gets integrated in trunk :P. Any comments about this patch are
Eduardo Robles Elvira.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 41424 bytes
Desc: not available
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20090424/235e4b67/attachment-0001.bin
More information about the vbox-dev