GithubHelp home page GithubHelp logo

Comments (1)

paololucente avatar paololucente commented on May 27, 2024

Hi @RoFz ,

What you are trying to achieve is indeed possible: no BGP so, as you said, you define a networks_file where you list subnets of interest one per line, link such file in the config, ie. networks_file: /path/to/networks.lst, and set aggregate: src_net, dst_net for a test -- this config should show the traffic in between the subnets you did define in the file.

As per labelling, unfortunately that feature got dropped -- i refer to the one where you could define strings like foo or bar in the networks_file and would see those accounted traffic for, instead of the actual defined subnet. The feature was clumsy and it is definitely something better done as part of a lookup when post-processing data.

Should you want some form of grouping of subnets, you could still group them using ASNs (say private ones). You could refer to the following section of the example:

65500,192.168.1.0/24
65501,192.168.2.0/25
65502,192.168.4.0/23

Now if you, again for a test, configure aggregate: src_net, dst_net, src_as, dst_as then you should see both the subnets and the ASNs (which in this case are just numerical groups of subnets). Should you then want the ASN be translated into strings like foo, bar, etc. then you need to do it in the post-processing but now it's much easier as groups are made ready and it would be a trivial task of 1:1 translation.

Paolo

from pmacct.

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.