Giter Club home page Giter Club logo

Comments (2)

mfontanini avatar mfontanini commented on June 13, 2024

I hadn't considered this, but it could be an option. However, regarding netmap, I see that there is a fork of libpcap that uses this capture mechanism, so I guess if you're using it, it should work.

Is there any other packet capturing libraries that are not libpcap compatible and that it would make sense to support?

from libtins.

simonhf avatar simonhf commented on June 13, 2024

AFAIK netmap is not a packet capturing library per se but rather a mechanism to bypass the (slower) kernel network stack to allow direct, zero copy access to packets in user land via shared memory. AFAIK there are a bunch of other kernel network stack bypass technologies around like netmap and probably the most note-worthy is [1]. However, AFAIK only netmap allows you to run on a single NIC and decide in the NIC driver which packets should flow to the kernel network stack and which packets should be made available to user land via shared memory. Most other solutions require the kernel bypass technology to completely take over a particular NIC... meaning that servers need at least two NICs (one for ssh, and one for the bypass) to work... which rules out using the bypass technology on commodity servers which only have a single NIC. HTH.

[1] http://dpdk.org/

from libtins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.