News for hackers. Stuff that matters.
Re:IPv6-only subnets and EC2 instances by crummy on Wednesday November 24, 2021 @01:37AM (#29327465)
I wonder if Amazon could make a significant impact on ipv6 uptake if they offered a very generous ipv6 only tier.
Re:IPv6-only subnets and EC2 instances by jeroenhd on Wednesday November 24, 2021 @01:47AM (#29327513)
If Amazon will make an impact, I think it'll be because IPv6 addresses follow the standard rates and IPv4 addresses will get more expensive.

Cannibalising reserved address space like 127.0.0.0/8 will only get the IPv4 internet so far. Eventually, the scarcity of IP addresses will make IPv6 the more business-conscious choice for many applications (like API endpoints and other services that you call from your own infrastructure where you can ensure IPv6 availability). Maybe the free tier will eventually stop coming with an IPv4 address, that might also push them over the edge.

Re:IPv6-only subnets and EC2 instances by ayushnix on Wednesday November 24, 2021 @02:44AM (#29327761)
> Cannibalising reserved address space like 127.0.0.0/8 will only get the IPv4 internet so far. Eventually, the scarcity of IP addresses will make IPv6 the more business-conscious choice for many applications

The decision to consume loopback address space has made me even more cynical about IPv6 ever becoming mainstream within my lifetime. Using IPv4 is like using fossil fuels — we know that they are going to run out/cause us harm and yet we keep using them. I don't know of a single ISP in my country which offers functional IPv6. All they do is offer CGNAT IPv4 addresses, which offers a crippled experience of the Internet.

Re:IPv6-only subnets and EC2 instances by franga2000 on Wednesday November 24, 2021 @03:09AM (#29327871)
This will be controversial, but: I think the EU should set a deadline for IPv6 adoption to ISPs and impose fines afterwards. They seem to be legislating all kinds of crazy things (like type C connectors), so it's quite within the realm of possibility, and unlike some other things, there really isn't a way they can screw this up.

Rationale: It's in the custoners' best interest to have unique publically routable addresses and without IPv6 we'll be stuck with CGNAT. The providers don't care, because rollout is expensive. So, for the good of the customer, legislation with fines is needed to better align the financial incentives.

Re:IPv6-only subnets and EC2 instances by api on Wednesday November 24, 2021 @09:43AM (#29330410)
Standards adoption is definitely an area where government incentives work.
Re:IPv6-only subnets and EC2 instances by notriddle on Wednesday November 24, 2021 @10:33AM (#29330954)
Standards adoption shouldn't even be controversial, really. Fixing weights and measures has been government policy since time immemorial, as have street addresses, snail mail, and telephone. The idea that the internet should not involve the state is, honestly, pretty weird when you try comparing it to other stuff.
Re:IPv6-only subnets and EC2 instances by dotancohen on Wednesday November 24, 2021 @12:46PM (#29332758)

  > The idea that the internet should not involve the state is, honestly, pretty weird when you try comparing it to other stuff.
The "inter" in internet implies that there is no single entity that administers it. It is a network of networks, based on cooperation.

Although I agree in principal that enforcing standards has been (and arguably should be) in the domain of government functions, I feel the principal of keeping the "inter" in "internet" is more important. I'd love to see an incentivized conversion to IPv6, but there are many other incentivized conversions that I would wholly oppose. Thus I would prefer not to see government intervention in internet protocols.

Re:IPv6-only subnets and EC2 instances by notriddle on Wednesday November 24, 2021 @06:37PM (#29336530)
The metric system is also international. Doesn't stop governments from mandating its use, or defining their own standards in terms of metric.
Re:IPv6-only subnets and EC2 instances by dotancohen on Thursday November 25, 2021 @07:45AM (#29340875)
Good point, thank you.
Re:IPv6-only subnets and EC2 instances by roenxi on Wednesday November 24, 2021 @03:18AM (#29327920)
If it is good for a customer then the provider will care. The customer will switch ISPs to those that support IPv6. Then the IPv4-only providers will get less money.
Re:IPv6-only subnets and EC2 instances by franga2000 on Wednesday November 24, 2021 @03:30AM (#29327979)
Sure, if you ask an economist. But here in the real world, switching ISPs is hard (fees, lack of competition, replacing gear...) and the benefit of IPv6 isn't apparent yet to most people. By the time it becomes, it'll be too late and nobody will have it yet, so there won't be anywhere to switch anyways.

There's a reason we have consumer protection regulation and much of it came as a result of situations where evryone thought, as you do, that the market/competition would solve the problem, but of course it didn't. That only happens in ideal markets where switching providers is trivial, the consumer is equally informed about all of them and the providers (and perhaps customers too) have equal economic power.

Re:IPv6-only subnets and EC2 instances by roenxi on Wednesday November 24, 2021 @03:55AM (#29328133)
> But here in the real world...

Your starting point was that any ISP who doesn't implement your preferred technical standard should be fined. With a disregard for whether IPv6 makes sense for them or their customers. You might detect a little pushback here on the idea that your ideas are real world. Laissez faire is a very practical approach.

> By the time it becomes, it'll be too late and nobody will have it yet, so there won't be anywhere to switch anyways.

A crisis so terrible I can't even imagine it. Nobody outside some fairly obscure tech circles would even notice.

Imagine if they'd taken this approach rolling out IPv4 and weren't fast enough to change the legislation. The rollout of IPv6 would look really hard if IPv4 was a legislated requirement. The EU just isn't a competent technical standards body, and it has no business trying to be one because a couple of tech types like IPv6.

> That only happens in ideal markets where switching providers is trivial...

I switched providers to get IPv6 support. It was pretty trivial.

Re:IPv6-only subnets and EC2 instances by franga2000 on Wednesday November 24, 2021 @04:11AM (#29328220)
> Your starting point was that any ISP who doesn't implement your preferred technical standard should be fined.

"my preferred standard" == the only alternative to the current collapsing standard that has been agreed upon by industry leaders for some 20 years now.

> With a disregard for whether IPv6 makes sense for them or their customers.

IPv6 can't "not make sense", it can only "not be necessary yet".

> A crisis so terrible I can't even imagine it. Nobody outside some fairly obscure tech circles would even notice.

What, service costs going through the roof because the ISP now has to buy IPv4 addresses? Getting IP blocked from sites because the address you share with half the town got reported for spam? Not being able to access IPv6-only sites from smaller providers who can't afford to lease IPv4 addresses? And only then the ISPs start investing in it, which will take a few years to finish, all the while your service is shit? Pretty obscure, yeah.

> I switched providers to get IPv6 support. It was pretty trivial.

I've been trying to for several years and have not been able to for a multitude of reasons.

Re:IPv6-only subnets and EC2 instances by yyyk on Wednesday November 24, 2021 @06:46AM (#29329029)
>What, service costs going through the roof because the ISP now has to buy IPv4 addresses?

If it was profitable, the ISP would do it and pocket the now unnecessary service costs.

>Getting IP blocked from sites because the address you share with half the town got reported for spam?

99.9% people don't want to run their own SMTP server. It's an ultra-niche use case ISP don't care about.

>Not being able to access IPv6-only sites from smaller providers who can't afford to lease IPv4 addresses?

There aren't any.

Look, it's just an internet addressing protocol, not something that justifies legislation.

Re:IPv6-only subnets and EC2 instances by Dagger2 on Wednesday November 24, 2021 @08:02AM (#29329567)
> If it was profitable, the ISP would do it and pocket the now unnecessary service costs.

This is another "if you ask an economist" situation. In the real world, people will happily spend more effort justifying not doing v6 and working around problems caused by being v4-only than would be needed to just do v6.

> 99.9% people don't want to run their own SMTP server. It's an ultra-niche use case ISP don't care about.

This misses the point. It only takes one person behind CGNAT to get the CGNAT source IPs on a spam list, at which point it affects everyone. Plus spam exists on the web too, it's not an SMTP-only thing.

> There aren't any.

Which is exactly why it's so important to be deploying v6: so there can be v6-only sites. Or rather, more than there are at the moment, because they do exist.

> Look, it's just an internet addressing protocol, not something that justifies legislation.

I've seen an argument that it's already covered by existing legislation: the refusal of large/old providers to support v6, which forces the use of v4 which small/new providers can't get enough of, is beginning to look rather a lot like an abuse of market position. That would make it an anti-trust issue, which definitely falls within the remit of government.

Re:IPv6-only subnets and EC2 instances by yyyk on Wednesday November 24, 2021 @09:05AM (#29330040)
>This is another "if you ask an economist" situation. In the real world, people will happily spend more effort justifying not doing v6 and working around problems caused by being v4-only than would be needed to just do v6.

Yea, I don't like silly economism too, and I know half the jokes too. However, right now IPv4 addresses aren't so expensive. Sure, way more expensive than the 0 bucks they should cost, but not that expensive in the grand scheme of things.

Here's a very rough calculation: The cost of IPv4 will start to bite when getting the needed addresses costs more than a single engineer salary where one lives. If a one time address buy costs less, it's not something business would care much for, and anti-trust won't touch it.

I'm not smart enough to be able to forecast pricing, right now it's not there yet. Eventually the price will force every public network to IPv6, while many private networks will remain IPv4 forever.

Re:IPv6-only subnets and EC2 instances by notriddle on Wednesday November 24, 2021 @10:29AM (#29330900)
> 99.9% people don't want to run their own SMTP server. It's an ultra-niche use case ISP don't care about.

It's not SMTP. It's StopForumSpam and CloudFlare that you need to worry about.

Re:IPv6-only subnets and EC2 instances by kaliszad on Wednesday November 24, 2021 @08:35AM (#29329822)
There are some services and sites that run IPv6-only. Some are for testing, sure, like this one: https://www.nebezi.cz/ some are because they are cheaper to run/ easier to setup e.g. some FreeBSD mirrors.
Re:IPv6-only subnets and EC2 instances by carlhjerpe on Wednesday November 24, 2021 @08:04AM (#29329581)
> 99.9% people don't want to run their own SMTP server. It's an ultra-niche use case ISP don't care about. 99.9% of services you can get banned from aren't SMTP. There are many other services which you can be IP banned from.

> Look, it's just an internet addressing protocol, not something that justifies legislation. "Just an internet addressing protocol" kinda puts the entire internet to shame doesn't it? It's important that people can communicate on the internet, with IPv4 we decrease reliability and increase cost (in the long run) for everyone except those who sucked up as many addresses as possible early on.

But if we are to follow your reasoning:

A common charging port is just a port, doesn't require legislation

A standard protocol for troubleshooting your car is just a protocol, doesn't require legislation

* which brings benefits to billions of people but you don't agree with, doesn't require legislation

That one thing you agree with that probably isn't important for a lot of people, requires legislation.

Let's raise the standard and discuss why IPv6 is necessary or not and what implications it has for consumers.

IPv6 decreases privacy because you're not sharing an IP with half of town, which is bad. Even if you're randomizing v6 on the local subnet you're still in the same /64 so it's still relatively easy to track you.

P2P protocols actually work properly with IPv6 since machines can commmunicate directly with each other.

IPv6 is more complex to understand the addressing scheme in.

IPv6 isn't IPv4, so there's a learning curve.

IPv6 encourages decentralization.

IPv4 enourages centralization, because you can't get addresses anymore you can't start up new ISP's and we could call that anti-competetive. It also encourages proprietary solutions like cloudflared, or just hosting your stuff on AWS rather than in a colocated datacenter, because you can't get access to IP addresses.

We can't stack unlimited people on top of IPv4 either, there are only so many port numbers available. And NAT is just such a major PITA to work with.

Re:IPv6-only subnets and EC2 instances by mschuster91 on Wednesday November 24, 2021 @08:35AM (#29329814)
> It also encourages proprietary solutions like cloudflared, or just hosting your stuff on AWS rather than in a colocated datacenter, because you can't get access to IP addresses.

Obtaining an IPv4 address is not an issue I ever had with hosting. People are using Cloudflare, Akamai or ELB because they are sick of script-kiddies buying a DDoS for 10$ an hour and extorting businesses for 1000$ and/or because they have customers from other continents complaining about load times.

Re:IPv6-only subnets and EC2 instances by carlhjerpe on Wednesday November 24, 2021 @08:41AM (#29329860)
And where are you hosting those services? A "megacorp" or a really old provider which sucked up enough v4 when it was easy?

What if I have a great software stack in the pipe ready to be colocation deployed somewhere and I want to run my own network with multiple transit providers to be sure I don't go down with either of them.

When that possibility is dead, as mentioned in other parts of the thread we're getting awfully close to an anticompetetive market.

Why should existing on the internet be a privilege for the richest of the rich? (Those who can afford to buy IP's/ISP's to fulfill their needs).

But yes, Cloudflare is a great way to protect your site from skiddie "booting". with ELB I'm not sure about pricing, might just prefer it to die for the "booter" duration if it's a personal site, if business.. Well there's hopefully $$$ to foot the AWS bill.

Re:IPv6-only subnets and EC2 instances by selfhoster11 on Wednesday November 24, 2021 @02:07PM (#29333826)
Good luck switching providers to get IPv6 support. Unless you have true gigabit fiber, the only providers that don't have shit speeds without exorbitant expense (aka - Virgin Media) refuse to support IPv6.
Re:IPv6-only subnets and EC2 instances by nobody9999 on Wednesday November 24, 2021 @07:23AM (#29329274)
>I switched providers to get IPv6 support. It was pretty trivial.

Your use case is not everyone's.

I was forced to change ISPs recently and didn't have a choice as to which one (which is another, unrelated, issue).

I did some research and the ISP in question does provide IPv6 support for some customers. However, the sales drones I spoke with claimed to not even know what IPv6 was, let alone whether or not it was available in my area.

I'd say that has more to do with the exorbitant fees they charge for static IPv4 addresses than anything else.

As such, it's not always "pretty trivial" to get IPv6 on your ISP link. I sure wish it was.

Edit: Clarified my prose.

Re:IPv6-only subnets and EC2 instances by magicalhippo on Wednesday November 24, 2021 @06:12AM (#29328850)
> The customer will switch ISPs to those that support IPv6.

That assumes it's possible to switch ISPs. Where I live, within the city bounds of the capital of my country, there's only two ISPs that can deliver broadband service and neither do IPv6 properly.

Re:IPv6-only subnets and EC2 instances by dtech on Wednesday November 24, 2021 @03:36AM (#29328027)
Only for spherical customers in a vacuum. IPv6 is one of those things you can't expect the average customer to care about, even though it's ultimately important for them.
Re:IPv6-only subnets and EC2 instances by ivalm on Wednesday November 24, 2021 @04:08AM (#29328207)
At least in the US, residential ISPs are not a real market, many places just have one option.
Re:IPv6-only subnets and EC2 instances by kortilla on Wednesday November 24, 2021 @04:08AM (#29328206)
> It's in the custoners' best interest to have unique publically routable addresses and without IPv6 we'll be stuck with CGNAT.

This is absolutely not a given. IoT has drastically changed the equation on how good it is to have devices exposed to unsolicited ingress connections from the internet by default.

This is speaking from experience of enabling ipv6 at an ISP. We were rewarded with: - happy geeks

- anemic ipv6 usage

- a bunch of abuse reports and customer support hours wasted on people with poorly configured IoT (or just old computers with no recent patches).

Re:IPv6-only subnets and EC2 instances by ayushnix on Wednesday November 24, 2021 @05:12AM (#29328527)
We can either bury our heads in the sand, have a false sense of security behind CGNAT connections and keeping devices running without a firewall, commercialize IPv4 as much as possible to point of consuming loopback address spaces and make everything worse than it already is.

Or, we can move to IPv6. Yes, it might be painful for some people when they get their IoT devices hacked but at least it should spur change and make people realize that they can't just buy a toaster and connect it to the Internet.

Re:IPv6-only subnets and EC2 instances by dcow on Wednesday November 24, 2021 @09:05AM (#29330041)
Any decent router with IPv6 support sets up stateful v6 firewall rules blocking incoming connections and only allowing outgoing from your v6 subnet. Same as always like you say and most consumers won’t even notice a difference other than increased throughout.
Re:IPv6-only subnets and EC2 instances by znpy on Wednesday November 24, 2021 @04:30AM (#29328314)
There's a function in my ISP-provided internet router/gateway that allows me to disallow incoming connection on ipv6 address.

I guess you should implement this too?

If my understanding is correct, it's equivalent to using -m state --state ESTABLISHED,RELATED -j ACCEPT in linux/iptables where -P DROP is the default input policy.

Basically you allow ipv6 tcp traffic only for tcp connections initiated from within.

Re:IPv6-only subnets and EC2 instances by detaro on Wednesday November 24, 2021 @04:09AM (#29328212)
There is a key difference between having IPv6 (good) and not having a firewall as default (bad). I guess if you have many customers that don't use provided-by-you CPE that can be an issue.
Re:IPv6-only subnets and EC2 instances by dcow on Wednesday November 24, 2021 @09:03AM (#29330022)
NAT is not a security feature, not now, not ever. It stumbled into looking like one by accident and that is holding the industry back because people think it’s good for the internet can’t imagine life without one. Honestly it shouldn't even be part of the firewall—it’s just too easy to abuse there. NAT is really bad and we should want nothing to do with it in an IPv6 world. Stateful firewall rules work 100% fine in IPv6. There’s a lot of misunderstanding out there…
Re:IPv6-only subnets and EC2 instances by throw0101a on Wednesday November 24, 2021 @08:55AM (#29329955)
> This is absolutely not a given. IoT has drastically changed the equation on how good it is to have devices exposed to unsolicited ingress connections from the internet by default.

That's why firewalls exist. And they work with IPv6.

My ISP gives out an IPv6 address to my Asus, which also picks up some prefixes for allocation via DHCP-PD. This causes my printer pick up an IPv6 address, but it is not accessible to the outside world.

Statefull firewalls still exist with IPv6, so by default connections from the general Internal cannot connect to your 'internal' systems. Hole punching still needs to be done with UPNP/PCP:

* http://upnp.org/specs/arch/UPnP-arch-AnnexAIPv6-v1.pdf

* https://en.wikipedia.org/wiki/Port_Control_Protocol

The advantage of IPv6 is that you no longer have to have things like STUN, TURN, etc. (Remember Skype super-nodes?) Your client knows its own IP(v6) address, gets the IP address of the other end, and then tells your firewall to allow connections between just those two addresses. Once your session is done the ACL is deleted and you're completely default-blocked from the outside again.

Copy-pasting from a previous discussion a little while ago:

---

An IP connection is started from the 'inside' to the 'outside', and the source-destination tuple is recorded. When an 'outside' packet arrives the firewall checks its parameters to see if it corresponds with an existing connection, and if it does it passes it through. If the parameters do not correspond with anything in the firewall's table(s) it assumes that someone is trying to create a new connection, which is generally not allowed by default, and therefore drops it.

The main difference is that with IPv4 and NAT the original (RFC 1918?) source address and port are changed to something corresponding to the 'outside' interface of the firewall. With IPv6 the address/port rewriting is not done.† Only state tables are updated and checked.

New connections are not allowed past the firewall towards the inside with either protocol, and only replies to connections opened from the inside are passed through.‡

There's no magical security behind NAT: tuples and packet flags are read, looked up in a state table, allowed or not depending on either firewall rule or state presence. The security comes from the state checking.

† It is possible to have private IPv6 addresses using ULA, and then the router/firewall uses NPTv6 to rewrite the prefix (leaving the /64 interface component alone).

‡ Just like with IPv4 (NAT), to allow unsolicited 'new' connections in you have to do do firewall hole punching with (e.g.) UPNP. But by default things are blocked.

---

Re:IPv6-only subnets and EC2 instances by 1ris on Wednesday November 24, 2021 @03:26AM (#29327963)
I don't know what you mean by "mainstream", but what I understand by it ipv6 is mainstream since quite a while. It has an adoption rate of around 50% in the western world and signifiant places outside of it (SA,India, Thailand, Vietnam, Japan, Brazil)
Re:IPv6-only subnets and EC2 instances by ayushnix on Wednesday November 24, 2021 @05:15AM (#29328544)
I don't know of a single ISP in India which offers functional IPv6 in broadband connections. I won't consider 4G because it's almost useless (at least in India) for doing anything serious.
Re:IPv6-only subnets and EC2 instances by unmole on Wednesday November 24, 2021 @06:33AM (#29328959)
Jio Fibre does. ACT used to in some places but it's inconsistent.
Re:IPv6-only subnets and EC2 instances by ayushnix on Wednesday November 24, 2021 @07:21AM (#29329259)
Last I checked, IPv6 on JioFibre was broken and I couldn't get a publicly discoverable IPv6 address. Have things changed?
Re:IPv6-only subnets and EC2 instances by maccolgan on Wednesday November 24, 2021 @10:23AM (#29330825)
Yes, JioFibre now (?) offers fully functional IPv6 all across the board, even in the most rural of places.
Re:IPv6-only subnets and EC2 instances by maccolgan on Wednesday November 24, 2021 @10:23AM (#29330828)
Airtel certainly does in some places.
Re:IPv6-only subnets and EC2 instances by ayushnix on Thursday November 25, 2021 @03:27AM (#29339374)
I checked my Airtel Fibre connection, IPv6 is explicitly disabled by Airtel and there's no option to enable it.
Re:IPv6-only subnets and EC2 instances by lanna on Wednesday November 24, 2021 @03:52PM (#29335003)
> in the western world and signifiant places outside of it (SA,India, Thailand, Vietnam, Japan, Brazil)

Brazil is western

Re:IPv6-only subnets and EC2 instances by koolba on Wednesday November 24, 2021 @06:49AM (#29329055)
> The decision to consume loopback address space has made me even more cynical about IPv6 ever becoming mainstream within my lifetime.

Wait what? Are you saying that they’re going to allocate the loopback range as v4 addresses?

Re:IPv6-only subnets and EC2 instances by zozbot234 on Wednesday November 24, 2021 @07:49AM (#29329476)
The proposal is about shrinking the reserved loopback range from 127.0.0.0/8 to 127.0.0.0/16. Everything from 127.1 to 127.255 would then become ordinary IPv4 addresses.
Re:IPv6-only subnets and EC2 instances by icedchai on Wednesday November 24, 2021 @09:47AM (#29330444)
This is just a proposal. It will likely never happen. The proposal to open 240/4 (former class-E / reserved IPv4 space) is more feasible.
Re:IPv6-only subnets and EC2 instances by ericbarrett on Wednesday November 24, 2021 @11:14AM (#29331492)
Can't see this being useful. There are so many devices and so much software with 127.0.0.0/8 baked in that I suspect an address in the proposed range would be less routable (overall) than an IPv6-only endpoint, and remain so for years, even if it became official.
Re:IPv6-only subnets and EC2 instances by cesarb on Wednesday November 24, 2021 @07:01AM (#29329130)
> Are you saying that they’re going to allocate the loopback range as v4 addresses?

Yes, there's a proposal to do so, which was discussed here last week (https://news.ycombinator.com/item?id=29246420 and https://news.ycombinator.com/item?id=29245466).

Re:IPv6-only subnets and EC2 instances by umanwizard on Wednesday November 24, 2021 @09:52AM (#29330504)
IPv6 is already mainstream in many countries, including the United States.
Re:IPv6-only subnets and EC2 instances by vbezhenar on Wednesday November 24, 2021 @03:54AM (#29328125)
Amazon buys lots of IPv4 addresses. That's like land: they're not produced anymore. They have all the incentives to keep IPv4 alive to protect their investments.
Re:IPv6-only subnets and EC2 instances by theneworc on Wednesday November 24, 2021 @10:37AM (#29330989)
IPv4 isn't an "investment" for Amazon. They didn't buy them up with the hope that the price will increase and they'll make a profit. They buy more IPv4 addresses because they need those addresses to continue serving customers. They will likely never, ever sell those IPv4 addresses.

And what's more, they will need to continue to buy more IPv4 addresses as they grow and their customers needs for address space grow. Amazon actually has an incentive for IPv4 to become less expensive so that further purchases of addresses are less costly to their business. And the best two ways to do that are: 1) encourage adoption to IPv6 so that IPv4 becomes less expensive and 2) encourage adoption of IPv6 so that Amazon needs to buy less IPv4 addresses.

Re:IPv6-only subnets and EC2 instances by fomine3 on Wednesday November 24, 2021 @09:11PM (#29337541)
It's like real estates, they rent services build upon IPv4 addresses.
Re:IPv6-only subnets and EC2 instances by dodobirdlord on Wednesday November 24, 2021 @08:38AM (#29329830)
They don’t need to do any work to keep IPv4 alive, the rest of the world will happily do that for them. Amazon couldn’t kill IPv4 if they tried.
Re:IPv6-only subnets and EC2 instances by Navarr on Wednesday November 24, 2021 @08:58AM (#29329989)
I think for a long time the only thing that will push IPv6 uptake will be legislation.

ISPs don't want to implement it because their customers aren't pushing them to, because websites aren't typically IPv6-only, because that's a terrible business model.

So unless we force or incentivize ISPs to implement IPv6 access through law, it's going to be a long time before we hit the breaking point where something HAS to be done by ISPs

Re:IPv6-only subnets and EC2 instances by rsj_hn on Wednesday November 24, 2021 @09:06AM (#29330049)
So curious, what is wrong with just letting people switch over as they need to? What does it matter if the switch is sped up by a few years? Some are happy with their current ipv4 addresses, and then maybe if they need to buy new ones only ipv6 will be available at which point they can decide for themselves to switch over. As long as browsers and DNS services can work with both, it shouldn't matter, right?

Here I'm assuming that infra teams already have a lot to do and would experience some harm having the government give them more user stories. Maybe not tons of harm, but what is the other side of the equation that justifies the harm?

Re:IPv6-only subnets and EC2 instances by p1mrx on Wednesday November 24, 2021 @04:51PM (#29335594)
> So curious, what is wrong with just letting people switch over as they need to?

It's a principal-agent problem. There are lots of people who want IPv6, but can't get it because their local ISP doesn't care.

Re:IPv6-only subnets and EC2 instances by Navarr on Wednesday November 24, 2021 @09:14AM (#29330132)
Could incentivize instead of force; I don't think that's causing any harm - right?
Re:IPv6-only subnets and EC2 instances by rsj_hn on Wednesday November 24, 2021 @09:40AM (#29330374)
You mean, give them cash for switching? No, that certainly wont harm them, but, uh, there might be better uses for that cash.
Re:IPv6-only subnets and EC2 instances by ramshanker on Wednesday November 24, 2021 @09:11AM (#29330101)
India has mandated IPv6 for all existing or new internet connection by Dec 2022.
Re:IPv6-only subnets and EC2 instances by nanis on Wednesday November 24, 2021 @09:24AM (#29330224)
> I think for a long time the only thing that will push IPv6 uptake will be legislation.

Is it really such a great idea to force every single device on the internet to be globally uniquely identifiable?

Re:IPv6-only subnets and EC2 instances by kd913 on Wednesday November 24, 2021 @10:12AM (#29330709)
Yes it is.

We have run out of ipv4 addresses, CGNATs cause problems with self-hosting, ipv4 allocations are not fair and are driving up the cost of infrastructure/access. Particularly problematic in developing Countries.

Security is not an argument, ipv6 firewalls have existed for a long period now.

If we want to make the internet to scale then we need to encourage the use of ipv6.

Re:IPv6-only subnets and EC2 instances by acdha on Wednesday November 24, 2021 @10:24AM (#29330838)
Is that really what's happening? It gives each device an address which is unique at the time but those devices get new addresses periodically when the network configuration changes, they roam networks, etc. and there's no global registry linking addresses to people or even the same device.

From another angle, most people are walking around with a globally-unique identifier (IMEI) in their pocket with all kinds of sensors. Does using IPv6 materially change the situation for any attacker?

Re:IPv6-only subnets and EC2 instances by fomine3 on Wednesday November 24, 2021 @09:15PM (#29337564)
In IPv4, dynamically leasing different IP address by connecting is a mitigation of lack of address stock (at least dialup from PC era, I don't know how much effective in router era). In IPv6, ISPs don't need to do that so they can just lease dedicated IP block to customer. Then they don't need logging IP-to-customer-by-time for investigation.
Re:IPv6-only subnets and EC2 instances by xxpor on Wednesday November 24, 2021 @12:31PM (#29332577)
If you really care, almost everyone's IPv6 implementation includes prefix delegation. Jump around your prefix instead. A lot of countries already require ISPs that do CGNAT to keep a connection log so your individual connection can still be traced back to you
Re:IPv6-only subnets and EC2 instances by count on Wednesday November 24, 2021 @11:16AM (#29331527)
LOL. IPv6 usage has been mandated by legislation for years for the Federal Govt. in the US. And yet....mostly no adoption.
Re:IPv6-only subnets and EC2 instances by k8sToGo on Wednesday November 24, 2021 @02:30AM (#29327696)
Does it really matter for the adoption if at the end you are using an ELB with an IPv4 anyways?
Re:IPv6-only subnets and EC2 instances by X-Istence on Wednesday November 24, 2021 @02:52AM (#29327778)
Right now you have a choice in how you configure your network:

1. IPv4 private with NAT gateway and ELB dual stack providing IPv4/IPv6 for clients

2. IPv4 private with 1:1 ephemeral IP (avoids the NAT gateway tax, but now every VM gets a public IPv4 address) and ELB dual stack providing IPv4/IPv6 for clients

3. IPv6 globally unique with no IPv4 and ELB dual stack providing IPv4/IPv6 for clients

With option 1 you end up paying money for the NAT gateway for any outbound traffic instantiated from the instance (not return traffic through the ELB), this costs you 2 IPv4 addresses (1 for NAT gateway, one for the ELB, ignore AZ's and HA for now)

With option 2 you end up not paying for the NAT gateway, but get a free IPv4 address per VM, so N VM's + 1 ELB IPv4 address is N + 1 IPv4 addresses. (NAT Gateways are expensive, even if you have one sitting mostly idle, and don't forget cross AZ traffic if you have only one NAT gateway but instances in multiple AZ's, or you need to spin up multiple NAT gateways).

With option 3 you end up not paying for the NAT gateway, nor do you use a public IPv4 address. This might not work if your instance needs to reach IPv4 parts of the internet, but if its just API servers that communicate internally, they likely don't need to and can use IPv6 for the remaining traffic. Now you have just 1 IPv4 address on the ELB.

If AWS were able to incentivize its customers to deploy their systems in an IPv6 only configuration this would put pressure on the publishers of software to make sure their systems are IPv6 enabled so that their customers could download it, and it would reduce the amount of public IPv4 addresses that are required across AWS as a whole.

Running an IPv6 only core is entirely possible, and makes sense. No more worrying about overlapping IP space (having worked at two companies where they ran out of RFC1918 space and you had to deal with multiple hops to get into various networks, which is no fun), thus simplifying network management.

Re:IPv6-only subnets and EC2 instances by mschuster91 on Wednesday November 24, 2021 @03:07AM (#29327860)
> having worked at two companies where they ran out of RFC1918 space

I get running out of 192.168.0.0/16, that is easy enough if you have a lot of locations and one /24 per location. But how in earth does one run out of 10.0.0.0/8 IPs, outside of a company merger?!

Re:IPv6-only subnets and EC2 instances by dekhn on Wednesday November 24, 2021 @06:49AM (#29329049)
Often things are allocated and remain unused, but cannot be reallocated. So companies end up with large parts of 10/8 reserved. I recently had to start using some weird 100 addresses (some reserved router protocol) for this reason. It doesn't help that a lot of AWS stuff wants to consume an IPv4 for no good reason (IE, the machine gets an IPv4 but isn't reachable from the internet).
Re:IPv6-only subnets and EC2 instances by zrail on Wednesday November 24, 2021 @08:18AM (#29329684)
100.64.0.0/10 is reserved for CGNAT providers to assign to CPE. If you don't connect to a CGNAT then there's nothing stopping you from using it, however. Tailscale hands out addresses in 100.100 for that reason (deconflict with customer private networks)

https://en.m.wikipedia.org/wiki/IPv4_shared_address_space

Re:IPv6-only subnets and EC2 instances by X-Istence on Wednesday November 24, 2021 @02:00PM (#29333747)
Okay, so I may have left out a key detail that these "companies" were large ISP's and had massive networks of their own with hundreds of thousands of devices, let alone customer devices on that same network that needed to be managed.

When every set top box, cable modem, customer wifi gateway, and all of your routers/management interfaces need RFC1918 space it goes real quick, real fast.

It gets even worse when you are have to have a lab where you can setup infrastructure that looks/feels exactly like production and thus needs similar setups, now do that for testing/staging... and there's doubling of your required IP space already.

Re:IPv6-only subnets and EC2 instances by Dagger2 on Wednesday November 24, 2021 @07:39AM (#29329381)
10/8 isn't actually that much space. It's only 256 /16s. Either way, mergers are common and it only takes one VPN to another company also using 10/8 to have a problem.
Re:IPv6-only subnets and EC2 instances by nobody9999 on Wednesday November 24, 2021 @07:45AM (#29329431)
>10/8 isn't actually that much space. It's only 256 /16s. Either way, mergers are common and it only takes one VPN to another company also using 10/8 to have a problem.

I've had to address that with partners/service providers. It just requires a double NAT to make it work. Which is a pain, but necessity is the mother of invention after all.

Re:IPv6-only subnets and EC2 instances by Dagger2 on Wednesday November 24, 2021 @02:19PM (#29333979)
It's not just NAT, you may also need split DNS, and it's a constant drag on everything because you keep needing to map between two sets of addresses. And it gets way harder when you have multiple or large companies involved, because you do start running out of RFC1918 space.

It's particularly silly because none of that is necessary at all. v6 means that each side has unique prefixes and you don't need to do any of the above. Even if you need to connect to someone without v6, all you need to do is NAT each partner's RFC1918 space into 64:ff9b:1:N::/96, with a different N for each partner. Then they're all accessible in a single unified address space.

Re:IPv6-only subnets and EC2 instances by nobody9999 on Wednesday November 24, 2021 @03:28PM (#29334742)
>It's not just NAT, you may also need split DNS, and it's a constant drag on everything because you keep needing to map between two sets of addresses. And it gets way harder when you have multiple or large companies involved, because you do start running out of RFC1918 space.

You won't get any argument from me about the utility of IPv6 over IPv4.

I just pointed out that the scenario presented is workable with IPv4 -- in fact, I've done it more than once.

Sometimes you don't get the choice as to what IP version or addressing scheme you use. Not every environment is a "green field."

Back in the early 'teens, when we contracted/partnered with others that had overlapping IPv4 ranges, if I'd told my boss that "it would be so much easier to do this if we were native IPv6. Given me three-six months to migrate the routers at our dozen locations to dual-stack, replacing any equipment (don't worry, that'll cost less than $250,000) that can't support IPv6, then renumber our dozen class B's, re-implement our 802.1x infrastructure, reorganize our firewall policies and the myriad other tasks we need to do to migrate away from IPv4. By the way, I'll pretty much be engaged in this full-time, so you may need to hire a couple guys to do the work I'd otherwise be doing. And don't forget to tell the C-suite that they can't have the application access they wanted until this is all done."

I suppose I could have said that to my boss. But rather than doing that, then updating my resume as I'd probably have had a lot of extra time on my hands, I said "I'll make it happen. Please give me the contact info for my counterpart at the other organization."

Re:IPv6-only subnets and EC2 instances by runlevel1 on Wednesday November 24, 2021 @08:46AM (#29329891)
Imperfect foresight and poor subnetting.
Re:IPv6-only subnets and EC2 instances by X-Istence on Wednesday November 24, 2021 @02:01PM (#29333752)
Even with the ability to renumber RFC1918 is just not that large, and when you need to summarize routes/BGP you can't easily re-use empty space from one location in another because it'll blow up your routing tables.
Re:IPv6-only subnets and EC2 instances by LogonType10 on Wednesday November 24, 2021 @03:25AM (#29327956)
> But how in earth does one run out of 10.0.0.0/8 IPs, outside of a company merger?!

Twenty company acquisitions.

Re:IPv6-only subnets and EC2 instances by merb on Wednesday November 24, 2021 @07:02AM (#29329138)
Btw Often a nat gateway makes sense even for ipv6 because its Easier to firewall
Re:IPv6-only subnets and EC2 instances by merb on Wednesday November 24, 2021 @09:47AM (#29330451)
could not edit, but probably a lot of people did not understand my comment. our company often deals with very strict rules so that most services in the internet are blocked. we use gcp/gke with surge updates, thus we would loose our static access ip.

however now since they explictly need to enable our services we need a static ip and it is way easier to do that with nat gateway. basically we have a service that connects to http to their external ip which is firewall'd and thus if our client ip's will change it's a headache

Re:IPv6-only subnets and EC2 instances by X-Istence on Wednesday November 24, 2021 @02:02PM (#29333766)
No, NAT gateway for IPv6 does not make sense.
Re:IPv6-only subnets and EC2 instances by austincheney on Wednesday November 24, 2021 @03:33AM (#29327999)
Not likely. Greater adoption of IPv6 generally comes down to only one thing: replacing physical equipment. The only thing likely to force that is greater demand from consumer applications, which has not yet occurred.
Re:IPv6-only subnets and EC2 instances by kazen44 on Wednesday November 24, 2021 @06:40AM (#29328999)
what? IPv6 has been supported by major telecomunication equipment manufacturers for nearly 2 and a half decades by now.

It is just a matter of getting an inet6 prefix from your RIR/LIR, and configuring it in your network. IPv6 is not hard nor is it difficult to implement, and its nitty gritty details are actually far more logically sound then IPv4. (ARP is a major paint point for instance in large networks, so is IP broadcast traffic).

Most large WAN networks have a core which is either label switched (MPLS) and this doesn't care about anything in regards to the protocol which it is transporting, or is doing dual stack already.

Re:IPv6-only subnets and EC2 instances by nobody9999 on Wednesday November 24, 2021 @07:32AM (#29329335)
>It is just a matter of getting an inet6 prefix from your RIR/LIR, and configuring it in your network

Which is easier said than done. Since my ISP won't provide me with IPv6, requesting a block from my RIR is my only option.

However, I don't meet the requirements[0] for getting a block directly from an RIR (in my case, ARIN).

In fact, unless you have a fairly large internet-facing presence, RIR's won't even give you the time of day:

   Have an IPv4 assignment from ARIN or one of its 
   predecessors
   Intend to immediately be IPv6 multi-homed
   Have 13 end sites (offices, data centers, etc.) 
   within one year
   Use 2,000 IPv6 addresses within one year
   Use 200 /64 subnets within one year
[0] https://www.arin.net/resources/guide/ipv6/first_request/#end...

Edit: Note that the requirements listed above are for end users not service providers.

Re:IPv6-only subnets and EC2 instances by xxpor on Wednesday November 24, 2021 @12:36PM (#29332658)
Hard to blame ARIN there, They have about 70 people working for them, they're not scaled to deal with every tom dick and harry coming to them for assignments.
Re:IPv6-only subnets and EC2 instances by nobody9999 on Wednesday November 24, 2021 @07:55PM (#29337093)
>Hard to blame ARIN there

I wasn't blaming anyone. If that's the impression I gave, then I communicated poorly.

Just expressing my frustration WRT the inability to get an IPv6 block for myself.

It shouldn't be this hard.

Re:IPv6-only subnets and EC2 instances by kazen44 on Wednesday November 24, 2021 @03:50PM (#29334986)
which is why the LIR's exist.

you can get provider independant IP space from a LIR.

Re:IPv6-only subnets and EC2 instances by nobody9999 on Wednesday November 24, 2021 @08:01PM (#29337125)
>which is why the LIR's exist.

>you can get provider independant IP space from a LIR.

My understanding was that it was primarily ISPs that filled the role of LIRs. Is that incorrect?

If so, how can I find an LIR in my area?

Edit: I should have added that I've looked around, but AFAICT, the only "provider independent" group handing out IP addresses in my area is ARIN. I may be missing something obvious, but I don't think my google-fu is so bad that I can't find it, if it does indeed exist.

Re:IPv6-only subnets and EC2 instances by daper on Wednesday November 24, 2021 @07:21AM (#29329263)
Generally agree, for basic configuration it just works. But I was planning to use IPv6 in some network segments in my company. Providing proper VPN (road warrior style) for employees to access such network isn't simple with IPv6 where every address is routable over internet. Morver Fortigate devices we have don't have such functionality.
Re:IPv6-only subnets and EC2 instances by austincheney on Wednesday November 24, 2021 @07:20AM (#29329252)
How many residences are IPv6 first? How many countries prioritize IPv6 in their consumer electronics?

My house is IPv6 first only because my ISP mandates such.

Re:IPv6-only subnets and EC2 instances by 2ion on Wednesday November 24, 2021 @06:57AM (#29329100)
Where I work now, not likely, because we have hundreds of AWS accounts, VPC peering and private VPC access only over VPN, which can to my knowledge only route IPv4...
Re:IPv6-only subnets and EC2 instances by zozbot234 on Wednesday November 24, 2021 @07:52AM (#29329493)
You only need a single public IPv4 address to bridge connections to your VPC, though. Everything else can now be IPv6 only.
Re:IPv6-only subnets and EC2 instances by Hamuko on Wednesday November 24, 2021 @10:42AM (#29331054)
So you get a discount on your AWS resources and the only downside is that two out of three people cannot reach your services?

https://www.google.com/intl/en/ipv6/statistics.html

Re:IPv6-only subnets and EC2 instances by Shadonototra on Wednesday November 24, 2021 @10:43AM (#29331062)
EC2 ipv6 SHOULD be cheaper, ipv4 cost a lot because they are becoming scarce

ipv6 much cheaper

if they don't then they should be ashamed