Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS-Crypt #11

Closed
windclimb opened this issue Jun 21, 2017 · 24 comments
Closed

TLS-Crypt #11

windclimb opened this issue Jun 21, 2017 · 24 comments
Assignees

Comments

@windclimb
Copy link

Hello. Please add support of tls-crypt. It would be so helpful for some countries with restricted internet.

@dsommers
Copy link
Member

This is being worked on and there have been quite some progress in this area. The new code needed will also need to go through a proper code review before we can make it public.

@Germs2004
Copy link

+1. And not just some countries, but many private businesses and organizations block OpenVPN too.

@dsommers
Copy link
Member

dsommers commented Oct 1, 2017

There have been a considerable amount of work put into this, and it is moving forward. But we are holding back a bit as we do want to also support a newer and more advanced TLS crypt version (named tls-crypt-v2). This work is being done both in the OpenVPN 3 code base as well as the OpenVPN 2 code base. There are still a few details which needs to be ironed out for the v2, but things are definitely taking shape.

The core difference between tls-crypt-v1 and tls-crypt-v2 is that each client can get its own independent static key. The v1 approach is pretty much an encrypted variant of --tls-auth, where all clients also share the same static key. We believe independent keys can help resolve some potential issues tls-crypt-v1 have in regards to possible DoS attack vectors and some IV collision possibilities. The latter one is getting important if you have many active users. If an IV collision attack is mounted and successful, it will not cause any "bigger" issue than reducing --tls-crypt to the same level as --tls-auth. But since we can avoid this with an improved TLS crypt implementation, we want to do that first. See the OpenVPN 2 man page for more details on the security considerations regarding --tls-crypt.

@windclimb
Copy link
Author

But 'old' tls-crypt is better than nothing. It's hard to use the Internet without tls-crypt because some countries are blocking tls-auth. And it's hard to wait for tls-crypt-v2, too.

@dsommers
Copy link
Member

dsommers commented Oct 2, 2017

We have the needed code for that in the this core library already (commit 74c5f4f). But it will not hit any OpenVPN Connect clients until we have tls-crypt-v2 in place, as we need to ensure both v1 and v2 will work fine and behave as it will in OpenVPN v2.4 clients. And also be fully compliant against OpenVPN 2.4 servers. These things needs to take the time it takes; there is a lot of reviewing and testing required until we are fully ready to release it.

If you have urgent issues now getting to the open Internet, consider using the PrivateTunnel service which also should have some workarounds for that.

@windclimb
Copy link
Author

Thank you very much for the new OpenVPN Connect with tls-crypt support! Can you please do the same for iOS?

@ordex
Copy link
Member

ordex commented Nov 2, 2017

It's planned for the next iOS release and it should happen not too far in the future. Stay tuned!

@windclimb
Copy link
Author

iOS 11.1 just has been released. Or you are waiting for iOS 11.2?

@schwabe
Copy link
Contributor

schwabe commented Nov 2, 2017

He means the iOS app release not ios release itself.

@windclimb
Copy link
Author

Oh sorry. Thank you very much!

@windclimb
Copy link
Author

The iOS app has been updated but tls-crypt doesn't work on it.

@ordex
Copy link
Member

ordex commented Nov 4, 2017

There has been no update for the iOS app yet. Not sure where you have seen it?

@windclimb
Copy link
Author

windclimb commented Nov 4, 2017

https://itunes.apple.com/us/app/openvpn-connect/id590379981?mt=8

Category: Utilities
Updated: Nov 03, 2017
Version: 1.1.1

@ordex
Copy link
Member

ordex commented Nov 4, 2017

Oh I see. To be honest I have no idea why it says it was updated.
v1.1.1 is exactly the same version that has been out for a year at least.
Something must have been changed internally to the AppStore and Apple has updated the date.

@windclimb
Copy link
Author

When are you going to update it? Without tls-crypt we are dying :'-(

@ordex
Copy link
Member

ordex commented Nov 4, 2017

It's in the works and will be released soon. I know tls-crypt can be important, but I am interested to learning what makes it so crucial to you.

@windclimb
Copy link
Author

It's so critical for me because of our DPI. It knows the difference between tls-auth and https, for example. It's so hard to bypass our DPI so tls-crypt is the best solution. I think you haven't ever been in the countries with the restricted Internet connection :-)

@ordex
Copy link
Member

ordex commented Nov 4, 2017

eheh I have and honestly tls-crypt is not a real solution for this as it will take just days before the DPI will learn about it too.
tls-crypt does not hide the OpenVPN protocol per se.

Imho you should better look into techniques aimed to provide protocol obfuscation, if that's the problem you are trying to solve.

@windclimb
Copy link
Author

Is there any better solution for iOS? Tls-crypt is not the panacea but it can make life easier.

@ordex
Copy link
Member

ordex commented Nov 4, 2017

Honestly I don't know.
I know providers like PrivateTunnel use some mechanism to ensure they can pass through annoying DPIs, but can't say if that will work in your case or not.

@windclimb
Copy link
Author

Hello. Is there any news about the new iOS app?

@dsommers
Copy link
Member

No.

@ordex
Copy link
Member

ordex commented Dec 5, 2017

Hello there,
we are starting our beta program for the next iOS release of OpenVPN Connect which includes the tls-crypt feature.

Anybody willing to join the program can write an email to ios@openvpn.net mentioning "OpenVPN Connect iOS: joining beta program" in the subject. Don't forget that we need a valid Apple ID to add you to the testers group.

More details about the program will be made publicly available soon, but enrolment can already start ;)

Thanks!

@ordex
Copy link
Member

ordex commented Feb 4, 2018

tls-crypt is available in master and in both OpenVPN Connect clients for Android and iOS.

@ordex ordex closed this as completed Feb 4, 2018
ordex pushed a commit that referenced this issue Jun 18, 2018
macdns: refactor split-DNS and domain autocompletion logic

Approved-by: James Yonan <james@openvpn.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants