Change in openvpn[master]: Remove some obsolete references to --windows-driver
A message that is not in the archive (sent off-list or not yet received): gerrit.1765287788000.I78c6f335c635e97bb41d26ed8908a978d7b49387@...2715...
Attention is currently required from: plaisthos.
Hello plaisthos,
I'd like you to do a code review.
Please visit
http://gerrit.openvpn.net/c/openvpn/+/1426?usp=email
to review the following change.
Change subject: Remove some obsolete references to --windows-driver
......................................................................
Remove some obsolete references to --windows-driver
The option doesn't exist anymore so don't point
people to it.
But add it to the list of unsupported options.
---
M doc/man-sections/unsupported-options.rst
M doc/man-sections/vpn-network-options.rst
M src/openvpn/options.c
M src/openvpn/tun.c
4 files changed, 8 insertions(+), 12 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/26/1426/1
doc/man-sections/unsupported-options.rst +5 -0
@@ -49,3 +49,8 @@ --opt-verify Removed in OpenVPN 2.7. This option does not make sense anymore as option strings may not match due to the introduction of parameters negotiation. + +--windows-driver + Removed in OpenVPN 2.7. OpenVPN will always use ovpn-dco as the default + driver on Windows. It will fall back to tap-windows6 if options are used + that are incompatible with ovpn-dco.
doc/man-sections/vpn-network-options.rst +1 -1
@@ -89,7 +89,7 @@ On Windows, only the names :code:`tun` and :code:`tap` are supported. Selection among multiple installed drivers or driver instances is done - with ``--dev-node`` and ``--windows-driver``. + with ``--dev-node``. --dev-node node This is a highly system dependent option to influence tun/tap driver
src/openvpn/options.c +1 -10
@@ -3905,16 +3905,7 @@ }else { -if (o->windows_driver ==DRIVER_DCO ) - { -msg (M_WARN , -"Option --windows-driver ovpn-dco is ignored because Data Channel Offload is disabled" ); - o->windows_driver =WINDOWS_DRIVER_TAP_WINDOWS6 ; - } -else if (o->windows_driver ==WINDOWS_DRIVER_UNSPECIFIED ) - { - o->windows_driver =WINDOWS_DRIVER_TAP_WINDOWS6 ; - } + o->windows_driver =WINDOWS_DRIVER_TAP_WINDOWS6 ; }#else /* _WIN32 */ if (dco_enabled (o) && o->dev_node)
src/openvpn/tun.c +1 -1
@@ -6061,7 +6061,7 @@if (tt->backend_driver != windows_driver) {msg (M_FATAL , -"Adapter '%s' is using %s driver, %s expected. If you want to use this device, adjust --windows-driver." , +"Adapter '%s' is using %s driver, %s expected." , dev_node,print_tun_backend_driver (windows_driver),print_tun_backend_driver (tt->backend_driver)); }
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1426?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I78c6f335c635e97bb41d26ed8908a978d7b49387
Gerrit-Change-Number: 1426
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Attention is currently required from: flichtenheld, plaisthos.
cron2 has posted comments on this change by flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/1426?usp=email )
Change subject: Remove some obsolete references to --windows-driver
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1426?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I78c6f335c635e97bb41d26ed8908a978d7b49387
Gerrit-Change-Number: 1426
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Wed, 10 Dec 2025 07:48:49 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
PATCH 1/1 Remove some obsolete references to --windows-driver
In reply to a message not in the archiveFrom: Frank Lichtenheld <[email protected]...>
The option doesn't exist anymore so don't point
people to it.
But add it to the list of unsupported options.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1426
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1426
This mail reflects revision 1 of this Change.
Acked-by according to Gerrit (reflected above):
Gert Doering <[email protected]...>
doc/man-sections/unsupported-options.rst +5 -0
@@ -49,3 +49,8 @@ --opt-verify Removed in OpenVPN 2.7. This option does not make sense anymore as option strings may not match due to the introduction of parameters negotiation. + +--windows-driver + Removed in OpenVPN 2.7. OpenVPN will always use ovpn-dco as the default + driver on Windows. It will fall back to tap-windows6 if options are used + that are incompatible with ovpn-dco.
doc/man-sections/vpn-network-options.rst +1 -1
@@ -89,7 +89,7 @@ On Windows, only the names :code:`tun` and :code:`tap` are supported. Selection among multiple installed drivers or driver instances is done - with ``--dev-node`` and ``--windows-driver``. + with ``--dev-node``. --dev-node node This is a highly system dependent option to influence tun/tap driver
src/openvpn/options.c +1 -10
@@ -3905,16 +3905,7 @@ }else { -if (o->windows_driver ==DRIVER_DCO ) - { -msg (M_WARN , -"Option --windows-driver ovpn-dco is ignored because Data Channel Offload is disabled" ); - o->windows_driver =WINDOWS_DRIVER_TAP_WINDOWS6 ; - } -else if (o->windows_driver ==WINDOWS_DRIVER_UNSPECIFIED ) - { - o->windows_driver =WINDOWS_DRIVER_TAP_WINDOWS6 ; - } + o->windows_driver =WINDOWS_DRIVER_TAP_WINDOWS6 ; }#else /* _WIN32 */ if (dco_enabled (o) && o->dev_node)
src/openvpn/tun.c +1 -1
@@ -6061,7 +6061,7 @@if (tt->backend_driver != windows_driver) {msg (M_FATAL , -"Adapter '%s' is using %s driver, %s expected. If you want to use this device, adjust --windows-driver." , +"Adapter '%s' is using %s driver, %s expected." , dev_node,print_tun_backend_driver (windows_driver),print_tun_backend_driver (tt->backend_driver)); }
[Openvpn-devel] [PATCH applied] Re: Remove some obsolete references to --windows-driver
"Because it makes sense" :-) - stared at the change a bit, and the buildbots confirm that it didn't accidentially break anything.
Your patch has been applied to the master branch.
commit 2ab3e8733e0d48395cea04ace7a44bbf59b507f4
Author: Frank Lichtenheld Date: Wed Dec 10 08:48:58 2025 +0100
Remove some obsolete references to --windows-driver
Signed-off-by: Frank Lichtenheld <[email protected]...>
Acked-by: Gert Doering <[email protected]...>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1426
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg34970.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
Attention is currently required from: flichtenheld, plaisthos.
stipa has posted comments on this change by flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/1426?usp=email )
Change subject: Remove some obsolete references to --windows-driver
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1426?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I78c6f335c635e97bb41d26ed8908a978d7b49387
Gerrit-Change-Number: 1426
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: stipa <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Wed, 10 Dec 2025 08:01:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
cron2 has uploaded a new patch set (#2) to the change originally created by flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/1426?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by cron2, Code-Review+2 by stipa
Change subject: Remove some obsolete references to --windows-driver
......................................................................
Remove some obsolete references to --windows-driver
The option doesn't exist anymore so don't point
people to it.
But add it to the list of unsupported options.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1426
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg34970.html
---
M doc/man-sections/unsupported-options.rst
M doc/man-sections/vpn-network-options.rst
M src/openvpn/options.c
M src/openvpn/tun.c
4 files changed, 8 insertions(+), 12 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/26/1426/2
doc/man-sections/unsupported-options.rst +5 -0
@@ -49,3 +49,8 @@ --opt-verify Removed in OpenVPN 2.7. This option does not make sense anymore as option strings may not match due to the introduction of parameters negotiation. + +--windows-driver + Removed in OpenVPN 2.7. OpenVPN will always use ovpn-dco as the default + driver on Windows. It will fall back to tap-windows6 if options are used + that are incompatible with ovpn-dco.
doc/man-sections/vpn-network-options.rst +1 -1
@@ -89,7 +89,7 @@ On Windows, only the names :code:`tun` and :code:`tap` are supported. Selection among multiple installed drivers or driver instances is done - with ``--dev-node`` and ``--windows-driver``. + with ``--dev-node``. --dev-node node This is a highly system dependent option to influence tun/tap driver
src/openvpn/options.c +1 -10
@@ -3905,16 +3905,7 @@ }else { -if (o->windows_driver ==DRIVER_DCO ) - { -msg (M_WARN , -"Option --windows-driver ovpn-dco is ignored because Data Channel Offload is disabled" ); - o->windows_driver =WINDOWS_DRIVER_TAP_WINDOWS6 ; - } -else if (o->windows_driver ==WINDOWS_DRIVER_UNSPECIFIED ) - { - o->windows_driver =WINDOWS_DRIVER_TAP_WINDOWS6 ; - } + o->windows_driver =WINDOWS_DRIVER_TAP_WINDOWS6 ; }#else /* _WIN32 */ if (dco_enabled (o) && o->dev_node)
src/openvpn/tun.c +1 -1
@@ -5826,7 +5826,7 @@if (tt->backend_driver != windows_driver) {msg (M_FATAL , -"Adapter '%s' is using %s driver, %s expected. If you want to use this device, adjust --windows-driver." , +"Adapter '%s' is using %s driver, %s expected." , dev_node,print_tun_backend_driver (windows_driver),print_tun_backend_driver (tt->backend_driver)); }
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1426?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I78c6f335c635e97bb41d26ed8908a978d7b49387
Gerrit-Change-Number: 1426
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: stipa <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1426?usp=email )
Change subject: Remove some obsolete references to --windows-driver
......................................................................
Remove some obsolete references to --windows-driver
The option doesn't exist anymore so don't point
people to it.
But add it to the list of unsupported options.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1426
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg34970.html
---
M doc/man-sections/unsupported-options.rst
M doc/man-sections/vpn-network-options.rst
M src/openvpn/options.c
M src/openvpn/tun.c
4 files changed, 8 insertions(+), 12 deletions(-)
doc/man-sections/unsupported-options.rst +5 -0
@@ -49,3 +49,8 @@ --opt-verify Removed in OpenVPN 2.7. This option does not make sense anymore as option strings may not match due to the introduction of parameters negotiation. + +--windows-driver + Removed in OpenVPN 2.7. OpenVPN will always use ovpn-dco as the default + driver on Windows. It will fall back to tap-windows6 if options are used + that are incompatible with ovpn-dco.
doc/man-sections/vpn-network-options.rst +1 -1
@@ -89,7 +89,7 @@ On Windows, only the names :code:`tun` and :code:`tap` are supported. Selection among multiple installed drivers or driver instances is done - with ``--dev-node`` and ``--windows-driver``. + with ``--dev-node``. --dev-node node This is a highly system dependent option to influence tun/tap driver
src/openvpn/options.c +1 -10
@@ -3905,16 +3905,7 @@ }else { -if (o->windows_driver ==DRIVER_DCO ) - { -msg (M_WARN , -"Option --windows-driver ovpn-dco is ignored because Data Channel Offload is disabled" ); - o->windows_driver =WINDOWS_DRIVER_TAP_WINDOWS6 ; - } -else if (o->windows_driver ==WINDOWS_DRIVER_UNSPECIFIED ) - { - o->windows_driver =WINDOWS_DRIVER_TAP_WINDOWS6 ; - } + o->windows_driver =WINDOWS_DRIVER_TAP_WINDOWS6 ; }#else /* _WIN32 */ if (dco_enabled (o) && o->dev_node)
src/openvpn/tun.c +1 -1
@@ -5826,7 +5826,7 @@if (tt->backend_driver != windows_driver) {msg (M_FATAL , -"Adapter '%s' is using %s driver, %s expected. If you want to use this device, adjust --windows-driver." , +"Adapter '%s' is using %s driver, %s expected." , dev_node,print_tun_backend_driver (windows_driver),print_tun_backend_driver (tt->backend_driver)); }
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1426?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I78c6f335c635e97bb41d26ed8908a978d7b49387
Gerrit-Change-Number: 1426
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: stipa <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>