Live capture of network traffic between guest and host Win10

Here you can provide suggestions on how to improve the product, website, etc.
Post Reply
Tom 2018
Posts: 2
Joined: 29. Apr 2018, 13:45

Live capture of network traffic between guest and host Win10

Post by Tom 2018 »

Hi,

Today I noticed that in Windows 10 it is not possible to capture the network traffic between the host and the guest system (when using bridged network).
As explained here https://www.virtualbox.org/wiki/Network_tips you can make .pcap capture files of all traffic on the guest NIC. Unfortunately this is not easy to use when you want to do live monitoring.

I found there is a way to do remote capture in Wireshark https://www.wireshark.org/docs/wsug_htm ... ction.html.

So I thought it would be a nice feature if you could set a port in VirtualBox that wireshark can connect to as "remote capture interface"? This way you could do live monitoring of all network adapters created in VB.
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

Re: Live capture of network traffic between guest and host Win10

Post by michaln »

Tom 2018 wrote:Unfortunately this is not easy to use when you want to do live monitoring.
'VBoxManage controlvm <vm> nictrace1 on' does not work?
Tom 2018
Posts: 2
Joined: 29. Apr 2018, 13:45

Re: Live capture of network traffic between guest and host Win10

Post by Tom 2018 »

Isn't that for tracing to a file? I want the packets to appear live in Wireshark, is that possible with this?
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

Re: Live capture of network traffic between guest and host Win10

Post by michaln »

Yes, to a file. If it's too difficult to hit the "reload" button in Wireshark then I guess it can't be used.
Post Reply