Skip to content

Port UltraVNC extensions to current master - #772

Draft
nzsolt13 wants to merge 1 commit into
LibVNC:masterfrom
nzsolt13:ultra-extensions
Draft

nzsolt13 wants to merge 1 commit into
LibVNC:masterfrom
nzsolt13:ultra-extensions

Conversation

@nzsolt13

Copy link
Copy Markdown

Port the UltraVNC-oriented extensions from the vendored LibVNCServer 0.9.15 tree onto the current upstream master.

Included:

  • Ultra directory file-transfer fixes (send/receive paths, received filename persistence, temp zip cleanup).
  • Encrypted chat bridge support (key supplied at runtime via X11VNC_CHAT_KEY / X11VNC_CHAT_KEY_FILE, or at build time via the optional X11VNC_COMPILED_CHAT_KEY macro). No key material is included.
  • UltraVNC DSM option and DSM message prefixes, with optional stream tracing.
  • Unix socket/access-control server extensions, greyscale pixel format handling, and client/socket hardening.

Testing:

  • CMake configure and full build on current upstream master (ef2d0393) are green.
  • Patches that are already upstream (crypto/minilzo/socket/client fixes and the CMake minimum version) were intentionally omitted.

Draft because this is a combined port; it can be split into per-feature PRs if maintainers prefer.

free(str);
}
fclose(fp);
chmod(filepath, 0666);
if (access(filepath, F_OK) == -1)
return;

handler = fopen(filepath, "r");
}
}
fclose(handler);
remove(filepath);
if (S_ISDIR(st.st_mode))
r2 = remove_directory(buf);
else
r2 = unlink(buf);
rfbLog("DSM: prefix msg=%d type=%d sock=%d payload=%d\n",
msg, (int)(unsigned char)buf[0], (int)sock, len);
}
write(sock, buf, 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants