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

Capture filter not filtering anything

  • retag add tags

Hi there, I'm trying to capture traffic between two sets of two endpoints.

endpoint group 1 capture filter:

ether src 00:10:7f:ae:71:81 or ether dst 00:10:7f:ae:71:81 or ether src 00:10:7f:b0:96:47 or ether dst 00:10:7f:b0:96:47

I run this for about 1 minute and it produces a reasonably sized capture file that doesn't crash wireshark.

Endpoint group 2 capture filter:

ether src 00:10:7f:aa:b6:f0 or ether dst 00:10:7f:aa:b6:f0 or ether src 00:10:7f:ae:fd:07 or ether dst 00:10:7f:ae:fd:07

Within 10 seconds the capture file is about 15 gb. Wireshark does not handle this and crashes.

in both cases I'm only sending 2 interfaces to the span port. The endpoints are Crestron NVX modules sending a mixture of traffic but mostly udp multicast.

What I'm not understanding about either capture filter is that I'm still capturing traffic from other devices, even though I've specified that I only want to capture traffic to or from 2 specific devices.

wireavguy's avatar
1
wireavguy
asked 2019-08-29 18:37:45 +0000
grahamb's avatar
23.8k
grahamb
updated 2019-08-29 18:57:09 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

The way I would troubleshoot this is to make a small capture without capture filter (say 10000 packets) and then do the same with the capture filter. Have a look at the "Statistics -> Conversations" overview and check the "Ethernet" tab to see whether every packet has one of the mac addresses from your filter. I suspect that ine of the endpoints is sending a lot of data.

I'm trying to capture traffic between two sets of two endpoints.

If the purpose of your filter is to capture between two endpoints, the filter should have the form:

ether host <mac-addrsystem1> and ether host <mac-addr system2>

or

(ether src mac1 or ether dst mac1) and (ether src mac2 or ether dst mac2)

The filters you mentioned collect all packets that were either sent or received by either of those two hosts, independent of whom they were sending to or receiving from.

SYN-bit's avatar
18.5k
SYN-bit
answered 2019-08-29 19:05:14 +0000
grahamb's avatar
23.8k
grahamb
updated 2019-08-29 19:06:56 +0000
edit flag offensive 0 remove flag delete link

Comments

I would also add that you should use dumpcap rather than Wireshark when dealing with high traffic rates.

grahamb's avatar grahamb (2019-08-29 19:08:22 +0000) edit
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