Message-ID: Date: Thu, 9 Jun 2022 19:05:06 +0200 MIME-Version: 1.0 Content-Language: en-US References: <6db98ba0-9f0b-54dc-6c8c-cf06b5b79016@...376...> From: Antonio Quartulli In-Reply-To: <6db98ba0-9f0b-54dc-6c8c-cf06b5b79016@...376...> Subject: Re: [Openvpn-devel] Fwd: Bug#1012567: openvpn --mktun --dev-type tap --dev tap2 fails List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: Bernhard Schmidt , openvpn-devel@lists.sourceforge.net Hi Bernhard, Thanks a lot for forwarding the bug - it's a nice catch. Will work on a fix. Regards, On 09/06/2022 17:24, Bernhard Schmidt wrote: > Hi, > > I've received the following bug report for the dco-enabled OpenVPN 2.6 > build currently sitting in Debian unstable. It looks like DCO is > interfering with the CLI option to create a tap interface. > > Bernhard > > > > --- > Package: openvpn > Version: 2.6.0~git20220518+dco-2 > Severity: important > > Since 2.6.0~git20220518+dco-2 the following command fails: > > openvpn --mktun --dev-type tap --dev tap2 > > with > > Assertion failed at dco_linux.c:442 (tt-type == DEV_TYPE_TUN) > Exit due to fatal error > > > I don't have dco support in the linux kernel. > > > openvpn --disable-dco --mktun --dev-type tap --dev tap2 > > > works as a workaround, but I think --mktun --dev-type tap should > continue to work without it. > > Regards, -- Antonio Quartulli