From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4fGyPc5zcFz34C5 for ; Thu, 19 Feb 2026 15:45:08 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4fGyPR4dSwz344H for ; Thu, 19 Feb 2026 15:44:59 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange secp256r1 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4fGyMb1NKWz5nb for ; Thu, 19 Feb 2026 15:43:23 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1771515803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=74fOc0vUSrvyIs1fHHxBEPxj+mLzVoYAhKlmUGb2sUs=; b=rc2M8Gx4sReCiEyjOj/8jx13Bc+eSxRQZDpH6jbqWKlCZxR4l+z2bGTBW51cDbxf1IsE20 TxU4BotP0NlysMAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1771515803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=74fOc0vUSrvyIs1fHHxBEPxj+mLzVoYAhKlmUGb2sUs=; b=sIpY16frwPmHI/wDW7sXoJ0NMagjswOm+CAbQ7iAMzLC6SbBkiU0Dv5DQdOL1PmBfOhsTa YN8S1Op5TcAUKqn33V5S7Sw7z/xQmlOWgmeOPccXGWl6c96YpuPQkG9QAjZrmg7tlIEKpA qhhndUVSRDLvAl3vYhUxFbhnSGfLI03NHTtI0nqINHMco+zgQvtfILgwk1qFnz6vDbWFT3 DxkqzYunDZYvJukowSrJRg6tZexzVCEqrD+k8W+e+1WjxXtPqJA2zdUnOX2iXFNqWyX+aB RRAst7bUtP/RGKsD1WP7o7vwzR7Luyg4q/y0x2ZlVA77zEK2poOW19zyMJ4qLA== Message-ID: <8ed47f3956cf528f13324f5d9a2e0257da944c78.camel@ipfire.org> Subject: Re: openvpn-2.7_rc1 From: ummeegge To: development@lists.ipfire.org Date: Thu, 19 Feb 2026 16:43:18 +0100 In-Reply-To: <4247a605-6aac-4c9c-93c8-db236c2cb769@ipfire.org> References: <4247a605-6aac-4c9c-93c8-db236c2cb769@ipfire.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Hi all, since OpenVPN 2.7.0 was released last week, I=E2=80=99ve done some more tes= ting with the new DCO flag. ``` @@ -73,10 +73,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && ./configure \ --prefix=3D/usr \ --sysconfdir=3D/var/ipfire/ovpn \ - --enable-iproute2 \ --enable-plugins \ --enable-plugin-auth-pam \ - --enable-plugin-down-root + --enable-plugin-down-root \ + --enable-dco ``` I=E2=80=99ve found a couple of other issues: There have been some changes in the management interface, and a protocol prefix is now included (e.g. udp4:). As a result, the old regex patterns for a) OpenVPN Connection Statistics and b) Connection Status no longer update or show data. This shouldn=E2=80=99t be hard to fix. With OpenVPN 2.7.0, a MULTI ERROR appears when creating a client with =E2=80=9Credirect-gateway=E2=80=9D. Example message: ``` Feb 19 13:34:36 ipfire-prime openvpnserver[7329]: PeterForden/udp4:192.168.110.10:38103 MULTI ERROR: primary virtual IP for PeterForden/udp4:192.168.110.10:38103 (10.12.52.2) violates tunnel network/netmask constraint (10.73.104.0/255.255.255.0) ``` The connection still works fine, but the log entries don=E2=80=99t look goo= d. This happens because older setups used `--redirect-gateway def1` in the advanced options, and remnants of this are still present in server.conf (push "redirect-gateway def1"), even though the checkbox for this option has disappeared. When creating a new client, you can enable in the specific client coniguration `--redirect-gateway` (without def1) now triggers this MULTI ERROR (=E2=80=9Cviolates tunnel network/netmask constraint=E2=80=9D) = since two redirect-gateway directives has been set. Using `--redirect-gateway def1` might actually be the better and more modern approach, since it adds two more specific routes (0.0.0.0/1 and 128.0.0.0/1) instead of replacing the original default route =E2=80=94 keep= ing it available as a fallback. =E2=86=92 Should "redirect-gateway def1" therefore be pushed globally for a= ll clients? If on client generation not explicitly configured, it would still apply. Otherwise, DCO seems to work fine so far. Some smaller issues have been noticed, but I think these are the key points. Hope this mail isn=E2=80=99t **too long**, but I thought it might be useful= to share. Best, Erik