Captive portal detection
First Claim
Patent Images
1. A method for detecting a captive portal on a Wi-Fi network, the method carried out on a device having a processing unit including a non-transitory computer-readable storage medium configured to execute instructions of a software program, the method comprising the steps of:
- connecting to the Wi-Fi network;
acquiring an Internet Protocol (IP) address from a dynamic host configuration protocol on the Wi-Fi network;
setting the acquired IP address as a default gateway to Internet;
generating, at the device, a random private IP address;
attempting a TCP connection to the random private IP address on HTTP port;
80, HTTP port;
8080, or HTTP port;
80 and HTTP port 8080;
upon an unsuccessful TCP connection to the random private IP address, making a determination that a captive portal has not been detected; and
upon a successful TCP connection to the random private IP address, making a determination that a captive portal has been detected.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for detecting a captive portal on a Wi-Fi network in which a device generates a random private IP address and attempts a TCP connection on HTTP port 80 and HTTP port 8080. Upon an unsuccessful TCP connection a determination is made that no captive portal is associated with the Wi-Fi network and upon a successful TCP connection, a determination is made that a captive portal is associated with the Wi-Fi network.
5 Citations
20 Claims
-
1. A method for detecting a captive portal on a Wi-Fi network, the method carried out on a device having a processing unit including a non-transitory computer-readable storage medium configured to execute instructions of a software program, the method comprising the steps of:
-
connecting to the Wi-Fi network; acquiring an Internet Protocol (IP) address from a dynamic host configuration protocol on the Wi-Fi network; setting the acquired IP address as a default gateway to Internet; generating, at the device, a random private IP address; attempting a TCP connection to the random private IP address on HTTP port;
80, HTTP port;
8080, or HTTP port;
80 and HTTP port 8080;upon an unsuccessful TCP connection to the random private IP address, making a determination that a captive portal has not been detected; and upon a successful TCP connection to the random private IP address, making a determination that a captive portal has been detected. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer readable storage medium comprising a program, which, when executed by one or more processors, performs an operation comprising:
-
connecting a device to a Wi-Fi network; acquiring, at the device, an Internet Protocol (IP) address from a dynamic host configuration protocol on the Wi-Fi network; setting the acquired IP address as a default gateway to Internet in a routing table at the device; generating, at the device, a random private IP address; attempting a TCP connection from the device to the random private IP address on HTTP port;
80, HTTP port 8080, or HTTP port 80 and HTTP port;
8080;upon an unsuccessful TCP connection, making a determination that no captive portal is associated with the Wi-Fi network; and upon a successful TCP connection, making a determination that a captive portal is associated with the Wi-Fi network. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A method for detecting a captive portal on a Wi-Fi network, the method carried out on a head unit of a vehicle, the head unit having a processing unit including a non-transitory computer-readable storage medium configured to execute instructions of a software program, the method comprising the steps of:
-
connecting the head unit to the Wi-Fi network; acquiring, at the head unit, an Internet Protocol (IP) address from a dynamic host configuration protocol on the Wi-Fi network; setting the acquired IP address as a default gateway to Internet on a routing table at the head unit; generating, at the head unit, a random private IP address; attempting a TCP connection between the head unit to the random private IP address on HTTP port;
80, HTTP port;
8080, or HTTP port;
80 and HTTP port;
8080;upon an unsuccessful TCP connection, making a determination that no captive portal is associated with the Wi-Fi network; and upon a successful TCP connection, making a determination that a captive portal is associated with the Wi-Fi network. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification