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

Cannot Connect via DSM when Port Forwarding...

Should you have problems with the DSM plugin, here's the place to look for help or report issues
Post Reply
Marko

Cannot Connect via DSM when Port Forwarding...

Post by Marko »

I've got the problem, that i cannot connect to the UVNC Server if i'm using Port forwarding and the DMS Plugin included with UVNC 1.0.1.

If I'm connecting to the regular port which is also set in the WinVNC settings (eg. 5900) it works properly, if I'm trying to connect from Internet to another port (eg. 5953) wich is Forwarded to the port 5900 the VNC Viewer keeps "Negotiating the Protocol version". And nothing happens.

I also tried this with a local port forwarder. (AnalogX) I forwarded my Port 25 to 5900 and nothing happens... If i'm using port 5900 it works...

Maybe this is a bug of the plugin or of UltraVNC itself, or I'm doing something wrong...

I already searched the forum and found some similar problems but no solution cause the problem was not reproduceable. Maybe now you can reproduce it...
Marko

Log Files...

Post by Marko »

Here are the 4 log files...

Win VNCC log doesnt change.... :-(

WinVNC:

Code: Select all

C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncserver.cpp : authhosts cleared
 --Der Vorgang wurde erfolgreich beendet.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncproperties.cpp : clearing user settings
 --Der Vorgang wurde erfolgreich beendet.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncPasswd.h : PASSWD : FromClear called
 --Der Vorgang wurde erfolgreich beendet.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncproperties.cpp : loading DEFAULT local settings
 --Der Vorgang wurde erfolgreich beendet.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncproperties.cpp : loading "MOE" global settings
 --Der Vorgang wurde erfolgreich beendet.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncserver.cpp : trying port number 5900
 --Der Vorgang wurde erfolgreich beendet.
Fri Aug 26 10:15:15 2005
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vsocket.cpp : closing socket
 --Der Vorgang wurde erfolgreich beendet.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncsockconnect.cpp : started socket connection thread
 --Der Vorgang wurde erfolgreich beendet.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vnchttpconnect.cpp : started HTTP server thread
 --Der Vorgang wurde erfolgreich beendet.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncserver.cpp : DSMPlugin Params OK
 --Der Vorgang wurde erfolgreich beendet.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncPasswd.h : PASSWD : ToText called
 --Der Vorgang wurde erfolgreich beendet.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncpropertiesPoll.cpp : Reset Reg
 --Der Vorgang wurde erfolgreich beendet.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncpropertiesPoll.cpp : clearing user settings
 --Überlappender E/A-Vorgang wird verarbeitet.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncpropertiesPoll.cpp : loading DEFAULT local settings
 --Das System kann die angegebene Datei nicht finden.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncpropertiesPoll.cpp : loading "MOE" global settings
 --Der Vorgang wurde erfolgreich beendet.
WinVNC - RC4:

Code: Select all

08/26/05 10:15:15 : StartUp
08/26/05 10:15:15 : NOREG MS RC4 NoReg Plugin,Sean E. Covel,Mar 12 2005,1.1.8.0,MSRC4Plugin_NoReg.dsm
08/26/05 10:15:15 : GetEnvVar (getenv) dsmdebug = 1 
08/26/05 10:15:15 : dsmdebug = 1
08/26/05 10:15:15 : Set Params
08/26/05 10:15:15 : NOREG MS RC4 NoReg Plugin,Sean E. Covel,Mar 12 2005,1.1.8.0,MSRC4Plugin_NoReg.dsm
08/26/05 10:15:15 : InitVars
08/26/05 10:15:15 : GetCryptoVersion.
08/26/05 10:15:15 : Acquiring the Crypto Context.
08/26/05 10:15:15 : Crypto acquired a Crypto Provider Context. 
08/26/05 10:15:15 : Crypto Version = 2
08/26/05 10:15:15 : OS is 'Windows 2000'
08/26/05 10:15:15 : Using provider 'Microsoft Enhanced Cryptographic Provider v1.0'
08/26/05 10:15:15 : Max Key Length 128
08/26/05 10:15:15 : GetEnvVar (registry) programfiles = C:\Programme 
08/26/05 10:15:15 : SetParams - StartUp.
08/26/05 10:15:15 : ***** SERVER -> Application *****
08/26/05 10:15:15 : Trying to find the key file
08/26/05 10:15:15 : Looking at msrc4pluginkey
08/26/05 10:15:15 : GetEnvVar (getenv) msrc4pluginkey = "c:\program files\UltraVNC\rc4.key" 
08/26/05 10:15:15 : msrcpluginkey "c:\program files\UltraVNC\rc4.key"
08/26/05 10:15:15 : Looking for rc4.key
08/26/05 10:15:15 : Found key at rc4.key
08/26/05 10:15:15 : CreateContainer MSRC4Plugin
08/26/05 10:15:15 : A crypto context with the MSRC4Plugin key container already exists.
08/26/05 10:15:15 : A signature key is available.
08/26/05 10:15:15 : An exchange key exists. 
08/26/05 10:15:15 : Key Container is ready for use.
08/26/05 10:15:15 : CryptAcquireContext |18205384| |MSRC4Plugin| |Microsoft Enhanced Cryptographic Provider v1.0| |1| |0|
08/26/05 10:15:15 : CreateContainer MSRC4Plugin
08/26/05 10:15:15 : A crypto context with the MSRC4Plugin key container already exists.
08/26/05 10:15:15 : A signature key is available.
08/26/05 10:15:15 : An exchange key exists. 
08/26/05 10:15:15 : Key Container is ready for use.
08/26/05 10:15:15 : CryptAcquireContext |18205388| |MSRC4Plugin| |Microsoft Enhanced Cryptographic Provider v1.0| |1| |0|
08/26/05 10:15:15 : Reading KeyBlob
08/26/05 10:15:15 : Importing ExponentOfOne KeyBlob
08/26/05 10:15:15 : Importing KEY KeyBlob
08/26/05 10:15:15 : Reading KeyBlob
08/26/05 10:15:15 : Importing ExponentOfOne KeyBlob
08/26/05 10:15:15 : Importing KEY KeyBlob
08/26/05 10:15:15 : Key File Read.
VNC Viewer:

Code: Select all

Started and Winsock (v 2) initialised
bufsize expanded to 4352
Registered connection with app
Saving connection info
Saving to 

C:\DOKUME~1\MOE\LOCALS~1\Temp\options.vnc
Viewer is C:\Programme\UltraVNC\vncviewer.exe
Connected to localhost port 25
rdr::Exception 

(2): rdr::EndOfStream
Error reading protocol version: rdr::EndOfStream
Deregistered connection from app
Exiting
VNC viewer closing 

down
Viewer RC4:

Code: Select all

08/26/05 10:17:22 : StartUp
08/26/05 10:17:22 : NOREG MS RC4 NoReg Plugin,Sean E. Covel,Mar 12 2005,1.1.8.0,MSRC4Plugin_NoReg.dsm
08/26/05 10:17:23 : GetEnvVar (getenv) dsmdebug = 1 
08/26/05 10:17:23 : dsmdebug = 1
08/26/05 10:17:23 : Set Params
08/26/05 10:17:23 : NOREG MS RC4 NoReg Plugin,Sean E. Covel,Mar 12 2005,1.1.8.0,MSRC4Plugin_NoReg.dsm
08/26/05 10:17:23 : InitVars
08/26/05 10:17:23 : GetCryptoVersion.
08/26/05 10:17:23 : Acquiring the Crypto Context.
08/26/05 10:17:23 : Crypto acquired a Crypto Provider Context. 
08/26/05 10:17:23 : Crypto Version = 2
08/26/05 10:17:23 : OS is 'Windows 2000'
08/26/05 10:17:23 : Using provider 'Microsoft Enhanced Cryptographic Provider v1.0'
08/26/05 10:17:23 : Max Key Length 128
08/26/05 10:17:23 : GetEnvVar (registry) programfiles = C:\Programme 
08/26/05 10:17:23 : SetParams - StartUp.
08/26/05 10:17:23 : ***** VIEWER Application *****
08/26/05 10:17:23 : Trying to find the key file
08/26/05 10:17:23 : Looking at msrc4pluginkey
08/26/05 10:17:23 : GetEnvVar (getenv) msrc4pluginkey = "c:\program files\UltraVNC\rc4.key" 
08/26/05 10:17:23 : msrcpluginkey "c:\program files\UltraVNC\rc4.key"
08/26/05 10:17:23 : Looking for rc4.key
08/26/05 10:17:23 : Found key at rc4.key
08/26/05 10:17:23 : CreateContainer MSRC4Plugin
08/26/05 10:17:23 : A crypto context with the MSRC4Plugin key container already exists.
08/26/05 10:17:23 : A signature key is available.
08/26/05 10:17:23 : An exchange key exists. 
08/26/05 10:17:23 : Key Container is ready for use.
08/26/05 10:17:23 : CryptAcquireContext |12176072| |MSRC4Plugin| |Microsoft Enhanced Cryptographic Provider v1.0| |1| |0|
08/26/05 10:17:23 : CreateContainer MSRC4Plugin
08/26/05 10:17:23 : A crypto context with the MSRC4Plugin key container already exists.
08/26/05 10:17:23 : A signature key is available.
08/26/05 10:17:23 : An exchange key exists. 
08/26/05 10:17:23 : Key Container is ready for use.
08/26/05 10:17:23 : CryptAcquireContext |12176076| |MSRC4Plugin| |Microsoft Enhanced Cryptographic Provider v1.0| |1| |0|
08/26/05 10:17:23 : Reading KeyBlob
08/26/05 10:17:23 : Importing ExponentOfOne KeyBlob
08/26/05 10:17:23 : Importing KEY KeyBlob
08/26/05 10:17:23 : Reading KeyBlob
08/26/05 10:17:23 : Importing ExponentOfOne KeyBlob
08/26/05 10:17:23 : Importing KEY KeyBlob
08/26/05 10:17:23 : Key File Read.
08/26/05 10:17:27 : Shutting Down.


scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

Post by scovel »

Marko,

Can you connect locally without the plugin? (Locally, as in over your LAN from one machine to another. If you are testing from your local machine TO the same machine you need to allow "loopback" connections or it will never work.)

Can you connect locally WITH the plugin?

Can you connect through the port without the plugin?

Sean
lambda379
Posts: 2
Joined: 2005-09-05 15:30

Post by lambda379 »

I have the same problem. I can't connect to the UVNC server using port forwarding with the DMS plugin enabled. If I disable the plugin, I'm able to connect. I am able to connect to the server through my home network (not port forwarding) with the plugin enabled.
scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

Post by scovel »

Details, details, I need details!

What OS are you connecting from/to. Got some logs? VNC and plugin logs. What's the firewall? Are there any log entries in the firewall when you are attempting the connection?

Sean
lambda379
Posts: 2
Joined: 2005-09-05 15:30

Post by lambda379 »

Here are my details.

Windows XP Pro To and From
Linksys Router RT31P2 Firewall

The logs below were created by first the successfully connection via my home network and second the unsuccessfully try using port forwarding.

WinVNC log

Code: Select all

C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : disable update thread
 --Overlapped I/O operation is in progress.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : enable/disable synced
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : kill update thread
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : stopping update thread
 --The operation completed successfully.
client sent 19 updates
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : update thread gone
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncserver.cpp : removing authorised client
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncserver.cpp : deleting desktop server
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : killing screen server
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktopthread.cpp : quitting desktop server thread
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : Monitor2 -1
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : Monitor3 61808 -1
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\videodriver.cpp : ~vncVideodriver() 
 --Access is denied.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\videodriver.cpp : StopMirroring() 
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\videodriver.cpp : DesActivate_video_driver() 
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncservice.cpp : SelectHDESK to Default (7dc) from 7dc
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncservice.cpp : SelectHDESK failed to close old desktop 7dc (Err=170)
 --The requested resource is in use.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncserver.cpp : desktop deleted
 --Invalid window handle.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncserver.cpp : RemoveClient() done
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : ~vncClient() executing...
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : deleting socket
 --Invalid window handle.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vsocket.cpp : closing socket
 --The operation completed successfully.
Mon Sep 05 21:26:25 2005
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : vncClient() executing...
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : TEST 4
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncserver.cpp : AddClient() done
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : client connected : 192.168.15.10 (1)
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : DSMPlugin Pointer to socket OK
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : m_ms_logon set to false --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : negotiated version
 --The operation completed successfully.
Entered InitAuthenticate --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncPasswd.h : PASSWD : ToText called
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : loopback connection attempted - client accepted
 --The operation completed successfully.
password authentication --The operation completed successfully.
Mon Sep 05 21:26:32 2005
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : initialising desktop handler
 --The handle is invalid.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncDesktopSW.cpp : SWinit 
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktopthread.cpp : Hook changed 1
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktopthread.cpp : Hook changed 2
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : KillScreenSaver...
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : InitVideo driver Called no Temp_Resolution
 --The system cannot find the file specified.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : Driver option enabled 
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : Driver option is enabled
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\videodriver.cpp : vncVideodriver() 
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\videodriver.cpp : Activate_video_driver() 
 --The operation completed successfully.
Mon Sep 05 21:26:33 2005
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\videodriver.cpp : ChangeDisplaySettingsEx returned 0
 --The handle is invalid.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : Start Mirror driver
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\videodriver.cpp : StartMirroring() 
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : Driver Used
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : Shared memory mapped
 --The operation completed successfully.
Mon Sep 05 21:26:34 2005
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : Driver option dsiabled 
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : Break log
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : bitmap dimensions are 1024 x 768
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : created memory bitmap
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : got bitmap format
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : attempting to enable DIBsection blits
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : enabled fast DIBsection blits OK
 --Not enough storage is available to process this command.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : no palette data for truecolour display
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\videodriver.cpp :  Driver Communication service found 
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : Removing real Dib buffer and replace by driver communication buffer
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncbuffer.cpp : request local buffer[3145728]
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncbuffer.cpp : fast blits detected - using DIBsection buffer
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncbuffer.cpp : local buffer=3145728
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncDesktopSW.cpp : GetQuarterSize 
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncDesktopSW.cpp : GetQuarterSize 
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncEncodeMgr.h : raw encoder requested
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncencoder.cpp : settranslatefunction called
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncencoder.cpp : only 8, 16 or 32 bits supported remotely - 0 requested
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncencoder.cpp : settranslatefunction called
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncencoder.cpp : no translation required
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : SethookMechanism called
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktop.cpp : Sethook_restart_wanted hook=0 driver=1 
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncEncodeMgr.h : request client buffer[3145740]
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncserver.cpp : Authenticated() done
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : authenticated connection
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncbuffer.cpp : request local buffer[3145728]
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncbuffer.cpp : fast blits detected - using DIBsection buffer
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncbuffer.cpp : local buffer=3145728
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : init update thread
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncclient.cpp : starting update thread
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktopthread.cpp : updates, rects -2109889813 -746
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktopthread.cpp : Nr rects 1 
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktopthread.cpp : Hook changed 
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktopthread.cpp : updates, rects 12 -12
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktopthread.cpp : Nr rects 1 
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktopthread.cpp : updates, rects 171 -171
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktopthread.cpp : Nr rects 1 
 --The operation completed successfully.
C:\c++\Z_Rel100\ultravnc\winvnc\winvnc\vncdesktopthread.cpp : updates, rects 47 -47
 --The operation completed successfully.
msrc4.log

Code: Select all

09/05/05 20:51:57 : StartUp
09/05/05 20:51:57 : REGISTRY MS RC4 Plugin,Sean E. Covel,Mar 12 2005,1.1.9.6,MSRC4Plugin.dsm
09/05/05 20:51:57 : Trying to find the key file
09/05/05 20:51:57 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 20:51:57 : Looking at msrc4pluginkey
09/05/05 20:51:57 : GetEnvVar (getenv) msrc4pluginkey =  
09/05/05 20:51:57 : Looking for rc4.key
09/05/05 20:51:57 : GetParams. NothingNeeded
09/05/05 20:51:57 : Set Params
09/05/05 20:51:57 : REGISTRY MS RC4 Plugin,Sean E. Covel,Mar 12 2005,1.1.9.6,MSRC4Plugin.dsm
09/05/05 20:51:57 : InitVars
09/05/05 20:51:57 : GetCryptoVersion.
09/05/05 20:51:57 : Acquiring the Crypto Context.
09/05/05 20:51:57 : Crypto acquired a Crypto Provider Context. 
09/05/05 20:51:57 : Crypto Version = 2
09/05/05 20:51:57 : OS is 'Windows XP'
09/05/05 20:51:57 : Using provider ''
09/05/05 20:51:57 : Max Key Length 128
09/05/05 20:51:57 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 20:51:57 : SetParams - StartUp.
09/05/05 20:51:57 : ***** VIEWER Application *****
09/05/05 20:51:57 : Trying to find the key file
09/05/05 20:51:57 : Looking at the registry
09/05/05 20:51:57 : Looking for C:\Program Files\ultravnc\rc4.key
09/05/05 20:51:57 : Using VERIFY_CONTEXT
09/05/05 20:51:57 : CryptAcquireContext |268492456| || || |1| |-268435456|
09/05/05 20:51:57 : Using VERIFY_CONTEXT
09/05/05 20:51:57 : CryptAcquireContext |268492460| || || |1| |-268435456|
09/05/05 20:51:57 : Found key at C:\Program Files\ultravnc\rc4.key
09/05/05 20:51:57 : Reading KeyBlob
09/05/05 20:51:57 : Importing ExponentOfOne KeyBlob
09/05/05 20:51:57 : Importing KEY KeyBlob
09/05/05 20:51:57 : Reading KeyBlob
09/05/05 20:51:57 : Importing ExponentOfOne KeyBlob
09/05/05 20:51:57 : Importing KEY KeyBlob
09/05/05 20:51:57 : Key File Read.
09/05/05 20:53:45 : Shutting Down.

09/05/05 20:54:13 : StartUp
09/05/05 20:54:13 : REGISTRY MS RC4 Plugin,Sean E. Covel,Mar 12 2005,1.1.9.6,MSRC4Plugin.dsm
09/05/05 20:54:13 : Trying to find the key file
09/05/05 20:54:13 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 20:54:13 : Looking at msrc4pluginkey
09/05/05 20:54:13 : GetEnvVar (getenv) msrc4pluginkey =  
09/05/05 20:54:13 : Looking for rc4.key
09/05/05 20:54:13 : GetParams. NothingNeeded
09/05/05 20:54:13 : Set Params
09/05/05 20:54:13 : REGISTRY MS RC4 Plugin,Sean E. Covel,Mar 12 2005,1.1.9.6,MSRC4Plugin.dsm
09/05/05 20:54:13 : InitVars
09/05/05 20:54:13 : GetCryptoVersion.
09/05/05 20:54:13 : Acquiring the Crypto Context.
09/05/05 20:54:13 : Crypto acquired a Crypto Provider Context. 
09/05/05 20:54:13 : Crypto Version = 2
09/05/05 20:54:13 : OS is 'Windows XP'
09/05/05 20:54:13 : Using provider ''
09/05/05 20:54:13 : Max Key Length 128
09/05/05 20:54:13 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 20:54:13 : SetParams - StartUp.
09/05/05 20:54:13 : ***** VIEWER Application *****
09/05/05 20:54:13 : Trying to find the key file
09/05/05 20:54:13 : Looking at the registry
09/05/05 20:54:13 : Looking for C:\Program Files\ultravnc\rc4.key
09/05/05 20:54:13 : Using VERIFY_CONTEXT
09/05/05 20:54:13 : CryptAcquireContext |268492456| || || |1| |-268435456|
09/05/05 20:54:13 : Using VERIFY_CONTEXT
09/05/05 20:54:13 : CryptAcquireContext |268492460| || || |1| |-268435456|
09/05/05 20:54:13 : Found key at C:\Program Files\ultravnc\rc4.key
09/05/05 20:54:13 : Reading KeyBlob
09/05/05 20:54:13 : Importing ExponentOfOne KeyBlob
09/05/05 20:54:13 : Importing KEY KeyBlob
09/05/05 20:54:13 : Reading KeyBlob
09/05/05 20:54:13 : Importing ExponentOfOne KeyBlob
09/05/05 20:54:13 : Importing KEY KeyBlob
09/05/05 20:54:13 : Key File Read.
09/05/05 20:54:40 : Shutting Down.

09/05/05 20:55:31 : StartUp
09/05/05 20:55:31 : REGISTRY MS RC4 Plugin,Sean E. Covel,Mar 12 2005,1.1.9.6,MSRC4Plugin.dsm
09/05/05 20:55:31 : Trying to find the key file
09/05/05 20:55:31 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 20:55:31 : Looking at msrc4pluginkey
09/05/05 20:55:31 : GetEnvVar (getenv) msrc4pluginkey =  
09/05/05 20:55:31 : Looking for rc4.key
09/05/05 20:55:31 : GetParams. NothingNeeded
09/05/05 20:55:31 : Set Params
09/05/05 20:55:31 : REGISTRY MS RC4 Plugin,Sean E. Covel,Mar 12 2005,1.1.9.6,MSRC4Plugin.dsm
09/05/05 20:55:31 : InitVars
09/05/05 20:55:31 : GetCryptoVersion.
09/05/05 20:55:31 : Acquiring the Crypto Context.
09/05/05 20:55:32 : Crypto acquired a Crypto Provider Context. 
09/05/05 20:55:32 : Crypto Version = 2
09/05/05 20:55:32 : OS is 'Windows XP'
09/05/05 20:55:32 : Using provider ''
09/05/05 20:55:32 : Max Key Length 128
09/05/05 20:55:32 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 20:55:32 : SetParams - StartUp.
09/05/05 20:55:32 : ***** VIEWER Application *****
09/05/05 20:55:32 : Trying to find the key file
09/05/05 20:55:32 : Looking at the registry
09/05/05 20:55:32 : Looking for C:\Program Files\ultravnc\rc4.key
09/05/05 20:55:32 : Using VERIFY_CONTEXT
09/05/05 20:55:32 : CryptAcquireContext |268492456| || || |1| |-268435456|
09/05/05 20:55:32 : Using VERIFY_CONTEXT
09/05/05 20:55:32 : CryptAcquireContext |268492460| || || |1| |-268435456|
09/05/05 20:55:32 : Found key at C:\Program Files\ultravnc\rc4.key
09/05/05 20:55:32 : Reading KeyBlob
09/05/05 20:55:32 : Importing ExponentOfOne KeyBlob
09/05/05 20:55:32 : Importing KEY KeyBlob
09/05/05 20:55:32 : Reading KeyBlob
09/05/05 20:55:32 : Importing ExponentOfOne KeyBlob
09/05/05 20:55:32 : Importing KEY KeyBlob
09/05/05 20:55:32 : Key File Read.
09/05/05 20:55:50 : Shutting Down.

09/05/05 21:09:47 : StartUp
09/05/05 21:09:47 : REGISTRY MS RC4 Plugin,Sean E. Covel,Mar 12 2005,1.1.9.6,MSRC4Plugin.dsm
09/05/05 21:09:47 : Trying to find the key file
09/05/05 21:09:47 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 21:09:47 : Looking at msrc4pluginkey
09/05/05 21:09:47 : GetEnvVar (getenv) msrc4pluginkey = "c:\program files\UltraVNC\rc4.key" 
09/05/05 21:09:47 : pluginkey "c:\program files\UltraVNC\rc4.key"
09/05/05 21:09:47 : Looking for rc4.key
09/05/05 21:09:47 : GetParams. NothingNeeded
09/05/05 21:09:47 : Set Params
09/05/05 21:09:47 : REGISTRY MS RC4 Plugin,Sean E. Covel,Mar 12 2005,1.1.9.6,MSRC4Plugin.dsm
09/05/05 21:09:47 : InitVars
09/05/05 21:09:47 : GetCryptoVersion.
09/05/05 21:09:47 : Acquiring the Crypto Context.
09/05/05 21:09:47 : Crypto acquired a Crypto Provider Context. 
09/05/05 21:09:47 : Crypto Version = 2
09/05/05 21:09:47 : OS is 'Windows XP'
09/05/05 21:09:47 : Using provider ''
09/05/05 21:09:47 : Max Key Length 128
09/05/05 21:09:47 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 21:09:47 : SetParams - StartUp.
09/05/05 21:09:47 : ***** SERVER -> Application *****
09/05/05 21:09:47 : Trying to find the key file
09/05/05 21:09:47 : Looking at the registry
09/05/05 21:09:47 : Looking for C:\Program Files\ultravnc\rc4.key
09/05/05 21:09:47 : Using VERIFY_CONTEXT
09/05/05 21:09:47 : CryptAcquireContext |268492456| || || |1| |-268435456|
09/05/05 21:09:47 : Using VERIFY_CONTEXT
09/05/05 21:09:47 : CryptAcquireContext |268492460| || || |1| |-268435456|
09/05/05 21:09:47 : Found key at C:\Program Files\ultravnc\rc4.key
09/05/05 21:09:47 : Reading KeyBlob
09/05/05 21:09:47 : Importing ExponentOfOne KeyBlob
09/05/05 21:09:47 : Importing KEY KeyBlob
09/05/05 21:09:47 : Reading KeyBlob
09/05/05 21:09:47 : Importing ExponentOfOne KeyBlob
09/05/05 21:09:47 : Importing KEY KeyBlob
09/05/05 21:09:47 : Key File Read.
09/05/05 21:10:27 : Reset Plugin.
09/05/05 21:10:27 : Trying to find the key file
09/05/05 21:10:27 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 21:10:27 : Looking at msrc4pluginkey
09/05/05 21:10:27 : GetEnvVar (getenv) msrc4pluginkey = "c:\program files\UltraVNC\rc4.key" 
09/05/05 21:10:27 : pluginkey "c:\program files\UltraVNC\rc4.key"
09/05/05 21:10:27 : Looking for rc4.key
09/05/05 21:12:43 : Shutting Down.

09/05/05 21:12:50 : StartUp
09/05/05 21:12:50 : REGISTRY MS RC4 Plugin,Sean E. Covel,Mar 12 2005,1.1.9.6,MSRC4Plugin.dsm
09/05/05 21:12:50 : Trying to find the key file
09/05/05 21:12:50 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 21:12:50 : Looking at msrc4pluginkey
09/05/05 21:12:50 : GetEnvVar (getenv) msrc4pluginkey = "c:\program files\UltraVNC\rc4.key" 
09/05/05 21:12:50 : pluginkey "c:\program files\UltraVNC\rc4.key"
09/05/05 21:12:50 : Looking for rc4.key
09/05/05 21:12:50 : GetParams. NothingNeeded
09/05/05 21:12:50 : Set Params
09/05/05 21:12:50 : REGISTRY MS RC4 Plugin,Sean E. Covel,Mar 12 2005,1.1.9.6,MSRC4Plugin.dsm
09/05/05 21:12:50 : InitVars
09/05/05 21:12:50 : GetCryptoVersion.
09/05/05 21:12:50 : Acquiring the Crypto Context.
09/05/05 21:12:50 : Crypto acquired a Crypto Provider Context. 
09/05/05 21:12:50 : Crypto Version = 2
09/05/05 21:12:50 : OS is 'Windows XP'
09/05/05 21:12:50 : Using provider ''
09/05/05 21:12:50 : Max Key Length 128
09/05/05 21:12:50 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 21:12:50 : SetParams - StartUp.
09/05/05 21:12:50 : ***** SERVER -> Application *****
09/05/05 21:12:50 : Trying to find the key file
09/05/05 21:12:50 : Looking at the registry
09/05/05 21:12:50 : Looking for C:\Program Files\ultravnc\rc4.key
09/05/05 21:12:50 : Using VERIFY_CONTEXT
09/05/05 21:12:50 : CryptAcquireContext |268492456| || || |1| |-268435456|
09/05/05 21:12:50 : Using VERIFY_CONTEXT
09/05/05 21:12:50 : CryptAcquireContext |268492460| || || |1| |-268435456|
09/05/05 21:12:50 : Found key at C:\Program Files\ultravnc\rc4.key
09/05/05 21:12:50 : Reading KeyBlob
09/05/05 21:12:50 : Importing ExponentOfOne KeyBlob
09/05/05 21:12:50 : Importing KEY KeyBlob
09/05/05 21:12:50 : Reading KeyBlob
09/05/05 21:12:50 : Importing ExponentOfOne KeyBlob
09/05/05 21:12:50 : Importing KEY KeyBlob
09/05/05 21:12:50 : Key File Read.
09/05/05 21:13:20 : Reset Plugin.
09/05/05 21:13:20 : Trying to find the key file
09/05/05 21:13:20 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 21:13:20 : Looking at msrc4pluginkey
09/05/05 21:13:20 : GetEnvVar (getenv) msrc4pluginkey = "c:\program files\UltraVNC\rc4.key" 
09/05/05 21:13:20 : pluginkey "c:\program files\UltraVNC\rc4.key"
09/05/05 21:13:20 : Looking for rc4.key
09/05/05 21:14:39 : Reset Plugin.
09/05/05 21:14:39 : Trying to find the key file
09/05/05 21:14:39 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 21:14:39 : Looking at msrc4pluginkey
09/05/05 21:14:39 : GetEnvVar (getenv) msrc4pluginkey = "c:\program files\UltraVNC\rc4.key" 
09/05/05 21:14:39 : pluginkey "c:\program files\UltraVNC\rc4.key"
09/05/05 21:14:39 : Looking for rc4.key
09/05/05 21:15:21 : Reset Plugin.
09/05/05 21:15:21 : Trying to find the key file
09/05/05 21:15:21 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 21:15:21 : Looking at msrc4pluginkey
09/05/05 21:15:21 : GetEnvVar (getenv) msrc4pluginkey = "c:\program files\UltraVNC\rc4.key" 
09/05/05 21:15:21 : pluginkey "c:\program files\UltraVNC\rc4.key"
09/05/05 21:15:21 : Looking for rc4.key
09/05/05 21:15:47 : Reset Plugin.
09/05/05 21:15:47 : Trying to find the key file
09/05/05 21:15:47 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 21:15:47 : Looking at msrc4pluginkey
09/05/05 21:15:47 : GetEnvVar (getenv) msrc4pluginkey = "c:\program files\UltraVNC\rc4.key" 
09/05/05 21:15:47 : pluginkey "c:\program files\UltraVNC\rc4.key"
09/05/05 21:15:47 : Looking for rc4.key
09/05/05 21:20:33 : Reset Plugin.
09/05/05 21:20:33 : Trying to find the key file
09/05/05 21:20:33 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 21:20:33 : Looking at msrc4pluginkey
09/05/05 21:20:33 : GetEnvVar (getenv) msrc4pluginkey = "c:\program files\UltraVNC\rc4.key" 
09/05/05 21:20:33 : pluginkey "c:\program files\UltraVNC\rc4.key"
09/05/05 21:20:33 : Looking for rc4.key
09/05/05 21:23:02 : Reset Plugin.
09/05/05 21:23:02 : Trying to find the key file
09/05/05 21:23:02 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 21:23:02 : Looking at msrc4pluginkey
09/05/05 21:23:02 : GetEnvVar (getenv) msrc4pluginkey = "c:\program files\UltraVNC\rc4.key" 
09/05/05 21:23:02 : pluginkey "c:\program files\UltraVNC\rc4.key"
09/05/05 21:23:02 : Looking for rc4.key
09/05/05 21:24:37 : Reset Plugin.
09/05/05 21:24:37 : Trying to find the key file
09/05/05 21:24:37 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 21:24:37 : Looking at msrc4pluginkey
09/05/05 21:24:37 : GetEnvVar (getenv) msrc4pluginkey = "c:\program files\UltraVNC\rc4.key" 
09/05/05 21:24:37 : pluginkey "c:\program files\UltraVNC\rc4.key"
09/05/05 21:24:37 : Looking for rc4.key
09/05/05 21:26:25 : Reset Plugin.
09/05/05 21:26:25 : Trying to find the key file
09/05/05 21:26:25 : GetEnvVar (registry) programfiles = C:\Program Files 
09/05/05 21:26:25 : Looking at msrc4pluginkey
09/05/05 21:26:25 : GetEnvVar (getenv) msrc4pluginkey = "c:\program files\UltraVNC\rc4.key" 
09/05/05 21:26:25 : pluginkey "c:\program files\UltraVNC\rc4.key"
09/05/05 21:26:25 : Looking for rc4.key
scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

Post by scovel »

Guys,

You've got me stumped. The plugin logs look fine. I'm at a loss here. Maybe Rudi or Sam have some insight.....????

Do you have "Allow Loopback Connections" checked in the server properties?

I'll try to setup some port-forward tests when I get some time and see if I get the same results.

Sean
tigozilla
Posts: 2
Joined: 2006-03-02 00:34

Post by tigozilla »

I have the same problem. I'm using UltraVnc in LAN using no-reg dsm and it works fine.

I wanted to use it in WAN connection, so I forwarded the port in the router, and tested it by telneting it remotely: telnet host 5800 and had no problem. However, when I try to connect, it takes a few moments and it says negotiating connection protocal before it gives the following error message:


Connection Failed - error reading protocol version

Possible causes:

-You've forgetten to select DSMPlugin and the server uses DSMPlugin
-The selected DSMPlugin is not compatible with the one running on the server
-The selected DSMPlugin is not correctly configured (also possibly on the server)
-The passwored you've possibly entered is incorrect.

I dont know what details you might need, but i made sure i select DSMPlugin no-reg on both sides, the viewer and the server.

I'm also using the same version on both sides 1.0.1 build Aug 6, 2005. And don't know why it might be incompatible.

It never prompted for password.

I'm using Windows XP Pro on both, server and viewer machines.

Thank you for the help. Please let me know if you need more details.

P.S. I tried both, with and without loop back connection enabled. It didnt make any difference that I knew of.
Last edited by tigozilla on 2006-03-02 16:58, edited 2 times in total.
tigozilla
Posts: 2
Joined: 2006-03-02 00:34

Post by tigozilla »

Sorry for bugging you guys. I found my mistake. I was supposed to open port 5900 instead of 5800 on the router. But now since I dont have access to the router, I could switch the ports on the server.
Post Reply