Capture packets at 10g interface

Tarun Batra tbatra18 at gmail.com
Thu Jan 28 13:44:20 EST 2016


I want to do that because I have to write a packet inspection module sort
of idps solution.
We are targeting kernel space because of performance.
On Jan 29, 2016 12:09 AM, "Greg KH" <greg at kroah.com> wrote:

> On Thu, Jan 28, 2016 at 11:47:36PM +0530, Tarun Batra wrote:
> > Hi All,
> >
> > I have to write a kernel module in which I have to capture packets from
> 10g nic
> > interface and make a copy of them.
>
> Why do you want to do that?
>
> > I have two options
> > Either use netfilters
> > Either use add dev pack
>
> What do you mean by this last choice?
>
> > If any options u thing please let me know.
> >
> > Should the module be multi threaded?
>
> Why would it be?
>
> > As I can't compromise with performance.
> >
> > Can I bind kernel threads to specific core?
>
> Yes, but are you sure you really want to do this in the kernel?  Can't
> you do this today already from userspace?
>
> thanks,
>
> greg k-h
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160129/328b6eae/attachment.html 


More information about the Kernelnewbies mailing list