Bug 193778 - [patch] emulators/virtualbox-ose: make VNC listen on same port for IPv6 and IPv4
Summary: [patch] emulators/virtualbox-ose: make VNC listen on same port for IPv6 and IPv4
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Virtualbox Team (Nobody)
Keywords: patch
Depends on:
Reported: 2014-09-19 18:17 UTC by Martin Birgmeier
Modified: 2019-11-25 20:05 UTC (History)
3 users (show)

See Also:

patch to create emulators/virtualbox-ose/files/patch-src-VBox-ExtPacks-VNC-VBoxVNC.cpp (1.16 KB, patch)
2014-09-19 18:17 UTC, Martin Birgmeier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2014-09-19 18:17:58 UTC
Created attachment 147477 [details]
patch to create emulators/virtualbox-ose/files/patch-src-VBox-ExtPacks-VNC-VBoxVNC.cpp

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.

-- Martin
Comment 1 Bugzilla Automation freebsd_committer 2014-09-19 18:17:58 UTC
Maintainers CC'd
Comment 2 Walter Schwarzenfeld freebsd_triage 2018-01-14 03:24:46 UTC
Maintainer feedback?