VirtualBox

Opened 9 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)

PATCH_emulators_virtualbox-ose_files_patch-src-VBox-ExtPacks-VNC-VBoxVNC.cpp (1.2 KB ) - added by wonko1953 9 years ago.
patch to src/VBox/ExtPacks/VNC/VBoxVNC.cpp
patch-src-VBox-ExtPacks-VNC-VBoxVNC.cpp (911 bytes ) - added by wonko1953 9 years ago.
this is the patch itself

Download all attachments as: .zip

Change History (2)

by wonko1953, 9 years ago

patch to src/VBox/ExtPacks/VNC/VBoxVNC.cpp

by wonko1953, 9 years ago

this is the patch itself

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use