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.

Windows 7 Network Awareness: How Windows knows it has an Internet connection

222 pointsby ivoflipseabout 14 years ago

9 comments

mlinseyabout 14 years ago
" If the response is never received, or if there is a redirect, then a DNS request for dns.msftncsi.com is made. If DNS resolves properly but the page is inaccessible, then it is assumed that there is a working internet connection, but an in-browser authentication page is blocking access to the file. This results in the pop-up balloon above. If DNS resolution fails or returns the wrong address, then it is assumed that the internet connection is completely unsuccessful, and the “no internet access” error is shown."<p>Would this mean that DNS poisoning msftncsi.com would prevent Win7 machines from accessing the internet? Or would this merely cause the 'no internet access' error to be displayed despite your connection working anyway?
评论 #2555957 未加载
评论 #2555690 未加载
snprbob86about 14 years ago
The iPhone uses a very similar technique. If you connect to a wifi network that requires login, a browser sans address bar will pop-up over your current app and allow you to login. Once an external resource can be reached, the browser disappears and returns you to the previous app. Steve Jobs even alluded to it / bragged about it when the iPhone was first unveiled, 2 years before Win7 was released.
评论 #2554701 未加载
评论 #2555028 未加载
评论 #2555060 未加载
jerryaabout 14 years ago
Yes, I have wanted to build something like that for Android, mainly to keep my phone from getting confused when it's connected to someone's wifi that demands some check box be checked off for service.<p>It would periodically awaken, see if the wifi is connected, if it is is there connectivity, if there is, go back to sleep, if there is not, turn the wifi off.<p>I've also wanted to build for Android the same piece of code, but if for 2 or 5 urls it gets back the same page with a checkbox, it checks off the box and sends it back off.<p>But I am curious, do all those wifi dns terms and agreements hijacking pages break any sort of RFC?<p>And is there any solution in ip6?<p>Or is there a real fix possible in ip4?
评论 #2554574 未加载
评论 #2555154 未加载
评论 #2554585 未加载
ilikejamabout 14 years ago
Possible vector for some sort of attack? The ncsi service that requests www.msftncsi.com is presumably very simple, but then...
评论 #2554638 未加载
ahiabout 14 years ago
I just assumed it noticed when I entered the login information 2 minutes prior, then waited until the most annoying moment to give me a completely useless fraking notification.
knownabout 14 years ago
Sounds like <a href="http://linuxcommand.org/man_pages/ruptime1.html" rel="nofollow">http://linuxcommand.org/man_pages/ruptime1.html</a>
drivebyacct2about 14 years ago
if you're paranoid enough to disable this, you shouldn't be using windows. there are far more and better ways for windows and other windows software to phone home.
评论 #2555566 未加载
idonthackabout 14 years ago
Do we really need an entire article about this? Seriously, if you couldn't figure this out on your own in about 10 seconds, you're in the wrong line of work
评论 #2555250 未加载
dominikbabout 14 years ago
Apple claims that Mac OS X is "the world's most advanced operating system". But it's these details that I consider advanced and clever. Apple's marketing statements went from funny to offensive and unsupported.