OpenSSL 1.0.2g can not open a secure FTP-connection.
Moderators: Hacker, petermad, Stefan2, white
OpenSSL 1.0.2g can not open a secure FTP-connection.
After update to OpenSSL 1.0.2g, Total Commander 8.52a can not open a secure FTP-connection.
TC shows message "SSL: Error loading function SSLv2_client_method"
Propably has something to do with disabling SSLv2 in 1.0.2g (see openssl.org announcement: SSLv2 is now by default disabled at build-time.)
TC shows message "SSL: Error loading function SSLv2_client_method"
Propably has something to do with disabling SSLv2 in 1.0.2g (see openssl.org announcement: SSLv2 is now by default disabled at build-time.)
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, TC cannot load the dll because the function SSLv2_client_method isn't exported any more. I will try to support it in TC9. It's very bad practice by them to just remove functions instead of returning an error, it will break a lot of programs which link statically to the dll. TC links dynamically via LoadLibrary, but checks whether functions are missing and refuses to use the dll if any are missing.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
It means that I will try to support the new dll. The function SLv2_client_method is still used to check what method was chosen during the connection, so it's a very bad idea by them to simply remove it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: OpenSSL 1.0.2g can not open a secure FTP-connection.
Confirmed, same problem...tm8544 wrote:TC shows message "SSL: Error loading function SSLv2_client_method"

Edit:
Last working OpenSSL-version 1.0.2f can be downloaded here:
https://www.dropbox.com/s/yze8j3mcv9py7ua/Win32OpenSSL_1_0_2f_TCmd852a.zip?dl=0
(32+64-bit version)
Regards
-
- Junior Member
- Posts: 3
- Joined: 2016-03-29, 11:33 UTC
- Location: Denmark
Hi all,
I just bumped into this thread, because I got an error message saying OpenDLL library not found, when trying to activate SSL/TLS for an FTP connection, with OpenSSL DLL's from version 1.0.2g.
A short research, makes me ask the following:
Does Total Commander really use the SLv2_client_method, when initiating a secure connection?
According to the OpenSSL 1.0.2 manpages for SSLv2_client_method (sorry for being a new member, so I can't pase link yet, but you can probably find it yourself
), "A TLS/SSL connection established with these methods will only understand the SSLv2 protocol".
If that's true, newer and better versions of SSL and TLS are never used!
Instead, I think SSLv23_client_method should be used.
"These are the general-purpose version-flexible SSL/TLS methods. The actual protocol version used will be negotiated to the highest version mutually supported by the client and the server. The supported protocols are SSLv2, SSLv3, TLSv1, TLSv1.1 and TLSv1.2. Most applications should use these method, and avoid the version specific methods described below."
I don't know anything about how Total Commander is build and using these DLL's, but wouldn't it be possible to "just" use this function instead, to solve this problem?
Best regards,
Patrik Näsfors
I just bumped into this thread, because I got an error message saying OpenDLL library not found, when trying to activate SSL/TLS for an FTP connection, with OpenSSL DLL's from version 1.0.2g.
A short research, makes me ask the following:
Does Total Commander really use the SLv2_client_method, when initiating a secure connection?
According to the OpenSSL 1.0.2 manpages for SSLv2_client_method (sorry for being a new member, so I can't pase link yet, but you can probably find it yourself

If that's true, newer and better versions of SSL and TLS are never used!
Instead, I think SSLv23_client_method should be used.
"These are the general-purpose version-flexible SSL/TLS methods. The actual protocol version used will be negotiated to the highest version mutually supported by the client and the server. The supported protocols are SSLv2, SSLv3, TLSv1, TLSv1.1 and TLSv1.2. Most applications should use these method, and avoid the version specific methods described below."
I don't know anything about how Total Commander is build and using these DLL's, but wouldn't it be possible to "just" use this function instead, to solve this problem?
Best regards,
Patrik Näsfors
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC links dynamically to the DLL, but reports an error if any of the functions is missing. This is to ensure that the DLL is valid. Who could have guessed that they would suddently remove functions!? Really a stupid move.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Checking for totally deprecated insanely insecure sh** that noone sane was using for ~10 years and expecting it to stay there forever ain't exactly smart either.ghisler(Author) wrote:This is to ensure that the DLL is valid. Who could have guessed that they would suddently remove functions!? Really a stupid move.

Please fix this ASAP, this is a complete showstopper for FTP usage (and no, suggestions to use vulnerable OpenSSL versions do not count as solution).
HAL 9000,
Roman
Why not? Is TC using any of the vulnerable functions or is it just checking for their presence?suggestions to use vulnerable OpenSSL versions do not count as solution
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Uhm... Everything on the system will use that vulnerable OpenSSL version. Let me quote someone else.Hacker wrote:HAL 9000,
Why not? Is TC using any of the vulnerable functions or is it just checking for their presence?
Stop asking me for versions of OpenSSL that have security vulnerabilities in them! That would be any version of OpenSSL prior to the absolute latest build. This is a security product and yet people regularly ask me for a version with security vulnerabilities in it! Oh the irony. Please punch yourself in the face to knock some common sense into yourself. Thank you.


HAL 9000,
Roman
Huh? Why would any software look for DLLs in TC's installation directory?Everything on the system will use that vulnerable OpenSSL version.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Dunno what you are doing with your machines, I'm installing OpenSSL into system, so the DLLs go to %WinDir%\System32 and %WinDir%\SysWOW64. Seriously have better things to do than maintaing a separate per-app copy of OpenSSL depending on how much screwed the apps happen to be.Hacker wrote:HAL 9000,Huh? Why would any software look for DLLs in TC's installation directory?Everything on the system will use that vulnerable OpenSSL version.
Roman
Sigh. Fix the stupid bug, end of story.
SSLv2_client_method
My +1 is here. I suspect that ftps is used for security reasons, that's why using insecure openssl versions looks... ehm... a bit strange thing. I use 1.0.2f build for now, but I hope this will be fixed.
Thanks beforehand and great respect.
Thanks beforehand and great respect.