lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110325025401.GA14110@vmware.com>
Date:	Thu, 24 Mar 2011 19:54:01 -0700
From:	Micah Elizabeth Scott <micah@...are.com>
To:	Paul Bolle <pebolle@...cali.nl>
Cc:	Mauro Carvalho Chehab <mchehab@...hat.com>,
	Greg KH <greg@...ah.com>,
	Linux Media Mailing List <linux-media@...r.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	USB list <linux-usb@...r.kernel.org>
Subject: Re: [ANNOUNCE] usbmon capture and parser script

On Fri, Mar 18, 2011 at 10:21:33AM -0700, Paul Bolle wrote:
> On Thu, 2011-03-17 at 08:46 -0300, Mauro Carvalho Chehab wrote:
> > On a quick test, it seems that it doesn't recognize the tcpdump file 
> > format (at least, it was not able to capture the dump files I got 
> > with the beagleboard). Adding support for it could be an interesting 
> > addition to your code.
> 
> Please note that Micah Dowty is the maintainer of vusb-analyzer. I
> mostly cleaned, etc. its usbmon support (which was originally added by
> Christoph Zimmermann). Anyway, you're always free to try to add support
> for another file format. I must say that Micah was rather easy to work
> with.
> 
> > Btw, it seems that most of your work is focused on getting VMware logs.
> 
> Micah had a vmware.com address last time I contacted him. That should
> explain that focus.

Right, vusb-analyzer doesn't currently understand tcpdump files.

I originally wrote it as just an internal debugging tool for VMware,
but we open sourced it and I've been quite interested in including
support for other log formats. It originally just had support for
VMware's logs and for XML files dumped by the Ellisys hardware
analyzers we use. Paul Bolle contributed usbmon log support.

I unfortunately haven't had much time to work on vusb-analyzer myself
in the past few years.. I'm hoping that will change soon, but in any
case I'd be happy to accept patches.

As another point of interest... I have some friends working on a
hardware USB analyzer project (openvizsla.org) and they've been
planning on using vusb-analyzer or something based on it. I've been
thinking about rewriting it in something a bit faster than Python,
improving the support for traversing large log files efficiently, and
making it fully understand lower-level USB packet logs like you'd see
from a hardware analyzer.

I think vusb-analyzer's strength has always been the graphical timing
analysis and quickly navigating complex logs. Wireshark is probably
better suited for deep protocol analysis.

> > Do you know if any of them are now capable of properly emulate USB 2.0
> > isoc transfers and give enough performance for the devices to actually
> > work with such high-bandwidth requirements?
>
> This is not something I know much about. I tried to use some digital
> camera over USB with qemu without much success. Apparently qemu's USB
> pass through has little chance of supporting high bandwidth USB devices.
> See
> http://lists.nongnu.org/archive/html/qemu-devel/2010-09/msg00017.html
> for the - not very interesting - answer I got when I wanted to know more
> about the problems of USB pass through in qemu.

I can't really speak for qemu, but I wrote the EHCI USB 2.0 Isochronous
emulation that VMware uses.

At the risk of sounding like an advertisment, there are of course
plenty of caveats to emulating Isochronous transfers in
userspace.. but VMware's emulation usually manages to work
correctly. You'll certainly run into problem devices sometimes, but
the raw CPU power hasn't been an issue. I routinely tested it with
high-bandwidth uncompressed TV tuner devices back in 2005 or 2006.

Cheers,
--beth
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