Giter Club home page Giter Club logo

Comments (5)

kellybyrd avatar kellybyrd commented on July 23, 2024

There are more non-public ranges than just RFC1918 and RFC6598. Many firewalls solve this problem by downloading a bogon list. The list includes RFC1918, RFC6598, the link local addresses, various test ranges, etc. It also includes ranges that have not been assigned to an ISP or end user yet. The lists are updated periodically, typically once a week or something like this.

IMO, the minimum would be to use a static copy of the "The Text Bogon List, Aggregated" from copied from here: https://team-cymru.com/community-services/bogon-reference/bogon-reference-http/

Even better would be to build a mechanism to update that list periodically (1-2 a day at most should be fine, I think my firewall is set to update once a week) and use the "IPv4 Fullbogons" list on that same bogon reference page.

from erlang-libp2p.

Vagabond avatar Vagabond commented on July 23, 2024

That's a pretty short list, how often does it realistically change?

from erlang-libp2p.

kellybyrd avatar kellybyrd commented on July 23, 2024

That's a pretty short list, how often does it realistically change?

The version of the list he used in the code is just the RFC'd ranges and in ipv4 land, that's really all there is anymore, everything else is allocated. So it's only likely to change when an existing range is changed. So maybe once every few years? But if there is ever ipv6 support than that changes more often.

from erlang-libp2p.

PaulVMo avatar PaulVMo commented on July 23, 2024

To add, more extensive bogon lists also includes allocated public IPs address blocks that have not been assigned to an ISP. I do not think that is necessary as the larger risk is misconfiguration using private/shared blocks rather than the broader set of allocated but yet to be assigned IPs. Someone would need to intentionally use an unassigned IP which is not really to their advantage in any way. Misconfigure is the more likely scenario.

from erlang-libp2p.

PaulVMo avatar PaulVMo commented on July 23, 2024

Closed by #368 and #369.

from erlang-libp2p.

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.