USB Sniffer

Talk about anything concerning the source code.
Post Reply
aaamod
Posts: 2
Joined: Sun Aug 17, 2014 2:21 am

USB Sniffer

Post by aaamod » Sun Aug 17, 2014 2:48 am

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

User avatar
Matlo
Posts: 4969
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: USB Sniffer

Post by Matlo » Mon Aug 18, 2014 11:01 am

Hi,

Did you read the instructions at https://github.com/matlo/bb_usb_sniffer ?
GIMX creator Donate Shop

aaamod
Posts: 2
Joined: Sun Aug 17, 2014 2:21 am

Re: USB Sniffer

Post by aaamod » Tue Aug 19, 2014 3:13 am

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

User avatar
Matlo
Posts: 4969
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: USB Sniffer

Post by Matlo » Tue Aug 19, 2014 7:11 am

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.
GIMX creator Donate Shop

bbo2
Posts: 1
Joined: Fri Feb 27, 2015 4:18 pm

Re: USB Sniffer

Post by bbo2 » Fri Feb 27, 2015 4:27 pm

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

User avatar
Matlo
Posts: 4969
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: USB Sniffer

Post by Matlo » Fri Feb 27, 2015 7:06 pm

Hi,
It is required to post once to send PMs.
GIMX creator Donate Shop

Post Reply