Can't get the syntax correct for my tcpdump command

Andrew Falanga af300wsm at gmail.com
Thu May 10 20:10:39 UTC 2007


On 5/10/07, Chuck Swiger <cswiger at mac.com> wrote:
> On May 10, 2007, at 12:19 PM, Andrew Falanga wrote:
> > 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 host _remote_ and proto \\udp
>
> --
> -Chuck
>
>

Thanks to everyone.  I don't know what I was doing a couple of days
ago, but apparently I wasn't doing what I thought I was since the
above works and I know I wasn't entering the command like that.

Thanks again.

Andy


More information about the freebsd-questions mailing list