Capture packets before kernel process

Juli Mallett jmallett at FreeBSD.org
Wed May 1 00:13:46 UTC 2013


On Tue, Apr 30, 2013 at 8:24 AM,  <wind at sourcearmory.com> wrote:
> I need some help, currently I'm working in a project where I want to capture
> and process some network packets before the kernel. I have searched but I
> have found nothing.
>
> Is there some way to capture the packets before the kernel ?

You probably should look at netmap, although you need supported hardware:
- http://info.iet.unipi.it/~luigi/netmap/

It can even be configured so that you can pass some packets on to the
regular kernel network stack, although it's not clear if that's
something you want/need.

Thanks,
Juli.


More information about the freebsd-net mailing list