Blame SOURCES/0043-Enable-only-TLSv1.2-by-default.patch

90e381
From 75c942c77aa575143c5b75637e64a925ad12641a Mon Sep 17 00:00:00 2001
90e381
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
90e381
Date: Thu, 21 Dec 2017 16:38:40 +0100
90e381
Subject: [PATCH 43/59] Enable only TLSv1.2 by default
90e381
90e381
Disable TLSv1 and TLSv1.1 - enable only TLSv1.2 by default.
90e381
---
90e381
 tunables.c    | 6 +++---
90e381
 vsftpd.conf.5 | 4 ++--
90e381
 2 files changed, 5 insertions(+), 5 deletions(-)
90e381
90e381
diff --git a/tunables.c b/tunables.c
90e381
index 354251c..9680528 100644
90e381
--- a/tunables.c
90e381
+++ b/tunables.c
90e381
@@ -211,9 +211,9 @@ tunables_load_defaults()
90e381
   tunable_force_local_data_ssl = 1;
90e381
   tunable_sslv2 = 0;
90e381
   tunable_sslv3 = 0;
90e381
-  /* TLSv1 up to TLSv1.2 is enabled by default */
90e381
-  tunable_tlsv1 = 1;
90e381
-  tunable_tlsv1_1 = 1;
90e381
+  tunable_tlsv1 = 0;
90e381
+  tunable_tlsv1_1 = 0;
90e381
+  /* Only TLSv1.2 is enabled by default */
90e381
   tunable_tlsv1_2 = 1;
90e381
   tunable_tilde_user_enable = 0;
90e381
   tunable_force_anon_logins_ssl = 0;
90e381
diff --git a/vsftpd.conf.5 b/vsftpd.conf.5
90e381
index 2a7662e..df14027 100644
90e381
--- a/vsftpd.conf.5
90e381
+++ b/vsftpd.conf.5
90e381
@@ -539,7 +539,7 @@ Only applies if
90e381
 is activated. If enabled, this option will permit TLS v1 protocol connections.
90e381
 TLS v1.2 connections are preferred.
90e381
 
90e381
-Default: YES
90e381
+Default: NO
90e381
 .TP
90e381
 .B ssl_tlsv1_1
90e381
 Only applies if
90e381
@@ -547,7 +547,7 @@ Only applies if
90e381
 is activated. If enabled, this option will permit TLS v1.1 protocol connections.
90e381
 TLS v1.2 connections are preferred.
90e381
 
90e381
-Default: YES
90e381
+Default: NO
90e381
 .TP
90e381
 .B ssl_tlsv1_2
90e381
 Only applies if
90e381
-- 
90e381
2.14.4
90e381