From: Gert Doering Date: Wed, 11 Feb 2026 11:33:10 +0000 (+0100) Subject: port-share: log incoming connections at verb 3 only X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f9ab9647cf0a3bc53e42e609437f892ce009e7a;p=thirdparty%2Fopenvpn.git 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@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg35589.html Signed-off-by: Gert Doering --- diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c index 58ccda952..d97b7703d 100644 --- a/src/openvpn/socket.c +++ b/src/openvpn/socket.c @@ -2149,7 +2149,7 @@ stream_buf_added(struct stream_buf *sb, int length_added) { 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 = PS_FOREIGN; sb->error = true; return false;