From: "cron2 (Code Review)"
Date: Mon, 28 Oct 2024 10:09:14 +0000
In-Reply-To:
References:
Reply-To: gert@...1296..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, frank@...2641...
Message-ID: <65b20751c7639ceca3942c9ebf92202d64aa1c6c-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="acUh8/Xt10E="; charset=UTF-8
Subject: [Openvpn-devel] [S] Change in openvpn[master]: Refuse clients if
username or password is > USER_PASS_LEN
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: plaisthos
Cc: flichtenheld , openvpn-devel
--acUh8/Xt10E=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld, plaisthos.
cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope=
nvpn/+/787?usp=3Demail )
Change subject: Refuse clients if username or password is > USER_PASS_LEN
......................................................................
Patch Set 1:
(1 comment)
File src/openvpn/ssl.c:
http://gerrit.openvpn.net/c/openvpn/+/787/comment/144948ce_63eadfa8 :
PS1, Line 2284: abs(username_len), abs(password_len));
> I think a negative length is more alarming and confusing that a positive =
one. [=E2=80=A6]
You have two messages there - the "TLS INFO:" which is always printed, and =
only has a negative number if one of the strings is too long. This is what=
I'm talking about.
The second message is the "TLS Error:" which is only printed in case of ove=
rflow - the abs() is reasonable there.
So I'd suggest to remove the "TLS INFO:" message, because in case of errors=
it's just duplicate information, and in case of non-errors, it's log noise=
. No?
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/787?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I60f02c919767eb8f1b95253689a8233f5f68621d
Gerrit-Change-Number: 787
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos
Gerrit-Reviewer: cron2
Gerrit-Reviewer: flichtenheld
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Attention: flichtenheld
Gerrit-Comment-Date: Mon, 28 Oct 2024 10:09:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: plaisthos
Comment-In-Reply-To: cron2
Gerrit-MessageType: comment
--acUh8/Xt10E=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld, plaisthos.
View C=
hange
1 comment:
<=
li style=3D"margin: 0; padding: 0;">File src/openvpn/ssl.c:
You have two message=
s there - the "TLS INFO:" which is always printed, and only has a=
negative number if one of the strings is too long. This is what I'm t=
alking about.
The second message is the "TLS Error:" which is only printed in =
case of overflow - the abs() is reasonable there.
So I'd suggest to remove the "=
;TLS INFO:" message, because in case of errors it's just duplicate=
information, and in case of non-errors, it's log noise. No?
<=
/ul>To view, visit change 787. To unsubscribe, or for help writing =
mail filters, visit settings=
.
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I60f02c919767eb8f1b95253689a=
8233f5f68621d
Gerrit-Change-Number: 787
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <arne-openvpn@...1711...=
27...>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...=
1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...=
ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...=
..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...=
41...>
Gerrit-Comment-Date: Mon, 28 Oct 2024 10:09:14=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: plaisthos <arne-openvp=
n@...1227...>
Comment-In-Reply-To: cron2 <gert@...1296...=
>
Gerrit-MessageType: comment
--acUh8/Xt10E=--