0 votes
by (120 points)

Applies to: Rebex FTP/SSL

1 Answer

0 votes
by (150k points)

by (120 points)
Hi, i tried with Wireshark but it's impossible for me... too hard... i am using Glftpd as a server. Flashfxp works fine with it for example.
by (150k points)
Is there any glFTPd server accessible from the Internet where we could reproduce this issue? We don't need any username or password - the error occurs before authentication. If there is, please send us its address to support@rebex.net. If we could reproduce this, there is a high chance we would be able to solve it as well.
by (120 points)
Well, i just tried an other glftpd server. It worked but seems this one is less restrictive on the cipher list. So i guess this cipher is not implemented: ECDHE-ECDSA-AES256-GCM-SHA384
by (150k points)
You are right, elliptic-curve-based ciphers such as this one are not supported yet, although we plan to add them soon. Demand for them will most likely grow in the future.
by (150k points)
All Rebex components that use TLS/SSL or SSH now support elliptic curve algorithms, cetrificates and ciphers. For additional information, see Elliptic Curve Cryptography HOWTO at http://www.rebex.net/kb/elliptic-curve-plugins/default.aspx
by (150k points)
Support for AES/GCM ciphers including ECDHE-ECDSA-AES256-GCM-SHA384 has been added in Rebex FTP/SSL 2017 R6: https://www.rebex.net/ftp-ssl.net/history.aspx#2017R6
by
Hello, I have the same problem.
I use the current 4.0.6755 version.
If I run the code in my application under Windows, I can connect to FTP.

If I then run it under Unix I get a handshake error (ErrorRebex.Net.TlsException: Fatal error 'HandshakeFailure' has been reported by the remote connection end.)


My Code:
I use the library in an AspCore project.


using (var client = new Rebex.Net.Ftp())
                {
                    client.Settings.SslAcceptAllCertificates = true;        
                    client.SecureTransfers = true;

                    client.Connect(FtpConfiguration.Value.Host, FtpConfiguration.Value.Port);

                  
                    if (FtpConfiguration.Value.Ssl == true)
                        client.Secure();
                   
                    client.Login(FtpConfiguration.Value.Username, FtpConfiguration.Value.Passwort);

                    client.ChangeDirectory("/");
}

Can you tell me why it works under Windows and not under Linux

Regards

Info:
FehlerRebex.Net.TlsException: Fatal error 'HandshakeFailure' has been reported by the remote connection end. ---> Rebex.Net.TlsException: Fatal error 'HandshakeFailure' has been reported by the remote connection end.
   at aumk.utye(Byte[] bcs, Int32 bct, Int32 bcu)
   at aumj.utxm(Byte[] ans, Int32 ant, Int32 anu)
   at aumj.utxq()
   --- End of inner exception stack trace ---
   at aumj.utxq()
   at aumj.utxx()
   at wnnt.xfrr(TlsParameters pi)
   at Rebex.Net.Ftp.elmo(TlsParameters ep, FtpSecureUpgradeType eq)
   at Rebex.Net.Ftp.elmm(TlsParameters em, FtpSecureUpgradeType en)
by (150k points)
Hello Askerion, some TLS ciphers (those based on ECDSA and/or ECDH algorithms) need a plugin on non-Windows platforms. Please see https://www.rebex.net/kb/elliptic-curve-plugins/ for details and links.
...