TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Deprecate 0.0.0.0 for Private Network Access

60 pointsby campuscodi9 months ago

6 comments

diggan9 months ago
&gt; Chrome&#x27;s PNA protection can be bypassed using the IP address 0.0.0.0 to access services listening on the localhost on macOS and Linux.<p>It seems they&#x27;re saying if you have a service listening to localhost (private), Chrome is supposed to not resolve 0.0.0.0 (public) to localhost, yet it currently does so.<p>So seems to me they&#x27;re solving a security bug. But if I got this right, it&#x27;s surprising how it got like that in the first place, doesn&#x27;t make sense in any scenario I can think of to resolve 0.0.0.0 to localhost? Why would a browser try to resolve 0.0.0.0 to anything in the first place?
评论 #41184408 未加载
评论 #41184572 未加载
评论 #41184383 未加载
评论 #41187758 未加载
p1mrx9 months ago
No mention of [::]? Maybe they&#x27;ll discover that one in a couple years.
aa_is_op9 months ago
Related: <a href="https:&#x2F;&#x2F;www.oligo.security&#x2F;blog&#x2F;0-0-0-0-day-exploiting-localhost-apis-from-the-browser" rel="nofollow">https:&#x2F;&#x2F;www.oligo.security&#x2F;blog&#x2F;0-0-0-0-day-exploiting-local...</a>
评论 #41184690 未加载
评论 #41185787 未加载
jesprenj9 months ago
Shouldn&#x27;t they instead add 0.0.0.0&#x2F;8 to the list of private networks, because it&#x27;s possible that 0.0.0.0&#x2F;8 might be private?
评论 #41187612 未加载
amluto9 months ago
I can’t tell from reading the Chrome page (<a href="https:&#x2F;&#x2F;developer.chrome.com&#x2F;blog&#x2F;private-network-access-preflight&#x2F;" rel="nofollow">https:&#x2F;&#x2F;developer.chrome.com&#x2F;blog&#x2F;private-network-access-pre...</a>) or the linked WICG draft: do these new protections apply to the usual CORS-bypassing requests: form submissions and ordinary navigation?
archo9 months ago
pls excuse my aged brain, now with a new blood clot.<p>IIRC adding 0.0.0.0 0.0.0.0 to your hosts file helps ???<p>On macOS;<p>% ping 0.0.0.0 PING 0.0.0.0 (0.0.0.0): 56 data bytes ping: sendto: Socket is not connected ping: sendto: Socket is not connected Request timeout for icmp_seq 0 ping: sendto: Socket is not connected Request timeout for icmp_seq 1 ping: sendto: Socket is not connected Request timeout for icmp_seq 2 ping: sendto: Socket is not connected Request timeout for icmp_seq 3<p>% ping 0 PING 0 (0.0.0.0): 56 data bytes ping: sendto: Socket is not connected<p>ping: sendto: Socket is not connected Request timeout for icmp_seq 0 ping: sendto: Socket is not connected Request timeout for icmp_seq 1 ping: sendto: Socket is not connected Request timeout for icmp_seq 2 ping: sendto: Socket is not connected Request timeout for icmp_seq 3 ping: sendto: Socket is not connected<p>Is this correct ???
评论 #41193855 未加载