Git Product home page Git Product logo

Comments (4)

whitetiger21022014 avatar whitetiger21022014 commented on July 16, 2024

@cejkato2
Thank for your time and Top-n module, last question
May I compile topn, logger module in OpenWRT ?
May I compile tunnel_detection module (Nemea-Detectors) in OpenWRT ?

from nemea-modules.

cejkato2 avatar cejkato2 commented on July 16, 2024

I think it should be possible but it will take some effort... We would be glad for any help so let me explain some principles of compiling NEMEA for OpenWrt.
The basic info should be at http://nemea.liberouter.org/openwrt/:

  1. clone OpenWrt 15.05
  2. add NEMEA feed using the guide in README: https://github.com/CESNET/Nemea-OpenWRT/
  3. select NEMEA packages in menuconfig of OpenWrt
  4. make

That was about compilation of our version.
You will need some modifications so let me show you so internals.
After adding the feed, there are feeds/nemea/libs/nemea-framework and feeds/nemea/utils/nemea-modules/ in your openwrt directory.

To add topn and logger, you will need to change https://github.com/CESNET/Nemea-OpenWRT/blob/master/utils/nemea-modules/Makefile#L12 that defines git revision.
There is also a patch https://github.com/CESNET/Nemea-OpenWRT/blob/master/utils/nemea-modules/patches/001-removemodules.patch that modifies a set of modules to compile.

I think the topn module should be easier to add because it has no special dependencies.

In the past, logger used openmp but as I'm looking into repo, it is already rewritten so it uses "just" pthread -> it should be fine now.

Please, let us know if you make some progress... Thanks in advance.

from nemea-modules.

whitetiger21022014 avatar whitetiger21022014 commented on July 16, 2024

@cejkato2
Thanks you so much
With flow_meter module, it will be great if it supports BPF filter option when capturing live interface

from nemea-modules.

cejkato2 avatar cejkato2 commented on July 16, 2024

@havraji6 worked on #29, thank you!

from nemea-modules.

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.