From: "cron2 (Code Review)" Date: Fri, 13 Feb 2026 22:06:43 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <7ea2a12aa162a0e3c3c8ebe4119f12ebfdf06d46-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="ELfOH4U1ze0="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: port-share: log incoming connections at verb 3 only List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos , flichtenheld Cc: openvpn-devel --ELfOH4U1ze0= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello flichtenheld, plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/1516?usp=3Demail to look at the new patch set (#2). The following approvals got outdated and were removed: Code-Review+2 by flichtenheld, Code-Review+2 by plaisthos Change subject: port-share: log incoming connections at verb 3 only ...................................................................... port-share: log incoming connections at verb 3 only From "day 1" the message "Non-OpenVPN client protocol detected" was logged at D_STREAM_ERRORS level (verb 1), while it is not anything erroneous in this context (it's inside an "port share" only block). Bump this to D_PS_PROXY (verb 3). Github: closes OpenVPN/openvpn#976 Change-Id: Ie5c9a88050de959cfb02e5f804323a8081ddb667 Signed-off-by: Gert Doering Acked-by: Arne Schwabe Acked-by: Frank Lichtenheld Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1516 Message-Id: <20260211113315.25776-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg35= 589.html Signed-off-by: Gert Doering --- M src/openvpn/socket.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/16/1516/2 diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c index 58ccda9..d97b770 100644 --- a/src/openvpn/socket.c +++ b/src/openvpn/socket.c @@ -2149,7 +2149,7 @@ { if (!is_openvpn_protocol(&sb->buf)) { - msg(D_STREAM_ERRORS, "Non-OpenVPN client protocol detected= "); + msg(D_PS_PROXY, "Non-OpenVPN client protocol detected"); sb->port_share_state =3D PS_FOREIGN; sb->error =3D true; return false; -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1516?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: newpatchset Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ie5c9a88050de959cfb02e5f804323a8081ddb667 Gerrit-Change-Number: 1516 Gerrit-PatchSet: 2 Gerrit-Owner: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel --ELfOH4U1ze0= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 upl= oaded patch set #2 to this change.

View Change

The followi= ng approvals got outdated and were removed: Code-Review+2 by flichtenheld, Code-Review+2 by plaisthos

=
port-share: log incoming connections at verb 3 only

From "day 1= " the message "Non-OpenVPN client protocol detected" was
= logged at D_STREAM_ERRORS level (verb 1), while it is not anything
erron= eous in this context (it's inside an "port share" only block)= .

Bump this to D_PS_PROXY (verb 3).

Github: closes OpenVPN/op= envpn#976

Change-Id: Ie5c9a88050de959cfb02e5f804323a8081ddb667
Si= gned-off-by: Gert Doering <gert@...1296...>
Acked-by: Arne Schwabe= <arne-openvpn@...1227...>
Acked-by: Frank Lichtenheld <frank@...220...= ..2641...>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1516Message-Id: <20260211113315.25776-1-gert@...1296...>
URL: https:/= /www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg35589.html
= Signed-off-by: Gert Doering <gert@...1296...>
---
M src/openvpn= /socket.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/16/= 1516/2
diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c
index 58ccda9..d97b770 100644
--- a/src/openvp= n/socket.c
+++ b/src/openvpn/socket.c
@@ -2= 149,7 +2149,7 @@
{
if= (!is_openvpn_protocol(&sb->buf))
{
- msg(D_STR= EAM_ERRORS, "Non-OpenVPN client protocol detected");
+ msg(D_PS_PROXY, = "Non-OpenVPN client protocol detected");

= sb->port_share_state =3D PS_FOREIGN;
= sb->error =3D true;
return false= ;

To view, visit change 1516. To unsubscrib= e, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie5c9a88050de959cfb02e5f8043= 23a8081ddb667
Gerrit-Change-Number: 1516
Gerrit-PatchSet: 2
Gerrit-Owner: cron2 <gert@...1296...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
= --ELfOH4U1ze0=--