Opened 10 years ago
#13725 new enhancement
[patch] make VNC listen on same port for IPv6 and IPv4
Reported by: | wonko1953 | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.3.20 |
Keywords: | VNC IPv6 | Cc: | |
Guest type: | all | Host type: | all |
Description
Currently, VirtualBox always assigns port 5900 when listening for VNC connections via IPv6, as opposed to IPv4, where the port to use can be set using the property TCP/Ports.
The attached patch changes this behavior so that TCP/Ports also applies when listening via IPv6, thereby using the same port number for both IPv4 and IPv6.
It should be applied in /usr/ports and will create a file emulators/virtualbox-ose/files/patch-src-VBox-ExtPacks-VNC-VBoxVNC.cpp.
See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193778
-- Martin
Attachments (2)
Change History (2)
by , 10 years ago
by , 10 years ago
Attachment: | patch-src-VBox-ExtPacks-VNC-VBoxVNC.cpp added |
---|
this is the patch itself
patch to src/VBox/ExtPacks/VNC/VBoxVNC.cpp