News for hackers. Stuff that matters.
Re:Tinc – A Virtual Private Network (VPN) Daemon by tptacek on Saturday July 04, 2020 @07:59PM (#23735733)
WireGuard is like a modernized version of the SPTPS protocol --- SPTPS is a denatured variant of TLS --- that tinc uses, (ordinarily) coupled to the Linux networking stack. It is something you would build a modern version of tinc on top of, not a competitor to tinc. See Tailscale for an example of something that looks a lot like tinc, but built on WireGuard.

Tinc's security track record has not been especially great†, and while WireGuard and tinc are both written in C, tinc is a great ghastly blob of C, and WireGuard was written defensively by a vulnerability researcher to minimize attack surface --- the whole thing is about 4000 lines of code, and can be run without memory allocation.

So if you were just comparing SPTPS to WireGuard, it'd be no contest at all: you'd always, always prefer WireGuard. And that's what most people should do, because most people run simple access VPNs that don't need elaborate mesh routing features. For the minority that do, for now, there's Tailscale and Tinc; maybe Tinc can do a 2.0 on top of WireGuard, with its userland components in a memory-safe language.

† This, in particular, is not the commit message you want to see in a fix for an error oracle vulnerability: https://www.tinc-vpn.org/git/browse?p=tinc;a=commit;h=d3297f...

Re:Tinc – A Virtual Private Network (VPN) Daemon by marcrosoft on Saturday July 04, 2020 @09:31PM (#23736046)
Thanks for the rundown. I’m already using wireguard so I’ll stick with that and hopefully figure out some of the kernel upgrade issues I’ve ran into.

Tailscale is an automatic no for me. I won’t use proprietary software for something as important as this. Even with tincs history I’d much rather go with opensource.

Re:Tinc – A Virtual Private Network (VPN) Daemon by bradfitz on Saturday July 04, 2020 @11:46PM (#23736456)
Hi, Tailscale person here.

If you haven't seen it, an open source implementation of the server: https://github.com/juanfont/headscale.

The Linux & Android clients are fully open source. The Mac GUI is closed, but the "Linux" client runs on macOS, sans GUI. (Also runs on BSDs, and I believe Windows)

At that point, only the iOS and Windows GUI app is closed, but they're both super thin wrappers around the open source Go implementations.

But, yes, it's true that we're not entirely open. We'd planned to release a simple server implementation when we got it cleaned up, but then Headscale beat us. That seems like the most important missing bit.

Re:Tinc – A Virtual Private Network (VPN) Daemon by xyzzy_plugh on Saturday July 04, 2020 @10:48PM (#23736268)
Tailscale is open source. Your data might route through their servers (e.g. STUN) but it's E2E encrypted, which you can verify easily.
Re:Tinc – A Virtual Private Network (VPN) Daemon by opqpo on Sunday July 05, 2020 @03:14AM (#23737099)
It is NOT. It's a paid commercial software where only the client is open source.
Re:Tinc – A Virtual Private Network (VPN) Daemon by sigjuice on Saturday July 04, 2020 @08:58PM (#23735936)
There's no commit message here at all

  400 - Invalid hash parameter 
Looks like the URL doesn't work because it picked up an asterisk somehow.
Re:Tinc – A Virtual Private Network (VPN) Daemon by tptacek on Saturday July 04, 2020 @09:28PM (#23736034)
Fixed. Thanks!