Skip to contentSkip to conversation

Tunsafe Windows client for wireguard (not opensource yet they say

DISCUSSION Henrique Carrega 4 participants 9 messages Mar 5, 2018

lore
Share & tools
lore
#1 lore raw

Hi Henrique,

Thanks for posting this.

Please stay away from this software, and generally be wary of closed-source WireGuard implementations trying to fill the void. This one was written by a community-unfriendly proprietary author, and we've got little way of ensuring protocol compliance or basic security. Especially from my discussions from him, it's clear what he's up to, and this seems like some nastiness. Should I spend my time reverse engineering this software and discovering zero-days? Probably not a good use of my time, despite my usual love of this sort of thing.

One aspect of the WireGuard project is that we're taking development very carefully and slowly, not jumping to premature releases, and really studying every bit of what we produce in order to ship the least-vulnerable and most-correct code we possibly can. We're still shipping code -- it's not an approach that results in a complete standstill -- but it does mean that in these intervening periods, there will be propheteers and cowboys coming out of the woodwork to fill the void.

It's quite easy to make a tiny tunneling protocol that's reasonably fast and does a few things; if you look on Github there are hundreds. It's quite another thing to write robust and secure software intend to last for a long time. That's what we're working on here.

Fortunately we have two very nice projects that are rapidly approaching maturity: one in Go and one in Rust. I fully welcome future OSS authors into the project. When I'm back from visiting family at the beginning of April, I think we'll be in a good place to have a few first releases.

I'll also do what I can to see that people aren't peddling junk and calling it wireguard, so as to reduce user confusion, but this of course isn't a very easy endeavor. I'm open to suggestions on how to approach this.

Regards,
Jason

#2 lore raw

Just post to alert you:) don=E2=80=99t want to install:)

Sent from my iPhone

Quoted 43 lines · Jason A. Donenfeld

=20
Hi Henrique,
=20
Thanks for posting this.
=20
Please stay away from this software, and generally be wary of closed-source WireGuard implementations trying to fill the void. This one was written by a community-unfriendly proprietary author, and we've got little way of ensuring protocol compliance or basic security. Especially from my discussions from him, it's clear what he's up to, and this seems like some nastiness. Should I spend my time reverse engineering this software and discovering zero-days? Probably not a good use of my time, despite my usual love of this sort of thing.
=20
One aspect of the WireGuard project is that we're taking development very carefully and slowly, not jumping to premature releases, and really studying every bit of what we produce in order to ship the least-vulnerable and most-correct code we possibly can. We're still shipping code -- it's not an approach that results in a complete standstill -- but it does mean that in these intervening periods, there will be propheteers and cowboys coming out of the woodwork to fill the void.
=20
It's quite easy to make a tiny tunneling protocol that's reasonably fast and does a few things; if you look on Github there are hundreds. It's quite another thing to write robust and secure software intend to last for a long time. That's what we're working on here. =20
Fortunately we have two very nice projects that are rapidly approaching maturity: one in Go and one in Rust. I fully welcome future OSS authors into the project. When I'm back from visiting family at the beginning of April, I think we'll be in a good place to have a few first releases.
=20
I'll also do what I can to see that people aren't peddling junk and calling it wireguard, so as to reduce user confusion, but this of course isn't a very easy endeavor. I'm open to suggestions on how to approach this.
=20
Regards,
Jason

#3 lore raw
In reply to Jason A. Donenfeld
Quoted 8 lines · Jason A. Donenfeld

One aspect of the WireGuard project is that we're taking development very carefully and slowly, not jumping to premature releases, and really studying every bit of what we produce in order to ship the least-vulnerable and most-correct code we possibly can. We're still shipping code -- it's not an approach that results in a complete standstill -- but it does mean that in these intervening periods, there will be propheteers and cowboys coming out of the woodwork to fill the void.

I wasn't sure whether to suggest this before, but adding Wireguard support to OpenConnect ought to be fairly easy. We already support three VPN protocols, so we have a *relatively* sane distinction between the protocol-specific parts, and all the OS-specific tun device handling and other bits that would just be gratuitous wheel-reinvention for you.

