Page MenuHomeFreeBSD

VNC Auth for bhyve_graphics
AbandonedPublic

Authored by fabian.freyer_physik.tu-berlin.de on Jun 29 2016, 8:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 24, 2:44 PM
Unknown Object (File)
Thu, Dec 5, 2:11 AM
Unknown Object (File)
Thu, Dec 5, 1:28 AM
Unknown Object (File)
Nov 24 2024, 4:57 AM
Unknown Object (File)
Nov 19 2024, 12:28 PM
Unknown Object (File)
Nov 19 2024, 10:43 AM
Unknown Object (File)
Sep 28 2024, 7:06 PM
Unknown Object (File)
Sep 27 2024, 1:16 PM
Tokens
"Like" token, awarded by vincent_up4.com.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

fabian.freyer_physik.tu-berlin.de retitled this revision from to VNC Auth for bhyve_graphics.
fabian.freyer_physik.tu-berlin.de edited the test plan for this revision. (Show Details)
projects/bhyve_graphics/rfb.c
793

oops, this was a debugging value, I'll remove this in a second version of this patch

799

could probably allocate only 16 characters here, depending on how DES_set_key handles strings

813

could probably allocate only 16 characters here

814

I'm a bit unsure whether RAND_seed has to be called before this.

828

since this is also just used for a calloc, and DES_ecb_encrypt only writes 8 bytes at a time, we could probably also allocate only 16 bytes here without writing out of bounds

855

also a debugging info, should be removed

Hello, I'm running FreeBSD 11 and I have a couple of bhyve VMs running VNC graphics. I am told this patch might allow me to use the native macOS VNC client. I would like to test it. What is the easiest way to use this patch? Thanks.

Click on the 'Download raw diff' button on the right-hand side menu. Apply that diff to a FreeBSD source tree and rebuild.

(You can probably short-cut this by applying it to just the usr.sbin/bhyve directory, and rebuilding in that)

I've not forgotten this diff but it was low on the priority list since there is a workaround in being able to use alternate VNC viewers. But, if there's enough interest I'll try and make some progress on it.

I will try to compile the "official FreeBSD 11 RELEASE" with this patch applied all in a bhyve virtual machine and extract only the bhyve binary. Does that sound feasible?

Yes, that works. It's a bit unnecessary however, I always used make BHYVE_SYSDIR=/usr/src/ -m /usr/src/share/mk -C /path/to/local/bhyve_graphics/checkout.