Skip to contentSkip to conversation

Change in openvpn[master]: t_server_null: remove the --dh parameter altogether

Openvpn-devel mattock (Code Review) 1 participant 3 messages Aug 21, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): gerrit.1755758366000.I27a7519ab3ae629d3dc634ad3e9e2120e524e669@...2715...

#1 lore raw

Attention is currently required from: flichtenheld, plaisthos.

Hello plaisthos, flichtenheld,

I'd like you to do a code review.
Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1146?usp=email

to review the following change.

Change subject: t_server_null: remove the --dh parameter altogether
......................................................................

t_server_null: remove the --dh parameter altogether

Change-Id I27a7519ab3ae629d3dc634ad3e9e2120e524e669

---
M tests/t_server_null_default.rc

1 file changed, 2 insertions(+), 3 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/46/1146/1

tests/t_server_null_default.rc +2 -3
index 900f189..51c21c9 100755
@@ -13,7 +13,6 @@
 top_builddir="${top_builddir:-..}"
 sample_keys="${srcdir}/../sample/sample-keys"
 
-DH="${sample_keys}/dh2048.pem"
 CA="${sample_keys}/ca.crt"
 CLIENT_CERT="${sample_keys}/client.crt"
 CLIENT_KEY="${sample_keys}/client.key"
@@ -57,13 +56,13 @@
 SERVER_SERVER_2="--server 10.29.42.0 255.255.255.0"
 SERVER_MGMT_PORT_2="11195"
 SERVER_EXEC_2="${SERVER_EXEC}"
-SERVER_CONF_2="${SERVER_CONF_BASE} ${SERVER_SERVER_2} --lport 1195 --proto tcp --management 127.0.0.1 ${SERVER_MGMT_PORT_2} --dh ${DH}"
+SERVER_CONF_2="${SERVER_CONF_BASE} ${SERVER_SERVER_2} --lport 1195 --proto tcp --management 127.0.0.1 ${SERVER_MGMT_PORT_2}"
 
 SERVER_NAME_3="t_server_null_server-1196_udp"
 SERVER_SERVER_3="--server 10.29.43.0 255.255.255.0"
 SERVER_MGMT_PORT_3="11196"
 SERVER_EXEC_3="${SERVER_EXEC}"
-SERVER_CONF_3="${SERVER_CONF_BASE} ${SERVER_SERVER_3} --lport 1196 --proto udp --management 127.0.0.1 ${SERVER_MGMT_PORT_3} --dh none --cipher AES-192-CBC --data-ciphers DEFAULT:AES-192-CBC"
+SERVER_CONF_3="${SERVER_CONF_BASE} ${SERVER_SERVER_3} --lport 1196 --proto udp --management 127.0.0.1 ${SERVER_MGMT_PORT_3} --cipher AES-192-CBC --data-ciphers DEFAULT:AES-192-CBC"
 
 SERVER_NAME_4="t_server_null_server-1197_multisocket_ipv4_ipv6"
 SERVER_SERVER_4="--server 10.29.44.0 255.255.255.0"

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1146?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I27a7519ab3ae629d3dc634ad3e9e2120e524e669
Gerrit-Change-Number: 1146
Gerrit-PatchSet: 1
Gerrit-Owner: mattock <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-MessageType: newchange

#2 lore raw
In reply to a message not in the archive

Attention is currently required from: flichtenheld, mattock, plaisthos.

cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/1146?usp=email )

Change subject: t_server_null: remove the --dh parameter altogether
......................................................................

Patch Set 1: Code-Review-1

(1 comment)

Patchset:

PS1:
Thanks, but thinking with more coffee, I think this is the wrong fix - it will repair the build fails, but remove all our testing for --dh variants. So we should bring back the dh2024.pem file instead (partially reverting 2d735403)

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1146?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I27a7519ab3ae629d3dc634ad3e9e2120e524e669
Gerrit-Change-Number: 1146
Gerrit-PatchSet: 1
Gerrit-Owner: mattock <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Attention: mattock <[email protected]...>
Gerrit-Comment-Date: Thu, 21 Aug 2025 06:47:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment

#3 lore raw
In reply to a message not in the archive

cron2 has abandoned this change. ( http://gerrit.openvpn.net/c/openvpn/+/1146?usp=email )

Change subject: t_server_null: remove the --dh parameter altogether
......................................................................

Abandoned

new approach in #1147
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1146?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I27a7519ab3ae629d3dc634ad3e9e2120e524e669
Gerrit-Change-Number: 1146
Gerrit-PatchSet: 1
Gerrit-Owner: mattock <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: abandon