mirror of
https://github.com/trailofbits/algo.git
synced 2025-04-19 15:47:11 +02:00
Add catch-all VPN On Demand Rule (#739)
If a user is not connected to a trusted Wi-Fi network or if the URLStringProbe fails none of the existing dictionaries match. According to the Apple Configuration Profile Reference[1] section "VPN Payload > On Demand Rules Dictionary Keys" a default behavior for unknown networks with no matching criteria should always be set as the last dictionary in the array. The current default behavior is to allow a connection to occur, but this behavior is not guaranteed. Tear down the VPN connection and do not reconnect on demand as long as the catch-all dictionary matches to guarantee the default behavior and more specifically allow users to access captive portals. [1]: https://developer.apple.com/library/content/featuredarticles/iPhoneConfigurationProfileRef/Introduction/Introduction.html
This commit is contained in:
parent
5e5424df69
commit
b4740185e8
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,10 @@
|
|||
<key>URLStringProbe</key>
|
||||
<string>http://captive.apple.com/hotspot-detect.html</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Action</key>
|
||||
<string>Disconnect</string>
|
||||
</dict>
|
||||
</array>
|
||||
{% else %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Reference in a new issue