openconnect: allow specify --protocol from config
authorMengyang Li <redacted>
Sun, 25 Oct 2020 04:00:40 +0000 (21:00 -0700)
committerNikos Mavrogiannopoulos <redacted>
Sun, 25 Oct 2020 20:44:32 +0000 (21:44 +0100)
commitb6119433a512aa35a740708c0aaa941e8bf07fea
tree77cdddf07e3188181d9f8a2d51f07cf8c5b61c70
parent80ac8dac11bb71c74a09535b3d43d04541449de3
openconnect: allow specify --protocol from config

openconnect v8.10 supports 4 VPN protocols

  --protocol=anyconnect  Compatible with Cisco AnyConnect SSL VPN, as well as ocserv (default)
  --protocol=nc          Compatible with Juniper Network Connect
  --protocol=gp          Compatible with Palo Alto Networks (PAN) GlobalProtect SSL VPN
  --protocol=pulse       Compatible with Pulse Connect Secure SSL VPN

This patch allows user to specify protocol use the new "vpn_protocol"
option and deprecate the old option "juniper" which seems to be missing in
the current openconnect client.

Signed-off-by: Mengyang Li <redacted>
net/openconnect/Makefile
net/openconnect/README
net/openconnect/files/openconnect.sh
git clone https://git.99rst.org/PROJECT