It basically gives you support for Windows, Solaris, OSX, Android and various BSDs for nothing. With NetworkManager support.

For a client that *isn't* purely wrapping the kernel implementation, it probably makes sense rather starting from scratch. If anyone's interested in working on it, I'd be happy to give some pointers.

(I've also looked in the past at adding kernel support too, for DTLS acceleration; I may take a look at that again.)

#4 lore raw

google chrome warns if you try to download tunsafe. its potentially unsafe. :-)

Am 05.03.2018 um 12:19 schrieb David Woodhouse:

Quoted 31 lines · Jason A. Donenfeld
Quoted 8 lines

One aspect of the WireGuard project is that we're taking development very carefully and slowly, not jumping to premature releases, and really studying every bit of what we produce in order to ship the least-vulnerable and most-correct code we possibly can. We're still shipping code -- it's not an approach that results in a complete standstill -- but it does mean that in these intervening periods, there will be propheteers and cowboys coming out of the woodwork to fill the void.

I wasn't sure whether to suggest this before, but adding Wireguard support to OpenConnect ought to be fairly easy. We already support three VPN protocols, so we have a *relatively* sane distinction between the protocol-specific parts, and all the OS-specific tun device handling and other bits that would just be gratuitous wheel-reinvention for you.

It basically gives you support for Windows, Solaris, OSX, Android and various BSDs for nothing. With NetworkManager support.

For a client that *isn't* purely wrapping the kernel implementation, it probably makes sense rather starting from scratch. If anyone's interested in working on it, I'd be happy to give some pointers.

