[PATCH ocserv 3/4] Add support for Mac AnyConnect client

Kevin Cernekee cernekee at gmail.com
Wed Jan 1 04:08:18 EST 2014


Populate the 0-byte /1/Darwin_i386 file to prevent the following error:

    The AnyConnect package on the secure gateway could not be located.
    You may be experiencing network connectivity issues.  Please try
    connecting again.

Tested with AnyConnect 3.1.03103.
---
 src/worker-vpn.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/worker-vpn.c b/src/worker-vpn.c
index 43b7fce..f939c80 100644
--- a/src/worker-vpn.c
+++ b/src/worker-vpn.c
@@ -110,6 +110,7 @@ const static struct known_urls_st known_urls[] = {
 		LL("/1/Linux", get_empty_handler, NULL),
 		LL("/1/Linux_64", get_empty_handler, NULL),
 		LL("/1/Windows", get_empty_handler, NULL),
+		LL("/1/Darwin_i386", get_empty_handler, NULL),
 		LL("/1/binaries/vpndownloader.sh", get_dl_handler, NULL),
 		LL("/1/VPNManifest.xml", get_string_handler, NULL),
 		LL("/1/binaries/update.txt", get_string_handler, NULL),
-- 
1.8.2.1




More information about the openconnect-devel mailing list