From owner-freebsd-questions@FreeBSD.ORG Thu May 10 19:46:09 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 22F6416A404 for ; Thu, 10 May 2007 19:46:09 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id A699813C447 for ; Thu, 10 May 2007 19:46:08 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-187-205.dclient.hispeed.ch ([80.218.187.205] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HmEaV-0000L4-I3; Thu, 10 May 2007 21:46:07 +0200 Message-ID: <46437675.40609@gahr.ch> Date: Thu, 10 May 2007 21:45:57 +0200 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.0 (X11/20070509) MIME-Version: 1.0 To: Andrew Falanga , freebsd-questions@freebsd.org References: <340a29540705101219xc2aa398i818c76c09f8efce8@mail.gmail.com> In-Reply-To: <340a29540705101219xc2aa398i818c76c09f8efce8@mail.gmail.com> X-Enigmail-Version: 0.95.0 OpenPGP: id=9571F78E; url=http://pgp.gahr.ch Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigD827FCBADB1E44C648DAD50B" X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Cc: Subject: Re: Can't get the syntax correct for my tcpdump command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2007 19:46:09 -0000 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--