From: "ordex (Code Review)" Date: Wed, 16 Jul 2025 13:20:03 +0000 In-Reply-To: References: Reply-To: antonio@...2726..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <41a5b31449b413eb7cea1bf8bcf95a7991d101b4-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="WyEnmqRi8SQ="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: README.dco: update Linux instructions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos , flichtenheld Cc: openvpn-devel --WyEnmqRi8SQ= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. Hello flichtenheld, plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/1087?usp=3Demail to look at the new patch set (#2). The following approvals got outdated and were removed: Code-Review-1 by flichtenheld Change subject: README.dco: update Linux instructions ...................................................................... README.dco: update Linux instructions Update the README.dco file by including instructions related to the new 'ovpn' linux kernel module. Change-Id: I22af9957b27785514d8c6d58fe4f2100d007fa5c Signed-off-by: Antonio Quartulli --- M README.dco.md 1 file changed, 14 insertions(+), 18 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/87/1087/2 diff --git a/README.dco.md b/README.dco.md index 3f7e00c..fc4334e 100644 --- a/README.dco.md +++ b/README.dco.md @@ -14,26 +14,22 @@ Getting started (Linux) ----------------------- -- Use a recent Linux kernel. Linux 5.4.0 and newer are known to work with - ovpn-dco. +The new DCO linux kernel module (namely `ovpn`) has been merged upstream +as of linux-6.16. From this kernel version onwards you directly get +the DCO module as shipped by your kernel. +NOTE: the new `ovpn` Linux kernel module is compatible only with OpenVPN +2.7 and greater. -Get the ovpn-dco module from one these urls and build it: +Alternatively, if you run an older kernel or if you want to use a more +recent DCO module than the one shipped by your kernel, you need to use +the ovpn-backports project. -* https://gitlab.com/openvpn/ovpn-dco -* https://github.com/OpenVPN/ovpn-dco +To learn how to use the ovpn-backports project and build your own DCO +kernel module, please refer to the README file available at: -e.g. + https://github.com/OpenVPN/ovpn-backports/blob/main/README.md - git clone https://github.com/OpenVPN/ovpn-dco - cd ovpn-dco - make - sudo make install - -If you want to report bugs please ensure to compile ovpn-dco with -`make DEBUG=3D1` and include any debug message being printed by the -kernel (you can view those messages with `dmesg`). - -Clone and build OpenVPN (or use OpenVPN 2.6+). For example: +Then clone and build OpenVPN (or use OpenVPN 2.7+). For example: git clone https://github.com/openvpn/openvpn.git cd openvpn @@ -48,8 +44,8 @@ data channel offloading, OpenVPN will automatically disable DCO support and warn the user. -Should OpenVPN be configured to use a feature that is not supported by ovp= n-dco -or should the ovpn-dco kernel module not be available on the system, you w= ill +Should OpenVPN be configured to use a feature that is not supported by ovpn +or should the ovpn kernel module not be available on the system, you will see a message like Note: Kernel support for ovpn-dco missing, disabling data channel offl= oad. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1087?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I22af9957b27785514d8c6d58fe4f2100d007fa5c Gerrit-Change-Number: 1087 Gerrit-PatchSet: 2 Gerrit-Owner: ordex Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-MessageType: newpatchset --WyEnmqRi8SQ= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, plaisthos.

ordex uploaded patch set #2 to this change.

View Change

The following approvals got outdated and were removed: Code-Review-1 by flichtenheld

README.dco: update Linux instructions

= Update the README.dco file by including instructions related
to the new = 'ovpn' linux kernel module.

Change-Id: I22af9957b27785514d8c= 6d58fe4f2100d007fa5c
Signed-off-by: Antonio Quartulli <antonio@...2788...= 6...>
---
M README.dco.md
1 file changed, 14 insertions(+), 18 = deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs=
/changes/87/1087/2
diff --git a/README.dco.md b/README.dco.md
index 3f7e00c..fc4334e 100644
--- a/README.dco.m= d
+++ b/README.dco.md
@@ -14,26 +14,22 @@

Getting started (Linux)
= -----------------------
-- Use a recent Linux kernel. Linux 5.4.0 and newer are known to work with=
- ovpn-dco.+The new DCO linux kernel modu= le (namely `ovpn`) has been merged upstream
+as of linux-6.16. From this kernel version onwards = you directly get
+the= DCO module as shipped by your kernel.
+NOTE: the new `ovpn` Linux kernel module is compatible o= nly with OpenVPN
+2.7= and greater.

-Get the ovpn-dco module from one these urls and build it:<= br>+Alternatively, if you run a= n older kernel or if you want to use a more
+recent DCO module than the one shipped by your kern= el, you need to use
+= the ovpn-backports project.

-* https://gitlab.com/openvpn/ovpn-dco
-* https://github.com/OpenVPN/ovpn-d= co

+To learn how to u= se the ovpn-backports project and build your own DCO
+kernel module, please refer to the README= file available at:

-e.g.
= + https://github.com/OpenVPN/ovpn-backports/blob/main/README.md
=
- git clone = https://github.com/OpenVPN/ovpn-dco
- cd ovpn-dco
- make
- s= udo make install
-
-If you want to report bugs= please ensure to compile ovpn-dco with
-`make DEBUG=3D1` and include any debug message being prin= ted by the
-kernel (you= can view those messages with `dmesg`).
-
-Clo= ne and build OpenVPN (or use OpenVPN 2.6+). For example:
+Then clone and build OpenVPN (or use O= penVPN 2.7+). For example:

git clone= https://github.com/openvpn/openvpn.git
cd openvpn
@@ -48,8 +44,8 @@
data channel offloading, Op= enVPN will automatically disable DCO support and
warn the = user.

-Should OpenVPN be configured to use a feature that is not supported by ov= pn-dco
-or should the o= vpn-dco kernel module not be available on the system, you will
+Should OpenVPN be configured to = use a feature that is not supported by ovpn

+or should the ovpn kernel module not be available o= n the system, you will
see a message like
=
Note: Kernel support for ovpn-dco missing, disabling= data channel offload.

To view, visit <= a href=3D"http://gerrit.openvpn.net/c/openvpn/+/1087?usp=3Demail">change 10= 87. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I22af9957b27785514d8c6d58fe4= f2100d007fa5c
Gerrit-Change-Number: 1087
Gerrit-PatchSet: 2
Gerrit-Owner: ordex <antonio@...2726...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-MessageType: newpatchset
--WyEnmqRi8SQ=--