This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

colouring in pane 3

0

Can we have colouring of bytes in pane3 from an offset specified ??

This question is marked "community wiki".

asked 07 Sep '11, 00:34

flashkicker's gravatar image

flashkicker
109131919
accept rate: 41%


One Answer:

1

No, you can't do any coloring yourself in pane3 (unless you write that functionality from scratch). What will work is use the proto_tree_add_* functions, in which you can point to the offset in the tvb where your field begins and by supplying a length, all the bytes of your field will be highlighted when you select the field in the details pane (pane2).

answered 07 Sep '11, 00:53

SYN-bit's gravatar image

SYN-bit ♦♦
17.1k957245
accept rate: 20%

Yes got it ..... the thing is i'm more interested in the byte data from the 18 byte ....i.e i would like to hide (source ,destination ,protocol ) +2 bytes in pane three ....Is it possible to do so

(07 Sep '11, 01:09) flashkicker

Not with the provided functions. But you may be able to write something yourself...

(07 Sep '11, 01:39) SYN-bit ♦♦

ohk thanks a lot !!!

(07 Sep '11, 01:59) flashkicker