From owner-freebsd-questions@FreeBSD.ORG Thu May 10 19:19:20 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 7959816A402 for ; Thu, 10 May 2007 19:19:20 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 3516F13C44B for ; Thu, 10 May 2007 19:19:19 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so168195and for ; Thu, 10 May 2007 12:19:19 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=EpLQEGNwPUdXLsdPjAd2EZYkUvCoqCRajcNFw7xWIg/W6keYY0tEW51/kjjbjmGaDOt37TRUDZMNjI5Asd1I/Veqc/uq4IIcys6v1nCCuem4Bkg7c2aB9cdwmEyLNTEsnGrQbN1idNwuEQ37PwiA0HAAwwr3deKlGa4XtfStb7I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=S41Rew/CTVJ97xuGR3kdUpB+sul4yAfwhxIEP+RUcSEHb/8O26LoN7bYimbgkZ8sjuMb5t5wAtr4ed75UQEvwwIrfFn7RUgG02feniSBbagwft8QIac3ljjo8Ggyaj57ykQYOV/NSxNKePZh3EEZobqqBJaeLdDE+VWpIRq3dRM= Received: by 10.100.166.14 with SMTP id o14mr1090233ane.1178824758713; Thu, 10 May 2007 12:19:18 -0700 (PDT) Received: by 10.100.201.15 with HTTP; Thu, 10 May 2007 12:19:18 -0700 (PDT) Message-ID: <340a29540705101219xc2aa398i818c76c09f8efce8@mail.gmail.com> Date: Thu, 10 May 2007 13:19:18 -0600 From: "Andrew Falanga" To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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:19:20 -0000 Hi, 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. 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, tcpdump -v -s 192 -i fxp0 ip6 host remote The above works. However, when I try to modify the command to filter out only the UDP traffic, I've tried something like this: tcpdump -v -s 192 -i fxp0 ip6 udp host remote To which tcpdump complains of syntax errors. Variations I've tried are: tcpdump -v -s 192 -i fxp0 ip6 proto udp host remote tcpdump -v -s 192 -i fxp0 udp ip6 host remote All to no avail. As I said, I'm rather steamed that just two days ago I was getting what I want and today my memory won't cooperate with me. Please help! Thanks, Andy