Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Dispatcher / Repeater

Single Click discussions / bugs
Post Reply
hallipr
Posts: 1
Joined: 2009-04-30 12:28
Contact:

Dispatcher / Repeater

Post by hallipr »

Has the SC source been updated with the changes made to the main WinVNC source, or is there no need to bring those changes over to the SC side?

I am a VB/C# developer just starting to work with C++, and I may be a bit optimistic in my programming abilities. I would like to modify the repeater to function as more of a dispatcher, if it determines that a viewer is accessible by direct connection by a SC server.

Possibly, both the server and the viewer choose a port, or random port from a range, as their inbound port, with uPNP support. They also pick a session ID to be matched to the appropriate party on the repeater. When they connect to the repeater, the repeater tries to make a reverse connection on the inbound port designated by the viewer/server. If a direct server -> viewer connection is possible, then the repeater just instructs the server to connect to the viewers IP & port. If the viewer is behind a firewall and the port is not open, then the repeater would try the same thing on the server side, attempting to pair up a viewer -> server connection. If that also fails, then it reverts back to a standard Viewer -> Repeater <- Server connection.

Does this sound possible? To ambitious?
User avatar
JDaus
Friend of UVNC
Friend of UVNC
Posts: 537
Joined: 2007-03-17 11:00
Location: Sydney, Australia
Contact:

Re: Dispatcher / Repeater

Post by JDaus »

to me, this sounds feasible, and quite a good idea.

there are ways of doing nat-to-nat, but they add a fair amount of bulk to the app.

what your suggesting sounds realistic and should be achievable

I would start by making a separate app that connects to the repeater, then mod both to do what you want ... if it all works well, then look at integrating in uvnc ...

the sc source hasn't been updated in years, we a working on getting same (or similar) functionality into the server code. this w
y, one code base can be maintained that does sc & server ... much simpler maintenance ...
ask a silly question and remain a fool for 5 minutes...
don't ask, and remain a fool for life - JDaus 2003

without imperfections, neither you nor i would exist - Steven Hawkins
__
JD
SCPrompt - OpenSource Free Remote Screen\Desktop Sharing Solution
SecureTech.com.au
Post Reply