OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • openVPN with TLS 1.3 ?
« previous next »
  • Print
Pages: [1]

Author Topic: openVPN with TLS 1.3 ?  (Read 6997 times)

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
openVPN with TLS 1.3 ?
« on: March 01, 2019, 05:16:36 pm »
Hy!

I found this here

https://community.openvpn.net/openvpn/ticket/1080

and tried to establish a peer-to-peer with TLS 1.3, but got the same error as reported above (19.1.1). Is TLS 1.3 in sight for 19.7? Or any plans for the nearer future?
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: openVPN with TLS 1.3 ?
« Reply #1 on: March 01, 2019, 06:00:05 pm »
I don't know  if it is supported but LibreSSL should be able to support it. OpenSSL may not have the required update yet.
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: openVPN with TLS 1.3 ?
« Reply #2 on: March 01, 2019, 06:31:38 pm »
Thanks for replying, but apparently openVPN needs to be recomplied with the correct crypto library. The error message in openVPN when trying to start with tls-version-min1.3 ("unknown parameter") supports this imho.

As posted some days ago re the error message with openVPN/LibreSSL, openvPN doesn't consider LibreSSL as supported. So apparently catch 22 so far re TLS 1.3...

https://forum.opnsense.org/index.php?topic=11724.msg53260#msg53260
« Last Edit: March 01, 2019, 06:33:28 pm by chemlud »
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: openVPN with TLS 1.3 ?
« Reply #3 on: March 01, 2019, 06:53:05 pm »
TLS 1.3 is OpenSSL 1.1.1 only which we do not have yet. FreeBSD 12.0 uses it.

LibreSSL doesn't support TLS 1.3 at all at the moment.

ETA is difficult to estimate, but easily as much as 6-12 months. We could try to build OpenSSL with 1.1.1 but that would require workarounds for LibreSSL or more support effort explaining the situation.


Cheers,
Franco
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: openVPN with TLS 1.3 ?
« Reply #4 on: March 01, 2019, 07:23:17 pm »
I have looked in the bug tracker - TLS 1.3 may be in 2.9 so let's see what will happen there. OpenSSL cannot be upgraded because of some dependencies.
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: openVPN with TLS 1.3 ?
« Reply #5 on: March 01, 2019, 07:49:09 pm »
...sounds exciting. Maybe we get TLS 1.3 with openVPN for Christmas this year! :-D Or Eastern next year... Can hardly wait.
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

newsense

  • Hero Member
  • *****
  • Posts: 1038
  • Karma: 77
    • View Profile
Re: openVPN with TLS 1.3 ?
« Reply #6 on: March 02, 2019, 03:43:48 am »
The more time it takes TLS 1.3 to become the de facto standard with TLS 1.{0,1} code being actually dropped from the major browsers and other critical SSL derivatives/libraries -- the more likely E-TLS will start to be 'mandated' in the same vein as it happened in the AUS...
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: openVPN with TLS 1.3 ?
« Reply #7 on: March 02, 2019, 08:58:28 am »
Quote from: newsense on March 02, 2019, 03:43:48 am
The more time it takes TLS 1.3 to become the de facto standard with TLS 1.{0,1} code being actually dropped from the major browsers and other critical SSL derivatives/libraries

We currently prefer 1.1 and 1.2, 1.0 is disabled in the web interface and nginx due to vulnerabilities.
The nginx plugin will additionally enable 1.3 when it will be available.

When we upgrade to nginx 1.15 at some point, I already have a PR (https://github.com/opnsense/plugins/pull/1112) open for the new 0-RTT handshakes but without TLS 1.3 this feature cannot be added.  Also Frank is waiting for it to enable TLS 1.3 in HAProxy.

Quote from: newsense on March 02, 2019, 03:43:48 am
-- the more likely E-TLS will start to be 'mandated' in the same vein as it happened in the AUS...

1) you can send the session keys over a separate channel to the middle box if you don't want do put the key on it without affecting the TLS session (like firefox can dump the keys in a logfile which can be opened by wireshark)

2) you can terminate the TLS connection on the middlebox (and maybe re-encrypt the connection on it like it can be configured in nginx / haproxy plugins)
Logged

newsense

  • Hero Member
  • *****
  • Posts: 1038
  • Karma: 77
    • View Profile
Re: openVPN with TLS 1.3 ?
« Reply #8 on: March 02, 2019, 03:59:09 pm »
Thanks fabian, it will be interesting to see how it works on systems that specifically disable 0-RTT as it might be one of the best avenues to attack 1.3 connections for a while.
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: openVPN with TLS 1.3 ?
« Reply #9 on: March 02, 2019, 06:42:47 pm »
Quote from: newsense on March 02, 2019, 03:59:09 pm
Thanks fabian, it will be interesting to see how it works on systems that specifically disable 0-RTT as it might be one of the best avenues to attack 1.3 connections for a while.

The 0-RTT must be explicitly enabled. The reason is that the web application must be able to handle replay attacks by itself when enabled.
Logged

newsense

  • Hero Member
  • *****
  • Posts: 1038
  • Karma: 77
    • View Profile
Re: openVPN with TLS 1.3 ?
« Reply #10 on: March 03, 2019, 04:18:34 am »
Yeah..."the application must" ? Color me skeptical o_0

Found this recent research though you might not have seen yet, glad to see there's work being done still:

Quote
Session Resumption Protocols and Efficient Forward Security for TLS 1.3 0-RTT

https://eprint.iacr.org/2019/228
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • openVPN with TLS 1.3 ?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2