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

DSM plugin and multi connexion

Should you have problems with the DSM plugin, here's the place to look for help or report issues
Post Reply
nicola68
Posts: 1
Joined: 2006-08-10 09:58

DSM plugin and multi connexion

Post by nicola68 »

hi,
can't launch vnc viewer from several computers to one server when plugin msrc4 is actived. Any ideas to solve the problem or use cryptage by an other way?
UltraSam
Admin & Developer
Admin & Developer
Posts: 462
Joined: 2004-04-26 20:55
Contact:

Re: DSM plugin and multi connexion

Post by UltraSam »

No solution for now.

When DSM plugin is used on by WinVNC, only one viewer can connect at a time.

We re -slowly- working on a fix for this limitation.

Sorry.
UltraSam
illtud
Posts: 1
Joined: 2006-11-01 10:59

Re: DSM plugin and multi connexion

Post by illtud »

This bug is biting us as well. The server actually crashes if a second connection is attempted (using 1.0.2 both ends, mslogon auth).

Is there anything we can do to help move this development along?

Thanks.
UltraSam
Admin & Developer
Admin & Developer
Posts: 462
Joined: 2004-04-26 20:55
Contact:

Re: DSM plugin and multi connexion

Post by UltraSam »

It's in the top priority list for next version.

The implementation is almost done.
The problem is that backward compatibility is probably broken with existing plugins so it will also require slightly modified plugins.

It's more a question of time than a question of money.

Actually, the more people I see complaining about this the more it pushes me to work on fixing it...
UltraSam
scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

Re: DSM plugin and multi connexion

Post by scovel »

Sam,

I get 1 to 2 Emails a month asking why the plugin breaks multiple connections. I only get 3-4 Emails total about the plugin a month, so half of them are about this issue. :wink:

I'm more than happy to make needed changes to the plugin. When can I get a beta to test with?

Any chance of getting some additional features added while your at it? I'd love to have a way to pass a command-line parameter from UltraVNC into the plugin.

Sean
snsisk
Posts: 2
Joined: 2006-03-16 19:17

Re: DSM plugin and multi connexion

Post by snsisk »

Here is another post requesting multiple connect using encryption. This function is especially important when the user in an established session needs something on the reviewed or assistance with a problem before they proceed.
UltraSam
Admin & Developer
Admin & Developer
Posts: 462
Joined: 2004-04-26 20:55
Contact:

Re: DSM plugin and multi connexion

Post by UltraSam »

Yep Yep Yep

Experimental patch is done.
Currently testing the new code with TestPlugin.
Next one is MSRC4 plugin...
UltraSam
UltraSam
Admin & Developer
Admin & Developer
Posts: 462
Joined: 2004-04-26 20:55
Contact:

Re: DSM plugin and multi connexion

Post by UltraSam »

scovel wrote:Sam,

I get 1 to 2 Emails a month asking why the plugin breaks multiple connections. I only get 3-4 Emails total about the plugin a month, so half of them are about this issue. :wink:

I'm more than happy to make needed changes to the plugin. When can I get a beta to test with?

Any chance of getting some additional features added while your at it? I'd love to have a way to pass a command-line parameter from UltraVNC into the plugin.

Sean
I will put a test version online hopefully this week (if not too much surprises at work with deployements to do by night...).

It's a good occasion to extend the DSMPlugin api if you need it because anyway the backward compatibility gonna be broken.

But for the command line parameter I think we can use the SetParams() function to pass you new command line param (we just have to separate the params with a comma or semicolon for instance).

Do you need a new command or is it an extension of the -dsmplugin command ?
UltraSam
scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

Re: DSM plugin and multi connexion

Post by scovel »

My thought was it would be nice to pass the fully qualified path and filename of the key file to the plugin. It would be nice if that parameter were also saved in the .vnc file. That would make it a nice shortcut to a specific plugin and keyfile.

Of course, if you make it generic enough to pass more than one parameter, I'm sure we can come up with more reasons to use it.

Sean
alter
Posts: 1
Joined: 2006-11-08 16:47

Re: DSM plugin and multi connexion

Post by alter »

I keep getting this error
does this apply to this bug?

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

Re: DSM plugin and multi connexion

Post by scovel »

Depends on what you are doing when that happens. That particular message could mean LOTS of things. Give me some details and I'll see if I can tell you what is wrong.

Sean
UltraSam
Admin & Developer
Admin & Developer
Posts: 462
Joined: 2004-04-26 20:55
Contact:

Re: DSM plugin and multi connexion

Post by UltraSam »

TestPlugin with multiconnection modification seems to work

I've made the MSRC4 1.2.2 modification as well but want to test/fix it further on tomorrow.

Will put online a v1.0.2 + MT MSRC4Plugin 1.2.2 test version as soon as it seems to work


