Date: Thu, 10 May 2007 21:45:57 +0200 From: Pietro Cerutti <gahr@gahr.ch> To: Andrew Falanga <af300wsm@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Can't get the syntax correct for my tcpdump command Message-ID: <46437675.40609@gahr.ch> In-Reply-To: <340a29540705101219xc2aa398i818c76c09f8efce8@mail.gmail.com> References: <340a29540705101219xc2aa398i818c76c09f8efce8@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD827FCBADB1E44C648DAD50B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Andrew Falanga wrote: > Hi, >=20 > I'm about to launch this computer through the roof! This tcpdump is > more finicky than feline when it comes to eating. What really bugs me > is that just a couple of days ago I was doing this very same thing > with no problems. For some reason, however, I just can't resurrect > the memory of how the syntax goes. >=20 > I want to capture only the IPv6 UDP traffic from my FreeBSD box to a > host I'm trying to mount through NFS. A couple of days ago, I got it, > but I had to kill that terminal session abnormally and the commands > aren't in my history. So, I have something like this, >=20 > tcpdump -v -s 192 -i fxp0 ip6 host remote >=20 > The above works. However, when I try to modify the command to filter > out only the UDP traffic, I've tried something like this: >=20 > tcpdump -v -s 192 -i fxp0 ip6 udp host remote >=20 > To which tcpdump complains of syntax errors. Variations I've tried are= : >=20 > tcpdump -v -s 192 -i fxp0 ip6 proto udp host remote >=20 > tcpdump -v -s 192 -i fxp0 udp ip6 host remote expression primitives have to be AND'd. tcpdump -v -s 192 -i fxp0 host _remote_ and udp and ip6 > Please help! Hope this helps, >=20 > Thanks, > Andy --=20 Pietro Cerutti PGP Public Key ID: http://gahr.ch/pgp --------------enigD827FCBADB1E44C648DAD50B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGQ3Z5wMJqmJVx944RClhrAKCfhI4OTg/wiL1y9LBgbcUgZHDw+gCeLftS HjNmb+Ve/dTm5Gjutzc6E/8= =pcLM -----END PGP SIGNATURE----- --------------enigD827FCBADB1E44C648DAD50B--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46437675.40609>