From: "cron2 (Code Review)" Date: Tue, 5 Mar 2024 21:02:04 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., a@...2181... Message-ID: <55397767fd6918579f9a99819d46ca1d406b7c9a-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="MADsb3nNoVI="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: samples: Remove tls-*.conf List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld , plaisthos Cc: openvpn-devel --MADsb3nNoVI= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has uploaded a new patch set (#2) to the change originally created by= flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/531?usp=3Demail ) The following approvals got outdated and were removed: Code-Review+2 by ordex, Code-Review+2 by plaisthos Change subject: samples: Remove tls-*.conf ...................................................................... samples: Remove tls-*.conf These are mostly redundant with client/server.conf Let's try to manage to maintain one set of sample configurations before we branch out further. Change-Id: I199541fea5a76c8edef7f67d2dbfc476987dc2f7 Signed-off-by: Frank Lichtenheld Acked-by: Arne Schwabe Acked-by: Antonio Quartulli Message-Id: <20240304161556.2036270-1-frank@...2641...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28= 316.html Signed-off-by: Gert Doering --- D sample/sample-config-files/home.up D sample/sample-config-files/office.up D sample/sample-config-files/tls-home.conf D sample/sample-config-files/tls-office.conf 4 files changed, 0 insertions(+), 173 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/31/531/2 diff --git a/sample/sample-config-files/home.up b/sample/sample-config-file= s/home.up deleted file mode 100755 index 9c347cc..0000000 --- a/sample/sample-config-files/home.up +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -route add -net 10.0.0.0 netmask 255.255.255.0 gw $5 diff --git a/sample/sample-config-files/office.up b/sample/sample-config-fi= les/office.up deleted file mode 100755 index 74a71a3..0000000 --- a/sample/sample-config-files/office.up +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -route add -net 10.0.1.0 netmask 255.255.255.0 gw $5 diff --git a/sample/sample-config-files/tls-home.conf b/sample/sample-confi= g-files/tls-home.conf deleted file mode 100644 index ff19d50..0000000 --- a/sample/sample-config-files/tls-home.conf +++ /dev/null @@ -1,83 +0,0 @@ -# -# Sample OpenVPN configuration file for -# home using SSL/TLS mode and RSA certificates/keys. -# -# '#' or ';' may be used to delimit comments. - -# Use a dynamic tun device. For non-Linux OSes, you may want to use an -# explicit unit number such as "tun1". -# OpenVPN also supports virtual ethernet "tap" devices. -dev tun - -# Our OpenVPN peer is the office gateway. -remote 1.2.3.4 - -# 10.1.0.2 is our local VPN endpoint (home). -# 10.1.0.1 is our remote VPN endpoint (office). -ifconfig 10.1.0.2 10.1.0.1 - -# Our up script will establish routes -# once the VPN is alive. -up ./home.up - -# In SSL/TLS key exchange, Office will -# assume server role and Home -# will assume client role. -tls-client - -# Certificate Authority file -ca my-ca.crt - -# Our certificate/public key -cert home.crt - -# Our private key -key home.key - -# Our data channel cipher (must match peer config) -cipher AES-256-GCM - -# OpenVPN 2.0 uses UDP port 1194 by default -# (official port assignment by iana.org 11/04). -# OpenVPN 1.x uses UDP port 5000 by default. -# Each OpenVPN tunnel must use -# a different port number. -# lport or rport can be used -# to denote different ports -# for local and remote. -; port 1194 - -# Downgrade UID and GID to an -# unpriviledged user after initialization -# for extra security. -; user openvpn -; group openvpn - -# If you built OpenVPN with -# LZO compression, uncomment -# out the following line. -; comp-lzo - -# Send a UDP ping to remote once -# every 15 seconds to keep -# stateful firewall connection -# alive. Uncomment this -# out if you are using a stateful -# firewall. -; ping 15 - -# Uncomment this section for a more reliable detection when a system -# loses its connection. For example, dial-ups or laptops that -# travel to other locations. -; ping 15 -; ping-restart 45 -; ping-timer-rem -; persist-tun -; persist-key - -# Verbosity level. -# 0 -- quiet except for fatal errors. -# 1 -- mostly quiet, but display non-fatal network errors. -# 3 -- medium output, good for normal operation. -# 9 -- verbose, good for troubleshooting -verb 3 diff --git a/sample/sample-config-files/tls-office.conf b/sample/sample-con= fig-files/tls-office.conf deleted file mode 100644 index 152e58a..0000000 --- a/sample/sample-config-files/tls-office.conf +++ /dev/null @@ -1,86 +0,0 @@ -# -# Sample OpenVPN configuration file for -# office using SSL/TLS mode and RSA certificates/keys. -# -# '#' or ';' may be used to delimit comments. - -# Use a dynamic tun device. -# For Linux 2.2 or non-Linux OSes, -# you may want to use an explicit -# unit number such as "tun1". -# OpenVPN also supports virtual -# ethernet "tap" devices. -dev tun - -# 10.1.0.1 is our local VPN endpoint (office). -# 10.1.0.2 is our remote VPN endpoint (home). -ifconfig 10.1.0.1 10.1.0.2 - -# Our up script will establish routes -# once the VPN is alive. -up ./office.up - -# In SSL/TLS key exchange, Office will -# assume server role and Home -# will assume client role. -tls-server - -# Diffie-Hellman Parameters (tls-server only) -dh dh2048.pem - -# Certificate Authority file -ca my-ca.crt - -# Our certificate/public key -cert office.crt - -# Our private key -key office.key - -# Our data channel cipher (must match peer config) -cipher AES-256-GCM - -# OpenVPN 2.0 uses UDP port 1194 by default -# (official port assignment by iana.org 11/04). -# OpenVPN 1.x uses UDP port 5000 by default. -# Each OpenVPN tunnel must use -# a different port number. -# lport or rport can be used -# to denote different ports -# for local and remote. -; port 1194 - -# Downgrade UID and GID to an -# unpriviledged user after initialization -# for extra security. -; user openvpn -; group openvpn - -# If you built OpenVPN with -# LZO compression, uncomment -# out the following line. -; comp-lzo - -# Send a UDP ping to remote once -# every 15 seconds to keep -# stateful firewall connection -# alive. Uncomment this -# out if you are using a stateful -# firewall. -; ping 15 - -# Uncomment this section for a more reliable detection when a system -# loses its connection. For example, dial-ups or laptops that -# travel to other locations. -; ping 15 -; ping-restart 45 -; ping-timer-rem -; persist-tun -; persist-key - -# Verbosity level. -# 0 -- quiet except for fatal errors. -# 1 -- mostly quiet, but display non-fatal network errors. -# 3 -- medium output, good for normal operation. -# 9 -- verbose, good for troubleshooting -verb 3 -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/531?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: I199541fea5a76c8edef7f67d2dbfc476987dc2f7 Gerrit-Change-Number: 531 Gerrit-PatchSet: 2 Gerrit-Owner: flichtenheld Gerrit-Reviewer: ordex Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-MessageType: newpatchset --MADsb3nNoVI= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 uploaded patch set #2 to the change originally cr= eated by flichtenheld.

View Change

The following approvals got outda= ted and were removed: Code-Review+2 by ordex, Code-Review+2 by plaisthos

samples: Remove tls-*.co=
nf

These are mostly redundant with client/server.conf
Let's t= ry to manage to maintain one set of sample
configurations before we bran= ch out further.

Change-Id: I199541fea5a76c8edef7f67d2dbfc476987dc2f7=
Signed-off-by: Frank Lichtenheld <frank@...2641...>
Acked-by: = Arne Schwabe <arne-openvpn@...1227...>
Acked-by: Antonio Quartulli= <a@...2181...>
Message-Id: <20240304161556.2036270-1-frank@...493...= 2641...>
URL: https://www.mail-archive.com/openvpn-devel@...1659...= forge.net/msg28316.html
Signed-off-by: Gert Doering <gert@...1296...&= gt;
---
D sample/sample-config-files/home.up
D sample/sample-confi= g-files/office.up
D sample/sample-config-files/tls-home.conf
D sample= /sample-config-files/tls-office.conf
4 files changed, 0 insertions(+), 1= 73 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn r=
efs/changes/31/531/2
diff --git a/sample/sample-config-files/home.u=
p b/sample/sample-config-files/home.up
deleted file mode 10= 0755
index 9c347cc..0000000
--- a/sample/sa= mple-config-files/home.up
+++ /dev/null
@@ = -1,2 +0,0 @@
-#!/bin/sh=
-route add -net 10.0.0= .0 netmask 255.255.255.0 gw $5
diff --git a/sample/sample-c= onfig-files/office.up b/sample/sample-config-files/office.up
deleted file mode 100755
index 74a71a3..0000000--- a/sample/sample-config-files/office.up
+++ /dev/= null
@@ -1,2 +0,0 @@
-#!/bin/sh
-#
-# Sample OpenVPN configuration file for
-# home using SSL/TLS mode= and RSA certificates/keys.
-#
-# '#' = or ';' may be used to delimit comments.
-
-# Use a dynamic tun device. For non-Linux OSes, you may want to use a= n
-# explicit unit numb= er such as "tun1".
-# OpenVPN also supports virtual ethernet "tap" devices.
-dev tun
-
-# Our OpenVPN peer is the office gateway.
-remote 1.2.3.4
-
-# 10.1.0.2 is our local VPN endpoint (home).
-# 10.1.0.1 is our remote VPN endpoint (offi= ce).
-ifconfig 10.1.0.2= 10.1.0.1
-
<= span style=3D"color: hsl(0, 100%, 40%);">-# Our up script will establish ro= utes

-# once the VPN is= alive.
-up ./home.up
-
-# In SSL/TLS key exchange, Office will

-# assume server role and H= ome
-# will assume clie= nt role.
-tls-client
-
-# Certificate Authority file
-ca my-ca.crt

-
-# Our certificate/public key
-cert home.crt
-
-# Our priva= te key
-key home.key
-
-# Our data channel cipher (must match peer = config)
-cipher AES-256= -GCM
-
-# OpenVPN 2.0 uses UDP port 1194 by de= fault
-# (official port= assignment by iana.org 11/04).
-# OpenVPN 1.x uses UDP port 5000 by default.
-# Each OpenVPN tunnel must use
<= span style=3D"color: hsl(0, 100%, 40%);">-# a different port number.
=
-# lport or rport can be used=
-# to denote different= ports
-# for local and= remote.
-; port 1194
-
-# Downgrade UID and GID to an
-# unpriviledged user after initiali= zation

-# for extra sec= urity.
-; user openvpn<= /span>
-; group openvpn=
-
-# If you built OpenVPN with
-# LZO compression, uncomment
-# out the following line.

= -; comp-lzo
-
-# Send a UDP ping to remote once
-# every 15 seconds to keep
-# stateful firewall connection
-# alive. Uncomment this
-# out if you are using a stateful
-# firewall.
-; ping 15
-
-# Uncomment this section for a more reliable detection when a syste= m
-# loses its connecti= on. For example, dial-ups or laptops that
-# travel to other locations.
-; ping 15
-; ping-restart 45
-; ping-timer-rem
-; persist-tun
-;= persist-key
--# Verbosity level.
<= span style=3D"color: hsl(0, 100%, 40%);">-# 0 -- quiet except for fatal err= ors.
-# 1 -- mostly qui= et, but display non-fatal network errors.
-# 3 -- medium output, good for normal operation.=
-# 9 -- verbose, good for tro= ubleshooting
-verb 3

diff --git a/sample/sample-config-files/tls-office.conf b/sam= ple/sample-config-files/tls-office.conf
deleted file mode 1= 00644
index 152e58a..0000000
--- a/sample/s= ample-config-files/tls-office.conf
+++ /dev/null
= @@ -1,86 +0,0 @@
= -#
-# Sample OpenVPN co= nfiguration file for
-#= office using SSL/TLS mode and RSA certificates/keys.
-#
-# '#' or ';' may be used to delimit comments.
-
-# Use a dynamic tun device.
-# For Linux 2.2 or non-Linux OSes,
-# you may want to use an= explicit
-# unit numbe= r such as "tun1".
-# OpenVPN also supports virtual
-# ethernet "tap" devices.
-dev tun
-
-# 1= 0.1.0.1 is our local VPN endpoint (office).
-# 10.1.0.2 is our remote VPN endpoint (home).<= br>-ifconfig 10.1.0.1 10.1.0.2
-
-# Our up script will establish routes

-# once the VPN is alive.
-up ./office.up-
-# In SSL/TLS key exchange, Office will
-# assume server role and Home
-# will assume client role.<= /span>
-tls-server
<= span style=3D"color: hsl(0, 100%, 40%);">-

-# Diffie-Hellman Parameters (tls-server only)-dh dh2048.pem
-
-# Certificate Authority file
-ca my-ca.crt
-
-# Our c= ertificate/public key
-= cert office.crt
-
-# Our private key-key office.key
-
-# Our data channel cipher (must match peer config)-cipher AES-256-GCM
<= span style=3D"color: hsl(0, 100%, 40%);">-

-# OpenVPN 2.0 uses UDP port 1194 by default
= -# (official port assignment by i= ana.org 11/04).
-# Open= VPN 1.x uses UDP port 5000 by default.
-# Each OpenVPN tunnel must use
-# a different port number.
-# lport or rport can be used
-# to denote different ports
-# for local and remote.=
-; port 1194
-
-# Downgrade UID and GID to an
-# unpriviledged user after initialization-# for extra security.-; user openvpn
-; group openvpn
-
-# If you built OpenVPN with
-# LZO compression, uncomment
-# out the following line.
-; comp-lzo
-
-# Se= nd a UDP ping to remote once
-# every 15 seconds to keep
-# stateful firewall connection
-# alive. Uncomment this
-# out if you are using a stateful
-# firewall.
-; ping 15
-
-# Uncom= ment this section for a more reliable detection when a system
-# loses its connection. For exampl= e, dial-ups or laptops that

-# travel to other locations.
-; ping 15
= -; ping-restart 45
-; p= ing-timer-rem
-; persis= t-tun
-; persist-key
-
-# Verbosity level.
-# 0 -- quiet except for fatal errors.-# 1 -- mostly quiet, but displ= ay non-fatal network errors.
-# 3 -- medium output, good for normal operation.
-# 9 -- verbose, good for troubleshooting<= /span>
-verb 3

To view, visit change 531. To unsubscribe, or for help writ= ing mail filters, visit sett= ings.

<= link itemprop=3D"url" href=3D"http://gerrit.openvpn.net/c/openvpn/+/531?usp= =3Demail"/>
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I199541fea5a76c8edef7f67d2db= fc476987dc2f7
Gerrit-Change-Number: 531
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: ordex <a@...2181...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-MessageType: newpatchset
--MADsb3nNoVI=--