1

I am on Windows 10. When connected to a new network, Windows checks for internet connectivity using Active Probing which I know is a series of tasks. After determining internet connection Windows switches to Passive Probing until connection remains active. I can't find anything related to it anywhere. Would be helpful if someone with fair knowledge of the working sheds light. TIA.

1
  • Already gone through it but it does not cover the said issue. Sep 20, 2019 at 14:10

1 Answer 1

4

Windows uses active probing to validate that internet connectivity is possible on each network interface, then updates the Network Connectivity Status Indicator (NCSI). During active probing, Windows probes several Microsoft DNS servers and uses the responses to determine an active internet connection. The computer has an active polling loop where it continually polls dns.msftncsi.com until the next packet to process becomes available.

In passive probing, live network traffic is captured and analyzed, without interfering with the network, i.e. not sending any packets out. Passive probing looks at the TTL (Time To Live) in the IP header of TCP/UDP packets which can determine how many "hops" the packet has taken to reach the computer. A packet with more than 8 hops is considered to have Internet Connectivity.

From the Windows Security Encyclopedia, passive polling is defined as:

This Policy setting enables you to specify passive polling behavior. NCSI polls various measurements throughout the network stack on a frequent interval to determine if network connectivity has been lost. Use the options to control the passive polling behavior.

source

5
  • Thanks for your response. Where does the "8 hop rule" come from? Is it a standard? Sep 20, 2019 at 14:08
  • Network connectivity can be defined as the probability that a given node in a network has an N-hop route. The greater the hop count, the better the network connectivity, and the more stable the network. However, the more hops there are, the less likely a packet is to be discovered. So a hop count too high will cause networks which may have network connectivity to not be discovered. But a hop count too low may cause networks with low connectivity and stability to be deemed connectable. journals.sagepub.com/doi/pdf/10.1177/1550147716683606
    – Paradox
    Sep 20, 2019 at 14:17
  • The 8 hop rule was likely influenced by this, though I am unaware of how Microsoft arrived at 8 specifically or if it is a standard.
    – Paradox
    Sep 20, 2019 at 14:18
  • I have upvoted already. Sep 20, 2019 at 14:25
  • To configure the 8 hop rule, you can add DWORD MinimumInternetHopCount under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet in the registry, and set it to a lower hop count such as 1 or 2 if you feel you have connectivity and your network connectivity indicator doesn't think so. However, 8 should be low enough for most people freely accessing various servers on the Internet, and also high enough so that if your connectivity is cut somewhere within the same building or at your only uplink, there will be less than 8 devices between you and the silence. Apr 29, 2020 at 12:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .