Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2012 06:24:13 -0700
From:      m s <mah.s.369@gmail.com>
To:        Daniel Hartmeier <daniel@benzedrine.cx>
Cc:        freebsd-net@freebsd.org
Subject:   Re: tcpdump in freebsd
Message-ID:  <CAJJwNVK5GSFUCOMNEdVgivbY%2BtPT6LgejFGUQ1fbozzvcrSGnw@mail.gmail.com>
In-Reply-To: <20120726092549.GA3153@insomnia.benzedrine.cx>
References:  <CAJJwNVJ1sj-j=Rrb7PHU6%2Bb-hrm3WqRgWyN-2XpH-qTme_SOfg@mail.gmail.com> <20120726092549.GA3153@insomnia.benzedrine.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
It works correct.Thanks for your help.

On Thu, Jul 26, 2012 at 2:25 AM, Daniel Hartmeier <daniel@benzedrine.cx>wrote:

> On Thu, Jul 26, 2012 at 08:35:29AM +0000, m s wrote:
>
> > hi all. I want to use tcpdump just for input or just for outout
> > packet.isthis possible ? if no is there any other command that do
> > this?
>
> If filtering by source MAC (or IP) is not enough, you can patch tcpdump
> to hack in '-a in|out' using pcap_setdirection().
>
> HTH,
> Daniel
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJJwNVK5GSFUCOMNEdVgivbY%2BtPT6LgejFGUQ1fbozzvcrSGnw>