GithubHelp home page GithubHelp logo

Comments (3)

job avatar job commented on June 7, 2024

Another aspect: when the default value is lower than what is stated on peeringdb, or the client-specific value is lower than what is stated on PDB, I think the PDB value should be choosen. We have to assume that some routeserver operators run things on autopilot, and I think PDB is the most authoritive source when it is the highest value, but when it is lower it no longer is authoritive and the arouteserver config should be used. :)

from arouteserver.

pierky avatar pierky commented on June 7, 2024

I'm going to add an option to accommodate those networks that fill the PeeringDB records with their exact announcement count. As you suggested it is based on two values: an absolute one and a relative one, so that the final limit is given by (<PeeringDB value> + <absolute>) * (1 + <relative> / 100).
Of course these values can be set both to zero to bypass this functionality.

With regards of your second comment to this issue I think I'll leave the current behaviour as it is now.
The first case,

when the default value is lower than what is stated on peeringdb

is already handled by the current implementation, since the general limit value is used only when there is not a client-level limit nor the limit is fetched from PeeringDB.

If operators run their route server on autopilot IMHO we should assume that a manually entered client specific value must have the highest priority, just because it requires a very specific manual intervention to be set that - hopefully - is strongly wanted by the operator itself.

The only case left is when the value from PeeringDB is lower than the general limit: in this case when the max-prefix will be hit the operator will choose whether to silently fix the client's limit or to tell the peer to fix their PeeringDB entry. This could be a good chance to improve PeeringDB data quality too ;-)

Can this work for you @job?

from arouteserver.

job avatar job commented on June 7, 2024

Yes, the current beta works for me.

Based on experience at YYCIX i recommend that a default of "increment absolutely 500" followed by "increment with 15%" is the best path forward (especially if we consider that arouteserver has other layers of security like the prefix filter, origin filter and transit-free filter). It is good to be generous with the maxpfx settings

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.