Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 5863] DTLS and RELOAD enhancements and bug fixes

Date: Fri, 27 May 2011 13:54:39 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5863

--- Comment #9 from Chris Maynard <christopher.maynard@xxxxxxxxx> 2011-05-27 13:54:38 PDT ---
(From update of attachment 6419)
Hmm, the problem I see with this is that if a snaplen is set such that the
packet is truncated, it won't be recognized as dtls using these heuristics.  I
think it's better to have the dissector dissect as much as possible rather than
reject the entire packet due to truncation.  Perhaps another check for
tvb_length() vs. tvb_reported_length() and if the former is less than the
latter, then we know the packet was truncated, so as long as the packet looks
OK up until that point, then just accept it, even if it was truncated?

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.