Wireshark mailing list archives

Re: Does a filter expression allow searching with a string of bytes as decimal numbers?


From: Jaap Keuter <jaap.keuter () xs4all nl>
Date: Sun, 10 May 2020 12:19:33 +0200

Well, simply entering three digit decimal values in the Wireshark display filter shows that it’s not a valid byte 
string, so hex only.
I do agree that this type could be (more clearly) described in the Users Guide.

Jaap

On 9 May 2020, at 17:12, Richard Sharpe <realrichardsharpe () gmail com> wrote:

Hi folks,

Suppose you have a field in packet that has been inserted as a byte string, say:

some-proto.some-field =  0x21 0x32 0x81

Can I search on "some-proto.some-field == 33:50:129" or does the
filter expression parser think those numbers between the colons are
HEX digits?

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: