From: "cron2 (Code Review)" Date: Fri, 13 Feb 2026 22:06:45 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <7ea2a12aa162a0e3c3c8ebe4119f12ebfdf06d46-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="ScUBh2vHoRg="; 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: , Cc: plaisthos , flichtenheld , openvpn-devel --ScUBh2vHoRg= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/15= 16?usp=3Demail ) 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(-) 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: merged 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 --ScUBh2vHoRg= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 sub= mitted this change.

View Change

port-share: log incoming connections at verb 3 o=
nly

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

Bump this to D_PS_PROXY (verb 3).
Github: closes OpenVPN/openvpn#976

Change-Id: Ie5c9a88050de959cfb0= 2e5f804323a8081ddb667
Signed-off-by: Gert Doering <gert@...1296...>= ;
Acked-by: Arne Schwabe <arne-openvpn@...1227...>
Acked-by: Fr= ank Lichtenheld <frank@...2641...>
Gerrit URL: https://gerrit.open= vpn.net/c/openvpn/+/1516
Message-Id: <20260211113315.25776-1-gert@...493...= 1296...>
URL: https://www.mail-archive.com/openvpn-devel@...1659...= forge.net/msg35589.html
Signed-off-by: Gert Doering <gert@...1296...&= gt;
---
M src/openvpn/socket.c
1 file changed, 1 insertion(+), 1 d= eletion(-)

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_openvp= n_protocol(&sb->buf))
{
- msg(D_STREAM_ERRORS, = "Non-OpenVPN client protocol detected");

+ msg(D_PS_PROXY, "Non-Op= enVPN client protocol detected");
sb-= >port_share_state =3D PS_FOREIGN;
sb-&g= t;error =3D true;
return false;
=

To view, visit change 1516. To unsubscribe, or for he= lp writing mail filters, visit settings.

Gerrit-MessageType: merged
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>
= --ScUBh2vHoRg=--