Date: Wed, 31 Oct 2012 06:43:00 -0500 (CDT) From: Robert Bonomi <bonomi@mail.r-bonomi.com> To: freebsd-questions@freebsd.org Cc: corebug@corebug.net Subject: Re: Access packets directly from NIC Message-ID: <201210311143.q9VBh0bW065617@mail.r-bonomi.com> In-Reply-To: <CAKB6gVgePbudXmRVhTRPcSYttw5FsaW=BUWG8T_tPmPQo%2B3=jA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> From owner-freebsd-questions@freebsd.org Wed Oct 31 06:29:57 2012 > From: =?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0KLRg9GA0L7QstC10YY=?= > <corebug@corebug.net> > Date: Wed, 31 Oct 2012 13:29:05 +0200 > Subject: Re: Access packets directly from NIC > To: Jack Mc Lauren <jack.mclauren@yahoo.com> > Cc: FreeBSD Global Users Mailing List <freebsd-questions@freebsd.org> > > 2012/10/31 Jack Mc Lauren <jack.mclauren@yahoo.com>: > > Hello FreeBSD users ! > > > > How can i access and check packets directly from NIC ? > > > > Regards, Jack > > I believe that easiest way is using tcpdump. Also you should specify what > you mean by 'accessing packets': is it the need to view raw packet data, > or what? :) > tcpdump is _the_ tool for this for command-line use. For access from within a program, 'man bpf'.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210311143.q9VBh0bW065617>