Live data from Hacker News

AWS to start charging for IPv4 usage, but critical services don't support IPv6

old.reddit.com

91–100 of 245 posts

Re: AWS to start charging for IPv4 usage, but critical services don't support IPv6

#91
post #72

Earlier quoted context omitted.

[flagged]

I remember having to do a lot of port forwarding to get certain things to work behind a nat. Certainly doable but beyond the competence of a non-expert.

This isn't entirely about static port-forwarding. As others have pointed out, STUN, VoIP, PASV, etc rely on deterministic NAT behavior to work. That is not always guaranteed, and often out of your control.

Re: AWS to start charging for IPv4 usage, but critical services don't support IPv6

#92

[flagged]

We need IPv6 because we're out of IPv4 addresses. When you launch a new ISP and knock on the door of a RIR like RIPE, they don't have any IPv4 addresses left to allocate and so you're put on a waiting list. The solution is IPv6. Even without allocating an address per device, without IPv6 just the status quo of every customer having an IP address is no longer possible.

The predecessor of my ISP introduced full IPv6 support for all customers 15 years ago. The only argument against at this point is inertia.

Re: AWS to start charging for IPv4 usage, but critical services don't support IPv6

#93

Earlier quoted context omitted.

IPv6 provided some features people needed (larger addresses), made some changes born from experience (removing IP-level header checksums in favor of packet checksums like those in UDP and TCP, removing fragmentation), and then bundled in a pile of mandatory added complexity (DAD, SLAAC and router advertisements rather than DHCP, initially mandatory IPsec). If IPv6 had left out the mandatory added complexity, and just…

> […] and then bundled in a pile of mandatory added complexity (DAD, SLAAC and router advertisements rather than DHCP, initially mandatory IPsec). SLAAC and RA reduce complexity as you no longer need 'extra' infrastructure (DHCP) to get going: plug in and the router sends the information and you're done. You also get rid of the complexity of STUN/ICE/ etc as you no longer need NAT, so you just need hole punching for…

> plug in and the router sends the information and you're done.

If you want the network to come up in a timely fashion, the new system needs to poke the network to get information proactively sent to it as soon as possible, at which point you have about the same level of complexity as poking a DHCP server. (With added bonus "this could happen asynchronously at any time and you never reliably know when your network is actually done being configured".)

If those standards are so valuable, they should have stood on their own, as optional things people could have adopted if they wanted to do things completely differently from IPv4. Meanwhile, people already have DHCP servers, and could have just told those DHCP servers to start giving out IPv6 addresses too.

The reaction I have every time I interact with IPv6 is that it seems incredibly hard to make a system just use the configuration you tell it to use and never ever listen to any configuration from the network.

Re: AWS to start charging for IPv4 usage, but critical services don't support IPv6

#94

[flagged]

> * "OMG Every device needs a publicly addressable IP!!!" > ok, but why? So we can get rid of STUN/ICE/ etc and make peer-to-peer easier. All you're left with is hole punching through your SPI firewall (no worse than today). > Are you _really_ just going to allow random traffic into your network? I don't know why this misconception is so wide spread: globally addressable ≠ globally reachable . Firewalls still exist w…

> globally addressable ≠ globally reachable

Ideally yes, but IRL they are related concepts. Things will get misconfigured, often by default.

Re: AWS to start charging for IPv4 usage, but critical services don't support IPv6

#95
post #71

Earlier quoted context omitted.

VoIP. Two peers, each behind a CG-NAT (or other symmetric NAT), depend on somebody running a relay in order to be able to communicate. This makes it very expensive (and sometimes risky, since unrestricted relays can be used for all kinds of nefarious things too) to deploy any new VoIP service. I'd call that "broken by NAT". > everything works right now. Yes, everything that works right now works right now, but that's…

Doesn't that present a privacy issue? One can _casually_ infer who you are talking to merely by examining network traffic.

You're always free to use a relay for privacy reasons. Many common VoIP solutions allow just that.

IPv6 (or more generally, the absence of NAPT) just changes the switch label from "try [not] to use direct connections, unless NAT gets in the way" to "[always|never] use direct connections".

In other words, it cleanly separates the two distinct concerns of privacy and connection topology. I think that's a good thing.

Re: AWS to start charging for IPv4 usage, but critical services don't support IPv6

#97

[flagged]

I think a lot of other commenters complaining about the parent commenter missing the IPv4/6 header size are missing the forest for the trees here. The main problems with IPv6 (that are why most customer-facing components are not switching to it anytime soon) are simple: 1. The address space is ludicrously unwieldy. Humans are good at remembering long numbers. We're quite bad at remembering random strings outside of p…

There is a compatibility later for IPv6 to access IPv4 called NAT64. It requires that IPv6 have a large address space to fit the IPv4 address inside IPv6 address. There is also MAP-T which can do stateless IPv4 NAT over IPv6 network by shoving the whole NAT state, ports and address, in the IPv6 address.

The length of IPv6 addresses is an advantage because people don't try typing them because they are so long. My home network have IPv6 and I have never had to enter IPv6 address. I don't know what my prefix is, I don't know any host addresses, I use mDNS to get to other hosts.

Re: AWS to start charging for IPv4 usage, but critical services don't support IPv6

#98
post #92

[flagged]

We need IPv6 because we're out of IPv4 addresses. When you launch a new ISP and knock on the door of a RIR like RIPE, they don't have any IPv4 addresses left to allocate and so you're put on a waiting list. The solution is IPv6. Even without allocating an address per device, without IPv6 just the status quo of every customer having an IP address is no longer possible. The predecessor of my ISP introduced full IPv6 su…

If that's the problem, then the solution would've been just adding more address space to ipv4, preserving all existing addresses and pretty much everything else about it. 1.1.1.1/32 is still 1.1.1.1/32, and new ISPs can take blocks like 72.33.22.11.33/40 once enough routers are updated to support them. This could've even used the exact ipv6 packet structure, making it quite similar to v6 under the hood but more like v4 from the user's perspective.

Instead, ipv6 created a separate world, with extra goals like making every device addressable (aka removing NAT), using randomized addresses, and resetting all ownership of existing blocks. "We're out of addresses" is not a good excuse for all that.

Re: AWS to start charging for IPv4 usage, but critical services don't support IPv6

#99
post #59

Earlier quoted context omitted.

Here is something very simple, with no self flogging and no circus hoops. I do not want to pay for a number. There is no shortage of numbers. In fact there is an infinite amount of them. There are many things I am forced to pay for and their prices keep going up and up and more things get added every year. Well on this one I fight back. I do not wish to pay for the use of an arbitrary number just so my device can be…

Of all of the arguments, I personally find this one the weakest. As you're describing your IP address makes it no different than a phone number for your mobile.

This counterargument doesn't really make any sense. I don't pay for my phone number. I got my phone number for free I don't know how many decades ago from a provider that doesn't even exist today. Ever since, I've been carrying it over when switching a provider and it's still free. I pay for things such as data, but not for the number.

Re: AWS to start charging for IPv4 usage, but critical services don't support IPv6

#100

To be fair I have a bunch of instances with public IP addresses just so I can ssh into them easily. This situation made me look into how I'd get into these instances otherwise and indeed you can set up an appropriate endpoint and then run "aws ec2 instance-connect" to make a tunnel that gets you an ssh connection without needing the public IP, so just like that my needs for public IPs actually goes down pretty drasti…

aws ec2-instance-connect doesn't use docker, it just sets up a short lived ssh key in the instance metadata that you can use to connect. You can connect either via a public ipv4, ipv6, or a vpc private endpoint.
Post reply on HN