Date: Sun, 22 Oct 2023 12:48:51 +0200 (CEST) Message-Id: <202310221048.39MAmpCC060057@...2054...> From: Gert Doering In-Reply-To: <20231022082751.8868-1-gert@...1296...> References: <20231022082751.8868-1-gert@...1296...> Subject: [Openvpn-devel] [PATCH applied] Re: dco: warn if DATA_V1 packets are sent to userspace List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Lev Stipakov Cc: openvpn-devel@lists.sourceforge.net This is actually "V3" of the patch, but I forgot to add the -v3 when sending from gerrit to the list. The change is basically the same as in v1, just leaving the "real" code alone, defusing it by setting c->c2.buf.len = 0 in the new branch. Plus comments :-) As in v1, this adds diagnostics to detect a non-fixable incompatibility between 2.4.0-2.4.4 servers and DCO-enabled clients (it can only be fixed by upgrading the server, not by a code change on the client side, or by disabling DCO on the client - but neither can be done automatically). Tested on the server testbed, which has DCO and no-DCO peers, V1 and V2, which should trigger "false alarms" nicely. Your patch has been applied to the master and release/2.6 branch (compat). commit df7beea404df48745a608c584d863c5a377b7a1e (master) commit e78f88d8ea113585ca16945ef0361710b838ec7d (HEAD -> release/2.6) Author: Lev Stipakov Date: Sun Oct 22 10:27:40 2023 +0200 dco: warn if DATA_V1 packets are sent to userspace Signed-off-by: Lev Stipakov Acked-by: Gert Doering Message-Id: <20231022082751.8868-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27272.html Signed-off-by: Gert Doering -- kind regards, Gert Doering