245 points · by todsacerdoti · 2y ago · 342 comments
Paul Vixie saw it coming, the very first example in the original SRV proposal (RFC 2052, 1996) is resolution of HTTP. Alas that this example was omitted in later editions. The new SVCB/HTTPS RRs (RFC 9460, 2024) are literally decades overdue.
I never really got the point of the new records either. From what I can tell, they're just SRV records. A separate record class could've made sense with DANE, but nobody implemented it.
They are not everywhere though. They are not on the greater Internet. They are not on residential networks. I have access to the full 65535 TCP ports everywhere in the world on my average Internet connection.
These middleboxes you speak of are appliances paid for and placed inside of corporate LANs. They can pay to put more modern ones, or just getting rid of them.
The point is that these middleware appliances we often use as a scapegoat exist only in well-controlled private networks. Why should we care about them?
Perhaps for the same reason we only stopped caring about IE 6 after its usage dropped below a tiny percentage.
For better or worse, making your website available to as many groups of people as possible, regardless of their browser selection or network configuration, has been a long-standing goal in the community.
If your website isn't available to folks at the offices of company X because they use appliance Y, through no fault of user Z's, well...that's not ideal, is it?
Personally, I would've preferred to ignore the spec incompliant middleboxes, or even report an error about something meddling with the connection to the user when it's obvious they're the cause of any connectivity issues. That's not a very popular approach for spec designers, though, because they're afraid people will blame the new software rather than the Enterprise™ NetworkProtection© box they paid six figures for. After all, the software is what changed, not the box!
Binding IP addresses into the TCP tuple is the thing that makes saddest about the could-have-been Internet.
Lack of adoption of SRV records is a close #2. So much IP space would have been saved. Load balancing and failover would have been so much easier.
(32-bit addresses is up there too...)
Using SRV and increasing IP address space “by 64k” is only valuable for large single consumers such as AWS.
Likewise for HTTPS, though in that case multiplexing arrived only maybe 10-15 years ago instead of 25.
A proposed Internet "standard" suggested that instead you would do a different kind of query, not a query for the IP address but one for a "server". It's a kind of query that is very underused on the Internet but it's related to how you find printers on a local network for example. In that case you would do this kind of query (called SRV) for http.tcp. example.com and that would always be able to return another hostname, thus getting rid of the issue with apex domains.
You’re forgetting the underscores: It’s actually “_http._tcp.example.com”. The underscores are there to avoid any possibility of collisions with host names, since host names are not allowed to contain underscores, but are generally allowed in the DNS.
That's not true. I have an server with a single IP and a number of Domains that are served from that single IP like http(s)://example.com http(s)://example.org http(s)://example.de
All of those delivery completely different websites from that single domain. You are mixing up two tings: DNS with HTTP(s). In DNS its right but for HTTP(s) it doesn't matter.
We now have it, but still need to use a hack to cname an apex e.g set Google.com to bah-bahs-tenant100.s3.amazon.com. Adhering to the spec we need to set google.com to an ip address e.g 8.8.4.4
Dns SRV record = IP:port
Not sure why SRV never really caught on for most internet stuff.
(Edit: SRV records are hostnames, not IPs, so I guess it takes two lookups?)
In addition to canonical name & port number they also include priority & weighting values, although the usefulness of these depends on the service.
SRV might not be super visible in the application developer's lane, but swim outside and there's a lot of it about. It's foundational for SIP, for example (IP telephony). Email remains a tremendously significant internet utility and SRV is used, albeit not universally, for discovery of client endpoints (SMTP submission, IMAP, CalDAV etc). However, SRV hasn't replaced MX for SMTP between MTAs, perhaps because MX already does basically the same and was established years prior. And, well, Jabber is dead, but XMPP was another fully worked demonstration of SRV's capability.
In more local environments SRV is used for resolution/discovery in Active Directory (Microsoft) and Bonjour (Apple) - if you listen to the wire on any local network you'll often see a ton of SRV over mDNS or DNS-SD. Perhaps ironically, one of the objections that sometimes arose to using SRV for HTTP was from Active Directory sites with zone cuts at _tcp.example.com and facing additional complexity in any transition.
For years a combination of gaps in policy, disjointed standards development, hoarding behaviour, and administrative laxity, led to substantial wastage of IPv4 address space that persists to this day, in part because multiple independent website tenants sharing an IP address was (and often still is) difficult.
Glossary
DNS: Domain Name System, how computers discover (or resolve) each other's numeric IP addresses from symbolic hierarchical names.
HTTP WG: HTTP Working Group, the standards committee(s) responsible for defining the application-layer protocols by which a web browser talks to a web server. Under the auspices of the IETF.
IETF: Internet Engineering Task Force, the standards organization for the Internet. Most famous for being the entity that publishes TCP/IP and the cherries on top.
LIR: Local Internet Registry, an entity that applies to be the holder of block-allocated IP address space. Typically ISPs and hosting companies that assign it for their use or onward customer use.
RIPE: The European peak body, a Regional Internet Registry (RIR), responsible for (amongst many other things) allocating IP space to the LIRs, ultimately under license from the global steward IANA. Sibling of ARIN, LACNIC, AFRINIC, APNIC (North & South America, Africa, Asia-Pacific respectively).
SNI: Server Name Identification. Before SNI was introduced to SSL/TLS, the only way to tell which HTTPS origin was being requested, was by server IP address.
SRV: A specific type of record in the DNS that allows lookup of a service (e.g. IMAP mail, XMPP messaging, LDAP directories) for a given domain name, to return a set of hostname(s) that actually provide that service, and the ports on which it is available. This enables multi-tenant services on shared IP addresses and thereby conserves IP space.
/19 network prefix: A large chunk of IPv4 address space, corresponding to 8192 unique IPv4 addresses. Refers to the first 19 bits of the block of (32 bit) IPv4 addresses being allocated. Back in the 90s a /19 was a common granularity of allocation from RIR to LIR and could be granted with a low bar to justification. Mathematically, 2^(32-19) = 8192.
Address record: A specific type of record in the DNS that maps a hostname to an IP address. Technically referred to as an "A record" for IPv4 addresses, or an "AAAA" record for IPv6 addresses which are literally 4x the binary length.
Allocation, Assignment, and Announcement: IP address space is allocated in blocks by RIRs to LIRs, who then assign smaller parcels of it to specific purposes such as retail hosting and internet access, and announce it at internet exchanges and to their peers for actual traffic exchange. Very often, the quantity of assignment failed to justify a large allocation, leaving space unassigned i.e. unused, and in some cases unannounced, but still hoarded, with incentives for hoarding becoming perversely stronger as the addresses ran out and the policy screws started to tighten ca.2005-2011.
Apex: in "example.com" it is the "example.com" rather than "www.example.com". For marketing purposes, almost every entity wants their zone apex to be directly reachable as a website, which means placing an address record at the apex. This excludes using the apex address record for any other service but HTTP, which I have always regarded as downright antisocial. Since alias records (a.k.a CNAME records) aren't permitted at the apex, it also makes DNS management harder when you have frequent changes to make, as in the highly dynamic world of cloud-based services, or even just want to point your website at a third party hosting service without having to edit your zones whenever their IP addresses change.
Normative: A formal declaration in one technical standard (e.g. SMTP) that it depends in whole or in part on another standard (e.g. DNS) for full specification. It is unusual for a TCP/IP-based IETF protocol standard to omit DNS as normative or otherwise specify how they use the DNS for discovery, but HTTP has always been super vague about it.
Origin: Fancy word for your actual website. Or in the presence of complications like reverse proxies/load balancers/CDNs etc, the front of your service stack from the point of view of a web browser.
Technically this is a subset of the rule that CNAME ("canonical") records cannot co-exist with any other record type with the same label. e.g. it's illegal to have `foo.example.com` be both a CNAME and an A record. Since an SOA record is required at the zone apex, you can't also have a CNAME record there. :-(
I'm not connected with this presentation (other than having talked to Ben about it prior to his giving it, and I guess supplying some of the information on software that accepts 240/4) but I am one of the people working on the project that he describes/criticizes.
Here is our current proposal.
https://www.ietf.org/archive/id/draft-schoen-intarea-unicast...
People have been reacting to this with different forms of "just do IPv6" for many years. I guess we need an official statement about that somewhere. [Edit: other than these quick thoughts below...!]
I personally think IPv6 is great (I was excited about it in the late 1990s when it was standardized, and gave some talks to promote it, and am happy to see it getting deployed and happy to find myself using it sometimes). I hope people will keep working on it and networks and services will keep adopting it.
However, people's need for IPv4 address space depends enormously on other people's behavior. IPv6 addresses are not a good substitute for IPv4 addresses when you're providing a public service, if many of your users don't have IPv6. A high fraction of demand for IPv4 address resources appears to come from organizations and networks that already support IPv6, because they need dual-stack support for compatibility with other people.
Even though IPv6 adoption has been happening, it's easy to imagine that it's "almost done" where that really doesn't seem to be the case. (This is complicated by having very different statistics in different countries: some countries are now almost all IPv6 traffic, while others have almost no IPv6 -- so people in different parts of the world often have rather different intuitions about it.) We still see enormous economic demand for IPv4 address space and projections that IPv6 adoption to a point where IPv4 would somehow no longer be useful or important is likely still decades away. If that's correct¹, we can still get a benefit from making 240/4 usable because that process can be substantially complete during a time when IPv4 is still extremely important.
One thing that Ben (and one of the questioners at the end) argued in his presentation is that even if the adoption of IPv6 is unreliable or erratic, it might be more reliable than useful adoption of 240/4. (This was kind of phrased in the converse direction.) I'll have to think about models of that issue.
Edit: We have been sad when seeing how proposals to make 240/4 usable were made in 2008, but not adopted at IETF. Among things that people said in 2008 was that IPv6 would make this irrelevant quickly. That turned out not to be right, but we lost years of opportunity to make 240/4 more useful in the meantime, where billions of devices shipped in the interim could easily have supported it by default. So, we still have the opportunity not to have the same sense of regret in 2035.
¹ I'm also aware that there are other projections here; I recently interviewed a prominent Internet greybeard figure who theorized that Internet infrastructure growth as a whole has slowed so much that IPv4 demand may be satisfied in the future out of gradual conversion of residential ISPs to using primarily carrier-grade NAT for IPv4, and then selling off their number resources. In this account, IPv4 will remain important on the Internet for a long time, but economic demand for addresses will decline because most users won't have native IPv4 at home or on their mobile devices (the latter already the case in many networks). The economic demand for IPv4 resources is something that has made reclaiming 240/4 appear worthwhile, so in this model it would become less exciting, even without having IPv4 "go away".
There is a great level of IPv6 awareness and enthusiasm in sort of technically elite spaces. Like at Ben's talk at RIPE that we're talking about, the audience was kind of laughing together at the non-IPv6 outgroup.
Meanwhile, I keep helping people use Let's Encrypt over on the Let's Encrypt forum. One of the most common reasons that people are failing to get their certificates is ... misconfigured IPv6 on their servers or in their DNS! And people in that situation often (1) didn't think of that as a possibility, (2) didn't notice (!!), (3) didn't necessarily care about it. Even worse, when people are told something like "your certificate issuance isn't working because your AAAA record is pointing at your old hosting provider rather than your current hosting provider" their usual response is to delete the AAAA record rather than updating it.
Other forum members may also advocate this as a solution. "Oh, just delete your AAAA record, you don't need it."
I'm not making this up, I've seen these things happen about 100 times on the Let's Encrypt forum.
Now, these are primarily sites in the long tail of Internet popularity, the proverbial Joe's Lamp Store rather than Gmail or Facebook or something. But the level of IPv6 awareness and interest among small-scale site operators and people doing small-scale IT stuff is very weak. And I've also seen that a surprisingly high fraction of web sites are IPv4-only rather than dual-stack.
I'm working on 240/4 usability, but I certainly don't want people to delete their AAAA records. I want them to know what an AAAA record is, and want to have their AAAA records be correct.
But there's quite a gap, in a way, between the elite and the non-elite tech spaces on this.
I think Let's Encrypt's behavior is correct, and I don't think anyone inside Let's Encrypt or CA/B Forum would like to inflict "pain [...] on host and network operators" beyond the current practice. Let's Encrypt's current behavior could be described as cooperating with IPv6 adoption rather than compelling IPv6 adoption, which seems like a reasonable place for a certificate authority to be.
There are cases where Let's Encrypt has made choices that potentially slightly reduce compatibility in order to encourage what it considers technically correct behavior. The first one that comes to mind is
https://community.letsencrypt.org/t/adding-random-entries-to...
but I know there are others. On the other hand, all of those decisions can be justified in terms of improving the correctness of PKI software (like not hard-coding things that should not be hard-coded). I can't think of any example that's like "we wish this other technical thing would happen outside of the PKI, so we'll try to force it along", and I don't foresee the broader community getting comfortable with that.
I mentally swap the labels[1] when reading their marketing or release notes. If it says things like "No longer crashes when using IPv6", then I flip that and read it as "No longer crashes when using IPv4". That latter statement is absolutely insane and would have you abandoning that vendor as fast as you can tear up the contract. Nobody bats an eye with the first statement! Why not!?
Azure literally had this scenario, where merely enabling IPv6 on one network would crash their managed PostegreSQL service on another peered network with no recourse other than rebuilding everything form scratch without IPv6 to roll the change back!
[1] Or a generic placeholder than encompasses both. E.g.: "Fix: Enabling the internet protocol no longer causes irreversible outages with your database service."
If ipv6 had been designed form the start to allow seemless transparent access to ipv4 from an ipv6 only client that would be fine. But dual stack means twice the work and very little benefit (what services are ipv6 only, even today)
https://www.verizon.com/support/residential/internet/getting...
I thought it was possible to make a pure v6 network and use NAT64 as needed? I mean, we can argue if that counts, but I argue yes:)
Can I do "ssh 1.2.3.4" on a pure ipv6 stack yet? Last time I looked at ipv6 I couldn't even ping an ipv6 host by doing "ping 1234::5678", I had to run a separate tool (ping6)
The nat64 and vice versa should have been the play from the start. Want to host a sevice? Put in ipv6 only network, host it on 1234:5678::1, have your firewall with a public ipv4 address do the port forwarding, taking your public 12.34.56.78:1234 and natting it to 1234:5678::1.
Just the same as hosting your service on 192.168.0.1 and port forwarding.
But 20 years of dual stack and horrible cludges around changing public IPs later and many people still prefer ipv4.
I ran IPv6 on xfinity. It works. My devices don’t. I like my devices. Easier to just not use it.
In addition, rate limiting with IPv6 is much harder (because IPs aren't scarce), so you risk DoS or other kind of abuse.
Users aren't getting single IPv6 addresses though. Most assign a /48 which is at least a bit better.
It's a shame that you're getting downvoted. I'm sure a lot of those people are shouting at their screen "well just learn it" but even if you're familiar enough with all the stuff it changes (RA, NDP, heck the lack of NAT), it's still a ton of work to get it properly set up and worse yet to maintain.
That is one projection, but it is also a very bleak view of the future. One that we should actively fight at any opportunity and at almost any cost. It will centralize the internet further and squash many attempts for alternative communications.
Would it? It seems to me that a future where 1. every home land-line Internet connection is CGNATed; but 2. every cellular Internet connection is a public IPv6 prefix (as is already mostly the case today!); is actually a promising one. Provided, that is, that residential ISPs also get off their collective asses and provide the promised "hosted edge compute" capabilities they've been tinkering with for the last 10 years.
Since the Internet's inception, people on residential connections have been stuck in a broken mindset of "your home PC can act as a monolithic Internet peer — but only an unreliable one, that can't receive messages when it's shut off and is prone to being DDoSed — so you probably shouldn't actually use it as a server/p2p node, for anything other than, say, VoIP, or hosting an ephemeral multiplayer FPS game session. And you can tinker with a development web-server on your home network — but if you want to actually host anything, you should go pay a cloud provider."
Whereas, in a world with no well-Internet-connected home PCs providing the illusion of the possibility of hosting a home server, only instead:
1. home PCs — which can compute well, but can't be a network-ingress, and also might go down (often for laptops, less often for desktops, but both far more often than a real server would);
2. smartphones — which can network-ingress, but can't spend long periods computing (without burning all your battery life), and which will go down / out of wireless range extremely often; and
3. both commercial, and more importantly ISP-residential, edge-compute clusters — which would give tiny compute slices per workload, but ones with full network-ingress, and would never go down;
...then it'd be clear to all the people who had been thinking until that point that they could get away with p2p on home PCs using STUN/TURN-based protocols, that they would have to do something else; that operating systems (esp. mobile ones) and their client-server/p2p applications would have to evolve to become inherently edge-hybrid; that applications would need to evolve frameworks to embed persistent network-ingress "edge components" that could be shipped automatically and implicitly to the active network's associated edge deploy environment as part of the application's runtime; etc.
If you can't picture that: think about a web server backend that automatically deploys/updates an associated Cloudflare Worker whenever it boots up; and which then expects to be talked to through that Cloudflare Worker proxying requests to it; and where that Worker can also buffer requests, store data into its edge key-value store, etc.
But instead of a web server backend, it's the Minecraft app on your phone; and instead of Cloudflare, it's your residential ISP; and instead of the edge worker making a forward connection to your phone, your phone holds open an ngrok-like reverse connection to the edge worker to receive requests.
(Oh, and one other point of necessary evolution: that the "server component" of any p2p app would also be a mobile workload — not shiftable to the edge itself, but rather through the persistent edge workload to any [similarly reverse-connected, not always online] "compute host nodes" owned by the same user/organization. Such that you could buy a little NUC/NAS-like box to shove under your TV at home, whose marketed purpose would be compute+storage offload for the workloads launched on your phone; or such that your office could have some server racks for free auto-offload of "server components" of apps running on any employee machine — reversing the usual "cloud app with local client" relationship into "local app with slaved cloud workload." Where, in either case, the relevant workloads are still canonically on your phone/PC, so if the "compute offload" has to be drained for an update, the workloads just temporarily migrate back to your phone/PC.)
From my perspective, this would actually be a much better Internet in practice than the one we have today. Individuals would be far more able to host persistent, accessible services on a whim, without investment into local infra or being beholden to a commercial provider with a ToU. Individuals would be paying their ISPs for edge hosting, yes (if they don't have a server with a public IP to run an "edge layer" on themselves); but —
* those would be small fixed costs (as apps' network-ingress components would be small fixed workloads);
* and would likely be sold as free value-adds of data plans (just like web hosting, email, and access to locally-mirrored NNTP groups used to be sold as value-adds of residential Internet plans);
* and such workloads would only be smarter versions of the "dumb pipe" the residential ISP was already providing, not backends in-and-of themselves; and so wouldn't be subject to a VPS-host-like "you can't host X/Y/Z on our servers" type ToU, because users are not hosting anything per se;
* and as such edge workloads live on a very high-level abstraction layer, an edge-hosting ISP would be empowered to do all sorts of things to defend such workloads from DDoS attacks (e.g. putting the known-protocol workload behind a layer-7 WAF), that it can't do for individual customers' single-homed single-IP single-port, arbitrary-protocol home PC server processes.
As you say, residential ISPs used to provide additional services to their customers like web hosting, email, NNTP, shell access, time synch, IRC, mirrors of popular archives. They don't anymore - frequently, not even email. ISPs have clearly shown that they're not interested in being much more than the fastest dumb pipe around, because that's what their customers want, and I don't see that trend reversing.
It might work for a usecase you have in mind but in general, it can't work. And it assumes that the world is a perfect place where the incentives are aligned and that ISPs cooperates and that you'd actually want to expose your phone. As if the tech we have (mobile networks, phone batteries, coverage) would allow for it, which it don't.
And somehow denial of service attacks is only worth mentioning when you have a dedicated PC with proper 100+mbit internet but not when you have a battery powered phone with wireless connection?
And I truly fail to see how all anyone could even argue that all that complexity would be better than direct access.
You've made the internet safer for all of us.
I believe that IPv6 [1] is without a doubt coming in the future. Even with carrier grade NAT'ing and the likes, there are too many major providers who have already switched to single stack IPv6 natively.
That said, I agree that 240/4 is necessary to assist with the transition. Due to the fact that most network operators aren't even dealing with /24's, it becomes increasingly hard to facilitate bridges between the legacy IP and IPv6 so more IPv4 space is always appreciated (until the day we don't need to bridge at all).
[1] I may have a bias due to affiliation with https://IPv6.rs
The main issue has always been the logistics of defining a brand new allocation policy that won’t run out of IPs in 6 months, because otherwise nobody is going to bother spending a bunch of money to support an address block which will most likely not even work anyways.
The disappointment is there seems to be no difference between "needing a single open port" and "needing and entire IP address" due to overzealous egress firewall rules that everyone thought was good engineering practice 20 years ago.
edit: spelling
Aside: in this vernacular, plural of ox is oxen; plural of box is boxen. “boxens” is never appropriate.
And they're not wrong either, it by definition disables not just a whole class of (admittedly outdated) communication channels for malware (such as IRC), but also other stuff you don't want to happen on your network either: bittorrent, people running online games during work...
The first is, particularly on opening it up for public assignment, all of the compatibility issues mentioned. It's not enough that in 2035 99% of things could be compatible when talking about existing internet infrastructure - it has to be 100% going to work (without hoping everyone just catches up, this isn't a separate internet like IPv6's rollout is) if you want to bet interoperability of the established internet on it. The alternative is let people use it but not on the internet, that way they own their own interoperability with themselves or anyone directly interacting with their internal network. If this were a security issue I'd have different feelings on it but it's about convenience so it isn't enough that it's possibly more convenient to most 10 years from now. Especially since the problem and solutions will have evolved so much 10 years from now anyways.
The second reason is, even if it does work out 100%, it's not much a solution to anything anyways. IPv4 pressure has started causing places with large blocks of old IPv4 space moving to NAT, carries deploying double NAT via CG-NAT, cloud providers looking at public IPv4 address fees, and the entire mobile world being IPv6 first with some going as far as IPv6 only with NAT64. Each one of these solutions already in place has resulted in more usable IP space than this would open up so this solution could neither replace them or stop them from being needed in the future. Each existing alternative (however non-ideal) is either a longer term mitigation or step towards a long term solution to the shortage instead of a small basket of addresses to throw on the fire. In particular the NAT64 and 464xlat solution have proven to be a long term permanent answer for the vast majority of the cases people thought they needed these kinds of addresses for that would have left them less prepared when these too ran out. I particularly don't buy the idea that the world just so happens to need exactly a /4 more of space and everything would be alright - it only looks that way because of the above methods being pressured into happening. Remove that pressure and it (at best) can hope to delay the rollout numbers of those methods by a decade.
All that said I'm still in support of opening it up for private use cases like enabling 0.0.0.0/8 in Linux [2] did (think use cases like another /8 of space you can slap your Docker container NATs behind or your HA networks behind for software that doesn't support v6). Not only do I think that would result in less pain for the internet at large I think it would actually result in a larger decrease in IPv4 pressure long term by giving more spaces to NAT to/from for those not ready/able to NAT64 all of their internal services.
[1] https://news.ycombinator.com/item?id=39804231, https://news.ycombinator.com/item?id=32796355
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
> If we are going to start using address space that might not work for all users, it would be wise to pick the address space that we already have a considerable head start on getting accepted: IPv6.
IPV6 is one of those things where if isp,'s just switched over to it, I'd have so less nightmares caused by cgnat and that bullshit like how expensive static IP's are.
Many its because I'm not working at a ISP or a teir 1 backbone but forcing the transition to ipv6 seems like overall it would be less of a clusterfuck than our current ipv4 stuff. I know their is stuff going to break, anytime changes are made at this scale it often has some hickups....but dear god I really hate how static IP's are so expensive, and how expensive a small IP block is. Also IPV6 is just an excuse to get fiber everywhere.....I hate how slow many services are.
Likewise, some Linux mirrors don't support it. If I decide to try an IPv6-only server, and the first thing I see after "apt update" is network errors, I'm not very motivated to use IPv6 in the future.
Then add some problems where having IPv6 enabled randomly breaks things for one reason or another. I can either debug it forever, or turn the "internet is broken" switch (labeled "Enable IPv6") to "off" and get on with my day. That means more people that support IPv4 but not IPv6 (to be fair, this one seems to have gotten a lot better).
But ultimately, until some major, hard-to-avoid site says "we'll only be on IPv6", there is little reason for most to use it, and many reasons not to. That's why the transition takes forever.
Amazon has hopefully started a change in this mentality by charging money for every IPv4 address used. This creates a real financial incentive to deploy IPv6-only servers, which in turn means that critical services like Github and Linux mirrors are slowly forced to provide IPv6.
CGNAT at scale functions by assigning a range of ports on a shared v4 address to a downstream customer. You can normally get between a 1:8 and 1:32 "compression ratio."
We still need to free up additional IPv4 to keep the internet growing. Don't let the "just switch to v6" crowd fool you, both solutions need to addressed in parallel.
IPv6 didn't only impact networking devices, it affected end-user applications that interact with the network in many ways, and this is a big part of the slow adoption.
Also adopting IPv6 these days would require to maintain still IPv4, this means that for example firewall rules must be made both for IPv4 and IPv6, something that adds a lot of work to IT technicians (and they thus disable the protocol that if you disable the internet still works, that is IPv6). Extending IPv4 would mean that the same firewall rules can apply, just considering again the upper 32 bits of the address.
Finally IPv6 is in general more complex, it has some obscure things like SLAAC or the fact that an interface can have multiple IPs, that not all IPs are routable, etc, even simply the notation for IPv6 addresses that is not even consistent among software (in some software you have to put it between [] to disambiguate with port numbers, in some other not), DHCPv6 implementations that are still these days quite broken, etc. Compared to IPv4 is quite a complication...
I'm the opinion that we are slow to adopt IPv6 since it's too different from IPv4, and requires maintaining a network with two protocols, since everyone completes the migrations, this is unlikely to succeed in the next years (for example in my country, Italy, most ISP, even the most important one, don't even bother to provide you an IPv6 address! I think that because it does increment the problems and thus the requests to handle in the customer service, thus they decided that you just get IPv4 that works reliably).
For our users, it doesn't matter if it's IPv4 or IPv6 - they can reach it, and it can reach them.
[1] https://blog.ipv6.rs/ipv4-activated-via-nat64/
Step 1 would've been to leave all the routing, DNS, NAT, DHCP etc as-is and just get people's devices speaking ipv6. And we would've already been there years ago. Once that's done, DNS and DHCP can be updated, then people can start using the extended address space by splitting up their blocks. So if you previously had 1.2.3.4, you now also have 1.2.3.4.1 etc.
It's actually not too late to do this with the existing v6 header.
So your IPv6 address would be 1.2.3.4.5.6.7.8. The header would have 5.6.7.8 as the IPv4 destination. When it got there, that router would unpack the rest of it and send it off to 1.2.3.4.5.6.7.8. If that host had to talk to an IPv4 host, it would just use the IPv4 headers.
Then IPv6 traffic could pass over IPv4 networks without any changes. The only constraint would be that each IPv6 network would have to have an IPv4 "gateway" address.
Old IPv4 hosts wouldn't be able to talk to IPv6 endpoints, but at least this way the user could upgrade their own stack without having to wait for their ISP, and every network in between, to also upgrade.
It's pretty much carrier grade NAT but from client to client without ISP support being necessary, which is the biggest bottleneck right now.
Source: was there.
IPv6 took longer because the internet is now run by companies that need to see a return on investment, and as long as IPv4 was working fine for their customers, didn't see a benefit to it. It's why IPv6 adoption only started taking off when the answer to "Our projected customer growth this year is 200,000, can we have 200,000 more IPv4 addresses please?" became "No".
This was around 1996, which is when the vertical growth phase took off. Too late.
1.x.x.x.x will be for legacy stuff. If anything is trying to route to only 4 octlets, routers add a 1. in front of it. Bam, legacy solved.
edit: I realised people don't see the big picture here.
Step 1) We collectively engineer and deploy ipv8, along with RFCs explaining how future expansion works
2) We put all sorts of preparatory work, conversation into the eventual expansion into 6 octlets, from 5. We'll need that once we colonize multiple systems.
3) The RFC will state that "new planetary systems get space on 5th oclet, 1.200.x.x.x.x to 1.250.x.x.x.x.
4) As systems grow to need more than an ipv4 range, we transition them to their own 6th oclet. It's easy for them, because they can retain legacy 5th octlet headers.
5) We then collectively freeze our brains, so that in the future, once interplanetary, faster than light communication exists, we are thawed to deal with the 5 to 6 oclet transition!
And we all become immortal.
But no, that's fine, think small, stay non-immortal with your ipv6 Flanders!
In the other hand, IPv6 is already used by nearly half of internet, and probably most installed infrastructure supports it. And it have a lot of advantages over IPv4, starting with not having to use NAT.
... :-( ... goes to cry in a corner
Anyone who has ever done net stuff for a living knows that you type or copy paste addresses constantly. Whenever I say this to V6 evangelists they say “we’ll use DNS” which is “tell me you’ve never been a net admin without telling me.”
I’d love for V6 to get traction but I think something needs to be done about the usability issues before it will happen.
Even little details like the fact that in no terminal does double clicking on a V6 address properly select it is a huge problem. Yeah you might be able to change that but that custom config won’t be there on the next machine, etc.
Even seemingly simple usability problems are death to adoption.
It’s not hard to remember IPv6 addresses for DNS servers assuming your addressing plan reserved the right subnets for anycasted services.
Remembering IP addresses stops being a thing pretty quickly. If anything the challenge shifts to remembering airport codes.
If you are typing them by hand that often even in IPv4 networks I'd be worried about typos and insufficient automation.
I think it’s more that small and medium organizations just don’t have any incentive to change (and plenty of incentive to not take the risk of change) leading to the numbers we see at https://ipv6-in-real.life/
Automation is all very well once the network link is up and working so you can reach the automation
But the reality is you put someone who knows what they're doing in front of a machine where the network connection isn't working, the first things they're going to be doing is ifconfig and ping 8.8.8.8 - which they'll be doing from memory, because you can't google anything when your network connection isn't working.
The fact that IPv6 will deprecate both ifconfig and 8.8.8.8 to me seems emblematic of why the adoption has been going so badly.
I suppose the multi-AZ stuff makes things more complicated, but my $5 VPS host had IPv6 like what, ten years ago?
This does have one small benefit: since none of the large cloud providers seem to do competent IPv6, you can avoid scanners, scrapers, and other log polluters on personal services by just hosting them on IPv6.
Because they have all the IPv4 address they need and so do not see a shortage, unlike those that are not mega-corps and are struggling:
> I work for a Native American tribe in the PNW. We scrambled to get the reservation reliable internet in the later part of 2019. We managed to cover most of the reservation with wi-max and wifi with a fiber back haul configuration. We are now slowly getting more stable and reliable fiber to the home(FttH) service installed to as many homes as we can, but it is slow process covering the mostly rural landscape doing all the work in house.
[…]
> We learned a very expensive lesson. 71% of the IPv4 traffic we were supporting was from ROKU devices. 9% coming from DishNetwork & DirectTV satellite tuners, 11% from HomeSecurity cameras and systems, and remaining 9% we replaced extremely outdated Point of Sale(POS) equipment. So we cut ROKU some slack three years ago by spending a little over $300k just to support their devices.
* https://community.roku.com/t5/Features-settings-updates/It-s...
* https://news.ycombinator.com/item?id=35047624
Anyone who (a) got in early on the IPv4 address land grab, or (b) has buckets of cash, can 'safely' ignore IPv6.
There's probably a few other ISPs that need a good kick to the groin in the US, but the general feeling I get here is that the real stragglers in v6 deployment are other countries. Indeed, looking at Google's IPv6 map[0] it's all countries in Africa and the Middle East that have the worst v6 adoption. It's places where there isn't enough demand for addressing to make CGNAT unviable and IPv6 necessary.
[0] https://www.google.com/intl/en/ipv6/statistics.html#tab=per-...
Adoption rate is currently increasing roughly linearly at a rate of about 5 percentage points every 12-18 months. Also note that there is a clear weekday/weekend pattern, with weekdays about 3-4 percentage points lower than weekends.
Very little progress has actually been made to move the bulk of stuff using v4 addresses over to v6. AWS v6 only instances have only been around for 20 months or so?
I'd like to see rules that force ipv6 support, and then to prevent idiot network admins from disabling ipv6 locally because they're too lazy to learn how it works, make some websites v6 only. Start with essential government websites and move on to laws forcing more and more private websites to be v6 only to force people to maintain its functionality in their networks.
The market has been given its chance to move for DECADES and we're not NEARLY at the approximately 100% deployment that we need. It's time that we fix this mess.
A true chicken and egg problem.
At this rate, we’ll be struggling with IP-shortages, CGNAT and other fun things for decades to come. And it’s all so unnecessary.
This makes no sense, http is flawed because its unencrypted and allows MITMing information.
IPv4 is flawed merely because it doesn't have enough addresses.
How are these two comparable? Your proposed "solution" is overkill and is completely ridiculous.
A more cogent argument is that IPv4 and IPv6 have not fully coexisted like http/https, where you can pull the ipv4 rug out and every packet has an ipv6 path like http to https did.
Also more profoundly, https conversion had the benefit of every operator being able to transition on their own time frame. And people can still opt to use http if they so choose. IP not having that luxury is a profound problem.
10.0.0.0/8 might seem like a lot of addresses, but certain large companies have enough fans and chillers and miscellaneous things that can fill that space, and it takes a lot of effort to reorganize their network to better allocate those addresses.
Do these large companies really have 16,777,216 fans and chillers? That would be enough for each of Wal-Mart's 10,586 stores to have 1500 IPs each.
Or do they just have legacy allocation mistakes?
Some of those might be regular servers or networking gear that are required to have IPv4 addresses for one reason or another. For example, they might need to interact with fans and chillers.
> legacy allocation mistakes
Requiring the same globally unique prefix for devices that share locations or functions would eat up allocations faster than the number devices would grow. But there are definitely good reasons for allocating addresses that way, just as there are probably good reasons why the number of ports on a switch isn't always a power of 2.
Other times they might not have been able to allocate it more compactly - are you really going to go make routes for a /25 and a /26 and a /27 when you need 200 IPs, just to save a single /27 over giving it the whole /24?
There can also be reasons to structure it more sparsely than required for UX, namely to give a more hierarchical structure - maybe by region and store, or similar.
tl;dr it's not necessarily a mistake that your allocations mean you use more space than strictly necessary
If your #1 goal is to keep your 133t bragging rights, then there are no such things as unnecessary nor excessive complexities.
> While there are somewhat ongoing efforts to see 0.0.0.0/8, 127.0.0.0/8 become routable unicast space
I am curious about this statement. How can 127/8 ever become internet routable? It is after all used for the local host. Or am I misunderstanding something here?
I think that it's the most problematic proposal from all these – unlike 240/4 etc every ip stack on earth has hardcoded knowledge about 127/8 for sure and it will took at least decades to deprecate all these. And I also have seen addresses other than 127.0.0.x used in wild. As far as I understood, some orchestration systems use generated 127.x.x.x addresses to avoid conflicts between applications. Linux makes it very easy – you just bind an application to 127.45.2.189 for example and it just works. There is no need to add it to the interface or something.
Sometimes you see 127.0.1.X/24. I've even seen 127.1.X.X around, but I've never seen 127.254.X.X around. I'm sure someone somewhere did it just for grins and giggles or something though.
Agreed that it would be impractical to actually use these. Maybe for linknets?
inet 127.0.0.1 netmask 0xff000000
As does Linux (Fedora): inet 127.0.0.1 netmask 255.0.0.0[1] I needed a lot of localhost connections to run a TLS terminator separate from the underlying service which didn't support unix sockets. Using the 127.0.X.0 bits in addressing was very helpful for diversity in the hash used for kernel socket tables, otherwise most slots had few sockets and some slots had way too many and perf was bad. Configuring multiple loopback interfaces using more address space was a lot more tractable than changing the kernel hashing behavior, adding unix socket support to the underlying service, or adding good TLS to the underlying service. Although probably since then all three things have happened.
For your TLS thing, is it whatever application you were using expected to use a whole swath of TCP ports at whatever IP address, so expected separate IPs?
Feels like dedicating some range of addresses to "private use" would have been useful, then if you needed a bunch of local loopbacks, could configure it so, or if your local network wants some magic, tada.
It isn't all in use on most machines. Many hosts only use 127.0.0.1/32 and do not use the rest of the space; changing the default netmask on the loopback interface from /8 to something like /24 would be one step of the transition.
Like 240/8 it's probably not worth the effort.
Classful allocation had /8s, /16s, and /24s depending on the numeric prefix (0-127 were /8, 128-191 were /16, and 192-223 were /24).
https://en.wikipedia.org/wiki/Classful_network#Classful_addr...
Even your phone or tablet on the campus wifi got a unique public IP...
Of course there were firewalls in place and all the incoming ports were blocked, but doesn't that seem like a big waste of IPs?
The university owns 155.92.0.0/16 and every machine on the network gets a 155.92.x.x IP address.
https://ipinfo.io/AS11500/155.92.0.0/16
Is this normal? Or shouldn't the IPs all be NAT'd behind a few public IPs?
Remember, NAT breaks IPv4. A NAT-ed network is not fully compliant IPv4 network.
Seems like a waste to me to have it where every device on the campus network gets a public IP, like every students phone, laptop, tablet, desktop, game console, etc.
That said at this point I kind of half-seriously prefer keeping the IPv4 space as exhausted as possible if it’ll even slightly drive adoption of IPv6.
Or voting. Should really everybody get a vote? Most people don’t really need to vote. This is evidenced by the huge numbers of people who don’t vote. And most people who do vote do it badly, anyway.
/s
IPv6 has none of these problems by design: use it.
No in fact, it is so much worse! I do agree we should use IPv6, The ending of the blog post says as such :)
> If we are going to start using address space that might not work for all users, it would be wise to pick the address space that we already have a considerable head start on getting accepted: IPv6.
Somehow it is getting more and more common. I stayed at a hotel last year that used 1.0.0.0/24 on its LAN (yes, '1' not '10', I couldn't believe it at first).
subpar replacements w/o real alternatives
Let's just put ipv4 on life support, reclaiming 240.0.0.0/4 is a bad idea.