[Bug 795284] New: pcapparse: give error on fragmented IP packets

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Apr 15 22:02:22 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=795284

            Bug ID: 795284
           Summary: pcapparse: give error on fragmented IP packets
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ao2 at ao2.it
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Hi,

I was testing pcapparse on some capture of a Panasonic GH3 camera (the video
data is some MJPEG over UDP variant BTW):
wget
http://www.personal-view.com/talks/uploads/FileUpload/03/24c6c8d18eb6ca40775e1438464147.jpg
-O LumixLink_captureStill.pcap

The Wireshark filter to see the interesting data is: "udp.srcport == 65416"

I didn't understand why, when specifying the src-port, no data was getting
downstream. After adding some printouts and looking again at the wireshark logs
I finally figured out it was because pcapparse cannot parse fragmented IP
packets.

So what about adding an explicit check for this and warn the user with an
error?

I will propose a patch for that, along with some comments which may help
readers new to pcapparse code.

Ciao,
   Antonio

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list