| ▲ | kstrauser 18 hours ago | |||||||
> Are you kidding me? No. > Are you kidding me? Eh. Maybe something else would've been slightly nicer, but what exactly? Slashes are out. Commas are weird. % has a special meaning in URLs. Dollar separator? Plus signs? Pipes? There's not a great answer. It was an excellent choice to move to hex, but you really don't want to have to guess whether $i.$j.$j.$k has those values in hex or decimal ("is that 100.100.100.100 as in one hundred or as in 256?"), so periods would've been painful. > "IPv4-mapped IPv6 addresses" is a optional thing, but no one recommends it, and BSD disables it out outright. It's a giant security risk, and no IPv4 host knows how to respond to it anyway. > The whole "temporary IPv6 privacy addresses" is such a mess. Was such a mess, until they became the basically universal default. > they invent rotating addresses _entirely from the client side_ How else would you've done it? Require DHCPv6? Ew. SLAAC is so much nicer. > breaking the decades old principle of "I can attribute every IP address to a specific device". Either you get private addresses, or you don't. If you have private IPs, then that can't hold. You have to pick. But every host still has an additional static IP that it can be reached at: it just doesn't use that address for outgoing traffic. > If those IPv6 committee people would actually think about regular sysadmins, we'd be at IPv6 years ago. They thought a lot about us and built something truly pleasant to use. It's simpler in just about every way and works great. The broad adoption of NAT (i.e. that thing that really broke the "every IP address == a specific device" ideal) put it off for a long time, but now that we've overwhelmed NAT and had to start replacing it with CGNAT, aka Can't Get Near Any Traffic, even the ISPs have finally seen the writing on the wall. | ||||||||
| ▲ | theamk 9 hours ago | parent [-] | |||||||
> Maybe something else would've been slightly nicer, but what exactly? My personal preference would be dots + ".v6" suffix, "fe80.x.1.ipv6". Simple to parse, 100% backwards compat (apps which don't know how to handle this treat it as a hostname). If not, there are also underscores (which are incidentally prohibited in DNS) and dashes which have no conflicts. Also commas, parenthesis, carets - yes those are weird, but they'd still be better than the mess that was chosen instead. "this is impure" you say? Then enjoy not having your system deployed for 20+ years. > [IPv4-mapped IPv6 addresses is] a giant security risk, and no IPv4 host knows how to respond to it anyway. You are thinking about the wire-side, I am talking about app-side. App creates a single, AF_INET6 socket, and only uses ipv6 structs with it. If it uses it to talk to ::ffff: address, the IPv4 packets go out, else it's IPv6! This exists already, and could have simplified so many porting efforts. Imagine your whole userland already using IPv6 sockets, despite packets on the wire being IPv4 only. Except this was always discouraged, and OpenBSD outright disabled this functionality. So no one popular app could take advantage of that. > How else would you've done it? Require DHCPv6? Ew. SLAAC is so much nicer. That argument would have been much stronger if the initial design did not require DHCPv6. RDNSS only got added decades later. > They thought a lot about us and built something truly pleasant to use. It's simpler in just about every way and works great. I am not sure what your background is, but they built "something truly pleasant to use" only if you are either super basic (user) or manage huge networks (1000's of machines). For application developers and small-to-medium sized network administrators, things got simply worse. (Preemptive answer to "but with no NAT, I, an application developer, can now do P2P and hosts things easily!" No, you can't, enough routers still have "default deny" policy that you can't just give out address and hope people could reach you.) A recent example: upstream address changes, something that's pretty common in small-to-medium sites (who doesn't have a spare cell modem or two so that if your cable goes down you can seamlessly switch to a working network with a single cable replug?). Are you saying that things like IPv6 Delegation [0] is "simpler in every way" than equivalent IPv4 setup (changing IP on NAT box)? And note that his iPhone is still taking few minutes to pick up new address, and there is nothing protocol-level that can fix it. Maybe in another ten years IPv6 folks will come up with something. | ||||||||
| ||||||||