[PATCH ocserv 1/4] Add X-CSTP-License header for mobile client compatibility

Kevin Cernekee cernekee at gmail.com
Sat Nov 30 21:25:06 EST 2013


The Android AnyConnect client passes authentication but refuses to
establish a VPN link if this header is missing.
---
 src/worker-vpn.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/worker-vpn.c b/src/worker-vpn.c
index b079b72..1c5d979 100644
--- a/src/worker-vpn.c
+++ b/src/worker-vpn.c
@@ -955,6 +955,7 @@ bandwidth_st b_rx;
 		"X-CSTP-Keep: true\r\n"
 		"X-CSTP-TCP-Keepalive: true\r\n"
 		"X-CSTP-Tunnel-All-DNS: false\r\n"
+		"X-CSTP-License: accept\r\n"
 		);
 	SEND_ERR(ret);
 
-- 
1.8.2.1




More information about the openconnect-devel mailing list