Date: Tue, 25 Jul 2017 10:36:40 +0800 From: Jie Weng <jerrywossion@gmail.com> To: freebsd-usb@freebsd.org Cc: Hans Petter Selasky <hselasky@gmail.com> Subject: GSoC Week 6-8, add usbdump file-format to Wireshark Message-ID: <CAEhonio0hjMMoi0xb-RyT=7KNyCLRxzzV82qqUZhLubNznrCkQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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. Thanks, Jie Weng
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEhonio0hjMMoi0xb-RyT=7KNyCLRxzzV82qqUZhLubNznrCkQ>
