Live data from Hacker News

Show HN: P2P remote desktop – an alternative to TeamViewer / AnyDesk

github.com

81–90 of 100 posts

Re: Show HN: P2P remote desktop – an alternative to TeamViewer / AnyDesk

#81
post #59

The NAT traversal logic here is really basic and won't hold up well in practice. A good chunk of NAT devices will pick external port based on [src ip/port, dst ip/port] combo, not just [src ip/port], so "WAN IP/port" you get from STUN will get you nothing useful. Not by itself. STUNs should be used for discovering the pattern in NAT port overloading logic and then using it to predict which port your peer will use tow…

Anyone know if there are any open-source libraries which wrap this all into a usable `get_{tcp,udp}_connection(peer_id)` API, preferably with fallback to a relay server? I feel like there really should be, but nearly all the tools I’ve seen with this functionality are closed source, and the few open-source things all do their own custom logic rather than a shared library :/

Just curious, what would you use this for and from what language?

Re: Show HN: P2P remote desktop – an alternative to TeamViewer / AnyDesk

#82
post #68
post #52

Earlier quoted context omitted.

I loved hamachi! May I ask what you are up to nowadays?

https://iobureau.com Don’t miss stuff listed under “peanuts”.

Friendly heads-up, your SSL cert shows as untrusted to me.

Re: Show HN: P2P remote desktop – an alternative to TeamViewer / AnyDesk

#83
post #9

Earlier quoted context omitted.

I think the difference is that Teamviewer/AnyDesk is intended mostly for corporate usage. Their software is optimised for images that are mostly static, letting them get away with much less bandwidth without making text blurry or illegible. Standard H.264/H.265 encoded video needs sharpening and extra filters to be both low bandwidth and legible in many cases. Parsec and friends use more bandwidth and hardware resour…

Yes, RDP is mind blowingly good compared to VNC and most other tools for "office" applications. I'm fairly sure for non video/game content it just sends the "vectors" of the UI over which get rendered on your local machine instead of compressed bitmaps (I could be wrong on this though).

You're basically correct. RDP can model and transfer data semantically - i.e. it's not just pixels, but higher order objects like toolbars, buttons, and the like. VNC and most others just do raw image/video transfer, with whatever codecs and compression they choose. Of course, RDP can only use semantic data for apps that support it, and it makes sense these would be official MS apps first.

Re: Show HN: P2P remote desktop – an alternative to TeamViewer / AnyDesk

#84

The NAT traversal logic here is really basic and won't hold up well in practice. A good chunk of NAT devices will pick external port based on [src ip/port, dst ip/port] combo, not just [src ip/port], so "WAN IP/port" you get from STUN will get you nothing useful. Not by itself. STUNs should be used for discovering the pattern in NAT port overloading logic and then using it to predict which port your peer will use tow…

Hamachi saved many a teenage gaming session from connectivity issues. Thank you!

Re: Show HN: P2P remote desktop – an alternative to TeamViewer / AnyDesk

#86
post #82
post #68

Earlier quoted context omitted.

https://iobureau.com Don’t miss stuff listed under “peanuts”.

Friendly heads-up, your SSL cert shows as untrusted to me.

Thanks. It's a Let's Encrypt one. What's your OS/browser?

Re: Show HN: P2P remote desktop – an alternative to TeamViewer / AnyDesk

#88

When I RDP or VNC over Tailscale/Wireguard, isn't this basically what's happening? Sincere question, I don't really get networking all that well.

More or less, in this case apparently there is no server setup. In your case you probably have to configure a wireguard server and forward the router port. Here is just using a public stun google server for discovery

Re: Show HN: P2P remote desktop – an alternative to TeamViewer / AnyDesk

#90
post #82

Earlier quoted context omitted.

Friendly heads-up, your SSL cert shows as untrusted to me.

Thanks. It's a Let's Encrypt one. What's your OS/browser?

Latest Chrome, macOS - your R3 intermediate cert expired "Wednesday, 29 September 2021"
Post reply on HN