aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/openvpn/files
diff options
context:
space:
mode:
authorMatteo Panella <morpheus@level28.org>2016-06-21 15:45:05 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-06-21 15:45:05 +0200
commitbb5a6118b8921f36a8705b88c9e159f0ae58f02f (patch)
treea3a083d8693e166a51d4243cd701841fd6e3cfe4 /package/network/services/openvpn/files
parentd6255e751e76fce3dd47926579e307b04467f0f5 (diff)
downloadmaster-187ad058-bb5a6118b8921f36a8705b88c9e159f0ae58f02f.tar.gz
master-187ad058-bb5a6118b8921f36a8705b88c9e159f0ae58f02f.tar.bz2
master-187ad058-bb5a6118b8921f36a8705b88c9e159f0ae58f02f.zip
openvpn: add support for tls-version-min
Currently, the uci data model does not provide support for specifying the minimum TLS version supported in an OpenVPN instance (be it server or client). This patch adds support for writing the relevant option to the openvpn configuration file at service startup. Signed-off-by: Matteo Panella <morpheus@level28.org> [Jo-Philipp Wich: shorten commit title, bump pkg release] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/network/services/openvpn/files')
-rw-r--r--package/network/services/openvpn/files/openvpn.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/openvpn/files/openvpn.init b/package/network/services/openvpn/files/openvpn.init
index 5396d0bf47..6dac7b3fa1 100644
--- a/package/network/services/openvpn/files/openvpn.init
+++ b/package/network/services/openvpn/files/openvpn.init
@@ -121,7 +121,7 @@ start_instance() {
reneg_bytes reneg_pkts reneg_sec \
replay_persist replay_window resolv_retry route route_delay route_gateway \
route_metric route_pre_down route_up rport script_security secret server server_bridge setenv shaper sndbuf \
- socks_proxy status status_version syslog tcp_queue_limit tls_auth \
+ socks_proxy status status_version syslog tcp_queue_limit tls_auth tls_version_min \
tls_cipher tls_remote tls_timeout tls_verify tmp_dir topology tran_window \
tun_mtu tun_mtu_extra txqueuelen user verb down push up \
verify_x509_name x509_username_field \