Edit: MSRC4 1.2.2 MT plugin test release may take longer because of this:

http://msdn2.microsoft.com/en-us/library/aa388149.aspx

Still digging...
Last edited by UltraSam on 2006-11-12 22:21, edited 4 times in total.
UltraSam
scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

Re: DSM plugin and multi connexion

Post by scovel »

Sam,

I don't think this is a very big issue. First off, you will only be creating a key container if one doesn't already exist, and this happens in the config dialog. Shouldn't be an issue.

Second, you aren't accessing the same context with multiple threads. Each thread will maintain its own context, so encryption/decryption should always be in order.

Let me know if there are specific issues that I can help you with.

Sean
UltraSam
Admin & Developer
Admin & Developer
Posts: 462
Joined: 2004-04-26 20:55
Contact:

Re: DSM plugin and multi connexion

Post by UltraSam »

scovel wrote:Sam,

I don't think this is a very big issue. First off, you will only be creating a key container if one doesn't already exist, and this happens in the config dialog. Shouldn't be an issue.

Second, you aren't accessing the same context with multiple threads. Each thread will maintain its own context, so encryption/decryption should always be in order.

Let me know if there are specific issues that I can help you with.

Sean
Hi Sean,

I've put everything that should be needed in the plugin "context" struct, including the container name, but as soon as I connect a second viewer i get an error and the first one is dropped.

I send you a mail with more details.
UltraSam
scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

Re: DSM plugin and multi connexion

Post by scovel »

Sam,

Can I get the UltraVNC source and the plugin diffs so I can take a look?

Thanks,

Sean
UltraSam
Admin & Developer
Admin & Developer
Posts: 462
Joined: 2004-04-26 20:55
Contact:

Re: DSM plugin and multi connexion

Post by UltraSam »

Yep Sean. Sorry. I send you a mail today with the modified source code.
UltraSam
trafsta
Posts: 2
Joined: 2006-11-27 17:55

Re: DSM plugin and multi connexion

Post by trafsta »

Great to see that this feature is being worked on. I'm about to roll UltraVNC + MSRC4 DSM Plugin to a dozen computers at remote locations and there is a high chance that more than one user will be connecting to each computer at a time. I think I'll hold out on the rollout as long as possible so I can use the upcoming version that allows shared connections :)

Keep up the good work!
cyclonous_gt
Posts: 1
Joined: 2005-12-17 09:51

Re: DSM plugin and multi connexion

Post by cyclonous_gt »

Hey guys. Is there any development on the dms plugin multi connection already? Im patiently awaiting for this to work because im planning to implement it.
UltraSam
Admin & Developer
Admin & Developer
Posts: 462
Joined: 2004-04-26 20:55
Contact:

Re: DSM plugin and multi connexion

Post by UltraSam »

Still investigating...

Sean is also investigating the remaining problem on his side.
UltraSam
TechFan
Former moderator
Former moderator
Posts: 47
Joined: 2004-05-03 10:34

Re: DSM plugin and multi connexion

Post by TechFan »

Looking good. I have been waiting for this as well. . .
snsisk
Posts: 2
Joined: 2006-03-16 19:17

Re: DSM plugin and multi connexion

Post by snsisk »

Super! I'll be glad to test when you are ready.
trafsta
Posts: 2
Joined: 2006-11-27 17:55

Re: DSM plugin and multi connexion

Post by trafsta »

Any updates on the release of the new multi-connection DSM plugin? I'm deploying this to users within a week or two but I think I'll have to go without the plugin for now if its not going to be ready anytime soon :( Not a HUGE deal of course, but would be nice to get it done right the first time around :)
bitbyte
Posts: 1
Joined: 2007-01-16 15:16

Re: DSM plugin and multi connexion

Post by bitbyte »

Any update on this?

Also, which of the DSM plugins are you working on at this point?

I saw a comment saying that MSRC4 would be next. Which leads me to think you are working on one of the other 2 even tho MSRC4 is what comes with UltraVNC by default.

Thanks for all your hard work!
scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

Re: DSM plugin and multi connexion

Post by scovel »

I haven't been working on any of them recently. Sam/Rudi sent me some code awhile back to test, but I've been swamped. It was a modified MSRC4 plugin. Hopefully I'll get some time to get back at it soon.

Sean
TechFan
Former moderator
Former moderator
Posts: 47
Joined: 2004-05-03 10:34

Re: DSM plugin and multi connexion

Post by TechFan »

It sure would be great to have multiple connections open in one viewer. . .glad it is still in the works at least.
OwenPigott
Posts: 7
Joined: 2007-05-18 16:28

Re: DSM plugin and multi connexion

Post by OwenPigott »

Is it atleast possible to disable multiconnections to avoid the service crashes?

I've tried setting this on the server to not allow new connection when one person is connected. This doesn't work, it crashes anyway.
Post Reply