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

wireshark filter

0

I am decoding SS7 messages on wireshark. Is it possible to filter all messages in which particular number starts from "0792xxxxxxx" ? It should not gives you a result "xxx0792xxx".

Some filter like beginswith or starts with needed.

asked 21 Mar '11, 22:21

parthe's gravatar image

parthe
1111
accept rate: 0%


2 Answers:

1

You can use the "matches" operator. You will have to use something like:

<field> matches "^0792.*"

answered 21 Mar '11, 23:24

SYN-bit's gravatar image

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

thanks for the solution. But It gives same result as Contains.

(21 Mar '11, 23:44) parthe

Did you use the "^" at the start of the filter? It means "match at the start of the string", so that should exclude "xxx0792xxx"

(22 Mar '11, 00:05) SYN-bit ♦♦

0

Try:
contains
You can find more information in the Wireshark Wiki.

answered 21 Mar '11, 22:41

joke's gravatar image

joke
1.3k4934
accept rate: 9%

As i told you contains also filtered messages which has number "xxxx0792xx"

(21 Mar '11, 22:52) parthe

(converted your "answer" to a "comment" to follow the Q&A nature if this site, see also the FAQ)

(21 Mar '11, 23:20) SYN-bit ♦♦