Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

I've made a tiny mod to the repeater...

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Post Reply
shoodabean
8
8
Posts: 15
Joined: 2010-02-28 23:55

I've made a tiny mod to the repeater...

Post by shoodabean »

Hello, I've made a tiny mod to the repeater, it now logs the gui messages out to a file - at the moment c:\repeaterlog.txt

Rudi very kindly furnished me with the source and I made a minor change to suit my needs (and also minor as C is not my language and the past few days has been a steep learning curve :P), does anybody else want it and what do i do with the source code now ? Do I share it ? How do I share it ?

questions, questions!
thanks
Shoo
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: I've made a tiny mod to the repeater...

Post by redge »

good

welcome for the binary file.

repeater need to increase the timeout for viewer from 30sec to 300sec like for server have 300sec (5min)

so viewer have time for catch server in time.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: I've made a tiny mod to the repeater...

Post by supercoe »

shoodabean,

Your work will be appreciated if you'd like to share, pm me your email address if you need hosting for the binary.
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: I've made a tiny mod to the repeater...

Post by supercoe »

shoodabean is willing to share his repeater, it can be download from my server:

http://www.walkernerds.com/chunkvnc/ext ... ui-log.zip

The file has been checked for viruses and is clean.

Hopefully we can convince him to share the source and continue to work on this old project! :D
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
shoodabean
8
8
Posts: 15
Joined: 2010-02-28 23:55

Re: I've made a tiny mod to the repeater...

Post by shoodabean »

I've just updated that zip file to contain the source of the repeater too.
shoodabean
8
8
Posts: 15
Joined: 2010-02-28 23:55

Re: I've made a tiny mod to the repeater...

Post by shoodabean »

redge wrote: repeater need to increase the timeout for viewer from 30sec to 300sec like for server have 300sec (5min), so viewer have time for catch server in time.
Please can you explain a test scenario for me (step by step if possible) so I can test for this occurence and then try to modify the repeater ?

thanks
shoo
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: I've made a tiny mod to the repeater...

Post by redge »

shoodabean,


overview
Rudi and Oliver did'nt find any related information about time limit 30sec in the repeater for vncviewer pending/waiting
but Oliver have idea about it what to need to change for the linux version.

[user=6][/user] tell is the vncviewer from mind. (long time he did'nt work on the repeater code.)
and
[user=9083][/user] tell is the repeater after test fews repeater and vncviewers.


softwares:
vncviewer 1.0.8.1
winvnc 1.0.8.1
public repeater 0.14a for linux swiss.ultravnc.info
port 5900 vncviewer
port 5500 winvnc


test
no dsmplugin
vnc authentication (not needed for reverse connection)



easy step by step (in short)
1. vncviewer connect first to repeater (connection wait/pending for only 30sec)
2. winvnc reverse connect to to repeater before 30 seconds otherwise, fail
with message, winvnc run as application. try to run as system.

hope this help, thank you for your interest.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
shoodabean
8
8
Posts: 15
Joined: 2010-02-28 23:55

Re: I've made a tiny mod to the repeater...

Post by shoodabean »

well i can reproduce this issue, no problem at all :P but fixing it is another kettle of fish entirely, still onward .....
anthrax79
Posts: 7
Joined: 2009-10-25 04:15

Re: I've made a tiny mod to the repeater...

Post by anthrax79 »

supercoe wrote:shoodabean is willing to share his repeater, it can be download from my server:

http://www.walkernerds.com/chunkvnc/ext ... ui-log.zip

The file has been checked for viruses and is clean.

Hopefully we can convince him to share the source and continue to work on this old project! :D
I am getting a 404 file not found on this link.
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: I've made a tiny mod to the repeater...

Post by B »

Confirmed. You could always PM supercoe.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: I've made a tiny mod to the repeater...

Post by supercoe »

http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: I've made a tiny mod to the repeater...

Post by B »

Would you consider hosting the ColtB45 UAC patches too? His site has been down lately...
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: I've made a tiny mod to the repeater...

Post by supercoe »

No problem, I'll pm you my email if you have the files.
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: I've made a tiny mod to the repeater...

Post by B »

Whoops, his dynamic DNS site's back up today!



These links (patch, 1.0.8.2, and 1.0.8.0) currently work:



http://colt.dnsalias.net/shared4/uvncpa ... 0101.patch

http://colt.dnsalias.net/shared4/winvnc.exe.zip

http://colt.dnsalias.net/shared4/winvnc.exe.1_0_8_0.zip
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: I've made a tiny mod to the repeater...

Post by supercoe »

http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
addison
8
8
Posts: 18
Joined: 2010-05-14 03:21

Re: I've made a tiny mod to the repeater...

Post by addison »

Hi, there

I've came across an issue and want to discuss with you guys.
Looking at UltraVNC Server's source code, in file
vncserver.cpp
It has the following function.
{
void vncServer::AutoConnectRetry( )
{
if ( m_fAutoReconnect && !fShutdownOrdered)
{
vnclog.Print(LL_INTINFO, VNCLOG("AutoConnectRetry(): started\n"));
m_retry_timeout = SetTimer( NULL, 0, (1000*30), (TIMERPROC)_timerRetryHandler ); //line:2431
}
}
}
I understand this is the definition about its disconnect and reconnect methods, am I right?
On UltraVNC Server side, it has a 30 secs timeout settings.
For the Repeater, when that time is reaching, it will remove the connection and display the
message "connection closed by peer".

I'm wandering about the possiblity to extend that timestamp.
So I changed the 30 secs to 5 minutes, it worked fine.
Even extending to 10 minutes, it's still okay.
Well, is that possible to change the timeout to 1 hour or longer?
Would this bring in some new problems/bugs?


Thanks in advance.
addison
User avatar
JDaus
Friend of UVNC
Friend of UVNC
Posts: 537
Joined: 2007-03-17 11:00
Location: Sydney, Australia
Contact:

Re: I've made a tiny mod to the repeater...

Post by JDaus »

B wrote:Would you consider hosting the ColtB45 UAC patches too? His site has been down lately...
you can upload files to the vnc2me site ... then if an update comes out, just overwrite the old file, and everyone is happy ...

saves asking supercoe to update the files on his site ...

there is already a section in downloads which will allow registered users to upload their own files ...
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
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: I've made a tiny mod to the repeater...

Post by supercoe »

Wow thanks JDaus, another great resource. The way I see it, the more mirrors the better. I have no issue giving out FTP accounts.
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
User avatar
JDaus
Friend of UVNC
Friend of UVNC
Posts: 537
Joined: 2007-03-17 11:00
Location: Sydney, Australia
Contact:

Re: I've made a tiny mod to the repeater...

Post by JDaus »

supercoe wrote:The way I see it, the more mirrors the better.
agreed, there was several projects on this forum that I was interested in, but couldn't find, even after only a year, so I created that section to allow me to host files from old projects ... mirroring is always a good idea :D
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
hywaydave
Posts: 1
Joined: 2010-07-28 19:17

Re: I've made a tiny mod to the repeater...

Post by hywaydave »

I downloaded the winvnc.exe file that colt created, replaced it on the computer, restarted the service, but still cannot get it to work. I have the Logon option set via GPO and UAC is turned off.

Any suggestions?
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: I've made a tiny mod to the repeater...

Post by B »

The proper thread is really [topic=17476][/topic]

Are you sure you replaced the winvnc.exe version in the right place? You might want to search for other existing ones.

Also, you could run

Code: Select all

C:\> reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v SoftwareSASGeneration /t REG_DWORD /d 1 /f
 
manually just to be sure...
Post Reply