usbmon

From LinuxTVWiki

(Difference between revisions)
Jump to: navigation, search
m (fixed links etc)
 
(3 intermediate revisions not shown)
Line 1: Line 1:
{{lowercase|usbmon}}
{{lowercase|usbmon}}
-
A Linux kernel module which can snoop and output USB communications traffic.  The output produced by usbmon can be examined by using utilities such as '''usbdump''' or
+
A Linux kernel module which can snoop and output USB communications traffic.  The output produced by usbmon can be examined by using utilities such as '''usbdump''', '''USBMon''' or '''[[Wireshark]].
-
'''USBMon'''.
+
 
 +
The [http://git.linuxtv.org/v4l-utils.git v4l-utils tree] provides the [http://git.linuxtv.org/v4l-utils.git?a=blob;f=contrib/parse_tcpdump_log.pl;hb=HEAD parse_tcpdump_log.pl] script to directly talk with usbmon, parsing the result into a format feasible for analysis.
==Also see==
==Also see==
-
* [[Usbmon2usbsnoop|usbmon2usbsnoop]] - a perl script that convert's usbmon output into [[usbsnoop]] log file format
+
* [[Usbmon2usbsnoop|usbmon2usbsnoop]] - a perl script that convert's usbmon output into [[usbsnoop]] log file format (thereby making the data compatible for use with, for example, [[usbreplay]])
==External Links==
==External Links==
Line 11: Line 12:
* [http://74.125.95.132/search?q=cache:bMh9AGUtqasJ:people.redhat.com/zaitcev/linux/OLS05_zaitcev.pdf+usbmon&hl=en&ct=clnk&cd=4&gl=ca&client=firefox-a The usbmon: USB monitoring framework] article
* [http://74.125.95.132/search?q=cache:bMh9AGUtqasJ:people.redhat.com/zaitcev/linux/OLS05_zaitcev.pdf+usbmon&hl=en&ct=clnk&cd=4&gl=ca&client=firefox-a The usbmon: USB monitoring framework] article
* [http://www.linux-usb.org/USBMon USBMon] - an old java program that can interface with the output from the usbmon kernel module; unfinished ? see: [http://people.redhat.com/zaitcev/linux/ the notes on this page] and those from [http://www.quietearth.us/articles/2006/10/16/USB-Snoop-in-linux this article] on USB snooping under Linux
* [http://www.linux-usb.org/USBMon USBMon] - an old java program that can interface with the output from the usbmon kernel module; unfinished ? see: [http://people.redhat.com/zaitcev/linux/ the notes on this page] and those from [http://www.quietearth.us/articles/2006/10/16/USB-Snoop-in-linux this article] on USB snooping under Linux
-
* [http://wiki.wireshark.org/USB Wireshark]- looks to be a newer and more polished way to interact with the usbmon kernel module; also see [http://wiki.wireshark.org/CaptureSetup/USB this page] for further info
+
* [http://www.wireshark.org/ Wireshark] - a more polished way to interface, via libpcap, with the usbmon kernel module's output; see the Wireshark wiki page's regarding USB: [http://wiki.wireshark.org/USB here] and [http://wiki.wireshark.org/CaptureSetup/USB here]
[[category:software]]
[[category:software]]

Latest revision as of 14:48, 16 March 2011

A Linux kernel module which can snoop and output USB communications traffic. The output produced by usbmon can be examined by using utilities such as usbdump, USBMon or Wireshark.

The v4l-utils tree provides the parse_tcpdump_log.pl script to directly talk with usbmon, parsing the result into a format feasible for analysis.

Also see

  • usbmon2usbsnoop - a perl script that convert's usbmon output into usbsnoop log file format (thereby making the data compatible for use with, for example, usbreplay)

External Links

Personal tools