Page 1 of 1

USB Sniffer

Posted: Sun Aug 17, 2014 2:48 am
by aaamod
Hi All!

Ive been having a look at the Beagleboard Xm USB packet sniffer that matlo had kindly shared a while back.
I had previously tried to implement something similar on my own, but was unable to due to lack of technical skills at the time.
I plan on using what was provided, but was just wondering if anyone would be able to explain to me how exactly the sniffer works just so I would have a better understanding of the system. Where in the code would be the best place to look?

Cheers, aaamod

Re: USB Sniffer

Posted: Mon Aug 18, 2014 11:01 am
by Matlo
Hi,

Did you read the instructions at https://github.com/matlo/bb_usb_sniffer ?

Re: USB Sniffer

Posted: Tue Aug 19, 2014 3:13 am
by aaamod
Hi Matlo,

I've have gone through the instructions and understand how to set up the sniffer.
I guess what i really meant to ask was involving how the proxy driver worked exactly, as in, how does it work transparently between the two communicating devices, and how it is able to mimic the vendor/product IDs of the connected USB's.

Thanks

Re: USB Sniffer

Posted: Tue Aug 19, 2014 7:11 am
by Matlo
Most of the work is done by a proxy driver (g_proxy) written by Nicolas Boichat.
The g_proxy module is loaded by the sniff script.
The source code is here.

Re: USB Sniffer

Posted: Fri Feb 27, 2015 4:27 pm
by bbo2
Hi Matlo,

Sorry about the post here but I am looking to use this sniffer for another project. Outside the gaming community. Any chance you could help. Again I am sorry to post here. But tried all other sources to contact you and finding it very hard :-( Please can you PM me? I am not authorised. Thanks

Re: USB Sniffer

Posted: Fri Feb 27, 2015 7:06 pm
by Matlo
Hi,
It is required to post once to send PMs.