Re:A proposal to restrict sites from accessing a users' loca...
by ale42 on Thursday June 05, 2025 @03:25AM
(#44189240)
Yes that's the point: many of our work PCs have global public IPs from something like 128.130.0.0/15 (not this actual block, but something similar), and many internal services are on 10.0.0.0/8. I'm not sure I get exactly how the proposal is addressing this. How does it know that 128.130.0.0/15 is actually internal and should be considered for content loaded from an external site?
Re:A proposal to restrict sites from accessing a users' loca...
by numpad0 on Thursday June 05, 2025 @06:32AM
(#44190250)
My reading is this just adds a dialog box before browser loads RFC1918 ranges. At IP layer, a laptop with 128.130.0.123 on wlan0 should not be able to access 10.0.10.123:80, but I doubt they bother to sanity check that. Just blindly assuming all RFC1918 and only RFC1918 are local should do the job for quite a while.
btw, I've seen that kind of network. I was young, and it took me a while to realize that they DHCP assign global IPs and double NAT it. That was weird.
Re:A proposal to restrict sites from accessing a users' loca...
by kccqzy on Thursday June 05, 2025 @11:27AM
(#44192610)
The proposal doesn't need to address this because it doesn't even consider the global public IP of 128.130.0.0/15 in your example. If you visit a site on 10.0.0.0/8 that accesses resources on 10.0.0.0/8 it's allowed. But if you visit a random other site on the internet it will be (by default) forbidden to access the internal resource at 10.0.0.0/8.
1: https://www.rfc-editor.org/rfc/rfc1918
2: https://www.rfc-editor.org/rfc/rfc5735
3: https://en.wikipedia.org/wiki/Private_network