Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2012 09:40:07 +0000
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:  <CAJJwNVLKvJYz9aTq90RUzoLdcQi2s=CvJcZLcKxa7%2BWH%2BVx_2w@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
thank you for your help. I will test it

On Thu, Jul 26, 2012 at 9: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?CAJJwNVLKvJYz9aTq90RUzoLdcQi2s=CvJcZLcKxa7%2BWH%2BVx_2w>