Ethereal-users: Re: [Ethereal-users] capture filter for MGCP

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 26 Mar 2002 18:41:34 -0800
On Tue, Mar 26, 2002 at 05:21:46PM -0500, zgz wrote:
> I have a question here: how can I set the capture filter to only capture the
> MGCP packets?

By using "tcp port N" or "udp port N" filters (or, if the port numbers
for TCP and UDP are the same, just "port N"), with "N" being the
appropriate port number.

For example, it appears from the MGCP dissector source that the gateway
port number is, by default, 2427, and the call agent port is, by
default, 2727, so the filter for those would be

	port 2427 or port 2727