News for hackers. Stuff that matters.
Re:History of 127/8 as localhost/loopback addresses (2021) by mikl on Wednesday May 25, 2022 @07:53AM (#31503222)
I guess this is related to the recent kerfuffle about to making (most of) 127/8 publicly routable to stave off the IPv4 shortage a little while longer.

We’re just delaying the inevitable. Sooner or later, the band-aid has got to come off. ~4 billion IP addresses are simply not enough for ~8 billion people.

So maybe we should just refuse to pile on more hacks and force the ISPs to get off their ass and upgrade their networks.

Re:History of 127/8 as localhost/loopback addresses (2021) by 1ncorrect on Wednesday May 25, 2022 @08:27AM (#31503543)
Any effort that may be applied to reclaiming v4 address space will always be better directed to expanding global v6 connectivity.
Re:History of 127/8 as localhost/loopback addresses (2021) by yardstick on Wednesday May 25, 2022 @09:02AM (#31503917)
Wouldn’t it involve mostly different groups of people?

IPv6 is now supported in the vast majority of operating systems and routers and firewalls. It’s now down to the carriers/ISPs to configure their networks to use it.

Ie the IPv4 issue is a programming issue, while the IPv6 issue is an administration/configuration issue.

Ie Ciscos software engineers aren’t the ones holding back your ISP from turning on IPv6. Cisco engineers aren’t toiling away adding much needed missing IPv6 features.

Unless I’ve missed something?

Re:History of 127/8 as localhost/loopback addresses (2021) by nousermane on Wednesday May 25, 2022 @09:27AM (#31504225)
It's not that somebody is holding your ISP, it's that your ISP doesn't see IPv6 as something that they should bother doing (very low demand from customers).

And if that ISP happens to be one of those that decided that their core competency is marketing, and outsourced everything else, including network engineering... Well, than they view IPv6 as something expensive/risky (in project costs) in addition to useless.

Re:History of 127/8 as localhost/loopback addresses (2021) by dijit on Wednesday May 25, 2022 @10:52AM (#31505409)
> very low demand from customers

This actually pisses me off enormously.

It’s not that there’s low (or no) demand, it’s that people are not being recorded as having voiced this concern.

I can say for certain that over the last ten years when ISPs call to upsell their packages I always respond with “I’m not going to upgrade unless it gives me ipv6”. When talking to new ISPs I always ask if they support ipv6 and if not: when.

The answer is always “it’s not on the roadmap, we don’t have any people requesting this”- the follow up I usually ask is “are you going to write down anywhere that I am requesting this? Because others could say the same” and they always say that they won’t record my interest, even though it costs them an upsell or a sale.

So, I figured maybe I’m weird, maybe I am the only one. I have no way of knowing.

Except; I met someone else who also does this- we have the same ISP and they told him: “nobody has ever asked for this” which is categorically untrue since I have asked for this.

We’re being gaslit by the industry.

Re:History of 127/8 as localhost/loopback addresses (2021) by jrmg on Wednesday May 25, 2022 @11:30AM (#31505974)
> It’s not that there’s low (or no) demand, it’s that people are not being recorded as having voiced this concern.

It’s worse than that. People _complain about it being on_. Look at any forums about home network or WiFi troubleshooting and switching it off on your router will often be in the ‘first, do this’ sort of answers.

Even here this often comes up. The sentiment is ‘IPv4 has to work reliably because so many people don’t have IPv6 and things need to work for them. You’re only asking for trouble by also having IPv6’. As a practical matter it’s hard to argue with, but it’s not a way to make progress…

Re:History of 127/8 as localhost/loopback addresses (2021) by SSLy on Wednesday May 25, 2022 @11:55AM (#31506336)
That's because quite often ipv6 is either badly implemented, or once you have it on, it changes ipv4 to CGNAT mode (hello, Liberty Media)
Re:History of 127/8 as localhost/loopback addresses (2021) by Beltalowda on Wednesday May 25, 2022 @11:06AM (#31505628)
How many random people do you think will answer "yes" if you ask them if they 1) know what IPv6 is, and 2) if they want it?

Yeah, maybe some ISPs should be listening to their customers more (I heard tales of ISPs in the US), but in this they're not wrong: consumer demand really is low.

I've switched between IPv6-connected and IPv4-only quite a few times over the last 20 years due to moving to different countries with different options and was a fairly "early adopter" back in the day with the tunnels XS4ALL had, and even as a technical person I can't say I ever noticed the difference.

Re:History of 127/8 as localhost/loopback addresses (2021) by baq on Wednesday May 25, 2022 @11:24AM (#31505884)
> How many random people do you think will answer "yes" if you ask them if they 1) know what IPv6 is, and 2) if they want it?

you can ask the same question about IPv4 and get same answers.

Re:History of 127/8 as localhost/loopback addresses (2021) by nousermane on Wednesday May 25, 2022 @12:14PM (#31506612)
Well, you can also ask general public whether they prefer SAE or metric fasteners, or mix thereof, in their car, and get the same blank stare in return.

But ask auto-mechanics, and hoo boy, will there be opinions.

Re:History of 127/8 as localhost/loopback addresses (2021) by Beltalowda on Wednesday May 25, 2022 @12:50PM (#31507098)
Sure, but the argument was that there is a demand from the general public/customers, and that's clearly not the case.
Re:History of 127/8 as localhost/loopback addresses (2021) by Beltalowda on Wednesday May 25, 2022 @12:07PM (#31506515)
Yes, exactly. People don't care if they use IP or IPX or whatnot; as long as it works. And IPv4 does work, so people don't care.
Re:History of 127/8 as localhost/loopback addresses (2021) by dijit on Wednesday May 25, 2022 @12:45PM (#31507028)
> And IPv4 does work, so people don't care

I think this elides the point really.

People don't know when an issue is because of ipv4, for a good example: network issues in online video games are often caused by being unable to NAT punch, lag can also be because connection information is relayed by some far away STUN server. Same with in-game voice chat.

Usually you need to set port forwards to make games work properly.

In the event of GCNAT a customer has no possible recourse.

But nobody understands the issue is largely because of IPv4, they just assume that's how it is, and assume the same issue would exist with IPv6

Re:History of 127/8 as localhost/loopback addresses (2021) by nousermane on Wednesday May 25, 2022 @03:15PM (#31509210)
Games, audio/video calls, screen sharing - any peer-to-peer traffic is a royal pain in the back with NAT and CGNAT especially.

Larger providers (zoom, apple/facetime, twitch, ...) just set up relay servers and avoid p2p altogether - which cost money, increase latency/jitter, and decrease privacy. You can argue all of that are hidden costs of sticking to IPv4 for longer than we should have.

Re:History of 127/8 as localhost/loopback addresses (2021) by Beltalowda on Wednesday May 25, 2022 @10:59AM (#31505509)
Furthermore, the lowest adoption tends to be in developing countries (Africa, parts of Asia and South-America), and I bet simple financial reasons are a decent part of the reason for that, if not the primary reason. The Indian government has invested quite a lot in IPv6, so it's leading in adoption rates last time I checked. This is good long-term thinking IMO, since developing countries are also the worst affected due to less addresses being assigned to them, but not every (developing) country has the means for that, and there are often other, more pressing, matters to deal with too.

Carrier-grade NAT (multiple consumers sharing the same IPv4 address) mostly averted catastrophic problems though. It's not perfect, but it works.

Re:History of 127/8 as localhost/loopback addresses (2021) by yardstick on Wednesday May 25, 2022 @10:16AM (#31504837)
No disagreement there.
Re:History of 127/8 as localhost/loopback addresses (2021) by 1ncorrect on Wednesday May 25, 2022 @09:34AM (#31504308)
My point is more general. If you ever arrive at a notion which involves an attempt to reclaim v4 address space, it’s a specious conclusion and you need to refactor your premise.

A better use of your time and attention will be identifying what, within your scope of influence, can be done to further the reach of global v6 routing.

Re:History of 127/8 as localhost/loopback addresses (2021) by yardstick on Wednesday May 25, 2022 @10:15AM (#31504826)
For a lot of people involved in the making of networking equipment, there is no scope of influence over increasing the global reach of IPv6. Maybe the documentation and sales folk.

I agree it’s more important that IPv6 rolls out faster and is more widely adopted today.

But as to your original claim “ Any effort that may be applied to reclaiming v4 address space will always be better directed to expanding global v6 connectivity.” is a false dichotomy.

Re:History of 127/8 as localhost/loopback addresses (2021) by heretogetout on Wednesday May 25, 2022 @11:54AM (#31506320)
What are users of these ISPs missing out on my not having IPv6? They need to rely on NAT for their devices, but that works fine as far as they know. Their IoT devices need to connect to remote servers instead of wait for remote servers to contact them directly, but that won't change how users interact with their devices so they won't care.

Maybe this isn't a serious enough crisis and we can just wait til it becomes a real issue for users. When it does, it will probably be incremental rather than catastrophic, so we'll still have time to upgrade networks piecemeal, and with more reason to do so.

Re:History of 127/8 as localhost/loopback addresses (2021) by throw0101a on Wednesday May 25, 2022 @11:59AM (#31506404)
> What are users of these ISPs missing out on my not having IPv6? They need to rely on NAT for their devices […]

This assumes that they can even get an IPv4 address. New ISPs and telcos may not be able to get enough IPv4 addresses to assign each individual connection one.

So either (a) the CPE only gets an IPv6 address and they have to use DNS64/NAT64 or 464XLAT to reach the IPv4 Internet, or (b) the CPE gets a shared address space (100.64.0.0/10) IPv4 address and CG-NAT ensues:

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

* https://en.wikipedia.org/wiki/Carrier-grade_NAT

In which case the end-user gets to deal with double-NATing (first with their CPE/home router, and second by the ISP).

Case in point someone that is surprised that every customer gets a public IP address and CG-NAT is not done:

* https://old.reddit.com/r/networking/comments/uw0qwy/

Re:History of 127/8 as localhost/loopback addresses (2021) by Arubis on Wednesday May 25, 2022 @08:20AM (#31503460)
I hadn't heard about that proposal; do you have a link to discussion/source? It sounds like a Bad Idea and I'm curious for the arguments in favor.
Re:History of 127/8 as localhost/loopback addresses (2021) by placatedmayhem on Wednesday May 25, 2022 @08:23AM (#31503500)
Re:History of 127/8 as localhost/loopback addresses (2021) by kortex on Wednesday May 25, 2022 @08:44AM (#31503729)
What in the actual eff. Anything except actually switching fully to ipv6, amirite?

Trying to see the most charitable position here - is there an aspect in which redefining 127/8 to 127/16 across billions of devices is actually feasible?

Re:History of 127/8 as localhost/loopback addresses (2021) by accountofme on Wednesday May 25, 2022 @09:04AM (#31503946)
I used to work tech support for an ISP years ago.... Trying to get people to find their modem and see if it was plugged into the wall was effort.

Imagine trying to get the same people to upgrade router firmware...... no chance

Re:History of 127/8 as localhost/loopback addresses (2021) by judge2020 on Wednesday May 25, 2022 @09:12AM (#31504026)
This is why the ISP routers and modems have all introduced remote updates from the ISP, sometimes going further with extra telemetry[0]. Not a great situation for those with the technical knowledge, but I don't think we can expect people to upgrade their router FW on their own.

0: https://old.reddit.com/r/ATT/comments/mqfy9a/just_got_our_ne...

Re:History of 127/8 as localhost/loopback addresses (2021) by wyager on Wednesday May 25, 2022 @11:19AM (#31505805)
I was pissed to learn that arris DOCSIS modems do not allow you, the owner, to install firmware updates or adjust most settings. Only the ISP gets to do that.
Re:History of 127/8 as localhost/loopback addresses (2021) by X-Istence on Wednesday May 25, 2022 @01:00PM (#31507248)
That's because bandwidth caps are enforced by the cable modem and not further downstream. When you pay for 10 Mbps down, 1 Mbps up, that is enforced by the cable modem.

Earlier versions of cable modems had flaws that allowed consumers to push configs on the ethernet port and uncap their cable modems and gain higher speeds than they had paid for.

Re:History of 127/8 as localhost/loopback addresses (2021) by bell-cot on Wednesday May 25, 2022 @03:34PM (#31509439)
If the ISP could add a paragraph to their T&C's, then monitor the speed...

"Thank you for upgrading your service to our VVVIP Price Tier! Your first three months as a VVVIP customer is 50% off..."

Re:History of 127/8 as localhost/loopback addresses (2021) by vlan0 on Wednesday May 25, 2022 @05:24PM (#31510774)
>If the ISP could add a paragraph to their T&C's, then monitor the speed...

They did, but the overhead at the time was high. And they generally didn't peruse unless you were causing trouble....or slipped up on OPSEC.

Cable ISP network security back in the day was horrid. SNMP string would get leaked. With that you could snmpwalk the entire node you were on. It was amusing.

Re:History of 127/8 as localhost/loopback addresses (2021) by wyager on Wednesday May 25, 2022 @02:05PM (#31508231)
Yep, what a silly design. I almost want to hack it out of spite.
Re:History of 127/8 as localhost/loopback addresses (2021) by accountofme on Wednesday May 25, 2022 @11:25PM (#31514088)
That is true, there are people who use an ISP modem/router but what of the ones who don't, what of the android TV or phone is that doesn't get updates, what of that winxp/vista/7 computer that won't be upgraded.......?

There are so many other devices out there that are required for this change to work, it is insane to think it could be done.

Re:History of 127/8 as localhost/loopback addresses (2021) by throw0101a on Wednesday May 25, 2022 @12:04PM (#31506474)
> Imagine trying to get the same people to upgrade router firmware...... no chance

Which is why there are technical standards for the ISP to do it from their end:

> Technical Report 069 (TR-069) is a technical specification of the Broadband Forum that defines an application layer protocol for remote management and provisioning of customer-premises equipment (CPE) connected to an Internet Protocol (IP) network. TR-069 uses the CPE WAN Management Protocol (CWMP) which provides support functions for auto-configuration, software or firmware image management, software module management, status and performance managements, and diagnostics.

* https://en.wikipedia.org/wiki/TR-069

(At least on ISP-issued CPE.)

Re:History of 127/8 as localhost/loopback addresses (2021) by nybble41 on Wednesday May 25, 2022 @01:50PM (#31508007)
The router is the least of your problems. Consider all the devices connected to those routers which don't recognize 127/8 addresses as anything but loopback—some of which may never receive updates at all, never mind actually getting people to install them.
Re:History of 127/8 as localhost/loopback addresses (2021) by jSherz on Wednesday May 25, 2022 @09:11AM (#31504014)
I assume that most ISPs push out updates automatically unless the hardware is user provided (and thus user supported)? I've been through several rounds of "we're sending you a new router" with UK ISPs where you're aggressively reminded to switch.
Re:History of 127/8 as localhost/loopback addresses (2021) by blibble on Wednesday May 25, 2022 @08:34AM (#31503617)
that seems completely insane

that logic has been hard-coded inside every OS and vast amounts of software for 30+ years

and to gain less than 0.8%?

they'd do better targeting the reserved multicast range

Re:History of 127/8 as localhost/loopback addresses (2021) by greyface- on Wednesday May 25, 2022 @10:20AM (#31504902)
> they'd do better targeting the reserved multicast range

https://www.ietf.org/archive/id/draft-schoen-intarea-unicast...

Re:History of 127/8 as localhost/loopback addresses (2021) by justsomehnguy on Wednesday May 25, 2022 @10:12AM (#31504782)
> inside every OS and vast amounts of software for 30+ years

Ha. Ha. Ha.

> that logic has been hard-coded inside

The thing is what some things are literally hardcoded. I have a whole bunch of network gear circa 2010 in production.

It does support IPv6, but for the most part it is extremely rudimentary. What do you want from a box what implements SSH by running a telnet session over a no-auth SSH session?

And while I can run the latest Windows/Linux/Whatever on my server gear, the network gear is not that simple to upgrade.

Re:History of 127/8 as localhost/loopback addresses (2021) by vlan0 on Wednesday May 25, 2022 @05:11PM (#31510613)
>I have a whole bunch of network gear circa 2010 in production

I ran into this 10 years ago. I decided to roll out IPv6 to clients. Router docs said it was supported. Then I watched CPU usage peg because every packet hit the CPU. Turns out it was implemented in software; no ASIC support. Was quite the buzz kill.

Re:History of 127/8 as localhost/loopback addresses (2021) by p_l on Wednesday May 25, 2022 @11:03PM (#31513912)
Now consider that there are network components in the wild that have literal latch on first octet equaling 127 which triggers packet drop, and this proposal could drop hw acceleration for v4 too
Re:History of 127/8 as localhost/loopback addresses (2021) by Tsiklon on Wednesday May 25, 2022 @09:24AM (#31504174)
Ohh wow - I didn't think there were any serious proposals for this, this sounds like madness.
Re:History of 127/8 as localhost/loopback addresses (2021) by twic on Wednesday May 25, 2022 @05:14PM (#31510648)

  Expires: 12 May 2022
I couldn't find a newer edition, so hopefully this has gone to the great standards track in the sky.
Re:History of 127/8 as localhost/loopback addresses (2021) by greyface- on Wednesday May 25, 2022 @09:34PM (#31513212)
Here's a newer edition! :) https://www.ietf.org/archive/id/draft-schoen-intarea-unicast...

  Expires: 8 September 2022
Re:History of 127/8 as localhost/loopback addresses (2021) by bombcar on Wednesday May 25, 2022 @09:18AM (#31504096)
A slightly more insane but maybe a bit more practical would have been to try to move 10.x and friends into 127.x.
Re:History of 127/8 as localhost/loopback addresses (2021) by Arubis on Wednesday May 25, 2022 @08:31AM (#31503586)
Thank you. This is wild.
Re:History of 127/8 as localhost/loopback addresses (2021) by vlan0 on Wednesday May 25, 2022 @02:00PM (#31508170)
>So maybe we should just refuse to pile on more hacks and force the ISPs to get off their ass and upgrade their networks.

I haven't recently looked at who has deployed what, but is this really it? US ISPs like Spectrum has been handing out IPv6 addresses for years now. My Verizon wireless phone can access IPv6 resources w/o issue as well.

However, show me the cloud services folks are implementing that are dual stack. Start mandating new service deployment is dual stack, and it'll happen. Similar to how the US Govt is pulling it off.

Re:History of 127/8 as localhost/loopback addresses (2021) by WorldMaker on Wednesday May 25, 2022 @02:32PM (#31508613)
Right, consumer ISPs seem to be driving IPv6 adoption not lagging it. It's Big Enterprise, including all the supposedly "Cloud Native" companies, dragging their feet real hard right now.
Re:History of 127/8 as localhost/loopback addresses (2021) by deknos on Wednesday May 25, 2022 @10:42AM (#31505267)
i would LOVE it, if there was some project which would test popular appliances and linux at home, if v6(only) presents any problems...
Re:History of 127/8 as localhost/loopback addresses (2021) by bbarnett on Wednesday May 25, 2022 @08:41AM (#31503695)
ipv6 is untenable. We need ipv4.1.

Just add another octlet at the start, but stored in the options field. Old stuff won't get confused, and new stuff will know that empty means 1.x.x.x.x.

Problem solved.

Re:History of 127/8 as localhost/loopback addresses (2021) by Beltalowda on Wednesday May 25, 2022 @10:40AM (#31505227)
The problem with this is that it requires hardware upgrades across the world: your computer, router, all the world's switches, a lot of software (e.g. software that stores IP addresses as uint32, but also native types that map to uint32), DNS infrastructure, etc. etc. etc.

This is basically the same problem as IPv6, except worse since we'll start from zero.

In hindsight, clearly a better plan than "this is IPv6, it's new, it's better, everyone will adopt it!" was needed for IPv6, and it would have helped if the IPv6 people were a bit more pragmatic from the start in their design (religious opposition to NAT springs to mind), but now it's about 20 to 25 years too late.

Re:History of 127/8 as localhost/loopback addresses (2021) by bbarnett on Wednesday May 25, 2022 @12:06PM (#31506510)
Easy to fix.

All we have to do, is explain that ipv6 reduces anonymity online, and thus, makes it easier for predators to track children. And thus, ipv6 endangers children!

This will enable a wellspring of governement grants, to roll out firmware updates for switches and routers, etc.

See? A non-problem.

Re:History of 127/8 as localhost/loopback addresses (2021) by kortex on Wednesday May 25, 2022 @08:48AM (#31503777)
How does that solve anything? Any hardware is gonna try to route packets to the "original" x.x.x.x and completely ignore this option field.
Re:History of 127/8 as localhost/loopback addresses (2021) by zokier on Wednesday May 25, 2022 @09:07AM (#31503981)
Over third of the world is happily using that untenable ipv6. That train left the station long time ago and is chugging along at steady pace now.
Re:History of 127/8 as localhost/loopback addresses (2021) by dtech on Wednesday May 25, 2022 @10:09AM (#31504737)
I fail to see how that is better than the already widely used NAT