First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Newbee question: Unable to use wireshark filter syntax.

Hello, The Wireshark-filter. HTML clearly explains: ip.dst == 192.168.1.1 is a valid filter. However, if I put this filter in the "wireshark capture interfaces" dialog box in the line "Capture filter for selected interfaces", the background stays red. If I use the basic "UDP" statement in this filter dialog box, it works.

Any idea why the filter syntax does not seem to work in the dialog box? (The NIC is connected to a network where the router is 192.168.1.1 so i do not expect a problem from this side) Thanks in advance, Johi.

Johi's avatar
1
Johi
asked 2019-07-25 10:52:01 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

That is a display filter. If you want a capture filter, use one of these host 192.168.1.1 dst host 192.168.1.1

millerlw's avatar
1
millerlw
answered 2019-07-25 16:27:30 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

Wireshark has two filter syntaxes, for capture filters, also known as BPF filter and display filters.

More information can be found in the User Guide, 4.13. Filtering while capturing and 6.3. Filtering Packets While Viewing.

grahamb's avatar
23.8k
grahamb
answered 2019-07-25 11:09:12 +0000
cmaynard's avatar
11.1k
cmaynard
updated 2019-07-25 14:02:44 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer