Require pre-shared key with SecureVNC?

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

Require pre-shared key with SecureVNC?

Postby Zane » 2011-04-11 09:23

Hi,
is it possibile to REQUIRE the use of a pre-shared key with SecureVNC and refuse any other connection?

Thanks :)
Zane
8
8
 
Posts: 13
Joined: 2006-05-26 14:44

Re: Require pre-shared key with SecureVNC?

Postby YY » 2011-04-12 02:31

In normal connection -- YES


In reverse connection -- NO.
If the key is omitted at server end, the listening viewer will still accept the connection without notification (still working under encryption, but not using the original pre-shared key.


Reference Possible Bug ?? SecureVNC -- Client Authentication Keys for more detail.
YY
200
200
 
Posts: 978
Joined: 2006-11-13 15:11

Re: Require pre-shared key with SecureVNC?

Postby Zane » 2011-04-12 09:52

Thanks YY,
I'm talking about direct, client-initiated connection.

In this scenario, how can I configure the server to refuse the connection if the client doesn't provide the pre-shared key (instead of generate a new one on the fly)?
Zane
8
8
 
Posts: 13
Joined: 2006-05-26 14:44

Re: Require pre-shared key with SecureVNC?

Postby YY » 2011-04-12 15:46

Not necessary to config the server to reject such a connection

For a server using SecureVNC with xxxx_Server_ClientAuth.pubkey,
a viewer without the corresponding xxxx_Viewer_ClientAuth.pkey is not able to establish a connection with that server. After input the password, an error message will be returned.
YY
200
200
 
Posts: 978
Joined: 2006-11-13 15:11

Re: Require pre-shared key with SecureVNC?

Postby Zane » 2011-04-15 15:28

That worked! I was renaming the files keeping only the "foo_" part as a match.

As soon as I used the original filename, the server started to reject any other client.

Thank you again!
Zane
8
8
 
Posts: 13
Joined: 2006-05-26 14:44


Return to DSM plugin

Who is online

Users browsing this forum: No registered users and 0 guests