Comments (5)
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.
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.
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.
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.
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)
- Random IPv6 HOT 2
- fix deprecation warning when running on ruby >= 2.3 HOT 1
- support ipv6 summarize HOT 1
- Wrong broadcast address HOT 8
- undefined method `link_local?' for #<IPAddress::IPv4:0x007fbd8353e880> HOT 2
- IPv6#split HOT 4
- valid? does not correctly validate ipv4 subnet HOT 3
- Method to compare between public addresses for IPv6
- release a new version of the gem??? HOT 4
- Add maintainers HOT 3
- Ip HOT 1
- A HOT 1
- different result between IPAddress and IPAddr when call to_i HOT 1
- Stuck while trying to get min and max ip for IPV6 range
- Is this library dead? HOT 8
- No validation for non-integer ipv6 prefixes
- Release 1.0 HOT 5
- When the new gem version will be issued? HOT 6
- Invalid IPv6 handling HOT 1
- `link_local?` defined twice in `lib/ipaddress/ipv6.rb` HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipaddress.