Ethereal-dev: [Ethereal-dev] Re: TCP header lenght highligthed incorrectely in "packet bytes"

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "ronnie sahlberg" <ronniesahlberg@xxxxxxxxx>
Date: Sat, 4 Mar 2006 21:11:45 +0000
That is not really a bug   but a sideeffect of how the hex-pane works.

The hex-pane and the API used to specify where fields lie can only
describe full whole bytes.

This means that when there is a small field that only covers a few
bits of a byte, the entire byte will still be highlighted in the hex
pane.



On 3/3/06, Joaquín Martínez <jmbouzas@xxxxxxxxx> wrote:
> Dear devolopers,
>
> please find below the description of "the problem"
>
> OS
> Debian Sarge
> uname -a
> Linux madreselva 2.6.15.4custom0 #1 Mon Feb 20 20:07:56 CET 2006 i686
> GNU/Linux
>
>
> gtk-config --version
> 1.2.10
>
> ethereal -v
> ** (ethereal:6528): WARNING **: Protocol filter name
> "ISystemActivator" has one or more invalid characters.
>
> ** (ethereal:6528): WARNING **: Protocol filter name "MAP_DialoguePDU"
> has one or more invalid characters.
>
> ** (ethereal:6528): WARNING **: Protocol filter name "CCSDS" has one
> or more invalid characters.
>
> ** (ethereal:6528): WARNING **: Protocol filter name "FC-dNS" has one
> or more invalid characters.
>
> ** (ethereal:6528): WARNING **: Protocol filter name "FZS" has one or
> more invalid characters.
> ethereal 0.10.10
> Compiled with GTK+ 2.6.4, with GLib 2.6.4, with libpcap 0.8.3, with libz
> 1.2.2,
> with libpcre 4.5, without UCD-SNMP or Net-SNMP, with ADNS.
>
> Running with libpcap version 0.8.3 on Linux 2.6.15.4custom0.
>
>
> Bug description:
>
> TCP two hexadecimal digits are highlighted in pane "packet bytes" when TCP
> Header length field is selected. May be only one hexadecimal digit (4
> bits) is the correct highlighted pattern. TCP flags field is also
> affected. I think the bug is in ignoring the "reserved field" that is set
> to zero.
>
> Thank you for your work.
>
> Sincerely.
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>