ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] no size information in fixed header-length for tcp_dissect_p

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Thu, 7 Jun 2007 10:52:46 -0700
On Thu, Jun 07, 2007 at 04:13:09PM +0200, Robert Naumann wrote:

> in the rfb-protocol i've to dissect i got some zlib-compressed 
> FramebufferUpdates. The PDU-header doenst contain any information 
> about the compressed data-bytes, so i decided to sniff in the 
> compressed data, as there are the lenght information of one compressed 
> part is stored.  So i can move on the datastream to the next size 
> information until the end of the PDU. My GET_PDU_LEN()- function 
> reports the correct size of the hole PDU. Now to the problems i got.

Are you trying to dissect the VNC protocol?  I added support for server 
frame buffer updates to the VNC dissector after 0.99.5 was released and 
this includes the ZRLE (Zlib-compressed Run Length Encoding) type.  The 
sub-dissection of the ZRLE uncompressed data is not quite complete 
though.


Steve