ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] range in filters

From: Ed Beroset <beroset@xxxxxxxxxxxxxx>
Date: Fri, 18 Mar 2011 07:36:00 -0400
Stephen Fisher wrote:
Has anyone ever looked into implementing range checks in display
filters?  For example, a typical Unix style traceroute would be in the
UDP port range 33434 to 33464, so I would like to do a filter such as
"udp.port range 33434 33464"

I'd write that like so:

udp.port >= 33434 && udp.port <= 33464

Ed