Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In my course, i need to develop a USB sniffer capture URB (USB Request Block) pass from USB device, then forward to a another PC.

For example, look at "Setting -> USB -> Enable USB Controller" in VirtualBox. When you enable this setting and plug an USB device in Host PC (Window OS), you can attach this USB device into Guest PC and read/write data or do something else in the USB device. Simultaneously, on Host PC, you can't see the USB device. If you can also detach this USB device from Guest PC, on Host PC, you can see the USB device again. URB of the USB seem to be forwarded to VirtualBox USB Driver.

I don't know what mechanism that they used? Could you please explain for me?

P/S: Can i develop a filter driver to do that?

Thank so much!
Posted
Comments
Richard MacCutchan 17-Sep-13 6:55am    
This question is far too broad for a quick answers forum. You need to go and do some research into USB and virtualisation.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900