Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2013 17:13:18 -0700
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        wind@sourcearmory.com
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: Capture packets before kernel process
Message-ID:  <CACVs6=-W69ZJFo6eVgOquvLSUF2XTemFbK-6=ENz6Trfbog8xQ@mail.gmail.com>
In-Reply-To: <517FE225.6080703@sourcearmory.com>
References:  <517FE225.6080703@sourcearmory.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 30, 2013 at 8:24 AM,  <wind@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACVs6=-W69ZJFo6eVgOquvLSUF2XTemFbK-6=ENz6Trfbog8xQ>