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

Contribution: List/Management of incoming connections

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Post Reply
Rtrdo
Posts: 2
Joined: 2010-02-05 14:09

Contribution: List/Management of incoming connections

Post by Rtrdo »

Hi!

I've been busy with chunk lately, and have come up with the following aimed at IT helpdesks:

Modified InstantSupport.exe:
Asks user for a Name, Company and Question before connecting
Sends the generated ID number, and above answers to a webserver.

Webserver:
Keeps a log of these incoming connection, and stores a status (currently New or Open)

Connection Manager:
Queries the webserver for avilable connections and lists them.
If a connection's status is New, pops up a dialogue box informing helpdesk staff - presents name, company question etc
Helpdesk staff can open any new or existing connection with a click, rather than asking for an ID number.
Crashes occasionally, see notes :)

I've linked to a zip file which only contains modified source code, and installation instructions.
http://www.megaupload.com/?d=KAOQ7B4X

Due to being away from the office (where I coded this), I've made a few changes and tidied up slightly, but havent been able to fully test this version, but it should be ok.

Installation Guide:


How to upgrade an existing chunk installation to support the connection manager:


You need:
A webserver running PHP
A MySQL Database
A VNC Repeater address (Existing chunkVNC users should already have one of these)



1) Set up the webserver and database

Copy the contents of the WEB folder to a folder of your choice on your webserver.
Edit db.php to include login details for your MySQL server.
Edit security.php to include a random password (I mashed the keyboard, then copy and paste!)
- This password needs to be pasted into: /SRC/security.au3 before compilation.
Run http://yourserverURL/installsql.php to create the DB Schema.

2) Configure and Compile InstantSupport.exe

Edit SRC\InstantSupport.au3, line 12.
Set the Webserver URL.

3) Compile InstantSupport.exe as per the usual chunkVNC instructions (Compile.exe, fill in addresses etc)

4) Test.

If the instantsupport.exe side of things is working correctly, then you should get an entry in the database with the corresponding ID number and whatever text you entered.
Also, your repeater directory should have a text file named (idnumber).txt appear.
If both of those are true, then you should be able to run viewer\manager.au3 (you either need Auto-IT installed, or maybe someone can arrange this to be compiled with the other stuff?)

When running, the Manager will list all connection IDs, text details entered by the client, data/time and a status. New connections will have a status of 'New' This tells the manager to pop up a window and beep to say a new connection is available. Once a connection has been opened, status is changed to 'Open' so the connection will appear in the list but not pop any windows up.

#### Needs to be done ####

Better security. My efforts took 15 minutes, I was in a rush.

Full integration into the chunk compiler:
specify a password once
sqlserver logins
Webserver address
Compile Manager.ua3

Have the manager poll the webserver once a 'New Connection' popup has opened, incase someone else opens that connection. ( this is targeted at a helpdesk with multiple users )


#### Notes and Bugs ####

Seems to work OK, but havent used it all day long yet, just bits and pieces, so its not fully tested.
All the original ChunkVNC code from 3.2 is still intact, I have avoided modifying that wherever possible.

The Connection Manager seems to stop opening new connections and/or under certain circumstances. Once a few connections have been made, I think. This needs fixing, but I'm at a loss. Pretty sure its something to do with the AutoIT GUI controls.

Finally, this is by no means production quality controls. I had a little bit of spare time over the course of a week, and I concentrated on getting all the bits in place and working, rather than quality code. If I get time I will update this and fix things, but its more likely I wont. If you do use this code, then please contribute any changes back to ChunkVNC (as I have done). Also, my coding skills are crap. I know this, but it seems to work anyway. I'm hoping this will get picked up by the main tree, and someone else will do a proper job!

Thanks.
Ben
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Contribution: List/Management of incoming connections

Post by supercoe »

Awesome stuff, can't wait to check this out.
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
ketul
Posts: 1
Joined: 2012-04-18 10:41

Re: Contribution: List/Management of incoming connections

Post by ketul »

You can send me the zip to study it.
fedriani
Posts: 2
Joined: 2010-05-27 11:58
Location: Madrid
Contact:

Re: Contribution: List/Management of incoming connections

Post by fedriani »

Since the fall megaupload servers, Could you provide another site for download and study of this version?
theodorep63
Posts: 2
Joined: 2011-06-15 07:37

Re: Contribution: List/Management of incoming connections

Post by theodorep63 »

Could any one upload the zip file, please?

Theodore
Post Reply