From: "cron2 (Code Review)" Date: Wed, 11 Feb 2026 08:26:49 +0000 References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: <012cb1005dfefeceb4bbaa0ed7c53d82cafe1fcb-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="2fmh1dhWdXQ="; 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 Cc: openvpn-devel --2fmh1dhWdXQ= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. Hello plaisthos, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/1516?usp=3Demail to review the following change. 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 --- M src/openvpn/socket.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/16/1516/1 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: newchange Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ie5c9a88050de959cfb02e5f804323a8081ddb667 Gerrit-Change-Number: 1516 Gerrit-PatchSet: 1 Gerrit-Owner: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos --2fmh1dhWdXQ= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: plaisthos.

cron2 would like plaisthos to review this change.

V= iew Change

port-share: log incoming connections at ver=
b 3 only

From "day 1" the message "Non-OpenVPN client= protocol detected" was
logged at D_STREAM_ERRORS level (verb 1), w= hile it is not anything
erroneous in this context (it's inside an &q= uot;port share" only block).

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

Change-Id: Ie5c9a88050de95= 9cfb02e5f804323a8081ddb667
Signed-off-by: Gert Doering <gert@...1725...= ..>
---
M src/openvpn/socket.c
1 file changed, 1 insertion(+), = 1 deletion(-)

git pull ssh://gerrit.openvpn.net:=
29418/openvpn refs/changes/16/1516/1
diff --git a/src/openvpn/socke=
t.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&qu= ot;);
sb->port_share_state =3D PS_FOREI= GN;
sb->error =3D true;
return false;


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

<= div itemscope itemtype=3D"http://schema.org/EmailMessage">
<= meta itemprop=3D"name" content=3D"View Change"/>
Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie5c9a88050de959cfb02e5f8043= 23a8081ddb667
Gerrit-Change-Number: 1516
Gerrit-PatchSet: 1
Gerrit-Owner: cron2 <gert@...1296...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
= --2fmh1dhWdXQ=--