Open fabiankeil opened 4 months ago
Hi @fabiankeil ,
Thanks for the in-depth report, I will work on reproducing and debugging this tomorrow.
One thing I did notice is you are not passing in --enable-tlsx
to your ./configure line, this enables all supported TLS extensions. You are enabling some of them but not all of them. Missing TLS extensions can cause issues like what you're seeing, so it's worth trying to enable them.
Thanks for the quick response and the tip, @kareem-wolfssl.
I was unaware of --enable-tlsx
and will use it in the future
instead of --enable-tls13-draft18
.
It doesn't seem to make a noticeable difference for connections to https://traxxas.com/, though.
Thanks for the update. I was able to reproduce this here, I'm working on debugging this.
Contact Details
GitHub or fk@fabiankeil.de
Version
5.7.2 and 5.7.0
Description
SourceForge user withoutname reported in Privoxy SF bug #1765 that Privoxy 3.0.35 can't establish TLS connections to https://traxxas.com/ when linked to wolfSSL 5.7.
It works with OpenSSL and MbedtTLS.
The issue is reproducible with the recently released wolfSSL 5.7.2 and with curl instead of Privoxy as well.
Reproduction steps
Build Privoxy or curl with wolfSSL support and try to access https://traxxas.com/.
Note that wolfSSL support for Privoxy is only available in git master.
The log output below has been created with curl configured with:
./configure --with-wolfssl --disable-shared --enable-debug --enable-maintainer-mode
and curl patched by adding:wolfSSL_Debugging_ON();
before:ret = wolfSSL_connect(backend->handle);
in curl's lib/vtls/wolfssl.c.wolfSSL has been built using the FreeBSD port on ElectroBSD 13.3-STABLE with:
CONFIGURE_ARGS= --disable-dependency-tracking --enable-certgen --enable-debug --enable-des3 --enable-dh --enable-dsa --enable-dtls --enable-ecc --enable-fastmath --enable-fasthugemath --enable-ipv6 --enable-keygen --enable-opensslall --enable-opensslextra --enable-renegotiation-indication --enable-ripemd --enable-sessioncerts --enable-session-ticket --enable-sp --enable-sp-asm --enable-sp-math-all --enable-sha512 --enable-shared --enable-sni --enable-ssh --enable-static --enable-tls13 --enable-tls13-draft18
and:CFLAGS+= -DWOLFSSL_ALT_NAMES -DFP_MAX_BITS=8192 -DNO_WOLFSSL_STUB -DWOLFSSL_ALT_CERT_CHAINS -DHAVE_IO_TIMEOUT
Relevant log output