What protocol does TeamViewer use?

11

5

I was just teaching someone a little about SSH & VNC. I said I'd show him some things with TeamViewer. Then he asked me "Soo.. is this a VNC client?
And I wasn't sure.

What protocol does TeamViewer use? It's obviously similar to VNC & RDP and so on. However, I can't seem to find much information on it.

voices

Posted 2015-10-10T22:43:50.063

Reputation: 2 053

3

security.stackexchange.com duplicate: How Team Viewer establish Remote Desktop Connection

– DavidPostill – 2015-10-10T22:53:41.980

Answers

23

TeamViewer uses its own proprietary protocol. It is not documented, though its authentication layer has been partially analyzed:

It is similar to RDP or VNC (RFB) in purpose, but includes NAT traversal, has slightly different authentication methods (the one-time PINs), supports file transfer & chat, and adapts to network conditions dynamically.

user1686

Posted 2015-10-10T22:43:50.063

Reputation: 283 655

2The NAT traversal must be possible because it is not peer-to-peer, as there is a server to establish connection, unlike RDP and VNC. – paradroid – 2015-10-10T23:12:49.260

It's mostly peer-to-peer. Quite a few protocols (e.g. pre-MS Skype) only use central nodes purely for NAT hole punching, not for data relaying. – user1686 – 2016-08-15T11:58:56.823

Could you elaborate on the NAT traversal / hole punching part? – voices – 2018-09-06T16:58:18.727