diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-11-30 00:52:43 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-01-15 08:25:34 +0000 |
commit | cefd1d4910a31f71ddab6cc4b4c5d5a8f7ffe91e (patch) | |
tree | c543b3fcfeba9da4c253a5e2b4028bd8a24dacf7 /doc/extcap_example.py | |
parent | 4f94f25f8ea9c7edb900388b3bc23fb7c74d24c3 (diff) |
ssl: avoid duplicate PDU dissections
When a single frame contains multiple SSL segments and the higher-level
PDU requests desegmentation, then each segment will trigger a
dissection, resulting in a new tree for each.
This seems to happen because the SSL dissector tries to complete a
reassembly whenever a segment is found in the last frame. When doing the
second pass, the fully reassembled segment is known and as a result the
payload dissector is called for all SSL segments in a single frame.
Fix this by checking whether the end of the segment covers the whole
reassembled data. Another workaround is added to avoid "[SSL segment of
a reassembled PDU]" in the Info column when desegmentation finishes.
Also fix the SSL version in the Protocol column when a segment is part
of a reassembled PDU.
Bug: 11079
Change-Id: I9ae0c8ae5c56ed0dd7b071dec8bcc87e838a068d
Reviewed-on: https://code.wireshark.org/review/12307
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'doc/extcap_example.py')
0 files changed, 0 insertions, 0 deletions