Go Back   Computer Forums > General Computing > Software and Operating Systems
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 07-03-2013, 03:29 PM   #1
Fully Optimized
ssc456's Avatar
Join Date: Jan 2007
Posts: 4,279
Send a message via MSN to ssc456
Default Remote Desktop - Logmein / Team Viewer

Hey Guys,

Can someone point me in a vague direction as to how someone like myself might go about creating their own version of an application like Logmein or TeamViewer?

ie a remote desktop application that seemingly doesn't need to open up special ports on the router?

He who has never failed has never attempted anything worth succeeding at.

Dont Eat Animals, Its Not Good For Them And They Dont Like It!
ssc456 is offline   Reply With Quote
Old 07-04-2013, 04:09 AM   #2
Site Team
root's Avatar
Join Date: Mar 2004
Posts: 8,043
Default Re: Remote Desktop - Logmein / Team Viewer

you need a broker service.

Fairly simple theory. mostly all modern firewalls are stateful.

So your client behind the firewall is keeping a connection alive lets assume on port 80. (because that's mostly allowed).

Your client keeps the connection open to the logmein server.
when you say you want to connect rather than just serving a service found and keep polling response the logmein server will respond with a ok serve content message, your host will then send screen refresh information. the servers response dictates mouse movements.

The computer that you use to control your remote host has the screen refresh information relayed from the logmein server, and relays your mouse/keyboard commands it receives to the remote host via the reply port that was negotiated when the remote host opened the original connection.

Of course this means that you need complete trust of the broker service, because you're implicitly sending all your keyboard strokes (passwords etc) to them, and your remote host is sending all screen refresh data through them also.

I would suggest that you start the investigation by creating a telnet server, or message server as a proof of concept so that you're sending very simple and very short messages. brokered by the third party server that you'd need to create.

I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 07-10-2013, 12:39 PM   #3
Daemon Poster
GibsonSGKing's Avatar
Join Date: Jan 2009
Posts: 1,384
Default Re: Remote Desktop - Logmein / Team Viewer

Maybe some sort of VNC client?
C2Q Q9400 @ 3.2GHZ | Zalman 9900 LED HeatSink | Asus P5E3 Pro Motherboard | CM Storm Scout case | 1TB Caviar Black HDD | GTX760 4GB | 23" Acer [1920x1080] & 21.6" Asus [1920x1080] monitors
GibsonSGKing is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 07:01 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0