Message-ID: <4407050c-4304-9112-7cb2-7a8489aaa315@...2181...> Date: Fri, 4 Feb 2022 17:51:17 +0100 MIME-Version: 1.0 Content-Language: en-US References: <20211006180644.3081219-1-arne@...1227...> <20211105150742.2909443-1-arne@...1227...> From: Antonio Quartulli In-Reply-To: <20211105150742.2909443-1-arne@...1227...> Subject: Re: [Openvpn-devel] [PATCH v2] Default to --cipher BF-CBC if not set and compat-mode < 2.4.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: Arne Schwabe , openvpn-devel@lists.sourceforge.net Hi, On 05/11/2021 16:07, Arne Schwabe wrote: > When we try to make a configuration compatible to a version earlier > than 2.4.0 we probably need to have a --cipher configured since NCP > is not available. In configuration where --cipher is not specified > we default to BF-CBC to support these old clients. > > Note that with OpenSSL 3.0 you will also need to enable the legacy > provider otherwise we bail out since BF-CBC is no longer supported. > > Also move the condition so BF-CBC gets included in the data-ciphers > list. > > Patch v2: move the comment to a better place. > > Signed-off-by: Arne Schwabe Reviewed-by: Antonio Quartulli Unfortunately I cannot fully ACK this patch because I'd need to compile 2.3 to run a test, but this turned to be a mission impossible (due to OpenSSL compatibility issues). The change makes sense and it should do what we expect. If anybody wants to test against an openvpn2.3 peer is most welcome. Cheers, -- Antonio Quartulli