mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-06 15:13:56 +02:00
Add configuration for URL probes to Apple profile
Chrome and Android both request a known URL that generates HTTP 204 No Content responses to determine if they have internet connectivity. In Apple profiles, we can use the same URL to determine whether the VPN needs to connect. Using this feature will help save battery life for lots of users.
This commit is contained in:
parent
495b37737a
commit
5e22b79033
1 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,8 @@
|
|||
{% endif %}
|
||||
<key>InterfaceTypeMatch</key>
|
||||
<string>WiFi</string>
|
||||
<key>URLStringProbe</key>
|
||||
<string>http://www.gstatic.com/generate_204</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Action</key>
|
||||
|
@ -47,6 +49,8 @@
|
|||
{% endif %}
|
||||
<key>InterfaceTypeMatch</key>
|
||||
<string>Cellular</string>
|
||||
<key>URLStringProbe</key>
|
||||
<string>http://www.gstatic.com/generate_204</string>
|
||||
</dict>
|
||||
</array>
|
||||
{% else %}
|
||||
|
|
Loading…
Add table
Reference in a new issue