(I've also looked in the past at adding kernel support too, for DTLS acceleration; I may take a look at that again.)

_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard

Signature · 11 lines
Mit freundlichen Grüssen / Regards

Sebastian Gottschall / CTO

NewMedia-NET GmbH - DD-WRT
Firmensitz:  Stubenwaldallee 21a, 64625 Bensheim
Registergericht: Amtsgericht Darmstadt, HRB 25473
Geschäftsführer: Peter Steinhäuser, Christian Scheele
http://www.dd-wrt.com
email: [email protected]
Tel.: +496251-582650 / Fax: +496251-5826565
#5 lore raw
In reply to David Woodhouse
Quoted 10 lines · David Woodhouse

I wasn't sure whether to suggest this before, but adding Wireguard support to OpenConnect ought to be fairly easy. We already support three VPN protocols, so we have a *relatively* sane distinction between the protocol-specific parts, and all the OS-specific tun device handling and other bits that would just be gratuitous wheel-reinvention for you.

It basically gives you support for Windows, Solaris, OSX, Android and various BSDs for nothing. With NetworkManager support.

Quoted 6 lines

For a client that *isn't* purely wrapping the kernel implementation, it probably makes sense rather starting from scratch. If anyone's interested in working on it, I'd be happy to give some pointers.

(I've also looked in the past at adding kernel support too, for DTLS acceleration; I may take a look at that again.)

That sounds pretty excellent. I'll add that the project TODO list and maybe we'll get an interested contributor or a GSoC student for it.

By the way, how would you feel about doing this via the existing Go and Rust implementations? If I can jerry rig it into the build system, would you be interested?

#6 lore raw
In reply to Jason A. Donenfeld

it isnt closed source. the sourcecode is provided as far as i have seen and licensed under GPL but correct me if i'm wrong
https://tunsafe.com/downloads/TunSafe-TAP-9.21.2-sources.zip

Am 05.03.2018 um 10:19 schrieb Jason A. Donenfeld:

Quoted 46 lines

Hi Henrique,

Thanks for posting this.

Please stay away from this software, and generally be wary of closed-source WireGuard implementations trying to fill the void. This one was written by a community-unfriendly proprietary author, and we've got little way of ensuring protocol compliance or basic security. Especially from my discussions from him, it's clear what he's up to, and this seems like some nastiness. Should I spend my time reverse engineering this software and discovering zero-days? Probably not a good use of my time, despite my usual love of this sort of thing.

One aspect of the WireGuard project is that we're taking development very carefully and slowly, not jumping to premature releases, and really studying every bit of what we produce in order to ship the least-vulnerable and most-correct code we possibly can. We're still shipping code -- it's not an approach that results in a complete standstill -- but it does mean that in these intervening periods, there will be propheteers and cowboys coming out of the woodwork to fill the void.

It's quite easy to make a tiny tunneling protocol that's reasonably fast and does a few things; if you look on Github there are hundreds. It's quite another thing to write robust and secure software intend to last for a long time. That's what we're working on here.

Fortunately we have two very nice projects that are rapidly approaching maturity: one in Go and one in Rust. I fully welcome future OSS authors into the project. When I'm back from visiting family at the beginning of April, I think we'll be in a good place to have a few first releases.

I'll also do what I can to see that people aren't peddling junk and calling it wireguard, so as to reduce user confusion, but this of course isn't a very easy endeavor. I'm open to suggestions on how to approach this.

Regards,
Jason
_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard

Signature · 11 lines
Mit freundlichen Grüssen / Regards

Sebastian Gottschall / CTO

NewMedia-NET GmbH - DD-WRT
Firmensitz:  Stubenwaldallee 21a, 64625 Bensheim
Registergericht: Amtsgericht Darmstadt, HRB 25473
Geschäftsführer: Peter Steinhäuser, Christian Scheele
http://www.dd-wrt.com
email: [email protected]
Tel.: +496251-582650 / Fax: +496251-5826565
#7 lore raw
Quoted 4 lines · Sebastian Gottschall

it isnt closed source. the sourcecode is provided as far as i have seen and licensed under GPL
but correct me if i'm wrong
https://tunsafe.com/downloads/TunSafe-TAP-9.21.2-sources.zip

This isn't the source code of tunsafe. This is the source code of the OpenVPN Windows tuntap kernel driver, which has been hacked up in various ways for tunsafe. That's a super scary driver, by the way.

The actual source code of tunsafe is closed source.

#8 lore raw
In reply to Jason A. Donenfeld

nevermind. its just the tap source

Am 05.03.2018 um 10:19 schrieb Jason A. Donenfeld:

Quoted 46 lines

Hi Henrique,

Thanks for posting this.

Please stay away from this software, and generally be wary of closed-source WireGuard implementations trying to fill the void. This one was written by a community-unfriendly proprietary author, and we've got little way of ensuring protocol compliance or basic security. Especially from my discussions from him, it's clear what he's up to, and this seems like some nastiness. Should I spend my time reverse engineering this software and discovering zero-days? Probably not a good use of my time, despite my usual love of this sort of thing.

One aspect of the WireGuard project is that we're taking development very carefully and slowly, not jumping to premature releases, and really studying every bit of what we produce in order to ship the least-vulnerable and most-correct code we possibly can. We're still shipping code -- it's not an approach that results in a complete standstill -- but it does mean that in these intervening periods, there will be propheteers and cowboys coming out of the woodwork to fill the void.

It's quite easy to make a tiny tunneling protocol that's reasonably fast and does a few things; if you look on Github there are hundreds. It's quite another thing to write robust and secure software intend to last for a long time. That's what we're working on here.

Fortunately we have two very nice projects that are rapidly approaching maturity: one in Go and one in Rust. I fully welcome future OSS authors into the project. When I'm back from visiting family at the beginning of April, I think we'll be in a good place to have a few first releases.

I'll also do what I can to see that people aren't peddling junk and calling it wireguard, so as to reduce user confusion, but this of course isn't a very easy endeavor. I'm open to suggestions on how to approach this.

Regards,
Jason
_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard

Signature · 11 lines
Mit freundlichen Grüssen / Regards

Sebastian Gottschall / CTO

NewMedia-NET GmbH - DD-WRT
Firmensitz:  Stubenwaldallee 21a, 64625 Bensheim
Registergericht: Amtsgericht Darmstadt, HRB 25473
Geschäftsführer: Peter Steinhäuser, Christian Scheele
http://www.dd-wrt.com
email: [email protected]
Tel.: +496251-582650 / Fax: +496251-5826565