Skip to content

Convert usbmon text traces to pcap

Notifications You must be signed in to change notification settings

johnkeeping/usbmon2pcap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

usbmon2pcap - convert usbmon text traces to pcap

This small utility does exactly what it says: converts a text usbmon capture (in either the 't' or 'u' format) to a pcap file which can then be analysed in Wireshark.

Example:

# cat /sys/kernel/debug/usbmon/1u >1u.log
^C
$ usbmon2pcap -o 1u.pcap 1u.log

Note that usbmon's text output is limited to 32 bytes of data in any packet, so you are likely to see "packet size limited during capture" in Wireshark.

About

Convert usbmon text traces to pcap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published