From: "plaisthos (Code Review)"
Date: Tue, 7 Apr 2026 11:54:13 +0000
In-Reply-To:
References:
Reply-To: arne-openvpn@...1227..., selva.nair@...277...,
luca.boccassi@...277..., openvpn-devel@lists.sourceforge.net
Message-ID: <8acdcd7315dadb2805fa98f03cc2cb91df3ca554-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="LQ0KX4yjt7E="; charset=UTF-8
Subject: [Openvpn-devel] [M] Change in openvpn[master]: Add new helpers to
handle key exchange (S_SENT_KEY/S_START) with larg...
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: Bluca
Cc: selvanair , openvpn-devel
--LQ0KX4yjt7E=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: Bluca, selvanair.
plaisthos has posted comments on this change by Bluca. ( http://gerrit.open=
vpn.net/c/openvpn/+/1622?usp=3Demail )
Change subject: Add new helpers to handle key exchange (S_SENT_KEY/S_START)=
with large passwords
......................................................................
Patch Set 1:
(2 comments)
Patchset:
PS1:
> Sorry, I don't really follow. [=E2=80=A6]
The TLS layer uses TLS records for framing and OpenVPN currently relies on =
TLS records for its own framing. Not many protocols do this and this also c=
auses problem, ie when you enable record splitting.
And your patch basically decides to break this assumption but only for the =
key2 related methods, which is in my opinion quite hacky.
And that why I am saying that we need a proper patch/negotiation to overcom=
e this limit instead.
But I get the feeling that you are not really interested in any solution th=
at would actually improve on the OpenVPN protocol to implement longer usern=
ame/password if it is not compatible with the approach that Microsoft has d=
ecided to take.
PS1:
> Sure, but that's 2 years old and included in LTS distros, eg. Ubuntu 24. =
[=E2=80=A6]
You might not care about compatibility, interoperability and behaviour of m=
odern clients with older servers and vice versa but we care and we have tak=
e that into account. And "that's 2 years old" is way shorter than we care a=
bout. We still maintain compatibility with OpenVPN 2.2 server and clients a=
nd people are still using a lot of OpenVPN 2.4/OpenVPN 2.5.
And that your patch allows triggering very erratic behaviour with these old=
er version is not a good thing.
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1622?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings?usp=3Demail
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I055c64ca8b23066e70eea7d7deddfb14f5354c5f
Gerrit-Change-Number: 1622
Gerrit-PatchSet: 1
Gerrit-Owner: Bluca
Gerrit-Reviewer: plaisthos
Gerrit-Reviewer: selvanair
Gerrit-CC: openvpn-devel
Gerrit-Attention: Bluca
Gerrit-Attention: selvanair
Gerrit-Comment-Date: Tue, 07 Apr 2026 11:54:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: plaisthos
Comment-In-Reply-To: Bluca
--LQ0KX4yjt7E=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is cur=
rently required from: Bluca, selvanair.
View =
Change
2 comments:
The TLS layer u=
ses TLS records for framing and OpenVPN currently relies on TLS records for=
its own framing. Not many protocols do this and this also causes problem, =
ie when you enable record splitting.
And your patch basically decides t=
o break this assumption but only for the key2 related methods, which is in =
my opinion quite hacky.
And that why I am saying that we need a proper =
patch/negotiation to overcome this limit instead.
But I get the feelin=
g that you are not really interested in any solution that would actually im=
prove on the OpenVPN protocol to implement longer username/password if it i=
s not compatible with the approach that Microsoft has decided to take.
<=
/li>Patch Set #1:
Sure, but that's 2=
years old and included in LTS distros, eg. Ubuntu 24. [=E2=80=A6]You might not care about compatibility, interoperability and behav=
iour of modern clients with older servers and vice versa but we care and we=
have take that into account. And "that's 2 years old" is way=
shorter than we care about. We still maintain compatibility with OpenVPN 2=
.2 server and clients and people are still using a lot of OpenVPN 2.4/OpenV=
PN 2.5.
And that your patch allows triggering very erratic behaviour wi=
th these older version is not a good thing.
To vi=
ew, visit change 1622. To unsubscribe, or for help writing mail filters, visit =
settings.
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I055c64ca8b23066e70eea7d7ded=
dfb14f5354c5f
Gerrit-Change-Number: 1622
Gerrit-PatchSet: 1
Gerrit-Owner: Bluca <luca.boccassi@...1663...=
.>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...=
.1227...>
Gerrit-Reviewer: selvanair <selva.nair@...1665...=
77...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...=
ts.sourceforge.net>
Gerrit-Attention: Bluca <luca.boccassi@...1665...=
77...>
Gerrit-Attention: selvanair <selva.nair@...493...=
277...>
Gerrit-Comment-Date: Tue, 07 Apr 2026 11:54:13=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: plaisthos <arne-openvp=
n@...1227...>
Comment-In-Reply-To: Bluca <luca.boccassi@...220...=
..277...>
=
--LQ0KX4yjt7E=--