1

(8 replies, posted in wolfSSL (formerly CyaSSL))

Following this step, the second socket still failed, the phenomenon is the same as before. CTX = SSL_CTX_new is called only once, and SSL_2 = SSL_new is called twice.

2

(8 replies, posted in wolfSSL (formerly CyaSSL))

fail 2 test2.pcapng

3

(8 replies, posted in wolfSSL (formerly CyaSSL))

fail 2 test2.pcapng

4

(8 replies, posted in wolfSSL (formerly CyaSSL))

The connection is successful using the Windows tool (normal.pcapng) and the encryption algorithm is 0xC014. When set in c.c (wolfSSL_CTX_set_cipher_list(CTX, "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA")) still fails (test2.pcapng).

5

(8 replies, posted in wolfSSL (formerly CyaSSL))

We have no special configuration. In Ubuntu, clone Wolfssl-5.0.0 and then make and make install. Finally, running c.c will find that the second socket connection failed.

On the forum, I found a question almost identical to mine:https://www.wolfssl.com/forums/topic1626-ftps-data-port-failure.html.
His solution seemed to be to switch servers.

When we use Wolfssl for FTPS, we find that the second socket connection fails. When the client sends client Hello, the server simply replies with an ACK. The current test found that this server and VSFTP will have this phenomenon, other servers (such as Filezilla) can be successful. We also tested MBED SSL, which was successfully connected. Do you have friends who have encountered similar problems?

The attachment is the simulated FTPS code under Linux, and the address of the server is test rebex. net:990(195.144.107.198:990).

gcc c.c -o C -lwolfssl       ./C 195.144.107.198 990