Page 1 of 1

How to Drop traffic from guest VM using COM

Posted: 21. Oct 2017, 19:25
by ahmed1
Hi,
I am using virtual box 5.1.26 my host is windows 10. I am trying to drop guest VMs traffic after inspecting their packets. is there a way to do so using COM? i am using C#.

thanks
Ahmed,

Re: How to Drop traffic from guest VM using COM

Posted: 21. Oct 2017, 19:37
by noteirak
You can disconnect/connect NICs (like unplugging the cable) but you can't selectively drop traffic.

Re: How to Drop traffic from guest VM using COM

Posted: 21. Oct 2017, 20:04
by ahmed1
Thanks a lot for your prompt response,
Is there any way to continuously inspect the traffic while it is being sent(online) not after reading the trace file.

thanks
Ahmed,

Re: How to Drop traffic from guest VM using COM

Posted: 21. Oct 2017, 21:08
by noteirak
I'm not aware of any way to do so at the API level.

Re: How to Drop traffic from guest VM using COM

Posted: 27. Oct 2017, 22:33
by ahmed1
thanks a lot
do you have any idea about where I can find such info.

thanks

Re: How to Drop traffic from guest VM using COM

Posted: 27. Oct 2017, 22:48
by noteirak
Asking the vbox developers directly on the dev mailing list for any non-documented features, but I wouldn't hold by breath.