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

AuthHosts= Line cutoff in .INI file

Post Reply
mwend
Posts: 3
Joined: 2015-08-14 18:26

AuthHosts= Line cutoff in .INI file

Post by mwend »

I'm having a line truncation issue with the UltraVNC.INI AuthHosts= line
After troubleshooting it I've found this line is not acting as expected.

I am trying to update our VNC installations with UltraVNC 1.2.0.6.
by unstalling the current, *really* old version of VNC and doing a fresh instal of UltraVNC 1.2.0.6 and copying over an INI file.
I've installed on Win 7 64bit and all is installed fine. The old version used the "registry" for its settings and now
I'm moving to the INI file method. I cut and pasted the old AuthHosts line as follows

AuthHosts=-:?172.26.3.9:?172.26.3.57:?172.26.3.10:?172.26.3.13:?172.26.3.16:?172.26.3.19:?172.26.3.27:?172.26.3.11:?172.24.6.21:?172.22.4.6:?172.24.4.19:?172.26.3.54:?172.18.8.13:?172.18.8.14:?172.18.8.15:

into the INI file and things seem to work ok, until I tried connecting from a computer that was in the list past the 172.24.4.19 IP address (5th from last). Anything past this is getting "Your connection has been rejected". Move the IP's around in the list, meaning move the LAST IP to be the First IP in the list and it would work.
Additionally bringing up the uvnc_settings.exe [Connections tab] the AutHost section, the AuthHost line is truncated and if you hit OK to save the view the INI file it only save the first 150 character (or so) everything else past that is gone. With the testing of VNC viewer to the Host it seems the host is only looking at the first 150 or so characters based on my tests above.

Since this *longer* "AuthHosts=" line worked in previous VNC settings I would expect it to work here too.

Can anyone confirm or suggest idea?

-Mike

My complete UltraVNC.ini file:
[UltraVNC]
passwd=[snip]
passwd2=[snip]
[Permissions]
[admin]
UseRegistry=0
MSLogonRequired=0
NewMSLogon=0
DebugMode=0
Avilog=0
path=C:\Program Files (x86)\Orl\VNC\UltraVNC
accept_reject_mesg=The Helpdesk needs your permission for remote control assistance. Please select the "Accept" Button.
DebugLevel=8
DisableTrayIcon=0
LoopbackOnly=0
UseDSMPlugin=0
AllowLoopback=0
AuthRequired=1
ConnectPriority=1
DSMPlugin=No Plugin Detected
AuthHosts=-:?172.26.3.9:?172.26.3.57:?172.26.3.10:?172.26.3.13:?172.26.3.16:?172.26.3.19:?172.26.3.27:?172.26.3.11:?172.24.6.21:?172.22.4.6:?172.24.4.19:?172.26.3.54:?172.18.8.13:?172.18.8.14:?172.18.8.15:
DSMPluginConfig=
AllowShutdown=0
AllowProperties=0
AllowEditClients=0
FileTransferEnabled=1
FTUserImpersonation=1
BlankMonitorEnabled=1
BlankInputsOnly=0
DefaultScale=1
primary=1
secondary=1
SocketConnect=1
HTTPConnect=1
AutoPortSelect=1
PortNumber=5900
HTTPPortNumber=5800
IdleTimeout=0
IdleInputTimeout=0
RemoveWallpaper=0
RemoveAero=1
QuerySetting=2
QueryTimeout=30
QueryAccept=0
QueryIfNoLogon=0
InputsEnabled=1
LockSetting=0
LocalInputsDisabled=0
EnableJapInput=0
kickrdp=1
clearconsole=0
service_commandline=
FileTransferTimeout=3
KeepAliveInterval=5
[admin_auth]
group1=
group2=
group3=
locdom1=0
locdom2=0
locdom3=0
[poll]
TurboMode=1
PollUnderCursor=0
PollForeground=0
PollFullScreen=1
OnlyPollConsole=0
OnlyPollOnEvent=0
MaxCpu=50
EnableDriver=0
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=
Post Reply