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

automating reverse connection to repeater did not work

Post Reply
roja
8
8
Posts: 8
Joined: 2009-08-12 12:54
Location: lucknow, U.P., India

automating reverse connection to repeater did not work

Post by roja »

Hi,

I have been trying to automate the server connection to repeater.
I have gone through some of the threads in the forum and edited my ultravnc.ini file with the following command:
service_commandline=-autoreconnect ID:2345 -connect 192.168.1.108:5500
but that does not seem to work where as I was able to connect to repeater when I ran the command from cmd line like this:
winvnc -autoreconnect ID:2345 -connect 192.168.1.108:5500 -run

Am I missing something in the command that I mentioned in .ini file???
any way, I'm using uvnc 1.0.5 stable version and my OS is Vista.
Any kind of help is appreciated.

Thanks in advance.
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: automating reverse connection to repeater did not work

Post by YY »

The "service_commandline=" is not available on 1.0.5.x, it is a new feature since 1.0.6.0 stable, you need to upgrade.

I try the exact same setting (as yours, but my OS is XP: service_commandline=-autoreconnect ID:2345 -connect xx.xx.xx.xx:5500) with my 1.0.6.5 UVNC server. It works as expected.
roja
8
8
Posts: 8
Joined: 2009-08-12 12:54
Location: lucknow, U.P., India

Re: automating reverse connection to repeater did not work

Post by roja »

Hi yy,
Thanks for the reply.

Actually I'm modifying the source code of winvnc to hide it from the system tray, and task manager's process list. Hence I'm automating the server's connection to repeater to avoid adding a new client manually by right clicking on the tray icon. But I did not find source code for 1.0.6.0 on uvnc website.

Is it not possible with 1.0.5 version of uvnc??.
Where can I get source code for latest release(1.0.6)??.
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: automating reverse connection to repeater did not work

Post by YY »

roja wrote:I'm modifying the source code of winvnc to hide it from the system tray
UVNC server has this feature built-in, at "Admin Properties"

roja wrote:to hide it from .... task manager's process list
I don't know how to make it, but why you want this?


roja wrote:Hence I'm automating the server's connection to repeater to avoid adding a new client manually by right clicking on the tray icon.
As I said, this can be done with UVNC 1.0.6.x out of box, using the "service_commandline=" feature.


roja wrote:Where can I get source code for latest release(1.0.6)??
At Download Page of UltraVNC 1.0.6.4
roja
8
8
Posts: 8
Joined: 2009-08-12 12:54
Location: lucknow, U.P., India

Re: automating reverse connection to repeater did not work

Post by roja »

Hi yy

Even new version's source code did not solve my problem.
Simply adding the command line in .ini file does not work.
I figured that values from .ini file should be read first before they are used.
So I have to hard code this.
YY wrote:I don't know how to make it, but why you want this?
Currently I'm working on a project in which I was said to do so.
The main Idea behind this is, the parents want to spy their children activities while they surf the internet.
So they want to run the server in stealth mode.

Well, there are several hacks to hide a process from task manager
u can refer this http://w-shadow.com/blog/2006/09/21/hid ... skmanager/
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: automating reverse connection to repeater did not work

Post by YY »

Thanks for the link. :)


Sorry but I don't understand. If
- the UVNC server is installed & run as a service, and
- the setting "service_commandline=-autoreconnect ID:2345 -connect xx.xx.xx.xx:5500" is in the ultravnc.ini,

then everytime this pc boot up, the UVNC_service will be running automatically, and will connect to the repeater (xx.xx.xx.xx) automatically as well.

Why this setup not workable?



Optionally, if you
- disable the TrayIcon, and
- Forbid the user to close UVNC, and
- DON't remove wallpaper, and DON't remove Aero, and
- even hide the uvnc process from TaskMgr

then this will very likely be a stealth operation
Last edited by YY on 2009-09-09 07:59, edited 1 time in total.
Post Reply