GithubHelp home page GithubHelp logo

Try harder to find AS-SETs about arouteserver HOT 2 CLOSED

pierky avatar pierky commented on May 27, 2024 2
Try harder to find AS-SETs

from arouteserver.

Comments (2)

pierky avatar pierky commented on May 27, 2024

Thanks for your feedback Job.

I coded a new option that allows to do what you've said: cfg.filtering.irrdb.peering_db.

When set, if IRRDB-based filters are enabled and no AS-SETs are configured for a client, ARouteServer tries to fetch their values from the client’s ASN record on PeeringDB.

Since the data on PeeringDB are not always 100% accurate and up to date, and sometimes the IRR Record field contains values that are reported using exotic syntaxes, I preferred to disable this feature by default, by using a default value of False for this option. When enabled, an INFO message is logged whenever an AS-SET from PeeringDB is actually used to obtain data from IRRs.

I hope this works for you.

from arouteserver.

pierky avatar pierky commented on May 27, 2024

So, this feature has been merged with v0.10.0.

I tried to both guess and validate AS-SETs that are fetched from PeeringDB records, for example by stripping registry names prepended to the AS-SET (RIPE::AS-XXX). Invalid AS-SETs are ignored.

With regards of this, I also introduced a new argument that can be used with the clients-from-euroix command: --merge-from-peeringdb. It can be used to tell ARouteServer to fetch AS-SETs and/or max-prefix limits from PeeringDB if they are not included within the Euro-IX JSON file that is processed.

from arouteserver.

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.