From owner-freebsd-usb@freebsd.org Fri May 5 14:57:17 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0820BD5FB28 for ; Fri, 5 May 2017 14:57:17 +0000 (UTC) (envelope-from jerrywossion@gmail.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C84FB157B for ; Fri, 5 May 2017 14:57:16 +0000 (UTC) (envelope-from jerrywossion@gmail.com) Received: by mail-it0-x229.google.com with SMTP id w68so2576787itc.0 for ; Fri, 05 May 2017 07:57:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wrihXebuvO4tXIso0O1YP2XOnjZgXRfjd3+1zKgisSg=; b=mbxH2egesk+IcgBqNQFFQ4r1SkIVk0BJ/mHUV4lrmdCQrmy7XhA9M9qFfHcOi7ArRK YQlQp9PxObLl4R00pdFn6oawSClfmiZDxZ+A1ADWbrAVptUp01DVi5CzoxxGv7nABBBW u9pwyhUAFJTSSIxdYtOkS9Cerg8daTAhpbN3NPZJs57NH/ecIPHI/btG7WbIMzooP981 FZBhJLIb/jpb7ZXnX9E3iUyS5CCVQt5zTK+sx9BJSIjAQYRbeRgjuzcLfowey1F6giQ4 jDy792DP0HPprXkFliwEqrnvlS2eEQcQ3Y6bCXKLx4J8QjiGDTKbGT8R4BzRxNLylCUj gPjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wrihXebuvO4tXIso0O1YP2XOnjZgXRfjd3+1zKgisSg=; b=NiDhll83P1HijHDB12HiBQTMZZmZowDRiuRwnSLjNFMKdSaamH4Ga2qRN3RvxBKs28 eByQ/FcO/yTwmqycIfTZdIDFHmPs/ZFU04vElwaeg2d+Y/LIf4qox+YY3VFbyJzbN10z w5S15qKQdv23b8Vb+UU7zmsuDfG6BKFLBgl2cjj6lyVdNZt4Nh1tjhKiYf1hoeFHz0qM 7B08denu4ioCBOdQADb9sxZXYi2AWEsr5vGTQ9yPzB8jWEL5Te+4uEQrLDg15zM4DLcm nDOCGkFuWpt0+mxQbo5uUSk2ugwhMGGaF/+CepODLFYpkA8sKRHECQqEyz82kyqZi5AB cG9A== X-Gm-Message-State: AN3rC/5qzOoavAuGjmEjNxNYUZuCjBCwFifoihch/EiTJWT3zPQ5v8EI pJ6urHF9XXw6mjX7O8oKSylUTFn6VoqP X-Received: by 10.36.117.5 with SMTP id y5mr9523033itc.19.1493996236104; Fri, 05 May 2017 07:57:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.158.11 with HTTP; Fri, 5 May 2017 07:56:55 -0700 (PDT) From: Jie Weng Date: Fri, 5 May 2017 22:56:55 +0800 Message-ID: Subject: [GSOC] Add support for usbdump file-format to wireshark To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2017 14:57:17 -0000 Hi All, I am a student from Jilin University, China, participating in GSOC 2017 with FreeBSD. Recently my proposal has been accepted so I'd like to make a short introduction about my proposal. ---------------------------------------------------------------------------= ----------------------------------------- Project Title Add support for usbdump file-format to Wireshark Project Description The FreeBSD dump tool usbdump is very useful for analyzing the internal of USB transactions, but it lacks some easy to use presentation forms for its output file to get further analyzed. Wireshark is a widely used network packet analyzer with a good graphic presentation form. Although Wireshark support variety of data formats of many capturing tools, it does not support usbdump file-format. In this proposal I decide to add support for usbdump file-format to Wireshark, this procedure mainly contain following aspects: a. Parse the usbdump file-format. To do this I should learn the Berkeley Packet Filter (BPF) since usbdump uses it behind the scene. b. Add support to Wireshark=E2=80=99s wiretap library. The wiretap library = handles a number of formats it supports, by hacking into it I can add support for the usbdump file-format. c. Add dissector, filter and other stuffs to Wireshark for our newly supported file-format to offer normal/good user experience. ---------------------------------------------------------------------------= ----------------------------------------- This is the first time for me to get involved in an open source project, I'll learn hard to catch up things I don't understand yet, and your advice will be very appreciated :) Best regards, Jie