From b22782f5c3df9f02be035202aa59c149208f338b Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sat, 9 Sep 2023 12:07:03 +0300 Subject: [PATCH] Bump fallback GlobalProtect version number Some GlobalProtect servers complain about old versions of the client software connecting to them. In the case of a connection via the GlobalProtect "portal" interface, we capture the preferred software version from the portal and parrot it back, as of https://gitlab.com/openconnect/openconnect/-/commit/c0d2daeaa85f69ed2f89330a53d97ae7eafdffb1?merge_request_iid=333. However, we should update the GlobalProtect software version used as a fallback in the case of a direct connection to the "gateway" interface. Signed-off-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Signed-off-by: Daniel Lenski --- gpst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpst.c b/gpst.c index 37235c1f..ddaef6c4 100644 --- a/gpst.c +++ b/gpst.c @@ -644,7 +644,7 @@ static int gpst_get_config(struct openconnect_info *vpninfo) /* submit getconfig request */ buf_append(request_body, "client-type=1&protocol-version=p1&internal=no"); - append_opt(request_body, "app-version", vpninfo->csd_ticket ? : "5.1.5-8"); + append_opt(request_body, "app-version", vpninfo->csd_ticket ? : "6.1.2-82"); append_opt(request_body, "ipv6-support", vpninfo->disable_ipv6 ? "no" : "yes"); append_opt(request_body, "clientos", gpst_os_name(vpninfo)); append_opt(request_body, "os-version", vpninfo->platname); -- 2.50.1