Date: Tue, 25 Jul 2017 08:14:22 +0200 From: Hans Petter Selasky <hselasky@gmail.com> To: Jie Weng <jerrywossion@gmail.com>, freebsd-usb@freebsd.org Subject: Re: GSoC Week 6-8, add usbdump file-format to Wireshark Message-ID: <5d00793a-6a19-2287-2078-d52abd0b7fe2@gmail.com> In-Reply-To: <CAEhonio0hjMMoi0xb-RyT=7KNyCLRxzzV82qqUZhLubNznrCkQ@mail.gmail.com> References: <CAEhonio0hjMMoi0xb-RyT=7KNyCLRxzzV82qqUZhLubNznrCkQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07/25/17 04:36, Jie Weng wrote: > Hi everyone, > > I'm really sorry for the late status updates. > > In the first week I fixed several crashes when opening files in which the > length of some packets is a little longer. It was caused by a wrongly > explicit cast, the cast shorten the proper length it should be. Besides, I > was diving into learning the Epan lib of Wireshark to make ready for > dissection phase. > > In the second week I register the usbdump file format to FreeBSD USB > encapsulation of Wireshark. The built-in dissectors can dissect the urb > part for each packet, but it does nothing about the frames and payloads. > > Last week I was mainly focus on dissecting usbdump packets. I reused a lot > of built-in dissectors. These dissectors cannot be called directly since > the built-in FreeBSD USB dissector didn't offer enough information, so I > added many content to the built-in dissectors to collect necessary > information, the information is also needed for identifying the kind of > each packet and constructing important data structures. Currently I > finished the control transfers dissection, but it's still not 100% > functional. I think this is due to that I'm not classifying each packet > properly. This faultiness also infects the other dissection phases. > > The code is at > https://github.com/jerrywossion/wireshark/tree/usbdump_dissector. I make a > new branch for current work, and I will clean the code and merge it when > dissection phase is completed. > Hi, Thank you for the work you are doing. I hope this project will help diagnose USB problems under FreeBSD more easily. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5d00793a-6a19-2287-2078-d52abd0b7fe2>