Ask Your Question

Mr Krisey's profile - activity

2021-03-25 12:06:34 +0000 marked best answer Check individual bits

Hi!

I am trying to filter on specific bits in the data section, but I am unable to get the results I want. I have already looked at these links which heavily relates with what I want to accomplish.

https://osqa-ask.wireshark.org/questi....

https://osqa-ask.wireshark.org/questi...

My filter atm: rtp.ext.rfc5285.data From there on I wanted filter the left most byte for its right most bit in the section. (want to see that the right most bit in the first byte is set. I dont care about the others--> 0000 0001 0000 0000) rtp.ext.rfc5285.data[0]&1 I then want to filter the three right most bits in the byte. rtp.ext.rfc5285.data[0]&1 and rtp.ext.rfc5285.data[0]&2 and rtp.ext.rfc5285.data[0]&3 I then do this !rtp.ext.rfc5285.data[0]&1 and !rtp.ext.rfc5285.data[0]&2 and !rtp.ext.rfc5285.data[0]&3 and rtp

The data it filtrates gives me a hex value in one of the packet of 0x000005f8702220 In binary the three right most bit in byte 0 is 111. I wanted them to be 000. What am I doing wrong?

2021-03-25 12:06:34 +0000 received badge  Scholar (source)
2021-03-25 11:59:35 +0000 commented answer Check individual bits

Never mind, I guess the and operation tells which bit I want to see equals to "1". But still, the filter wont go through

2021-03-25 11:58:06 +0000 commented answer Check individual bits

Never mind, I guess the and operation tells which bit I want to see equals to "1". But still, the filter wont go through

2021-03-25 11:57:25 +0000 commented answer Check individual bits

It wont go through as a filter. But the filter you gave, does it check if the whole byte equals to 1, or does it just ch

2021-03-25 11:56:28 +0000 commented answer Check individual bits

It wont go through as a filter. But the filter you gave, does it check if the whole byte equals to 1, or does it just ch

2021-03-25 11:55:08 +0000 commented answer Check individual bits

It wont go through as a filter. But the filter you gave, does it check if the whole byte equals to 1, or does it just ch

2021-03-25 11:33:59 +0000 asked a question Check individual bits

Check individual bits Hi! I am trying to filter on specific bits in the data section, but I am unable to get the result