Wireshark-users: Re: [Wireshark-users] Capture filter for ARP, DNS and PING
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 06 Jan 2008 14:28:23 -0800
nilay yildirim wrote:

How can I set up a capture filter just to capture ARP, DNS and PING?

"DNS" generally means "traffic to or from the Domain Name System port", and "PING" generally means "ICMP Echo and Echo Reply packets", so:

arp or port domain or icmp[icmptype] = icmp-echo or icmp[icmptype] = icmp-echoreply