Access packets directly from NIC
Robert Bonomi
bonomi at mail.r-bonomi.com
Wed Oct 31 11:43:01 UTC 2012
> From owner-freebsd-questions at freebsd.org Wed Oct 31 06:29:57 2012
> From: =?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0KLRg9GA0L7QstC10YY=?=
> <corebug at corebug.net>
> Date: Wed, 31 Oct 2012 13:29:05 +0200
> Subject: Re: Access packets directly from NIC
> To: Jack Mc Lauren <jack.mclauren at yahoo.com>
> Cc: FreeBSD Global Users Mailing List <freebsd-questions at freebsd.org>
>
> 2012/10/31 Jack Mc Lauren <jack.mclauren at 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'.
More information about the freebsd-questions
mailing list