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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 16 07:50:15 UTC 2018


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

--- Comment #4 from Antonio Ospite <ao2 at ao2.it> ---
In the particular case of LumixLink_captureStill.pcap I managed to come up with
a dumb mechanism to get all the fragments downstream.

However in general fragment reassembling is not super trivial, fragments can
arrive out of order, and AFAIU fragments from different packets can be
interleaved, so some state tracking with supplementary data structures is
needed. And to detect incomplete packets some timeout mechanism is needed. See
https://tools.ietf.org/html/rfc815

pcapparse seems to parse things as they come with no state tracking whatsoever
so some refactoring seems to be needed, unless I am missing something.

Not something I can tackle right now, so I went for the
at-least-admit-your-limits way.

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