Hi,
I am unable to find the source code for the repeater SSL, I have sent a PM to Rudi and have not received a response. The repeater is crashing every ten connections or so, I want to diagnose it, which is only possible with source code. If anyone can PM me a link or help me find it, I would appreciate it.
Thank you,
dimaxp
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
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
SCIII Repeater SSL Source Code?
Re: SCIII Repeater SSL Source Code?
Hi dimaxp,
this is not exactly the answer to your question but a hint on how to use ssl repeater without crashes.
Just start repeater as a service and not as an application.
I run it as a service since months without any problems.
Regards,
Werner
this is not exactly the answer to your question but a hint on how to use ssl repeater without crashes.
Just start repeater as a service and not as an application.
I run it as a service since months without any problems.
Regards,
Werner
Re: SCIII Repeater SSL Source Code?
Rudi has sent me the source for the repeater, thanks Rudi!
It is quite interesting that it runs better as a service rather than as a GUI server. Possibly permission issues or maybe the GUI code has problems, either way it will be interesting to see what piece of the code crashes it.
Thanks for the suggestion by the way,
dimaxp
It is quite interesting that it runs better as a service rather than as a GUI server. Possibly permission issues or maybe the GUI code has problems, either way it will be interesting to see what piece of the code crashes it.
Thanks for the suggestion by the way,
dimaxp
Re: SCIII Repeater SSL Source Code?
Hope you send the update/fix you had found for improve repeatereither way it will be interesting to see what piece of the code crashes it.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Re: SCIII Repeater SSL Source Code?
Well so far I have found that GUI log file generation causes the repeater to crash. Eventually it accesses memory that it shouldn't. I am trying to fix it right now. I will make the revised code available if I fix it.
This does however explain why running it as a service would make it more stable. Running as service never loads the GUI, thus it never has a chance to crash.
Regards,
dimaxp
This does however explain why running it as a service would make it more stable. Running as service never loads the GUI, thus it never has a chance to crash.
Regards,
dimaxp
Re: SCIII Repeater SSL Source Code?
Ok, an update on progress.
The GUI log was doing some funky incremental memory allocation and would crash. I replaced most of it with an ostringstream and copied it back to the buffer. It no longer crashes the program.
But, there is another problem. sslConn_t is often freed and another method tries to access it, causing it to crash. I have made sure it gets nulled out (I think), but that doesn't help. It probably is a threading issue. For the life of me, I haven't been able to figure out where the issue is. The problem can be triggered consistently by making many connections with javaviewer to the repeater. It will crash due to conn having a bad memory address, it won't be NULL.
I have found an unreliable fix, which entails moving the free(conn) statement from sslFreeConnection() into the destructor of TCPTunnelServer. It is unreliable since a sleep(5000) is needed in front of the free(conn) statement to wait for other functions to finish, otherwise it crashes on socket shutdown. Given different processors or stuck/slow operations, it may crash.
If anyone has any ideas, I would appreciate it.
Thanks,
dimaxp
The GUI log was doing some funky incremental memory allocation and would crash. I replaced most of it with an ostringstream and copied it back to the buffer. It no longer crashes the program.
But, there is another problem. sslConn_t is often freed and another method tries to access it, causing it to crash. I have made sure it gets nulled out (I think), but that doesn't help. It probably is a threading issue. For the life of me, I haven't been able to figure out where the issue is. The problem can be triggered consistently by making many connections with javaviewer to the repeater. It will crash due to conn having a bad memory address, it won't be NULL.
I have found an unreliable fix, which entails moving the free(conn) statement from sslFreeConnection() into the destructor of TCPTunnelServer. It is unreliable since a sleep(5000) is needed in front of the free(conn) statement to wait for other functions to finish, otherwise it crashes on socket shutdown. Given different processors or stuck/slow operations, it may crash.
If anyone has any ideas, I would appreciate it.
Thanks,
dimaxp
Re: SCIII Repeater SSL Source Code?
is there any progress on this repeater SSL or the 1.2.2.1 repeater support SSL?
Re: SCIII Repeater SSL Source Code?
I'm looking at making some modifications to the SSL repeater for our in-house support system. I need to be able to track and allow/disallow specific ID's. Could somebody point me to the right place for the source code? Thanks in advance.
Re: SCIII Repeater SSL Source Code?
That maybe down already. I do recall a user that has that patch for tracking done.. did you do a search for that topic..
Source code for the Repeater III would probably be a PM to Rudi De Vos but he is not at town right now.. So it maybe a few weeks before he gets back to you..
Source code for the Repeater III would probably be a PM to Rudi De Vos but he is not at town right now.. So it maybe a few weeks before he gets back to you..
Bevtech
Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2
User not developer..
Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2
User not developer..