diff options
author | Igor Böhm <igor@9lab.org> | 2021-09-25 20:40:47 +0000 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2021-09-25 20:40:47 +0000 |
commit | b6381141861419f8cf2a11e3c2ff605755a5becc (patch) | |
tree | b8d0124548d3eab53352b9f03f66ef9e6b0f5d9d /sys/src/cmd/vnc | |
parent | c9b48aec544db0ce8a2a1a75b557c44669804e82 (diff) |
vncv: enable connecting to Darwin hosts
Tested on MacOS Catalina and Big Sur releases.
Update man page to highlight weak encryption of vnc, recommending to
tunnel via ssh (thanks unobe).
Diffstat (limited to 'sys/src/cmd/vnc')
-rw-r--r-- | sys/src/cmd/vnc/auth.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/vnc/auth.c b/sys/src/cmd/vnc/auth.c index 806c830bf..edde1ba85 100644 --- a/sys/src/cmd/vnc/auth.c +++ b/sys/src/cmd/vnc/auth.c @@ -33,6 +33,8 @@ vnchandshake(Vnc *v) v->vers = 37; else if(strncmp(msg, "RFB 003.008\n", VerLen) == 0) v->vers = 38; + else if(strncmp(msg, "RFB 003.889\n", VerLen) == 0) + v->vers = 38; /* Darwin */ else /* RFC6143: Any other should be treated as 3.3. */ v->vers = 33; |