Spanish Italian
17447 Users    

How to Set up USB Sniffing in Linux

  Download PDF version of the Article

Setting up USB sniffing in linux is useful for seeing what is being communicated to/from USB devices. This ability is built into linux. The designer (Bert) gives the steps involved and how to filter it to get the data we desire.

Simply mount debugfs and insmod the usbmon module:

mount -t debugfs none_debugs /sys/kernel/debug
modprobe usbmon

Then you can just cat USB traffic like this:

cat /sys/kernel/debug/usbmon/1u

See all the project: http://biot.com/blog/usb-sniffing-on-linux

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 4 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Who's new

  • JM
  • samsilva77
  • araghube
  • stoll
  • mt
  • orionkw
  • pulper
  • mauriss
  • jbares
  • christiank79

Who's online

There are currently 0 users and 46 guests online.