algo/roles/vpn
Tim Hofmann 7a2e0496b7 Add catch-all VPN On Demand Rule
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
2017-11-22 11:38:36 -05:00
..
defaults LibreSSL fix #625 (#685) 2017-10-01 16:40:08 -04:00
handlers Certificate revocation fix (#719) 2017-11-12 17:09:57 -05:00
meta additional tags 2016-10-10 15:32:14 +03:00
tasks Certificate revocation fix (#719) 2017-11-12 17:09:57 -05:00
templates Add catch-all VPN On Demand Rule 2017-11-22 11:38:36 -05:00