News for hackers. Stuff that matters.
Re:The world in which IPv6 was a good design by __s on Friday August 11, 2017 @12:43AM (#14986630)
Drop the idea of ports too. Every program gets its own IP

Mentioning ideas like that at work get queer looks about how it'd be impossible to configure a firewall at that point

But keep going further. End up with 128 bit CPU where every byte is IP addressable. Necessary security to block random outsiders from reading your memory, but capable of potentially running various parts remotely transparently

Re:The world in which IPv6 was a good design by apenwarr on Friday August 11, 2017 @01:55AM (#14986925)
With NAT, this has essentially already happened. You could say IPv4 is actually 48-bit addressing, at least on the client side. For all useful purposes, NAT expanded every /24 or even /32 subnet by an extra 16 bits, which is the real reason we still haven't run out of IPv4 addresses.

That could be extended to the server side if we used something like SRV records instead of defaulting to port 80/443.

Re:The world in which IPv6 was a good design by efreak on Friday August 11, 2017 @04:22PM (#14993809)
On another note, I have long wished for something like specifying protocol port numbers in a DNS record. Ever since I ran my first ircd on a shared hosting server, and continuing to today with multiple httpds (nginx, znc, etc) and ircds (ZNC, bitlbee) and such on a single IP.

Not for any technical reasons, though--I'm just lazy, and specifying port numbers is annoying.

Re:The world in which IPv6 was a good design by jsjohnst on Friday August 11, 2017 @10:21AM (#14989899)
Maybe it's early and I've not drank enough coffee yet, but what benefit would this provide? You'll be in effect doubling the DNS lookups needed to connect to a website adding latency to time to first byte, with seemingly zero benefit.
Re:The world in which IPv6 was a good design by JdeBP on Friday August 11, 2017 @12:47PM (#14991735)
As I pointed out at https://news.ycombinator.com/item?id=14721416 , the claim of "doubling the DNS lookups" simply does not hold water if actually analysed.
Re:The world in which IPv6 was a good design by apenwarr on Friday August 11, 2017 @12:58PM (#14991877)
The main benefit would be the ability to offer public Internet-facing services through a NAT, even a carrier-grade NAT that lumps multiple ISP customers behind a single IP address. (You would need some kind of cooperation from the NAT to be able to allow incoming connections on a port range.)

JdeBP's post provides a good answer about the SRV records. The short version is a single DNS packet can contain both A/AAAA and SRV responses.

Re:The world in which IPv6 was a good design by johncolanduoni on Friday August 11, 2017 @12:56AM (#14986670)
> But keep going further. End up with 128 bit CPU where every byte is IP addressable. Necessary security to block random outsiders from reading your memory, but capable of potentially running various parts remotely transparently

This is already a thing: https://en.wikipedia.org/wiki/Remote_direct_memory_access

Re:The world in which IPv6 was a good design by dullgiulio on Friday August 11, 2017 @07:07AM (#14988397)
Cool, although the name sounds much more like a vulnerability than a feature.
Re:The world in which IPv6 was a good design by ComputerGuru on Friday August 11, 2017 @01:20AM (#14986760)
Just treat the port as an extension of the binary address space of the IP address. No need to "drop" ports otherwise.
Re:The world in which IPv6 was a good design by anilakar on Friday August 11, 2017 @02:06AM (#14987000)
But that breaks the layering (where reachability is provided by l3 and transport by l4). Now existing internetwork routers cannot handle your new 144-bit address format.

The folks at IETF meetings are doing a wonderful job trying to keep existing tech working. That's why you always extend old standards and rarely deprecate anything. Just look at BGP, for example.

We, the application software programmers on layers 5 through 7 with the "move fast and break things" attitude, could not ever have designed anything like the internet and keep it running as long as our current one has been.

Re:The world in which IPv6 was a good design by ComputerGuru on Friday August 11, 2017 @04:54AM (#14987788)
I didn't mean to actually concatenate the two, only to treat them as if they were on the application level.
Re:The world in which IPv6 was a good design by minhoryang on Friday August 11, 2017 @01:50AM (#14986904)
Really love this idea. IPv6 for every program, UUID for every session!
Re:The world in which IPv6 was a good design by XorNot on Friday August 11, 2017 @04:08AM (#14987577)
With IP-per-container we're pretty close to this already. systemd could launch every service on my system into it's own network namespace with a unique IPv6 address + NAT via my IPv4.

Might be an interesting weekend project sometime.

Re:The world in which IPv6 was a good design by mjevans on Friday August 11, 2017 @12:52AM (#14986654)
Not even IP. Source/destinations would both only be crypto identifiers. The multiplexing part is just a convenient way of expressing different data streams to simpler protocols for QoS and other activities.

That does imply that there should be a way (possibly host to host, possibly build in to some kind of service resolution system) of looking up a 'name entry' and 'service type'.

Re:The world in which IPv6 was a good design by marcosdumay on Friday August 11, 2017 @01:11PM (#14992054)
> how it'd be impossible to configure a firewall at that point

Why is that? Wouldn't those addresses be hierarchical?

Mobile addresses for applications would make the usual case of "hey, you migrate service X to that other switch, and nothing works anymore" basically disappear.