Coder Social home page Coder Social logo

Comments (5)

msimkins avatar msimkins commented on June 8, 2024

There is no real definition of a 'private' address in IPv6, you have Global, Unique Local (ULA) blocks which could be thought of a 'private', or Multicast. In fact the IPv4 definition of 'Private' (RFC1918) is only private by the fact that no ISPs route them (although you do see them on the internet from time to time)

from ipaddress.

mikemackintosh avatar mikemackintosh commented on June 8, 2024

Not specific to this issue, but, I do see this as being a very important part of networking and SDN.

Taking a look at rfc5735 and rfc5156 for IPv4 and IPv6 respectively, these special-use addresses should have some sort of interface within the IPv4 and IPv6 classes.

Open to thoughts on implementation and benefits..

from ipaddress.

msimkins avatar msimkins commented on June 8, 2024

There is no real concept of Private in IPv6, there is ULA (fc00::/7) which are technically private (well Not Routable anyway),

On 17 Jan 2015, at 22:13, xanview [email protected] wrote:

Why is there no "private?" method for IPv6 addresses? - this is annoying because I have to manually check if the object responds to :private before calling it :(


Reply to this email directly or view it on GitHub #54.

from ipaddress.

mikemackintosh avatar mikemackintosh commented on June 8, 2024

Agreed on the #private? method.

I'd like to solicit some feedback in regards to having methods like #is_ula? and if it would be beneficial? Playing off this, we can also do #is_teredo?, #is_6to4?, #is_orchid?, #is_doc?, etc..

from ipaddress.

msimkins avatar msimkins commented on June 8, 2024

That would be a good idea, I did add to another gem an address_scope method that returned a document string based on the address type, but the addition of something like this would be beneficial to the gem I believe

On 24 Mar 2015, at 16:39, Mike Simkins [email protected] wrote:

There is no real concept of Private in IPv6, there is ULA (fc00::/7) which are technically private (well Not Routable anyway),

On 17 Jan 2015, at 22:13, xanview <[email protected] mailto:[email protected]> wrote:

Why is there no "private?" method for IPv6 addresses? - this is annoying because I have to manually check if the object responds to :private before calling it :(


Reply to this email directly or view it on GitHub #54.

from ipaddress.

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.