>> Hi all,
>>
>> Is it possible for us to sniff the USB bus, to get the raw USB protocol
>> packets, We need to get them and convert it to Pcap format to be decoded
>>By Wireshark.
>>
>> If not the USB bus is it possible to sniff only to a particular device
>>attached to the USB bus. But we cant keep the device for ourselves
>> but only to sniff what is being transfered out from there.
>>
>> If both these things are impossible are able to get the raw protocol
>> packets, with their protocol headers, from a device, to be decoded by
>> our software.
>There are several hardware USB sniffers that can capture USB traffic,
>but I never heard of one that can send it to wireshark.
>It's also possible to sniff on the software level, capturing anything
>(almost anything) exchanged between the USB driver and the USB device.
>An. example is http://www.pcausa.com/Utilities/UsbSnoop/default.htm
>Kind regards,
>Bertrik
Hello,
Thanks for the quick reply, I want to get these packets out from the USB
bus,
And I am happy about your remark that I can do it :-)
I used the USBSnoop and saw it decoding the URBs, But In order to use it I
believe
I have to modify it code (probably at the driver level) to capture the raw
packets to port them
to WireShark.
Instead Can I use the Libusb-win32 API, without modifying it, to get these
packets? Then I can work on the user level rather than at the Kernel level
to convert it to the format that,
WireShark can Understand.
Thanks
Best regards
Xavier
|