curl / Autobuilds / Log From 2019-08-11

Log from 2019-08-11

Jump down to problem:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 44 (last) test results

testcurl: NAME = Daniel Stenberg
testcurl: EMAIL = daniel -at- haxx -dot- se
testcurl: DESC = Debian Linux 64bit BoringSSL
testcurl: NOTES =
testcurl: CONFOPTS = --disable-shared --enable-debug --with-ssl=/home/daniel/src/boringssl --without-libssh2 --enable-ares=/home/daniel/src/c-ares --with-gssapi --with-ntlm-auth
testcurl: RUNTESTOPTS =
testcurl: CPPFLAGS =
testcurl: CFLAGS =
testcurl: LDFLAGS =
testcurl: LIBS = -lpthread
testcurl: CC =
testcurl: TMPDIR =
testcurl: MAKEFLAGS =
testcurl: ACLOCAL_FLAGS =
testcurl: PKG_CONFIG_PATH =
testcurl: DYLD_LIBRARY_PATH =
testcurl: LD_LIBRARY_PATH = /home/daniel/src/c-ares/.libs:/home/daniel/src/boringssl/lib
testcurl: LIBRARY_PATH =
testcurl: SHLIB_PATH =
testcurl: LIBPATH =
testcurl: target =
testcurl: version = 2014-11-25
testcurl: date = Sun Aug 11 00:48:10 2019 UTC
testcurl: ./ is verified to be a fine git source dir
testcurl: build dir build-20624 was created fine
testcurl: run git pull in curl
Already up to date.
testcurl: The most recent curl git commits:
testcurl: 42a06118c curl_global_init_mem.3: mention it was added in 7.12.0
testcurl: afce0620a ngtcp2: make the QUIC handshake work
testcurl: 14b1fb1c6 HTTP3.md: Update quiche build instructions
testcurl: 084404b8a CURLOPT_H3: removed
testcurl: db061571e http3: make connection reuse work
testcurl: invoke buildconf
buildconf: autoconf version 2.69 (ok)
buildconf: autom4te version 2.69 (ok)
buildconf: autoheader version 2.69 (ok)
buildconf: automake version 1.16.1 (ok)
buildconf: aclocal version 1.16.1 (ok)
buildconf: libtoolize version 2.4.6 (ok)
buildconf: GNU m4 version 1.4.18 (ok)
buildconf: running libtoolize
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
buildconf: converting all mv to mv -f in local m4/libtool.m4
buildconf: running aclocal
buildconf: converting all mv to mv -f in local aclocal.m4
buildconf: running autoheader
buildconf: running autoconf
buildconf: running automake
configure.ac:132: installing './compile'
configure.ac:191: installing './config.guess'
configure.ac:191: installing './config.sub'
configure.ac:132: installing './install-sh'
configure.ac:137: installing './missing'
docs/examples/Makefile.am: installing './depcomp'
buildconf: OK
testcurl: buildconf was successful
testcurl: timestamp = [unreleased] UTC
testcurl: configure created (at least it exists)
testcurl: going with make as make
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... yes
checking whether to enable compiler optimizer... (assumed) no
checking whether to enable strict compiler warnings... yes
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... (assumed) yes
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... yes
checking whether to disable dependency on -lrt... (assumed no)
checking for path separator... :
checking for sed... /bin/sed
checking for grep... /bin/grep
checking for egrep... /bin/grep -E
checking for ar... /usr/bin/ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... (cached) /bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking curl version... 7.66.0-DEV
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... /bin/grep -E
checking if OS is AIX (to define _ALL_SOURCE)... no
checking if _THREAD_SAFE is already defined... no
checking if _THREAD_SAFE is actually needed... no
checking if _THREAD_SAFE is onwards defined... no
checking if _REENTRANT is already defined... no
checking if _REENTRANT is actually needed... no
checking if _REENTRANT is onwards defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether to build shared libraries with -version-info... yes
checking whether to build shared libraries with -no-undefined... no
checking whether to build shared libraries with -mimpure-text... no
checking whether to build shared libraries with PIC... yes
checking whether to build static libraries with PIC... yes
checking whether to build shared libraries only... no
checking whether to build static libraries only... yes
checking for inline... inline
checking if cpp -P is needed... yes
checking if cpp -P works... yes
checking if compiler is DEC/Compaq/HP C... no
checking if compiler is HP-UX C... no
checking if compiler is IBM C... no
checking if compiler is Intel C... no
checking if compiler is clang... no
checking if compiler is GNU C... yes
checking if compiler is LCC... no
checking if compiler is SGI MIPSpro C... no
checking if compiler is SGI MIPS C... no
checking if compiler is SunPro C... no
checking if compiler is Tiny C... no
checking if compiler is Watcom C... no
checking if compiler accepts some basic options... yes
configure: compiler options added: -Werror-implicit-function-declaration
checking if compiler accepts debug enabling options... yes
configure: compiler options added: -g
checking if compiler optimizer assumed setting might be used... yes
checking if compiler accepts optimizer disabling options... yes
configure: compiler options added: -O0
checking if compiler accepts strict warning options... yes
configure: compiler options added: -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wbad-function-cast -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wold-style-definition -Wstrict-aliasing=3 -Wcast-align -Wtype-limits -Wold-style-declaration -Wmissing-parameter-type -Wempty-body -Wclobbered -Wignored-qualifiers -Wconversion -Wno-sign-conversion -Wvla -ftree-vrp -Wdouble-promotion -Wformat=2 -Warray-bounds=2 -Wshift-negative-value -Wshift-overflow=2 -Wnull-dereference -fdelete-null-pointer-checks -Wduplicated-cond -Wunused-const-variable -Wduplicated-branches -Wrestrict -Walloc-zero -Wformat-overflow=2 -Wformat-truncation=2 -Wimplicit-fallthrough=4 -Wno-system-headers
checking if compiler halts on compilation errors... yes
checking if compiler halts on negative sized arrays... yes
checking if compiler halts on function prototype mismatch... yes
checking if compiler supports hiding library internal symbols... yes
checking if curl debug memory tracking can be enabled... yes
checking for windows.h... no
checking whether build target is a native Windows one... no
checking whether build target supports WIN32 file API... no
checking for good-to-use Mac CFLAGS... no
checking to see if the compiler supports __builtin_available()... no
checking whether to support http... yes
checking whether to support ftp... yes
checking whether to support file... yes
checking whether to support ldap... yes
checking whether to support ldaps... yes
checking whether to support rtsp... yes
checking whether to support proxies... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to support tftp... yes
checking whether to support pop3... yes
checking whether to support imap... yes
checking whether to support smb... yes
checking whether to support smtp... yes
checking whether to support gopher... yes
checking whether to provide built-in manual... yes
checking whether to enable generation of C code... yes
checking whether to use libgcc... no
checking if X/Open network library is required... no
checking for gethostbyname... yes
checking for windows.h... (cached) no
checking for winsock.h... (cached) no
checking for winsock2.h... (cached) no
checking for proto/bsdsocket.h... no
checking for connect in libraries... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for monotonic clock_gettime... yes
checking for clock_gettime in libraries... no additional lib required
checking if monotonic clock_gettime works... yes
checking for pkg-config... /usr/bin/pkg-config
checking for zlib options with pkg-config... found
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
configure: found both libz and libz.h header
checking for BrotliDecoderDecompress in -lbrotlidec... yes
checking brotli/decode.h usability... yes
checking brotli/decode.h presence... yes
checking for brotli/decode.h... yes
checking for lber.h... yes
checking for ldap.h... yes
checking for ldapssl.h... no
checking for ldap_ssl.h... no
checking for LDAP libraries... -lldap -llber
checking for ldap_url_parse... yes
checking for ldap_init_fd... yes
checking whether to enable IPv6... yes
checking if struct sockaddr_in6 has sin6_scope_id member... yes
checking if argv can be written to... no
checking if GSS-API support is requested... yes
checking gss.h usability... no
checking gss.h presence... no
checking for gss.h... no
checking gssapi/gssapi.h usability... yes
checking gssapi/gssapi.h presence... yes
checking for gssapi/gssapi.h... yes
checking for gssapi/gssapi_generic.h... yes
checking for gssapi/gssapi_krb5.h... yes
checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE... yes
checking whether to enable Windows native SSL/TLS (Windows native builds only)... no
checking whether to enable Secure Transport... no
checking whether to enable Amiga native SSL/TLS (AmiSSL)... no
checking for HMAC_Update in -lcrypto... yes
checking for SSL_connect in -lssl... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h presence... yes
checking for openssl/x509.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking for RAND_egd... yes
checking for SSLv2_client_method... no
checking for OpenSSL_version... yes
checking for BoringSSL... yes
checking for libressl... no
configure: Added /home/daniel/src/boringssl/lib to CURL_LIBRARY_PATH
checking for OpenSSL headers version... 1.1.0 - 0x1010007f
checking for OpenSSL library version... 0.9.8
checking for OpenSSL headers and library versions matching... no
configure: WARNING: OpenSSL headers and library versions do not match.
checking for "/dev/urandom"... yes
checking for SRP_Calc_client_key in -lcrypto... no
configure: built with one SSL backend
checking default CA cert bundle/path... /etc/ssl/certs/ca-certificates.crt
checking whether to use builtin CA store of SSL library... no
checking for library containing psl_builtin... -lpsl
checking for RTMP_Init in -lrtmp... yes
checking librtmp/rtmp.h usability... yes
checking librtmp/rtmp.h presence... yes
checking for librtmp/rtmp.h... yes
checking whether versioned symbols are wanted... no
checking whether to enable Windows native IDN (Windows native builds only)... no
checking whether to build with libidn2... (assumed) yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libidn2 options with pkg-config... found
configure: pkg-config: IDN_LIBS: "-lidn2"
configure: pkg-config: IDN_LDFLAGS: ""
configure: pkg-config: IDN_CPPFLAGS: ""
configure: pkg-config: IDN_DIR: ""
checking if idn2_lookup_ul can be linked... yes
checking idn2.h usability... yes
checking idn2.h presence... yes
checking for idn2.h... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libnghttp2 options with pkg-config... found
configure: -l is -lnghttp2
configure: -I is
configure: -L is
checking for nghttp2_option_set_no_recv_client_magic in -lnghttp2... yes
checking nghttp2/nghttp2.h usability... yes
checking nghttp2/nghttp2.h presence... yes
checking for nghttp2/nghttp2.h... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libngtcp2 options with pkg-config... no
checking for quiche_connect in -lquiche... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for fish options with pkg-config... no
checking for ANSI C header files... (cached) yes
checking for malloc.h... yes
checking for memory.h... no
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/ioctl.h... yes
checking for sys/uio.h... yes
checking for assert.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for netinet/in.h... yes
checking for netinet/in6.h... no
checking for sys/un.h... yes
checking for linux/tcp.h... yes
checking for netinet/tcp.h... yes
checking for netdb.h... yes
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking for sys/param.h... yes
checking for termios.h... yes
checking for termio.h... yes
checking for sgtty.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for time.h... (cached) yes
checking for io.h... no
checking for pwd.h... yes
checking for utime.h... yes
checking for sys/utime.h... no
checking for sys/poll.h... yes
checking for poll.h... yes
checking for socket.h... no
checking for sys/resource.h... yes
checking for libgen.h... yes
checking for locale.h... yes
checking for errno.h... yes
checking for stdbool.h... yes
checking for arpa/tftp.h... yes
checking for sys/filio.h... no
checking for sys/wait.h... yes
checking for setjmp.h... yes
checking for an ANSI C-conforming const... yes
checking for compiler support of C99 variadic macro style... yes
checking for compiler support of old gcc variadic macro style... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for struct timeval... yes
checking run-time libs availability... fine
checking size of size_t... 8
checking size of long... 8
checking size of int... 4
checking size of short... 2
checking size of time_t... 8
checking size of off_t... 8
checking size of curl_off_t... 8
checking for long long... yes
checking if numberLL works... yes
checking for ssize_t... yes
checking for bool... yes
checking for sa_family_t... yes
checking if time_t is unsigned... no
checking for sys/types.h... (cached) yes
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for in_addr_t... yes
checking for struct sockaddr_storage... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sig_atomic_t... yes
checking if sig_atomic_t is already defined as volatile... no
checking return type of signal handlers... void
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for select... yes
checking types of args and return type for select... int,fd_set *,struct timeval *,int
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for recv... yes
checking types of args and return type for recv... int,void *,size_t,int,ssize_t
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for send... yes
checking types of args and return type for send... int,const void *,size_t,int,ssize_t
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for MSG_NOSIGNAL... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking if alarm can be linked... yes
checking if alarm is prototyped... yes
checking if alarm is compilable... yes
checking if alarm usage allowed... yes
checking if alarm might be used... yes
checking for sys/types.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for libgen.h... (cached) yes
checking if basename can be linked... yes
checking if basename is prototyped... yes
checking if basename is compilable... yes
checking if basename usage allowed... yes
checking if basename might be used... yes
checking for sys/types.h... (cached) yes
checking for socket.h... (cached) no
checking if closesocket can be linked... no
checking if closesocket might be used... no
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking if CloseSocket can be linked... no
checking if CloseSocket might be used... no
checking if connect can be linked... yes
checking if connect is prototyped... yes
checking if connect is compilable... yes
checking if connect usage allowed... yes
checking if connect might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking if fcntl can be linked... yes
checking if fcntl is prototyped... yes
checking if fcntl is compilable... yes
checking if fcntl usage allowed... yes
checking if fcntl might be used... yes
checking if fcntl O_NONBLOCK is compilable... yes
checking if fcntl O_NONBLOCK usage allowed... yes
checking if fcntl O_NONBLOCK might be used... yes
checking for windows.h... (cached) no
checking for winsock2.h... (cached) no
checking for ws2tcpip.h... (cached) no
checking for sys/types.h... (cached) yes
checking for netdb.h... (cached) yes
checking if freeaddrinfo can be linked... yes
checking if freeaddrinfo is prototyped... yes
checking if freeaddrinfo is compilable... yes
checking if freeaddrinfo usage allowed... yes
checking if freeaddrinfo might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for ifaddrs.h... yes
checking if freeifaddrs can be linked... yes
checking if freeifaddrs is prototyped... yes
checking if freeifaddrs is compilable... yes
checking if freeifaddrs usage allowed... yes
checking if freeifaddrs might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/xattr.h... yes
checking if fsetxattr can be linked... yes
checking if fsetxattr is prototyped... yes
checking if fsetxattr takes 5 args.... yes
checking if fsetxattr is compilable... yes
checking if fsetxattr usage allowed... yes
checking if fsetxattr might be used... yes
checking if ftruncate can be linked... yes
checking if ftruncate is prototyped... yes
checking if ftruncate is compilable... yes
checking if ftruncate usage allowed... yes
checking if ftruncate might be used... yes
checking for sys/types.h... (cached) yes
checking for stdlib.h... (cached) yes
checking if getaddrinfo can be linked... yes
checking if getaddrinfo is prototyped... yes
checking if getaddrinfo is compilable... yes
checking if getaddrinfo seems to work... yes
checking if getaddrinfo usage allowed... yes
checking if getaddrinfo might be used... yes
checking if getaddrinfo is threadsafe... yes
checking if gai_strerror can be linked... yes
checking if gai_strerror is prototyped... yes
checking if gai_strerror is compilable... yes
checking if gai_strerror usage allowed... yes
checking if gai_strerror might be used... yes
checking if gethostbyaddr can be linked... yes
checking if gethostbyaddr is prototyped... yes
checking if gethostbyaddr is compilable... yes
checking if gethostbyaddr usage allowed... yes
checking if gethostbyaddr might be used... yes
checking if gethostbyaddr_r can be linked... yes
checking if gethostbyaddr_r is prototyped... yes
checking if gethostbyaddr_r takes 5 args.... no
checking if gethostbyaddr_r takes 7 args.... no
checking if gethostbyaddr_r takes 8 args.... yes
checking if gethostbyaddr_r is compilable... yes
checking if gethostbyaddr_r usage allowed... yes
checking if gethostbyaddr_r might be used... yes
checking if gethostbyname can be linked... yes
checking if gethostbyname is prototyped... yes
checking if gethostbyname is compilable... yes
checking if gethostbyname usage allowed... yes
checking if gethostbyname might be used... yes
checking if gethostbyname_r can be linked... yes
checking if gethostbyname_r is prototyped... yes
checking if gethostbyname_r takes 3 args.... no
checking if gethostbyname_r takes 5 args.... no
checking if gethostbyname_r takes 6 args.... yes
checking if gethostbyname_r is compilable... yes
checking if gethostbyname_r usage allowed... yes
checking if gethostbyname_r might be used... yes
checking if gethostname can be linked... yes
checking if gethostname is prototyped... yes
checking if gethostname is compilable... yes
checking for gethostname arg 2 data type... size_t
checking if gethostname usage allowed... yes
checking if gethostname might be used... yes
checking if getpeername can be linked... yes
checking if getpeername is prototyped... yes
checking if getpeername is compilable... yes
checking if getpeername usage allowed... yes
checking if getpeername might be used... yes
checking if getsockname can be linked... yes
checking if getsockname is prototyped... yes
checking if getsockname is compilable... yes
checking if getsockname usage allowed... yes
checking if getsockname might be used... yes
checking for net/if.h... (cached) yes
checking if if_nametoindex can be linked... yes
checking if if_nametoindex is prototyped... yes
checking if if_nametoindex is compilable... yes
checking if if_nametoindex usage allowed... yes
checking if if_nametoindex might be used... yes
checking if getifaddrs can be linked... yes
checking if getifaddrs is prototyped... yes
checking if getifaddrs is compilable... yes
checking if getifaddrs seems to work... yes
checking if getifaddrs usage allowed... yes
checking if getifaddrs might be used... yes
checking if getservbyport_r can be linked... yes
checking if getservbyport_r is prototyped... yes
checking if getservbyport_r takes 4 args.... no
checking if getservbyport_r takes 5 args.... no
checking if getservbyport_r takes 6 args.... yes
checking if getservbyport_r is compilable... yes
checking if getservbyport_r usage allowed... yes
checking if getservbyport_r might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking if gmtime_r can be linked... yes
checking if gmtime_r is prototyped... yes
checking if gmtime_r is compilable... yes
checking if gmtime_r seems to work... yes
checking if gmtime_r usage allowed... yes
checking if gmtime_r might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking if inet_ntoa_r can be linked... no
checking if inet_ntoa_r might be used... no
checking if inet_ntop can be linked... yes
checking if inet_ntop is prototyped... yes
checking if inet_ntop is compilable... yes
checking if inet_ntop seems to work... yes
checking if inet_ntop usage allowed... yes
checking if inet_ntop might be used... yes
checking if inet_pton can be linked... yes
checking if inet_pton is prototyped... yes
checking if inet_pton is compilable... yes
checking if inet_pton seems to work... yes
checking if inet_pton usage allowed... yes
checking if inet_pton might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for stropts.h... yes
checking if ioctl can be linked... yes
checking if ioctl is prototyped... yes
checking if ioctl is compilable... yes
checking if ioctl usage allowed... yes
checking if ioctl might be used... yes
checking if ioctl FIONBIO is compilable... yes
checking if ioctl FIONBIO usage allowed... yes
checking if ioctl FIONBIO might be used... yes
checking if ioctl SIOCGIFADDR is compilable... yes
checking if ioctl SIOCGIFADDR usage allowed... yes
checking if ioctl SIOCGIFADDR might be used... yes
checking if ioctlsocket can be linked... no
checking if ioctlsocket might be used... no
checking if IoctlSocket can be linked... no
checking if IoctlSocket might be used... no
checking if localtime_r can be linked... yes
checking if localtime_r is prototyped... yes
checking if localtime_r is compilable... yes
checking if localtime_r seems to work... yes
checking if localtime_r usage allowed... yes
checking if localtime_r might be used... yes
checking if memrchr can be linked... yes
checking if memrchr is prototyped... no
checking if memrchr might be used... no
checking if poll can be linked... yes
checking if poll is prototyped... yes
checking if poll is compilable... yes
checking if poll seems to work... yes
checking if poll usage allowed... yes
checking if poll might be used... yes
checking if setsockopt can be linked... yes
checking if setsockopt is prototyped... yes
checking if setsockopt is compilable... yes
checking if setsockopt usage allowed... yes
checking if setsockopt might be used... yes
checking if setsockopt SO_NONBLOCK is compilable... no
checking if setsockopt SO_NONBLOCK might be used... no
checking for sys/types.h... (cached) yes
checking for signal.h... (cached) yes
checking if sigaction can be linked... yes
checking if sigaction is prototyped... yes
checking if sigaction is compilable... yes
checking if sigaction usage allowed... yes
checking if sigaction might be used... yes
checking if siginterrupt can be linked... yes
checking if siginterrupt is prototyped... yes
checking if siginterrupt is compilable... yes
checking if siginterrupt usage allowed... yes
checking if siginterrupt might be used... yes
checking if signal can be linked... yes
checking if signal is prototyped... yes
checking if signal is compilable... yes
checking if signal usage allowed... yes
checking if signal might be used... yes
checking for sys/types.h... (cached) yes
checking for setjmp.h... (cached) yes
checking if sigsetjmp can be linked... no
checking if sigsetjmp seems a macro... yes
checking if sigsetjmp is compilable... yes
checking if sigsetjmp usage allowed... yes
checking if sigsetjmp might be used... yes
checking if socket can be linked... yes
checking if socket is prototyped... yes
checking if socket is compilable... yes
checking if socket usage allowed... yes
checking if socket might be used... yes
checking if socketpair can be linked... yes
checking if socketpair is prototyped... yes
checking if socketpair is compilable... yes
checking if socketpair usage allowed... yes
checking if socketpair might be used... yes
checking if strcasecmp can be linked... yes
checking if strcasecmp is prototyped... yes
checking if strcasecmp is compilable... yes
checking if strcasecmp usage allowed... yes
checking if strcasecmp might be used... yes
checking if strcmpi can be linked... no
checking if strcmpi might be used... no
checking if strdup can be linked... yes
checking if strdup is prototyped... yes
checking if strdup is compilable... yes
checking if strdup usage allowed... yes
checking if strdup might be used... yes
checking if strerror_r can be linked... yes
checking if strerror_r is prototyped... yes
checking if strerror_r is compilable... yes
checking if strerror_r is glibc like... no
checking if strerror_r is POSIX like... yes
checking if strerror_r seems to work... yes
checking if strerror_r usage allowed... yes
checking if strerror_r might be used... yes
checking if stricmp can be linked... no
checking if stricmp might be used... no
checking if strncasecmp can be linked... yes
checking if strncasecmp is prototyped... yes
checking if strncasecmp is compilable... yes
checking if strncasecmp usage allowed... yes
checking if strncasecmp might be used... yes
checking if strncmpi can be linked... no
checking if strncmpi might be used... no
checking if strnicmp can be linked... no
checking if strnicmp might be used... no
checking if strstr can be linked... yes
checking if strstr is prototyped... yes
checking if strstr is compilable... yes
checking if strstr usage allowed... yes
checking if strstr might be used... yes
checking if strtok_r can be linked... yes
checking if strtok_r is prototyped... yes
checking if strtok_r is compilable... yes
checking if strtok_r usage allowed... yes
checking if strtok_r might be used... yes
checking if strtoll can be linked... yes
checking if strtoll is prototyped... yes
checking if strtoll is compilable... yes
checking if strtoll usage allowed... yes
checking if strtoll might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking if writev can be linked... yes
checking if writev is prototyped... yes
checking if writev is compilable... yes
checking if writev usage allowed... yes
checking if writev might be used... yes
checking whether getpwuid_r is declared... yes
checking for fnmatch... yes
checking for geteuid... yes
checking for getpass_r... no
checking deeper for getpass_r... but still no
checking for getppid... yes
checking for getpwuid... yes
checking for getpwuid_r... yes
checking for getrlimit... yes
checking for gettimeofday... yes
checking for if_nametoindex... yes
checking for mach_absolute_time... no
checking deeper for mach_absolute_time... but still no
checking for pipe... yes
checking for setlocale... yes
checking for setmode... no
checking deeper for setmode... but still no
checking for setrlimit... yes
checking for usleep... yes
checking for utime... yes
checking for utimes... yes
checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK
checking for perl... /usr/bin/perl
checking for gnroff... no
checking for nroff... /usr/bin/nroff
checking how to use *nroff to get plain text from man pages... -man
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libcares options with pkg-config... no
checking that c-ares is good and recent enough... yes
checking whether to use POSIX threads for threaded resolver... auto
checking whether to enable verbose strings... yes
checking whether to enable SSPI support (Windows native builds only)... no
checking whether to enable cryptographic authentication methods... yes
checking whether to enable NTLM delegation to winbind's helper... yes
checking whether to enable TLS-SRP authentication... yes
checking whether to enable Unix domain sockets... auto
checking for struct sockaddr_un.sun_path... yes
checking whether to support cookies... yes
checking whether to support HTTP authentication... yes
checking whether to support DoH... yes
checking whether to support the MIME API... yes
checking whether to support date parsing... yes
checking whether to support netrc parsing... yes
checking whether to support progress-meter... yes
checking whether to support DNS shuffling... yes
checking whether to support alt-svc... no
checking whether hiding of library internal symbols will actually happen... yes
configure: using LIBS: -lcares -lnghttp2 -lidn2 -lrtmp -lpsl -lssl -lcrypto -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lldap -llber -lbrotlidec -lz -lpthread
configure: LIBS note: LIBS should only be used to specify libraries (-lname).
configure: WARNING: Continuing even with errors mentioned immediately above this line.
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/examples/Makefile
config.status: creating docs/libcurl/Makefile
config.status: creating docs/libcurl/opts/Makefile
config.status: creating docs/cmdline-opts/Makefile
config.status: creating include/Makefile
config.status: creating include/curl/Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating scripts/Makefile
config.status: creating lib/libcurl.vers
config.status: creating tests/Makefile
config.status: creating tests/certs/Makefile
config.status: creating tests/certs/scripts/Makefile
config.status: creating tests/data/Makefile
config.status: creating tests/server/Makefile
config.status: creating tests/libtest/Makefile
config.status: creating tests/unit/Makefile
config.status: creating packages/Makefile
config.status: creating packages/vms/Makefile
config.status: creating curl-config
config.status: creating libcurl.pc
config.status: creating lib/curl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: amending lib/Makefile
configure: amending src/Makefile
configure: amending tests/unit/Makefile
configure: amending tests/server/Makefile
configure: amending tests/libtest/Makefile
configure: amending docs/examples/Makefile
configure: Configured to build curl/libcurl:

Host setup: x86_64-pc-linux-gnu
Install prefix: /usr/local
Compiler: gcc
CFLAGS: -Werror-implicit-function-declaration -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wbad-function-cast -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wold-style-definition -Wstrict-aliasing=3 -Wcast-align -Wtype-limits -Wold-style-declaration -Wmissing-parameter-type -Wempty-body -Wclobbered -Wignored-qualifiers -Wconversion -Wno-sign-conversion -Wvla -ftree-vrp -Wdouble-promotion -Wformat=2 -Warray-bounds=2 -Wshift-negative-value -Wshift-overflow=2 -Wnull-dereference -fdelete-null-pointer-checks -Wduplicated-cond -Wunused-const-variable -Wduplicated-branches -Wrestrict -Walloc-zero -Wformat-overflow=2 -Wformat-truncation=2 -Wimplicit-fallthrough=4 -Wno-system-headers
CPPFLAGS: -I/home/daniel/src/boringssl/include -I/home/daniel/src/boringssl/include/openssl -I/home/daniel/src/c-ares/include
LDFLAGS: -L/home/daniel/src/boringssl/lib -L/home/daniel/src/c-ares/lib
LIBS: -lcares -lnghttp2 -lidn2 -lrtmp -lpsl -lssl -lcrypto -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lldap -llber -lbrotlidec -lz -lpthread

curl version: 7.66.0-DEV
SSL: enabled (BoringSSL)
SSH: no (--with-libssh2)
zlib: enabled
brotli: enabled (libbrotlidec)
GSS-API: enabled (MIT Kerberos/Heimdal)
TLS-SRP: no (--enable-tls-srp)
resolver: c-ares
IPv6: enabled
Unix sockets: enabled
IDN: enabled (libidn2)
Build libcurl: Shared=no, Static=yes
Built-in manual: enabled
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: enabled (--disable-verbose)
Code coverage: disabled
SSPI: no (--enable-sspi)
ca cert bundle: /etc/ssl/certs/ca-certificates.crt
ca cert path: no
ca fallback: no
LDAP: enabled (OpenLDAP)
LDAPS: enabled
RTSP: enabled
RTMP: enabled (librtmp)
Metalink: no (--with-libmetalink)
PSL: enabled
Alt-svc: no (--enable-alt-svc)
HTTP2: enabled (nghttp2)
HTTP3: disabled (--with-ngtcp2, --with-quiche)
Protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS POP3 POP3S RTMP RTSP SMB SMBS SMTP SMTPS TELNET TFTP
Features: SSL IPv6 UnixSockets libz brotli AsynchDNS IDN GSS-API PSL SPNEGO Kerberos NTLM NTLM_WB HTTP2 HTTPS-proxy

testcurl: configure seems to have finished fine

testcurl: display libcurl.pc

prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
supported_protocols="DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS POP3 POP3S RTMP RTSP SMB SMBS SMTP SMTPS TELNET TFTP"
supported_features="SSL IPv6 UnixSockets libz brotli AsynchDNS IDN GSS-API PSL SPNEGO Kerberos NTLM NTLM_WB HTTP2 HTTPS-proxy"
Name: libcurl
URL: https://curl.haxx.se/
Description: Library to transfer files with ftp, http, etc.
Version: 7.66.0-DEV
Libs: -L${libdir} -lcurl
Libs.private: -lcares -lnghttp2 -lidn2 -lrtmp -lpsl -lssl -lcrypto -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lldap -llber -lbrotlidec -lz -lpthread
Cflags: -I${includedir} -DCURL_STATICLIB

testcurl: display lib/curl_config.h

#define CURLDEBUG 1
#define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
#define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default")))
#define CURL_SA_FAMILY_T sa_family_t
#define DEBUGBUILD 1
#define ENABLE_IPV6 1
#define GETHOSTNAME_TYPE_ARG2 size_t
#define GETSERVBYPORT_R_ARGS 6
#define GETSERVBYPORT_R_BUFSIZE 4096
#define HAVE_ALARM 1
#define HAVE_ALLOCA_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_ARPA_TFTP_H 1
#define HAVE_ASSERT_H 1
#define HAVE_BASENAME 1
#define HAVE_BOOL_T 1
#define HAVE_BORINGSSL 1
#define HAVE_BROTLI 1
#define HAVE_BROTLI_DECODE_H 1
#define HAVE_CLOCK_GETTIME_MONOTONIC 1
#define HAVE_CONNECT 1
#define HAVE_DECL_GETPWUID_R 1
#define HAVE_DLFCN_H 1
#define HAVE_ERRNO_H 1
#define HAVE_FCNTL 1
#define HAVE_FCNTL_H 1
#define HAVE_FCNTL_O_NONBLOCK 1
#define HAVE_FNMATCH 1
#define HAVE_FREEADDRINFO 1
#define HAVE_FREEIFADDRS 1
#define HAVE_FSETXATTR 1
#define HAVE_FSETXATTR_5 1
#define HAVE_FTRUNCATE 1
#define HAVE_GAI_STRERROR 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETADDRINFO_THREADSAFE 1
#define HAVE_GETEUID 1
#define HAVE_GETHOSTBYADDR 1
#define HAVE_GETHOSTBYADDR_R 1
#define HAVE_GETHOSTBYADDR_R_8 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETHOSTBYNAME_R 1
#define HAVE_GETHOSTBYNAME_R_6 1
#define HAVE_GETHOSTNAME 1
#define HAVE_GETIFADDRS 1
#define HAVE_GETPEERNAME 1
#define HAVE_GETPPID 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWUID_R 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETSERVBYPORT_R 1
#define HAVE_GETSOCKNAME 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_GMTIME_R 1
#define HAVE_GSSAPI 1
#define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
#define HAVE_GSSAPI_GSSAPI_H 1
#define HAVE_GSSAPI_GSSAPI_KRB5_H 1
#define HAVE_GSSMIT 1
#define HAVE_IDN2_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_INTTYPES_H 1
#define HAVE_IOCTL 1
#define HAVE_IOCTL_FIONBIO 1
#define HAVE_IOCTL_SIOCGIFADDR 1
#define HAVE_LBER_H 1
#define HAVE_LDAP_H 1
#define HAVE_LDAP_INIT_FD 1
#define HAVE_LDAP_SSL 1
#define HAVE_LDAP_URL_PARSE 1
#define HAVE_LIBBROTLIDEC 1
#define HAVE_LIBGEN_H 1
#define HAVE_LIBIDN2 1
#define HAVE_LIBRTMP_RTMP_H 1
#define HAVE_LIBSSL 1
#define HAVE_LIBZ 1
#define HAVE_LINUX_TCP_H 1
#define HAVE_LL 1
#define HAVE_LOCALE_H 1
#define HAVE_LOCALTIME_R 1
#define HAVE_LONGLONG 1
#define HAVE_MALLOC_H 1
#define HAVE_MEMORY_H 1
#define HAVE_MSG_NOSIGNAL 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_NET_IF_H 1
#define HAVE_NGHTTP2_NGHTTP2_H 1
#define HAVE_OPENSSL_CRYPTO_H 1
#define HAVE_OPENSSL_ERR_H 1
#define HAVE_OPENSSL_PEM_H 1
#define HAVE_OPENSSL_RSA_H 1
#define HAVE_OPENSSL_SSL_H 1
#define HAVE_OPENSSL_VERSION 1
#define HAVE_OPENSSL_X509_H 1
#define HAVE_PIPE 1
#define HAVE_POLL 1
#define HAVE_POLL_FINE 1
#define HAVE_POLL_H 1
#define HAVE_POSIX_STRERROR_R 1
#define HAVE_PWD_H 1
#define HAVE_RAND_EGD 1
#define HAVE_RECV 1
#define HAVE_SELECT 1
#define HAVE_SEND 1
#define HAVE_SETJMP_H 1
#define HAVE_SETLOCALE 1
#define HAVE_SETRLIMIT 1
#define HAVE_SETSOCKOPT 1
#define HAVE_SGTTY_H 1
#define HAVE_SIGACTION 1
#define HAVE_SIGINTERRUPT 1
#define HAVE_SIGNAL 1
#define HAVE_SIGNAL_H 1
#define HAVE_SIGSETJMP 1
#define HAVE_SIG_ATOMIC_T 1
#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
#define HAVE_SOCKET 1
#define HAVE_SOCKETPAIR 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRCASECMP 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR_R 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRNCASECMP 1
#define HAVE_STROPTS_H 1
#define HAVE_STRSTR 1
#define HAVE_STRTOK_R 1
#define HAVE_STRTOLL 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_STRUCT_TIMEVAL 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_POLL_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TIME_H 1
#define HAVE_UNISTD_H 1
#define HAVE_USLEEP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_UTIME_H 1
#define HAVE_VARIADIC_MACROS_C99 1
#define HAVE_VARIADIC_MACROS_GCC 1
#define HAVE_WRITEV 1
#define HAVE_ZLIB_H 1
#define LT_OBJDIR ".libs/"
#define NTLM_WB_ENABLED 1
#define NTLM_WB_FILE "/usr/bin/ntlm_auth"
#define OS "x86_64-pc-linux-gnu"
#define PACKAGE "curl"
#define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
#define PACKAGE_NAME "curl"
#define PACKAGE_STRING "curl -"
#define PACKAGE_TARNAME "curl"
#define PACKAGE_URL ""
#define PACKAGE_VERSION "-"
#define RANDOM_FILE "/dev/urandom"
#define RECV_TYPE_ARG1 int
#define RECV_TYPE_ARG2 void *
#define RECV_TYPE_ARG3 size_t
#define RECV_TYPE_ARG4 int
#define RECV_TYPE_RETV ssize_t
#define RETSIGTYPE void
#define SELECT_QUAL_ARG5
#define SELECT_TYPE_ARG1 int
#define SELECT_TYPE_ARG234 fd_set *
#define SELECT_TYPE_ARG5 struct timeval *
#define SELECT_TYPE_RETV int
#define SEND_QUAL_ARG2 const
#define SEND_TYPE_ARG1 int
#define SEND_TYPE_ARG2 void *
#define SEND_TYPE_ARG3 size_t
#define SEND_TYPE_ARG4 int
#define SEND_TYPE_RETV ssize_t
#define SIZEOF_CURL_OFF_T 8
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_OFF_T 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_TIME_T 8
#define STDC_HEADERS 1
#define STRERROR_R_TYPE_ARG3 size_t
#define TIME_WITH_SYS_TIME 1
#define USE_ARES 1
#define USE_LIBPSL 1
#define USE_LIBRTMP 1
#define USE_MANUAL 1
#define USE_NGHTTP2 1
#define USE_OPENLDAP 1
#define USE_OPENSSL 1
#define USE_UNIX_SOCKETS 1
#define VERSION "-"
#ifndef _ALL_SOURCE
#endif
#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
#endif
#ifndef __cplusplus
#endif
testcurl: make -i
Making all in lib
make[1]: Entering directory '/build-20624/lib'
make all-am
make[2]: Entering directory '/build-20624/lib'
CC libcurl_la-file.lo
CC libcurl_la-timeval.lo
CC libcurl_la-base64.lo
CC libcurl_la-hostip.lo
CC libcurl_la-progress.lo
CC libcurl_la-formdata.lo
CC libcurl_la-cookie.lo
CC libcurl_la-http.lo
CC libcurl_la-sendf.lo
CC libcurl_la-ftp.lo
CC libcurl_la-url.lo
CC libcurl_la-dict.lo
CC libcurl_la-if2ip.lo
CC libcurl_la-speedcheck.lo
CC libcurl_la-ldap.lo
CC libcurl_la-version.lo
CC libcurl_la-getenv.lo
CC libcurl_la-escape.lo
CC libcurl_la-mprintf.lo
CC libcurl_la-telnet.lo
CC libcurl_la-netrc.lo
CC libcurl_la-getinfo.lo
CC libcurl_la-transfer.lo
CC libcurl_la-strcase.lo
CC libcurl_la-easy.lo
CC libcurl_la-security.lo
CC libcurl_la-curl_fnmatch.lo
CC libcurl_la-fileinfo.lo
CC libcurl_la-ftplistparser.lo
CC libcurl_la-wildcard.lo
CC libcurl_la-krb5.lo
CC libcurl_la-memdebug.lo
CC libcurl_la-http_chunks.lo
CC libcurl_la-strtok.lo
CC libcurl_la-connect.lo
CC libcurl_la-llist.lo
CC libcurl_la-hash.lo
CC libcurl_la-multi.lo
CC libcurl_la-content_encoding.lo
CC libcurl_la-share.lo
CC libcurl_la-http_digest.lo
CC libcurl_la-md4.lo
CC libcurl_la-md5.lo
CC libcurl_la-http_negotiate.lo
CC libcurl_la-inet_pton.lo
CC libcurl_la-strtoofft.lo
CC libcurl_la-strerror.lo
CC libcurl_la-amigaos.lo
CC libcurl_la-hostasyn.lo
CC libcurl_la-hostip4.lo
CC libcurl_la-hostip6.lo
CC libcurl_la-hostsyn.lo
CC libcurl_la-inet_ntop.lo
CC libcurl_la-parsedate.lo
CC libcurl_la-select.lo
CC libcurl_la-tftp.lo
CC libcurl_la-splay.lo
CC libcurl_la-strdup.lo
CC libcurl_la-socks.lo
CC libcurl_la-ssh.lo
CC libcurl_la-ssh-libssh.lo
CC libcurl_la-curl_addrinfo.lo
CC libcurl_la-socks_gssapi.lo
CC libcurl_la-socks_sspi.lo
CC libcurl_la-curl_sspi.lo
CC libcurl_la-slist.lo
CC libcurl_la-nonblock.lo
CC libcurl_la-curl_memrchr.lo
CC libcurl_la-imap.lo
CC libcurl_la-pop3.lo
CC libcurl_la-smtp.lo
CC libcurl_la-pingpong.lo
CC libcurl_la-rtsp.lo
CC libcurl_la-curl_threads.lo
CC libcurl_la-warnless.lo
CC libcurl_la-hmac.lo
CC libcurl_la-curl_rtmp.lo
CC libcurl_la-openldap.lo
CC libcurl_la-curl_gethostname.lo
CC libcurl_la-gopher.lo
CC libcurl_la-idn_win32.lo
CC libcurl_la-http_proxy.lo
CC libcurl_la-non-ascii.lo
CC libcurl_la-asyn-ares.lo
CC libcurl_la-asyn-thread.lo
CC libcurl_la-curl_gssapi.lo
CC libcurl_la-http_ntlm.lo
CC libcurl_la-curl_ntlm_wb.lo
CC libcurl_la-curl_ntlm_core.lo
CC libcurl_la-curl_sasl.lo
CC libcurl_la-rand.lo
CC libcurl_la-curl_multibyte.lo
CC libcurl_la-hostcheck.lo
CC libcurl_la-conncache.lo
CC libcurl_la-dotdot.lo
CC libcurl_la-x509asn1.lo
CC libcurl_la-http2.lo
CC libcurl_la-smb.lo
CC libcurl_la-curl_endian.lo
CC libcurl_la-curl_des.lo
CC libcurl_la-system_win32.lo
CC libcurl_la-mime.lo
CC libcurl_la-sha256.lo
CC libcurl_la-setopt.lo
CC libcurl_la-curl_path.lo
CC libcurl_la-curl_ctype.lo
CC libcurl_la-curl_range.lo
CC libcurl_la-psl.lo
CC libcurl_la-doh.lo
CC libcurl_la-urlapi.lo
CC libcurl_la-curl_get_line.lo
CC libcurl_la-altsvc.lo
CC libcurl_la-quic.lo
CC vauth/libcurl_la-vauth.lo
CC vauth/libcurl_la-cleartext.lo
CC vauth/libcurl_la-cram.lo
CC vauth/libcurl_la-digest.lo
CC vauth/libcurl_la-digest_sspi.lo
CC vauth/libcurl_la-krb5_gssapi.lo
CC vauth/libcurl_la-krb5_sspi.lo
CC vauth/libcurl_la-ntlm.lo
CC vauth/libcurl_la-ntlm_sspi.lo
CC vauth/libcurl_la-oauth2.lo
CC vauth/libcurl_la-spnego_gssapi.lo
CC vauth/libcurl_la-spnego_sspi.lo
CC vtls/libcurl_la-openssl.lo
/lib/vtls/openssl.c: In function 'ossl_strerror':
goto problem 2
/lib/vtls/openssl.c:394:22: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
ERR_error_string_n(error, buf, size);
^~~~~
/lib/vtls/openssl.c: In function 'verifyhost':
goto problem 3
/lib/vtls/openssl.c:1539:15: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
numalts = sk_GENERAL_NAME_num(altnames);
^~~~~~~~~~~~~~~~~~~
/lib/vtls/openssl.c: In function 'ossl_connect_step1':
goto problem 4
/lib/vtls/openssl.c:2497:37: warning: conversion from 'long int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
SSL_CTX_set_options(BACKEND->ctx, ctx_options);
^~~~~~~~~~~
/lib/vtls/openssl.c: In function 'get_cert_chain':
goto problem 5
/lib/vtls/openssl.c:3050:14: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
numcerts = sk_X509_num(sk);
^~~~~~~~~~~
CC vtls/libcurl_la-gtls.lo
CC vtls/libcurl_la-vtls.lo
CC vtls/libcurl_la-nss.lo
CC vtls/libcurl_la-polarssl.lo
CC vtls/libcurl_la-polarssl_threadlock.lo
CC vtls/libcurl_la-wolfssl.lo
CC vtls/libcurl_la-schannel.lo
CC vtls/libcurl_la-schannel_verify.lo
CC vtls/libcurl_la-sectransp.lo
CC vtls/libcurl_la-gskit.lo
CC vtls/libcurl_la-mbedtls.lo
CC vtls/libcurl_la-mesalink.lo
CC vquic/libcurl_la-ngtcp2.lo
CC vquic/libcurl_la-ngtcp2-crypto.lo
CC vquic/libcurl_la-quiche.lo
CCLD libcurl.la
CC libcurlu_la-file.lo
CC libcurlu_la-timeval.lo
CC libcurlu_la-base64.lo
CC libcurlu_la-hostip.lo
CC libcurlu_la-progress.lo
CC libcurlu_la-formdata.lo
CC libcurlu_la-cookie.lo
CC libcurlu_la-http.lo
CC libcurlu_la-sendf.lo
CC libcurlu_la-ftp.lo
CC libcurlu_la-url.lo
CC libcurlu_la-dict.lo
CC libcurlu_la-if2ip.lo
CC libcurlu_la-speedcheck.lo
CC libcurlu_la-ldap.lo
CC libcurlu_la-version.lo
CC libcurlu_la-getenv.lo
CC libcurlu_la-escape.lo
CC libcurlu_la-mprintf.lo
CC libcurlu_la-telnet.lo
CC libcurlu_la-netrc.lo
CC libcurlu_la-getinfo.lo
CC libcurlu_la-transfer.lo
CC libcurlu_la-strcase.lo
CC libcurlu_la-easy.lo
CC libcurlu_la-security.lo
CC libcurlu_la-curl_fnmatch.lo
CC libcurlu_la-fileinfo.lo
CC libcurlu_la-ftplistparser.lo
CC libcurlu_la-wildcard.lo
CC libcurlu_la-krb5.lo
CC libcurlu_la-memdebug.lo
CC libcurlu_la-http_chunks.lo
CC libcurlu_la-strtok.lo
CC libcurlu_la-connect.lo
CC libcurlu_la-llist.lo
CC libcurlu_la-hash.lo
CC libcurlu_la-multi.lo
CC libcurlu_la-content_encoding.lo
CC libcurlu_la-share.lo
CC libcurlu_la-http_digest.lo
CC libcurlu_la-md4.lo
CC libcurlu_la-md5.lo
CC libcurlu_la-http_negotiate.lo
CC libcurlu_la-inet_pton.lo
CC libcurlu_la-strtoofft.lo
CC libcurlu_la-strerror.lo
CC libcurlu_la-amigaos.lo
CC libcurlu_la-hostasyn.lo
CC libcurlu_la-hostip4.lo
CC libcurlu_la-hostip6.lo
CC libcurlu_la-hostsyn.lo
CC libcurlu_la-inet_ntop.lo
CC libcurlu_la-parsedate.lo
CC libcurlu_la-select.lo
CC libcurlu_la-tftp.lo
CC libcurlu_la-splay.lo
CC libcurlu_la-strdup.lo
CC libcurlu_la-socks.lo
CC libcurlu_la-ssh.lo
CC libcurlu_la-ssh-libssh.lo
CC libcurlu_la-curl_addrinfo.lo
CC libcurlu_la-socks_gssapi.lo
CC libcurlu_la-socks_sspi.lo
CC libcurlu_la-curl_sspi.lo
CC libcurlu_la-slist.lo
CC libcurlu_la-nonblock.lo
CC libcurlu_la-curl_memrchr.lo
CC libcurlu_la-imap.lo
CC libcurlu_la-pop3.lo
CC libcurlu_la-smtp.lo
CC libcurlu_la-pingpong.lo
CC libcurlu_la-rtsp.lo
CC libcurlu_la-curl_threads.lo
CC libcurlu_la-warnless.lo
CC libcurlu_la-hmac.lo
CC libcurlu_la-curl_rtmp.lo
CC libcurlu_la-openldap.lo
CC libcurlu_la-curl_gethostname.lo
CC libcurlu_la-gopher.lo
CC libcurlu_la-idn_win32.lo
CC libcurlu_la-http_proxy.lo
CC libcurlu_la-non-ascii.lo
CC libcurlu_la-asyn-ares.lo
CC libcurlu_la-asyn-thread.lo
CC libcurlu_la-curl_gssapi.lo
CC libcurlu_la-http_ntlm.lo
CC libcurlu_la-curl_ntlm_wb.lo
CC libcurlu_la-curl_ntlm_core.lo
CC libcurlu_la-curl_sasl.lo
CC libcurlu_la-rand.lo
CC libcurlu_la-curl_multibyte.lo
CC libcurlu_la-hostcheck.lo
CC libcurlu_la-conncache.lo
CC libcurlu_la-dotdot.lo
CC libcurlu_la-x509asn1.lo
CC libcurlu_la-http2.lo
CC libcurlu_la-smb.lo
CC libcurlu_la-curl_endian.lo
CC libcurlu_la-curl_des.lo
CC libcurlu_la-system_win32.lo
CC libcurlu_la-mime.lo
CC libcurlu_la-sha256.lo
CC libcurlu_la-setopt.lo
CC libcurlu_la-curl_path.lo
CC libcurlu_la-curl_ctype.lo
CC libcurlu_la-curl_range.lo
CC libcurlu_la-psl.lo
CC libcurlu_la-doh.lo
CC libcurlu_la-urlapi.lo
CC libcurlu_la-curl_get_line.lo
CC libcurlu_la-altsvc.lo
CC libcurlu_la-quic.lo
CC vauth/libcurlu_la-vauth.lo
CC vauth/libcurlu_la-cleartext.lo
CC vauth/libcurlu_la-cram.lo
CC vauth/libcurlu_la-digest.lo
CC vauth/libcurlu_la-digest_sspi.lo
CC vauth/libcurlu_la-krb5_gssapi.lo
CC vauth/libcurlu_la-krb5_sspi.lo
CC vauth/libcurlu_la-ntlm.lo
CC vauth/libcurlu_la-ntlm_sspi.lo
CC vauth/libcurlu_la-oauth2.lo
CC vauth/libcurlu_la-spnego_gssapi.lo
CC vauth/libcurlu_la-spnego_sspi.lo
CC vtls/libcurlu_la-openssl.lo
/lib/vtls/openssl.c: In function 'ossl_strerror':
goto problem 6
/lib/vtls/openssl.c:394:22: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
ERR_error_string_n(error, buf, size);
^~~~~
/lib/vtls/openssl.c: In function 'verifyhost':
goto problem 7
/lib/vtls/openssl.c:1539:15: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
numalts = sk_GENERAL_NAME_num(altnames);
^~~~~~~~~~~~~~~~~~~
/lib/vtls/openssl.c: In function 'ossl_connect_step1':
goto problem 8
/lib/vtls/openssl.c:2497:37: warning: conversion from 'long int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
SSL_CTX_set_options(BACKEND->ctx, ctx_options);
^~~~~~~~~~~
/lib/vtls/openssl.c: In function 'get_cert_chain':
goto problem 9
/lib/vtls/openssl.c:3050:14: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
numcerts = sk_X509_num(sk);
^~~~~~~~~~~
CC vtls/libcurlu_la-gtls.lo
CC vtls/libcurlu_la-vtls.lo
CC vtls/libcurlu_la-nss.lo
CC vtls/libcurlu_la-polarssl.lo
CC vtls/libcurlu_la-polarssl_threadlock.lo
CC vtls/libcurlu_la-wolfssl.lo
CC vtls/libcurlu_la-schannel.lo
CC vtls/libcurlu_la-schannel_verify.lo
CC vtls/libcurlu_la-sectransp.lo
CC vtls/libcurlu_la-gskit.lo
CC vtls/libcurlu_la-mbedtls.lo
CC vtls/libcurlu_la-mesalink.lo
CC vquic/libcurlu_la-ngtcp2.lo
CC vquic/libcurlu_la-ngtcp2-crypto.lo
CC vquic/libcurlu_la-quiche.lo
CCLD libcurlu.la
RUN checksrc
make[2]: Leaving directory '/build-20624/lib'
make[1]: Leaving directory '/build-20624/lib'
Making all in src
make[1]: Entering directory '/build-20624/src'
Making all in ../docs
make[2]: Entering directory '/build-20624/docs'
Making all in .
make[3]: Entering directory '/build-20624/docs'
if test "..x" != "x" -a -e "/docs/curl.1"; then \
/usr/bin/install -c -m 644 "/docs/curl.1" /build-20624/docs/curl.1; fi
cd cmdline-opts && make
make[4]: Entering directory '/build-20624/docs/cmdline-opts'
/usr/bin/perl /docs/cmdline-opts/gen.pl mainpage /docs/cmdline-opts > ../../docs/curl.1
make[4]: Leaving directory '/build-20624/docs/cmdline-opts'
make[3]: Leaving directory '/build-20624/docs'
Making all in cmdline-opts
make[3]: Entering directory '/build-20624/docs/cmdline-opts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-20624/docs/cmdline-opts'
make[2]: Leaving directory '/build-20624/docs'
make[2]: Entering directory '/build-20624/src'
CC curl-slist_wc.o
CC curl-tool_binmode.o
CC curl-tool_bname.o
CC curl-tool_cb_dbg.o
CC curl-tool_cb_hdr.o
CC curl-tool_cb_prg.o
CC curl-tool_cb_rea.o
CC curl-tool_cb_see.o
CC curl-tool_cb_wrt.o
CC curl-tool_cfgable.o
CC curl-tool_convert.o
CC curl-tool_dirhie.o
CC curl-tool_doswin.o
CC curl-tool_easysrc.o
CC curl-tool_filetime.o
CC curl-tool_formparse.o
CC curl-tool_getparam.o
CC curl-tool_getpass.o
CC curl-tool_help.o
CC curl-tool_helpers.o
CC curl-tool_homedir.o
HUGE tool_hugehelp.c
CC curl-tool_hugehelp.o
CC curl-tool_libinfo.o
CC curl-tool_main.o
CC curl-tool_metalink.o
CC curl-tool_msgs.o
CC curl-tool_operate.o
CC curl-tool_operhlp.o
CC curl-tool_panykey.o
CC curl-tool_paramhlp.o
CC curl-tool_parsecfg.o
CC curl-tool_progress.o
CC curl-tool_strdup.o
CC curl-tool_setopt.o
CC curl-tool_sleep.o
CC curl-tool_urlglob.o
CC curl-tool_util.o
CC curl-tool_vms.o
CC curl-tool_writeout.o
CC curl-tool_xattr.o
CC ../lib/curl-strtoofft.o
CC ../lib/curl-nonblock.o
CC ../lib/curl-warnless.o
CC ../lib/curl-curl_ctype.o
CCLD curl
CC libcurltool_la-slist_wc.lo
CC libcurltool_la-tool_binmode.lo
CC libcurltool_la-tool_bname.lo
CC libcurltool_la-tool_cb_dbg.lo
CC libcurltool_la-tool_cb_hdr.lo
CC libcurltool_la-tool_cb_prg.lo
CC libcurltool_la-tool_cb_rea.lo
CC libcurltool_la-tool_cb_see.lo
CC libcurltool_la-tool_cb_wrt.lo
CC libcurltool_la-tool_cfgable.lo
CC libcurltool_la-tool_convert.lo
CC libcurltool_la-tool_dirhie.lo
CC libcurltool_la-tool_doswin.lo
CC libcurltool_la-tool_easysrc.lo
CC libcurltool_la-tool_filetime.lo
CC libcurltool_la-tool_formparse.lo
CC libcurltool_la-tool_getparam.lo
CC libcurltool_la-tool_getpass.lo
CC libcurltool_la-tool_help.lo
CC libcurltool_la-tool_helpers.lo
CC libcurltool_la-tool_homedir.lo
CC libcurltool_la-tool_hugehelp.lo
CC libcurltool_la-tool_libinfo.lo
CC libcurltool_la-tool_main.lo
CC libcurltool_la-tool_metalink.lo
CC libcurltool_la-tool_msgs.lo
CC libcurltool_la-tool_operate.lo
CC libcurltool_la-tool_operhlp.lo
CC libcurltool_la-tool_panykey.lo
CC libcurltool_la-tool_paramhlp.lo
CC libcurltool_la-tool_parsecfg.lo
CC libcurltool_la-tool_progress.lo
CC libcurltool_la-tool_strdup.lo
CC libcurltool_la-tool_setopt.lo
CC libcurltool_la-tool_sleep.lo
CC libcurltool_la-tool_urlglob.lo
CC libcurltool_la-tool_util.lo
CC libcurltool_la-tool_vms.lo
CC libcurltool_la-tool_writeout.lo
CC libcurltool_la-tool_xattr.lo
CC ../lib/libcurltool_la-strtoofft.lo
CC ../lib/libcurltool_la-nonblock.lo
CC ../lib/libcurltool_la-warnless.lo
CC ../lib/libcurltool_la-curl_ctype.lo
CCLD libcurltool.la
RUN checksrc
make[2]: Leaving directory '/build-20624/src'
make[1]: Leaving directory '/build-20624/src'
make[1]: Entering directory '/build-20624'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/build-20624'
testcurl: libcurl was created fine (libcurl.la)
testcurl: curl was created fine (curl)
testcurl: display curl --version output
curl 7.66.0-DEV (x86_64-pc-linux-gnu) libcurl/7.66.0-DEV BoringSSL zlib/1.2.11 brotli/1.0.7 c-ares/1.15.0 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.37.0 librtmp/2.3
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS brotli Debug GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TrackMemory UnixSockets
testcurl: make -k test-full
make[1]: Entering directory '/build-20624/tests'
Making all in certs
make[2]: Entering directory '/build-20624/tests/certs'
Making all in scripts
make[3]: Entering directory '/build-20624/tests/certs/scripts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-20624/tests/certs/scripts'
make[3]: Entering directory '/build-20624/tests/certs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build-20624/tests/certs'
make[2]: Leaving directory '/build-20624/tests/certs'
Making all in data
make[2]: Entering directory '/build-20624/tests/data'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build-20624/tests/data'
Making all in server
make[2]: Entering directory '/build-20624/tests/server'
CC ../../lib/getpart-mprintf.o
CC ../../lib/getpart-nonblock.o
CC ../../lib/getpart-strtoofft.o
CC ../../lib/getpart-warnless.o
CC ../../lib/getpart-curl_ctype.o
CC getpart-getpart.o
CC ../../lib/getpart-base64.o
CC ../../lib/getpart-memdebug.o
CC getpart-testpart.o
CCLD getpart
CC ../../lib/resolve-mprintf.o
CC ../../lib/resolve-nonblock.o
CC ../../lib/resolve-strtoofft.o
CC ../../lib/resolve-warnless.o
CC ../../lib/resolve-curl_ctype.o
CC resolve-getpart.o
CC ../../lib/resolve-base64.o
CC ../../lib/resolve-memdebug.o
CC resolve-util.o
CC resolve-resolve.o
CCLD resolve
CC ../../lib/rtspd-mprintf.o
CC ../../lib/rtspd-nonblock.o
CC ../../lib/rtspd-strtoofft.o
CC ../../lib/rtspd-warnless.o
CC ../../lib/rtspd-curl_ctype.o
CC rtspd-getpart.o
CC ../../lib/rtspd-base64.o
CC ../../lib/rtspd-memdebug.o
CC rtspd-util.o
CC rtspd-rtspd.o
CCLD rtspd
CC ../../lib/sockfilt-mprintf.o
CC ../../lib/sockfilt-nonblock.o
CC ../../lib/sockfilt-strtoofft.o
CC ../../lib/sockfilt-warnless.o
CC ../../lib/sockfilt-curl_ctype.o
CC sockfilt-getpart.o
CC ../../lib/sockfilt-base64.o
CC ../../lib/sockfilt-memdebug.o
CC sockfilt-util.o
CC sockfilt-sockfilt.o
CC ../../lib/sockfilt-inet_pton.o
CCLD sockfilt
CC ../../lib/sws-mprintf.o
CC ../../lib/sws-nonblock.o
CC ../../lib/sws-strtoofft.o
CC ../../lib/sws-warnless.o
CC ../../lib/sws-curl_ctype.o
CC sws-getpart.o
CC ../../lib/sws-base64.o
CC ../../lib/sws-memdebug.o
CC sws-util.o
CC sws-sws.o
CC ../../lib/sws-inet_pton.o
CCLD sws
CC ../../lib/tftpd-mprintf.o
CC ../../lib/tftpd-nonblock.o
CC ../../lib/tftpd-strtoofft.o
CC ../../lib/tftpd-warnless.o
CC ../../lib/tftpd-curl_ctype.o
CC tftpd-getpart.o
CC ../../lib/tftpd-base64.o
CC ../../lib/tftpd-memdebug.o
CC tftpd-util.o
CC tftpd-tftpd.o
CCLD tftpd
CC ../../lib/fake_ntlm-mprintf.o
CC ../../lib/fake_ntlm-nonblock.o
CC ../../lib/fake_ntlm-strtoofft.o
CC ../../lib/fake_ntlm-warnless.o
CC ../../lib/fake_ntlm-curl_ctype.o
CC fake_ntlm-getpart.o
CC ../../lib/fake_ntlm-base64.o
CC ../../lib/fake_ntlm-memdebug.o
CC fake_ntlm-util.o
CC fake_ntlm-fake_ntlm.o
CCLD fake_ntlm
CC ../../lib/socksd-mprintf.o
CC ../../lib/socksd-nonblock.o
CC ../../lib/socksd-strtoofft.o
CC ../../lib/socksd-warnless.o
CC ../../lib/socksd-curl_ctype.o
CC socksd-getpart.o
CC ../../lib/socksd-base64.o
CC ../../lib/socksd-memdebug.o
CC socksd-util.o
CC socksd-socksd.o
CC ../../lib/socksd-inet_pton.o
CCLD socksd
CC disabled.o
CCLD disabled
RUN checksrc
make[2]: Leaving directory '/build-20624/tests/server'
Making all in libtest
make[2]: Entering directory '/build-20624/tests/libtest'
CC chkhostname-chkhostname.o
CC ../../lib/chkhostname-curl_gethostname.o
CCLD chkhostname
CC libauthretry-libauthretry.o
CC libauthretry-first.o
CCLD libauthretry
CC libntlmconnect-libntlmconnect.o
CC libntlmconnect-first.o
CC libntlmconnect-testutil.o
CC ../../lib/libntlmconnect-warnless.o
CCLD libntlmconnect
CC chkdecimalpoint-chkdecimalpoint.o
CC ../../lib/chkdecimalpoint-mprintf.o
CC ../../lib/chkdecimalpoint-curl_ctype.o
CCLD chkdecimalpoint
CC lib500-lib500.o
CC lib500-first.o
CC lib500-testutil.o
CC lib500-testtrace.o
CCLD lib500
CC lib501-lib501.o
CC lib501-first.o
CCLD lib501
CC lib502-lib502.o
CC lib502-first.o
CC lib502-testutil.o
CC ../../lib/lib502-warnless.o
CCLD lib502
CC lib503-lib503.o
CC lib503-first.o
CC lib503-testutil.o
CC ../../lib/lib503-warnless.o
CCLD lib503
CC lib504-lib504.o
CC lib504-first.o
CC lib504-testutil.o
CC ../../lib/lib504-warnless.o
CCLD lib504
CC lib505-lib505.o
CC lib505-first.o
CCLD lib505
CC lib506-lib506.o
CC lib506-first.o
CCLD lib506
CC lib507-lib507.o
CC lib507-first.o
CC lib507-testutil.o
CC ../../lib/lib507-warnless.o
CCLD lib507
CC lib508-lib508.o
CC lib508-first.o
CCLD lib508
CC lib509-lib509.o
CC lib509-first.o
CCLD lib509
CC lib510-lib510.o
CC lib510-first.o
CCLD lib510
CC lib511-lib511.o
CC lib511-first.o
CCLD lib511
CC lib512-lib512.o
CC lib512-first.o
CCLD lib512
CC lib513-lib513.o
CC lib513-first.o
CCLD lib513
CC lib514-lib514.o
CC lib514-first.o
CCLD lib514
CC lib515-lib515.o
CC lib515-first.o
CCLD lib515
CC lib516-lib516.o
CC lib516-first.o
CCLD lib516
CC lib517-lib517.o
CC lib517-first.o
CCLD lib517
CC lib518-lib518.o
CC lib518-first.o
CC ../../lib/lib518-warnless.o
CCLD lib518
CC lib519-lib519.o
CC lib519-first.o
CCLD lib519
CC lib520-lib520.o
CC lib520-first.o
CCLD lib520
CC lib521-lib521.o
CC lib521-first.o
CCLD lib521
CC lib523-lib523.o
CC lib523-first.o
CCLD lib523
CC lib524-lib524.o
CC lib524-first.o
CCLD lib524
CC lib525-lib525.o
CC lib525-first.o
CC lib525-testutil.o
CC ../../lib/lib525-warnless.o
CCLD lib525
CC lib526-lib526.o
CC lib526-first.o
CC lib526-testutil.o
CC ../../lib/lib526-warnless.o
CCLD lib526
CC lib527-lib526.o
CC lib527-first.o
CC lib527-testutil.o
CC ../../lib/lib527-warnless.o
CCLD lib527
CC lib529-lib525.o
CC lib529-first.o
CC lib529-testutil.o
CC ../../lib/lib529-warnless.o
CCLD lib529
CC lib530-lib530.o
CC lib530-first.o
CC lib530-testutil.o
CC ../../lib/lib530-warnless.o
CCLD lib530
CC lib532-lib526.o
CC lib532-first.o
CC lib532-testutil.o
CC ../../lib/lib532-warnless.o
CCLD lib532
CC lib533-lib533.o
CC lib533-first.o
CC lib533-testutil.o
CC ../../lib/lib533-warnless.o
CCLD lib533
CC lib537-lib537.o
CC lib537-first.o
CC ../../lib/lib537-warnless.o
CCLD lib537
CC lib539-lib539.o
CC lib539-first.o
CCLD lib539
CC lib540-lib540.o
CC lib540-first.o
CC lib540-testutil.o
CC ../../lib/lib540-warnless.o
CCLD lib540
CC lib541-lib541.o
CC lib541-first.o
CCLD lib541
CC lib542-lib542.o
CC lib542-first.o
CCLD lib542
CC lib543-lib543.o
CC lib543-first.o
CCLD lib543
CC lib544-lib544.o
CC lib544-first.o
CCLD lib544
CC lib545-lib544.o
CC lib545-first.o
CCLD lib545
CC lib547-lib547.o
CC lib547-first.o
CCLD lib547
CC lib548-lib547.o
CC lib548-first.o
CCLD lib548
CC lib549-lib549.o
CC lib549-first.o
CCLD lib549
CC lib552-lib552.o
CC lib552-first.o
CC ../../lib/lib552-warnless.o
CCLD lib552
CC lib553-lib553.o
CC lib553-first.o
CCLD lib553
CC lib554-lib554.o
CC lib554-first.o
CCLD lib554
CC lib555-lib555.o
CC lib555-first.o
CC lib555-testutil.o
CC ../../lib/lib555-warnless.o
CCLD lib555
CC lib556-lib556.o
CC lib556-first.o
CC ../../lib/lib556-warnless.o
CCLD lib556
CC lib557-lib557.o
CC lib557-first.o
CCLD lib557
CC lib558-lib558.o
CC lib558-first.o
CCLD lib558
CC lib559-lib559.o
CC lib559-first.o
CCLD lib559
CC lib560-lib560.o
CC lib560-first.o
CC lib560-testutil.o
CC ../../lib/lib560-warnless.o
CCLD lib560
CC lib562-lib562.o
CC lib562-first.o
CCLD lib562
CC lib564-lib564.o
CC lib564-first.o
CC lib564-testutil.o
CC ../../lib/lib564-warnless.o
CCLD lib564
CC lib565-lib510.o
CC lib565-first.o
CCLD lib565
CC lib566-lib566.o
CC lib566-first.o
CCLD lib566
CC lib567-lib567.o
CC lib567-first.o
CCLD lib567
CC lib568-lib568.o
CC lib568-first.o
CCLD lib568
CC lib569-lib569.o
CC lib569-first.o
CCLD lib569
CC lib570-lib570.o
CC lib570-first.o
CCLD lib570
CC lib571-lib571.o
CC lib571-first.o
CC ../../lib/lib571-warnless.o
CCLD lib571
CC lib572-lib572.o
CC lib572-first.o
CCLD lib572
CC lib573-lib573.o
CC lib573-first.o
CC lib573-testutil.o
CC ../../lib/lib573-warnless.o
CC lib573-testtrace.o
CCLD lib573
CC lib574-lib574.o
CC lib574-first.o
CCLD lib574
CC lib575-lib575.o
CC lib575-first.o
CC lib575-testutil.o
CC ../../lib/lib575-warnless.o
CCLD lib575
CC lib576-lib576.o
CC lib576-first.o
CCLD lib576
CC lib578-lib578.o
CC lib578-first.o
CCLD lib578
CC lib579-lib579.o
CC lib579-first.o
CCLD lib579
CC lib582-lib582.o
CC lib582-first.o
CC lib582-testutil.o
CC ../../lib/lib582-warnless.o
CCLD lib582
CC lib583-lib583.o
CC lib583-first.o
CCLD lib583
CC lib585-lib500.o
CC lib585-first.o
CC lib585-testutil.o
CC lib585-testtrace.o
CCLD lib585
CC lib586-lib586.o
CC lib586-first.o
CCLD lib586
CC lib587-lib554.o
CC lib587-first.o
CCLD lib587
CC lib589-lib589.o
CC lib589-first.o
CCLD lib589
CC lib590-lib590.o
CC lib590-first.o
CCLD lib590
CC lib591-lib591.o
CC lib591-first.o
CC lib591-testutil.o
CC ../../lib/lib591-warnless.o
CCLD lib591
CC lib597-lib597.o
CC lib597-first.o
CC lib597-testutil.o
CC ../../lib/lib597-warnless.o
CCLD lib597
CC lib598-lib598.o
CC lib598-first.o
CCLD lib598
CC lib599-lib599.o
CC lib599-first.o
CCLD lib599
CC lib643-lib643.o
CC lib643-first.o
CCLD lib643
CC lib644-lib643.o
CC lib644-first.o
CCLD lib644
CC lib645-lib643.o
CC lib645-first.o
CCLD lib645
CC lib650-lib650.o
CC lib650-first.o
CCLD lib650
CC lib651-lib651.o
CC lib651-first.o
CCLD lib651
CC lib652-lib652.o
CC lib652-first.o
CCLD lib652
CC lib653-lib653.o
CC lib653-first.o
CCLD lib653
CC lib654-lib654.o
CC lib654-first.o
CCLD lib654
CC lib655-lib655.o
CC lib655-first.o
CCLD lib655
CC lib658-lib658.o
CC lib658-first.o
CC lib658-testutil.o
CC ../../lib/lib658-warnless.o
CCLD lib658
CC lib659-lib659.o
CC lib659-first.o
CC lib659-testutil.o
CC ../../lib/lib659-warnless.o
CCLD lib659
CC lib1156-lib1156.o
CC lib1156-first.o
CC lib1156-testutil.o
CC ../../lib/lib1156-warnless.o
CCLD lib1156
CC lib1500-lib1500.o
CC lib1500-first.o
CC lib1500-testutil.o
CCLD lib1500
CC lib1501-lib1501.o
CC lib1501-first.o
CC lib1501-testutil.o
CC ../../lib/lib1501-warnless.o
CCLD lib1501
CC lib1502-lib1502.o
CC lib1502-first.o
CC lib1502-testutil.o
CC ../../lib/lib1502-warnless.o
CCLD lib1502
CC lib1503-lib1502.o
CC lib1503-first.o
CC lib1503-testutil.o
CC ../../lib/lib1503-warnless.o
CCLD lib1503
CC lib1504-lib1502.o
CC lib1504-first.o
CC lib1504-testutil.o
CC ../../lib/lib1504-warnless.o
CCLD lib1504
CC lib1505-lib1502.o
CC lib1505-first.o
CC lib1505-testutil.o
CC ../../lib/lib1505-warnless.o
CCLD lib1505
CC lib1506-lib1506.o
CC lib1506-first.o
CC lib1506-testutil.o
CC ../../lib/lib1506-warnless.o
CCLD lib1506
CC lib1507-lib1507.o
CC lib1507-first.o
CC lib1507-testutil.o
CC ../../lib/lib1507-warnless.o
CCLD lib1507
CC lib1508-lib1508.o
CC lib1508-first.o
CC lib1508-testutil.o
CC ../../lib/lib1508-warnless.o
CCLD lib1508
CC lib1509-lib1509.o
CC lib1509-first.o
CC lib1509-testutil.o
CC ../../lib/lib1509-warnless.o
CCLD lib1509
CC lib1510-lib1510.o
CC lib1510-first.o
CC lib1510-testutil.o
CC ../../lib/lib1510-warnless.o
CCLD lib1510
CC lib1511-lib1511.o
CC lib1511-first.o
CC lib1511-testutil.o
CC ../../lib/lib1511-warnless.o
CCLD lib1511
CC lib1512-lib1512.o
CC lib1512-first.o
CC lib1512-testutil.o
CC ../../lib/lib1512-warnless.o
CCLD lib1512
CC lib1513-lib1513.o
CC lib1513-first.o
CC lib1513-testutil.o
CC ../../lib/lib1513-warnless.o
CCLD lib1513
CC lib1514-lib1514.o
CC lib1514-first.o
CC lib1514-testutil.o
CC ../../lib/lib1514-warnless.o
CCLD lib1514
CC lib1515-lib1515.o
CC lib1515-first.o
CC lib1515-testutil.o
CC ../../lib/lib1515-warnless.o
CCLD lib1515
CC lib1517-lib1517.o
CC lib1517-first.o
CCLD lib1517
CC lib1518-lib1518.o
CC lib1518-first.o
CCLD lib1518
CC lib1520-lib1520.o
CC lib1520-first.o
CCLD lib1520
/usr/bin/perl /tests/libtest/mk-lib1521.pl < /include/curl/curl.h > lib1521.c
CC lib1521-lib1521.o
CC lib1521-first.o
CCLD lib1521
CC lib1522-lib1522.o
CC lib1522-first.o
CCLD lib1522
CC lib1523-lib1523.o
CC lib1523-first.o
CCLD lib1523
CC lib1525-lib1525.o
CC lib1525-first.o
CC lib1525-testutil.o
CC ../../lib/lib1525-warnless.o
CCLD lib1525
CC lib1526-lib1526.o
CC lib1526-first.o
CC lib1526-testutil.o
CC ../../lib/lib1526-warnless.o
CCLD lib1526
CC lib1527-lib1527.o
CC lib1527-first.o
CC lib1527-testutil.o
CC ../../lib/lib1527-warnless.o
CCLD lib1527
CC lib1528-lib1528.o
CC lib1528-first.o
CC lib1528-testutil.o
CC ../../lib/lib1528-warnless.o
CCLD lib1528
CC lib1529-lib1529.o
CC lib1529-first.o
CC lib1529-testutil.o
CC ../../lib/lib1529-warnless.o
CCLD lib1529
CC lib1530-lib1530.o
CC lib1530-first.o
CC lib1530-testutil.o
CC ../../lib/lib1530-warnless.o
CCLD lib1530
CC lib1531-lib1531.o
CC lib1531-first.o
CC lib1531-testutil.o
CC ../../lib/lib1531-warnless.o
CCLD lib1531
CC lib1532-lib1532.o
CC lib1532-first.o
CC lib1532-testutil.o
CC ../../lib/lib1532-warnless.o
CCLD lib1532
CC lib1533-lib1533.o
CC lib1533-first.o
CC lib1533-testutil.o
CC ../../lib/lib1533-warnless.o
CCLD lib1533
CC lib1534-lib1534.o
CC lib1534-first.o
CC lib1534-testutil.o
CC ../../lib/lib1534-warnless.o
CCLD lib1534
CC lib1535-lib1535.o
CC lib1535-first.o
CC lib1535-testutil.o
CC ../../lib/lib1535-warnless.o
CCLD lib1535
CC lib1536-lib1536.o
CC lib1536-first.o
CC lib1536-testutil.o
CC ../../lib/lib1536-warnless.o
CCLD lib1536
CC lib1537-lib1537.o
CC lib1537-first.o
CC lib1537-testutil.o
CC ../../lib/lib1537-warnless.o
CCLD lib1537
CC lib1538-lib1538.o
CC lib1538-first.o
CC lib1538-testutil.o
CC ../../lib/lib1538-warnless.o
CCLD lib1538
CC lib1540-lib1540.o
CC lib1540-first.o
CC lib1540-testutil.o
CC ../../lib/lib1540-warnless.o
CCLD lib1540
CC lib1541-lib1541.o
CC lib1541-first.o
CC lib1541-testutil.o
CC ../../lib/lib1541-warnless.o
CCLD lib1541
CC lib1550-lib1550.o
CC lib1550-first.o
CCLD lib1550
CC lib1551-lib1551.o
CC lib1551-first.o
CCLD lib1551
CC lib1552-lib1552.o
CC lib1552-first.o
CC lib1552-testutil.o
CCLD lib1552
CC lib1553-lib1553.o
CC lib1553-first.o
CC lib1553-testutil.o
CCLD lib1553
CC lib1554-lib1554.o
CC lib1554-first.o
CCLD lib1554
CC lib1555-lib1555.o
CC lib1555-first.o
CC lib1555-testutil.o
CC ../../lib/lib1555-warnless.o
CCLD lib1555
CC lib1556-lib1556.o
CC lib1556-first.o
CC lib1556-testutil.o
CC ../../lib/lib1556-warnless.o
CCLD lib1556
CC lib1557-lib1557.o
CC lib1557-first.o
CC lib1557-testutil.o
CC ../../lib/lib1557-warnless.o
CCLD lib1557
CC lib1558.o
CC first.o
CC testutil.o
CC ../../lib/warnless.o
CCLD lib1558
CC lib1559.o
CCLD lib1559
CC lib1560.o
CCLD lib1560
CC lib1591-lib1591.o
CC lib1591-first.o
CC lib1591-testutil.o
CC ../../lib/lib1591-warnless.o
CCLD lib1591
CC lib1592-lib1592.o
CC lib1592-first.o
CC lib1592-testutil.o
CC ../../lib/lib1592-warnless.o
CCLD lib1592
CC lib1593.o
CCLD lib1593
CC lib1594.o
CCLD lib1594
CC lib1596-lib1594.o
CC lib1596-first.o
CC lib1596-testutil.o
CC ../../lib/lib1596-warnless.o
CCLD lib1596
CC lib1900-lib1900.o
CC lib1900-first.o
CC lib1900-testutil.o
CC ../../lib/lib1900-warnless.o
CCLD lib1900
CC lib1905-lib1905.o
CC lib1905-first.o
CC lib1905-testutil.o
CC ../../lib/lib1905-warnless.o
CCLD lib1905
CC lib1906-lib1906.o
CC lib1906-first.o
CC lib1906-testutil.o
CC ../../lib/lib1906-warnless.o
CCLD lib1906
CC lib2033-libntlmconnect.o
CC lib2033-first.o
CC lib2033-testutil.o
CC ../../lib/lib2033-warnless.o
CCLD lib2033
CC libstubgss_la-stub_gssapi.lo
CCLD libstubgss.la
RUN checksrc
make[2]: Leaving directory '/build-20624/tests/libtest'
Making all in unit
make[2]: Entering directory '/build-20624/tests/unit'
CC unit1300-unit1300.o
CC ../libtest/unit1300-first.o
CCLD unit1300
CC unit1301-unit1301.o
CC ../libtest/unit1301-first.o
CCLD unit1301
CC unit1302-unit1302.o
CC ../libtest/unit1302-first.o
CCLD unit1302
CC unit1303-unit1303.o
CC ../libtest/unit1303-first.o
CCLD unit1303
CC unit1304-unit1304.o
CC ../libtest/unit1304-first.o
CCLD unit1304
CC unit1305-unit1305.o
CC ../libtest/unit1305-first.o
CCLD unit1305
CC unit1307-unit1307.o
CC ../libtest/unit1307-first.o
CCLD unit1307
CC unit1308-unit1308.o
CC ../libtest/unit1308-first.o
CCLD unit1308
CC unit1309-unit1309.o
CC ../libtest/unit1309-first.o
CCLD unit1309
CC unit1323-unit1323.o
CC ../libtest/unit1323-first.o
CCLD unit1323
CC unit1330-unit1330.o
CC ../libtest/unit1330-first.o
CCLD unit1330
CC unit1394-unit1394.o
CC ../libtest/unit1394-first.o
CCLD unit1394
CC unit1395-unit1395.o
CC ../libtest/unit1395-first.o
CCLD unit1395
CC unit1396-unit1396.o
CC ../libtest/unit1396-first.o
CCLD unit1396
CC unit1397-unit1397.o
CC ../libtest/unit1397-first.o
CCLD unit1397
CC unit1398-unit1398.o
CC ../libtest/unit1398-first.o
CCLD unit1398
CC unit1399-unit1399.o
CC ../libtest/unit1399-first.o
CCLD unit1399
CC unit1600-unit1600.o
CC ../libtest/unit1600-first.o
CCLD unit1600
CC unit1601-unit1601.o
CC ../libtest/unit1601-first.o
CCLD unit1601
CC unit1602-unit1602.o
CC ../libtest/unit1602-first.o
CCLD unit1602
CC unit1603-unit1603.o
CC ../libtest/unit1603-first.o
CCLD unit1603
CC unit1604-unit1604.o
CC ../libtest/unit1604-first.o
CCLD unit1604
CC unit1605-unit1605.o
CC ../libtest/unit1605-first.o
CCLD unit1605
CC unit1606-unit1606.o
CC ../libtest/unit1606-first.o
CCLD unit1606
CC unit1607-unit1607.o
CC ../libtest/unit1607-first.o
CCLD unit1607
CC unit1608-unit1608.o
CC ../libtest/unit1608-first.o
CCLD unit1608
CC unit1609-unit1609.o
CC ../libtest/unit1609-first.o
CCLD unit1609
CC unit1620-unit1620.o
CC ../libtest/unit1620-first.o
CCLD unit1620
CC unit1621-unit1621.o
CC ../libtest/unit1621-first.o
CCLD unit1621
CC unit1650-unit1650.o
CC ../libtest/unit1650-first.o
CCLD unit1650
CC unit1651-unit1651.o
CC ../libtest/unit1651-first.o
CCLD unit1651
CC unit1652-unit1652.o
CC ../libtest/unit1652-first.o
CCLD unit1652
CC unit1653-unit1653.o
CC ../libtest/unit1653-first.o
CCLD unit1653
CC unit1654-unit1654.o
CC ../libtest/unit1654-first.o
CCLD unit1654
make[2]: Leaving directory '/build-20624/tests/unit'
make[2]: Entering directory '/build-20624/tests'
cd libtest && make checksrc
make[3]: Entering directory '/build-20624/tests/libtest'
RUN checksrc
make[3]: Leaving directory '/build-20624/tests/libtest'
cd unit && make checksrc
make[3]: Entering directory '/build-20624/tests/unit'
RUN checksrc
make[3]: Leaving directory '/build-20624/tests/unit'
cd server && make checksrc
make[3]: Entering directory '/build-20624/tests/server'
RUN checksrc
make[3]: Leaving directory '/build-20624/tests/server'
make[2]: Leaving directory '/build-20624/tests'
srcdir=/tests /usr/bin/perl -I/tests /tests/runtests.pl -a -p -r
********* System characteristics ********
* curl 7.66.0-DEV (x86_64-pc-linux-gnu)
* libcurl/7.66.0-DEV BoringSSL zlib/1.2.11 brotli/1.0.7 c-ares/1.15.0 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.37.0 librtmp/2.3
* Features: AsynchDNS brotli Debug GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TrackMemory UnixSockets
* Disabled:
* Host: storebror.haxx.se
* System: Linux storebror.haxx.se 4.19.0-5-amd64 #1 SMP Debian 4.19.37-6 (2019-07-18) x86_64 GNU/Linux
* Servers: SSL HTTP-IPv6 HTTP-unix FTP-IPv6
* Env: Valgrind
*****************************************
test 0001...[HTTP GET]
--pd---emv- OK (1 out of 1250, remaining: 66:12, took 3.2s, duration: 00:03)
test 0002...[HTTP GET with user and password]
--pd---emv- OK (2 out of 1250, remaining: 45:29, took 1.2s, duration: 00:04)
test 0003...[HTTP POST with auth and contents but with content-length set to 0]
--pd---emv- OK (3 out of 1250, remaining: 38:24, took 1.2s, duration: 00:05)
test 0004...[Replaced internal and added custom HTTP headers]
--pd---emv- OK (4 out of 1250, remaining: 35:26, took 1.3s, duration: 00:06)
test 0005...[HTTP over proxy]
--pd---emv- OK (5 out of 1250, remaining: 33:18, took 1.2s, duration: 00:08)
test 0006...[HTTP with simple cookie send]
--pd---emv- OK (6 out of 1250, remaining: 31:52, took 1.2s, duration: 00:09)
test 0007...[HTTP with cookie parser and header recording]
--pd--oemv- OK (7 out of 1250, remaining: 30:50, took 1.2s, duration: 00:10)
test 0008...[HTTP with cookie parsing from header file]
--pd---emv- OK (8 out of 1250, remaining: 30:09, took 1.2s, duration: 00:11)
test 0009...[HTTP RFC1867-type formposting]
--pd---emv- OK (9 out of 1250, remaining: 29:42, took 1.3s, duration: 00:12)
test 0010...[simple HTTP PUT from file]
--pd---emv- OK (10 out of 1250, remaining: 31:18, took 2.2s, duration: 00:15)
test 0011...[simple HTTP Location: following]
--pd---emv- OK (11 out of 1250, remaining: 30:41, took 1.2s, duration: 00:16)
test 0012...[HTTP range support]
--pd---emv- OK (12 out of 1250, remaining: 30:07, took 1.2s, duration: 00:17)
test 0013...[HTTP custom request 'DELETE']
--pd---emv- OK (13 out of 1250, remaining: 29:38, took 1.2s, duration: 00:18)
test 0014...[HTTP HEAD with Connection: close]
--pd---emv- OK (14 out of 1250, remaining: 29:13, took 1.2s, duration: 00:19)
test 0015...[--write-out test]
s-p----emv- OK (15 out of 1250, remaining: 28:52, took 1.2s, duration: 00:21)
test 0016...[HTTP with proxy authorization]
--pd---emv- OK (16 out of 1250, remaining: 28:34, took 1.2s, duration: 00:22)
test 0017...[HTTP with config file on stdin]
--pd---emv- OK (17 out of 1250, remaining: 28:17, took 1.2s, duration: 00:23)
test 0018...[multiple requests using {} in URL]
s-p----emv- OK (18 out of 1250, remaining: 28:06, took 1.2s, duration: 00:24)
test 0019...[attempt connect to non-listening socket]
-------emv- OK (19 out of 1250, remaining: 27:48, took 1.1s, duration: 00:25)
test 0020...[attempt connect to non-existing host name]
-------emv- OK (20 out of 1250, remaining: 27:33, took 1.1s, duration: 00:26)
test 0021...[use curl with multiple request methods]
-------emv- OK (21 out of 1250, remaining: 27:05, took 0.9s, duration: 00:27)
test 0022...[get HTTP with URL > 10000 bytes]
--pd---emv- OK (22 out of 1250, remaining: 26:57, took 1.2s, duration: 00:28)
test 0023...[unsupported protocol:// URL]
-------emv- OK (23 out of 1250, remaining: 26:42, took 1.1s, duration: 00:30)
test 0024...[HTTP GET fail silently on HTTP error return]
--p---oemv- OK (24 out of 1250, remaining: 26:33, took 1.1s, duration: 00:31)
test 0025...[looping HTTP Location: following with --max-redirs]
--pd---emv- OK (25 out of 1250, remaining: 26:28, took 1.2s, duration: 00:32)
test 0026...[specify more -o than URLs]
--pd---emv- OK (26 out of 1250, remaining: 26:22, took 1.2s, duration: 00:33)
test 0027...[Get same cookie page several times]
--pd---emv- OK (27 out of 1250, remaining: 26:19, took 1.3s, duration: 00:34)
test 0028...[HTTP Location: following with extra spaces in header]
--pd---emv- OK (28 out of 1250, remaining: 26:14, took 1.2s, duration: 00:36)
test 0029...[HTTP with 2 secs timeout]
Warning: server logs lock timeout (2 seconds) expired
--pd---emv- OK (29 out of 1250, remaining: 28:51, took 5.1s, duration: 00:41)
test 0030...[HTTP with no data in server reply]
--p----emv- OK (30 out of 1250, remaining: 32:04, took 6.2s, duration: 00:47)
test 0031...[HTTP with weirdly formatted cookies and cookiejar storage]
--pd--oemv- OK (31 out of 1250, remaining: 31:51, took 1.3s, duration: 00:48)
test 0032...[HTTP with -d and -G]
--pd---emv- OK (32 out of 1250, remaining: 31:35, took 1.2s, duration: 00:49)
test 0033...[HTTP PUT with resume]
--pd---emv- OK (33 out of 1250, remaining: 31:58, took 2.2s, duration: 00:52)
test 0034...[HTTP GET with chunked Transfer-Encoding]
--pd---emv- OK (34 out of 1250, remaining: 31:42, took 1.2s, duration: 00:53)
test 0035...[HTTP POST binary data with embedded NUL]
--pd---emv- OK (35 out of 1250, remaining: 31:28, took 1.2s, duration: 00:54)
test 0036...[HTTP GET with bad chunked Transfer-Encoding]
--pd---emv- OK (36 out of 1250, remaining: 31:15, took 1.2s, duration: 00:55)
test 0037...[HTTP GET with nothing returned from server]
--p----emv- OK (37 out of 1250, remaining: 31:02, took 1.2s, duration: 00:56)
test 0038...[HTTP resume request without server supporting it]
--p---oemv- OK (38 out of 1250, remaining: 30:49, took 1.2s, duration: 00:57)
test 0039...[HTTP RFC1867-type formposting with filename= and type=]
--pd---emv- OK (39 out of 1250, remaining: 31:09, took 2.2s, duration: 01:00)
test 0040...[HTTP redirect with whitespace after ? (and conversion)]
--pd---emv- OK (40 out of 1250, remaining: 31:00, took 1.3s, duration: 01:01)
test 0041...[HTTP formpost with missing file]
-------emv- OK (41 out of 1250, remaining: 30:41, took 1.0s, duration: 01:02)
test 0042...[HTTP redirect with whitespace in path (and conversion)]
--pd---emv- OK (42 out of 1250, remaining: 30:32, took 1.3s, duration: 01:03)
test 0043...[HTTP Location: following over HTTP proxy]
--pd---emv- OK (43 out of 1250, remaining: 30:22, took 1.2s, duration: 01:04)
test 0044...[HTTP RFC1867-type formposting without Expect: header]
--pd---emv- OK (44 out of 1250, remaining: 30:13, took 1.2s, duration: 01:06)
test 0045...[simple HTTP Location: without protocol in initial URL]
--pd---emv- OK (45 out of 1250, remaining: 30:03, took 1.2s, duration: 01:07)
test 0046...[HTTP with bad domain name, get cookies and store in cookie jar]
--pd--oemv- OK (46 out of 1250, remaining: 29:56, took 1.3s, duration: 01:08)
test 0047...[simple HTTP 1.0 GET]
--pd---emv- OK (47 out of 1250, remaining: 29:46, took 1.2s, duration: 01:09)
test 0048...[HTTP with -d and -G and -I]
--pd---emv- OK (48 out of 1250, remaining: 29:38, took 1.2s, duration: 01:11)
test 0049...[HTTP follow redirect with ../]
--pd---emv- OK (49 out of 1250, remaining: 29:32, took 1.3s, duration: 01:12)
test 0050...[HTTP follow redirect with ../../]
--pd---emv- OK (50 out of 1250, remaining: 29:25, took 1.3s, duration: 01:13)
test 0051...[HTTP follow redirect with excessive ../]
--pd---emv- OK (51 out of 1250, remaining: 29:19, took 1.3s, duration: 01:14)
test 0052...[HTTP follow redirect with ./-prefix]
--pd---emv- OK (52 out of 1250, remaining: 29:13, took 1.3s, duration: 01:16)
test 0053...[HTTP, junk session cookies]
--pd---emv- OK (53 out of 1250, remaining: 29:05, took 1.2s, duration: 01:17)
test 0054...[HTTP with blank Location:]
--pd---emv- OK (54 out of 1250, remaining: 28:58, took 1.2s, duration: 01:18)
test 0055...[HTTP follow redirect with single slash in path]
--pd---emv- OK (55 out of 1250, remaining: 28:52, took 1.3s, duration: 01:19)
test 0056...[HTTP POST with *HUGE* request and chunked transfer-encoding]
--pd---emv- OK (56 out of 1250, remaining: 28:54, took 1.6s, duration: 01:21)
test 0057...[HTTP content-type with spaces in]
s-p----emv- OK (57 out of 1250, remaining: 28:47, took 1.2s, duration: 01:22)
test 0058...[HTTP PUT from file with weird letters]
--pd---emv- OK (58 out of 1250, remaining: 29:02, took 2.2s, duration: 01:24)
test 0059...[HTTP URL with slash but with "parameter"]
--pd---emv- OK (59 out of 1250, remaining: 28:55, took 1.2s, duration: 01:25)
test 0060...[HTTP PUT from stdin with wrong content-length]
--pd---emv- OK (60 out of 1250, remaining: 29:09, took 2.2s, duration: 01:28)
test 0061...[HTTP with various cookies and custom Host:]
--pd--oemv- OK (61 out of 1250, remaining: 29:03, took 1.2s, duration: 01:29)
test 0062...[HTTP, send cookies when using custom Host:]
--pd---emv- OK (62 out of 1250, remaining: 28:57, took 1.2s, duration: 01:30)
test 0063...[HTTP with proxy authorization set in environment]
--pd---emv- OK (63 out of 1250, remaining: 28:50, took 1.2s, duration: 01:31)
test 0064...[HTTP with Digest authorization]
--pd---emv- OK (64 out of 1250, remaining: 28:45, took 1.2s, duration: 01:33)
test 0065...[HTTP with Digest authorization with bad password]
--pd---emv- OK (65 out of 1250, remaining: 28:39, took 1.2s, duration: 01:34)
test 0066...[HTTP GET without headers in the response]
--pd---emv- OK (66 out of 1250, remaining: 28:33, took 1.2s, duration: 01:35)
test 0067...[HTTP with NTLM authorization]
--pd---emv- OK (67 out of 1250, remaining: 28:28, took 1.3s, duration: 01:36)
test 0068...[HTTP with NTLM authorization and wrong password]
--pd---emv- OK (68 out of 1250, remaining: 28:23, took 1.2s, duration: 01:38)
test 0069...[HTTP with NTLM, Basic or Wild-and-crazy authorization]
--pd---emv- OK (69 out of 1250, remaining: 28:19, took 1.3s, duration: 01:39)
test 0070...[HTTP with Digest *OR* NTLM authorization]
--pd---emv- OK (70 out of 1250, remaining: 28:14, took 1.2s, duration: 01:40)
test 0071...[HTTP and -F upload in config file]
--pd---emv- OK (71 out of 1250, remaining: 28:09, took 1.2s, duration: 01:41)
test 0072...[HTTP with Digest *OR* Basic authorization]
--pd---emv- OK (72 out of 1250, remaining: 28:05, took 1.2s, duration: 01:42)
test 0073...[HTTP, receive cookies when using custom Host:, domain using only two dots]
--pd--oemv- OK (73 out of 1250, remaining: 27:59, took 1.2s, duration: 01:44)
test 0074...[HTTP, urlglob {}-retrieval and -o #[num] usage]
--p---oemv- OK (74 out of 1250, remaining: 27:56, took 1.3s, duration: 01:45)
test 0075...[HTTP, urlglob retrieval with bad range]
s------emv- OK (75 out of 1250, remaining: 27:46, took 0.9s, duration: 01:46)
test 0076...[HTTP, -O with no file name part in the URL]
-------emv- OK (76 out of 1250, remaining: 27:37, took 0.9s, duration: 01:47)
test 0077...[HTTP with -z "older date"]
--pd---emv- OK (77 out of 1250, remaining: 27:32, took 1.2s, duration: 01:48)
test 0078...[HTTP with -z "newer date"]
--pd---emv- OK (78 out of 1250, remaining: 27:28, took 1.2s, duration: 01:49)
test 0079...[FTP over HTTP proxy]
--pd---emv- OK (79 out of 1250, remaining: 27:23, took 1.2s, duration: 01:50)
test 0080...[HTTP 1.0 CONNECT with proxytunnel and proxy+host Basic authentication]
--pd-P-emv- OK (80 out of 1250, remaining: 27:55, took 3.7s, duration: 01:54)
test 0081...[HTTP with proxy using NTLM authorization]
--pd---emv- OK (81 out of 1250, remaining: 27:52, took 1.3s, duration: 01:55)
test 0082...[HTTP with proxy requiring NTLM, but we send Basic]
--pd---emv- OK (82 out of 1250, remaining: 27:47, took 1.2s, duration: 01:57)
test 0083...[HTTP over proxy-tunnel with site authentication]
--pd-P-emv- OK (83 out of 1250, remaining: 27:49, took 1.7s, duration: 01:58)
test 0084...[HTTP over proxy with site authentication]
--pd---emv- OK (84 out of 1250, remaining: 27:45, took 1.2s, duration: 01:59)
test 0085...[HTTP over proxy with site and proxy authentication]
--pd---emv- OK (85 out of 1250, remaining: 27:40, took 1.2s, duration: 02:01)
test 0086...[HTTP, urlglob []-retrieval and -o #[num] usage]
--p---oemv- OK (86 out of 1250, remaining: 27:38, took 1.4s, duration: 02:02)
test 0087...[urlglob with out of range -o #[num] usage]
------oemv- OK (87 out of 1250, remaining: 27:33, took 1.2s, duration: 02:03)
test 0088...[HTTP PUT with Digest authorization]
--pd---emv- OK (88 out of 1250, remaining: 27:43, took 2.3s, duration: 02:05)
test 0089...[HTTP with NTLM and follow-location]
--pd---emv- OK (89 out of 1250, remaining: 27:41, took 1.3s, duration: 02:07)
test 0090...[HTTP with NTLM via --anyauth, and then follow-location with NTLM again]
--pd---emv- OK (90 out of 1250, remaining: 27:40, took 1.5s, duration: 02:08)
test 0091...[HTTP with NTLM/Negotiate/Basic, anyauth and user with domain, with size 0]
--pd---emv- OK (91 out of 1250, remaining: 27:36, took 1.3s, duration: 02:10)
test 0092...[HTTP resume transfer with the whole file already downloaded]
--pd---emv- OK (92 out of 1250, remaining: 27:32, took 1.2s, duration: 02:11)
test 0093...[HTTP GET with failed proxy auth]
--pd---emv- OK (93 out of 1250, remaining: 27:28, took 1.2s, duration: 02:12)
test 0094...[HTTPS GET with failed proxy auth (CONNECT 1.0)]
--p----emv- OK (94 out of 1250, remaining: 27:23, took 1.1s, duration: 02:13)
test 0095...[HTTP over proxytunnel using POST]
--pd-P-emv- OK (95 out of 1250, remaining: 27:25, took 1.7s, duration: 02:15)
test 0096...[curl memory tracking operational]
------oemv- OK (96 out of 1250, remaining: 27:17, took 0.9s, duration: 02:16)
test 0097...[HTTP POST with custom content-type]
--pd---emv- OK (97 out of 1250, remaining: 27:13, took 1.2s, duration: 02:17)
test 0098...[HTTP PUT from stdin with set size, disabling chunked transfer-encoding]
--pd---emv- OK (98 out of 1250, remaining: 27:20, took 2.2s, duration: 02:19)
test 0099...[HTTP GET with large-file resume point and failed resume]
--pd---emv- OK (99 out of 1250, remaining: 27:16, took 1.2s, duration: 02:20)
test 0100...[FTP dir list PASV]
--pd---emv- OK (100 out of 1250, remaining: 27:36, took 3.3s, duration: 02:24)
test 0101...[FTP dir list, PORT with specified IP]
--pd---emv- OK (101 out of 1250, remaining: 27:32, took 1.2s, duration: 02:25)
test 0102...[FTP RETR PASV]
--pd---emv- OK (102 out of 1250, remaining: 27:28, took 1.2s, duration: 02:26)
test 0103...[FTP RETR PORT with CWD]
--pd---emv- OK (103 out of 1250, remaining: 27:25, took 1.3s, duration: 02:27)
test 0104...[FTP --head to get file size only]
--p----emv- OK (104 out of 1250, remaining: 27:20, took 1.2s, duration: 02:28)
test 0105...[FTP user+password in URL and ASCII transfer]
--pd---emv- OK (105 out of 1250, remaining: 27:17, took 1.2s, duration: 02:30)
test 0106...[FTP GET with type=A style ASCII URL using %20 codes]
--pd---emv- OK (106 out of 1250, remaining: 27:13, took 1.2s, duration: 02:31)
test 0107...[FTP PASV upload file]
--p-u--emv- OK (107 out of 1250, remaining: 27:10, took 1.2s, duration: 02:32)
test 0108...[FTP PORT upload with CWD]
--p-u--emv- OK (108 out of 1250, remaining: 27:06, took 1.2s, duration: 02:33)
test 0109...[FTP PASV upload append]
--p-u--emv- OK (109 out of 1250, remaining: 27:03, took 1.2s, duration: 02:35)
test 0110...[FTP download resume with set limit]
--pd---emv- OK (110 out of 1250, remaining: 27:00, took 1.2s, duration: 02:36)
test 0111...[FTP download resume beyond file size]
Killed
--p----emv- OK (111 out of 1250, remaining: 26:56, took 1.2s, duration: 02:37)
test 0112...[FTP PASV upload resume]
--p-u--emv- OK (112 out of 1250, remaining: 26:53, took 1.2s, duration: 02:38)
test 0113...[FTP download, failed login: USER not valid]
--p----emv- OK (113 out of 1250, remaining: 26:48, took 1.1s, duration: 02:39)
test 0114...[FTP download, failed login: PASS not valid]
--p----emv- OK (114 out of 1250, remaining: 26:44, took 1.1s, duration: 02:41)
test 0115...[FTP download, failed PASV]
--p----emv- OK (115 out of 1250, remaining: 26:41, took 1.2s, duration: 02:42)
test 0116...[FTP download, failed PORT]
--p----emv- OK (116 out of 1250, remaining: 26:37, took 1.2s, duration: 02:43)
test 0117...[FTP download, failed TYPE]
Killed
--p----emv- OK (117 out of 1250, remaining: 26:33, took 1.2s, duration: 02:44)
test 0118...[FTP download, failed RETR]
Killed
--p----emv- OK (118 out of 1250, remaining: 26:30, took 1.2s, duration: 02:45)
test 0119...[FTP download, failed RETR with PORT]
Killed
--p----emv- OK (119 out of 1250, remaining: 26:26, took 1.2s, duration: 02:46)
test 0120...[ftp download with post-quote delete operation]
--pd---emv- OK (120 out of 1250, remaining: 26:23, took 1.2s, duration: 02:48)
test 0121...[ftp download with post- and pre-transfer delete operations]
--pd---emv- OK (121 out of 1250, remaining: 26:20, took 1.2s, duration: 02:49)
test 0122...[FTP download resume with whole file already downloaded]
Killed
--p----emv- OK (122 out of 1250, remaining: 26:17, took 1.2s, duration: 02:50)
test 0123...[FTP upload resume with whole file already downloaded]
Killed
--p----emv- OK (123 out of 1250, remaining: 26:13, took 1.2s, duration: 02:51)
test 0124...[FTP download, failed PWD]
--pd---emv- OK (124 out of 1250, remaining: 26:10, took 1.2s, duration: 02:52)
test 0125...[FTP download, failed CWD]
--p----emv- OK (125 out of 1250, remaining: 26:07, took 1.2s, duration: 02:54)
test 0126...[FTP download with multiple replies at once in RETR]
--pd---emv- OK (126 out of 1250, remaining: 26:04, took 1.2s, duration: 02:55)
test 0127...[FTP --disable-epsv]
--pd---emv- OK (127 out of 1250, remaining: 26:01, took 1.2s, duration: 02:56)
test 0128...[FTP upload with --crlf]
--p-u--emv- OK (128 out of 1250, remaining: 25:58, took 1.3s, duration: 02:57)
test 0129...[FTP GET with type=A style ASCII URL and understated server SIZE]
--pd---emv- OK (129 out of 1250, remaining: 25:56, took 1.2s, duration: 02:59)
test 0130...[FTP (optional .netrc; no user/pass) dir list PASV]
--pd---emv- OK (130 out of 1250, remaining: 25:53, took 1.2s, duration: 03:00)
test 0131...[FTP (optional .netrc; user/no pass) dir list PASV]
--pd---emv- OK (131 out of 1250, remaining: 25:50, took 1.2s, duration: 03:01)
test 0132...[FTP (optional .netrc; user/passwd supplied) dir list PASV]
--pd---emv- OK (132 out of 1250, remaining: 25:47, took 1.2s, duration: 03:02)
test 0133...[FTP (compulsory .netrc; ignored user/passwd) dir list PASV]
--pd---emv- OK (133 out of 1250, remaining: 25:45, took 1.2s, duration: 03:03)
test 0134...[FTP (optional .netrc; programmatic user/passwd) dir list PASV]
--pd---emv- OK (134 out of 1250, remaining: 25:42, took 1.2s, duration: 03:05)
test 0135...[FTP retrieve a byte-range]
--pd---emv- OK (135 out of 1250, remaining: 25:39, took 1.2s, duration: 03:06)
test 0136...[FTP with user and no password]
--pd---emv- OK (136 out of 1250, remaining: 25:37, took 1.2s, duration: 03:07)
test 0137...[FTP download without size in RETR string]
--pd---emv- OK (137 out of 1250, remaining: 25:34, took 1.2s, duration: 03:08)
test 0138...[FTP download without size in RETR string and no SIZE command]
--pd---emv- OK (138 out of 1250, remaining: 25:31, took 1.2s, duration: 03:10)
test 0139...[FTP download a newer file with -z]
--pd---emv- OK (139 out of 1250, remaining: 25:29, took 1.2s, duration: 03:11)
test 0140...[FTP download file with -z, expected to not transfer]
--p----emv- OK (140 out of 1250, remaining: 25:26, took 1.2s, duration: 03:12)
test 0141...[FTP download info with -I]
s-p----emv- OK (141 out of 1250, remaining: 25:23, took 1.2s, duration: 03:13)
test 0142...[FTP URL with 150 dir levels]
--pd---emv- OK (142 out of 1250, remaining: 25:22, took 1.3s, duration: 03:15)
test 0143...[FTP URL with type=a]
--pd---emv- OK (143 out of 1250, remaining: 25:19, took 1.2s, duration: 03:16)
test 0144...[FTP NLST dir list without contents, using PORT]
Killed
--p----emv- OK (144 out of 1250, remaining: 25:16, took 1.2s, duration: 03:17)
test 0145...[FTP NLST dir list with weird reply code, using PORT]
Killed
--p----emv- OK (145 out of 1250, remaining: 25:13, took 1.2s, duration: 03:18)
test 0146...[persistent FTP with different paths]
--pd---emv- OK (146 out of 1250, remaining: 25:12, took 1.3s, duration: 03:19)
test 0147...[FTP with --ftp-create-dirs (failing CWD)]
--pd---emv- OK (147 out of 1250, remaining: 25:09, took 1.2s, duration: 03:21)
test 0148...[FTP with --ftp-create-dirs (failing MKD)]
--p----emv- OK (148 out of 1250, remaining: 25:06, took 1.2s, duration: 03:22)
test 0149...[FTP with multiple uploads]
--p---oemv- OK (149 out of 1250, remaining: 25:05, took 1.3s, duration: 03:23)
test 0150...[HTTP with NTLM authorization and --fail]
--pd---emv- OK (150 out of 1250, remaining: 25:03, took 1.3s, duration: 03:24)
test 0151...[HTTP GET with an error code that might trick authentication]
--pd---emv- OK (151 out of 1250, remaining: 25:00, took 1.2s, duration: 03:26)
test 0152...[HTTP GET with an error code that might trick authentication and --fail]
--p----emv- OK (152 out of 1250, remaining: 24:57, took 1.2s, duration: 03:27)
test 0153...[HTTP with Digest authorization with stale=true]
s-p----emv- OK (153 out of 1250, remaining: 24:56, took 1.4s, duration: 03:28)
test 0154...[HTTP PUT with --anyauth authorization (picking Digest)]
--pd---emv- OK (154 out of 1250, remaining: 25:01, took 2.3s, duration: 03:30)
test 0155...[HTTP PUT with --anyauth authorization (picking NTLM)]
--pd---emv- OK (155 out of 1250, remaining: 25:06, took 2.3s, duration: 03:33)
test 0156...[HTTP PUT with --anyauth (when the server requires none)]
--pd---emv- OK (156 out of 1250, remaining: 25:11, took 2.2s, duration: 03:35)
test 0157...[HTTP GET with --anyauth (when the server requires none)]
--pd---emv- OK (157 out of 1250, remaining: 25:08, took 1.2s, duration: 03:36)
test 0158...[HTTP multipart formpost with only a 100 reply]
--pd---emv- OK (158 out of 1250, remaining: 25:06, took 1.2s, duration: 03:37)
test 0159...[HTTP with NTLM authorization when talking HTTP/1.0 (known to fail)]
--pd---emv- OK (159 out of 1250, remaining: 25:03, took 1.2s, duration: 03:39)
test 0160...[HTTP with delayed close, conn reuse, connection reset and retry]
s-p----emv- OK (160 out of 1250, remaining: 25:14, took 3.3s, duration: 03:42)
test 0161...[FTP RETR PASV]
--pd---emv- OK (161 out of 1250, remaining: 25:12, took 1.2s, duration: 03:43)
test 0162...[HTTP GET asking for --proxy-ntlm when some other authentication is required]
--p----emv- OK (162 out of 1250, remaining: 25:09, took 1.2s, duration: 03:44)
test 0163...[HTTP multipart formpost with contents from a file]
--pd---emv- OK (163 out of 1250, remaining: 25:06, took 1.2s, duration: 03:45)
test 0164...[HTTP range with multiple ranges]
--pd---emv- OK (164 out of 1250, remaining: 25:03, took 1.2s, duration: 03:47)
test 0165...[HTTP over proxy with IDN host name]
--pd---emv- OK (165 out of 1250, remaining: 25:02, took 1.3s, duration: 03:48)
test 0166...[HTTP formpost a file with spaces in name]
--pd---emv- OK (166 out of 1250, remaining: 24:59, took 1.2s, duration: 03:49)
test 0167...[HTTP with proxy-requiring-Basic to site-requiring-Digest]
--pd---emv- OK (167 out of 1250, remaining: 24:57, took 1.3s, duration: 03:50)
test 0168...[HTTP with proxy-requiring-Digest to site-requiring-Digest]
--pd---emv- OK (168 out of 1250, remaining: 24:55, took 1.3s, duration: 03:52)
test 0169...[HTTP with proxy-requiring-NTLM to site-requiring-Digest]
--pd---emv- OK (169 out of 1250, remaining: 24:53, took 1.3s, duration: 03:53)
test 0170...[HTTP POST with --proxy-ntlm and no SSL with no response]
--p----emv- OK (170 out of 1250, remaining: 24:51, took 1.2s, duration: 03:54)
test 0171...[HTTP, get cookie with dot prefixed full domain]
--pd--oemv- OK (171 out of 1250, remaining: 24:48, took 1.2s, duration: 03:55)
test 0172...[HTTP with cookies file and custom added cookie]
--pd---emv- OK (172 out of 1250, remaining: 24:46, took 1.2s, duration: 03:57)
test 0173...[HTTP RFC1867-formpost a file from stdin with "faked" filename]
--pd---emv- OK (173 out of 1250, remaining: 24:44, took 1.2s, duration: 03:58)
test 0174...[HTTP POST --anyauth to server not requiring any auth at all]
--pd---emv- OK (174 out of 1250, remaining: 24:41, took 1.2s, duration: 03:59)
test 0175...[HTTP POST --digest to server not requiring any auth at all]
--pd---emv- OK (175 out of 1250, remaining: 24:38, took 1.2s, duration: 04:00)
test 0176...[HTTP POST --ntlm to server not requiring any auth at all]
--pd---emv- OK (176 out of 1250, remaining: 24:36, took 1.2s, duration: 04:01)
test 0177...[HTTP POST --digest to server doing a 302-location response]
--pd---emv- OK (177 out of 1250, remaining: 24:34, took 1.2s, duration: 04:03)
test 0178...[HTTP response with negative Content-Length]
--pd---emv- OK (178 out of 1250, remaining: 24:31, took 1.1s, duration: 04:04)
test 0179...[HTTP using proxy and cookies with path checks]
--pd---emv- OK (179 out of 1250, remaining: 24:29, took 1.2s, duration: 04:05)
test 0180...[HTTP 1.0 PUT]
--pd---emv- OK (180 out of 1250, remaining: 24:26, took 1.2s, duration: 04:06)
test 0181...[HTTP 1.0 POST]
--pd---emv- OK (181 out of 1250, remaining: 24:24, took 1.2s, duration: 04:07)
test 0182...[FTP download an empty file]
--pd---emv- OK (182 out of 1250, remaining: 24:22, took 1.2s, duration: 04:09)
test 0183...[HTTP GET two URLs over a single proxy with persistent connection]
--pd---emv- OK (183 out of 1250, remaining: 24:19, took 1.2s, duration: 04:10)
test 0184...[HTTP replace Host: when following Location: to new host]
--pd---emv- OK (184 out of 1250, remaining: 24:17, took 1.2s, duration: 04:11)
test 0185...[HTTP replace Host: when following Location: on the same host]
--pd---emv- OK (185 out of 1250, remaining: 24:15, took 1.3s, duration: 04:12)
test 0186...[HTTP RFC1867-type formposting with types on text fields]
--pd---emv- OK (186 out of 1250, remaining: 24:13, took 1.2s, duration: 04:14)
test 0187...[HTTP redirect with bad host name separation and slash in parameters]
--pd---emv- OK (187 out of 1250, remaining: 24:11, took 1.2s, duration: 04:15)
test 0188...[HTTP GET with resume and redirect]
--pd---emv- OK (188 out of 1250, remaining: 24:08, took 1.2s, duration: 04:16)
test 0189...[HTTP GET with resume and redirect (to a page that doesn't resume)]
--pd---emv- OK (189 out of 1250, remaining: 24:06, took 1.2s, duration: 04:17)
test 0190...[FTP download with strict timeout and slow CWD]
Killed
--p----emv- OK (190 out of 1250, remaining: 24:48, took 9.1s, duration: 04:26)
test 0191...[FTP URL with ?-letters in username and password ]
--pd---emv- OK (191 out of 1250, remaining: 24:57, took 3.3s, duration: 04:30)
test 0192...[HTTP GET -w num_connects with one simple connect]
s-p----emv- OK (192 out of 1250, remaining: 24:54, took 1.2s, duration: 04:31)
test 0193...[HTTP GET -w num_connects with redirected fetch (2 connects)]
s-p----emv- OK (193 out of 1250, remaining: 24:51, took 1.2s, duration: 04:32)
test 0194...[HTTP resume transfer with the whole file already downloaded and --fail]
--pd---emv- OK (194 out of 1250, remaining: 24:49, took 1.2s, duration: 04:33)
test 0195...[FTP response 530 after PASS, temporarily not allowed access]
--p----emv- OK (195 out of 1250, remaining: 24:46, took 1.1s, duration: 04:34)
test 0196...[FTP transient error, retry request once]
--p----emv- OK (196 out of 1250, remaining: 24:48, took 2.2s, duration: 04:36)
test 0197...[HTTP GET --retry on 503 error with output to stdout]
s-p----emv- OK (197 out of 1250, remaining: 24:51, took 2.2s, duration: 04:39)
test 0198...[HTTP GET --retry on 503 error with output to file]
--pd---emv- OK (198 out of 1250, remaining: 24:54, took 2.2s, duration: 04:41)
test 0199...[HTTP with -d, -G and {}]
--pd---emv- OK (199 out of 1250, remaining: 24:52, took 1.2s, duration: 04:42)
test 0200...[basic file:// file]
---d---emv- OK (200 out of 1250, remaining: 24:48, took 1.1s, duration: 04:43)
test 0201...[missing file:// file]
-------emv- OK (201 out of 1250, remaining: 24:45, took 1.1s, duration: 04:44)
test 0202...[two file:// URLs to stdout]
s------emv- OK (202 out of 1250, remaining: 24:42, took 1.1s, duration: 04:45)
test 0203...[file:/path URL with a single slash]
---d---emv- OK (203 out of 1250, remaining: 24:39, took 1.1s, duration: 04:46)
test 0204...["upload" with file://]
------oemv- OK (204 out of 1250, remaining: 24:36, took 1.1s, duration: 04:47)
test 0205...["upload" with file://]
-------emv- OK (205 out of 1250, remaining: 24:33, took 1.1s, duration: 04:49)
test 0206...[HTTP proxy CONNECT auth Digest]
--pd---emv- OK (206 out of 1250, remaining: 24:31, took 1.2s, duration: 04:50)
test 0207...[HTTP GET with chunked Transfer-Encoding closed prematurely]
--pd---emv- OK (207 out of 1250, remaining: 24:28, took 1.2s, duration: 04:51)
test 0208...[HTTP PUT to a FTP URL with username+password - over HTTP proxy]
--pd---emv- OK (208 out of 1250, remaining: 24:31, took 2.3s, duration: 04:53)
test 0209...[HTTP proxy CONNECT auth NTLM]
--pd---emv- OK (209 out of 1250, remaining: 24:29, took 1.3s, duration: 04:55)
test 0210...[Get two FTP files from the same remote dir: no second CWD]
--pd---emv- OK (210 out of 1250, remaining: 24:27, took 1.3s, duration: 04:56)
test 0211...[Get two FTP files with no remote EPSV support]
--pd---emv- OK (211 out of 1250, remaining: 24:25, took 1.3s, duration: 04:57)
test 0212...[Get two FTP files with no remote EPRT support]
--pd---emv- OK (212 out of 1250, remaining: 24:23, took 1.3s, duration: 04:58)
test 0213...[HTTP 1.0 proxy CONNECT auth NTLM and then POST]
--pd---emv- OK (213 out of 1250, remaining: 24:21, took 1.3s, duration: 05:00)
test 0214...[HTTP URL with escaped { and }]
--pd---emv- OK (214 out of 1250, remaining: 24:19, took 1.2s, duration: 05:01)
test 0215...[Get two FTP dir listings from the same remote dir: no second CWD]
--pd---emv- OK (215 out of 1250, remaining: 24:17, took 1.3s, duration: 05:02)
test 0216...[FTP upload two files to the same dir]
--p----emv- OK (216 out of 1250, remaining: 24:15, took 1.3s, duration: 05:04)
test 0217...[HTTP proxy CONNECT to proxy returning 405]
s-p----emv- OK (217 out of 1250, remaining: 24:12, took 1.1s, duration: 05:05)
test 0218...[HTTP PUT from a file but enforce chunked transfer-encoding]
--pd---emv- OK (218 out of 1250, remaining: 24:15, took 2.2s, duration: 05:07)
test 0219...[try using proxy with unsupported scheme]
-------emv- OK (219 out of 1250, remaining: 24:12, took 1.1s, duration: 05:08)
test 0220...[HTTP GET gzip compressed content]
--pd---emv- OK (220 out of 1250, remaining: 24:09, took 1.2s, duration: 05:09)
test 0221...[HTTP GET gzip compressed content with broken gzip header]
--pd---emv- OK (221 out of 1250, remaining: 24:07, took 1.2s, duration: 05:10)
test 0222...[HTTP GET deflate compressed content]
--pd---emv- OK (222 out of 1250, remaining: 24:04, took 1.2s, duration: 05:12)
test 0223...[HTTP GET deflate compressed content with broken deflate header]
--pd---emv- OK (223 out of 1250, remaining: 24:02, took 1.2s, duration: 05:13)
test 0224...[HTTP GET gzip compressed content with huge comment and extra field]
--pd---emv- OK (224 out of 1250, remaining: 24:00, took 1.2s, duration: 05:14)
test 0225...[FTP %0a-code in URL's name part]
-------emv- OK (225 out of 1250, remaining: 23:57, took 1.1s, duration: 05:15)
test 0226...[FTP %0d-code in URL's CWD part]
-------emv- OK (226 out of 1250, remaining: 23:54, took 1.1s, duration: 05:16)
test 0227...[FTP with quote ops]
--pd---emv- OK (227 out of 1250, remaining: 23:52, took 1.2s, duration: 05:17)
test 0228...[FTP RETR with ACCT]
--pd---emv- OK (228 out of 1250, remaining: 23:50, took 1.2s, duration: 05:19)
test 0229...[FTP RETR with bad ACCT]
--p----emv- OK (229 out of 1250, remaining: 23:47, took 1.2s, duration: 05:20)
test 0230...[HTTP GET multiply compressed content]
--pd---emv- OK (230 out of 1250, remaining: 23:45, took 1.2s, duration: 05:21)
test 0231...[file:// with resume]
---d---emv- OK (231 out of 1250, remaining: 23:43, took 1.1s, duration: 05:22)
test 0232...[HTTP GET deflate raw-compressed content]
--pd---emv- OK (232 out of 1250, remaining: 23:40, took 1.2s, duration: 05:23)
test 0233...[HTTP, proxy, site+proxy auth and Location: to new host]
--pd---emv- OK (233 out of 1250, remaining: 23:38, took 1.2s, duration: 05:25)
test 0234...[HTTP, proxy, site+proxy auth and Location: to new host using location-trusted]
--pd---emv- OK (234 out of 1250, remaining: 23:36, took 1.2s, duration: 05:26)
test 0235...[FTP resumed upload but no file present remotely]
--p-u--emv- OK (235 out of 1250, remaining: 23:34, took 1.3s, duration: 05:27)
test 0236...[FTP resume upload but denied access to remote file]
Killed
--p----emv- OK (236 out of 1250, remaining: 23:32, took 1.2s, duration: 05:28)
test 0237...[FTP getting bad host in 227-response to PASV]
--p----emv- OK (237 out of 1250, remaining: 23:29, took 1.2s, duration: 05:29)
test 0238...[FTP getting bad port in response to EPSV]
--p----emv- OK (238 out of 1250, remaining: 23:27, took 1.2s, duration: 05:31)
test 0239...[HTTP proxy-auth NTLM and then POST]
--pd---emv- OK (239 out of 1250, remaining: 23:25, took 1.3s, duration: 05:32)
test 0240...[HTTP-IPv6 GET]
--pd---emv- OK (240 out of 1250, remaining: 23:31, took 3.2s, duration: 05:35)
test 0241...[HTTP-IPv6 GET (using ip6-localhost)]
--pd---emv- OK (241 out of 1250, remaining: 23:29, took 1.2s, duration: 05:36)
test 0242...[HTTP-IPv6 GET with username+password in URL]
--pd---emv- OK (242 out of 1250, remaining: 23:27, took 1.2s, duration: 05:37)
test 0243...[HTTP POST with --proxy-anyauth, picking NTLM]
--pd---emv- OK (243 out of 1250, remaining: 23:25, took 1.3s, duration: 05:39)
test 0244...[FTP dir listing with nocwd and URL encoded path]
--pd---emv- OK (244 out of 1250, remaining: 23:23, took 1.2s, duration: 05:40)
test 0245...[HTTP POST --digest]
--pd---emv- OK (245 out of 1250, remaining: 23:21, took 1.2s, duration: 05:41)
test 0246...[HTTP POST --digest with server doing a 100 before 401 response]
--pd---emv- OK (246 out of 1250, remaining: 23:19, took 1.3s, duration: 05:42)
test 0247...[FTP upload time condition evaluates TRUE => skip upload]
--p----emv- OK (247 out of 1250, remaining: 23:17, took 1.2s, duration: 05:44)
test 0248...[FTP upload time condition evaluates FALSE => upload anyway]
--p-u--emv- OK (248 out of 1250, remaining: 23:15, took 1.2s, duration: 05:45)
test 0249...[HTTP 304 response with "illegal" Content-Length: header]
--pd---emv- OK (249 out of 1250, remaining: 23:12, took 1.2s, duration: 05:46)
test 0250...[FTP dir list PASV with slow response]
--pd---emv- OK (250 out of 1250, remaining: 23:51, took 11.4s, duration: 05:57)
test 0251...[FTP dir list, PORT with specified IP and slow response]
--pd---emv- OK (251 out of 1250, remaining: 24:30, took 11.6s, duration: 06:09)
test 0252...[FTP IPv6 dir list PASV]
--pd---emv- OK (252 out of 1250, remaining: 24:36, took 3.3s, duration: 06:12)
test 0253...[FTP IPv6 dir list with EPRT]
--pd---emv- OK (253 out of 1250, remaining: 24:33, took 1.2s, duration: 06:13)
test 0254...[FTP IPv6 dir list PASV and --disable-epsv]
--pd---emv- OK (254 out of 1250, remaining: 24:31, took 1.2s, duration: 06:15)
test 0255...[FTP IPv6 dir list with EPRT and --disable-eprt]
--pd---emv- OK (255 out of 1250, remaining: 24:28, took 1.2s, duration: 06:16)
test 0256...[HTTP resume request over proxy with auth without server supporting it]
--p---oemv- OK (256 out of 1250, remaining: 24:26, took 1.2s, duration: 06:17)
test 0257...[HTTP Location: following with --netrc-optional]
--pd---emv- OK (257 out of 1250, remaining: 24:23, took 1.3s, duration: 06:18)
test 0258...[HTTP POST multipart without Expect: header using proxy anyauth (Digest)]
--pd---emv- OK (258 out of 1250, remaining: 24:21, took 1.3s, duration: 06:20)
test 0259...[HTTP POST multipart with Expect: header using proxy anyauth (Digest)]
--pd---emv- OK (259 out of 1250, remaining: 24:27, took 3.3s, duration: 06:23)
test 0260...[HTTP GET URL without slash but with questionmark]
--pd---emv- OK (260 out of 1250, remaining: 24:24, took 1.2s, duration: 06:24)
test 0261...[FTP RETR with 226 response code to TYPE]
--pd---emv- OK (261 out of 1250, remaining: 24:22, took 1.2s, duration: 06:25)
test 0262...[HTTP GET with binary zeroes in header]
--pd---emv- OK (262 out of 1250, remaining: 24:19, took 1.2s, duration: 06:27)
test 0263...[HTTP-IPv6 GET with proxy specified using IPv6-numerical address]
--pd---emv- OK (263 out of 1250, remaining: 24:17, took 1.2s, duration: 06:28)
test 0264...[HTTP with proxy string including http:// and user+password]
--pd---emv- OK (264 out of 1250, remaining: 24:14, took 1.2s, duration: 06:29)
test 0265...[HTTP proxy CONNECT auth NTLM and then POST, response-body in the 407]
--pd---emv- OK (265 out of 1250, remaining: 24:12, took 1.3s, duration: 06:30)
test 0266...[HTTP GET with chunked Transfer-Encoding and chunked trailer]
--pd--oemv- OK (266 out of 1250, remaining: 24:09, took 1.2s, duration: 06:31)
test 0267...[HTTP POST with NTLM authorization and added custom headers]
--pd---emv- OK (267 out of 1250, remaining: 24:07, took 1.3s, duration: 06:33)
test 0268...[HTTP POST a non-existing file]
--pd---emv- OK (268 out of 1250, remaining: 24:05, took 1.2s, duration: 06:34)
test 0269...[HTTP --ignore-content-length]
--pd---emv- OK (269 out of 1250, remaining: 24:02, took 1.2s, duration: 06:35)
test 0270...[FTP RETR PASV --ftp-skip-pasv-ip]
--pd---emv- OK (270 out of 1250, remaining: 24:00, took 1.2s, duration: 06:36)
test 0271...[TFTP retrieve]
--pd---emv- OK (271 out of 1250, remaining: 24:04, took 3.2s, duration: 06:39)
test 0272...[FTP timed conditioned get file with identical time stamp ]
--p----emv- OK (272 out of 1250, remaining: 24:02, took 1.2s, duration: 06:41)
test 0273...[HTTP with two Digest authorization headers]
--pd---emv- OK (273 out of 1250, remaining: 23:59, took 1.2s, duration: 06:42)
test 0274...[HTTP Location: following with --max-redirs 0]
--pd---emv- OK (274 out of 1250, remaining: 23:57, took 1.2s, duration: 06:43)
test 0275...[HTTP CONNECT with proxytunnel getting two URLs from the same host]
--pd-P-emv- OK (275 out of 1250, remaining: 23:56, took 1.7s, duration: 06:45)
test 0276...[HTTP Location: following with multiple question marks in URLs]
--pd---emv- OK (276 out of 1250, remaining: 23:54, took 1.2s, duration: 06:46)
test 0277...[HTTP RFC1867-type formposting with custom Content-Type]
--pd---emv- OK (277 out of 1250, remaining: 23:51, took 1.2s, duration: 06:47)
test 0278...[HTTP with proxy string including http:// and user+empty password]
--pd---emv- OK (278 out of 1250, remaining: 23:49, took 1.2s, duration: 06:48)
test 0279...[HTTP with proxy string including http:// and user only]
--pd---emv- OK (279 out of 1250, remaining: 23:46, took 1.2s, duration: 06:50)
test 0280...[FTP --ftp-alternative-to-user on USER failure]
--pd---emv- OK (280 out of 1250, remaining: 23:44, took 1.2s, duration: 06:51)
test 0281...[HTTP PUT from file with 100 + 401 responses and -f without auth given]
--pd---emv- OK (281 out of 1250, remaining: 23:45, took 2.2s, duration: 06:53)
test 0282...[HTTP GET with no response body or headers]
--pd---emv- OK (282 out of 1250, remaining: 23:43, took 1.2s, duration: 06:54)
test 0283...[TFTP retrieve on invalid file]
--p----emv- OK (283 out of 1250, remaining: 23:40, took 1.1s, duration: 06:55)
test 0284...[TFTP retrieve of boundary case 512 byte file]
--pd---emv- OK (284 out of 1250, remaining: 23:37, took 1.1s, duration: 06:56)
test 0285...[TFTP send]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (285 out of 1250, remaining: 23:42, took 3.2s, duration: 07:00)
test 0286...[TFTP send of boundary case 512 byte file]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (286 out of 1250, remaining: 23:52, took 5.0s, duration: 07:05)
test 0287...[HTTP proxy CONNECT with custom User-Agent header]
s-p----emv- OK (287 out of 1250, remaining: 23:50, took 1.2s, duration: 07:06)
test 0288...[file:// with (unsupported) proxy, authentication and range]
---d---emv- OK (288 out of 1250, remaining: 23:47, took 1.1s, duration: 07:07)
test 0289...[FTP resume upload but denied access to local file]
-------emv- OK (289 out of 1250, remaining: 23:44, took 1.0s, duration: 07:08)
test 0290...[FTP download maximum filesize exceeded]
Killed
--p----emv- OK (290 out of 1250, remaining: 23:41, took 1.2s, duration: 07:09)
test 0291...[FTP download maximum filesize not exceeded]
--pd---emv- OK (291 out of 1250, remaining: 23:39, took 1.2s, duration: 07:10)
test 0292...[HTTP GET with maximum filesize not exceeded]
--pd---emv- OK (292 out of 1250, remaining: 23:36, took 1.2s, duration: 07:11)
test 0293...[HTTP GET with maximum filesize exceeded]
--p----emv- OK (293 out of 1250, remaining: 23:34, took 1.2s, duration: 07:13)
test 0294...[FTP --ftp-account on ACCT request]
--pd---emv- OK (294 out of 1250, remaining: 23:32, took 1.2s, duration: 07:14)
test 0295...[FTP ACCT request without --ftp-account]
--p----emv- OK (295 out of 1250, remaining: 23:29, took 1.2s, duration: 07:15)
test 0296...[FTP CWD with --ftp-method multicwd]
--pd---emv- OK (296 out of 1250, remaining: 23:27, took 1.2s, duration: 07:16)
test 0297...[FTP CWD with --ftp-method singlecwd]
--pd---emv- OK (297 out of 1250, remaining: 23:24, took 1.2s, duration: 07:17)
test 0298...[FTP CWD with --ftp-method nocwd]
--pd---emv- OK (298 out of 1250, remaining: 23:22, took 1.2s, duration: 07:19)
test 0299...[FTP over HTTP proxy with user:pass not in url]
--pd---emv- OK (299 out of 1250, remaining: 23:20, took 1.2s, duration: 07:20)
test 0300...[simple HTTPS GET]
goto problem 10
valgrind ERROR ==23026== Invalid read of size 8
==23026== at 0x53315A5: check_free (dlerror.c:188)
==23026== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23026== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23026== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23026== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23026== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23026== by 0x4D60EB9: exit (exit.c:139)
==23026== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23026== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==23026== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23026== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23026== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23026== by 0x24B104: err_get_state (err.c:210)
==23026== by 0x24BCDA: ERR_put_error (err.c:636)
==23026== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23026== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23026== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23026== by 0x270326: by_file_ctrl (by_file.c:111)
==23026== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23026== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23026== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23026== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23026== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23026== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23026== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23026==
==23026== Invalid free() / delete / delete[] / realloc()
==23026== at 0x48369AB: free (vg_replace_malloc.c:540)
==23026== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23026== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23026== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23026== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23026== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23026== by 0x4D60EB9: exit (exit.c:139)
==23026== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23026== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==23026== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23026== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23026== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23026== by 0x24B104: err_get_state (err.c:210)
==23026== by 0x24BCDA: ERR_put_error (err.c:636)
==23026== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23026== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23026== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23026== by 0x270326: by_file_ctrl (by_file.c:111)
==23026== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23026== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23026== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23026== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23026== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23026== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23026== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23026==
==23026== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23026== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23026== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23026== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23026== by 0x24B104: err_get_state (err.c:210)
==23026== by 0x24BCDA: ERR_put_error (err.c:636)
==23026== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23026== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23026== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23026== by 0x270326: by_file_ctrl (by_file.c:111)
==23026== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23026== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23026== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23026== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23026== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23026== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23026== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23026==
== Contents of files in the log/ dir after test 300
=== Start of file curl300.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file curl300.out
=== Start of file http_server.log
02:58:47.841471 ====> Client connect
02:58:47.841509 accept_connection 3 returned 4
02:58:47.841529 accept_connection 3 returned 0
02:58:47.841753 Read 96 bytes
02:58:47.841784 Process 96 bytes request
02:58:47.841808 Got request: GET /verifiedserver HTTP/1.1
02:58:47.841823 Are-we-friendly question received
02:58:47.841847 Wrote request (96 bytes) input to log/server.input
02:58:47.841868 Identifying ourselves as friends
02:58:47.841933 Response sent (56 bytes) and written to log/server.response
02:58:47.841947 special request received, no persistency
02:58:47.841959 ====> Client disconnect 0
02:58:51.826815 ====> Client connect
02:58:51.826837 accept_connection 3 returned 4
02:58:51.826851 accept_connection 3 returned 0
02:58:51.910455 Read 85 bytes
02:58:51.910494 Process 85 bytes request
02:58:51.910510 Got request: GET /300 HTTP/1.1
02:58:51.910521 Requested test number 300 part 0
02:58:51.910544 - request found to be complete
02:58:51.910569 Wrote request (85 bytes) input to log/server.input
02:58:51.910592 Send response test300 section <data>
02:58:51.910652 Response sent (103 bytes) and written to log/server.response
02:58:51.910662 => persistent connection request ended, awaits new request
02:58:51.988426 Connection closed by client
02:58:51.988456 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.08.11 02:58:46 LOG5[23021]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.11 02:58:46 LOG5[23021]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.11 02:58:46 LOG5[23021]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.11 02:58:46 LOG5[23021]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.11 02:58:46 LOG5[23021]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.11 02:58:46 LOG5[23021]: Reading configuration from file /build-20624/tests/https_stunnel.conf
2019.08.11 02:58:46 LOG5[23021]: FIPS mode disabled
2019.08.11 02:58:46 LOG5[23021]: Configuration successful
2019.08.11 02:58:47 LOG5[23024]: Service [curltest] accepted connection from 127.0.0.1:40366
2019.08.11 02:58:47 LOG5[23024]: s_connect: connected 127.0.0.1:8990
2019.08.11 02:58:47 LOG5[23024]: Service [curltest] connected remote server from 127.0.0.1:44660
2019.08.11 02:58:47 LOG5[23024]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.11 02:58:49 LOG5[23027]: Service [curltest] accepted connection from 127.0.0.1:40370
2019.08.11 02:58:51 LOG5[23027]: s_connect: connected 127.0.0.1:8990
2019.08.11 02:58:51 LOG5[23027]: Service [curltest] connected remote server from 127.0.0.1:44664
2019.08.11 02:58:51 LOG5[23027]: Connection closed: 103 byte(s) sent to SSL, 85 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x556f0f4437c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x556f0f4437c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x556f0f4437c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x556f0f4437c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x556f0f4437c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x556f0f4437c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x556f0f4437c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x556f0f4437c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x556f0f4437c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 21757
=== End of file https_verify.out
=== Start of file server.input
GET /300 HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 21757
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file server.response
=== Start of file stderr300
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 7 100 7 0 0 3 0 0:00:02 0:00:02 --:--:-- 3
=== End of file stderr300
=== Start of file trace300
02:58:49.775864 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
02:58:49.832629 == Info: Added connection 0. The cache now contains 1 members
02:58:49.851123 == Info: Trying 127.0.0.1:8991...
02:58:49.851758 == Info: TCP_NODELAY set
02:58:49.857201 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
02:58:49.869220 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:49.869799 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
02:58:49.870918 == Info: Marked for [keep alive]: HTTP default
02:58:49.922991 == Info: ALPN, offering h2
02:58:49.923274 == Info: ALPN, offering http/1.1
02:58:51.309149 == Info: successfully set certificate verify locations:
02:58:51.309408 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:51.422191 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:51.427128 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:51.427186 => Send SSL data, 148 bytes (0x94)
0000: ..........b..........ZQ.....J>..[.d.......+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:51.444066 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:51.449435 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:51.449493 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...mN;.).x.P.........E..w...)..Z." ........>......t[.@.^...Q
0040: *.....%./................
02:58:51.492950 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:51.493389 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:51.493444 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:58:51.591862 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:51.592126 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:51.592182 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.q..........&=.%.....d9m".........O.$'.Z~..[.?....$..]..
0040: ..D...nz_.........4....1.u ....Pg?.|........ch.i]ak.q..s........
0080: NE.... N.@...e>....}..(.E.x.N........:s..wy.E.xi.mo]X..j...p>...
00c0: y...m...%.s.no4V........8=.;"....Z....M.O...^....VJA}+.5.....a.^
0100: ..'..a.......G....F{....3k.d,.7....4.6.....F.LL.....u.s..eg...D.
0140: .....e...?.q
02:58:51.661484 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:51.661829 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:58:51.661885 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:58:51.777751 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:58:51.778004 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:58:51.778060 => Send SSL data, 70 bytes (0x46)
0000: ...BA.......F....w.Gc..h.r..j~...\N..os...!z....\..[.+n....`.. T
0040: .9.i..
02:58:51.790169 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:51.790793 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:58:51.790857 => Send SSL data, 1 bytes (0x1)
0000: .
02:58:51.813396 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:58:51.813469 => Send SSL data, 16 bytes (0x10)
0000: ....;.?..H.z.4..
02:58:51.825945 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:58:51.828455 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:51.829543 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:58:51.829600 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:58:51.832041 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:58:51.837704 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:58:51.837760 <= Recv SSL data, 16 bytes (0x10)
0000: .........5.....-
02:58:51.866424 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:58:51.867133 == Info: ALPN, server did not agree to a protocol
02:58:51.869945 == Info: Server certificate:
02:58:51.877735 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:51.884133 == Info: start date: Aug 31 23:39:18 2018 GMT
02:58:51.885110 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:58:51.886072 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:51.886973 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:58:51.888542 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #0)
02:58:51.908791 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:58:51.911676 => Send header, 85 bytes (0x55)
0000: GET /300 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: User-Agent: curl/7.66.0-DEV
0046: Accept: */*
0053:
02:58:51.914579 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #0)
02:58:51.915043 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
02:58:51.919445 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:58:51.928438 == Info: Mark bundle as not supporting multiuse
02:58:51.929031 == Info: HTTP 1.1 or later with persistent connection
02:58:51.931728 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:58:51.942506 <= Recv SSL data, 5 bytes (0x5)
0000: ....h
02:58:51.942749 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:58:51.942972 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:58:51.944133 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
02:58:51.946578 <= Recv header, 1 bytes (0x1)
0000: .
02:58:51.947218 <= Recv data, 4 bytes (0x4)
0000: MooM
02:58:51.950365 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:51.950533 <= Recv data, 3 bytes (0x3)
0000: oo.
02:58:51.951964 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #0)
02:58:51.952287 == Info: multi_done
02:58:51.961368 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace300
=== Start of file valgrind300
==23026== Invalid read of size 8
==23026== at 0x53315A5: check_free (dlerror.c:188)
==23026== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23026== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23026== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23026== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23026== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23026== by 0x4D60EB9: exit (exit.c:139)
==23026== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23026== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==23026== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23026== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23026== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23026== by 0x24B104: err_get_state (err.c:210)
==23026== by 0x24BCDA: ERR_put_error (err.c:636)
==23026== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23026== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23026== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23026== by 0x270326: by_file_ctrl (by_file.c:111)
==23026== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23026== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23026== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23026== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23026== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23026== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23026== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23026==
==23026== Invalid free() / delete / delete[] / realloc()
==23026== at 0x48369AB: free (vg_replace_malloc.c:540)
==23026== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23026== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23026== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23026== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23026== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23026== by 0x4D60EB9: exit (exit.c:139)
==23026== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23026== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==23026== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23026== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23026== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23026== by 0x24B104: err_get_state (err.c:210)
==23026== by 0x24BCDA: ERR_put_error (err.c:636)
==23026== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23026== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23026== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23026== by 0x270326: by_file_ctrl (by_file.c:111)
==23026== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23026== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23026== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23026== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23026== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23026== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23026== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23026==
==23026== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23026== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23026== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23026== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23026== by 0x24B104: err_get_state (err.c:210)
==23026== by 0x24BCDA: ERR_put_error (err.c:636)
==23026== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23026== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23026== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23026== by 0x270326: by_file_ctrl (by_file.c:111)
==23026== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23026== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23026== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23026== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23026== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23026== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23026== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23026==
=== End of file valgrind300
test 0301...[HTTPS GET with user and password]
goto problem 11
valgrind ERROR ==23030== Invalid read of size 8
==23030== at 0x53315A5: check_free (dlerror.c:188)
==23030== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23030== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23030== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23030== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23030== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23030== by 0x4D60EB9: exit (exit.c:139)
==23030== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23030== Address 0x5af83d0 is 0 bytes after a block of size 32 alloc'd
==23030== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23030== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23030== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23030== by 0x24B104: err_get_state (err.c:210)
==23030== by 0x24BCDA: ERR_put_error (err.c:636)
==23030== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23030== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23030== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23030== by 0x270326: by_file_ctrl (by_file.c:111)
==23030== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23030== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23030== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23030== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23030== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23030== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23030== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23030==
==23030== Invalid free() / delete / delete[] / realloc()
==23030== at 0x48369AB: free (vg_replace_malloc.c:540)
==23030== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23030== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23030== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23030== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23030== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23030== by 0x4D60EB9: exit (exit.c:139)
==23030== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23030== Address 0x5af83b8 is 8 bytes inside a block of size 32 alloc'd
==23030== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23030== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23030== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23030== by 0x24B104: err_get_state (err.c:210)
==23030== by 0x24BCDA: ERR_put_error (err.c:636)
==23030== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23030== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23030== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23030== by 0x270326: by_file_ctrl (by_file.c:111)
==23030== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23030== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23030== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23030== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23030== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23030== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23030== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23030==
==23030== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23030== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23030== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23030== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23030== by 0x24B104: err_get_state (err.c:210)
==23030== by 0x24BCDA: ERR_put_error (err.c:636)
==23030== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23030== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23030== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23030== by 0x270326: by_file_ctrl (by_file.c:111)
==23030== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23030== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23030== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23030== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23030== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23030== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23030== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23030==
== Contents of files in the log/ dir after test 301
=== Start of file curl301.out
HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
=== End of file curl301.out
=== Start of file http_server.log
02:58:55.139054 ====> Client connect
02:58:55.139088 accept_connection 3 returned 4
02:58:55.139102 accept_connection 3 returned 0
02:58:55.225064 Read 120 bytes
02:58:55.225099 Process 120 bytes request
02:58:55.225117 Got request: GET /301 HTTP/1.1
02:58:55.225127 Requested test number 301 part 0
02:58:55.225151 - request found to be complete
02:58:55.225175 Wrote request (120 bytes) input to log/server.input
02:58:55.225194 Send response test301 section <data>
02:58:55.225215 connection close instruction "swsclose" found in response
02:58:55.225278 Response sent (130 bytes) and written to log/server.response
02:58:55.225288 instructed to close connection after server-reply
02:58:55.225296 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /301 HTTP/1.1
Host: 127.0.0.1:8991
Authorization: Basic ZmFrZTp1c2Vy
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
=== End of file server.response
=== Start of file stderr301
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
=== End of file stderr301
=== Start of file trace301
02:58:52.031804 == Info: STATE: INIT => CONNECT handle 0x56c5768; line 1362 (connection #-5000)
02:58:52.089198 == Info: Added connection 0. The cache now contains 1 members
02:58:52.107615 == Info: Trying 127.0.0.1:8991...
02:58:52.108241 == Info: TCP_NODELAY set
02:58:52.113467 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5768; line 1418 (connection #0)
02:58:52.125309 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:52.125916 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5768; line 1538 (connection #0)
02:58:52.127023 == Info: Marked for [keep alive]: HTTP default
02:58:52.178551 == Info: ALPN, offering h2
02:58:52.178832 == Info: ALPN, offering http/1.1
02:58:53.625557 == Info: successfully set certificate verify locations:
02:58:53.625831 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:53.738404 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:53.743342 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:53.743401 => Send SSL data, 148 bytes (0x94)
0000: ......j..)..o.+.i.i.2!;u0..8.M].3...=.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:53.760257 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:53.765619 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:53.765674 <= Recv SSL data, 89 bytes (0x59)
0000: ...U........bf-..B.>.j.Y...U.....Z.g]. u.......x...g,".TT......?
0040: .|q...../................
02:58:53.809573 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:53.810044 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:53.810099 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:58:53.907915 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:53.908170 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:53.908225 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.q..........&=.%.....d9m".........O.$'.Z~..[.?....$..]..
0040: ..D...nz_....Z'] 4N...6.\.=...=.w.#......R..%.mn...^0..ng....p/P
0080: .~.g.}.{....8.C.h.8.....\.IV...j.}D[....zH.|L...t.......1...Y(..
00c0: >......wv..;K....r...q.......(o....|.<......1:.v.{.k......d..C..
0100: ./..i.9-.\*.Xm.'V'....u..e.F......;<.t.._...B...[7F].k}.,....&...w.
0140: H......axV..1
02:58:53.976591 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:53.976905 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:58:53.976959 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:58:54.091877 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:58:54.092125 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:58:54.092178 => Send SSL data, 70 bytes (0x46)
0000: ...BA.$..t..... ..z.....7...Iur.l.:].....I..&....q...D...u..,...
0040: .#....
02:58:54.103983 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:54.104558 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:58:54.104616 => Send SSL data, 1 bytes (0x1)
0000: .
02:58:54.125800 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:58:54.125856 => Send SSL data, 16 bytes (0x10)
0000: ....q.>...^..)l.
02:58:54.138180 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:58:54.140659 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:54.141736 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:58:54.141791 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:58:54.144215 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:58:54.149845 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:58:54.149899 <= Recv SSL data, 16 bytes (0x10)
0000: ......."N......<
02:58:54.177961 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:58:54.178616 == Info: ALPN, server did not agree to a protocol
02:58:54.181282 == Info: Server certificate:
02:58:54.188697 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:54.194784 == Info: start date: Aug 31 23:39:18 2018 GMT
02:58:54.195720 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:58:54.196637 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:54.197498 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:58:54.198983 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c5768; line 1556 (connection #0)
02:58:54.206087 == Info: Server auth using Basic with user 'fake'
02:58:54.223396 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:54.226253 => Send header, 120 bytes (0x78)
0000: GET /301 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: Authorization: Basic ZmFrZTp1c2Vy
004c: User-Agent: curl/7.66.0-DEV
0069: Accept: */*
0076:
02:58:54.229269 == Info: STATE: DO => DO_DONE handle 0x56c5768; line 1627 (connection #0)
02:58:54.229733 == Info: STATE: DO_DONE => PERFORM handle 0x56c5768; line 1749 (connection #0)
02:58:54.234104 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:54.246882 == Info: Mark bundle as not supporting multiuse
02:58:54.247469 == Info: HTTP 1.1 or later with persistent connection
02:58:54.250153 <= Recv header, 25 bytes (0x19)
0000: HTTP/1.1 200 OK swsclose.
02:58:54.253852 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:58:54.254079 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:58:54.255770 <= Recv header, 24 bytes (0x18)
0000: Content-Type: text/html.
02:58:54.255952 <= Recv header, 19 bytes (0x13)
0000: Funny-head: yesyes.
02:58:54.256681 == Info: no chunk, no close, no size. Assume close to signal end
02:58:54.256951 == Info: Marked for [closure]: HTTP: No end-of-message indicator
02:58:54.259147 <= Recv header, 1 bytes (0x1)
0000: .
02:58:54.276118 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:54.277013 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
02:58:54.277070 <= Recv SSL data, 2 bytes (0x2)
0000: ..
02:58:54.279079 <= Recv data, 0 bytes (0x0)
02:58:54.281869 == Info: STATE: PERFORM => DONE handle 0x56c5768; line 1939 (connection #0)
02:58:54.282293 == Info: multi_done
02:58:54.293356 == Info: Closing connection 0
02:58:54.294994 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:54.295535 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:58:54.295588 => Send SSL data, 2 bytes (0x2)
0000: ..
02:58:54.356600 == Info: The cache now contains 0 members
=== End of file trace301
=== Start of file valgrind301
==23030== Invalid read of size 8
==23030== at 0x53315A5: check_free (dlerror.c:188)
==23030== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23030== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23030== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23030== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23030== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23030== by 0x4D60EB9: exit (exit.c:139)
==23030== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23030== Address 0x5af83d0 is 0 bytes after a block of size 32 alloc'd
==23030== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23030== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23030== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23030== by 0x24B104: err_get_state (err.c:210)
==23030== by 0x24BCDA: ERR_put_error (err.c:636)
==23030== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23030== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23030== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23030== by 0x270326: by_file_ctrl (by_file.c:111)
==23030== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23030== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23030== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23030== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23030== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23030== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23030== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23030==
==23030== Invalid free() / delete / delete[] / realloc()
==23030== at 0x48369AB: free (vg_replace_malloc.c:540)
==23030== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23030== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23030== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23030== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23030== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23030== by 0x4D60EB9: exit (exit.c:139)
==23030== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23030== Address 0x5af83b8 is 8 bytes inside a block of size 32 alloc'd
==23030== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23030== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23030== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23030== by 0x24B104: err_get_state (err.c:210)
==23030== by 0x24BCDA: ERR_put_error (err.c:636)
==23030== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23030== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23030== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23030== by 0x270326: by_file_ctrl (by_file.c:111)
==23030== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23030== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23030== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23030== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23030== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23030== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23030== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23030==
==23030== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23030== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23030== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23030== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23030== by 0x24B104: err_get_state (err.c:210)
==23030== by 0x24BCDA: ERR_put_error (err.c:636)
==23030== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23030== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23030== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23030== by 0x270326: by_file_ctrl (by_file.c:111)
==23030== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23030== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23030== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23030== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23030== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23030== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23030== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23030==
=== End of file valgrind301
test 0302...[HTTPS GET over HTTP proxy fails]
-------emv- OK (302 out of 1250, remaining: 23:32, took 1.2s, duration: 07:30)
test 0303...[HTTPS with 8 secs timeout]
Warning: server logs lock timeout (2 seconds) expired
goto problem 12
valgrind ERROR ==23039== Invalid read of size 8
==23039== at 0x53315A5: check_free (dlerror.c:188)
==23039== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23039== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23039== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23039== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23039== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23039== by 0x4D60EB9: exit (exit.c:139)
==23039== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23039== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==23039== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23039== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23039== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23039== by 0x24B104: err_get_state (err.c:210)
==23039== by 0x24BCDA: ERR_put_error (err.c:636)
==23039== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23039== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23039== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23039== by 0x270326: by_file_ctrl (by_file.c:111)
==23039== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23039== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23039== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23039== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23039== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23039== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23039== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23039==
==23039== Invalid free() / delete / delete[] / realloc()
==23039== at 0x48369AB: free (vg_replace_malloc.c:540)
==23039== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23039== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23039== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23039== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23039== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23039== by 0x4D60EB9: exit (exit.c:139)
==23039== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23039== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==23039== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23039== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23039== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23039== by 0x24B104: err_get_state (err.c:210)
==23039== by 0x24BCDA: ERR_put_error (err.c:636)
==23039== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23039== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23039== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23039== by 0x270326: by_file_ctrl (by_file.c:111)
==23039== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23039== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23039== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23039== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23039== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23039== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23039== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23039==
==23039== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23039== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23039== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23039== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23039== by 0x24B104: err_get_state (err.c:210)
==23039== by 0x24BCDA: ERR_put_error (err.c:636)
==23039== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23039== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23039== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23039== by 0x270326: by_file_ctrl (by_file.c:111)
==23039== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23039== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23039== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23039== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23039== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23039== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23039== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23039==
== Contents of files in the log/ dir after test 303
=== Start of file curl303.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
_data_result_data_
=== End of file curl303.out
=== Start of file http_server.log
02:58:59.585459 ====> Client connect
02:58:59.585493 accept_connection 3 returned 4
02:58:59.585507 accept_connection 3 returned 0
02:58:59.667359 Read 90 bytes
02:58:59.667396 Process 90 bytes request
02:58:59.667413 Got request: GET /want/303 HTTP/1.1
02:58:59.667424 Requested test number 303 part 0
02:58:59.667447 - request found to be complete
02:58:59.667473 Wrote request (90 bytes) input to log/server.input
02:58:59.667496 Send response test303 section <data>
02:58:59.667559 Response sent (94 bytes) and written to log/server.response
02:58:59.667570 Told to sleep for 20 seconds
=== End of file http_server.log
=== Start of file server.input
GET /want/303 HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
_data_result_data_
=== End of file server.response
=== Start of file stderr303
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 19 0 19 0 0 6 0 --:--:-- 0:00:03 --:--:-- 6
100 19 0 19 0 0 4 0 --:--:-- 0:00:04 --:--:-- 4
100 19 0 19 0 0 3 0 --:--:-- 0:00:05 --:--:-- 3
100 19 0 19 0 0 3 0 --:--:-- 0:00:06 --:--:-- 3
100 19 0 19 0 0 2 0 --:--:-- 0:00:07 --:--:-- 3
100 19 0 19 0 0 2 0 --:--:-- 0:00:08 --:--:-- 0
curl: (28) Operation timed out after 8001 milliseconds with 19 bytes received
=== End of file stderr303
=== Start of file trace303
02:58:57.550184 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
02:58:57.605768 == Info: Added connection 0. The cache now contains 1 members
02:58:57.623460 == Info: Trying 127.0.0.1:8991...
02:58:57.624068 == Info: TCP_NODELAY set
02:58:57.628451 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
02:58:57.640104 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:57.640836 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
02:58:57.642123 == Info: Marked for [keep alive]: HTTP default
02:58:57.693410 == Info: ALPN, offering h2
02:58:57.693699 == Info: ALPN, offering http/1.1
02:58:59.072937 == Info: successfully set certificate verify locations:
02:58:59.073191 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:59.185601 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:59.190523 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:59.190580 => Send SSL data, 148 bytes (0x94)
0000: ......S.D..ASX...N|.H...$.)..].e8.(.......+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:59.207484 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:59.212871 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:59.212926 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....m......I..r....j..8.......nv. ..{i....'....zE..h7$..$..
0040: .6....p./................
02:58:59.256369 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:59.256824 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:59.256878 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:58:59.354584 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:59.354836 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:59.354891 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.q..........&=.%.....d9m".........O.$'.Z~..[.?....$..]..
0040: ..D...nz_....m)...@..'..[7F]N..L.7..I.Z....}{..!Y.....Y#..Ok.]..=..
0080: ~..w.I.WeO...?.[.-...?.....!..u.....+.!.(\..R..8..x...0.m..%5...
00c0: .m....a..1..M5....?.......)..R....+.gg[7F]C.Q.?3Z/X.W....12...W....
0100: ...OasL2...$.[7F].V'.32)g.&.\.|.=..t&....@%.t`..G.:......|O.M.[W%.@
0140: t.t...7..0e..
02:58:59.423215 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:59.423531 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:58:59.423585 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:58:59.538303 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:58:59.538554 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:58:59.538609 => Send SSL data, 70 bytes (0x46)
0000: ...BA..{...h&...s...Hlz..c.#.........|R.[..&...w&......M.....5..
0040: 4..\r.
02:58:59.550394 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:59.550967 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:58:59.551026 => Send SSL data, 1 bytes (0x1)
0000: .
02:58:59.572167 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:58:59.572224 => Send SSL data, 16 bytes (0x10)
0000: ....F.._.'..!...
02:58:59.584577 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:58:59.587080 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:59.588166 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:58:59.588222 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:58:59.590635 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:58:59.596255 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:58:59.596310 <= Recv SSL data, 16 bytes (0x10)
0000: .....%.....Q<.It
02:58:59.624347 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:58:59.625006 == Info: ALPN, server did not agree to a protocol
02:58:59.627670 == Info: Server certificate:
02:58:59.635095 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:59.641205 == Info: start date: Aug 31 23:39:18 2018 GMT
02:58:59.642141 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:58:59.643057 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:59.643923 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:58:59.645411 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #0)
02:58:59.665667 => Send SSL data, 5 bytes (0x5)
0000: ....r
02:58:59.668558 => Send header, 90 bytes (0x5a)
0000: GET /want/303 HTTP/1.1
0018: Host: 127.0.0.1:8991
002e: User-Agent: curl/7.66.0-DEV
004b: Accept: */*
0058:
02:58:59.671462 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #0)
02:58:59.672068 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
02:58:59.676470 <= Recv SSL data, 5 bytes (0x5)
0000: ....v
02:58:59.685433 == Info: Mark bundle as not supporting multiuse
02:58:59.686022 == Info: HTTP 1.1 or later with persistent connection
02:58:59.688712 <= Recv header, 17 bytes (0x11)
0000: HTTP/1.1 200 OK
02:58:59.692369 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:58:59.693433 == Info: Marked for [closure]: Connection: close used
02:58:59.693551 <= Recv header, 19 bytes (0x13)
0000: Connection: close
02:58:59.696148 <= Recv header, 2 bytes (0x2)
0000:
02:58:59.696955 <= Recv data, 19 bytes (0x13)
0000: _data_result_data_.
02:59:05.570460 == Info: Operation timed out after 8001 milliseconds with 19 bytes received
02:59:05.571502 == Info: multi_done
02:59:05.585440 == Info: Closing connection 0
02:59:05.587080 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:05.587980 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:05.588034 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:05.649064 == Info: The cache now contains 0 members
02:59:05.656561 == Info: Expire cleared (transfer 0x56c52c8)
=== End of file trace303
=== Start of file valgrind303
==23039== Invalid read of size 8
==23039== at 0x53315A5: check_free (dlerror.c:188)
==23039== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23039== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23039== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23039== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23039== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23039== by 0x4D60EB9: exit (exit.c:139)
==23039== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23039== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==23039== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23039== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23039== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23039== by 0x24B104: err_get_state (err.c:210)
==23039== by 0x24BCDA: ERR_put_error (err.c:636)
==23039== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23039== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23039== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23039== by 0x270326: by_file_ctrl (by_file.c:111)
==23039== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23039== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23039== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23039== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23039== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23039== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23039== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23039==
==23039== Invalid free() / delete / delete[] / realloc()
==23039== at 0x48369AB: free (vg_replace_malloc.c:540)
==23039== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23039== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23039== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23039== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23039== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23039== by 0x4D60EB9: exit (exit.c:139)
==23039== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23039== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==23039== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23039== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23039== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23039== by 0x24B104: err_get_state (err.c:210)
==23039== by 0x24BCDA: ERR_put_error (err.c:636)
==23039== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23039== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23039== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23039== by 0x270326: by_file_ctrl (by_file.c:111)
==23039== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23039== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23039== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23039== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23039== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23039== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23039== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23039==
==23039== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23039== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23039== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23039== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23039== by 0x24B104: err_get_state (err.c:210)
==23039== by 0x24BCDA: ERR_put_error (err.c:636)
==23039== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23039== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23039== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23039== by 0x270326: by_file_ctrl (by_file.c:111)
==23039== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23039== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23039== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23039== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23039== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23039== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23039== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23039==
=== End of file valgrind303
test 0304...[HTTPS multipart formpost]
goto problem 13
valgrind ERROR ==23047== Invalid read of size 8
==23047== at 0x53315A5: check_free (dlerror.c:188)
==23047== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23047== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23047== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23047== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23047== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23047== by 0x4D60EB9: exit (exit.c:139)
==23047== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23047== Address 0x5b005d0 is 0 bytes after a block of size 32 alloc'd
==23047== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23047== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23047== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23047== by 0x24B104: err_get_state (err.c:210)
==23047== by 0x24BCDA: ERR_put_error (err.c:636)
==23047== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23047== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23047== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23047== by 0x270326: by_file_ctrl (by_file.c:111)
==23047== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23047== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23047== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23047== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23047== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23047== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23047== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23047==
==23047== Invalid free() / delete / delete[] / realloc()
==23047== at 0x48369AB: free (vg_replace_malloc.c:540)
==23047== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23047== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23047== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23047== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23047== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23047== by 0x4D60EB9: exit (exit.c:139)
==23047== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23047== Address 0x5b005b8 is 8 bytes inside a block of size 32 alloc'd
==23047== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23047== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23047== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23047== by 0x24B104: err_get_state (err.c:210)
==23047== by 0x24BCDA: ERR_put_error (err.c:636)
==23047== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23047== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23047== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23047== by 0x270326: by_file_ctrl (by_file.c:111)
==23047== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23047== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23047== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23047== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23047== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23047== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23047== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23047==
==23047== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23047== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23047== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23047== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23047== by 0x24B104: err_get_state (err.c:210)
==23047== by 0x24BCDA: ERR_put_error (err.c:636)
==23047== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23047== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23047== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23047== by 0x270326: by_file_ctrl (by_file.c:111)
==23047== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23047== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23047== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23047== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23047== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23047== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23047== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23047==
== Contents of files in the log/ dir after test 304
=== Start of file curl304.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 10
blablabla
=== End of file curl304.out
=== Start of file http_server.log
02:59:19.687334 Continuing after sleeping 20 seconds
02:59:19.687471 => persistent connection request ended, awaits new request
02:59:19.687504 Connection closed by client
02:59:19.687524 ====> Client disconnect 0
02:59:19.687610 Error removing lock file log/serverlogs.lock error: 2 No such file or directory
02:59:19.687675 ====> Client connect
02:59:19.687697 accept_connection 3 returned 4
02:59:19.687721 accept_connection 3 returned 0
02:59:19.687748 Read 1610 bytes
02:59:19.687785 Process 1610 bytes request
02:59:19.687826 Got request: POST /we/want/304 HTTP/1.1
02:59:19.687849 Requested test number 304 part 0
02:59:19.687910 - request found to be complete
02:59:19.687932 Found Content-Length: 1386 in the request
02:59:19.687973 Wrote request (1610 bytes) input to log/server.input
02:59:19.688011 Send response test304 section <data>
02:59:19.688172 Response sent (108 bytes) and written to log/server.response
02:59:19.688199 => persistent connection request ended, awaits new request
02:59:19.760666 Connection closed by client
02:59:19.760698 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
POST /we/want/304 HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
Content-Length: 1386
Content-Type: multipart/form-data; boundary=------------------------3433323135333231
Expect: 100-continue
--------------------------3433323135333231
Content-Disposition: form-data; name="name"
daniel
--------------------------3433323135333231
Content-Disposition: form-data; name="tool"
curl
--------------------------3433323135333231
Content-Disposition: form-data; name="file"; filename="test304.txt"
Content-Type: text/plain
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
--------------------------3433323135333231--
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 10
blablabla
=== End of file server.response
=== Start of file stderr304
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 1386 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
100 1386 0 0 100 1386 0 327 0:00:04 0:00:04 --:--:-- 333
100 1386 0 0 100 1386 0 264 0:00:05 0:00:05 --:--:-- 268
100 1386 0 0 100 1386 0 222 0:00:06 0:00:06 --:--:-- 225
100 1386 0 0 100 1386 0 191 0:00:07 0:00:07 --:--:-- 272
100 1386 0 0 100 1386 0 168 0:00:08 0:00:08 --:--:-- 275
100 1386 0 0 100 1386 0 149 0:00:09 0:00:09 --:--:-- 0
100 1386 0 0 100 1386 0 135 0:00:10 0:00:10 --:--:-- 0
100 1396 0 10 100 1386 0 125 0:00:11 0:00:11 --:--:-- 2
100 1396 0 10 100 1386 0 125 0:00:11 0:00:11 --:--:-- 2
=== End of file stderr304
=== Start of file test304.txt
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
=== End of file test304.txt
=== Start of file trace304
02:59:08.718130 == Info: STATE: INIT => CONNECT handle 0x56c9d68; line 1362 (connection #-5000)
02:59:08.774929 == Info: Added connection 0. The cache now contains 1 members
02:59:08.793311 == Info: Trying 127.0.0.1:8991...
02:59:08.793937 == Info: TCP_NODELAY set
02:59:08.799251 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c9d68; line 1418 (connection #0)
02:59:08.811244 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:08.811814 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c9d68; line 1538 (connection #0)
02:59:08.812949 == Info: Marked for [keep alive]: HTTP default
02:59:08.864873 == Info: ALPN, offering h2
02:59:08.865174 == Info: ALPN, offering http/1.1
02:59:10.296541 == Info: successfully set certificate verify locations:
02:59:10.296806 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:10.410344 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:10.415399 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:10.415463 => Send SSL data, 148 bytes (0x94)
0000: ......../F......,iQ._,..e.^....<.3..]s....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:10.432771 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:10.438223 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:10.438280 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..2.P...|.|E.....]................ ...1....>...u......(.._U.
0040: ....8 a./................
02:59:10.482031 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:10.482479 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:10.482534 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:59:10.581119 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:10.581388 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:10.581445 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.q..........&=.%.....d9m".........O.$'.Z~..[.?....$..]..
0040: ..D...nz_..........A#[*&..C.5Amv..2..5.i..7q..i."<.C..+j...,...T
0080: .[7F]&Z.L....5c.@.c.H...6n.2.....0}..u.......^..m#.2.4...WS.i..47..
00c0: "v......,.E6...@..$v.O...[7F]......`yc.{u.I....+......."'z~.`vZ...+
0100: ..I...q.&{.E......b>..M..nOW.3........z!Q.. ..J..0.qA......ho2.T
0140: 5R..;a.~....2
02:59:10.650278 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:10.650608 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:10.650665 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:10.766839 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:10.767088 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:10.767146 => Send SSL data, 70 bytes (0x46)
0000: ...BA...,...H.Vj.....g.. [...iY..C`o.D......vn......5E.m...u....
0040: ...)B.
02:59:10.779008 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:10.779594 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:10.779650 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:10.800974 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:10.801030 => Send SSL data, 16 bytes (0x10)
0000: .......(..83)...
02:59:10.813455 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:10.815970 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:10.817059 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:10.817114 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:10.819553 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:10.825213 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:10.825267 <= Recv SSL data, 16 bytes (0x10)
0000: .......Q..Dy..S.
02:59:10.853540 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:10.854204 == Info: ALPN, server did not agree to a protocol
02:59:10.856894 == Info: Server certificate:
02:59:10.864389 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:10.870518 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:10.871460 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:10.872395 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:10.873260 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:10.874772 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c9d68; line 1556 (connection #0)
02:59:10.911998 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:10.914993 => Send header, 224 bytes (0xe0)
0000: POST /we/want/304 HTTP/1.1
001c: Host: 127.0.0.1:8991
0032: User-Agent: curl/7.66.0-DEV
004f: Accept: */*
005c: Content-Length: 1386
0072: Content-Type: multipart/form-data; boundary=--------------------
00b2: ----3433323135333231
00c8: Expect: 100-continue
00de:
02:59:10.918966 == Info: STATE: DO => DO_DONE handle 0x56c9d68; line 1627 (connection #0)
02:59:10.919459 == Info: STATE: DO_DONE => PERFORM handle 0x56c9d68; line 1749 (connection #0)
02:59:11.920348 == Info: Done waiting for 100-continue
02:59:11.942083 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:11.942451 => Send data, 1386 bytes (0x56a)
0000: --------------------------3433323135333231
002c: Content-Disposition: form-data; name="name"
0059:
005b: daniel
0063: --------------------------3433323135333231
008f: Content-Disposition: form-data; name="tool"
00bc:
00be: curl
00c4: --------------------------3433323135333231
00f0: Content-Disposition: form-data; name="file"; filename="test304.t
0130: xt"
0135: Content-Type: text/plain
014f:
0151: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0191: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
01d1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0211: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0251: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0291: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
02d1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0311: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0351: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0391: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
03d1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0411: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0451: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0491: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
04d1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0511: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.
053c: --------------------------3433323135333231--
02:59:11.947962 == Info: We are completely uploaded and fine
02:59:19.697133 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:19.707794 == Info: Mark bundle as not supporting multiuse
02:59:19.708383 == Info: HTTP 1.1 or later with persistent connection
02:59:19.711053 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:59:19.714770 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:19.714999 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:19.716066 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 10
02:59:19.718516 <= Recv header, 1 bytes (0x1)
0000: .
02:59:19.719337 <= Recv data, 10 bytes (0xa)
0000: blablabla.
02:59:19.724761 == Info: STATE: PERFORM => DONE handle 0x56c9d68; line 1939 (connection #0)
02:59:19.725089 == Info: multi_done
02:59:19.733106 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace304
=== Start of file valgrind304
==23047== Invalid read of size 8
==23047== at 0x53315A5: check_free (dlerror.c:188)
==23047== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23047== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23047== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23047== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23047== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23047== by 0x4D60EB9: exit (exit.c:139)
==23047== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23047== Address 0x5b005d0 is 0 bytes after a block of size 32 alloc'd
==23047== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23047== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23047== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23047== by 0x24B104: err_get_state (err.c:210)
==23047== by 0x24BCDA: ERR_put_error (err.c:636)
==23047== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23047== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23047== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23047== by 0x270326: by_file_ctrl (by_file.c:111)
==23047== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23047== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23047== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23047== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23047== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23047== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23047== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23047==
==23047== Invalid free() / delete / delete[] / realloc()
==23047== at 0x48369AB: free (vg_replace_malloc.c:540)
==23047== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23047== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23047== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23047== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23047== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23047== by 0x4D60EB9: exit (exit.c:139)
==23047== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23047== Address 0x5b005b8 is 8 bytes inside a block of size 32 alloc'd
==23047== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23047== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23047== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23047== by 0x24B104: err_get_state (err.c:210)
==23047== by 0x24BCDA: ERR_put_error (err.c:636)
==23047== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23047== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23047== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23047== by 0x270326: by_file_ctrl (by_file.c:111)
==23047== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23047== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23047== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23047== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23047== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23047== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23047== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23047==
==23047== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23047== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23047== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23047== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23047== by 0x24B104: err_get_state (err.c:210)
==23047== by 0x24BCDA: ERR_put_error (err.c:636)
==23047== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23047== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23047== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23047== by 0x270326: by_file_ctrl (by_file.c:111)
==23047== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23047== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23047== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23047== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23047== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23047== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23047== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23047==
=== End of file valgrind304
test 0305...[insecure HTTPS without permission]
goto problem 14
valgrind ERROR ==23055== Invalid read of size 8
==23055== at 0x53315A5: check_free (dlerror.c:188)
==23055== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23055== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23055== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23055== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23055== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23055== by 0x4D60EB9: exit (exit.c:139)
==23055== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23055== Address 0x57560a0 is 0 bytes after a block of size 32 alloc'd
==23055== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23055== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23055== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23055== by 0x24B104: err_get_state (err.c:210)
==23055== by 0x24BCDA: ERR_put_error (err.c:636)
==23055== by 0x23B5AB: BIO_new_file (file.c:99)
==23055== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==23055== by 0x270326: by_file_ctrl (by_file.c:111)
==23055== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23055== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23055== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23055== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23055== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23055== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23055== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23055== by 0x18A933: https_connecting (http.c:1576)
==23055==
==23055== Invalid free() / delete / delete[] / realloc()
==23055== at 0x48369AB: free (vg_replace_malloc.c:540)
==23055== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23055== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23055== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23055== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23055== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23055== by 0x4D60EB9: exit (exit.c:139)
==23055== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23055== Address 0x5756088 is 8 bytes inside a block of size 32 alloc'd
==23055== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23055== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23055== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23055== by 0x24B104: err_get_state (err.c:210)
==23055== by 0x24BCDA: ERR_put_error (err.c:636)
==23055== by 0x23B5AB: BIO_new_file (file.c:99)
==23055== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==23055== by 0x270326: by_file_ctrl (by_file.c:111)
==23055== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23055== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23055== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23055== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23055== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23055== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23055== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23055== by 0x18A933: https_connecting (http.c:1576)
==23055==
==23055== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==23055== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23055== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23055== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23055== by 0x24B104: err_get_state (err.c:210)
==23055== by 0x24BCDA: ERR_put_error (err.c:636)
==23055== by 0x23B5AB: BIO_new_file (file.c:99)
==23055== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==23055== by 0x270326: by_file_ctrl (by_file.c:111)
==23055== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23055== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23055== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23055== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23055== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23055== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23055== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23055== by 0x18A933: https_connecting (http.c:1576)
==23055==
== Contents of files in the log/ dir after test 305
=== Start of file stderr305
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (77) error setting certificate verify locations:
CAfile: moooo
CApath: none
=== End of file stderr305
=== Start of file trace305
02:59:20.819315 == Info: STATE: INIT => CONNECT handle 0x56c5768; line 1362 (connection #-5000)
02:59:20.874428 == Info: Added connection 0. The cache now contains 1 members
02:59:20.892282 == Info: Trying 127.0.0.1:8991...
02:59:20.892889 == Info: TCP_NODELAY set
02:59:20.898180 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5768; line 1418 (connection #0)
02:59:20.909925 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:20.910490 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5768; line 1538 (connection #0)
02:59:20.911573 == Info: Marked for [keep alive]: HTTP default
02:59:20.962035 == Info: ALPN, offering h2
02:59:20.962307 == Info: ALPN, offering http/1.1
02:59:20.972848 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
02:59:20.973318 == Info: Marked for [closure]: Failed HTTPS connection
02:59:20.973940 == Info: multi_done
02:59:20.983463 == Info: Closing connection 0
02:59:21.003086 == Info: The cache now contains 0 members
02:59:21.010913 == Info: Expire cleared (transfer 0x56c5768)
=== End of file trace305
=== Start of file valgrind305
==23055== Invalid read of size 8
==23055== at 0x53315A5: check_free (dlerror.c:188)
==23055== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23055== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23055== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23055== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23055== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23055== by 0x4D60EB9: exit (exit.c:139)
==23055== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23055== Address 0x57560a0 is 0 bytes after a block of size 32 alloc'd
==23055== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23055== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23055== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23055== by 0x24B104: err_get_state (err.c:210)
==23055== by 0x24BCDA: ERR_put_error (err.c:636)
==23055== by 0x23B5AB: BIO_new_file (file.c:99)
==23055== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==23055== by 0x270326: by_file_ctrl (by_file.c:111)
==23055== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23055== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23055== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23055== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23055== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23055== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23055== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23055== by 0x18A933: https_connecting (http.c:1576)
==23055==
==23055== Invalid free() / delete / delete[] / realloc()
==23055== at 0x48369AB: free (vg_replace_malloc.c:540)
==23055== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23055== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23055== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23055== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23055== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23055== by 0x4D60EB9: exit (exit.c:139)
==23055== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23055== Address 0x5756088 is 8 bytes inside a block of size 32 alloc'd
==23055== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23055== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23055== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23055== by 0x24B104: err_get_state (err.c:210)
==23055== by 0x24BCDA: ERR_put_error (err.c:636)
==23055== by 0x23B5AB: BIO_new_file (file.c:99)
==23055== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==23055== by 0x270326: by_file_ctrl (by_file.c:111)
==23055== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23055== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23055== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23055== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23055== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23055== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23055== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23055== by 0x18A933: https_connecting (http.c:1576)
==23055==
==23055== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==23055== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23055== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23055== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23055== by 0x24B104: err_get_state (err.c:210)
==23055== by 0x24BCDA: ERR_put_error (err.c:636)
==23055== by 0x23B5AB: BIO_new_file (file.c:99)
==23055== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==23055== by 0x270326: by_file_ctrl (by_file.c:111)
==23055== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23055== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23055== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23055== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23055== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23055== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23055== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23055== by 0x18A933: https_connecting (http.c:1576)
==23055==
=== End of file valgrind305
test 0306...[HTTPS GET, receive no headers only data!]
goto problem 15
valgrind ERROR ==23059== Invalid read of size 8
==23059== at 0x53315A5: check_free (dlerror.c:188)
==23059== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23059== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23059== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23059== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23059== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23059== by 0x4D60EB9: exit (exit.c:139)
==23059== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23059== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==23059== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23059== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23059== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23059== by 0x24B104: err_get_state (err.c:210)
==23059== by 0x24BCDA: ERR_put_error (err.c:636)
==23059== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23059== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23059== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23059== by 0x270326: by_file_ctrl (by_file.c:111)
==23059== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23059== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23059== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23059== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23059== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23059== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23059== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23059==
==23059== Invalid free() / delete / delete[] / realloc()
==23059== at 0x48369AB: free (vg_replace_malloc.c:540)
==23059== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23059== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23059== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23059== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23059== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23059== by 0x4D60EB9: exit (exit.c:139)
==23059== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23059== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==23059== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23059== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23059== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23059== by 0x24B104: err_get_state (err.c:210)
==23059== by 0x24BCDA: ERR_put_error (err.c:636)
==23059== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23059== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23059== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23059== by 0x270326: by_file_ctrl (by_file.c:111)
==23059== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23059== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23059== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23059== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23059== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23059== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23059== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23059==
==23059== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23059== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23059== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23059== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23059== by 0x24B104: err_get_state (err.c:210)
==23059== by 0x24BCDA: ERR_put_error (err.c:636)
==23059== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23059== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23059== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23059== by 0x270326: by_file_ctrl (by_file.c:111)
==23059== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23059== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23059== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23059== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23059== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23059== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23059== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23059==
== Contents of files in the log/ dir after test 306
=== Start of file curl306.out
No headers at all, just data swsclose
Let's get
a little
so that
we
have
some
test
data to
verify
=== End of file curl306.out
=== Start of file http_server.log
02:59:24.171810 ====> Client connect
02:59:24.171844 accept_connection 3 returned 4
02:59:24.171859 accept_connection 3 returned 0
02:59:24.253568 Read 85 bytes
02:59:24.253601 Process 85 bytes request
02:59:24.253618 Got request: GET /306 HTTP/1.1
02:59:24.253630 Requested test number 306 part 0
02:59:24.253653 - request found to be complete
02:59:24.253676 Wrote request (85 bytes) input to log/server.input
02:59:24.253696 Send response test306 section <data>
02:59:24.253718 connection close instruction "swsclose" found in response
02:59:24.253772 Response sent (107 bytes) and written to log/server.response
02:59:24.253782 instructed to close connection after server-reply
02:59:24.253790 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /306 HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
No headers at all, just data swsclose
Let's get
a little
so that
we
have
some
test
data to
verify
=== End of file server.response
=== Start of file stderr306
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 107 0 107 0 0 46 0 --:--:-- 0:00:02 --:--:-- 48
=== End of file stderr306
=== Start of file trace306
02:59:21.031225 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
02:59:21.086457 == Info: Added connection 0. The cache now contains 1 members
02:59:21.104300 == Info: Trying 127.0.0.1:8991...
02:59:21.104910 == Info: TCP_NODELAY set
02:59:21.110016 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
02:59:21.121624 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:21.122189 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
02:59:21.123271 == Info: Marked for [keep alive]: HTTP default
02:59:21.173645 == Info: ALPN, offering h2
02:59:21.173919 == Info: ALPN, offering http/1.1
02:59:22.627868 == Info: successfully set certificate verify locations:
02:59:22.628131 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:22.745849 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:22.751107 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:22.751169 => Send SSL data, 148 bytes (0x94)
0000: ......g..W../.."C..=`.I...6..6....D.......+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:22.768980 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:22.774679 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:22.774736 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..W.v.[2...s.dA<...p(.S..FR]...[m. ...W........t*..|........
0040: .[aLO.../................
02:59:22.820804 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:22.821282 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:22.821343 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:59:22.923793 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:22.924067 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:22.924130 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.q..........&=.%.....d9m".........O.$'.Z~..[.?....$..]..
0040: ..D...nz_.....o.4.....W..'....r..P...`p...+.M.o..........H*.....
0080: m...;......<_1....K/......Y..C.`Q%.$.......ir{.........Am$"....r
00c0: q...i.R6..kvp|y.@dn...#...&...t#....#.YS.Jm1...cxcr....`r.Pkm...
0100: ".L.....r4.!...#'..=mm5.?r...`..8.q1...;.........~h*.!&..&.c....
0140: .w...!.......
02:59:23.001004 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:23.001382 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:23.001448 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:23.124428 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:23.124679 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:23.124735 => Send SSL data, 70 bytes (0x46)
0000: ...BA.(J.^l...S.r.F?....]h.Z:......S....Ff..x..@.r..hG\.........
0040: ...z..
02:59:23.136550 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:23.137128 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:23.137186 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:23.158425 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:23.158481 => Send SSL data, 16 bytes (0x10)
0000: .....z+=]UB.....
02:59:23.170829 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:23.173476 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:23.174559 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:23.174614 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:23.177041 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:23.182649 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:23.182704 <= Recv SSL data, 16 bytes (0x10)
0000: ......b.`...J...
02:59:23.210805 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:23.211461 == Info: ALPN, server did not agree to a protocol
02:59:23.214125 == Info: Server certificate:
02:59:23.221549 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:23.227649 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:23.228589 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:23.229513 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:23.230376 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:23.231870 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #0)
02:59:23.251931 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:59:23.254821 => Send header, 85 bytes (0x55)
0000: GET /306 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: User-Agent: curl/7.66.0-DEV
0046: Accept: */*
0053:
02:59:23.257706 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #0)
02:59:23.258169 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
02:59:23.262540 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:23.267736 == Info: Marked for [closure]: bad HTTP: No end-of-message indicator
02:59:23.268655 <= Recv data, 38 bytes (0x26)
0000: No headers at all, just data swsclose.
02:59:23.269120 <= Recv data, 69 bytes (0x45)
0000: .Let's get..a little..so that..we..have..some..test..data to..ve
0040: rify.
02:59:23.269715 == Info: Increasing bytecount by 38 from hbuflen
02:59:23.304903 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:23.306310 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
02:59:23.306397 <= Recv SSL data, 2 bytes (0x2)
0000: ..
02:59:23.309066 == Info: nread <= 0, server closed connection, bailing
02:59:23.311344 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #0)
02:59:23.311980 == Info: multi_done
02:59:23.324767 == Info: Closing connection 0
02:59:23.326386 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:23.326968 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:23.327025 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:23.387767 == Info: The cache now contains 0 members
=== End of file trace306
=== Start of file valgrind306
==23059== Invalid read of size 8
==23059== at 0x53315A5: check_free (dlerror.c:188)
==23059== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23059== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23059== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23059== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23059== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23059== by 0x4D60EB9: exit (exit.c:139)
==23059== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23059== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==23059== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23059== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23059== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23059== by 0x24B104: err_get_state (err.c:210)
==23059== by 0x24BCDA: ERR_put_error (err.c:636)
==23059== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23059== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23059== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23059== by 0x270326: by_file_ctrl (by_file.c:111)
==23059== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23059== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23059== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23059== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23059== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23059== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23059== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23059==
==23059== Invalid free() / delete / delete[] / realloc()
==23059== at 0x48369AB: free (vg_replace_malloc.c:540)
==23059== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23059== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23059== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23059== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23059== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23059== by 0x4D60EB9: exit (exit.c:139)
==23059== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23059== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==23059== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23059== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23059== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23059== by 0x24B104: err_get_state (err.c:210)
==23059== by 0x24BCDA: ERR_put_error (err.c:636)
==23059== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23059== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23059== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23059== by 0x270326: by_file_ctrl (by_file.c:111)
==23059== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23059== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23059== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23059== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23059== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23059== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23059== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23059==
==23059== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23059== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23059== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23059== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23059== by 0x24B104: err_get_state (err.c:210)
==23059== by 0x24BCDA: ERR_put_error (err.c:636)
==23059== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23059== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23059== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23059== by 0x270326: by_file_ctrl (by_file.c:111)
==23059== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23059== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23059== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23059== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23059== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23059== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23059== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23059==
=== End of file valgrind306
test 0307 SKIPPED: curl lacks OpenSSL support
test 0308 SKIPPED: curl lacks OpenSSL support
test 0309...[HTTP Location: redirect to HTTPS URL]
goto problem 16
valgrind ERROR ==23068== Invalid read of size 8
==23068== at 0x53315A5: check_free (dlerror.c:188)
==23068== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23068== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23068== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23068== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23068== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23068== by 0x4D60EB9: exit (exit.c:139)
==23068== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23068== Address 0x5b2ee70 is 0 bytes after a block of size 32 alloc'd
==23068== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23068== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23068== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23068== by 0x24B104: err_get_state (err.c:210)
==23068== by 0x24BCDA: ERR_put_error (err.c:636)
==23068== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23068== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23068== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23068== by 0x270326: by_file_ctrl (by_file.c:111)
==23068== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23068== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23068== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23068== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23068== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23068== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23068== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23068==
==23068== Invalid free() / delete / delete[] / realloc()
==23068== at 0x48369AB: free (vg_replace_malloc.c:540)
==23068== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23068== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23068== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23068== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23068== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23068== by 0x4D60EB9: exit (exit.c:139)
==23068== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23068== Address 0x5b2ee58 is 8 bytes inside a block of size 32 alloc'd
==23068== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23068== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23068== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23068== by 0x24B104: err_get_state (err.c:210)
==23068== by 0x24BCDA: ERR_put_error (err.c:636)
==23068== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23068== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23068== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23068== by 0x270326: by_file_ctrl (by_file.c:111)
==23068== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23068== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23068== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23068== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23068== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23068== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23068== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23068==
==23068== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23068== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23068== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23068== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23068== by 0x24B104: err_get_state (err.c:210)
==23068== by 0x24BCDA: ERR_put_error (err.c:636)
==23068== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23068== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23068== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23068== by 0x270326: by_file_ctrl (by_file.c:111)
==23068== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23068== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23068== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23068== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23068== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23068== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23068== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23068==
== Contents of files in the log/ dir after test 309
=== Start of file curl309.out
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
Connection: close
HTTP/1.1 200 Followed here fine swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 52
If this is received, the location following worked
=== End of file curl309.out
=== Start of file http_server.log
02:59:25.478960 ====> Client connect
02:59:25.478996 accept_connection 3 returned 4
02:59:25.479010 accept_connection 3 returned 0
02:59:25.507539 Read 90 bytes
02:59:25.507582 Process 90 bytes request
02:59:25.507598 Got request: GET /want/309 HTTP/1.1
02:59:25.507608 Requested test number 309 part 0
02:59:25.507633 - request found to be complete
02:59:25.507659 Wrote request (90 bytes) input to log/server.input
02:59:25.507681 Send response test309 section <data>
02:59:25.507704 connection close instruction "swsclose" found in response
02:59:25.507795 Response sent (277 bytes) and written to log/server.response
02:59:25.507806 instructed to close connection after server-reply
02:59:25.507813 ====> Client disconnect 0
02:59:27.534269 ====> Client connect
02:59:27.534290 accept_connection 3 returned 4
02:59:27.534304 accept_connection 3 returned 0
02:59:27.606258 Read 111 bytes
02:59:27.606294 Process 111 bytes request
02:59:27.606311 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
02:59:27.606322 Requested test number 309 part 2
02:59:27.606347 - request found to be complete
02:59:27.606359 Wrote request (111 bytes) input to log/server.input
02:59:27.606371 Send response test309 section <data2>
02:59:27.606393 connection close instruction "swsclose" found in response
02:59:27.606450 Response sent (179 bytes) and written to log/server.response
02:59:27.606459 instructed to close connection after server-reply
02:59:27.606467 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /want/309 HTTP/1.1
Host: 127.0.0.1:8990
User-Agent: curl/7.66.0-DEV
Accept: */*
GET /data/3090002.txt?coolsite=yes HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
Connection: close
This server reply is for testing a simple Location: following to HTTPS URL
HTTP/1.1 200 Followed here fine swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 52
If this is received, the location following worked
=== End of file server.response
=== Start of file stderr309
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 52 100 52 0 0 23 0 0:00:02 0:00:02 --:--:-- 1733
=== End of file stderr309
=== Start of file trace309
02:59:25.404108 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
02:59:25.458058 == Info: Added connection 0. The cache now contains 1 members
02:59:25.475788 == Info: Trying 127.0.0.1:8990...
02:59:25.476393 == Info: TCP_NODELAY set
02:59:25.481477 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
02:59:25.493007 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
02:59:25.493566 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
02:59:25.494642 == Info: Marked for [keep alive]: HTTP default
02:59:25.495531 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #0)
02:59:25.508205 => Send header, 90 bytes (0x5a)
0000: GET /want/309 HTTP/1.1
0018: Host: 127.0.0.1:8990
002e: User-Agent: curl/7.66.0-DEV
004b: Accept: */*
0058:
02:59:25.513266 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #0)
02:59:25.513731 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
02:59:25.523194 == Info: Mark bundle as not supporting multiuse
02:59:25.523786 == Info: HTTP 1.1 or later with persistent connection
02:59:25.526634 <= Recv header, 53 bytes (0x35)
0000: HTTP/1.1 301 This is a weirdo text message swsclose
02:59:25.530428 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:25.530652 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
02:59:25.532618 <= Recv header, 64 bytes (0x40)
0000: Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
02:59:25.533688 == Info: Marked for [closure]: Connection: close used
02:59:25.533806 <= Recv header, 19 bytes (0x13)
0000: Connection: close
02:59:25.536513 <= Recv header, 2 bytes (0x2)
0000:
02:59:25.538229 == Info: multi_done
02:59:25.547630 == Info: Closing connection 0
02:59:25.552213 == Info: The cache now contains 0 members
02:59:25.562320 == Info: Issue another request to this URL: 'https://127.0.0.1:8991/data/3090002.txt?coolsite=yes'
02:59:25.563116 == Info: STATE: PERFORM => CONNECT handle 0x56c52c8; line 1916 (connection #-5000)
02:59:25.566757 == Info: Added connection 1. The cache now contains 1 members
02:59:25.567371 == Info: Trying 127.0.0.1:8991...
02:59:25.567430 == Info: TCP_NODELAY set
02:59:25.567909 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #1)
02:59:25.568037 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#1)
02:59:25.568119 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #1)
02:59:25.568192 == Info: Marked for [keep alive]: HTTP default
02:59:25.618173 == Info: ALPN, offering h2
02:59:25.618447 == Info: ALPN, offering http/1.1
02:59:27.023071 == Info: successfully set certificate verify locations:
02:59:27.023329 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:27.136074 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:27.139120 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:27.139176 => Send SSL data, 148 bytes (0x94)
0000: ......{..n...@.v.....{....$=-.l.c.e..k....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:27.155984 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:27.161374 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:27.161430 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....4M...B..15U.p....X...Z.... ..f :ea.......".I.#.... .....
0040: ...#..)./................
02:59:27.204594 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:27.205031 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:27.205084 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:59:27.302755 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:27.303008 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:27.303062 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.q..........&=.%.....d9m".........O.$'.Z~..[.?....$..]..
0040: ..D...nz_.......2.Q.:..Kgi/OW..2No/|.-...E1..$..;...x..........q
0080: .GdXN...HD.M1.E.=..p>.|..{....[..._..(k...[7F]IZ..T...,...E.7.2..o.
00c0: ./2..S....b......... `..\!.`.pX.WmK..?.E..3....`.........0..+JH.
0100: <...JQ...OtK".I...,o..B......v-..\.`...x7..?........&._;[......'
0140: .....C.^.x..3
02:59:27.371519 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:27.371836 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:27.371890 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:27.486950 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:27.487195 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:27.487249 => Send SSL data, 70 bytes (0x46)
0000: ...BA..R..[7F]...I.H..r...#.T!..c{.N.\..g$..2...3..(oz..e#-.T.3.f4.
0040: ...k..
02:59:27.499021 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:27.499604 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:27.499659 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:27.520961 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:27.521038 => Send SSL data, 16 bytes (0x10)
0000: .......vi}i^T.;.
02:59:27.533414 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:27.535898 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:27.536980 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:27.537035 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:27.539459 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:27.545074 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:27.545129 <= Recv SSL data, 16 bytes (0x10)
0000: ....'5..9.0B+P.d
02:59:27.573219 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:27.573876 == Info: ALPN, server did not agree to a protocol
02:59:27.576525 == Info: Server certificate:
02:59:27.583937 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:27.590026 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:27.590963 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:27.591886 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:27.592745 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:27.593899 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #1)
02:59:27.604594 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:27.607125 => Send header, 111 bytes (0x6f)
0000: GET /data/3090002.txt?coolsite=yes HTTP/1.1
002d: Host: 127.0.0.1:8991
0043: User-Agent: curl/7.66.0-DEV
0060: Accept: */*
006d:
02:59:27.607689 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #1)
02:59:27.607781 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #1)
02:59:27.610469 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:27.616778 == Info: Mark bundle as not supporting multiuse
02:59:27.616937 == Info: HTTP 1.1 or later with persistent connection
02:59:27.617007 <= Recv header, 42 bytes (0x2a)
0000: HTTP/1.1 200 Followed here fine swsclose
02:59:27.617249 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:27.617463 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
02:59:27.618520 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 52
02:59:27.618868 <= Recv header, 2 bytes (0x2)
0000:
02:59:27.619246 <= Recv data, 52 bytes (0x34)
0000: If this is received, the location following worked..
02:59:27.624212 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #1)
02:59:27.624537 == Info: multi_done
02:59:27.627209 == Info: Connection #1 to host 127.0.0.1 left intact
02:59:27.629000 == Info: Expire cleared (transfer 0x56c52c8)
=== End of file trace309
=== Start of file valgrind309
==23068== Invalid read of size 8
==23068== at 0x53315A5: check_free (dlerror.c:188)
==23068== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23068== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23068== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23068== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23068== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23068== by 0x4D60EB9: exit (exit.c:139)
==23068== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23068== Address 0x5b2ee70 is 0 bytes after a block of size 32 alloc'd
==23068== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23068== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23068== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23068== by 0x24B104: err_get_state (err.c:210)
==23068== by 0x24BCDA: ERR_put_error (err.c:636)
==23068== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23068== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23068== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23068== by 0x270326: by_file_ctrl (by_file.c:111)
==23068== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23068== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23068== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23068== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23068== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23068== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23068== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23068==
==23068== Invalid free() / delete / delete[] / realloc()
==23068== at 0x48369AB: free (vg_replace_malloc.c:540)
==23068== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23068== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23068== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23068== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23068== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23068== by 0x4D60EB9: exit (exit.c:139)
==23068== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23068== Address 0x5b2ee58 is 8 bytes inside a block of size 32 alloc'd
==23068== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23068== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23068== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23068== by 0x24B104: err_get_state (err.c:210)
==23068== by 0x24BCDA: ERR_put_error (err.c:636)
==23068== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23068== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23068== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23068== by 0x270326: by_file_ctrl (by_file.c:111)
==23068== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23068== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23068== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23068== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23068== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23068== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23068== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23068==
==23068== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23068== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23068== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23068== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23068== by 0x24B104: err_get_state (err.c:210)
==23068== by 0x24BCDA: ERR_put_error (err.c:636)
==23068== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23068== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23068== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23068== by 0x270326: by_file_ctrl (by_file.c:111)
==23068== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23068== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23068== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23068== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23068== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23068== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23068== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23068==
=== End of file valgrind309
test 0310...[simple HTTPS GET]
goto problem 17
valgrind ERROR ==23085== Invalid read of size 8
==23085== at 0x53315A5: check_free (dlerror.c:188)
==23085== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23085== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23085== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23085== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23085== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23085== by 0x4D60EB9: exit (exit.c:139)
==23085== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23085== Address 0x5763290 is 0 bytes after a block of size 32 alloc'd
==23085== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23085== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23085== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23085== by 0x24B104: err_get_state (err.c:210)
==23085== by 0x24BCDA: ERR_put_error (err.c:636)
==23085== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23085== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23085== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23085== by 0x270326: by_file_ctrl (by_file.c:111)
==23085== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23085== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23085== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23085== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23085== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23085== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23085== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23085==
==23085== Invalid free() / delete / delete[] / realloc()
==23085== at 0x48369AB: free (vg_replace_malloc.c:540)
==23085== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23085== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23085== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23085== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23085== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23085== by 0x4D60EB9: exit (exit.c:139)
==23085== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23085== Address 0x5763278 is 8 bytes inside a block of size 32 alloc'd
==23085== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23085== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23085== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23085== by 0x24B104: err_get_state (err.c:210)
==23085== by 0x24BCDA: ERR_put_error (err.c:636)
==23085== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23085== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23085== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23085== by 0x270326: by_file_ctrl (by_file.c:111)
==23085== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23085== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23085== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23085== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23085== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23085== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23085== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23085==
==23085== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23085== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23085== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23085== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23085== by 0x24B104: err_get_state (err.c:210)
==23085== by 0x24BCDA: ERR_put_error (err.c:636)
==23085== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23085== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23085== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23085== by 0x270326: by_file_ctrl (by_file.c:111)
==23085== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23085== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23085== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23085== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23085== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23085== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23085== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23085==
== Contents of files in the log/ dir after test 310
=== Start of file curl310.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file curl310.out
=== Start of file http_server.log
02:59:27.771394 signalled to die
02:59:27.771511 ========> IPv4 sws (port 8990 pid: 21757) exits with signal (15)
02:59:32.795797 Running HTTP IPv4 version on port 8990
02:59:32.796016 Wrote pid 23072 to .http_server.pid
02:59:33.791434 ====> Client connect
02:59:33.791481 accept_connection 3 returned 4
02:59:33.791510 accept_connection 3 returned 0
02:59:33.791541 Read 96 bytes
02:59:33.791564 Process 96 bytes request
02:59:33.791603 Got request: GET /verifiedserver HTTP/1.1
02:59:33.791624 Are-we-friendly question received
02:59:33.791660 Wrote request (96 bytes) input to log/server.input
02:59:33.791704 Identifying ourselves as friends
02:59:33.791821 Response sent (56 bytes) and written to log/server.response
02:59:33.791848 special request received, no persistency
02:59:33.791867 ====> Client disconnect 0
02:59:35.838825 ====> Client connect
02:59:35.838848 accept_connection 3 returned 4
02:59:35.838862 accept_connection 3 returned 0
02:59:35.839013 Read 96 bytes
02:59:35.839051 Process 96 bytes request
02:59:35.839076 Got request: GET /verifiedserver HTTP/1.1
02:59:35.839091 Are-we-friendly question received
02:59:35.839106 Wrote request (96 bytes) input to log/server.input
02:59:35.839125 Identifying ourselves as friends
02:59:35.839207 Response sent (56 bytes) and written to log/server.response
02:59:35.839222 special request received, no persistency
02:59:35.839233 ====> Client disconnect 0
02:59:38.622023 ====> Client connect
02:59:38.622049 accept_connection 3 returned 4
02:59:38.622062 accept_connection 3 returned 0
02:59:38.711587 Read 85 bytes
02:59:38.711618 Process 85 bytes request
02:59:38.711632 Got request: GET /310 HTTP/1.1
02:59:38.711642 Requested test number 310 part 0
02:59:38.711672 - request found to be complete
02:59:38.711699 Wrote request (85 bytes) input to log/server.input
02:59:38.711718 Send response test310 section <data>
02:59:38.711796 Response sent (103 bytes) and written to log/server.response
02:59:38.711814 => persistent connection request ended, awaits new request
02:59:38.789028 Connection closed by client
02:59:38.789064 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x5561f651b7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5561f651b7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5561f651b7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x5561f651b7c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x5561f651b7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5561f651b7c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x5561f651b7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5561f651b7c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 23072
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.11 02:59:34 LOG5[23078]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.11 02:59:34 LOG5[23078]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.11 02:59:34 LOG5[23078]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.11 02:59:34 LOG5[23078]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.11 02:59:34 LOG5[23078]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.11 02:59:34 LOG5[23078]: Reading configuration from file /build-20624/tests/https_stunnel.conf
2019.08.11 02:59:34 LOG5[23078]: FIPS mode disabled
2019.08.11 02:59:34 LOG5[23078]: Configuration successful
2019.08.11 02:59:35 LOG5[23081]: Service [curltest] accepted connection from 127.0.0.1:40410
2019.08.11 02:59:35 LOG5[23081]: s_connect: connected 127.0.0.1:8990
2019.08.11 02:59:35 LOG5[23081]: Service [curltest] connected remote server from 127.0.0.1:44704
2019.08.11 02:59:35 LOG5[23081]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.11 02:59:37 LOG5[23086]: Service [curltest] accepted connection from 127.0.0.1:40416
2019.08.11 02:59:38 LOG5[23086]: s_connect: connected 127.0.0.1:8990
2019.08.11 02:59:38 LOG5[23086]: Service [curltest] connected remote server from 127.0.0.1:44710
2019.08.11 02:59:38 LOG5[23086]: Connection closed: 103 byte(s) sent to SSL, 85 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x55e49a1617c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55e49a1617c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55e49a1617c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55e49a1617c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [977 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:13:14 2018 GMT
* expire date: Dec 6 07:13:14 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55e49a1617c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55e49a1617c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55e49a1617c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55e49a1617c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55e49a1617c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 23072
=== End of file https_verify.out
=== Start of file server.input
GET /310 HTTP/1.1
Host: localhost:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 23072
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 23072
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file server.response
=== Start of file stderr310
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7 100 7 0 0 7 0 0:00:01 --:--:-- 0:00:01 7
=== End of file stderr310
=== Start of file trace310
02:59:37.772407 == Info: STATE: INIT => CONNECT handle 0x56c5798; line 1362 (connection #-5000)
02:59:37.827681 == Info: Added connection 0. The cache now contains 1 members
02:59:37.861013 == Info: STATE: CONNECT => WAITRESOLVE handle 0x56c5798; line 1403 (connection #0)
02:59:37.898553 == Info: Trying ::1:8991...
02:59:37.899195 == Info: TCP_NODELAY set
02:59:37.904269 == Info: STATE: WAITRESOLVE => WAITCONNECT handle 0x56c5798; line 1482 (connection #0)
02:59:37.912149 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:37.914294 == Info: Trying 127.0.0.1:8991...
02:59:37.914357 == Info: TCP_NODELAY set
02:59:37.919031 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:37.919556 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5798; line 1538 (connection #0)
02:59:37.920607 == Info: Marked for [keep alive]: HTTP default
02:59:37.971304 == Info: ALPN, offering h2
02:59:37.971580 == Info: ALPN, offering http/1.1
02:59:38.062806 == Info: successfully set certificate verify locations:
02:59:38.063080 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:38.184377 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:38.189559 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:38.189619 => Send SSL data, 166 bytes (0xa6)
0000: ........[7F]....l...Va...Y".FzM)>SD..`.......+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:38.207339 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:38.212964 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:38.213022 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...[7F].r@u...c.1.|Yy..C..6...*...*.. ...B......)..K4.V%R<9k0.&
0040: X..A1W0./....................
02:59:38.259249 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:38.259709 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:38.259774 <= Recv SSL data, 977 bytes (0x3d1)
0000: ..........0...0............f..S0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071314Z..261206071314Z0T1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost0.."0...*.H.............0..........0P.p.3[7F]...^Z...
0140: ."..:A.v....$."yG&Mj.A.1. ._:./O.\#.g...X.G.v.S...#.....G.`.....
0180: .......FTB.+.5.j.F..G.w..H.\.....=). ...`'b.s....-<...>.....P...
01c0: .2.-.a.....)?I..J.u0.b..k.MqD@9....sA.....].)v.k...,C^...P.-.m..
0200: ....F.;.....T..&,O.`..!9.D(...y..D. ..eT.'Vg..'........0..0...U.
0240: ...0...localhost0...U........0...U.%..0...+.......0...U.......6.
0280: S...dG.S..i......0...U.#..0......KF..u.,..T...e.{.0...U....0.0..
02c0: .*.H.............*....Ic/....C......k.@+..X.$W..Q..".}W........x
0300: Y4#.h......ve..$..C..+..K.i....TS.%.]."........;o<..s_..l;A.;..h
0340: ......(.8#.......g......-v.zUw1I-@z.?..P..:...u6P)\&.EC.%x.....9
0380: ppFwH.dz.W_M...W......&.KT-.*..o..J.L.....Z'..l.U,cP.6.....h ~..
03c0: |....h[7F]O>.....4..
02:59:38.438522 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:38.438801 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:38.438859 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.s..;......F.[7F]...x.I.....U.d............w89;.....tt.@...
0040: Ha...g.......b.... +;)b...FCQl.k<....Q.._#s.`H...eQF.5}....E..yy
0080: ..&.%2.N*.T...0.3g....:..>..m.}.@..p..a..;tK.{F..@..AT.~.m......
00c0: )..:..e....BGd../3.....8C.G....U.3VN]... ...3..c6.....R8..^.w...
0100: ..<....}....4....>.'3g..P..D..m&di.....mi#..8E......]5B..i....+.
0140: u.....Z.I..\.
02:59:38.453873 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:38.454200 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:38.454258 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:38.572947 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:38.573198 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:38.573255 => Send SSL data, 70 bytes (0x46)
0000: ...BA...'P...k.....,.....,K.~:..r...+......D...L..L.......3..M..
0040: .p....
02:59:38.585539 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:38.586138 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:38.586204 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:38.608262 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:38.608323 => Send SSL data, 16 bytes (0x10)
0000: ....+.W..z.....w
02:59:38.621107 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:38.624044 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:38.625146 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:38.625203 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:38.627718 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:38.633637 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:38.633698 <= Recv SSL data, 16 bytes (0x10)
0000: .......C...j....
02:59:38.662408 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:38.663137 == Info: ALPN, server did not agree to a protocol
02:59:38.665860 == Info: Server certificate:
02:59:38.674166 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
02:59:38.679046 == Info: start date: Sep 19 07:13:14 2018 GMT
02:59:38.680416 == Info: expire date: Dec 6 07:13:14 2026 GMT
02:59:38.683727 == Info: subjectAltName: host "localhost" matched cert's "localhost"
02:59:38.686040 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
02:59:38.686628 == Info: SSL certificate verify ok.
02:59:38.688212 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c5798; line 1556 (connection #0)
02:59:38.709877 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:59:38.712940 => Send header, 85 bytes (0x55)
0000: GET /310 HTTP/1.1
0013: Host: localhost:8991
0029: User-Agent: curl/7.66.0-DEV
0046: Accept: */*
0053:
02:59:38.715877 == Info: STATE: DO => DO_DONE handle 0x56c5798; line 1627 (connection #0)
02:59:38.716351 == Info: STATE: DO_DONE => PERFORM handle 0x56c5798; line 1749 (connection #0)
02:59:38.720958 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
02:59:38.730829 == Info: Mark bundle as not supporting multiuse
02:59:38.731422 == Info: HTTP 1.1 or later with persistent connection
02:59:38.734147 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:59:38.741671 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
02:59:38.742157 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:38.742480 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:38.743662 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
02:59:38.746137 <= Recv header, 1 bytes (0x1)
0000: .
02:59:38.746828 <= Recv data, 4 bytes (0x4)
0000: MooM
02:59:38.749617 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:38.749792 <= Recv data, 3 bytes (0x3)
0000: oo.
02:59:38.751231 == Info: STATE: PERFORM => DONE handle 0x56c5798; line 1939 (connection #0)
02:59:38.751559 == Info: multi_done
02:59:38.760976 == Info: Connection #0 to host localhost left intact
02:59:38.762199 == Info: Expire cleared (transfer 0x56c5798)
=== End of file trace310
=== Start of file valgrind310
==23085== Invalid read of size 8
==23085== at 0x53315A5: check_free (dlerror.c:188)
==23085== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23085== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23085== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23085== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23085== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23085== by 0x4D60EB9: exit (exit.c:139)
==23085== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23085== Address 0x5763290 is 0 bytes after a block of size 32 alloc'd
==23085== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23085== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23085== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23085== by 0x24B104: err_get_state (err.c:210)
==23085== by 0x24BCDA: ERR_put_error (err.c:636)
==23085== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23085== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23085== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23085== by 0x270326: by_file_ctrl (by_file.c:111)
==23085== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23085== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23085== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23085== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23085== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23085== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23085== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23085==
==23085== Invalid free() / delete / delete[] / realloc()
==23085== at 0x48369AB: free (vg_replace_malloc.c:540)
==23085== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23085== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23085== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23085== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23085== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23085== by 0x4D60EB9: exit (exit.c:139)
==23085== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23085== Address 0x5763278 is 8 bytes inside a block of size 32 alloc'd
==23085== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23085== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23085== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23085== by 0x24B104: err_get_state (err.c:210)
==23085== by 0x24BCDA: ERR_put_error (err.c:636)
==23085== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23085== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23085== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23085== by 0x270326: by_file_ctrl (by_file.c:111)
==23085== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23085== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23085== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23085== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23085== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23085== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23085== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23085==
==23085== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23085== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23085== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23085== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23085== by 0x24B104: err_get_state (err.c:210)
==23085== by 0x24BCDA: ERR_put_error (err.c:636)
==23085== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23085== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23085== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23085== by 0x270326: by_file_ctrl (by_file.c:111)
==23085== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23085== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23085== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23085== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23085== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23085== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23085== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23085==
=== End of file valgrind310
test 0311...[HTTPS wrong subjectAltName but right CN]
goto problem 18
valgrind ERROR ==23112== Invalid read of size 8
==23112== at 0x53315A5: check_free (dlerror.c:188)
==23112== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23112== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23112== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23112== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23112== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23112== by 0x4D60EB9: exit (exit.c:139)
==23112== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23112== Address 0x5763240 is 0 bytes after a block of size 32 alloc'd
==23112== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23112== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23112== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23112== by 0x24B104: err_get_state (err.c:210)
==23112== by 0x24BCDA: ERR_put_error (err.c:636)
==23112== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23112== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23112== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23112== by 0x270326: by_file_ctrl (by_file.c:111)
==23112== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23112== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23112== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23112== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23112== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23112== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23112== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23112==
==23112== Invalid free() / delete / delete[] / realloc()
==23112== at 0x48369AB: free (vg_replace_malloc.c:540)
==23112== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23112== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23112== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23112== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23112== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23112== by 0x4D60EB9: exit (exit.c:139)
==23112== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23112== Address 0x5763228 is 8 bytes inside a block of size 32 alloc'd
==23112== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23112== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23112== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23112== by 0x24B104: err_get_state (err.c:210)
==23112== by 0x24BCDA: ERR_put_error (err.c:636)
==23112== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23112== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23112== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23112== by 0x270326: by_file_ctrl (by_file.c:111)
==23112== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23112== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23112== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23112== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23112== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23112== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23112== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23112==
==23112== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23112== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23112== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23112== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23112== by 0x24B104: err_get_state (err.c:210)
==23112== by 0x24BCDA: ERR_put_error (err.c:636)
==23112== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23112== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23112== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23112== by 0x270326: by_file_ctrl (by_file.c:111)
==23112== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23112== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23112== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23112== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23112== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23112== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23112== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23112==
== Contents of files in the log/ dir after test 311
=== Start of file http_server.log
02:59:38.879841 signalled to die
02:59:38.879911 ========> IPv4 sws (port 8990 pid: 23072) exits with signal (15)
02:59:43.903943 Running HTTP IPv4 version on port 8990
02:59:43.904156 Wrote pid 23092 to .http_server.pid
02:59:44.899866 ====> Client connect
02:59:44.899913 accept_connection 3 returned 4
02:59:44.899942 accept_connection 3 returned 0
02:59:44.899990 Read 96 bytes
02:59:44.900018 Process 96 bytes request
02:59:44.900055 Got request: GET /verifiedserver HTTP/1.1
02:59:44.900081 Are-we-friendly question received
02:59:44.900117 Wrote request (96 bytes) input to log/server.input
02:59:44.900161 Identifying ourselves as friends
02:59:44.900278 Response sent (56 bytes) and written to log/server.response
02:59:44.900304 special request received, no persistency
02:59:44.900322 ====> Client disconnect 0
02:59:46.946554 ====> Client connect
02:59:46.946579 accept_connection 3 returned 4
02:59:46.946592 accept_connection 3 returned 0
02:59:46.946831 Read 96 bytes
02:59:46.946866 Process 96 bytes request
02:59:46.946899 Got request: GET /verifiedserver HTTP/1.1
02:59:46.946924 Are-we-friendly question received
02:59:46.946938 Wrote request (96 bytes) input to log/server.input
02:59:46.946953 Identifying ourselves as friends
02:59:46.947035 Response sent (56 bytes) and written to log/server.response
02:59:46.947068 special request received, no persistency
02:59:46.947080 ====> Client disconnect 0
02:59:49.711716 ====> Client connect
02:59:49.711741 accept_connection 3 returned 4
02:59:49.711759 accept_connection 3 returned 0
02:59:49.787877 Connection closed by client
02:59:49.787907 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x562fbc0627c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x562fbc0627c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x562fbc0627c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x562fbc0627c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x562fbc0627c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x562fbc0627c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x562fbc0627c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x562fbc0627c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 23092
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.11 02:59:45 LOG5[23105]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.11 02:59:45 LOG5[23105]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.11 02:59:45 LOG5[23105]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.11 02:59:45 LOG5[23105]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.11 02:59:45 LOG5[23105]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.11 02:59:45 LOG5[23105]: Reading configuration from file /build-20624/tests/https_stunnel.conf
2019.08.11 02:59:45 LOG5[23105]: FIPS mode disabled
2019.08.11 02:59:45 LOG5[23105]: Configuration successful
2019.08.11 02:59:46 LOG5[23108]: Service [curltest] accepted connection from 127.0.0.1:40422
2019.08.11 02:59:46 LOG5[23108]: s_connect: connected 127.0.0.1:8990
2019.08.11 02:59:46 LOG5[23108]: Service [curltest] connected remote server from 127.0.0.1:44716
2019.08.11 02:59:46 LOG5[23108]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.11 02:59:48 LOG5[23113]: Service [curltest] accepted connection from 127.0.0.1:40428
2019.08.11 02:59:49 LOG5[23113]: s_connect: connected 127.0.0.1:8990
2019.08.11 02:59:49 LOG5[23113]: Service [curltest] connected remote server from 127.0.0.1:44722
2019.08.11 02:59:49 LOG5[23113]: Connection closed: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x55d59c9ca7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55d59c9ca7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55d59c9ca7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55d59c9ca7c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [979 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:14:23 2018 GMT
* expire date: Dec 6 07:14:23 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55d59c9ca7c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55d59c9ca7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55d59c9ca7c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55d59c9ca7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55d59c9ca7c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 23092
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 23092
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 23092
=== End of file server.response
=== Start of file stderr311
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL: no alternative certificate subject name matches target host name 'localhost'
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
=== End of file stderr311
=== Start of file trace311
02:59:48.876336 == Info: STATE: INIT => CONNECT handle 0x56c5798; line 1362 (connection #-5000)
02:59:48.931521 == Info: Added connection 0. The cache now contains 1 members
02:59:48.987226 == Info: Trying ::1:8991...
02:59:48.987880 == Info: TCP_NODELAY set
02:59:48.992771 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5798; line 1418 (connection #0)
02:59:49.007426 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:49.009590 == Info: Trying 127.0.0.1:8991...
02:59:49.009654 == Info: TCP_NODELAY set
02:59:49.018806 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:49.019328 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5798; line 1538 (connection #0)
02:59:49.020423 == Info: Marked for [keep alive]: HTTP default
02:59:49.071255 == Info: ALPN, offering h2
02:59:49.071530 == Info: ALPN, offering http/1.1
02:59:49.163247 == Info: successfully set certificate verify locations:
02:59:49.163518 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:49.283592 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:49.289148 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:49.289222 => Send SSL data, 166 bytes (0xa6)
0000: ..........._H.-..I.....].........d..l.....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:49.307457 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:49.313771 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:49.313850 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...htM..I..?!\..E^....rdff........ .30......Sy.......`...l..
0040: .....m../....................
02:59:49.359111 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:49.359582 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:49.359637 <= Recv SSL data, 979 bytes (0x3d3)
0000: ..........0...0............f..n0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071423Z..261206071423Z0T1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost0.."0...*.H.............0..........j....4..H...&2g
0140: .N..L..o...].C..Ob.M|..6.W.a...5 ..}....D...1......RKx.WWk.%)..P
0180: o..<............x.........+.UEJP......)......:.b!<0.Z.qgS.x.~.@
01c0: 2e.|..........9...x....+..?..H/&$4..p.F.........f.N=~...d.....T.
0200: ...e...qCi.P...... 6......0lf" ...Y...qUJf.v...........0..0...U.
0240: ...0...localhost.h0...U........0...U.%..0...+.......0...U.......
0280: .]...h..be .......&0...U.#..0......KF..u.,..T...e.{.0...U....0.0
02c0: ...*.H.............M\...5H...E..\6.7.^3.*.[..p=..f.I...[K..Qu-..
0300: .^a...5q6....&.c..,5t.|.....e....-.3U.......-..\M..uh.f...k.....
0340: Y.jZz.]U.. wI...~.=`#...j.+...W....-Od.....+.4..X.m.16B;.n..wMI)
0380: ..B'.........9.|..'`u..<.b.h..|.......?.q.`.sP....oo;........B.j
03c0: v..Y. ..P........e.
02:59:49.533409 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:49.533671 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:49.533726 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..B...u[7F]].F.../5Q=..&..xz...]pS...k...../.y.t#zX:.%...q.
0040: .M.U.........[....+U.... /...W.3...."4........*.<.."....MzE8..3i
0080: I........2..Q[.s.[7F].?.nv..W..y...o...Y..:c.dz.<..?.#..%Ga.XZ..`.&
00c0: ...o...........t?(...E.....Y.O*-.D..H....s..J.H.p...3..dUB.[7F].H..
0100: .j..E..<....C.dz.q.$4...K]Fk..........o#.....j....l.M@x?`...^r..
0140: ...s..D,S../q
02:59:49.548434 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:49.548742 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:49.548797 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:49.664091 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:49.664339 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:49.664393 => Send SSL data, 70 bytes (0x46)
0000: ...BA..d>.........-:..;[7F]]....y.3.....ON........xi...v8II.g3#....
0040: (...G.
02:59:49.676300 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:49.676882 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:49.676938 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:49.698305 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:49.698363 => Send SSL data, 16 bytes (0x10)
0000: .....h....1... .
02:59:49.710850 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:49.713635 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:49.714725 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:49.714781 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:49.717243 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:49.722917 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:49.722972 <= Recv SSL data, 16 bytes (0x10)
0000: ......Jo.^.]..s.
02:59:49.750713 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:49.751382 == Info: ALPN, server did not agree to a protocol
02:59:49.754011 == Info: Server certificate:
02:59:49.761941 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
02:59:49.766766 == Info: start date: Sep 19 07:14:23 2018 GMT
02:59:49.768124 == Info: expire date: Dec 6 07:14:23 2026 GMT
02:59:49.771329 == Info: subjectAltName does not match localhost
02:59:49.772078 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
02:59:49.772847 == Info: Marked for [closure]: Failed HTTPS connection
02:59:49.773391 == Info: multi_done
02:59:49.781796 == Info: Closing connection 0
02:59:49.786316 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:49.789191 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:49.789247 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:49.813556 == Info: The cache now contains 0 members
02:59:49.821141 == Info: Expire cleared (transfer 0x56c5798)
=== End of file trace311
=== Start of file valgrind311
==23112== Invalid read of size 8
==23112== at 0x53315A5: check_free (dlerror.c:188)
==23112== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23112== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23112== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23112== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23112== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23112== by 0x4D60EB9: exit (exit.c:139)
==23112== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23112== Address 0x5763240 is 0 bytes after a block of size 32 alloc'd
==23112== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23112== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23112== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23112== by 0x24B104: err_get_state (err.c:210)
==23112== by 0x24BCDA: ERR_put_error (err.c:636)
==23112== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23112== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23112== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23112== by 0x270326: by_file_ctrl (by_file.c:111)
==23112== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23112== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23112== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23112== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23112== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23112== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23112== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23112==
==23112== Invalid free() / delete / delete[] / realloc()
==23112== at 0x48369AB: free (vg_replace_malloc.c:540)
==23112== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23112== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23112== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23112== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23112== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23112== by 0x4D60EB9: exit (exit.c:139)
==23112== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23112== Address 0x5763228 is 8 bytes inside a block of size 32 alloc'd
==23112== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23112== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23112== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23112== by 0x24B104: err_get_state (err.c:210)
==23112== by 0x24BCDA: ERR_put_error (err.c:636)
==23112== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23112== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23112== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23112== by 0x270326: by_file_ctrl (by_file.c:111)
==23112== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23112== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23112== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23112== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23112== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23112== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23112== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23112==
==23112== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23112== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23112== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23112== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23112== by 0x24B104: err_get_state (err.c:210)
==23112== by 0x24BCDA: ERR_put_error (err.c:636)
==23112== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23112== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23112== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23112== by 0x270326: by_file_ctrl (by_file.c:111)
==23112== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23112== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23112== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23112== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23112== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23112== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23112== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23112==
=== End of file valgrind311
test 0312...[HTTPS GET to localhost and null-prefixed CN cert]
goto problem 19
valgrind ERROR ==23135== Invalid read of size 8
==23135== at 0x53315A5: check_free (dlerror.c:188)
==23135== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23135== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23135== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23135== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23135== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23135== by 0x4D60EB9: exit (exit.c:139)
==23135== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23135== Address 0x5763240 is 0 bytes after a block of size 32 alloc'd
==23135== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23135== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23135== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23135== by 0x24B104: err_get_state (err.c:210)
==23135== by 0x24BCDA: ERR_put_error (err.c:636)
==23135== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23135== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23135== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23135== by 0x270326: by_file_ctrl (by_file.c:111)
==23135== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23135== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23135== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23135== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23135== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23135== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23135== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23135==
==23135== Invalid free() / delete / delete[] / realloc()
==23135== at 0x48369AB: free (vg_replace_malloc.c:540)
==23135== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23135== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23135== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23135== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23135== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23135== by 0x4D60EB9: exit (exit.c:139)
==23135== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23135== Address 0x5763228 is 8 bytes inside a block of size 32 alloc'd
==23135== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23135== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23135== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23135== by 0x24B104: err_get_state (err.c:210)
==23135== by 0x24BCDA: ERR_put_error (err.c:636)
==23135== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23135== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23135== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23135== by 0x270326: by_file_ctrl (by_file.c:111)
==23135== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23135== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23135== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23135== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23135== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23135== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23135== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23135==
==23135== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23135== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23135== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23135== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23135== by 0x24B104: err_get_state (err.c:210)
==23135== by 0x24BCDA: ERR_put_error (err.c:636)
==23135== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23135== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23135== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23135== by 0x270326: by_file_ctrl (by_file.c:111)
==23135== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23135== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23135== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23135== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23135== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23135== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23135== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23135==
== Contents of files in the log/ dir after test 312
=== Start of file http_server.log
02:59:49.904932 signalled to die
02:59:49.905027 ========> IPv4 sws (port 8990 pid: 23092) exits with signal (15)
02:59:54.926529 Running HTTP IPv4 version on port 8990
02:59:54.926691 Wrote pid 23122 to .http_server.pid
02:59:55.924193 ====> Client connect
02:59:55.924223 accept_connection 3 returned 4
02:59:55.924242 accept_connection 3 returned 0
02:59:55.924261 Read 96 bytes
02:59:55.924275 Process 96 bytes request
02:59:55.924297 Got request: GET /verifiedserver HTTP/1.1
02:59:55.924313 Are-we-friendly question received
02:59:55.924334 Wrote request (96 bytes) input to log/server.input
02:59:55.924362 Identifying ourselves as friends
02:59:55.924433 Response sent (56 bytes) and written to log/server.response
02:59:55.924448 special request received, no persistency
02:59:55.924459 ====> Client disconnect 0
02:59:57.970561 ====> Client connect
02:59:57.970586 accept_connection 3 returned 4
02:59:57.970600 accept_connection 3 returned 0
02:59:57.970841 Read 96 bytes
02:59:57.970876 Process 96 bytes request
02:59:57.970903 Got request: GET /verifiedserver HTTP/1.1
02:59:57.970919 Are-we-friendly question received
02:59:57.970935 Wrote request (96 bytes) input to log/server.input
02:59:57.970951 Identifying ourselves as friends
02:59:57.971012 Response sent (56 bytes) and written to log/server.response
02:59:57.971027 special request received, no persistency
02:59:57.971039 ====> Client disconnect 0
03:00:00.711397 ====> Client connect
03:00:00.711423 accept_connection 3 returned 4
03:00:00.711442 accept_connection 3 returned 0
03:00:00.789552 Connection closed by client
03:00:00.789590 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x555d2b12c7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x555d2b12c7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x555d2b12c7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x555d2b12c7c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x555d2b12c7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x555d2b12c7c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x555d2b12c7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x555d2b12c7c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 23122
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.11 02:59:56 LOG5[23128]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.11 02:59:56 LOG5[23128]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.11 02:59:56 LOG5[23128]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.11 02:59:56 LOG5[23128]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.11 02:59:56 LOG5[23128]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.11 02:59:56 LOG5[23128]: Reading configuration from file /build-20624/tests/https_stunnel.conf
2019.08.11 02:59:56 LOG5[23128]: FIPS mode disabled
2019.08.11 02:59:56 LOG5[23128]: Configuration successful
2019.08.11 02:59:57 LOG5[23131]: Service [curltest] accepted connection from 127.0.0.1:40434
2019.08.11 02:59:57 LOG5[23131]: s_connect: connected 127.0.0.1:8990
2019.08.11 02:59:57 LOG5[23131]: Service [curltest] connected remote server from 127.0.0.1:44728
2019.08.11 02:59:57 LOG5[23131]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.11 02:59:59 LOG5[23136]: Service [curltest] accepted connection from 127.0.0.1:40440
2019.08.11 03:00:00 LOG5[23136]: s_connect: connected 127.0.0.1:8990
2019.08.11 03:00:00 LOG5[23136]: Service [curltest] connected remote server from 127.0.0.1:44734
2019.08.11 03:00:00 LOG5[23136]: Connection closed: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x558462e4a7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x558462e4a7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x558462e4a7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x558462e4a7c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [983 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost.nn
* start date: Sep 19 07:14:12 2018 GMT
* expire date: Dec 6 07:14:12 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x558462e4a7c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x558462e4a7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x558462e4a7c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x558462e4a7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x558462e4a7c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 23122
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 23122
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 23122
=== End of file server.response
=== Start of file stderr312
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL: no alternative certificate subject name matches target host name 'localhost'
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
=== End of file stderr312
=== Start of file trace312
02:59:59.886005 == Info: STATE: INIT => CONNECT handle 0x56c5798; line 1362 (connection #-5000)
02:59:59.941021 == Info: Added connection 0. The cache now contains 1 members
02:59:59.996084 == Info: Trying ::1:8991...
02:59:59.996724 == Info: TCP_NODELAY set
03:00:00.001747 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5798; line 1418 (connection #0)
03:00:00.016228 == Info: connect to ::1 port 8991 failed: Connection refused
03:00:00.018368 == Info: Trying 127.0.0.1:8991...
03:00:00.018431 == Info: TCP_NODELAY set
03:00:00.026661 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:00:00.027180 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5798; line 1538 (connection #0)
03:00:00.028229 == Info: Marked for [keep alive]: HTTP default
03:00:00.078699 == Info: ALPN, offering h2
03:00:00.078976 == Info: ALPN, offering http/1.1
03:00:00.168195 == Info: successfully set certificate verify locations:
03:00:00.168450 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:00:00.286671 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:00.291652 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:00.291709 => Send SSL data, 166 bytes (0xa6)
0000: .........S.......1=a%....`..Q.]....Kq;....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:00:00.308629 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:00:00.314117 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:00.314173 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y....&...<........h.'W.w.........H. .....S.....2.C.@...)k....
0040: .b.B..../....................
03:00:00.358893 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:00.359351 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:00.359405 <= Recv SSL data, 983 bytes (0x3d7)
0000: ..........0...0............f...0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071412Z..261206071412Z0W1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost.nn0.."0...*.H.............0..........^L......b=8.
0140: ^.b[.................$..A[7F]vV=.r!*I.TB...........`..a...51...'...
0180: ..jr..Du;.>v..`.1.Ob.~m...0a.7...e...a..u..R.[9E5c....vJ.x..,...
01c0: .'....9..#..e.x.|.U...p...Y....\qx............%P....w{......C...
0200: n..&.....O.f.);nz...t....F...B..u...[...veY9..]...........0..0..
0240: .U....0...localhost.nn0...U........0...U.%..0...+.......0...U...
0280: ...........~.K.#..*.nI.0...U.#..0......KF..u.,..T...e.{.0...U...
02c0: .0.0...*.H..............'z..9....h.J.../.R.G_0..,.,b;$.=7X..{..-
0300: <..I.c:..4......{.lf.h.'.a`.e..f...C.<W...)....TWB|.o....>..bIa.
0340: ...!.I..B.....j%.yB.u.A...B...7..R. .....ZG.....5..i..)..0.-..3.
0380: 8.5.....;..P}..^....YvtB..)IL......$>......s_~...tSF...m..b.....
03c0: .....R.D...I!..{.xU[...
03:00:00.533962 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:00.534225 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:00.534280 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...[7F]..<k.\.(.-.Xu.....B.b....#..YLnJj...mQ.yp.V.T%.tHa..
0040: vf4...j:*....#......5#.bh;.+...\.fl....HL({K.........I..HB.TK1%.
0080: .......[7F]]M5._.|.[7F]...d&G.S.U...._rk=......BF..i).!..#..?}!.F@.im.
00c0: ....j..tx9...<...{M.W,?"1..Z.-.P.W......te.............h4J.\...;
0100: [7F]'.XuU...".....~...E.^E.).F........:..oF\......$.....$"..P..a...
0140: .\.q/.[7F].(..Ni
03:00:00.548918 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:00.549231 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:00.549285 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:00.664072 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:00.664317 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:00.664373 => Send SSL data, 70 bytes (0x46)
0000: ...BA.a?..J.^..T'.....k...R`..........w.O.....>..sE}<4...V8..2..
0040: g.a,..
03:00:00.676225 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:00.676803 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:00.676860 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:00.698113 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:00.698171 => Send SSL data, 16 bytes (0x10)
0000: .......@../..X'}
03:00:00.710536 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:00.713055 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:00.714140 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:00.714196 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:00.716671 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:00.722317 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:00.722371 <= Recv SSL data, 16 bytes (0x10)
0000: .......9..w{e...
03:00:00.750783 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:00.751462 == Info: ALPN, server did not agree to a protocol
03:00:00.754078 == Info: Server certificate:
03:00:00.761964 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost.nn
03:00:00.766782 == Info: start date: Sep 19 07:14:12 2018 GMT
03:00:00.768137 == Info: expire date: Dec 6 07:14:12 2026 GMT
03:00:00.772694 == Info: subjectAltName does not match localhost
03:00:00.773432 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
03:00:00.774199 == Info: Marked for [closure]: Failed HTTPS connection
03:00:00.774731 == Info: multi_done
03:00:00.783470 == Info: Closing connection 0
03:00:00.787981 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:00.790850 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
03:00:00.790905 => Send SSL data, 2 bytes (0x2)
0000: ..
03:00:00.815097 == Info: The cache now contains 0 members
03:00:00.822664 == Info: Expire cleared (transfer 0x56c5798)
=== End of file trace312
=== Start of file valgrind312
==23135== Invalid read of size 8
==23135== at 0x53315A5: check_free (dlerror.c:188)
==23135== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23135== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23135== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23135== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23135== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23135== by 0x4D60EB9: exit (exit.c:139)
==23135== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23135== Address 0x5763240 is 0 bytes after a block of size 32 alloc'd
==23135== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23135== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23135== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23135== by 0x24B104: err_get_state (err.c:210)
==23135== by 0x24BCDA: ERR_put_error (err.c:636)
==23135== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23135== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23135== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23135== by 0x270326: by_file_ctrl (by_file.c:111)
==23135== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23135== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23135== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23135== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23135== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23135== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23135== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23135==
==23135== Invalid free() / delete / delete[] / realloc()
==23135== at 0x48369AB: free (vg_replace_malloc.c:540)
==23135== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23135== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23135== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23135== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23135== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23135== by 0x4D60EB9: exit (exit.c:139)
==23135== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23135== Address 0x5763228 is 8 bytes inside a block of size 32 alloc'd
==23135== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23135== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23135== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23135== by 0x24B104: err_get_state (err.c:210)
==23135== by 0x24BCDA: ERR_put_error (err.c:636)
==23135== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23135== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23135== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23135== by 0x270326: by_file_ctrl (by_file.c:111)
==23135== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23135== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23135== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23135== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23135== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23135== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23135== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23135==
==23135== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23135== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23135== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23135== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23135== by 0x24B104: err_get_state (err.c:210)
==23135== by 0x24BCDA: ERR_put_error (err.c:636)
==23135== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23135== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23135== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23135== by 0x270326: by_file_ctrl (by_file.c:111)
==23135== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23135== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23135== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23135== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23135== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23135== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23135== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23135==
=== End of file valgrind312
test 0313...[CRL test]
goto problem 20
valgrind ERROR ==23159== Invalid read of size 8
==23159== at 0x53315A5: check_free (dlerror.c:188)
==23159== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23159== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23159== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23159== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23159== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23159== by 0x4D60EB9: exit (exit.c:139)
==23159== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23159== Address 0x57651e0 is 0 bytes after a block of size 32 alloc'd
==23159== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23159== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23159== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23159== by 0x24B104: err_get_state (err.c:210)
==23159== by 0x24BCDA: ERR_put_error (err.c:636)
==23159== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23159== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23159== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23159== by 0x270326: by_file_ctrl (by_file.c:111)
==23159== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23159== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23159== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23159== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23159== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23159== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23159== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23159==
==23159== Invalid free() / delete / delete[] / realloc()
==23159== at 0x48369AB: free (vg_replace_malloc.c:540)
==23159== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23159== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23159== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23159== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23159== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23159== by 0x4D60EB9: exit (exit.c:139)
==23159== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23159== Address 0x57651c8 is 8 bytes inside a block of size 32 alloc'd
==23159== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23159== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23159== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23159== by 0x24B104: err_get_state (err.c:210)
==23159== by 0x24BCDA: ERR_put_error (err.c:636)
==23159== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23159== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23159== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23159== by 0x270326: by_file_ctrl (by_file.c:111)
==23159== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23159== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23159== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23159== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23159== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23159== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23159== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23159==
==23159== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==23159== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23159== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23159== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23159== by 0x24B104: err_get_state (err.c:210)
==23159== by 0x24BCDA: ERR_put_error (err.c:636)
==23159== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23159== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23159== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23159== by 0x270326: by_file_ctrl (by_file.c:111)
==23159== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23159== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23159== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23159== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23159== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23159== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23159== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23159==
== Contents of files in the log/ dir after test 313
=== Start of file http_server.log
03:00:00.901131 signalled to die
03:00:00.901191 ========> IPv4 sws (port 8990 pid: 23122) exits with signal (15)
03:00:05.924967 Running HTTP IPv4 version on port 8990
03:00:05.925194 Wrote pid 23146 to .http_server.pid
03:00:06.921125 ====> Client connect
03:00:06.921173 accept_connection 3 returned 4
03:00:06.921203 accept_connection 3 returned 0
03:00:06.921235 Read 96 bytes
03:00:06.921258 Process 96 bytes request
03:00:06.921295 Got request: GET /verifiedserver HTTP/1.1
03:00:06.921322 Are-we-friendly question received
03:00:06.921358 Wrote request (96 bytes) input to log/server.input
03:00:06.921411 Identifying ourselves as friends
03:00:06.921533 Response sent (56 bytes) and written to log/server.response
03:00:06.921559 special request received, no persistency
03:00:06.921578 ====> Client disconnect 0
03:00:08.965966 ====> Client connect
03:00:08.965994 accept_connection 3 returned 4
03:00:08.966011 accept_connection 3 returned 0
03:00:08.966149 Read 96 bytes
03:00:08.966166 Process 96 bytes request
03:00:08.966184 Got request: GET /verifiedserver HTTP/1.1
03:00:08.966202 Are-we-friendly question received
03:00:08.966217 Wrote request (96 bytes) input to log/server.input
03:00:08.966232 Identifying ourselves as friends
03:00:08.966291 Response sent (56 bytes) and written to log/server.response
03:00:08.966312 special request received, no persistency
03:00:08.966329 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x560d1cd667c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x560d1cd667c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x560d1cd667c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x560d1cd667c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x560d1cd667c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x560d1cd667c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x560d1cd667c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x560d1cd667c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 23146
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.11 03:00:07 LOG5[23152]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.11 03:00:07 LOG5[23152]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.11 03:00:07 LOG5[23152]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.11 03:00:07 LOG5[23152]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.11 03:00:07 LOG5[23152]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.11 03:00:07 LOG5[23152]: Reading configuration from file /build-20624/tests/https_stunnel.conf
2019.08.11 03:00:07 LOG5[23152]: FIPS mode disabled
2019.08.11 03:00:07 LOG5[23152]: Configuration successful
2019.08.11 03:00:08 LOG5[23155]: Service [curltest] accepted connection from 127.0.0.1:40450
2019.08.11 03:00:08 LOG5[23155]: s_connect: connected 127.0.0.1:8990
2019.08.11 03:00:08 LOG5[23155]: Service [curltest] connected remote server from 127.0.0.1:44744
2019.08.11 03:00:08 LOG5[23155]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.11 03:00:10 LOG5[23161]: Service [curltest] accepted connection from 127.0.0.1:40456
2019.08.11 03:00:11 LOG3[23161]: SSL_accept: 14094415: error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired
2019.08.11 03:00:11 LOG5[23161]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x55dc2a01e7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55dc2a01e7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55dc2a01e7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55dc2a01e7c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [977 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:13:14 2018 GMT
* expire date: Dec 6 07:13:14 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55dc2a01e7c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55dc2a01e7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55dc2a01e7c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x55dc2a01e7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55dc2a01e7c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 23146
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 23146
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 23146
=== End of file server.response
=== Start of file stderr313
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL certificate problem: CRL has expired
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
=== End of file stderr313
=== Start of file trace313
03:00:10.901067 == Info: STATE: INIT => CONNECT handle 0x56c5c78; line 1362 (connection #-5000)
03:00:10.955972 == Info: Added connection 0. The cache now contains 1 members
03:00:11.011431 == Info: Trying ::1:8991...
03:00:11.012090 == Info: TCP_NODELAY set
03:00:11.016836 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5c78; line 1418 (connection #0)
03:00:11.031358 == Info: connect to ::1 port 8991 failed: Connection refused
03:00:11.033507 == Info: Trying 127.0.0.1:8991...
03:00:11.033571 == Info: TCP_NODELAY set
03:00:11.041850 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:00:11.042371 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5c78; line 1538 (connection #0)
03:00:11.043414 == Info: Marked for [keep alive]: HTTP default
03:00:11.093967 == Info: ALPN, offering h2
03:00:11.094241 == Info: ALPN, offering http/1.1
03:00:11.183331 == Info: successfully set certificate verify locations:
03:00:11.183584 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:00:11.232167 == Info: successfully load CRL file:
03:00:11.232667 == Info: CRLfile: /tests/certs/Server-localhost-sv.crl
03:00:11.351619 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:11.356602 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:11.356664 => Send SSL data, 166 bytes (0xa6)
0000: ......K.......;.`6"!Q...(C.&..zs...bv.....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:00:11.373648 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:00:11.379059 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:11.379116 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...I.Y../.2P.A.V..%P%.q5..*5|.p..i j..!.\..l...$+>m.eNS\X6z+
0040: 5......./....................
03:00:11.423535 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:11.423973 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:11.424028 <= Recv SSL data, 977 bytes (0x3d1)
0000: ..........0...0............f..S0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071314Z..261206071314Z0T1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost0.."0...*.H.............0..........0P.p.3[7F]...^Z...
0140: ."..:A.v....$."yG&Mj.A.1. ._:./O.\#.g...X.G.v.S...#.....G.`.....
0180: .......FTB.+.5.j.F..G.w..H.\.....=). ...`'b.s....-<...>.....P...
01c0: .2.-.a.....)?I..J.u0.b..k.MqD@9....sA.....].)v.k...,C^...P.-.m..
0200: ....F.;.....T..&,O.`..!9.D(...y..D. ..eT.'Vg..'........0..0...U.
0240: ...0...localhost0...U........0...U.%..0...+.......0...U.......6.
0280: S...dG.S..i......0...U.#..0......KF..u.,..T...e.{.0...U....0.0..
02c0: .*.H.............*....Ic/....C......k.@+..X.$W..Q..".}W........x
0300: Y4#.h......ve..$..C..+..K.i....TS.%.]."........;o<..s_..l;A.;..h
0340: ......(.8#.......g......-v.zUw1I-@z.?..P..:...u6P)\&.EC.%x.....9
0380: ppFwH.dz.W_M...W......&.KT-.*..o..J.L.....Z'..l.U,cP.6.....h ~..
03c0: |....h[7F]O>.....4..
03:00:11.515679 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:11.518748 == Info: TLSv1.2 (OUT), TLS alert, certificate expired (557):
03:00:11.518805 => Send SSL data, 2 bytes (0x2)
0000: .-
03:00:11.525540 == Info: SSL certificate problem: CRL has expired
03:00:11.526029 == Info: Marked for [closure]: Failed HTTPS connection
03:00:11.526565 == Info: multi_done
03:00:11.535371 == Info: Closing connection 0
03:00:11.571615 == Info: The cache now contains 0 members
03:00:11.579281 == Info: Expire cleared (transfer 0x56c5c78)
=== End of file trace313
=== Start of file valgrind313
==23159== Invalid read of size 8
==23159== at 0x53315A5: check_free (dlerror.c:188)
==23159== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23159== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23159== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23159== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23159== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23159== by 0x4D60EB9: exit (exit.c:139)
==23159== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23159== Address 0x57651e0 is 0 bytes after a block of size 32 alloc'd
==23159== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23159== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23159== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23159== by 0x24B104: err_get_state (err.c:210)
==23159== by 0x24BCDA: ERR_put_error (err.c:636)
==23159== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23159== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23159== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23159== by 0x270326: by_file_ctrl (by_file.c:111)
==23159== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23159== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23159== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23159== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23159== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23159== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23159== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23159==
==23159== Invalid free() / delete / delete[] / realloc()
==23159== at 0x48369AB: free (vg_replace_malloc.c:540)
==23159== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23159== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23159== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23159== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23159== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23159== by 0x4D60EB9: exit (exit.c:139)
==23159== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23159== Address 0x57651c8 is 8 bytes inside a block of size 32 alloc'd
==23159== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23159== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23159== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23159== by 0x24B104: err_get_state (err.c:210)
==23159== by 0x24BCDA: ERR_put_error (err.c:636)
==23159== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23159== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23159== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23159== by 0x270326: by_file_ctrl (by_file.c:111)
==23159== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23159== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23159== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23159== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23159== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23159== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23159== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23159==
==23159== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==23159== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23159== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23159== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23159== by 0x24B104: err_get_state (err.c:210)
==23159== by 0x24BCDA: ERR_put_error (err.c:636)
==23159== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23159== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23159== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23159== by 0x270326: by_file_ctrl (by_file.c:111)
==23159== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23159== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23159== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23159== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23159== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23159== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23159== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23159==
=== End of file valgrind313
test 0314...[HTTP GET brotli compressed content]
--pd---emv- OK (314 out of 1250, remaining: 26:09, took 1.2s, duration: 08:46)
test 0315...[HTTP GET brotli compressed content with broken header]
--pd---emv- OK (315 out of 1250, remaining: 26:05, took 1.2s, duration: 08:47)
test 0316...[HTTP GET brotli compressed content of size more than CURL_MAX_WRITE_SIZE]
--pd---emv- OK (316 out of 1250, remaining: 26:02, took 1.2s, duration: 08:48)
test 0317...[HTTP with custom Authorization: and redirect to new host]
--pd---emv- OK (317 out of 1250, remaining: 25:59, took 1.2s, duration: 08:49)
test 0318...[HTTP with custom Authorization: and redirect to new host]
--pd---emv- OK (318 out of 1250, remaining: 25:56, took 1.2s, duration: 08:51)
test 0319...[HTTP GET gzip transfer-encoded data in raw mode]
--pd---emv- OK (319 out of 1250, remaining: 25:53, took 1.2s, duration: 08:52)
test 0320 SKIPPED: curl lacks TLS-SRP support
test 0321 SKIPPED: curl lacks TLS-SRP support
test 0322 SKIPPED: curl lacks TLS-SRP support
test 0325...[HTTPS with attempted redirect to denied HTTP]
goto problem 21
valgrind ERROR ==23197== Invalid read of size 8
==23197== at 0x53315A5: check_free (dlerror.c:188)
==23197== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23197== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23197== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23197== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23197== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23197== by 0x4D60EB9: exit (exit.c:139)
==23197== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23197== Address 0x5af5c30 is 0 bytes after a block of size 32 alloc'd
==23197== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23197== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23197== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23197== by 0x24B104: err_get_state (err.c:210)
==23197== by 0x24BCDA: ERR_put_error (err.c:636)
==23197== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23197== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23197== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23197== by 0x270326: by_file_ctrl (by_file.c:111)
==23197== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23197== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23197== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23197== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23197== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23197== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23197== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23197==
==23197== Invalid free() / delete / delete[] / realloc()
==23197== at 0x48369AB: free (vg_replace_malloc.c:540)
==23197== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23197== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23197== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23197== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23197== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23197== by 0x4D60EB9: exit (exit.c:139)
==23197== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23197== Address 0x5af5c18 is 8 bytes inside a block of size 32 alloc'd
==23197== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23197== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23197== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23197== by 0x24B104: err_get_state (err.c:210)
==23197== by 0x24BCDA: ERR_put_error (err.c:636)
==23197== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23197== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23197== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23197== by 0x270326: by_file_ctrl (by_file.c:111)
==23197== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23197== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23197== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23197== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23197== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23197== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23197== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23197==
==23197== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23197== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23197== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23197== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23197== by 0x24B104: err_get_state (err.c:210)
==23197== by 0x24BCDA: ERR_put_error (err.c:636)
==23197== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23197== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23197== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23197== by 0x270326: by_file_ctrl (by_file.c:111)
==23197== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23197== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23197== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23197== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23197== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23197== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23197== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23197==
== Contents of files in the log/ dir after test 325
=== Start of file curl325.out
HTTP/1.1 301 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
Location: http://somewhere/325
=== End of file curl325.out
=== Start of file http_server.log
03:00:18.887909 signalled to die
03:00:18.888005 ========> IPv4 sws (port 8990 pid: 23146) exits with signal (15)
03:00:23.909876 Running HTTP IPv4 version on port 8990
03:00:23.909978 Wrote pid 23184 to .http_server.pid
03:00:24.907670 ====> Client connect
03:00:24.907717 accept_connection 3 returned 4
03:00:24.907747 accept_connection 3 returned 0
03:00:24.907789 Read 96 bytes
03:00:24.907815 Process 96 bytes request
03:00:24.907852 Got request: GET /verifiedserver HTTP/1.1
03:00:24.907874 Are-we-friendly question received
03:00:24.907908 Wrote request (96 bytes) input to log/server.input
03:00:24.907952 Identifying ourselves as friends
03:00:24.908069 Response sent (56 bytes) and written to log/server.response
03:00:24.908095 special request received, no persistency
03:00:24.908113 ====> Client disconnect 0
03:00:26.954726 ====> Client connect
03:00:26.954752 accept_connection 3 returned 4
03:00:26.954765 accept_connection 3 returned 0
03:00:26.954932 Read 96 bytes
03:00:26.954973 Process 96 bytes request
03:00:26.954996 Got request: GET /verifiedserver HTTP/1.1
03:00:26.955008 Are-we-friendly question received
03:00:26.955024 Wrote request (96 bytes) input to log/server.input
03:00:26.955040 Identifying ourselves as friends
03:00:26.955105 Response sent (56 bytes) and written to log/server.response
03:00:26.955130 special request received, no persistency
03:00:26.955146 ====> Client disconnect 0
03:00:30.962688 ====> Client connect
03:00:30.962709 accept_connection 3 returned 4
03:00:30.962721 accept_connection 3 returned 0
03:00:31.044823 Read 85 bytes
03:00:31.044851 Process 85 bytes request
03:00:31.044868 Got request: GET /325 HTTP/1.1
03:00:31.044878 Requested test number 325 part 0
03:00:31.044908 - request found to be complete
03:00:31.044935 Wrote request (85 bytes) input to log/server.input
03:00:31.044956 Send response test325 section <data>
03:00:31.045029 Response sent (134 bytes) and written to log/server.response
03:00:31.045040 => persistent connection request ended, awaits new request
03:00:31.139456 Connection closed by client
03:00:31.139497 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55f5dd8dc7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55f5dd8dc7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55f5dd8dc7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55f5dd8dc7c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55f5dd8dc7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55f5dd8dc7c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55f5dd8dc7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55f5dd8dc7c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 23184
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.11 03:00:25 LOG5[23192]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.11 03:00:25 LOG5[23192]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.11 03:00:25 LOG5[23192]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.11 03:00:25 LOG5[23192]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.11 03:00:25 LOG5[23192]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.11 03:00:25 LOG5[23192]: Reading configuration from file /build-20624/tests/https_stunnel.conf
2019.08.11 03:00:25 LOG5[23192]: FIPS mode disabled
2019.08.11 03:00:25 LOG5[23192]: Configuration successful
2019.08.11 03:00:26 LOG5[23195]: Service [curltest] accepted connection from 127.0.0.1:40476
2019.08.11 03:00:26 LOG5[23195]: s_connect: connected 127.0.0.1:8990
2019.08.11 03:00:26 LOG5[23195]: Service [curltest] connected remote server from 127.0.0.1:44770
2019.08.11 03:00:26 LOG5[23195]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.11 03:00:28 LOG5[23198]: Service [curltest] accepted connection from 127.0.0.1:40480
2019.08.11 03:00:30 LOG5[23198]: s_connect: connected 127.0.0.1:8990
2019.08.11 03:00:30 LOG5[23198]: Service [curltest] connected remote server from 127.0.0.1:44774
2019.08.11 03:00:31 LOG5[23198]: Connection closed: 134 byte(s) sent to SSL, 85 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x56232860f7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x56232860f7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56232860f7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56232860f7c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x56232860f7c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x56232860f7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x56232860f7c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x56232860f7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x56232860f7c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 23184
=== End of file https_verify.out
=== Start of file server.input
GET /325 HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 23184
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 23184
HTTP/1.1 301 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
Location: http://somewhere/325
MooMoo
=== End of file server.response
=== Start of file stderr325
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 7 100 7 0 0 3 0 0:00:02 0:00:02 --:--:-- 3
curl: (1) Protocol "http" not supported or disabled in libcurl
=== End of file stderr325
=== Start of file trace325
03:00:28.884504 == Info: STATE: INIT => CONNECT handle 0x56c5ba8; line 1362 (connection #-5000)
03:00:28.939029 == Info: Added connection 0. The cache now contains 1 members
03:00:28.956718 == Info: Trying 127.0.0.1:8991...
03:00:28.957323 == Info: TCP_NODELAY set
03:00:28.962566 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5ba8; line 1418 (connection #0)
03:00:28.974139 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:00:28.974701 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5ba8; line 1538 (connection #0)
03:00:28.975779 == Info: Marked for [keep alive]: HTTP default
03:00:29.026088 == Info: ALPN, offering h2
03:00:29.026368 == Info: ALPN, offering http/1.1
03:00:30.448877 == Info: successfully set certificate verify locations:
03:00:30.449137 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:30.562460 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:30.567410 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:30.567468 => Send SSL data, 148 bytes (0x94)
0000: .......Su .j......p4~.......?...SF...r....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:00:30.584467 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:30.589877 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:30.589933 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....(.C/Nl ....r}P)1_.......8p.... K.:....q.....Z...d..=A3..
0040: i%.X..../................
03:00:30.633426 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:30.633876 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:30.633930 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:00:30.731656 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:30.731912 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:30.731966 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.?i.....d...9.BP3.....TP.h.....Pw!...r.,.._nNo....Fb..6.
0040: .9..f........Lm.e.Q..V...[7F].A.2......L.x..Ha.:.%N.rnpp.z..d)..5..
0080: .._-..Wp~_...q.4.....VG...R^dh@.g^.;)..$.c..O.YJ.u.nT..O....?FT.
00c0: 2=U...fXu.g..z....e..R*J.&..[7F]......Y77...<....j..8.{.F...m.....#
0100: ,b....;@h...~..*.YS..z....1...]3_|$'5..G........t2.c...R....M.G.
0140: `.s..Z...S.[e
03:00:30.800476 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:30.800800 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:30.800854 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:30.915466 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:30.915712 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:30.915766 => Send SSL data, 70 bytes (0x46)
0000: ...BA.z......2.........O=V.t2..n0`..L.X.....m.....-...\...L.....
0040: .l..{.
03:00:30.927593 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:30.928174 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:30.928230 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:30.949436 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:30.949493 => Send SSL data, 16 bytes (0x10)
0000: ....\..T.c...q..
03:00:30.961857 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:30.964344 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:30.965427 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:30.965483 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:30.967914 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:30.973541 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:30.973597 <= Recv SSL data, 16 bytes (0x10)
0000: .............X.r
03:00:31.001853 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:31.002521 == Info: ALPN, server did not agree to a protocol
03:00:31.005203 == Info: Server certificate:
03:00:31.012670 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:31.018797 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:31.019740 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:31.020666 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:31.021528 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:31.023015 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c5ba8; line 1556 (connection #0)
03:00:31.043169 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:00:31.046033 => Send header, 85 bytes (0x55)
0000: GET /325 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: User-Agent: curl/7.66.0-DEV
0046: Accept: */*
0053:
03:00:31.048930 == Info: STATE: DO => DO_DONE handle 0x56c5ba8; line 1627 (connection #0)
03:00:31.049394 == Info: STATE: DO_DONE => PERFORM handle 0x56c5ba8; line 1749 (connection #0)
03:00:31.053774 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:31.063355 == Info: Mark bundle as not supporting multiuse
03:00:31.063945 == Info: HTTP 1.1 or later with persistent connection
03:00:31.066789 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 301 OK.
03:00:31.070466 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:00:31.070694 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:00:31.071845 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:00:31.079172 <= Recv SSL data, 5 bytes (0x5)
0000: ....&
03:00:31.081103 <= Recv header, 31 bytes (0x1f)
0000: Location: http://somewhere/325.
03:00:31.083792 <= Recv header, 1 bytes (0x1)
0000: .
03:00:31.084332 == Info: Ignoring the response-body
03:00:31.084683 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:00:31.086865 == Info: multi_done
03:00:31.095997 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:31.099887 == Info: Issue another request to this URL: 'http://somewhere/325'
03:00:31.100680 == Info: STATE: PERFORM => CONNECT handle 0x56c5ba8; line 1916 (connection #-5000)
03:00:31.103424 == Info: Protocol "http" not supported or disabled in libcurl
03:00:31.106019 == Info: Closing connection -1
03:00:31.114385 == Info: Expire cleared (transfer 0x56c5ba8)
=== End of file trace325
=== Start of file valgrind325
==23197== Invalid read of size 8
==23197== at 0x53315A5: check_free (dlerror.c:188)
==23197== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23197== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23197== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23197== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23197== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23197== by 0x4D60EB9: exit (exit.c:139)
==23197== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23197== Address 0x5af5c30 is 0 bytes after a block of size 32 alloc'd
==23197== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23197== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23197== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23197== by 0x24B104: err_get_state (err.c:210)
==23197== by 0x24BCDA: ERR_put_error (err.c:636)
==23197== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23197== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23197== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23197== by 0x270326: by_file_ctrl (by_file.c:111)
==23197== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23197== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23197== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23197== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23197== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23197== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23197== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23197==
==23197== Invalid free() / delete / delete[] / realloc()
==23197== at 0x48369AB: free (vg_replace_malloc.c:540)
==23197== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23197== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23197== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23197== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23197== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23197== by 0x4D60EB9: exit (exit.c:139)
==23197== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23197== Address 0x5af5c18 is 8 bytes inside a block of size 32 alloc'd
==23197== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23197== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23197== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23197== by 0x24B104: err_get_state (err.c:210)
==23197== by 0x24BCDA: ERR_put_error (err.c:636)
==23197== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23197== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23197== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23197== by 0x270326: by_file_ctrl (by_file.c:111)
==23197== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23197== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23197== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23197== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23197== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23197== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23197== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23197==
==23197== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23197== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23197== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23197== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23197== by 0x24B104: err_get_state (err.c:210)
==23197== by 0x24BCDA: ERR_put_error (err.c:636)
==23197== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23197== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23197== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23197== by 0x270326: by_file_ctrl (by_file.c:111)
==23197== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23197== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23197== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23197== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23197== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23197== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23197== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==23197==
=== End of file valgrind325
test 0326...[HTTP GET chunked data in raw mode]
--pd---emv- OK (326 out of 1250, remaining: 25:47, took 1.2s, duration: 09:05)
test 0327...[HTTP with cookiejar without cookies left]
--pd--oemv- OK (327 out of 1250, remaining: 25:44, took 1.3s, duration: 09:07)
test 0328...[HTTP with "Content-Encoding: none]
--pd---emv- OK (328 out of 1250, remaining: 25:41, took 1.2s, duration: 09:08)
test 0329...[HTTP cookie with Max-Age=0]
--pd---emv- OK (329 out of 1250, remaining: 25:38, took 1.2s, duration: 09:09)
test 0330...[HTTP with custom Cookie: and redirect to new host]
--pd---emv- OK (330 out of 1250, remaining: 25:35, took 1.2s, duration: 09:10)
test 0331...[HTTP with cookie using host name 'moo']
--pd---emv- OK (331 out of 1250, remaining: 25:32, took 1.2s, duration: 09:12)
test 0332...[TFTP retrieve with blksize 400]
--pd---emv- OK (332 out of 1250, remaining: 25:29, took 1.2s, duration: 09:13)
test 0333...[Try a non-boolean command line option with --no-]
-------emv- OK (333 out of 1250, remaining: 25:25, took 0.9s, duration: 09:14)
test 0334...[HTTP 204 No content with chunked header]
--pd---emv- OK (334 out of 1250, remaining: 25:22, took 1.2s, duration: 09:15)
test 0340...[FTP using %00 in path with singlecwd]
--p----emv- OK (335 out of 1250, remaining: 25:19, took 1.1s, duration: 09:16)
test 0350...[FTP root dir list multicwd]
--pd---emv- OK (336 out of 1250, remaining: 25:16, took 1.2s, duration: 09:17)
test 0351...[FTP root dir list nocwd]
--pd---emv- OK (337 out of 1250, remaining: 25:13, took 1.2s, duration: 09:18)
test 0352...[FTP root dir list singlecwd]
--pd---emv- OK (338 out of 1250, remaining: 25:11, took 1.2s, duration: 09:20)
test 0353...[FTP home dir list singlecwd]
--pd---emv- OK (339 out of 1250, remaining: 25:08, took 1.2s, duration: 09:21)
test 0354...[FTP without password]
--pd---emv- OK (340 out of 1250, remaining: 25:05, took 1.2s, duration: 09:22)
test 0355 SKIPPED: curl lacks alt-svc support
test 0356 SKIPPED: curl lacks alt-svc support
test 0393...[HTTP max-filesize and out-of-range Content-Length]
--p----emv- OK (343 out of 1250, remaining: 24:50, took 1.1s, duration: 09:23)
test 0394...[HTTP with rubbish in Content-Length]
--p----emv- OK (344 out of 1250, remaining: 24:47, took 1.2s, duration: 09:24)
test 0395...[HTTP and out-of-range Content-Length]
--p----emv- OK (345 out of 1250, remaining: 24:44, took 1.2s, duration: 09:26)
test 0400...[FTPS dir list PASV unencrypted data]
goto problem 22
valgrind ERROR ==23279== Invalid read of size 8
==23279== at 0x53315A5: check_free (dlerror.c:188)
==23279== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23279== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23279== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23279== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23279== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23279== by 0x4D60EB9: exit (exit.c:139)
==23279== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23279== Address 0x5af4fe0 is 0 bytes after a block of size 32 alloc'd
==23279== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23279== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23279== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23279== by 0x24B104: err_get_state (err.c:210)
==23279== by 0x24BCDA: ERR_put_error (err.c:636)
==23279== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23279== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23279== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23279== by 0x270326: by_file_ctrl (by_file.c:111)
==23279== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23279== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23279== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23279== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23279== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23279== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23279== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23279==
==23279== Invalid free() / delete / delete[] / realloc()
==23279== at 0x48369AB: free (vg_replace_malloc.c:540)
==23279== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23279== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23279== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23279== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23279== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23279== by 0x4D60EB9: exit (exit.c:139)
==23279== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23279== Address 0x5af4fc8 is 8 bytes inside a block of size 32 alloc'd
==23279== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23279== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23279== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23279== by 0x24B104: err_get_state (err.c:210)
==23279== by 0x24BCDA: ERR_put_error (err.c:636)
==23279== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23279== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23279== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23279== by 0x270326: by_file_ctrl (by_file.c:111)
==23279== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23279== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23279== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23279== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23279== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23279== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23279== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23279==
==23279== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23279== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23279== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23279== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23279== by 0x24B104: err_get_state (err.c:210)
==23279== by 0x24BCDA: ERR_put_error (err.c:636)
==23279== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23279== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23279== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23279== by 0x270326: by_file_ctrl (by_file.c:111)
==23279== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23279== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23279== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23279== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23279== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23279== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23279== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23279==
== Contents of files in the log/ dir after test 400
=== Start of file curl400.out
total 20
drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
-r--r--r-- 1 0 1 35 Jul 16 1996 README
lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
=== End of file curl400.out
=== Start of file ftp_server.log
03:00:53.462943 ====> Client connect
03:00:53.463090 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:53.463524 < "USER anonymous"
03:00:53.463567 > "331 We are happy you popped in![CR][LF]"
03:00:53.463938 < "PASS ftp@example.com"
03:00:53.463980 > "230 Welcome you silly person[CR][LF]"
03:00:53.464443 < "PBSZ 0"
03:00:53.464483 > "500 PBSZ not implemented[CR][LF]"
03:00:53.464859 < "PROT C"
03:00:53.464900 > "500 PROT not implemented[CR][LF]"
03:00:53.465187 < "PWD"
03:00:53.465230 > "257 "/" is current directory[CR][LF]"
03:00:53.465537 < "EPSV"
03:00:53.465568 ====> Passive DATA channel requested by client
03:00:53.465586 DATA sockfilt for passive data channel starting...
03:00:53.467801 DATA sockfilt for passive data channel started (pid 23276)
03:00:53.468061 DATA sockfilt for passive data channel listens on port 37153
03:00:53.468126 > "229 Entering Passive Mode (|||37153|)[LF]"
03:00:53.468158 Client has been notified that DATA conn will be accepted on port 37153
03:00:53.468429 Client connects to port 37153
03:00:53.468493 ====> Client established passive DATA connection on port 37153
03:00:53.468574 < "TYPE I"
03:00:53.468601 > "200 I modify TYPE as you wanted[CR][LF]"
03:00:53.468894 < "SIZE verifiedserver"
03:00:53.468947 > "213 17[CR][LF]"
03:00:53.469187 < "RETR verifiedserver"
03:00:53.469241 > "150 Binary junk (17 bytes).[CR][LF]"
03:00:53.469326 =====> Closing passive DATA connection...
03:00:53.469350 Server disconnects passive DATA connection
03:00:53.469475 DATA sockfilt for passive data channel quits (pid 23277)
03:00:53.469514 =====> Closed passive DATA connection
03:00:53.469559 > "226 File transfer complete[CR][LF]"
03:00:53.511993 < "QUIT"
03:00:53.512072 > "221 bye bye baby[CR][LF]"
03:00:53.512472 MAIN sockfilt said DISC
03:00:53.512549 ====> Client disconnected
03:00:53.512632 Awaiting input
03:00:57.543244 ====> Client connect
03:00:57.543367 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:57.629435 < "USER anonymous"
03:00:57.629493 > "331 We are happy you popped in![CR][LF]"
03:00:57.640352 < "PASS ftp@example.com"
03:00:57.640391 > "230 Welcome you silly person[CR][LF]"
03:00:57.642753 < "PBSZ 0"
03:00:57.642794 > "500 PBSZ not implemented[CR][LF]"
03:00:57.644194 < "PROT C"
03:00:57.644233 > "500 PROT not implemented[CR][LF]"
03:00:57.645710 < "PWD"
03:00:57.645754 > "257 "/" is current directory[CR][LF]"
03:00:57.652279 < "EPSV"
03:00:57.652315 ====> Passive DATA channel requested by client
03:00:57.652336 DATA sockfilt for passive data channel starting...
03:00:57.653915 DATA sockfilt for passive data channel started (pid 23284)
03:00:57.654052 DATA sockfilt for passive data channel listens on port 37093
03:00:57.654100 > "229 Entering Passive Mode (|||37093|)[LF]"
03:00:57.654126 Client has been notified that DATA conn will be accepted on port 37093
03:00:57.661391 Client connects to port 37093
03:00:57.661428 ====> Client established passive DATA connection on port 37093
03:00:57.666590 < "TYPE A"
03:00:57.666626 > "200 I modify TYPE as you wanted[CR][LF]"
03:00:57.668753 < "LIST"
03:00:57.668776 > "150 here comes a directory[CR][LF]"
03:00:57.668799 pass LIST data on data connection
03:00:57.668869 =====> Closing passive DATA connection...
03:00:57.668884 Server disconnects passive DATA connection
03:00:57.669319 DATA sockfilt for passive data channel quits (pid 23285)
03:00:57.669334 =====> Closed passive DATA connection
03:00:57.669355 > "226 ASCII transfer complete[CR][LF]"
03:00:57.752532 < "QUIT"
03:00:57.752578 > "221 bye bye baby[CR][LF]"
03:00:57.756770 MAIN sockfilt said DISC
03:00:57.756793 ====> Client disconnected
03:00:57.756835 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:00:53.563657 ====> Client connect
03:00:53.563907 Received DATA (on stdin)
03:00:53.563941 > 160 bytes data, server => client
03:00:53.563967 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:53.563987 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:53.564002 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:53.564232 < 16 bytes data, client => server
03:00:53.564266 'USER anonymous\r\n'
03:00:53.564395 Received DATA (on stdin)
03:00:53.564429 > 33 bytes data, server => client
03:00:53.564452 '331 We are happy you popped in!\r\n'
03:00:53.564647 < 22 bytes data, client => server
03:00:53.564689 'PASS ftp@example.com\r\n'
03:00:53.564808 Received DATA (on stdin)
03:00:53.564852 > 30 bytes data, server => client
03:00:53.564878 '230 Welcome you silly person\r\n'
03:00:53.565113 < 8 bytes data, client => server
03:00:53.565169 'PBSZ 0\r\n'
03:00:53.565305 Received DATA (on stdin)
03:00:53.565333 > 26 bytes data, server => client
03:00:53.565383 '500 PBSZ not implemented\r\n'
03:00:53.565569 < 8 bytes data, client => server
03:00:53.565580 'PROT C\r\n'
03:00:53.565706 Received DATA (on stdin)
03:00:53.565720 > 26 bytes data, server => client
03:00:53.565734 '500 PROT not implemented\r\n'
03:00:53.565925 < 5 bytes data, client => server
03:00:53.565938 'PWD\r\n'
03:00:53.566036 Received DATA (on stdin)
03:00:53.566052 > 30 bytes data, server => client
03:00:53.566067 '257 "/" is current directory\r\n'
03:00:53.566278 < 6 bytes data, client => server
03:00:53.566289 'EPSV\r\n'
03:00:53.568961 Received DATA (on stdin)
03:00:53.568982 > 38 bytes data, server => client
03:00:53.568999 '229 Entering Passive Mode (|||37153|)\n'
03:00:53.569322 < 8 bytes data, client => server
03:00:53.569342 'TYPE I\r\n'
03:00:53.569407 Received DATA (on stdin)
03:00:53.569418 > 33 bytes data, server => client
03:00:53.569428 '200 I modify TYPE as you wanted\r\n'
03:00:53.569632 < 21 bytes data, client => server
03:00:53.569656 'SIZE verifiedserver\r\n'
03:00:53.569754 Received DATA (on stdin)
03:00:53.569771 > 8 bytes data, server => client
03:00:53.569785 '213 17\r\n'
03:00:53.569925 < 21 bytes data, client => server
03:00:53.569938 'RETR verifiedserver\r\n'
03:00:53.570047 Received DATA (on stdin)
03:00:53.570065 > 29 bytes data, server => client
03:00:53.570082 '150 Binary junk (17 bytes).\r\n'
03:00:53.570363 Received DATA (on stdin)
03:00:53.570396 > 28 bytes data, server => client
03:00:53.570422 '226 File transfer complete\r\n'
03:00:53.612649 < 6 bytes data, client => server
03:00:53.612715 'QUIT\r\n'
03:00:53.612877 Received DATA (on stdin)
03:00:53.612923 > 18 bytes data, server => client
03:00:53.612961 '221 bye bye baby\r\n'
03:00:53.613204 ====> Client disconnect
03:00:57.643993 ====> Client connect
03:00:57.644187 Received DATA (on stdin)
03:00:57.644211 > 160 bytes data, server => client
03:00:57.644228 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:57.644243 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:57.644256 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:57.730097 < 16 bytes data, client => server
03:00:57.730135 'USER anonymous\r\n'
03:00:57.730317 Received DATA (on stdin)
03:00:57.730341 > 33 bytes data, server => client
03:00:57.730356 '331 We are happy you popped in!\r\n'
03:00:57.741102 < 22 bytes data, client => server
03:00:57.741126 'PASS ftp@example.com\r\n'
03:00:57.741218 Received DATA (on stdin)
03:00:57.741241 > 30 bytes data, server => client
03:00:57.741256 '230 Welcome you silly person\r\n'
03:00:57.743507 < 8 bytes data, client => server
03:00:57.743529 'PBSZ 0\r\n'
03:00:57.743616 Received DATA (on stdin)
03:00:57.743630 > 26 bytes data, server => client
03:00:57.743643 '500 PBSZ not implemented\r\n'
03:00:57.744946 < 8 bytes data, client => server
03:00:57.744969 'PROT C\r\n'
03:00:57.745059 Received DATA (on stdin)
03:00:57.745082 > 26 bytes data, server => client
03:00:57.745097 '500 PROT not implemented\r\n'
03:00:57.746464 < 5 bytes data, client => server
03:00:57.746487 'PWD\r\n'
03:00:57.746580 Received DATA (on stdin)
03:00:57.746611 > 30 bytes data, server => client
03:00:57.746626 '257 "/" is current directory\r\n'
03:00:57.753026 < 6 bytes data, client => server
03:00:57.753050 'EPSV\r\n'
03:00:57.754925 Received DATA (on stdin)
03:00:57.754949 > 38 bytes data, server => client
03:00:57.754964 '229 Entering Passive Mode (|||37093|)\n'
03:00:57.767339 < 8 bytes data, client => server
03:00:57.767363 'TYPE A\r\n'
03:00:57.767448 Received DATA (on stdin)
03:00:57.767461 > 33 bytes data, server => client
03:00:57.767476 '200 I modify TYPE as you wanted\r\n'
03:00:57.769527 < 6 bytes data, client => server
03:00:57.769549 'LIST\r\n'
03:00:57.769605 Received DATA (on stdin)
03:00:57.769628 > 28 bytes data, server => client
03:00:57.769649 '150 here comes a directory\r\n'
03:00:57.770165 Received DATA (on stdin)
03:00:57.770182 > 29 bytes data, server => client
03:00:57.770199 '226 ASCII transfer complete\r\n'
03:00:57.853238 < 6 bytes data, client => server
03:00:57.853277 'QUIT\r\n'
03:00:57.853404 Received DATA (on stdin)
03:00:57.853428 > 18 bytes data, server => client
03:00:57.853442 '221 bye bye baby\r\n'
03:00:57.857547 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:00:53.568380 Running IPv4 version
03:00:53.568493 Listening on port 37153
03:00:53.568537 Wrote pid 23277 to ./.ftp_sockdata.pid
03:00:53.568562 Received PING (on stdin)
03:00:53.568712 Received PORT (on stdin)
03:00:53.569195 ====> Client connect
03:00:53.570093 Received DATA (on stdin)
03:00:53.570126 > 17 bytes data, server => client
03:00:53.570151 'WE ROOLZ: 22542\r\n'
03:00:53.570200 Received DISC (on stdin)
03:00:53.570231 ====> Client forcibly disconnected
03:00:53.570274 Received QUIT (on stdin)
03:00:53.570299 quits
03:00:53.570332 ============> sockfilt quits
03:00:57.754574 Running IPv4 version
03:00:57.754640 Listening on port 37093
03:00:57.754678 Wrote pid 23285 to ./.ftp_sockdata.pid
03:00:57.754693 Received PING (on stdin)
03:00:57.754783 Received PORT (on stdin)
03:00:57.762166 ====> Client connect
03:00:57.769633 Received DATA (on stdin)
03:00:57.769656 > 10 bytes data, server => client
03:00:57.769673 'total 20\r\n'
03:00:57.769699 Received DATA (on stdin)
03:00:57.769711 > 57 bytes data, server => client
03:00:57.769723 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:00:57.769739 Received DATA (on stdin)
03:00:57.769748 > 58 bytes data, server => client
03:00:57.769760 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:00:57.769775 Received DATA (on stdin)
03:00:57.769785 > 61 bytes data, server => client
03:00:57.769796 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:00:57.769804 '\n'
03:00:57.769817 Received DATA (on stdin)
03:00:57.769827 > 62 bytes data, server => client
03:00:57.769839 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:00:57.769846 '\n'
03:00:57.769859 Received DATA (on stdin)
03:00:57.769869 > 70 bytes data, server => client
03:00:57.769881 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:00:57.769888 'usr/bin\r\n'
03:00:57.769902 Received DATA (on stdin)
03:00:57.769911 > 59 bytes data, server => client
03:00:57.769923 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:00:57.769937 Received DATA (on stdin)
03:00:57.769946 > 69 bytes data, server => client
03:00:57.769958 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:00:57.769966 'd.html\r\n'
03:00:57.769979 Received DATA (on stdin)
03:00:57.769988 > 59 bytes data, server => client
03:00:57.770000 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:00:57.770014 Received DATA (on stdin)
03:00:57.770023 > 59 bytes data, server => client
03:00:57.770035 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:00:57.770049 Received DATA (on stdin)
03:00:57.770058 > 59 bytes data, server => client
03:00:57.770070 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:00:57.770084 Received DISC (on stdin)
03:00:57.770095 ====> Client forcibly disconnected
03:00:57.770112 Received QUIT (on stdin)
03:00:57.770121 quits
03:00:57.770135 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.08.11 03:00:52 LOG5[23272]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.11 03:00:52 LOG5[23272]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.11 03:00:52 LOG5[23272]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.11 03:00:52 LOG5[23272]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.11 03:00:52 LOG5[23272]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.11 03:00:52 LOG5[23272]: Reading configuration from file /build-20624/tests/ftps_stunnel.conf
2019.08.11 03:00:52 LOG5[23272]: FIPS mode disabled
2019.08.11 03:00:52 LOG5[23272]: Configuration successful
2019.08.11 03:00:53 LOG5[23275]: Service [curltest] accepted connection from 127.0.0.1:48264
2019.08.11 03:00:53 LOG5[23275]: s_connect: connected 127.0.0.1:8992
2019.08.11 03:00:53 LOG5[23275]: Service [curltest] connected remote server from 127.0.0.1:37226
2019.08.11 03:00:53 LOG5[23275]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.08.11 03:00:55 LOG5[23280]: Service [curltest] accepted connection from 127.0.0.1:48270
2019.08.11 03:00:57 LOG5[23280]: s_connect: connected 127.0.0.1:8992
2019.08.11 03:00:57 LOG5[23280]: Service [curltest] connected remote server from 127.0.0.1:37232
2019.08.11 03:00:57 LOG5[23280]: Connection closed: 451 byte(s) sent to SSL, 85 byte(s) sent to socket
=== End of file ftps_stunnel.log
=== Start of file ftps_verify.log
* STATE: INIT => CONNECT handle 0x5635d5596798; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8993...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5635d5596798; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5635d5596798; line 1538 (connection #0)
* Marked for [keep alive]: FTP default
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [126 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* FTP 0x5635d55ac370 (line 3092) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x5635d5596798; line 1553 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x5635d55ac370 (line 792) state change from WAIT220 to USER
{ [5 bytes data]
< 331 We are happy you popped in
} [5 bytes data]
> PASS ftp@example.com
* FTP 0x5635d55ac370 (line 2520) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x5635d55ac370 (line 2496) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x5635d55ac370 (line 2709) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x5635d55ac370 (line 804) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x5635d55ac370 (line 2844) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x5635d5596798; line 1572 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x5635d55ac370 (line 1330) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x5635d5596798; line 1614 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||37153|)
* Trying 127.0.0.1:37153...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 37153
* FTP 0x5635d55ac370 (line 1977) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x5635d5596798; line 1699 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* DO-MORE connected phase starts
} [5 bytes data]
> TYPE I
* FTP 0x5635d55ac370 (line 3418) state change from STOP to RETR_TYPE
{ [5 bytes data]
< 200 I modify TYPE as you wanted
} [5 bytes data]
> SIZE verifiedserver
* FTP 0x5635d55ac370 (line 1743) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x5635d55ac370 (line 2229) state change from RETR_SIZE to RETR
{ [5 bytes data]
< 150 Binary junk (17 bytes).
* Maxdownload = -1
* Getting file with size: 17
* FTP 0x5635d55ac370 (line 477) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x5635d5596798; line 1724 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5635d5596798; line 1749 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x5635d5596798; line 1939 (connection #0)
* multi_done
* Remembering we are in dir ""
{ [5 bytes data]
< 226 File transfer complete
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5635d5596798)
=== End of file ftps_verify.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
EPSV
TYPE A
LIST
QUIT
=== End of file server.input
=== Start of file stderr400
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 623 0 623 0 0 274 0 --:--:-- 0:00:02 --:--:-- 284
=== End of file stderr400
=== Start of file trace400
03:00:55.548084 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
03:00:55.602740 == Info: Added connection 0. The cache now contains 1 members
03:00:55.620448 == Info: Trying 127.0.0.1:8993...
03:00:55.621051 == Info: TCP_NODELAY set
03:00:55.626129 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
03:00:55.637674 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:55.638233 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
03:00:55.639290 == Info: Marked for [keep alive]: FTP default
03:00:57.126432 == Info: successfully set certificate verify locations:
03:00:57.126695 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:57.243232 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:00:57.248280 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:57.248337 => Send SSL data, 126 bytes (0x7e)
0000: ...z...,..T..u.....e.\s.D..0s..?.g..1.....+./.,.0...............
0040: ../.5.....3...................................................
03:00:57.265099 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:57.270679 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:57.270734 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....q.l...R^.~.gE...8.....S.qDYx.. Z.....O.N...;.r....'b.|..
0040: .Ou..]../................
03:00:57.314117 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:57.314548 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:57.314601 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:00:57.412435 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:57.412685 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:57.412739 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..z.-z~p.;.|....:$.;(k..YI..}y\[5K..h[.0.[v...Q<....I.\.
0040: n}.X{..?%....>.w..(<?..]...6.....E.~jy.......?IWZyZG............
0080: wP.N.Tx04..........c3v.p>&;.:...O.g"p4..Y.L......./..F....W.....
00c0: .Gm0.#..U..A#...T.]o..$.[7F][7F]....u..."a.....t....Y0..tO.......l7.g.
0100: ......o.[7F]q.=2..v......?Y*...=&...... ...$.{^od....jW.F.Ho..'...-
0140: JM.w.5....Q.M
03:00:57.481662 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:57.481979 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:57.482035 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:57.596735 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:57.596971 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:57.597025 => Send SSL data, 70 bytes (0x46)
0000: ...BA...U7l..&.......7,...O..)....Q.......>..z.d.....E...1......
0040: ....!W
03:00:57.608950 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:57.609527 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:57.609582 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:57.630762 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:57.630818 => Send SSL data, 16 bytes (0x10)
0000: ....H..y.@m..UZ.
03:00:57.643168 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:57.645728 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:57.646813 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:57.646868 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:57.649300 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:57.654921 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:57.654974 <= Recv SSL data, 16 bytes (0x10)
0000: ...........,..W.
03:00:57.683069 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:57.685322 == Info: Server certificate:
03:00:57.692746 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:57.698837 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:57.699782 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:57.700702 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:57.701560 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:57.703039 == Info: FTP 0x57410b0 (line 3092) state change from STOP to WAIT220
03:00:57.709012 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:57.716713 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:00:57.720246 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:00:57.720442 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:00:57.720624 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:00:57.720803 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:00:57.728453 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:57.731426 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:00:57.732211 == Info: FTP 0x57410b0 (line 792) state change from WAIT220 to USER
03:00:57.732965 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c52c8; line 1553 (connection #0)
03:00:57.739034 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:57.739696 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:00:57.740950 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:57.741067 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:00:57.741489 == Info: FTP 0x57410b0 (line 2520) state change from USER to PASS
03:00:57.742494 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:57.742635 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:00:57.743320 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:57.743436 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:00:57.743810 == Info: FTP 0x57410b0 (line 2496) state change from PASS to PBSZ
03:00:57.744099 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:57.744235 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:00:57.744765 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:57.744880 => Send header, 8 bytes (0x8)
0000: PROT C
03:00:57.745253 == Info: FTP 0x57410b0 (line 2709) state change from PBSZ to PROT
03:00:57.745492 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:57.745628 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:00:57.746284 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:57.746399 => Send header, 5 bytes (0x5)
0000: PWD
03:00:57.746756 == Info: FTP 0x57410b0 (line 804) state change from PROT to PWD
03:00:57.747074 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:57.747210 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:00:57.748331 == Info: Entry path is '/'
03:00:57.748555 == Info: FTP 0x57410b0 (line 2844) state change from PWD to STOP
03:00:57.748718 == Info: protocol connect phase DONE
03:00:57.748963 == Info: STATE: PROTOCONNECT => DO handle 0x56c52c8; line 1572 (connection #0)
03:00:57.750846 == Info: DO phase starts
03:00:57.752836 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:57.752957 => Send header, 6 bytes (0x6)
0000: EPSV
03:00:57.753405 == Info: FTP 0x57410b0 (line 1330) state change from STOP to PASV
03:00:57.753623 == Info: Connect data stream passively
03:00:57.754439 == Info: ftp_perform ends with SECONDARY: 0
03:00:57.755305 == Info: STATE: DO => DOING handle 0x56c52c8; line 1614 (connection #0)
03:00:57.756223 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:00:57.756379 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||37093|).
03:00:57.761983 == Info: Trying 127.0.0.1:37093...
03:00:57.762045 == Info: TCP_NODELAY set
03:00:57.762758 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 37093
03:00:57.763868 == Info: FTP 0x57410b0 (line 1977) state change from PASV to STOP
03:00:57.764498 == Info: DO phase is complete2
03:00:57.764922 == Info: STATE: DOING => DO_MORE handle 0x56c52c8; line 1699 (connection #0)
03:00:57.765637 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:57.765867 == Info: DO-MORE connected phase starts
03:00:57.767173 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:57.767298 => Send header, 8 bytes (0x8)
0000: TYPE A
03:00:57.767665 == Info: FTP 0x57410b0 (line 3418) state change from STOP to LIST_TYPE
03:00:57.768050 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:57.768191 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:00:57.769377 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:57.769494 => Send header, 6 bytes (0x6)
0000: LIST
03:00:57.770053 == Info: FTP 0x57410b0 (line 1486) state change from LIST_TYPE to LIST
03:00:57.771636 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:00:57.771783 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:00:57.772370 == Info: Maxdownload = -1
03:00:57.773693 == Info: FTP 0x57410b0 (line 477) state change from LIST to STOP
03:00:57.774399 == Info: STATE: DO_MORE => DO_DONE handle 0x56c52c8; line 1724 (connection #0)
03:00:57.774785 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
03:00:57.778205 <= Recv data, 623 bytes (0x26f)
0000: total 20
000a: drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
0043: drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
007d: drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
00ba: -r--r--r-- 1 0 1 35 Jul 16 1996 README
00f8: lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr
0138: /bin
013e: dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
0179: drwxrwxrwx 2 98 98 512 May 29 16:04 download.h
01b9: tml
01be: dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
01f9: drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
0234: dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
03:00:57.786756 == Info: nread <= 0, server closed connection, bailing
03:00:57.787928 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #0)
03:00:57.788249 == Info: multi_done
03:00:57.791505 == Info: Remembering we are in dir ""
03:00:57.812839 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:00:57.813203 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:00:57.823491 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:57.825850 == Info: Expire cleared (transfer 0x56c52c8)
=== End of file trace400
=== Start of file valgrind400
==23279== Invalid read of size 8
==23279== at 0x53315A5: check_free (dlerror.c:188)
==23279== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23279== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23279== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23279== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23279== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23279== by 0x4D60EB9: exit (exit.c:139)
==23279== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23279== Address 0x5af4fe0 is 0 bytes after a block of size 32 alloc'd
==23279== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23279== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23279== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23279== by 0x24B104: err_get_state (err.c:210)
==23279== by 0x24BCDA: ERR_put_error (err.c:636)
==23279== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23279== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23279== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23279== by 0x270326: by_file_ctrl (by_file.c:111)
==23279== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23279== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23279== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23279== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23279== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23279== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23279== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23279==
==23279== Invalid free() / delete / delete[] / realloc()
==23279== at 0x48369AB: free (vg_replace_malloc.c:540)
==23279== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23279== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23279== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23279== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23279== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23279== by 0x4D60EB9: exit (exit.c:139)
==23279== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23279== Address 0x5af4fc8 is 8 bytes inside a block of size 32 alloc'd
==23279== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23279== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23279== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23279== by 0x24B104: err_get_state (err.c:210)
==23279== by 0x24BCDA: ERR_put_error (err.c:636)
==23279== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23279== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23279== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23279== by 0x270326: by_file_ctrl (by_file.c:111)
==23279== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23279== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23279== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23279== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23279== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23279== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23279== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23279==
==23279== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23279== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23279== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23279== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23279== by 0x24B104: err_get_state (err.c:210)
==23279== by 0x24BCDA: ERR_put_error (err.c:636)
==23279== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23279== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23279== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23279== by 0x270326: by_file_ctrl (by_file.c:111)
==23279== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23279== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23279== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23279== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23279== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23279== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23279== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23279==
=== End of file valgrind400
test 0401...[FTPS PASV upload file]
goto problem 23
valgrind ERROR ==23288== Invalid read of size 8
==23288== at 0x53315A5: check_free (dlerror.c:188)
==23288== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23288== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23288== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23288== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23288== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23288== by 0x4D60EB9: exit (exit.c:139)
==23288== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23288== Address 0x5b31af0 is 0 bytes after a block of size 32 alloc'd
==23288== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23288== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23288== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23288== by 0x24B104: err_get_state (err.c:210)
==23288== by 0x24BCDA: ERR_put_error (err.c:636)
==23288== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23288== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23288== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23288== by 0x270326: by_file_ctrl (by_file.c:111)
==23288== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23288== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23288== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23288== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23288== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23288== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23288== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23288==
==23288== Invalid free() / delete / delete[] / realloc()
==23288== at 0x48369AB: free (vg_replace_malloc.c:540)
==23288== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23288== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23288== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23288== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23288== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23288== by 0x4D60EB9: exit (exit.c:139)
==23288== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23288== Address 0x5b31ad8 is 8 bytes inside a block of size 32 alloc'd
==23288== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23288== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23288== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23288== by 0x24B104: err_get_state (err.c:210)
==23288== by 0x24BCDA: ERR_put_error (err.c:636)
==23288== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23288== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23288== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23288== by 0x270326: by_file_ctrl (by_file.c:111)
==23288== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23288== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23288== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23288== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23288== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23288== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23288== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23288==
==23288== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23288== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23288== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23288== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23288== by 0x24B104: err_get_state (err.c:210)
==23288== by 0x24BCDA: ERR_put_error (err.c:636)
==23288== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23288== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23288== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23288== by 0x270326: by_file_ctrl (by_file.c:111)
==23288== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23288== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23288== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23288== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23288== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23288== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23288== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23288==
== Contents of files in the log/ dir after test 401
=== Start of file ftp_server.log
03:01:00.870057 ====> Client connect
03:01:00.870162 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:00.959480 < "USER anonymous"
03:01:00.959524 > "331 We are happy you popped in![CR][LF]"
03:01:00.970316 < "PASS ftp@example.com"
03:01:00.970347 > "230 Welcome you silly person[CR][LF]"
03:01:00.972792 < "PBSZ 0"
03:01:00.972822 > "500 PBSZ not implemented[CR][LF]"
03:01:00.974228 < "PROT C"
03:01:00.974258 > "500 PROT not implemented[CR][LF]"
03:01:00.975762 < "PWD"
03:01:00.975794 > "257 "/" is current directory[CR][LF]"
03:01:00.983258 < "EPSV"
03:01:00.983285 ====> Passive DATA channel requested by client
03:01:00.983298 DATA sockfilt for passive data channel starting...
03:01:00.984788 DATA sockfilt for passive data channel started (pid 23290)
03:01:00.984938 DATA sockfilt for passive data channel listens on port 42623
03:01:00.984981 > "229 Entering Passive Mode (|||42623|)[LF]"
03:01:00.984997 Client has been notified that DATA conn will be accepted on port 42623
03:01:00.992365 Client connects to port 42623
03:01:00.992401 ====> Client established passive DATA connection on port 42623
03:01:00.997506 < "TYPE I"
03:01:00.997539 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:00.999845 < "STOR 401"
03:01:00.999869 STOR test number 401 in log/upload.401
03:01:00.999890 > "125 Gimme gimme gimme![CR][LF]"
03:01:01.008975 > Appending 52 bytes to file
03:01:01.017455 =====> Closing passive DATA connection...
03:01:01.017474 Server knows passive DATA connection is already disconnected
03:01:01.017517 DATA sockfilt for passive data channel quits (pid 23291)
03:01:01.017531 =====> Closed passive DATA connection
03:01:01.017550 received 52 bytes upload
03:01:01.017570 > "226 File transfer complete[CR][LF]"
03:01:01.076696 < "QUIT"
03:01:01.076740 > "221 bye bye baby[CR][LF]"
03:01:01.083368 MAIN sockfilt said DISC
03:01:01.083433 ====> Client disconnected
03:01:01.083493 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:00.970756 ====> Client connect
03:01:00.970985 Received DATA (on stdin)
03:01:00.971008 > 160 bytes data, server => client
03:01:00.971026 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:00.971041 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:00.971053 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:01.060139 < 16 bytes data, client => server
03:01:01.060174 'USER anonymous\r\n'
03:01:01.060350 Received DATA (on stdin)
03:01:01.060373 > 33 bytes data, server => client
03:01:01.060388 '331 We are happy you popped in!\r\n'
03:01:01.071052 < 22 bytes data, client => server
03:01:01.071075 'PASS ftp@example.com\r\n'
03:01:01.071175 Received DATA (on stdin)
03:01:01.071198 > 30 bytes data, server => client
03:01:01.071213 '230 Welcome you silly person\r\n'
03:01:01.073528 < 8 bytes data, client => server
03:01:01.073550 'PBSZ 0\r\n'
03:01:01.073650 Received DATA (on stdin)
03:01:01.073673 > 26 bytes data, server => client
03:01:01.073688 '500 PBSZ not implemented\r\n'
03:01:01.074966 < 8 bytes data, client => server
03:01:01.074988 'PROT C\r\n'
03:01:01.075087 Received DATA (on stdin)
03:01:01.075110 > 26 bytes data, server => client
03:01:01.075125 '500 PROT not implemented\r\n'
03:01:01.076499 < 5 bytes data, client => server
03:01:01.076522 'PWD\r\n'
03:01:01.076624 Received DATA (on stdin)
03:01:01.076647 > 30 bytes data, server => client
03:01:01.076662 '257 "/" is current directory\r\n'
03:01:01.083996 < 6 bytes data, client => server
03:01:01.084018 'EPSV\r\n'
03:01:01.085807 Received DATA (on stdin)
03:01:01.085831 > 38 bytes data, server => client
03:01:01.085846 '229 Entering Passive Mode (|||42623|)\n'
03:01:01.098231 < 8 bytes data, client => server
03:01:01.098255 'TYPE I\r\n'
03:01:01.098367 Received DATA (on stdin)
03:01:01.098389 > 33 bytes data, server => client
03:01:01.098405 '200 I modify TYPE as you wanted\r\n'
03:01:01.100582 < 10 bytes data, client => server
03:01:01.100605 'STOR 401\r\n'
03:01:01.100719 Received DATA (on stdin)
03:01:01.100741 > 24 bytes data, server => client
03:01:01.100756 '125 Gimme gimme gimme!\r\n'
03:01:01.118380 Received DATA (on stdin)
03:01:01.118401 > 28 bytes data, server => client
03:01:01.118417 '226 File transfer complete\r\n'
03:01:01.177382 < 6 bytes data, client => server
03:01:01.177421 'QUIT\r\n'
03:01:01.177545 Received DATA (on stdin)
03:01:01.177557 > 18 bytes data, server => client
03:01:01.177567 '221 bye bye baby\r\n'
03:01:01.184092 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:00.085429 Running IPv4 version
03:01:00.085500 Listening on port 42623
03:01:00.085531 Wrote pid 23291 to ./.ftp_sockdata.pid
03:01:00.085549 Received PING (on stdin)
03:01:00.085654 Received PORT (on stdin)
03:01:00.093118 ====> Client connect
03:01:00.109731 < 52 bytes data, client => server
03:01:00.109758 'data\n to\n see\nthat FTPS\nworks\n so does it?\n'
03:01:00.118177 ====> Client disconnect
03:01:00.118321 Received QUIT (on stdin)
03:01:00.118343 quits
03:01:00.118363 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
EPSV
TYPE I
STOR 401
QUIT
=== End of file server.input
=== Start of file stderr401
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 52 0 0 100 52 0 23 0:00:02 0:00:02 --:--:-- 24
=== End of file stderr401
=== Start of file test401.txt
data
to
see
that FTPS
works
so does it?
=== End of file test401.txt
=== Start of file trace401
03:00:58.918390 == Info: STATE: INIT => CONNECT handle 0x56c8168; line 1362 (connection #-5000)
03:00:58.971977 == Info: Added connection 0. The cache now contains 1 members
03:00:58.989735 == Info: Trying 127.0.0.1:8993...
03:00:58.990342 == Info: TCP_NODELAY set
03:00:58.995587 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8168; line 1418 (connection #0)
03:00:59.007154 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:59.007722 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8168; line 1538 (connection #0)
03:00:59.009607 == Info: Marked for [keep alive]: FTP default
03:01:00.453705 == Info: successfully set certificate verify locations:
03:01:00.453963 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:00.566386 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:00.571423 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:00.571480 => Send SSL data, 126 bytes (0x7e)
0000: ...z......`.Fys.!.....^).d...e. .'Fz......+./.,.0...............
0040: ../.5.....3...................................................
03:01:00.588257 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:00.593816 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:00.593876 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..7L........:.. G.......[$.[..\... .G........c.......*&.6(-.
0040: Vzfy~.]./................
03:01:00.637415 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:00.637861 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:00.637915 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:01:00.736052 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:00.736335 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:00.736391 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..z.-z~p.;.|....:$.;(k..YI..}y\[5K..h[.0.[v...Q<....I.\.
0040: n}.X{..?%......+h...L.B..zL...8..j;.9.\.7..4.o....|...0...})w...
0080: .6.D..`(.hK.>.G....`u....[..U.>....,...*-.l.dK....{..L...[.`...
00c0: 8.=....xe.E..[y.X<LD........fD...P...<.M.......[7F]*h.d.+......I-.w
0100: .........Ev...g..7U..[.....ie.pTC.DA.A...MON...>.d.?....8.......
0140: 3..V.).....f.
03:01:00.805935 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:00.806275 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:00.806333 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:00.923211 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:00.923456 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:00.923511 => Send SSL data, 70 bytes (0x46)
0000: ...BA..-J."-Q...]6.b.9...'T..C.q.#.aV....0@O?.............;.....
0040: ..U...
03:01:00.935337 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:00.935920 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:00.935976 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:00.957191 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:00.957247 => Send SSL data, 16 bytes (0x10)
0000: .....r.z,....! .
03:01:00.969886 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:00.972464 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:00.973585 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:00.973644 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:00.976169 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:00.981997 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:00.982053 <= Recv SSL data, 16 bytes (0x10)
0000: ......bo.1T.....
03:01:01.011277 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:01.013625 == Info: Server certificate:
03:01:01.021372 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:01.027707 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:01.028685 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:01.029717 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:01.030609 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:01.032149 == Info: FTP 0x577dbc0 (line 3092) state change from STOP to WAIT220
03:01:01.038319 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:01.046276 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:01.049915 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:01.050109 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:01.050298 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:01.050484 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:01.058421 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:01.061426 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:01.062229 == Info: FTP 0x577dbc0 (line 792) state change from WAIT220 to USER
03:01:01.063015 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8168; line 1553 (connection #0)
03:01:01.068908 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:01.069581 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:01.070868 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:01.070986 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:01.071371 == Info: FTP 0x577dbc0 (line 2520) state change from USER to PASS
03:01:01.072470 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:01.072616 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:01.073342 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:01.073462 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:01.073797 == Info: FTP 0x577dbc0 (line 2496) state change from PASS to PBSZ
03:01:01.074095 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:01.074238 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:01.074786 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:01.074901 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:01.075241 == Info: FTP 0x577dbc0 (line 2709) state change from PBSZ to PROT
03:01:01.075489 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:01.075629 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:01.076309 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:01.076433 => Send header, 5 bytes (0x5)
0000: PWD
03:01:01.076754 == Info: FTP 0x577dbc0 (line 804) state change from PROT to PWD
03:01:01.077084 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:01.077227 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:01.078381 == Info: Entry path is '/'
03:01:01.078613 == Info: FTP 0x577dbc0 (line 2844) state change from PWD to STOP
03:01:01.078785 == Info: protocol connect phase DONE
03:01:01.079036 == Info: STATE: PROTOCONNECT => DO handle 0x56c8168; line 1572 (connection #0)
03:01:01.081749 == Info: DO phase starts
03:01:01.083812 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:01.083931 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:01.084279 == Info: FTP 0x577dbc0 (line 1330) state change from STOP to PASV
03:01:01.084455 == Info: Connect data stream passively
03:01:01.085250 == Info: ftp_perform ends with SECONDARY: 0
03:01:01.085985 == Info: STATE: DO => DOING handle 0x56c8168; line 1614 (connection #0)
03:01:01.086919 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:01.087095 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||42623|).
03:01:01.092927 == Info: Trying 127.0.0.1:42623...
03:01:01.092992 == Info: TCP_NODELAY set
03:01:01.093708 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 42623
03:01:01.094933 == Info: FTP 0x577dbc0 (line 1977) state change from PASV to STOP
03:01:01.095584 == Info: DO phase is complete2
03:01:01.096038 == Info: STATE: DOING => DO_MORE handle 0x56c8168; line 1699 (connection #0)
03:01:01.096775 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:01.096999 == Info: DO-MORE connected phase starts
03:01:01.098040 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:01.098163 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:01.098520 == Info: FTP 0x577dbc0 (line 3418) state change from STOP to STOR_TYPE
03:01:01.098908 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:01.099054 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:01.100394 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:01.100519 => Send header, 10 bytes (0xa)
0000: STOR 401
03:01:01.100863 == Info: FTP 0x577dbc0 (line 1651) state change from STOR_TYPE to STOR
03:01:01.102637 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:01.102780 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:01.104636 == Info: FTP 0x577dbc0 (line 477) state change from STOR to STOP
03:01:01.105371 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8168; line 1724 (connection #0)
03:01:01.105820 == Info: STATE: DO_DONE => PERFORM handle 0x56c8168; line 1749 (connection #0)
03:01:01.110273 => Send data, 52 bytes (0x34)
0000: data. to. see.that FTPS.works. so does it?.
03:01:01.110977 == Info: We are completely uploaded and fine
03:01:01.113458 == Info: STATE: PERFORM => DONE handle 0x56c8168; line 1939 (connection #0)
03:01:01.113794 == Info: multi_done
03:01:01.116661 == Info: Remembering we are in dir ""
03:01:01.144515 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:01.144902 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:01.154486 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:01.156736 == Info: Expire cleared (transfer 0x56c8168)
=== End of file trace401
=== Start of file upload.401
data
to
see
that FTPS
works
so does it?
=== End of file upload.401
=== Start of file valgrind401
==23288== Invalid read of size 8
==23288== at 0x53315A5: check_free (dlerror.c:188)
==23288== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23288== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23288== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23288== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23288== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23288== by 0x4D60EB9: exit (exit.c:139)
==23288== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23288== Address 0x5b31af0 is 0 bytes after a block of size 32 alloc'd
==23288== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23288== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23288== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23288== by 0x24B104: err_get_state (err.c:210)
==23288== by 0x24BCDA: ERR_put_error (err.c:636)
==23288== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23288== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23288== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23288== by 0x270326: by_file_ctrl (by_file.c:111)
==23288== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23288== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23288== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23288== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23288== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23288== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23288== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23288==
==23288== Invalid free() / delete / delete[] / realloc()
==23288== at 0x48369AB: free (vg_replace_malloc.c:540)
==23288== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23288== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23288== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23288== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23288== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23288== by 0x4D60EB9: exit (exit.c:139)
==23288== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23288== Address 0x5b31ad8 is 8 bytes inside a block of size 32 alloc'd
==23288== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23288== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23288== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23288== by 0x24B104: err_get_state (err.c:210)
==23288== by 0x24BCDA: ERR_put_error (err.c:636)
==23288== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23288== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23288== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23288== by 0x270326: by_file_ctrl (by_file.c:111)
==23288== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23288== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23288== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23288== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23288== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23288== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23288== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23288==
==23288== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23288== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23288== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23288== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23288== by 0x24B104: err_get_state (err.c:210)
==23288== by 0x24BCDA: ERR_put_error (err.c:636)
==23288== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23288== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23288== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23288== by 0x270326: by_file_ctrl (by_file.c:111)
==23288== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23288== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23288== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23288== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23288== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23288== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23288== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23288==
=== End of file valgrind401
test 0402...[FTP SSL required on non-SSL server]
--p----emv- OK (348 out of 1250, remaining: 24:52, took 1.1s, duration: 09:35)
test 0403...[FTPS with CCC not supported by server]
goto problem 24
valgrind ERROR ==23299== Invalid read of size 8
==23299== at 0x53315A5: check_free (dlerror.c:188)
==23299== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23299== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23299== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23299== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23299== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23299== by 0x4D60EB9: exit (exit.c:139)
==23299== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23299== Address 0x5af4fe0 is 0 bytes after a block of size 32 alloc'd
==23299== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23299== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23299== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23299== by 0x24B104: err_get_state (err.c:210)
==23299== by 0x24BCDA: ERR_put_error (err.c:636)
==23299== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23299== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23299== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23299== by 0x270326: by_file_ctrl (by_file.c:111)
==23299== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23299== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23299== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23299== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23299== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23299== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23299== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23299==
==23299== Invalid free() / delete / delete[] / realloc()
==23299== at 0x48369AB: free (vg_replace_malloc.c:540)
==23299== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23299== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23299== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23299== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23299== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23299== by 0x4D60EB9: exit (exit.c:139)
==23299== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23299== Address 0x5af4fc8 is 8 bytes inside a block of size 32 alloc'd
==23299== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23299== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23299== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23299== by 0x24B104: err_get_state (err.c:210)
==23299== by 0x24BCDA: ERR_put_error (err.c:636)
==23299== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23299== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23299== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23299== by 0x270326: by_file_ctrl (by_file.c:111)
==23299== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23299== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23299== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23299== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23299== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23299== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23299== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23299==
==23299== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23299== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23299== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23299== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23299== by 0x24B104: err_get_state (err.c:210)
==23299== by 0x24BCDA: ERR_put_error (err.c:636)
==23299== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23299== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23299== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23299== by 0x270326: by_file_ctrl (by_file.c:111)
==23299== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23299== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23299== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23299== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23299== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23299== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23299== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23299==
== Contents of files in the log/ dir after test 403
=== Start of file curl403.out
total 20
drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
-r--r--r-- 1 0 1 35 Jul 16 1996 README
lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
=== End of file curl403.out
=== Start of file ftp_server.log
03:01:05.367539 ====> Client connect
03:01:05.367664 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:05.454147 < "USER anonymous"
03:01:05.454205 > "331 We are happy you popped in![CR][LF]"
03:01:05.465068 < "PASS ftp@example.com"
03:01:05.465107 > "230 Welcome you silly person[CR][LF]"
03:01:05.467733 < "PBSZ 0"
03:01:05.467801 > "500 PBSZ not implemented[CR][LF]"
03:01:05.469185 < "PROT C"
03:01:05.469223 > "500 PROT not implemented[CR][LF]"
03:01:05.470657 < "CCC"
03:01:05.470680 CCC wasn't handled
03:01:05.470702 > "500 CCC is not dealt with![CR][LF]"
03:01:05.472085 < "PWD"
03:01:05.472122 > "257 "/" is current directory[CR][LF]"
03:01:05.478699 < "EPSV"
03:01:05.478726 ====> Passive DATA channel requested by client
03:01:05.478738 DATA sockfilt for passive data channel starting...
03:01:05.480312 DATA sockfilt for passive data channel started (pid 23301)
03:01:05.480429 DATA sockfilt for passive data channel listens on port 37713
03:01:05.480466 > "229 Entering Passive Mode (|||37713|)[LF]"
03:01:05.480488 Client has been notified that DATA conn will be accepted on port 37713
03:01:05.487757 Client connects to port 37713
03:01:05.487795 ====> Client established passive DATA connection on port 37713
03:01:05.493073 < "TYPE A"
03:01:05.493106 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:05.495252 < "LIST"
03:01:05.495282 > "150 here comes a directory[CR][LF]"
03:01:05.495313 pass LIST data on data connection
03:01:05.495399 =====> Closing passive DATA connection...
03:01:05.495415 Server disconnects passive DATA connection
03:01:05.495890 DATA sockfilt for passive data channel quits (pid 23302)
03:01:05.495915 =====> Closed passive DATA connection
03:01:05.495943 > "226 ASCII transfer complete[CR][LF]"
03:01:05.580100 < "QUIT"
03:01:05.580143 > "221 bye bye baby[CR][LF]"
03:01:05.584370 MAIN sockfilt said DISC
03:01:05.584405 ====> Client disconnected
03:01:05.584447 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:05.468260 ====> Client connect
03:01:05.468461 Received DATA (on stdin)
03:01:05.468477 > 160 bytes data, server => client
03:01:05.468494 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:05.468506 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:05.468516 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:05.554811 < 16 bytes data, client => server
03:01:05.554849 'USER anonymous\r\n'
03:01:05.555029 Received DATA (on stdin)
03:01:05.555053 > 33 bytes data, server => client
03:01:05.555068 '331 We are happy you popped in!\r\n'
03:01:05.565821 < 22 bytes data, client => server
03:01:05.565845 'PASS ftp@example.com\r\n'
03:01:05.565933 Received DATA (on stdin)
03:01:05.565956 > 30 bytes data, server => client
03:01:05.565971 '230 Welcome you silly person\r\n'
03:01:05.568202 < 8 bytes data, client => server
03:01:05.568486 'PBSZ 0\r\n'
03:01:05.568606 Received DATA (on stdin)
03:01:05.568617 > 26 bytes data, server => client
03:01:05.568628 '500 PBSZ not implemented\r\n'
03:01:05.569938 < 8 bytes data, client => server
03:01:05.569951 'PROT C\r\n'
03:01:05.570028 Received DATA (on stdin)
03:01:05.570038 > 26 bytes data, server => client
03:01:05.570052 '500 PROT not implemented\r\n'
03:01:05.571413 < 5 bytes data, client => server
03:01:05.571425 'CCC\r\n'
03:01:05.571508 Received DATA (on stdin)
03:01:05.571518 > 28 bytes data, server => client
03:01:05.571528 '500 CCC is not dealt with!\r\n'
03:01:05.572822 < 5 bytes data, client => server
03:01:05.572834 'PWD\r\n'
03:01:05.572929 Received DATA (on stdin)
03:01:05.572939 > 30 bytes data, server => client
03:01:05.572950 '257 "/" is current directory\r\n'
03:01:05.579435 < 6 bytes data, client => server
03:01:05.579447 'EPSV\r\n'
03:01:05.581271 Received DATA (on stdin)
03:01:05.581293 > 38 bytes data, server => client
03:01:05.581312 '229 Entering Passive Mode (|||37713|)\n'
03:01:05.593810 < 8 bytes data, client => server
03:01:05.593838 'TYPE A\r\n'
03:01:05.593912 Received DATA (on stdin)
03:01:05.593931 > 33 bytes data, server => client
03:01:05.593949 '200 I modify TYPE as you wanted\r\n'
03:01:05.596004 < 6 bytes data, client => server
03:01:05.596029 'LIST\r\n'
03:01:05.596089 Received DATA (on stdin)
03:01:05.596108 > 28 bytes data, server => client
03:01:05.596124 '150 here comes a directory\r\n'
03:01:05.596751 Received DATA (on stdin)
03:01:05.596770 > 29 bytes data, server => client
03:01:05.596786 '226 ASCII transfer complete\r\n'
03:01:05.680823 < 6 bytes data, client => server
03:01:05.680854 'QUIT\r\n'
03:01:05.680948 Received DATA (on stdin)
03:01:05.680967 > 18 bytes data, server => client
03:01:05.680984 '221 bye bye baby\r\n'
03:01:05.685149 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:05.580980 Running IPv4 version
03:01:05.581054 Listening on port 37713
03:01:05.581081 Wrote pid 23302 to ./.ftp_sockdata.pid
03:01:05.581096 Received PING (on stdin)
03:01:05.581174 Received PORT (on stdin)
03:01:05.588513 ====> Client connect
03:01:05.596175 Received DATA (on stdin)
03:01:05.596198 > 10 bytes data, server => client
03:01:05.596212 'total 20\r\n'
03:01:05.596240 Received DATA (on stdin)
03:01:05.596251 > 57 bytes data, server => client
03:01:05.596263 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:01:05.596279 Received DATA (on stdin)
03:01:05.596289 > 58 bytes data, server => client
03:01:05.596301 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:01:05.596316 Received DATA (on stdin)
03:01:05.596325 > 61 bytes data, server => client
03:01:05.596337 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:01:05.596344 '\n'
03:01:05.596358 Received DATA (on stdin)
03:01:05.596367 > 62 bytes data, server => client
03:01:05.596379 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:01:05.596386 '\n'
03:01:05.596400 Received DATA (on stdin)
03:01:05.596409 > 70 bytes data, server => client
03:01:05.596421 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:01:05.596429 'usr/bin\r\n'
03:01:05.596443 Received DATA (on stdin)
03:01:05.596453 > 59 bytes data, server => client
03:01:05.596465 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:01:05.596479 Received DATA (on stdin)
03:01:05.596488 > 69 bytes data, server => client
03:01:05.596500 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:01:05.596508 'd.html\r\n'
03:01:05.596522 Received DATA (on stdin)
03:01:05.596531 > 59 bytes data, server => client
03:01:05.596542 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:01:05.596556 Received DATA (on stdin)
03:01:05.596565 > 59 bytes data, server => client
03:01:05.596577 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:01:05.596591 Received DATA (on stdin)
03:01:05.596601 > 59 bytes data, server => client
03:01:05.596612 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:01:05.596627 Received DISC (on stdin)
03:01:05.596638 ====> Client forcibly disconnected
03:01:05.596691 Received QUIT (on stdin)
03:01:05.596712 quits
03:01:05.596732 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
CCC
PWD
EPSV
TYPE A
LIST
QUIT
=== End of file server.input
=== Start of file stderr403
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 623 0 623 0 0 274 0 --:--:-- 0:00:02 --:--:-- 284
=== End of file stderr403
=== Start of file trace403
03:01:03.374722 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
03:01:03.429351 == Info: Added connection 0. The cache now contains 1 members
03:01:03.447062 == Info: Trying 127.0.0.1:8993...
03:01:03.447667 == Info: TCP_NODELAY set
03:01:03.452769 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
03:01:03.464292 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:03.464851 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
03:01:03.465906 == Info: Marked for [keep alive]: FTP default
03:01:04.946875 == Info: successfully set certificate verify locations:
03:01:04.947140 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:05.063726 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:05.068931 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:05.068988 => Send SSL data, 126 bytes (0x7e)
0000: ...z....co....J...2.S<T7.[..O....V..z.....+./.,.0...............
0040: ../.5.....3...................................................
03:01:05.086337 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:05.092100 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:05.092155 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....|.m.......e...~.........f.X.d. q..N.Q1.....R..`Z.?.....:
0040: =......./................
03:01:05.137035 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:05.137477 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:05.137530 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:01:05.236668 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:05.236934 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:05.236988 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..z.-z~p.;.|....:$.;(k..YI..}y\[5K..h[.0.[v...Q<....I.\.
0040: n}.X{..?%......k.H.m.d.L*....;A...Q....9..x..u.^#.....93...W}=..
0080: ...TFTO...R..Tg.@Kb$n..Y...0.1....9...(..v.<.....".d....4.K....P
00c0: .*.....(DM .QB...`..=...Y90.~].._.t...b@..QR..k....[7F]....~.oOi...
0100: :L....4..1.a..~..+Z...{.t.np.W_...6....=.%qm).5._L.;lz..W<.E.v..
0140: ...Y.-......Q
03:01:05.305970 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:05.306285 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:05.306341 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:05.420938 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:05.421171 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:05.421224 => Send SSL data, 70 bytes (0x46)
0000: ...BA.<l.I..}Z.Y..Xe....1...f.+...~U..N7.^..0.0g>........w;$G_.6
0040: ..ZLLO
03:01:05.433151 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:05.433725 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:05.433780 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:05.454988 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:05.455044 => Send SSL data, 16 bytes (0x10)
0000: ....A..u..%U.[CM
03:01:05.467422 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:05.469993 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:05.471079 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:05.471134 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:05.473572 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:05.479196 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:05.479249 <= Recv SSL data, 16 bytes (0x10)
0000: ......5.....u.Iw
03:01:05.507408 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:05.509690 == Info: Server certificate:
03:01:05.517151 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:05.523256 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:05.524201 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:05.525126 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:05.525989 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:05.527472 == Info: FTP 0x57410b0 (line 3092) state change from STOP to WAIT220
03:01:05.533456 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:05.541129 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:05.544630 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:05.544826 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:05.545010 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:05.545194 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:05.553118 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:05.556170 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:05.556945 == Info: FTP 0x57410b0 (line 792) state change from WAIT220 to USER
03:01:05.557697 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c52c8; line 1553 (connection #0)
03:01:05.563753 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:05.564418 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:05.565662 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:05.565783 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:05.566222 == Info: FTP 0x57410b0 (line 2520) state change from USER to PASS
03:01:05.567228 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:05.567368 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:05.568060 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:05.568182 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:05.568847 == Info: FTP 0x57410b0 (line 2496) state change from PASS to PBSZ
03:01:05.569138 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:05.569275 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:05.569805 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:05.569923 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:05.570312 == Info: FTP 0x57410b0 (line 2709) state change from PBSZ to PROT
03:01:05.570550 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:05.570686 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:05.571281 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:05.571398 => Send header, 5 bytes (0x5)
0000: CCC
03:01:05.571729 == Info: FTP 0x57410b0 (line 2728) state change from PROT to CCC
03:01:05.571977 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:05.572113 <= Recv header, 28 bytes (0x1c)
0000: 500 CCC is not dealt with
03:01:05.572690 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:05.572807 => Send header, 5 bytes (0x5)
0000: PWD
03:01:05.573139 == Info: FTP 0x57410b0 (line 804) state change from CCC to PWD
03:01:05.573457 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:05.573592 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:05.574704 == Info: Entry path is '/'
03:01:05.574925 == Info: FTP 0x57410b0 (line 2844) state change from PWD to STOP
03:01:05.575088 == Info: protocol connect phase DONE
03:01:05.575332 == Info: STATE: PROTOCONNECT => DO handle 0x56c52c8; line 1572 (connection #0)
03:01:05.577220 == Info: DO phase starts
03:01:05.579296 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:05.579419 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:05.579775 == Info: FTP 0x57410b0 (line 1330) state change from STOP to PASV
03:01:05.579949 == Info: Connect data stream passively
03:01:05.580717 == Info: ftp_perform ends with SECONDARY: 0
03:01:05.581443 == Info: STATE: DO => DOING handle 0x56c52c8; line 1614 (connection #0)
03:01:05.582377 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:05.582527 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||37713|).
03:01:05.588328 == Info: Trying 127.0.0.1:37713...
03:01:05.588393 == Info: TCP_NODELAY set
03:01:05.589102 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 37713
03:01:05.590246 == Info: FTP 0x57410b0 (line 1977) state change from PASV to STOP
03:01:05.590897 == Info: DO phase is complete2
03:01:05.591337 == Info: STATE: DOING => DO_MORE handle 0x56c52c8; line 1699 (connection #0)
03:01:05.592072 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:05.592295 == Info: DO-MORE connected phase starts
03:01:05.593643 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:05.593770 => Send header, 8 bytes (0x8)
0000: TYPE A
03:01:05.594132 == Info: FTP 0x57410b0 (line 3418) state change from STOP to LIST_TYPE
03:01:05.594505 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:05.594647 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:05.595865 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:05.595986 => Send header, 6 bytes (0x6)
0000: LIST
03:01:05.596549 == Info: FTP 0x57410b0 (line 1486) state change from LIST_TYPE to LIST
03:01:05.598134 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:05.598273 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:01:05.598859 == Info: Maxdownload = -1
03:01:05.600193 == Info: FTP 0x57410b0 (line 477) state change from LIST to STOP
03:01:05.600895 == Info: STATE: DO_MORE => DO_DONE handle 0x56c52c8; line 1724 (connection #0)
03:01:05.601281 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
03:01:05.604723 <= Recv data, 623 bytes (0x26f)
0000: total 20
000a: drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
0043: drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
007d: drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
00ba: -r--r--r-- 1 0 1 35 Jul 16 1996 README
00f8: lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr
0138: /bin
013e: dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
0179: drwxrwxrwx 2 98 98 512 May 29 16:04 download.h
01b9: tml
01be: dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
01f9: drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
0234: dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
03:01:05.613233 == Info: nread <= 0, server closed connection, bailing
03:01:05.614396 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #0)
03:01:05.614716 == Info: multi_done
03:01:05.618125 == Info: Remembering we are in dir ""
03:01:05.640421 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:05.640630 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:01:05.650512 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:05.654104 == Info: Expire cleared (transfer 0x56c52c8)
=== End of file trace403
=== Start of file valgrind403
==23299== Invalid read of size 8
==23299== at 0x53315A5: check_free (dlerror.c:188)
==23299== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23299== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23299== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23299== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23299== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23299== by 0x4D60EB9: exit (exit.c:139)
==23299== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23299== Address 0x5af4fe0 is 0 bytes after a block of size 32 alloc'd
==23299== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23299== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23299== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23299== by 0x24B104: err_get_state (err.c:210)
==23299== by 0x24BCDA: ERR_put_error (err.c:636)
==23299== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23299== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23299== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23299== by 0x270326: by_file_ctrl (by_file.c:111)
==23299== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23299== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23299== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23299== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23299== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23299== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23299== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23299==
==23299== Invalid free() / delete / delete[] / realloc()
==23299== at 0x48369AB: free (vg_replace_malloc.c:540)
==23299== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23299== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23299== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23299== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23299== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23299== by 0x4D60EB9: exit (exit.c:139)
==23299== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23299== Address 0x5af4fc8 is 8 bytes inside a block of size 32 alloc'd
==23299== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23299== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23299== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23299== by 0x24B104: err_get_state (err.c:210)
==23299== by 0x24BCDA: ERR_put_error (err.c:636)
==23299== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23299== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23299== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23299== by 0x270326: by_file_ctrl (by_file.c:111)
==23299== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23299== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23299== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23299== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23299== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23299== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23299== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23299==
==23299== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23299== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23299== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23299== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23299== by 0x24B104: err_get_state (err.c:210)
==23299== by 0x24BCDA: ERR_put_error (err.c:636)
==23299== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23299== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23299== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23299== by 0x270326: by_file_ctrl (by_file.c:111)
==23299== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23299== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23299== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23299== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23299== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23299== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23299== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23299==
=== End of file valgrind403
test 0404...[FTPS with invalid cacert]
goto problem 25
valgrind ERROR ==23305== Invalid read of size 8
==23305== at 0x53315A5: check_free (dlerror.c:188)
==23305== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23305== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23305== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23305== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23305== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23305== by 0x4D60EB9: exit (exit.c:139)
==23305== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23305== Address 0x5755d20 is 0 bytes after a block of size 32 alloc'd
==23305== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23305== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23305== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23305== by 0x24B104: err_get_state (err.c:210)
==23305== by 0x24BCDA: ERR_put_error (err.c:636)
==23305== by 0x23B5AB: BIO_new_file (file.c:99)
==23305== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==23305== by 0x270326: by_file_ctrl (by_file.c:111)
==23305== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23305== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23305== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23305== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23305== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23305== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23305== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23305== by 0x1D3A68: ftp_connect (ftp.c:3083)
==23305==
==23305== Invalid free() / delete / delete[] / realloc()
==23305== at 0x48369AB: free (vg_replace_malloc.c:540)
==23305== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23305== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23305== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23305== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23305== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23305== by 0x4D60EB9: exit (exit.c:139)
==23305== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23305== Address 0x5755d08 is 8 bytes inside a block of size 32 alloc'd
==23305== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23305== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23305== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23305== by 0x24B104: err_get_state (err.c:210)
==23305== by 0x24BCDA: ERR_put_error (err.c:636)
==23305== by 0x23B5AB: BIO_new_file (file.c:99)
==23305== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==23305== by 0x270326: by_file_ctrl (by_file.c:111)
==23305== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23305== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23305== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23305== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23305== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23305== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23305== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23305== by 0x1D3A68: ftp_connect (ftp.c:3083)
==23305==
==23305== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==23305== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23305== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23305== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23305== by 0x24B104: err_get_state (err.c:210)
==23305== by 0x24BCDA: ERR_put_error (err.c:636)
==23305== by 0x23B5AB: BIO_new_file (file.c:99)
==23305== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==23305== by 0x270326: by_file_ctrl (by_file.c:111)
==23305== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23305== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23305== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23305== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23305== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23305== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23305== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23305== by 0x1D3A68: ftp_connect (ftp.c:3083)
==23305==
== Contents of files in the log/ dir after test 404
=== Start of file stderr404
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (77) error setting certificate verify locations:
CAfile: moooo
CApath: none
=== End of file stderr404
=== Start of file trace404
03:01:06.733640 == Info: STATE: INIT => CONNECT handle 0x56c5768; line 1362 (connection #-5000)
03:01:06.791596 == Info: Added connection 0. The cache now contains 1 members
03:01:06.809347 == Info: Trying 127.0.0.1:8993...
03:01:06.809952 == Info: TCP_NODELAY set
03:01:06.815174 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5768; line 1418 (connection #0)
03:01:06.826761 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:06.827324 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5768; line 1538 (connection #0)
03:01:06.828388 == Info: Marked for [keep alive]: FTP default
03:01:06.886300 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
03:01:06.887141 == Info: multi_done
03:01:06.889287 == Info: Marked for [closure]: FTP ended with bad error code
03:01:06.897469 == Info: Closing connection 0
03:01:06.916949 == Info: The cache now contains 0 members
03:01:06.924697 == Info: Expire cleared (transfer 0x56c5768)
=== End of file trace404
=== Start of file valgrind404
==23305== Invalid read of size 8
==23305== at 0x53315A5: check_free (dlerror.c:188)
==23305== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23305== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23305== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23305== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23305== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23305== by 0x4D60EB9: exit (exit.c:139)
==23305== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23305== Address 0x5755d20 is 0 bytes after a block of size 32 alloc'd
==23305== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23305== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23305== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23305== by 0x24B104: err_get_state (err.c:210)
==23305== by 0x24BCDA: ERR_put_error (err.c:636)
==23305== by 0x23B5AB: BIO_new_file (file.c:99)
==23305== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==23305== by 0x270326: by_file_ctrl (by_file.c:111)
==23305== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23305== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23305== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23305== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23305== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23305== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23305== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23305== by 0x1D3A68: ftp_connect (ftp.c:3083)
==23305==
==23305== Invalid free() / delete / delete[] / realloc()
==23305== at 0x48369AB: free (vg_replace_malloc.c:540)
==23305== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23305== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23305== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23305== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23305== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23305== by 0x4D60EB9: exit (exit.c:139)
==23305== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23305== Address 0x5755d08 is 8 bytes inside a block of size 32 alloc'd
==23305== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23305== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23305== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23305== by 0x24B104: err_get_state (err.c:210)
==23305== by 0x24BCDA: ERR_put_error (err.c:636)
==23305== by 0x23B5AB: BIO_new_file (file.c:99)
==23305== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==23305== by 0x270326: by_file_ctrl (by_file.c:111)
==23305== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23305== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23305== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23305== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23305== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23305== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23305== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23305== by 0x1D3A68: ftp_connect (ftp.c:3083)
==23305==
==23305== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==23305== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23305== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23305== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23305== by 0x24B104: err_get_state (err.c:210)
==23305== by 0x24BCDA: ERR_put_error (err.c:636)
==23305== by 0x23B5AB: BIO_new_file (file.c:99)
==23305== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==23305== by 0x270326: by_file_ctrl (by_file.c:111)
==23305== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23305== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23305== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23305== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23305== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23305== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23305== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23305== by 0x1D3A68: ftp_connect (ftp.c:3083)
==23305==
=== End of file valgrind404
test 0405...[FTPS operation to FTP port]
goto problem 26
valgrind ERROR ==23309== Invalid read of size 8
==23309== at 0x53315A5: check_free (dlerror.c:188)
==23309== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23309== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23309== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23309== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23309== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23309== by 0x4D60EB9: exit (exit.c:139)
==23309== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23309== Address 0x5af5050 is 0 bytes after a block of size 32 alloc'd
==23309== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23309== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23309== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23309== by 0x24B104: err_get_state (err.c:210)
==23309== by 0x24BCDA: ERR_put_error (err.c:636)
==23309== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23309== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23309== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23309== by 0x270326: by_file_ctrl (by_file.c:111)
==23309== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23309== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23309== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23309== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23309== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23309== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23309== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23309==
==23309== Invalid free() / delete / delete[] / realloc()
==23309== at 0x48369AB: free (vg_replace_malloc.c:540)
==23309== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23309== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23309== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23309== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23309== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23309== by 0x4D60EB9: exit (exit.c:139)
==23309== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23309== Address 0x5af5038 is 8 bytes inside a block of size 32 alloc'd
==23309== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23309== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23309== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23309== by 0x24B104: err_get_state (err.c:210)
==23309== by 0x24BCDA: ERR_put_error (err.c:636)
==23309== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23309== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23309== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23309== by 0x270326: by_file_ctrl (by_file.c:111)
==23309== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23309== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23309== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23309== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23309== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23309== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23309== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23309==
==23309== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==23309== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23309== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23309== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23309== by 0x24B104: err_get_state (err.c:210)
==23309== by 0x24BCDA: ERR_put_error (err.c:636)
==23309== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23309== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23309== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23309== by 0x270326: by_file_ctrl (by_file.c:111)
==23309== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23309== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23309== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23309== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23309== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23309== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23309== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23309==
== Contents of files in the log/ dir after test 405
=== Start of file ftp_server.log
03:01:07.899264 ====> Client connect
03:01:07.899370 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:09.681273 MAIN sockfilt said DISC
03:01:09.681319 ====> Client disconnected
03:01:09.681362 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:07.999996 ====> Client connect
03:01:08.000167 Received DATA (on stdin)
03:01:08.000186 > 160 bytes data, server => client
03:01:08.000206 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:08.000222 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:08.000233 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:09.676301 < 131 bytes data, client => server
03:01:09.676345 '....~...z..L1.{..>4.FqS.\....v...0Z.g....2.....+./.,.0..... .'
03:01:09.676364 '..\n......./.5.\n...3..........\n...........[0B].....\r.........'
03:01:09.676378 '.............'
03:01:09.695090 < 7 bytes data, client => server
03:01:09.695119 '......F'
03:01:09.782012 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file server.input
[16][03][01]
[C0][14]
[01]


=== End of file server.input
=== Start of file stderr405
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (35) error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
=== End of file stderr405
=== Start of file trace405
03:01:07.923584 == Info: STATE: INIT => CONNECT handle 0x56c52f8; line 1362 (connection #-5000)
03:01:07.979179 == Info: Added connection 0. The cache now contains 1 members
03:01:07.996861 == Info: Trying 127.0.0.1:8992...
03:01:07.997466 == Info: TCP_NODELAY set
03:01:08.002039 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52f8; line 1418 (connection #0)
03:01:08.014013 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8992 (#0)
03:01:08.014655 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52f8; line 1538 (connection #0)
03:01:08.015720 == Info: Marked for [keep alive]: FTP default
03:01:09.550157 == Info: successfully set certificate verify locations:
03:01:09.550423 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:09.665622 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:09.670834 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:09.670896 => Send SSL data, 126 bytes (0x7e)
0000: ...z..L1.{..>4.FqS.\....v...0Z.g....2.....+./.,.0...............
0040: ../.5.....3...................................................
03:01:09.693478 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:09.696742 == Info: TLSv1.2 (OUT), TLS alert, protocol version (582):
03:01:09.696800 => Send SSL data, 2 bytes (0x2)
0000: .F
03:01:09.705569 == Info: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
03:01:09.706424 == Info: multi_done
03:01:09.708571 == Info: Marked for [closure]: FTP ended with bad error code
03:01:09.717471 == Info: Closing connection 0
03:01:09.784920 == Info: The cache now contains 0 members
03:01:09.792663 == Info: Expire cleared (transfer 0x56c52f8)
=== End of file trace405
=== Start of file valgrind405
==23309== Invalid read of size 8
==23309== at 0x53315A5: check_free (dlerror.c:188)
==23309== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23309== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23309== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23309== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23309== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23309== by 0x4D60EB9: exit (exit.c:139)
==23309== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23309== Address 0x5af5050 is 0 bytes after a block of size 32 alloc'd
==23309== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23309== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23309== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23309== by 0x24B104: err_get_state (err.c:210)
==23309== by 0x24BCDA: ERR_put_error (err.c:636)
==23309== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23309== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23309== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23309== by 0x270326: by_file_ctrl (by_file.c:111)
==23309== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23309== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23309== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23309== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23309== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23309== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23309== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23309==
==23309== Invalid free() / delete / delete[] / realloc()
==23309== at 0x48369AB: free (vg_replace_malloc.c:540)
==23309== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23309== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23309== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23309== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23309== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23309== by 0x4D60EB9: exit (exit.c:139)
==23309== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23309== Address 0x5af5038 is 8 bytes inside a block of size 32 alloc'd
==23309== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23309== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23309== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23309== by 0x24B104: err_get_state (err.c:210)
==23309== by 0x24BCDA: ERR_put_error (err.c:636)
==23309== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23309== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23309== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23309== by 0x270326: by_file_ctrl (by_file.c:111)
==23309== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23309== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23309== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23309== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23309== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23309== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23309== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23309==
==23309== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==23309== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23309== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23309== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23309== by 0x24B104: err_get_state (err.c:210)
==23309== by 0x24BCDA: ERR_put_error (err.c:636)
==23309== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23309== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23309== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23309== by 0x270326: by_file_ctrl (by_file.c:111)
==23309== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23309== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23309== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23309== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23309== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23309== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23309== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23309==
=== End of file valgrind405
test 0406...[FTPS dir list, PORT with specified IP]
goto problem 27
valgrind ERROR ==23312== Invalid read of size 8
==23312== at 0x53315A5: check_free (dlerror.c:188)
==23312== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23312== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23312== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23312== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23312== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23312== by 0x4D60EB9: exit (exit.c:139)
==23312== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23312== Address 0x5af5910 is 0 bytes after a block of size 32 alloc'd
==23312== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23312== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23312== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23312== by 0x24B104: err_get_state (err.c:210)
==23312== by 0x24BCDA: ERR_put_error (err.c:636)
==23312== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23312== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23312== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23312== by 0x270326: by_file_ctrl (by_file.c:111)
==23312== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23312== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23312== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23312== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23312== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23312== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23312== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23312==
==23312== Invalid free() / delete / delete[] / realloc()
==23312== at 0x48369AB: free (vg_replace_malloc.c:540)
==23312== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23312== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23312== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23312== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23312== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23312== by 0x4D60EB9: exit (exit.c:139)
==23312== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23312== Address 0x5af58f8 is 8 bytes inside a block of size 32 alloc'd
==23312== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23312== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23312== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23312== by 0x24B104: err_get_state (err.c:210)
==23312== by 0x24BCDA: ERR_put_error (err.c:636)
==23312== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23312== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23312== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23312== by 0x270326: by_file_ctrl (by_file.c:111)
==23312== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23312== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23312== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23312== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23312== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23312== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23312== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23312==
==23312== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23312== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23312== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23312== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23312== by 0x24B104: err_get_state (err.c:210)
==23312== by 0x24BCDA: ERR_put_error (err.c:636)
==23312== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23312== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23312== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23312== by 0x270326: by_file_ctrl (by_file.c:111)
==23312== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23312== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23312== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23312== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23312== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23312== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23312== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23312==
== Contents of files in the log/ dir after test 406
=== Start of file curl406.out
total 20
drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
-r--r--r-- 1 0 1 35 Jul 16 1996 README
lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
=== End of file curl406.out
=== Start of file ftp_server.log
03:01:12.813936 ====> Client connect
03:01:12.814038 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:12.903475 < "USER anonymous"
03:01:12.903532 > "331 We are happy you popped in![CR][LF]"
03:01:12.914746 < "PASS ftp@example.com"
03:01:12.914800 > "230 Welcome you silly person[CR][LF]"
03:01:12.917109 < "PBSZ 0"
03:01:12.917147 > "500 PBSZ not implemented[CR][LF]"
03:01:12.918475 < "PROT C"
03:01:12.918505 > "500 PROT not implemented[CR][LF]"
03:01:12.919955 < "PWD"
03:01:12.919991 > "257 "/" is current directory[CR][LF]"
03:01:12.940778 < "EPRT |1|127.0.0.1|46397|"
03:01:12.940814 ====> Active DATA channel requested by client
03:01:12.940845 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:01:12.940862 DATA sockfilt for active data channel starting...
03:01:12.942382 DATA sockfilt for active data channel started (pid 23314)
03:01:12.942414 ====> Active DATA channel connected to client port 46397
03:01:12.945757 < "TYPE A"
03:01:12.945800 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:12.948040 < "LIST"
03:01:12.948078 > "150 here comes a directory[CR][LF]"
03:01:12.948104 pass LIST data on data connection
03:01:12.948184 =====> Closing active DATA connection...
03:01:12.948199 Server disconnects active DATA connection
03:01:12.948669 DATA sockfilt for active data channel quits (pid 23315)
03:01:12.948695 =====> Closed active DATA connection
03:01:12.948722 > "226 ASCII transfer complete[CR][LF]"
03:01:13.031305 < "QUIT"
03:01:13.031347 > "221 bye bye baby[CR][LF]"
03:01:13.035633 MAIN sockfilt said DISC
03:01:13.035669 ====> Client disconnected
03:01:13.035731 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:12.914663 ====> Client connect
03:01:12.914836 Received DATA (on stdin)
03:01:12.914856 > 160 bytes data, server => client
03:01:12.914875 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:12.914890 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:12.914901 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:13.004145 < 16 bytes data, client => server
03:01:13.004177 'USER anonymous\r\n'
03:01:13.004334 Received DATA (on stdin)
03:01:13.004346 > 33 bytes data, server => client
03:01:13.004357 '331 We are happy you popped in!\r\n'
03:01:13.015433 < 22 bytes data, client => server
03:01:13.015466 'PASS ftp@example.com\r\n'
03:01:13.015604 Received DATA (on stdin)
03:01:13.015615 > 30 bytes data, server => client
03:01:13.015625 '230 Welcome you silly person\r\n'
03:01:13.017852 < 8 bytes data, client => server
03:01:13.017882 'PBSZ 0\r\n'
03:01:13.017968 Received DATA (on stdin)
03:01:13.017982 > 26 bytes data, server => client
03:01:13.017996 '500 PBSZ not implemented\r\n'
03:01:13.019241 < 8 bytes data, client => server
03:01:13.019264 'PROT C\r\n'
03:01:13.019326 Received DATA (on stdin)
03:01:13.019339 > 26 bytes data, server => client
03:01:13.019353 '500 PROT not implemented\r\n'
03:01:13.020717 < 5 bytes data, client => server
03:01:13.020733 'PWD\r\n'
03:01:13.020812 Received DATA (on stdin)
03:01:13.020825 > 30 bytes data, server => client
03:01:13.020840 '257 "/" is current directory\r\n'
03:01:13.041482 < 26 bytes data, client => server
03:01:13.041507 'EPRT |1|127.0.0.1|46397|\r\n'
03:01:13.041666 Received DATA (on stdin)
03:01:13.041680 > 50 bytes data, server => client
03:01:13.041695 '200 Thanks for dropping by. We contact you later\r\n'
03:01:13.046486 < 8 bytes data, client => server
03:01:13.046512 'TYPE A\r\n'
03:01:13.046605 Received DATA (on stdin)
03:01:13.046625 > 33 bytes data, server => client
03:01:13.046643 '200 I modify TYPE as you wanted\r\n'
03:01:13.048770 < 6 bytes data, client => server
03:01:13.048805 'LIST\r\n'
03:01:13.048886 Received DATA (on stdin)
03:01:13.048906 > 28 bytes data, server => client
03:01:13.048923 '150 here comes a directory\r\n'
03:01:13.049531 Received DATA (on stdin)
03:01:13.049553 > 29 bytes data, server => client
03:01:13.049571 '226 ASCII transfer complete\r\n'
03:01:13.132024 < 6 bytes data, client => server
03:01:13.132056 'QUIT\r\n'
03:01:13.132153 Received DATA (on stdin)
03:01:13.132173 > 18 bytes data, server => client
03:01:13.132189 '221 bye bye baby\r\n'
03:01:13.136379 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:12.043015 ====> Client connect
03:01:12.043093 Running IPv4 version
03:01:12.043104 Connected to port 46397
03:01:12.043136 Wrote pid 23315 to ./.ftp_sockdata.pid
03:01:12.043153 Received PING (on stdin)
03:01:12.048942 Received DATA (on stdin)
03:01:12.048972 > 10 bytes data, server => client
03:01:12.048984 'total 20\r\n'
03:01:12.049007 Received DATA (on stdin)
03:01:12.049018 > 57 bytes data, server => client
03:01:12.049030 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:01:12.049047 Received DATA (on stdin)
03:01:12.049057 > 58 bytes data, server => client
03:01:12.049069 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:01:12.049083 Received DATA (on stdin)
03:01:12.049093 > 61 bytes data, server => client
03:01:12.049104 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:01:12.049112 '\n'
03:01:12.049126 Received DATA (on stdin)
03:01:12.049135 > 62 bytes data, server => client
03:01:12.049147 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:01:12.049154 '\n'
03:01:12.049168 Received DATA (on stdin)
03:01:12.049177 > 70 bytes data, server => client
03:01:12.049189 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:01:12.049197 'usr/bin\r\n'
03:01:12.049212 Received DATA (on stdin)
03:01:12.049221 > 59 bytes data, server => client
03:01:12.049233 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:01:12.049247 Received DATA (on stdin)
03:01:12.049256 > 69 bytes data, server => client
03:01:12.049268 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:01:12.049276 'd.html\r\n'
03:01:12.049290 Received DATA (on stdin)
03:01:12.049299 > 59 bytes data, server => client
03:01:12.049310 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:01:12.049325 Received DATA (on stdin)
03:01:12.049334 > 59 bytes data, server => client
03:01:12.049346 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:01:12.049360 Received DATA (on stdin)
03:01:12.049369 > 59 bytes data, server => client
03:01:12.049380 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:01:12.049394 Received DISC (on stdin)
03:01:12.049405 ====> Client forcibly disconnected
03:01:12.049423 disconnected, no socket to read on
03:01:12.049434 Received QUIT (on stdin)
03:01:12.049441 quits
03:01:12.049457 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
EPRT |1|127.0.0.1|46397|
TYPE A
LIST
QUIT
=== End of file server.input
=== Start of file stderr406
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 623 0 623 0 0 270 0 --:--:-- 0:00:02 --:--:-- 280
=== End of file stderr406
=== Start of file trace406
03:01:10.798757 == Info: STATE: INIT => CONNECT handle 0x56c5768; line 1362 (connection #-5000)
03:01:10.853525 == Info: Added connection 0. The cache now contains 1 members
03:01:10.871448 == Info: Trying 127.0.0.1:8993...
03:01:10.872058 == Info: TCP_NODELAY set
03:01:10.877289 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5768; line 1418 (connection #0)
03:01:10.888826 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:10.889387 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5768; line 1538 (connection #0)
03:01:10.890447 == Info: Marked for [keep alive]: FTP default
03:01:12.390220 == Info: successfully set certificate verify locations:
03:01:12.390489 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:12.506292 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:12.511526 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:12.511585 => Send SSL data, 126 bytes (0x7e)
0000: ...z.....f.)....3S..9..v.r.....%...&s.....+./.,.0...............
0040: ../.5.....3...................................................
03:01:12.528946 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:12.534559 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:12.534615 <= Recv SSL data, 89 bytes (0x59)
0000: ...U......>._.(..2..(P..#%...I...).&.. p.Qr..P.3nQ.y...R........
0040: ..v5q.../................
03:01:12.577978 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:12.578428 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:12.578489 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:01:12.677988 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:12.678237 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:12.678291 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..z.-z~p.;.|....:$.;(k..YI..}y\[5K..h[.0.[v...Q<....I.\.
0040: n}.X{..?%......!.1.2(..,T.m....N.J...............u}.h.......J.!.
0080: ,...........C#\=r............d[c#....VH...........I."s..0.n~..1s
00c0: }.-..p..d..m.z/f2..>7..y....e.lj...@.3p.q.....s./d.)...kVq..~*.8
0100: .z..C...^.....^...=...[.)....rAoX~.o.G;b...6(.[OAa.{yZ..(6.R....
0140: ..........5..
03:01:12.749583 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:12.749911 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:12.749966 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:12.866744 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:12.866992 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:12.867050 => Send SSL data, 70 bytes (0x46)
0000: ...BA.......4...*.c....@...X.mKj.DC...8.F1#....+.L.6|f...&.X....
0040: o.(S>.
03:01:12.878963 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:12.879538 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:12.879594 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:12.900945 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:12.901008 => Send SSL data, 16 bytes (0x10)
0000: ....w.4[.[..?gs.
03:01:12.913803 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:12.916374 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:12.917495 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:12.917551 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:12.920070 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:12.925903 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:12.925962 <= Recv SSL data, 16 bytes (0x10)
0000: .....z.n.'.....%
03:01:12.955126 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:12.957462 == Info: Server certificate:
03:01:12.965200 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:12.971509 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:12.972484 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:12.973434 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:12.974328 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:12.975864 == Info: FTP 0x57419f0 (line 3092) state change from STOP to WAIT220
03:01:12.981996 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:12.989868 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:12.993501 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:12.993696 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:12.993883 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:12.994068 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:13.002073 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:13.005440 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:13.006229 == Info: FTP 0x57419f0 (line 792) state change from WAIT220 to USER
03:01:13.007062 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c5768; line 1553 (connection #0)
03:01:13.013295 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:13.013979 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:13.015245 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:13.015390 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:13.015764 == Info: FTP 0x57419f0 (line 2520) state change from USER to PASS
03:01:13.016849 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:13.017000 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:13.017694 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:13.017816 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:13.018139 == Info: FTP 0x57419f0 (line 2496) state change from PASS to PBSZ
03:01:13.018427 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:13.018563 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:13.019093 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:13.019208 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:13.019532 == Info: FTP 0x57419f0 (line 2709) state change from PBSZ to PROT
03:01:13.019781 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:13.019920 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:13.020575 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:13.020691 => Send header, 5 bytes (0x5)
0000: PWD
03:01:13.021008 == Info: FTP 0x57419f0 (line 804) state change from PROT to PWD
03:01:13.021329 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:13.021466 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:13.022574 == Info: Entry path is '/'
03:01:13.022796 == Info: FTP 0x57419f0 (line 2844) state change from PWD to STOP
03:01:13.022961 == Info: protocol connect phase DONE
03:01:13.023205 == Info: STATE: PROTOCONNECT => DO handle 0x56c5768; line 1572 (connection #0)
03:01:13.025102 == Info: DO phase starts
03:01:13.041311 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:01:13.041444 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|46397|
03:01:13.042023 == Info: FTP 0x57419f0 (line 1293) state change from STOP to PORT
03:01:13.042709 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:01:13.043070 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:01:13.043591 == Info: Connect data stream actively
03:01:13.043802 == Info: FTP 0x57419f0 (line 2011) state change from PORT to STOP
03:01:13.044334 == Info: ftp_perform ends with SECONDARY: 1
03:01:13.044545 == Info: DO phase is complete1
03:01:13.046306 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:13.046432 => Send header, 8 bytes (0x8)
0000: TYPE A
03:01:13.046828 == Info: FTP 0x57419f0 (line 3418) state change from STOP to LIST_TYPE
03:01:13.047221 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:13.047369 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:13.048610 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:13.048744 => Send header, 6 bytes (0x6)
0000: LIST
03:01:13.049342 == Info: FTP 0x57419f0 (line 1486) state change from LIST_TYPE to LIST
03:01:13.050475 == Info: STATE: DO => DO_MORE handle 0x56c5768; line 1622 (connection #0)
03:01:13.051712 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:13.051872 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:01:13.052483 == Info: Maxdownload = -1
03:01:13.052782 == Info: Preparing for accepting server on data port
03:01:13.053828 == Info: Checking for server connect
03:01:13.054660 == Info: Ready to accept data connection from server
03:01:13.056414 == Info: Connection accepted from server
03:01:13.057920 == Info: FTP 0x57419f0 (line 477) state change from LIST to STOP
03:01:13.058909 == Info: STATE: DO_MORE => DO_DONE handle 0x56c5768; line 1724 (connection #0)
03:01:13.059299 == Info: STATE: DO_DONE => PERFORM handle 0x56c5768; line 1749 (connection #0)
03:01:13.062901 <= Recv data, 623 bytes (0x26f)
0000: total 20
000a: drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
0043: drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
007d: drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
00ba: -r--r--r-- 1 0 1 35 Jul 16 1996 README
00f8: lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr
0138: /bin
013e: dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
0179: drwxrwxrwx 2 98 98 512 May 29 16:04 download.h
01b9: tml
01be: dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
01f9: drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
0234: dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
03:01:13.071446 == Info: nread <= 0, server closed connection, bailing
03:01:13.072614 == Info: STATE: PERFORM => DONE handle 0x56c5768; line 1939 (connection #0)
03:01:13.072936 == Info: multi_done
03:01:13.076218 == Info: Remembering we are in dir ""
03:01:13.092927 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:13.093313 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:01:13.105335 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace406
=== Start of file valgrind406
==23312== Invalid read of size 8
==23312== at 0x53315A5: check_free (dlerror.c:188)
==23312== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23312== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23312== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23312== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23312== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23312== by 0x4D60EB9: exit (exit.c:139)
==23312== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23312== Address 0x5af5910 is 0 bytes after a block of size 32 alloc'd
==23312== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23312== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23312== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23312== by 0x24B104: err_get_state (err.c:210)
==23312== by 0x24BCDA: ERR_put_error (err.c:636)
==23312== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23312== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23312== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23312== by 0x270326: by_file_ctrl (by_file.c:111)
==23312== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23312== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23312== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23312== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23312== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23312== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23312== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23312==
==23312== Invalid free() / delete / delete[] / realloc()
==23312== at 0x48369AB: free (vg_replace_malloc.c:540)
==23312== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23312== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23312== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23312== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23312== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23312== by 0x4D60EB9: exit (exit.c:139)
==23312== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23312== Address 0x5af58f8 is 8 bytes inside a block of size 32 alloc'd
==23312== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23312== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23312== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23312== by 0x24B104: err_get_state (err.c:210)
==23312== by 0x24BCDA: ERR_put_error (err.c:636)
==23312== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23312== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23312== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23312== by 0x270326: by_file_ctrl (by_file.c:111)
==23312== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23312== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23312== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23312== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23312== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23312== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23312== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23312==
==23312== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23312== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23312== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23312== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23312== by 0x24B104: err_get_state (err.c:210)
==23312== by 0x24BCDA: ERR_put_error (err.c:636)
==23312== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23312== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23312== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23312== by 0x270326: by_file_ctrl (by_file.c:111)
==23312== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23312== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23312== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23312== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23312== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23312== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23312== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23312==
=== End of file valgrind406
test 0407...[Get two FTPS files from the same remote dir: no second CWD]
goto problem 28
valgrind ERROR ==23318== Invalid read of size 8
==23318== at 0x53315A5: check_free (dlerror.c:188)
==23318== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23318== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23318== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23318== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23318== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23318== by 0x4D60EB9: exit (exit.c:139)
==23318== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23318== Address 0x5b4ec40 is 0 bytes after a block of size 32 alloc'd
==23318== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23318== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23318== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23318== by 0x24B104: err_get_state (err.c:210)
==23318== by 0x24BCDA: ERR_put_error (err.c:636)
==23318== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23318== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23318== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23318== by 0x270326: by_file_ctrl (by_file.c:111)
==23318== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23318== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23318== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23318== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23318== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23318== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23318== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23318==
==23318== Invalid free() / delete / delete[] / realloc()
==23318== at 0x48369AB: free (vg_replace_malloc.c:540)
==23318== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23318== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23318== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23318== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23318== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23318== by 0x4D60EB9: exit (exit.c:139)
==23318== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23318== Address 0x5b4ec28 is 8 bytes inside a block of size 32 alloc'd
==23318== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23318== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23318== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23318== by 0x24B104: err_get_state (err.c:210)
==23318== by 0x24BCDA: ERR_put_error (err.c:636)
==23318== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23318== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23318== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23318== by 0x270326: by_file_ctrl (by_file.c:111)
==23318== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23318== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23318== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23318== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23318== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23318== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23318== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23318==
==23318== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23318== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23318== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23318== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23318== by 0x24B104: err_get_state (err.c:210)
==23318== by 0x24BCDA: ERR_put_error (err.c:636)
==23318== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23318== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23318== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23318== by 0x270326: by_file_ctrl (by_file.c:111)
==23318== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23318== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23318== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23318== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23318== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23318== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23318== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23318==
== Contents of files in the log/ dir after test 407
=== Start of file curl407.out
data blobb
=== End of file curl407.out
=== Start of file ftp_server.log
03:01:16.173833 ====> Client connect
03:01:16.173960 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:16.259844 < "USER anonymous"
03:01:16.259893 > "331 We are happy you popped in![CR][LF]"
03:01:16.270705 < "PASS ftp@example.com"
03:01:16.270730 > "230 Welcome you silly person[CR][LF]"
03:01:16.273012 < "PBSZ 0"
03:01:16.273035 > "500 PBSZ not implemented[CR][LF]"
03:01:16.274411 < "PROT C"
03:01:16.274435 > "500 PROT not implemented[CR][LF]"
03:01:16.275898 < "PWD"
03:01:16.275923 > "257 "/" is current directory[CR][LF]"
03:01:16.282888 < "CWD a"
03:01:16.282919 > "250 CWD command successful.[CR][LF]"
03:01:16.284633 < "CWD path"
03:01:16.284664 > "250 CWD command successful.[CR][LF]"
03:01:16.288218 < "EPSV"
03:01:16.288247 ====> Passive DATA channel requested by client
03:01:16.288260 DATA sockfilt for passive data channel starting...
03:01:16.289864 DATA sockfilt for passive data channel started (pid 23323)
03:01:16.290052 DATA sockfilt for passive data channel listens on port 34177
03:01:16.290113 > "229 Entering Passive Mode (|||34177|)[LF]"
03:01:16.290137 Client has been notified that DATA conn will be accepted on port 34177
03:01:16.296858 Client connects to port 34177
03:01:16.296896 ====> Client established passive DATA connection on port 34177
03:01:16.301830 < "TYPE I"
03:01:16.301865 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:16.303961 < "SIZE 407"
03:01:16.304119 > "213 11[CR][LF]"
03:01:16.307792 < "RETR 407"
03:01:16.307897 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:01:16.307949 =====> Closing passive DATA connection...
03:01:16.307963 Server disconnects passive DATA connection
03:01:16.308078 DATA sockfilt for passive data channel quits (pid 23324)
03:01:16.308103 =====> Closed passive DATA connection
03:01:16.308128 > "226 File transfer complete[CR][LF]"
03:01:16.409015 < "EPSV"
03:01:16.409051 ====> Passive DATA channel requested by client
03:01:16.409063 DATA sockfilt for passive data channel starting...
03:01:16.410945 DATA sockfilt for passive data channel started (pid 23325)
03:01:16.411141 DATA sockfilt for passive data channel listens on port 36849
03:01:16.411209 > "229 Entering Passive Mode (|||36849|)[LF]"
03:01:16.411241 Client has been notified that DATA conn will be accepted on port 36849
03:01:16.412653 Client connects to port 36849
03:01:16.412688 ====> Client established passive DATA connection on port 36849
03:01:16.413954 < "SIZE 407"
03:01:16.414117 > "213 11[CR][LF]"
03:01:16.414971 < "RETR 407"
03:01:16.415078 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:01:16.415161 =====> Closing passive DATA connection...
03:01:16.415187 Server disconnects passive DATA connection
03:01:16.415311 DATA sockfilt for passive data channel quits (pid 23326)
03:01:16.415337 =====> Closed passive DATA connection
03:01:16.415365 > "226 File transfer complete[CR][LF]"
03:01:16.476699 < "QUIT"
03:01:16.476742 > "221 bye bye baby[CR][LF]"
03:01:16.481443 MAIN sockfilt said DISC
03:01:16.481480 ====> Client disconnected
03:01:16.481521 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:16.274555 ====> Client connect
03:01:16.274779 Received DATA (on stdin)
03:01:16.274803 > 160 bytes data, server => client
03:01:16.274820 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:16.274835 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:16.274848 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:16.360529 < 16 bytes data, client => server
03:01:16.360565 'USER anonymous\r\n'
03:01:16.360719 Received DATA (on stdin)
03:01:16.360742 > 33 bytes data, server => client
03:01:16.360758 '331 We are happy you popped in!\r\n'
03:01:16.371476 < 22 bytes data, client => server
03:01:16.371500 'PASS ftp@example.com\r\n'
03:01:16.371551 Received DATA (on stdin)
03:01:16.371564 > 30 bytes data, server => client
03:01:16.371578 '230 Welcome you silly person\r\n'
03:01:16.373788 < 8 bytes data, client => server
03:01:16.373810 'PBSZ 0\r\n'
03:01:16.373862 Received DATA (on stdin)
03:01:16.373885 > 26 bytes data, server => client
03:01:16.373900 '500 PBSZ not implemented\r\n'
03:01:16.375189 < 8 bytes data, client => server
03:01:16.375211 'PROT C\r\n'
03:01:16.375260 Received DATA (on stdin)
03:01:16.375283 > 26 bytes data, server => client
03:01:16.375298 '500 PROT not implemented\r\n'
03:01:16.376676 < 5 bytes data, client => server
03:01:16.376698 'PWD\r\n'
03:01:16.376752 Received DATA (on stdin)
03:01:16.376775 > 30 bytes data, server => client
03:01:16.376790 '257 "/" is current directory\r\n'
03:01:16.383635 < 7 bytes data, client => server
03:01:16.383660 'CWD a\r\n'
03:01:16.383727 Received DATA (on stdin)
03:01:16.383738 > 29 bytes data, server => client
03:01:16.383749 '250 CWD command successful.\r\n'
03:01:16.385365 < 10 bytes data, client => server
03:01:16.385388 'CWD path\r\n'
03:01:16.385493 Received DATA (on stdin)
03:01:16.385516 > 29 bytes data, server => client
03:01:16.385531 '250 CWD command successful.\r\n'
03:01:16.388980 < 6 bytes data, client => server
03:01:16.389002 'EPSV\r\n'
03:01:16.390937 Received DATA (on stdin)
03:01:16.390973 > 38 bytes data, server => client
03:01:16.391004 '229 Entering Passive Mode (|||34177|)\n'
03:01:16.402557 < 8 bytes data, client => server
03:01:16.402574 'TYPE I\r\n'
03:01:16.402672 Received DATA (on stdin)
03:01:16.402682 > 33 bytes data, server => client
03:01:16.402693 '200 I modify TYPE as you wanted\r\n'
03:01:16.404696 < 10 bytes data, client => server
03:01:16.404719 'SIZE 407\r\n'
03:01:16.404948 Received DATA (on stdin)
03:01:16.404971 > 8 bytes data, server => client
03:01:16.404985 '213 11\r\n'
03:01:16.408526 < 10 bytes data, client => server
03:01:16.408549 'RETR 407\r\n'
03:01:16.408727 Received DATA (on stdin)
03:01:16.408754 > 51 bytes data, server => client
03:01:16.408776 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:01:16.408938 Received DATA (on stdin)
03:01:16.408958 > 28 bytes data, server => client
03:01:16.408975 '226 File transfer complete\r\n'
03:01:16.509711 < 6 bytes data, client => server
03:01:16.509755 'EPSV\r\n'
03:01:16.512009 Received DATA (on stdin)
03:01:16.512043 > 38 bytes data, server => client
03:01:16.512071 '229 Entering Passive Mode (|||36849|)\n'
03:01:16.514691 < 10 bytes data, client => server
03:01:16.514718 'SIZE 407\r\n'
03:01:16.514923 Received DATA (on stdin)
03:01:16.514943 > 8 bytes data, server => client
03:01:16.514958 '213 11\r\n'
03:01:16.515712 < 10 bytes data, client => server
03:01:16.515738 'RETR 407\r\n'
03:01:16.515885 Received DATA (on stdin)
03:01:16.515905 > 51 bytes data, server => client
03:01:16.515925 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:01:16.516172 Received DATA (on stdin)
03:01:16.516192 > 28 bytes data, server => client
03:01:16.516209 '226 File transfer complete\r\n'
03:01:16.577418 < 6 bytes data, client => server
03:01:16.577459 'QUIT\r\n'
03:01:16.577548 Received DATA (on stdin)
03:01:16.577571 > 18 bytes data, server => client
03:01:16.577591 '221 bye bye baby\r\n'
03:01:16.582219 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:16.390446 Running IPv4 version
03:01:16.390550 Listening on port 34177
03:01:16.390590 Wrote pid 23324 to ./.ftp_sockdata.pid
03:01:16.390612 Received PING (on stdin)
03:01:16.390730 Received PORT (on stdin)
03:01:16.397622 ====> Client connect
03:01:16.408735 Received DATA (on stdin)
03:01:16.408759 > 11 bytes data, server => client
03:01:16.408778 'data blobb\n'
03:01:16.408807 Received DISC (on stdin)
03:01:16.408822 ====> Client forcibly disconnected
03:01:16.408874 Received QUIT (on stdin)
03:01:16.408896 quits
03:01:16.408916 ============> sockfilt quits
03:01:16.511535 Running IPv4 version
03:01:16.511621 Listening on port 36849
03:01:16.511670 Wrote pid 23326 to ./.ftp_sockdata.pid
03:01:16.511691 Received PING (on stdin)
03:01:16.511821 Received PORT (on stdin)
03:01:16.513420 ====> Client connect
03:01:16.515920 Received DATA (on stdin)
03:01:16.515938 > 11 bytes data, server => client
03:01:16.515964 'data blobb\n'
03:01:16.516019 Received DISC (on stdin)
03:01:16.516039 ====> Client forcibly disconnected
03:01:16.516089 Received QUIT (on stdin)
03:01:16.516102 quits
03:01:16.516116 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
CWD a
CWD path
EPSV
TYPE I
SIZE 407
RETR 407
EPSV
SIZE 407
RETR 407
QUIT
=== End of file server.input
=== Start of file stderr407
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 11 100 11 0 0 4 0 0:00:02 0:00:02 --:--:-- 5
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 11 100 11 0 0 164 0 --:--:-- --:--:-- --:--:-- 203
=== End of file stderr407
=== Start of file stdout407
data blobb
=== End of file stdout407
=== Start of file trace407
03:01:14.186825 == Info: STATE: INIT => CONNECT handle 0x56c5c78; line 1362 (connection #-5000)
03:01:14.241524 == Info: Added connection 0. The cache now contains 1 members
03:01:14.259221 == Info: Trying 127.0.0.1:8993...
03:01:14.259830 == Info: TCP_NODELAY set
03:01:14.264927 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5c78; line 1418 (connection #0)
03:01:14.276467 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:14.277026 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5c78; line 1538 (connection #0)
03:01:14.278086 == Info: Marked for [keep alive]: FTP default
03:01:15.759955 == Info: successfully set certificate verify locations:
03:01:15.760211 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:15.872673 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:15.877712 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:15.877768 => Send SSL data, 126 bytes (0x7e)
0000: ...z....V*........]..3c...1/...%...,~.....+./.,.0...............
0040: ../.5.....3...................................................
03:01:15.894503 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:15.900066 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:15.900122 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...6......$??r.p.2`..>.(.Y..g..... x..L...9.,.......mZ ..9y.
0040: .K)...K./................
03:01:15.943559 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:15.943993 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:15.944046 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:01:16.042181 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:16.042438 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:16.042494 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..z.-z~p.;.|....:$.;(k..YI..}y\[5K..h[.0.[v...Q<....I.\.
0040: n}.X{..?%....r..IrG.#.........z...av..M.A..{j..u....I.j..."...|.
0080: ..n]z..^..S..].|.m,.....JJW.......Sfu.]........M2V..2B..uR......
00c0: ..wZ.....:#.........H::.!R4n...~59...h8_.a.>..xX.....PX..~...J..
0100: /.L:/ZM5@..o2....h(.n6.C.P...NE.7y.{.kr...x....9q<....~L...._.S.
0140: ..xK.A.K.....
03:01:16.111534 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:16.111848 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:16.111901 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:16.227175 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:16.227418 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:16.227472 => Send SSL data, 70 bytes (0x46)
0000: ...BA.W_...k]....../.<.=.Wo.?JBH...........9......t.W..*...I.L..
0040: ...{..
03:01:16.239414 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:16.240006 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:16.240061 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:16.261280 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:16.261335 => Send SSL data, 16 bytes (0x10)
0000: .....j..Y...k...
03:01:16.273710 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:16.276223 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:16.277309 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:16.277366 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:16.279792 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:16.285410 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:16.285463 <= Recv SSL data, 16 bytes (0x10)
0000: ....j....M.N.R..
03:01:16.313534 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:16.315785 == Info: Server certificate:
03:01:16.323215 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:16.329325 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:16.330265 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:16.331182 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:16.332049 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:16.333521 == Info: FTP 0x579ad20 (line 3092) state change from STOP to WAIT220
03:01:16.339478 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:16.347124 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:16.350635 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:16.350822 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:16.351000 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:16.351177 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:16.358860 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:16.361771 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:16.362551 == Info: FTP 0x579ad20 (line 792) state change from WAIT220 to USER
03:01:16.363305 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c5c78; line 1553 (connection #0)
03:01:16.369394 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:16.370052 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:16.371295 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:16.371410 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:16.371788 == Info: FTP 0x579ad20 (line 2520) state change from USER to PASS
03:01:16.372790 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:16.372929 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:16.373607 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:16.373723 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:16.374065 == Info: FTP 0x579ad20 (line 2496) state change from PASS to PBSZ
03:01:16.374350 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:16.374484 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:16.375010 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:16.375124 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:16.375452 == Info: FTP 0x579ad20 (line 2709) state change from PBSZ to PROT
03:01:16.375689 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:16.375827 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:16.376497 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:16.376611 => Send header, 5 bytes (0x5)
0000: PWD
03:01:16.376924 == Info: FTP 0x579ad20 (line 804) state change from PROT to PWD
03:01:16.377239 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:16.377374 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:16.378483 == Info: Entry path is '/'
03:01:16.378703 == Info: FTP 0x579ad20 (line 2844) state change from PWD to STOP
03:01:16.378866 == Info: protocol connect phase DONE
03:01:16.379109 == Info: STATE: PROTOCONNECT => DO handle 0x56c5c78; line 1572 (connection #0)
03:01:16.382358 == Info: DO phase starts
03:01:16.383454 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:16.383581 => Send header, 7 bytes (0x7)
0000: CWD a
03:01:16.383981 == Info: FTP 0x579ad20 (line 895) state change from STOP to CWD
03:01:16.384431 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:16.384579 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:16.385213 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:16.385328 => Send header, 10 bytes (0xa)
0000: CWD path
03:01:16.385651 == Info: ftp_perform ends with SECONDARY: 0
03:01:16.386364 == Info: STATE: DO => DOING handle 0x56c5c78; line 1614 (connection #0)
03:01:16.387260 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:16.387398 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:16.388798 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:16.388915 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:16.389257 == Info: FTP 0x579ad20 (line 1330) state change from CWD to PASV
03:01:16.389428 == Info: Connect data stream passively
03:01:16.391306 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:16.391450 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||34177|).
03:01:16.397461 == Info: Trying 127.0.0.1:34177...
03:01:16.397523 == Info: TCP_NODELAY set
03:01:16.398213 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 34177
03:01:16.399316 == Info: FTP 0x579ad20 (line 1977) state change from PASV to STOP
03:01:16.399868 == Info: DO phase is complete2
03:01:16.400130 == Info: STATE: DOING => DO_MORE handle 0x56c5c78; line 1699 (connection #0)
03:01:16.400840 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:16.401053 == Info: DO-MORE connected phase starts
03:01:16.402393 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:16.402514 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:16.402861 == Info: FTP 0x579ad20 (line 3418) state change from STOP to RETR_TYPE
03:01:16.403243 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:16.403382 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:16.404544 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:16.404661 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:01:16.404995 == Info: FTP 0x579ad20 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:01:16.406609 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:01:16.406776 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:01:16.408377 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:16.408494 => Send header, 10 bytes (0xa)
0000: RETR 407
03:01:16.408826 == Info: FTP 0x579ad20 (line 2229) state change from RETR_SIZE to RETR
03:01:16.409319 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:01:16.409663 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:01:16.410513 == Info: Maxdownload = -1
03:01:16.410718 == Info: Getting file with size: 11
03:01:16.412089 == Info: FTP 0x579ad20 (line 477) state change from RETR to STOP
03:01:16.412641 == Info: STATE: DO_MORE => DO_DONE handle 0x56c5c78; line 1724 (connection #0)
03:01:16.413033 == Info: STATE: DO_DONE => PERFORM handle 0x56c5c78; line 1749 (connection #0)
03:01:16.416472 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:01:16.421636 == Info: readwrite_data: we're done
03:01:16.421895 == Info: nread <= 0, server closed connection, bailing
03:01:16.423237 == Info: STATE: PERFORM => DONE handle 0x56c5c78; line 1939 (connection #0)
03:01:16.423557 == Info: multi_done
03:01:16.426400 == Info: Remembering we are in dir "a/path/"
03:01:16.452788 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:16.453154 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:16.465850 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:16.467688 == Info: Expire cleared (transfer 0x56c5c78)
03:01:16.493605 == Info: STATE: INIT => CONNECT handle 0x571fc98; line 1362 (connection #-5000)
03:01:16.497366 == Info: Found bundle for host 127.0.0.1: 0x57a8d98 [serially]
03:01:16.505802 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:01:16.506609 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:16.506815 == Info: STATE: CONNECT => DO handle 0x571fc98; line 1411 (connection #0)
03:01:16.508900 == Info: Request has same path as previous transfer
03:01:16.509086 == Info: DO phase starts
03:01:16.509507 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:16.509649 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:16.509792 == Info: FTP 0x579ad20 (line 1330) state change from STOP to PASV
03:01:16.509851 == Info: Connect data stream passively
03:01:16.510049 == Info: ftp_perform ends with SECONDARY: 0
03:01:16.510128 == Info: STATE: DO => DOING handle 0x571fc98; line 1614 (connection #0)
03:01:16.512360 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:16.512521 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||36849|).
03:01:16.513264 == Info: Trying 127.0.0.1:36849...
03:01:16.513324 == Info: TCP_NODELAY set
03:01:16.513456 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 36849
03:01:16.513604 == Info: FTP 0x579ad20 (line 1977) state change from PASV to STOP
03:01:16.513661 == Info: DO phase is complete2
03:01:16.513735 == Info: STATE: DOING => DO_MORE handle 0x571fc98; line 1699 (connection #0)
03:01:16.513827 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:16.513885 == Info: DO-MORE connected phase starts
03:01:16.514122 == Info: FTP 0x579ad20 (line 3413) state change from STOP to RETR_TYPE
03:01:16.514540 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:16.514655 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:01:16.514916 == Info: FTP 0x579ad20 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:01:16.515128 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:01:16.515260 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:01:16.515567 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:16.515679 => Send header, 10 bytes (0xa)
0000: RETR 407
03:01:16.515840 == Info: FTP 0x579ad20 (line 2229) state change from RETR_SIZE to RETR
03:01:16.516171 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:01:16.516312 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:01:16.516570 == Info: Maxdownload = -1
03:01:16.516628 == Info: Getting file with size: 11
03:01:16.516699 == Info: FTP 0x579ad20 (line 477) state change from RETR to STOP
03:01:16.516780 == Info: STATE: DO_MORE => DO_DONE handle 0x571fc98; line 1724 (connection #0)
03:01:16.516863 == Info: STATE: DO_DONE => PERFORM handle 0x571fc98; line 1749 (connection #0)
03:01:16.516966 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:01:16.517404 == Info: readwrite_data: we're done
03:01:16.517468 == Info: nread <= 0, server closed connection, bailing
03:01:16.517553 == Info: STATE: PERFORM => DONE handle 0x571fc98; line 1939 (connection #0)
03:01:16.517611 == Info: multi_done
03:01:16.517820 == Info: Remembering we are in dir "a/path/"
03:01:16.560192 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:16.560552 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:16.562694 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:16.563009 == Info: Expire cleared (transfer 0x571fc98)
=== End of file trace407
=== Start of file valgrind407
==23318== Invalid read of size 8
==23318== at 0x53315A5: check_free (dlerror.c:188)
==23318== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23318== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23318== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23318== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23318== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23318== by 0x4D60EB9: exit (exit.c:139)
==23318== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23318== Address 0x5b4ec40 is 0 bytes after a block of size 32 alloc'd
==23318== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23318== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23318== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23318== by 0x24B104: err_get_state (err.c:210)
==23318== by 0x24BCDA: ERR_put_error (err.c:636)
==23318== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23318== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23318== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23318== by 0x270326: by_file_ctrl (by_file.c:111)
==23318== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23318== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23318== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23318== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23318== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23318== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23318== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23318==
==23318== Invalid free() / delete / delete[] / realloc()
==23318== at 0x48369AB: free (vg_replace_malloc.c:540)
==23318== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23318== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23318== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23318== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23318== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23318== by 0x4D60EB9: exit (exit.c:139)
==23318== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23318== Address 0x5b4ec28 is 8 bytes inside a block of size 32 alloc'd
==23318== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23318== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23318== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23318== by 0x24B104: err_get_state (err.c:210)
==23318== by 0x24BCDA: ERR_put_error (err.c:636)
==23318== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23318== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23318== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23318== by 0x270326: by_file_ctrl (by_file.c:111)
==23318== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23318== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23318== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23318== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23318== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23318== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23318== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23318==
==23318== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23318== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23318== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23318== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23318== by 0x24B104: err_get_state (err.c:210)
==23318== by 0x24BCDA: ERR_put_error (err.c:636)
==23318== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23318== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23318== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23318== by 0x270326: by_file_ctrl (by_file.c:111)
==23318== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23318== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23318== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23318== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23318== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23318== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23318== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23318==
=== End of file valgrind407
test 0408...[FTPS PORT upload with CWD]
goto problem 29
valgrind ERROR ==23330== Invalid read of size 8
==23330== at 0x53315A5: check_free (dlerror.c:188)
==23330== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23330== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23330== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23330== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23330== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23330== by 0x4D60EB9: exit (exit.c:139)
==23330== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23330== Address 0x5b324c0 is 0 bytes after a block of size 32 alloc'd
==23330== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23330== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23330== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23330== by 0x24B104: err_get_state (err.c:210)
==23330== by 0x24BCDA: ERR_put_error (err.c:636)
==23330== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23330== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23330== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23330== by 0x270326: by_file_ctrl (by_file.c:111)
==23330== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23330== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23330== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23330== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23330== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23330== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23330== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23330==
==23330== Invalid free() / delete / delete[] / realloc()
==23330== at 0x48369AB: free (vg_replace_malloc.c:540)
==23330== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23330== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23330== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23330== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23330== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23330== by 0x4D60EB9: exit (exit.c:139)
==23330== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23330== Address 0x5b324a8 is 8 bytes inside a block of size 32 alloc'd
==23330== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23330== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23330== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23330== by 0x24B104: err_get_state (err.c:210)
==23330== by 0x24BCDA: ERR_put_error (err.c:636)
==23330== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23330== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23330== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23330== by 0x270326: by_file_ctrl (by_file.c:111)
==23330== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23330== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23330== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23330== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23330== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23330== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23330== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23330==
==23330== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23330== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23330== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23330== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23330== by 0x24B104: err_get_state (err.c:210)
==23330== by 0x24BCDA: ERR_put_error (err.c:636)
==23330== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23330== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23330== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23330== by 0x270326: by_file_ctrl (by_file.c:111)
==23330== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23330== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23330== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23330== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23330== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23330== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23330== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23330==
== Contents of files in the log/ dir after test 408
=== Start of file ftp_server.log
03:01:19.592005 ====> Client connect
03:01:19.592132 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:19.681165 < "USER anonymous"
03:01:19.681225 > "331 We are happy you popped in![CR][LF]"
03:01:19.692048 < "PASS ftp@example.com"
03:01:19.692086 > "230 Welcome you silly person[CR][LF]"
03:01:19.694432 < "PBSZ 0"
03:01:19.694470 > "500 PBSZ not implemented[CR][LF]"
03:01:19.695924 < "PROT C"
03:01:19.695963 > "500 PROT not implemented[CR][LF]"
03:01:19.697436 < "PWD"
03:01:19.697479 > "257 "/" is current directory[CR][LF]"
03:01:19.704480 < "CWD CWD"
03:01:19.704519 > "250 CWD command successful.[CR][LF]"
03:01:19.706238 < "CWD STOR"
03:01:19.706276 > "250 CWD command successful.[CR][LF]"
03:01:19.708830 < "CWD RETR"
03:01:19.708868 > "250 CWD command successful.[CR][LF]"
03:01:19.714827 < "EPRT |1|127.0.0.1|43253|"
03:01:19.714862 ====> Active DATA channel requested by client
03:01:19.714902 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:01:19.714926 DATA sockfilt for active data channel starting...
03:01:19.716668 DATA sockfilt for active data channel started (pid 23334)
03:01:19.716707 ====> Active DATA channel connected to client port 43253
03:01:19.719892 < "TYPE I"
03:01:19.719957 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:19.722330 < "STOR 408"
03:01:19.722375 STOR test number 408 in log/upload.408
03:01:19.722403 > "125 Gimme gimme gimme![CR][LF]"
03:01:19.735696 > Appending 27 bytes to file
03:01:19.743733 =====> Closing active DATA connection...
03:01:19.743754 Server knows active DATA connection is already disconnected
03:01:19.743802 DATA sockfilt for active data channel quits (pid 23335)
03:01:19.743817 =====> Closed active DATA connection
03:01:19.743834 received 27 bytes upload
03:01:19.743858 > "226 File transfer complete[CR][LF]"
03:01:19.800240 < "QUIT"
03:01:19.800283 > "221 bye bye baby[CR][LF]"
03:01:19.804644 MAIN sockfilt said DISC
03:01:19.804687 ====> Client disconnected
03:01:19.804746 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:19.692725 ====> Client connect
03:01:19.692930 Received DATA (on stdin)
03:01:19.692949 > 160 bytes data, server => client
03:01:19.692968 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:19.692986 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:19.693001 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:19.781837 < 16 bytes data, client => server
03:01:19.781875 'USER anonymous\r\n'
03:01:19.782050 Received DATA (on stdin)
03:01:19.782074 > 33 bytes data, server => client
03:01:19.782090 '331 We are happy you popped in!\r\n'
03:01:19.792800 < 22 bytes data, client => server
03:01:19.792824 'PASS ftp@example.com\r\n'
03:01:19.792912 Received DATA (on stdin)
03:01:19.792936 > 30 bytes data, server => client
03:01:19.792951 '230 Welcome you silly person\r\n'
03:01:19.795187 < 8 bytes data, client => server
03:01:19.795210 'PBSZ 0\r\n'
03:01:19.795298 Received DATA (on stdin)
03:01:19.795321 > 26 bytes data, server => client
03:01:19.795337 '500 PBSZ not implemented\r\n'
03:01:19.796676 < 8 bytes data, client => server
03:01:19.796700 'PROT C\r\n'
03:01:19.796790 Received DATA (on stdin)
03:01:19.796813 > 26 bytes data, server => client
03:01:19.796829 '500 PROT not implemented\r\n'
03:01:19.798191 < 5 bytes data, client => server
03:01:19.798213 'PWD\r\n'
03:01:19.798307 Received DATA (on stdin)
03:01:19.798331 > 30 bytes data, server => client
03:01:19.798346 '257 "/" is current directory\r\n'
03:01:19.805235 < 9 bytes data, client => server
03:01:19.805258 'CWD CWD\r\n'
03:01:19.805346 Received DATA (on stdin)
03:01:19.805370 > 29 bytes data, server => client
03:01:19.805385 '250 CWD command successful.\r\n'
03:01:19.806986 < 10 bytes data, client => server
03:01:19.807009 'CWD STOR\r\n'
03:01:19.807103 Received DATA (on stdin)
03:01:19.807127 > 29 bytes data, server => client
03:01:19.807142 '250 CWD command successful.\r\n'
03:01:19.809584 < 10 bytes data, client => server
03:01:19.809607 'CWD RETR\r\n'
03:01:19.809695 Received DATA (on stdin)
03:01:19.809718 > 29 bytes data, server => client
03:01:19.809734 '250 CWD command successful.\r\n'
03:01:19.815579 < 26 bytes data, client => server
03:01:19.815604 'EPRT |1|127.0.0.1|43253|\r\n'
03:01:19.815705 Received DATA (on stdin)
03:01:19.815717 > 50 bytes data, server => client
03:01:19.815728 '200 Thanks for dropping by. We contact you later\r\n'
03:01:19.820579 < 8 bytes data, client => server
03:01:19.820619 'TYPE I\r\n'
03:01:19.820758 Received DATA (on stdin)
03:01:19.820776 > 33 bytes data, server => client
03:01:19.820793 '200 I modify TYPE as you wanted\r\n'
03:01:19.823045 < 10 bytes data, client => server
03:01:19.823077 'STOR 408\r\n'
03:01:19.823210 Received DATA (on stdin)
03:01:19.823231 > 24 bytes data, server => client
03:01:19.823255 '125 Gimme gimme gimme!\r\n'
03:01:19.844687 Received DATA (on stdin)
03:01:19.844713 > 28 bytes data, server => client
03:01:19.844728 '226 File transfer complete\r\n'
03:01:19.900927 < 6 bytes data, client => server
03:01:19.900967 'QUIT\r\n'
03:01:19.901111 Received DATA (on stdin)
03:01:19.901135 > 18 bytes data, server => client
03:01:19.901149 '221 bye bye baby\r\n'
03:01:19.905399 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:19.817246 ====> Client connect
03:01:19.817356 Running IPv4 version
03:01:19.817372 Connected to port 43253
03:01:19.817414 Wrote pid 23335 to ./.ftp_sockdata.pid
03:01:19.817439 Received PING (on stdin)
03:01:19.836440 < 27 bytes data, client => server
03:01:19.836469 'Moooooooooooo\n upload this\n'
03:01:19.844424 ====> Client disconnect
03:01:19.844475 disconnected, no socket to read on
03:01:19.844603 Received QUIT (on stdin)
03:01:19.844625 quits
03:01:19.844642 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
CWD CWD
CWD STOR
CWD RETR
EPRT |1|127.0.0.1|43253|
TYPE I
STOR 408
QUIT
=== End of file server.input
=== Start of file stderr408
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 27 0 0 100 27 0 12 0:00:02 0:00:02 --:--:-- 12
=== End of file stderr408
=== Start of file trace408
03:01:17.649419 == Info: STATE: INIT => CONNECT handle 0x56c8638; line 1362 (connection #-5000)
03:01:17.702860 == Info: Added connection 0. The cache now contains 1 members
03:01:17.720578 == Info: Trying 127.0.0.1:8993...
03:01:17.721182 == Info: TCP_NODELAY set
03:01:17.726259 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8638; line 1418 (connection #0)
03:01:17.737808 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:17.738370 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8638; line 1538 (connection #0)
03:01:17.739432 == Info: Marked for [keep alive]: FTP default
03:01:19.169024 == Info: successfully set certificate verify locations:
03:01:19.169292 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:19.283875 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:19.288880 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:19.288938 => Send SSL data, 126 bytes (0x7e)
0000: ...z..t%.....lY........A..F.v....a.9......+./.,.0...............
0040: ../.5.....3...................................................
03:01:19.305672 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:19.311230 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:19.311285 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..Y.....%..V{5m.}.x.W...M."v...... u....L$rQ>S...k.Y.R..#7#.
0040: ......P./................
03:01:19.356087 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:19.356553 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:19.356613 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:01:19.454648 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:19.454897 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:19.454952 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..z.-z~p.;.|....:$.;(k..YI..}y\[5K..h[.0.[v...Q<....I.\.
0040: n}.X{..?%.........Y....n....m&?..^.9..n..!..I|...o...\.....>....
0080: ...Yk.......1../..T^%.I..1...J'..h.U..h.>Z.p;.m....,mPi..w......
00c0: ...A..mb....l.Z......:s.I.EH.M....>a.RD.....ZbB,s<q....N.N.?U...
0100: ..0......$_..2....2,.......Xc..R.....M\..tH$.n.*..*Z...FVz...#B.
0140: .G....%..?.Q.
03:01:19.525678 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:19.526041 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:19.526101 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:19.643811 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:19.644053 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:19.644119 => Send SSL data, 70 bytes (0x46)
0000: ...BA.w2........(....E...%..,~.....um.....j.D....$.......2MR....
0040: .....0
03:01:19.656427 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:19.657024 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:19.657083 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:19.679013 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:19.679069 => Send SSL data, 16 bytes (0x10)
0000: ....Y..e.^.Q;5.<
03:01:19.691857 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:19.694537 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:19.695661 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:19.695717 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:19.698230 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:19.704045 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:19.704105 <= Recv SSL data, 16 bytes (0x10)
0000: .......@q..`..d.
03:01:19.733165 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:19.735484 == Info: Server certificate:
03:01:19.743195 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:19.749642 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:19.750618 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:19.751564 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:19.752464 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:19.754001 == Info: FTP 0x577e550 (line 3092) state change from STOP to WAIT220
03:01:19.760153 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:19.768020 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:19.771662 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:19.771860 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:19.772047 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:19.772233 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:19.780128 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:19.783144 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:19.783931 == Info: FTP 0x577e550 (line 792) state change from WAIT220 to USER
03:01:19.784686 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8638; line 1553 (connection #0)
03:01:19.790736 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:19.791387 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:19.792644 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:19.792763 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:19.793209 == Info: FTP 0x577e550 (line 2520) state change from USER to PASS
03:01:19.794214 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:19.794356 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:19.795034 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:19.795151 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:19.795531 == Info: FTP 0x577e550 (line 2496) state change from PASS to PBSZ
03:01:19.795836 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:19.795978 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:19.796525 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:19.796645 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:19.797015 == Info: FTP 0x577e550 (line 2709) state change from PBSZ to PROT
03:01:19.797254 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:19.797391 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:19.798044 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:19.798158 => Send header, 5 bytes (0x5)
0000: PWD
03:01:19.798521 == Info: FTP 0x577e550 (line 804) state change from PROT to PWD
03:01:19.798841 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:19.798982 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:19.800100 == Info: Entry path is '/'
03:01:19.800321 == Info: FTP 0x577e550 (line 2844) state change from PWD to STOP
03:01:19.800485 == Info: protocol connect phase DONE
03:01:19.800730 == Info: STATE: PROTOCONNECT => DO handle 0x56c8638; line 1572 (connection #0)
03:01:19.804005 == Info: DO phase starts
03:01:19.805083 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:19.805201 => Send header, 9 bytes (0x9)
0000: CWD CWD
03:01:19.805598 == Info: FTP 0x577e550 (line 895) state change from STOP to CWD
03:01:19.806007 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:19.806156 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:19.806799 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:19.806919 => Send header, 10 bytes (0xa)
0000: CWD STOR
03:01:19.807294 == Info: ftp_perform ends with SECONDARY: 0
03:01:19.808020 == Info: STATE: DO => DOING handle 0x56c8638; line 1614 (connection #0)
03:01:19.808913 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:19.809054 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:19.809436 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:19.809549 => Send header, 10 bytes (0xa)
0000: CWD RETR
03:01:19.810195 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:19.810342 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:19.815420 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:01:19.815540 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|43253|
03:01:19.816276 == Info: FTP 0x577e550 (line 1293) state change from CWD to PORT
03:01:19.816860 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:01:19.817225 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:01:19.817774 == Info: Connect data stream actively
03:01:19.817979 == Info: FTP 0x577e550 (line 2011) state change from PORT to STOP
03:01:19.818651 == Info: DO phase is complete2
03:01:19.818917 == Info: STATE: DOING => DO_MORE handle 0x56c8638; line 1699 (connection #0)
03:01:19.820359 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:19.820506 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:19.820941 == Info: FTP 0x577e550 (line 3418) state change from STOP to STOR_TYPE
03:01:19.821346 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:19.821497 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:19.822868 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:19.823016 => Send header, 10 bytes (0xa)
0000: STOR 408
03:01:19.823404 == Info: FTP 0x577e550 (line 1651) state change from STOR_TYPE to STOR
03:01:19.824832 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:19.824984 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:19.825518 == Info: FTP 0x577e550 (line 2330) state change from STOR to STOP
03:01:19.825706 == Info: Preparing for accepting server on data port
03:01:19.826786 == Info: Checking for server connect
03:01:19.827648 == Info: Ready to accept data connection from server
03:01:19.829465 == Info: Connection accepted from server
03:01:19.832090 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8638; line 1724 (connection #0)
03:01:19.832540 == Info: STATE: DO_DONE => PERFORM handle 0x56c8638; line 1749 (connection #0)
03:01:19.836973 => Send data, 27 bytes (0x1b)
0000: Moooooooooooo. upload this.
03:01:19.837583 == Info: We are completely uploaded and fine
03:01:19.840057 == Info: STATE: PERFORM => DONE handle 0x56c8638; line 1939 (connection #0)
03:01:19.840391 == Info: multi_done
03:01:19.843102 == Info: Remembering we are in dir "CWD/STOR/RETR/"
03:01:19.864679 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:19.865030 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:19.875958 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace408
=== Start of file upload.408
Moooooooooooo
upload this
=== End of file upload.408
=== Start of file upload408
Moooooooooooo
upload this
=== End of file upload408
=== Start of file valgrind408
==23330== Invalid read of size 8
==23330== at 0x53315A5: check_free (dlerror.c:188)
==23330== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23330== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23330== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23330== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23330== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23330== by 0x4D60EB9: exit (exit.c:139)
==23330== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23330== Address 0x5b324c0 is 0 bytes after a block of size 32 alloc'd
==23330== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23330== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23330== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23330== by 0x24B104: err_get_state (err.c:210)
==23330== by 0x24BCDA: ERR_put_error (err.c:636)
==23330== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23330== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23330== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23330== by 0x270326: by_file_ctrl (by_file.c:111)
==23330== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23330== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23330== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23330== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23330== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23330== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23330== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23330==
==23330== Invalid free() / delete / delete[] / realloc()
==23330== at 0x48369AB: free (vg_replace_malloc.c:540)
==23330== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23330== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23330== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23330== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23330== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23330== by 0x4D60EB9: exit (exit.c:139)
==23330== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23330== Address 0x5b324a8 is 8 bytes inside a block of size 32 alloc'd
==23330== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23330== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23330== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23330== by 0x24B104: err_get_state (err.c:210)
==23330== by 0x24BCDA: ERR_put_error (err.c:636)
==23330== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23330== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23330== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23330== by 0x270326: by_file_ctrl (by_file.c:111)
==23330== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23330== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23330== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23330== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23330== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23330== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23330== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23330==
==23330== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23330== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23330== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23330== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23330== by 0x24B104: err_get_state (err.c:210)
==23330== by 0x24BCDA: ERR_put_error (err.c:636)
==23330== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23330== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23330== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23330== by 0x270326: by_file_ctrl (by_file.c:111)
==23330== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23330== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23330== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23330== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23330== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23330== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23330== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23330==
=== End of file valgrind408
test 0409...[FTPS PASV upload file]
goto problem 30
valgrind ERROR ==23338== Invalid read of size 8
==23338== at 0x53315A5: check_free (dlerror.c:188)
==23338== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23338== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23338== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23338== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23338== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23338== by 0x4D60EB9: exit (exit.c:139)
==23338== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23338== Address 0x5b31af0 is 0 bytes after a block of size 32 alloc'd
==23338== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23338== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23338== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23338== by 0x24B104: err_get_state (err.c:210)
==23338== by 0x24BCDA: ERR_put_error (err.c:636)
==23338== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23338== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23338== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23338== by 0x270326: by_file_ctrl (by_file.c:111)
==23338== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23338== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23338== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23338== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23338== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23338== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23338== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23338==
==23338== Invalid free() / delete / delete[] / realloc()
==23338== at 0x48369AB: free (vg_replace_malloc.c:540)
==23338== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23338== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23338== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23338== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23338== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23338== by 0x4D60EB9: exit (exit.c:139)
==23338== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23338== Address 0x5b31ad8 is 8 bytes inside a block of size 32 alloc'd
==23338== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23338== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23338== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23338== by 0x24B104: err_get_state (err.c:210)
==23338== by 0x24BCDA: ERR_put_error (err.c:636)
==23338== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23338== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23338== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23338== by 0x270326: by_file_ctrl (by_file.c:111)
==23338== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23338== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23338== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23338== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23338== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23338== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23338== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23338==
==23338== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23338== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23338== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23338== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23338== by 0x24B104: err_get_state (err.c:210)
==23338== by 0x24BCDA: ERR_put_error (err.c:636)
==23338== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23338== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23338== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23338== by 0x270326: by_file_ctrl (by_file.c:111)
==23338== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23338== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23338== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23338== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23338== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23338== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23338== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23338==
== Contents of files in the log/ dir after test 409
=== Start of file ftp_server.log
03:01:22.949860 ====> Client connect
03:01:22.949967 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:23.037052 < "USER anonymous"
03:01:23.037098 > "331 We are happy you popped in![CR][LF]"
03:01:23.048298 < "PASS ftp@example.com"
03:01:23.048336 > "230 Welcome you silly person[CR][LF]"
03:01:23.050625 < "PBSZ 0"
03:01:23.050654 > "500 PBSZ not implemented[CR][LF]"
03:01:23.052077 < "PROT C"
03:01:23.052106 > "500 PROT not implemented[CR][LF]"
03:01:23.053673 < "PWD"
03:01:23.053709 > "257 "/" is current directory[CR][LF]"
03:01:23.061155 < "EPSV"
03:01:23.061185 ====> Passive DATA channel requested by client
03:01:23.061198 DATA sockfilt for passive data channel starting...
03:01:23.062745 DATA sockfilt for passive data channel started (pid 23340)
03:01:23.062821 DATA sockfilt for passive data channel listens on port 38175
03:01:23.062858 > "229 Entering Passive Mode (|||38175|)[LF]"
03:01:23.062874 Client has been notified that DATA conn will be accepted on port 38175
03:01:23.070122 Client connects to port 38175
03:01:23.070152 ====> Client established passive DATA connection on port 38175
03:01:23.075195 < "TYPE I"
03:01:23.075231 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:23.077605 < "STOR 409"
03:01:23.077633 STOR test number 409 in log/upload.409
03:01:23.077656 > "125 Gimme gimme gimme![CR][LF]"
03:01:23.086619 > Appending 51 bytes to file
03:01:23.095262 =====> Closing passive DATA connection...
03:01:23.095286 Server knows passive DATA connection is already disconnected
03:01:23.095334 DATA sockfilt for passive data channel quits (pid 23341)
03:01:23.095349 =====> Closed passive DATA connection
03:01:23.095366 received 51 bytes upload
03:01:23.095390 > "226 File transfer complete[CR][LF]"
03:01:23.154222 < "QUIT"
03:01:23.154265 > "221 bye bye baby[CR][LF]"
03:01:23.158515 MAIN sockfilt said DISC
03:01:23.158545 ====> Client disconnected
03:01:23.158590 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:23.050567 ====> Client connect
03:01:23.050767 Received DATA (on stdin)
03:01:23.050782 > 160 bytes data, server => client
03:01:23.050796 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:23.050807 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:23.050817 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:23.137734 < 16 bytes data, client => server
03:01:23.137771 'USER anonymous\r\n'
03:01:23.137904 Received DATA (on stdin)
03:01:23.137916 > 33 bytes data, server => client
03:01:23.137927 '331 We are happy you popped in!\r\n'
03:01:23.149039 < 22 bytes data, client => server
03:01:23.149058 'PASS ftp@example.com\r\n'
03:01:23.149141 Received DATA (on stdin)
03:01:23.149151 > 30 bytes data, server => client
03:01:23.149161 '230 Welcome you silly person\r\n'
03:01:23.151392 < 8 bytes data, client => server
03:01:23.151420 'PBSZ 0\r\n'
03:01:23.151462 Received DATA (on stdin)
03:01:23.151478 > 26 bytes data, server => client
03:01:23.151489 '500 PBSZ not implemented\r\n'
03:01:23.152830 < 8 bytes data, client => server
03:01:23.152843 'PROT C\r\n'
03:01:23.152913 Received DATA (on stdin)
03:01:23.152924 > 26 bytes data, server => client
03:01:23.152933 '500 PROT not implemented\r\n'
03:01:23.154431 < 5 bytes data, client => server
03:01:23.154445 'PWD\r\n'
03:01:23.154515 Received DATA (on stdin)
03:01:23.154525 > 30 bytes data, server => client
03:01:23.154535 '257 "/" is current directory\r\n'
03:01:23.161910 < 6 bytes data, client => server
03:01:23.161927 'EPSV\r\n'
03:01:23.163664 Received DATA (on stdin)
03:01:23.163677 > 38 bytes data, server => client
03:01:23.163689 '229 Entering Passive Mode (|||38175|)\n'
03:01:23.175932 < 8 bytes data, client => server
03:01:23.175948 'TYPE I\r\n'
03:01:23.176038 Received DATA (on stdin)
03:01:23.176050 > 33 bytes data, server => client
03:01:23.176060 '200 I modify TYPE as you wanted\r\n'
03:01:23.178360 < 10 bytes data, client => server
03:01:23.178375 'STOR 409\r\n'
03:01:23.178462 Received DATA (on stdin)
03:01:23.178472 > 24 bytes data, server => client
03:01:23.178481 '125 Gimme gimme gimme!\r\n'
03:01:23.196222 Received DATA (on stdin)
03:01:23.196254 > 28 bytes data, server => client
03:01:23.196275 '226 File transfer complete\r\n'
03:01:23.254933 < 6 bytes data, client => server
03:01:23.254970 'QUIT\r\n'
03:01:23.255070 Received DATA (on stdin)
03:01:23.255082 > 18 bytes data, server => client
03:01:23.255092 '221 bye bye baby\r\n'
03:01:23.259298 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:23.163408 Running IPv4 version
03:01:23.163485 Listening on port 38175
03:01:23.163515 Wrote pid 23341 to ./.ftp_sockdata.pid
03:01:23.163529 Received PING (on stdin)
03:01:23.163581 Received PORT (on stdin)
03:01:23.170907 ====> Client connect
03:01:23.187393 < 51 bytes data, client => server
03:01:23.187418 'data\n to\n see\nthat FTP\nworks\n so does it?\n'
03:01:23.195977 ====> Client disconnect
03:01:23.196113 Received QUIT (on stdin)
03:01:23.196127 quits
03:01:23.196141 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
EPSV
TYPE I
STOR 409
QUIT
=== End of file server.input
=== Start of file stderr409
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 51 0 0 100 51 0 22 0:00:02 0:00:02 --:--:-- 23
=== End of file stderr409
=== Start of file test409.txt
data
to
see
that FTP
works
so does it?
=== End of file test409.txt
=== Start of file trace409
03:01:20.983713 == Info: STATE: INIT => CONNECT handle 0x56c8168; line 1362 (connection #-5000)
03:01:21.038291 == Info: Added connection 0. The cache now contains 1 members
03:01:21.056085 == Info: Trying 127.0.0.1:8993...
03:01:21.056695 == Info: TCP_NODELAY set
03:01:21.061800 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8168; line 1418 (connection #0)
03:01:21.073393 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:21.073953 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8168; line 1538 (connection #0)
03:01:21.075013 == Info: Marked for [keep alive]: FTP default
03:01:22.520578 == Info: successfully set certificate verify locations:
03:01:22.520852 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:22.637679 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:22.642884 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:22.642942 => Send SSL data, 126 bytes (0x7e)
0000: ...z...*c*h.c...c..S.b...U..,.....v:......+./.,.0...............
0040: ../.5.....3...................................................
03:01:22.660380 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:22.666147 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:22.666208 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....[.;..h........r...).#.o9U.8f.. ...q.[7F]/2?.[7F].4s[7F]......30..
0040: ...`p.../................
03:01:22.711287 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:22.711741 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:22.711805 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:01:22.811480 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:22.811735 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:22.811795 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..z.-z~p.;.|....:$.;(k..YI..}y\[5K..h[.0.[v...Q<....I.\.
0040: n}.X{..?%......{C)l.....U...Q.F...B.J..[RH..[7F]...%..D.%..*[..f7..
0080: .K{].6....p..2(..S...\..r.....v#p.........I......IH..)..lg...[`b
00c0: ..c...5<=....p...2.U.....\. l+.+..N....KZ......U.8.....gJ...Dd<.
0100: {x?.J>a..q{>...<........_.b.z(..Y...m....:e.:..7...[7F]lO.......B.o
0140: w`.|0.....|(`
03:01:22.883044 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:22.883402 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:22.883463 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:23.002426 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:23.002748 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:23.002809 => Send SSL data, 70 bytes (0x46)
0000: ...BA.T.......Z)".O.p.D......M.k'(.....Wu.a...RnK}.L..S|.i...h..
0040: ...(,.
03:01:23.015064 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:23.015678 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:23.015735 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:23.037248 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:23.037320 => Send SSL data, 16 bytes (0x10)
0000: .....'.1...\.v.)
03:01:23.049736 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:23.052244 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:23.053332 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:23.053392 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:23.055842 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:23.061488 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:23.061543 <= Recv SSL data, 16 bytes (0x10)
0000: ....3..8.7......
03:01:23.089820 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:23.092147 == Info: Server certificate:
03:01:23.099742 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:23.105960 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:23.106955 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:23.107968 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:23.108839 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:23.110322 == Info: FTP 0x577dbc0 (line 3092) state change from STOP to WAIT220
03:01:23.116353 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:23.124091 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:23.127651 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:23.127848 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:23.128030 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:23.128208 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:23.136043 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:23.139020 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:23.139810 == Info: FTP 0x577dbc0 (line 792) state change from WAIT220 to USER
03:01:23.140570 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8168; line 1553 (connection #0)
03:01:23.146829 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:23.147519 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:23.148895 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:23.149017 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:23.149395 == Info: FTP 0x577dbc0 (line 2520) state change from USER to PASS
03:01:23.150410 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:23.150555 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:23.151261 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:23.151378 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:23.151703 == Info: FTP 0x577dbc0 (line 2496) state change from PASS to PBSZ
03:01:23.152003 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:23.152142 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:23.152675 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:23.152791 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:23.153119 == Info: FTP 0x577dbc0 (line 2709) state change from PBSZ to PROT
03:01:23.153369 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:23.153526 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:23.154296 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:23.154415 => Send header, 5 bytes (0x5)
0000: PWD
03:01:23.154730 == Info: FTP 0x577dbc0 (line 804) state change from PROT to PWD
03:01:23.155053 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:23.155190 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:23.156312 == Info: Entry path is '/'
03:01:23.156533 == Info: FTP 0x577dbc0 (line 2844) state change from PWD to STOP
03:01:23.156700 == Info: protocol connect phase DONE
03:01:23.156946 == Info: STATE: PROTOCONNECT => DO handle 0x56c8168; line 1572 (connection #0)
03:01:23.159648 == Info: DO phase starts
03:01:23.161770 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:23.161892 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:23.162230 == Info: FTP 0x577dbc0 (line 1330) state change from STOP to PASV
03:01:23.162402 == Info: Connect data stream passively
03:01:23.163172 == Info: ftp_perform ends with SECONDARY: 0
03:01:23.163891 == Info: STATE: DO => DOING handle 0x56c8168; line 1614 (connection #0)
03:01:23.164799 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:23.164954 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||38175|).
03:01:23.170739 == Info: Trying 127.0.0.1:38175...
03:01:23.170806 == Info: TCP_NODELAY set
03:01:23.171544 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 38175
03:01:23.172745 == Info: FTP 0x577dbc0 (line 1977) state change from PASV to STOP
03:01:23.173374 == Info: DO phase is complete2
03:01:23.173799 == Info: STATE: DOING => DO_MORE handle 0x56c8168; line 1699 (connection #0)
03:01:23.174514 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:23.174730 == Info: DO-MORE connected phase starts
03:01:23.175737 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:23.175888 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:23.176252 == Info: FTP 0x577dbc0 (line 3418) state change from STOP to STOR_TYPE
03:01:23.176634 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:23.176778 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:23.178224 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:23.178346 => Send header, 10 bytes (0xa)
0000: STOR 409
03:01:23.178682 == Info: FTP 0x577dbc0 (line 1651) state change from STOR_TYPE to STOR
03:01:23.180413 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:23.180556 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:23.182340 == Info: FTP 0x577dbc0 (line 477) state change from STOR to STOP
03:01:23.183048 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8168; line 1724 (connection #0)
03:01:23.183567 == Info: STATE: DO_DONE => PERFORM handle 0x56c8168; line 1749 (connection #0)
03:01:23.187945 => Send data, 51 bytes (0x33)
0000: data. to. see.that FTP.works. so does it?.
03:01:23.188620 == Info: We are completely uploaded and fine
03:01:23.191160 == Info: STATE: PERFORM => DONE handle 0x56c8168; line 1939 (connection #0)
03:01:23.191485 == Info: multi_done
03:01:23.194321 == Info: Remembering we are in dir ""
03:01:23.220584 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:23.220882 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:23.231244 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:23.233608 == Info: Expire cleared (transfer 0x56c8168)
=== End of file trace409
=== Start of file upload.409
data
to
see
that FTP
works
so does it?
=== End of file upload.409
=== Start of file valgrind409
==23338== Invalid read of size 8
==23338== at 0x53315A5: check_free (dlerror.c:188)
==23338== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23338== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23338== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23338== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23338== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23338== by 0x4D60EB9: exit (exit.c:139)
==23338== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23338== Address 0x5b31af0 is 0 bytes after a block of size 32 alloc'd
==23338== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23338== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23338== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23338== by 0x24B104: err_get_state (err.c:210)
==23338== by 0x24BCDA: ERR_put_error (err.c:636)
==23338== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23338== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23338== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23338== by 0x270326: by_file_ctrl (by_file.c:111)
==23338== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23338== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23338== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23338== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23338== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23338== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23338== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23338==
==23338== Invalid free() / delete / delete[] / realloc()
==23338== at 0x48369AB: free (vg_replace_malloc.c:540)
==23338== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23338== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23338== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23338== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23338== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23338== by 0x4D60EB9: exit (exit.c:139)
==23338== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23338== Address 0x5b31ad8 is 8 bytes inside a block of size 32 alloc'd
==23338== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23338== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23338== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23338== by 0x24B104: err_get_state (err.c:210)
==23338== by 0x24BCDA: ERR_put_error (err.c:636)
==23338== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23338== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23338== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23338== by 0x270326: by_file_ctrl (by_file.c:111)
==23338== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23338== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23338== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23338== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23338== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23338== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23338== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23338==
==23338== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23338== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23338== by 0x25C282: OPENSSL_malloc (mem.c:106)
==23338== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==23338== by 0x24B104: err_get_state (err.c:210)
==23338== by 0x24BCDA: ERR_put_error (err.c:636)
==23338== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==23338== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==23338== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==23338== by 0x270326: by_file_ctrl (by_file.c:111)
==23338== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==23338== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==23338== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23338== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==23338== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==23338== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==23338== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==23338==
=== End of file valgrind409
test 0500...[simple libcurl HTTP GET tool]
--pd--oemv- OK (356 out of 1250, remaining: 25:01, took 1.1s, duration: 09:57)
test 0501...[simple libcurl attempt operation without URL set]
-------emv- OK (357 out of 1250, remaining: 24:57, took 0.9s, duration: 09:58)
test 0502...[simple multi file:// get]
---d---emv- OK (358 out of 1250, remaining: 24:54, took 1.0s, duration: 09:59)
test 0503...[simple multi http:// through proxytunnel with authentication info]
--pd-P-emv- OK (359 out of 1250, remaining: 24:52, took 1.6s, duration: 10:01)
test 0504...[simple multi through local proxy without listener]
-------emv- OK (360 out of 1250, remaining: 24:49, took 1.0s, duration: 10:02)
test 0505...[FTP upload with rename after transfer]
--p-u--emv- OK (361 out of 1250, remaining: 24:45, took 1.1s, duration: 10:03)
test 0506...[HTTP with shared cookie list (and dns cache)]
s-----oemv- OK (362 out of 1250, remaining: 24:43, took 1.2s, duration: 10:04)
test 0507...[multi interface get with non-existing host name]
-------emv- OK (363 out of 1250, remaining: 24:39, took 1.0s, duration: 10:05)
test 0508...[send HTTP POST using read callback]
--pd---emv- OK (364 out of 1250, remaining: 24:36, took 1.1s, duration: 10:06)
test 0509...[initialization with memory callbacks and actual usage]
s------emv- OK (365 out of 1250, remaining: 24:33, took 0.9s, duration: 10:07)
test 0510...[send HTTP POST using read callback, using chunked transfer-encoding]
--pd---emv- OK (366 out of 1250, remaining: 24:32, took 2.1s, duration: 10:09)
test 0511...[FTP with FILETIME and NOBODY but missing file]
--p----emv- OK (367 out of 1250, remaining: 24:29, took 1.0s, duration: 10:10)
test 0512...[simple curl_easy_duplicate() test]
--pd---emv- OK (368 out of 1250, remaining: 24:26, took 1.1s, duration: 10:11)
test 0513...[send HTTP POST using read callback that returns CURL_READFUNC_ABORT]
--p----emv- OK (369 out of 1250, remaining: 24:25, took 2.0s, duration: 10:13)
test 0514...[First set options to POST and then to make HEAD]
--pd---emv- OK (370 out of 1250, remaining: 24:24, took 2.0s, duration: 10:15)
test 0515...[make a POSTFIELDS set to NULL with POSTFIELDSIZE set to zero]
--pd---emv- OK (371 out of 1250, remaining: 24:21, took 1.0s, duration: 10:16)
test 0516...[make a HTTPPOST set to NULL]
--pd---emv- OK (372 out of 1250, remaining: 24:18, took 1.0s, duration: 10:17)
test 0517...[curl_getdate() testing]
-------emv- OK (373 out of 1250, remaining: 24:14, took 0.8s, duration: 10:18)
test 0518...[HTTP GET with more than FD_SETSIZE descriptors open]
valgrind SKIPPED
--pd---em-- OK (374 out of 1250, remaining: 24:09, took 0.0s, duration: 10:18)
test 0519...[GET same URL twice with different users]
--pd---emv- OK (375 out of 1250, remaining: 24:06, took 1.0s, duration: 10:19)
test 0520...[FTP RETR with FILETIME]
--pd---emv- OK (376 out of 1250, remaining: 24:03, took 1.1s, duration: 10:20)
test 0521...[FTP dir list PASV with CURLOPT_PORT]
--pd---emv- OK (377 out of 1250, remaining: 24:00, took 1.1s, duration: 10:21)
test 0522...[HTTP GET with CURLOPT_PORT]
s-p----emv- OK (378 out of 1250, remaining: 23:57, took 1.0s, duration: 10:22)
test 0523...[HTTP GET with proxy and CURLOPT_PORT]
s-p----emv- OK (379 out of 1250, remaining: 23:53, took 1.0s, duration: 10:23)
test 0524...[FTP upload with target URL ending with slash]
--p----emv- OK (380 out of 1250, remaining: 23:50, took 1.0s, duration: 10:24)
test 0525...[FTP PORT upload using multi interface]
--p-u--emv- OK (381 out of 1250, remaining: 23:47, took 1.1s, duration: 10:26)
test 0526...[FTP RETR same file using different handles but same connection]
--pd---emv- OK (382 out of 1250, remaining: 23:52, took 4.3s, duration: 10:30)
test 0527...[FTP RETR same file using different handles but same connection]
--pd---emv- OK (383 out of 1250, remaining: 23:56, took 4.3s, duration: 10:34)
test 0528...[HTTP GET same file using different handles but same connection]
--pd---emv- OK (384 out of 1250, remaining: 24:00, took 4.1s, duration: 10:38)
test 0529...[FTP PORT upload using multi interface (weird cleanup function sequence)]
--p-u--emv- OK (385 out of 1250, remaining: 23:57, took 1.1s, duration: 10:39)
test 0531...[FTP PORT upload using multi interface and get 425 response]
Killed
--p----emv- OK (386 out of 1250, remaining: 23:54, took 1.0s, duration: 10:40)
test 0532...[FTP RETR same file using reset handles between each transfer]
--pd---emv- OK (387 out of 1250, remaining: 23:58, took 4.3s, duration: 10:45)
test 0533...[FTP RETR a non-existing file twice using the multi interface]
Killed
Killed
--p----emv- OK (388 out of 1250, remaining: 23:57, took 2.1s, duration: 10:47)
test 0534...[FTP RETR twice using multi: non-existing host and non-existing file]
Killed
--p----emv- OK (389 out of 1250, remaining: 23:57, took 2.1s, duration: 10:49)
test 0535...[HTTP GET multi two files with FAILONERROR]
--pd---emv- OK (390 out of 1250, remaining: 23:56, took 2.1s, duration: 10:51)
test 0537...[HTTP GET with a HUGE number of file descriptors open]
--pd---emv- OK (391 out of 1250, remaining: 23:54, took 1.5s, duration: 10:52)
test 0538...[FTP multi-interface download, failed login: PASS not valid]
--p----emv- OK (392 out of 1250, remaining: 23:51, took 1.0s, duration: 10:53)
test 0539...[Two FTP fetches using different CURLOPT_FTP_FILEMETHOD]
--pd---emv- OK (393 out of 1250, remaining: 23:48, took 1.2s, duration: 10:55)
test 0540...[HTTP proxy auth Digest multi API re-using connection]
--pd---emv- OK (394 out of 1250, remaining: 23:45, took 1.1s, duration: 10:56)
test 0541...[FTP upload and upload same file again without rewind]
--p----emv- OK (395 out of 1250, remaining: 23:42, took 1.2s, duration: 10:57)
test 0542...[FTP a file with NOBODY yes and HEADER no]
--pd---emv- OK (396 out of 1250, remaining: 23:39, took 1.0s, duration: 10:58)
test 0543...[curl_easy_escape]
s------emv- OK (397 out of 1250, remaining: 23:36, took 0.9s, duration: 10:59)
test 0544...[HTTP POST text data using CURLOPT_COPYPOSTFIELDS]
--pd---emv- OK (398 out of 1250, remaining: 23:33, took 1.0s, duration: 11:00)
test 0545...[HTTP POST binary with embedded zero and no trailing zero]
--pd---emv- OK (399 out of 1250, remaining: 23:30, took 1.0s, duration: 11:01)
test 0546...[FTP RETR a non-existing file then a found one using the multi interface]
Killed
s-p----emv- OK (400 out of 1250, remaining: 23:29, took 2.1s, duration: 11:03)
test 0547...[HTTP proxy auth NTLM with POST data from read callback]
--pd---emv- OK (401 out of 1250, remaining: 23:27, took 1.2s, duration: 11:04)
test 0548...[HTTP proxy auth NTLM with POST data from CURLOPT_POSTFIELDS]
--pd---emv- OK (402 out of 1250, remaining: 23:24, took 1.2s, duration: 11:05)
test 0549...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE]
s-p----emv- OK (403 out of 1250, remaining: 23:21, took 1.0s, duration: 11:06)
test 0550...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE and ASCII transfer]
s-p----emv- OK (404 out of 1250, remaining: 23:18, took 1.0s, duration: 11:07)
test 0551...[HTTP proxy auth Digest with POST data from read callback]
--pd---emv- OK (405 out of 1250, remaining: 23:15, took 1.1s, duration: 11:08)
test 0552...[HTTP proxy auth Digest with 70K POST data from read callback]
--pd---emv- OK (406 out of 1250, remaining: 23:19, took 4.5s, duration: 11:13)
test 0553...[HTTP post with huge request headers and post data from callback]
--pd---emv- OK (407 out of 1250, remaining: 23:16, took 1.1s, duration: 11:14)
test 0554...[HTTP multi-part formpost using read callback for the file part]
--pd---emv- OK (408 out of 1250, remaining: 23:14, took 1.2s, duration: 11:15)
test 0555...[HTTP proxy auth NTLM with POST data from read callback multi-if]
--pd---emv- OK (409 out of 1250, remaining: 23:11, took 1.1s, duration: 11:16)
test 0556...[send and recv HTTP]
--pd---emv- OK (410 out of 1250, remaining: 23:08, took 1.0s, duration: 11:17)
test 0557...[curl_mprintf() testing]
s------emv- OK (411 out of 1250, remaining: 23:05, took 0.9s, duration: 11:18)
test 0558...[libtest memory tracking operational]
------oemv- OK (412 out of 1250, remaining: 23:02, took 0.8s, duration: 11:19)
test 0559...[use tiny CURLOPT_BUFFERSIZE]
---d---emv- OK (413 out of 1250, remaining: 22:59, took 1.0s, duration: 11:20)
test 0560...[simple HTTPS GET with multi interface]
goto problem 31
valgrind ERROR ==23600== Invalid read of size 8
==23600== at 0x53315A5: check_free (dlerror.c:188)
==23600== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23600== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23600== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23600== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23600== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23600== by 0x4D60EB9: exit (exit.c:139)
==23600== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23600== Address 0x5a994f0 is 0 bytes after a block of size 32 alloc'd
==23600== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23600== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==23600== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==23600== by 0x225852: err_get_state (err.c:210)
==23600== by 0x226428: ERR_put_error (err.c:636)
==23600== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==23600== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==23600== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==23600== by 0x24AA74: by_file_ctrl (by_file.c:111)
==23600== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==23600== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==23600== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23600== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==23600== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==23600== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23600== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==23600==
==23600== Invalid free() / delete / delete[] / realloc()
==23600== at 0x48369AB: free (vg_replace_malloc.c:540)
==23600== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23600== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23600== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23600== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23600== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23600== by 0x4D60EB9: exit (exit.c:139)
==23600== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23600== Address 0x5a994d8 is 8 bytes inside a block of size 32 alloc'd
==23600== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23600== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==23600== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==23600== by 0x225852: err_get_state (err.c:210)
==23600== by 0x226428: ERR_put_error (err.c:636)
==23600== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==23600== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==23600== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==23600== by 0x24AA74: by_file_ctrl (by_file.c:111)
==23600== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==23600== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==23600== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23600== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==23600== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==23600== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23600== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==23600==
==23600== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23600== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23600== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==23600== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==23600== by 0x225852: err_get_state (err.c:210)
==23600== by 0x226428: ERR_put_error (err.c:636)
==23600== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==23600== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==23600== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==23600== by 0x24AA74: by_file_ctrl (by_file.c:111)
==23600== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==23600== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==23600== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23600== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==23600== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==23600== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23600== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==23600==
== Contents of files in the log/ dir after test 560
=== Start of file http_server.log
03:02:49.975582 ====> Client connect
03:02:49.975622 accept_connection 3 returned 4
03:02:49.975638 accept_connection 3 returned 0
03:02:50.054867 Read 56 bytes
03:02:50.054903 Process 56 bytes request
03:02:50.054916 Got request: GET /560 HTTP/1.1
03:02:50.054925 Requested test number 560 part 0
03:02:50.054948 - request found to be complete
03:02:50.054975 Wrote request (56 bytes) input to log/server.input
03:02:50.054994 Send response test560 section <data>
03:02:50.055062 Response sent (108 bytes) and written to log/server.response
03:02:50.055072 => persistent connection request ended, awaits new request
03:02:50.105896 Connection closed by client
03:02:50.105931 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /560 HTTP/1.1
Host: 127.0.0.1:8991
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file server.response
=== Start of file stderr560
URL: https://127.0.0.1:8991/560
=== End of file stderr560
=== Start of file stdout560
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file stdout560
=== Start of file valgrind560
==23600== Invalid read of size 8
==23600== at 0x53315A5: check_free (dlerror.c:188)
==23600== by 0x5331AB1: free_key_mem (dlerror.c:221)
==23600== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==23600== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23600== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23600== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23600== by 0x4D60EB9: exit (exit.c:139)
==23600== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23600== Address 0x5a994f0 is 0 bytes after a block of size 32 alloc'd
==23600== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23600== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==23600== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==23600== by 0x225852: err_get_state (err.c:210)
==23600== by 0x226428: ERR_put_error (err.c:636)
==23600== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==23600== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==23600== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==23600== by 0x24AA74: by_file_ctrl (by_file.c:111)
==23600== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==23600== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==23600== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23600== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==23600== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==23600== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23600== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==23600==
==23600== Invalid free() / delete / delete[] / realloc()
==23600== at 0x48369AB: free (vg_replace_malloc.c:540)
==23600== by 0x5331AB9: free_key_mem (dlerror.c:223)
==23600== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==23600== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==23600== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==23600== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==23600== by 0x4D60EB9: exit (exit.c:139)
==23600== by 0x4D4B0A1: (below main) (libc-start.c:342)
==23600== Address 0x5a994d8 is 8 bytes inside a block of size 32 alloc'd
==23600== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23600== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==23600== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==23600== by 0x225852: err_get_state (err.c:210)
==23600== by 0x226428: ERR_put_error (err.c:636)
==23600== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==23600== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==23600== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==23600== by 0x24AA74: by_file_ctrl (by_file.c:111)
==23600== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==23600== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==23600== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23600== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==23600== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==23600== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23600== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==23600==
==23600== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==23600== at 0x483577F: malloc (vg_replace_malloc.c:309)
==23600== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==23600== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==23600== by 0x225852: err_get_state (err.c:210)
==23600== by 0x226428: ERR_put_error (err.c:636)
==23600== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==23600== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==23600== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==23600== by 0x24AA74: by_file_ctrl (by_file.c:111)
==23600== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==23600== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==23600== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==23600== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==23600== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==23600== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==23600== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==23600==
=== End of file valgrind560
test 0561...[FTP RETR with CURLOPT_PROXY_TRANSFER_MODE, ASCII transfer and type=i]
s-p----emv- OK (415 out of 1250, remaining: 22:57, took 1.0s, duration: 11:24)
test 0562...[FTP a type=A URL and CURLOPT_PORT set]
--pd---emv- OK (416 out of 1250, remaining: 22:54, took 1.1s, duration: 11:25)
test 0563...[FTP type=A URL and CURLOPT_PORT set and proxy]
--p----emv- OK (417 out of 1250, remaining: 22:52, took 1.0s, duration: 11:26)
test 0564...[FTP RETR a file over a SOCKS proxy using the multi interface]
s-pd---emv- OK (418 out of 1250, remaining: 22:51, took 2.1s, duration: 11:28)
test 0565...[send HTTP POST using read callback, chunked transfer-encoding and Digest]
--pd---emv- OK (419 out of 1250, remaining: 22:50, took 2.1s, duration: 11:31)
test 0566...[HTTP GET with CURLINFO_CONTENT_LENGTH_DOWNLOAD and 0 bytes transfer]
--pd--oemv- OK (420 out of 1250, remaining: 22:47, took 1.0s, duration: 11:32)
test 0567...[simple RTSP OPTIONS command]
--pd---emv- OK (421 out of 1250, remaining: 22:48, took 3.0s, duration: 11:35)
test 0568...[RTSP Announce (PUT and POST style) test]
--p----emv- OK (422 out of 1250, remaining: 22:45, took 1.1s, duration: 11:36)
test 0569...[RTSP Session ID parsing]
--p---oemv- OK (423 out of 1250, remaining: 22:43, took 1.1s, duration: 11:37)
test 0570...[RTSP CSeq and Session Mismatch checks]
--p----emv- OK (424 out of 1250, remaining: 22:40, took 1.0s, duration: 11:38)
test 0571...[RTSP RTP Interleaving Test]
s-----oemv- OK (425 out of 1250, remaining: 22:37, took 1.1s, duration: 11:39)
test 0572...[RTSP GET_PARAMETER (Put/Heartbeat/Post)]
--p----emv- OK (426 out of 1250, remaining: 22:34, took 1.1s, duration: 11:40)
test 0573...[verify connect time with multi interface]
--pd---emv- OK (427 out of 1250, remaining: 22:32, took 1.1s, duration: 11:41)
test 0574...[FTP wildcard download - changed fnmatch, 2x perform (Unix LIST response)]
s-p----emv- OK (428 out of 1250, remaining: 22:30, took 1.9s, duration: 11:43)
test 0575...[FTP wildcard download - dup_handle and multi interface]
s-p----emv- OK (429 out of 1250, remaining: 22:30, took 2.3s, duration: 11:45)
test 0576...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (Unix)]
s------emv- OK (430 out of 1250, remaining: 22:28, took 1.4s, duration: 11:47)
test 0577...[Funny RTSP version in response]
--p----emv- OK (431 out of 1250, remaining: 22:25, took 1.0s, duration: 11:48)
test 0578...[HTTP POST lower than MAX_INITIAL_POST_SIZE with progress callback]
---d--oemv- OK (432 out of 1250, remaining: 22:22, took 1.0s, duration: 11:49)
test 0579...[small chunked HTTP POSTs with digest auth. and progress callback]
---d--oemv- OK (433 out of 1250, remaining: 22:22, took 2.1s, duration: 11:51)
test 0580...[multi interface, multiple Location: headers]
--pd---emv- OK (434 out of 1250, remaining: 22:19, took 1.0s, duration: 11:52)
test 0581...[multi interface, multiple Content-Type: headers]
--pd---emv- OK (435 out of 1250, remaining: 22:16, took 1.0s, duration: 11:53)
test 0582 SKIPPED: curl lacks sftp server support
test 0583 SKIPPED: curl lacks sftp server support
test 0585...[socket open/close callbacks]
--pd---emv- OK (438 out of 1250, remaining: 22:04, took 1.1s, duration: 11:54)
test 0586...[FTP and open/close socket callbacks]
--pd---emv- OK (439 out of 1250, remaining: 22:01, took 1.1s, duration: 11:55)
test 0587...[HTTP multi-part formpost with aborted read callback]
--p----emv- OK (440 out of 1250, remaining: 21:59, took 1.1s, duration: 11:56)
test 0588...[FTP PORT upload using multi interface, EPRT doesn't work]
--p-u--emv- OK (441 out of 1250, remaining: 21:56, took 1.1s, duration: 11:57)
test 0589...[make a HTTP MIME POST set to NULL]
--pd---emv- OK (442 out of 1250, remaining: 21:53, took 1.0s, duration: 11:58)
test 0590...[HTTP proxy offers Negotiate+NTLM, use only NTLM]
--pd---emv- OK (443 out of 1250, remaining: 21:51, took 1.1s, duration: 11:59)
test 0591...[FTP multi PORT and 425 on upload]
--p----emv- OK (444 out of 1250, remaining: 21:48, took 1.1s, duration: 12:00)
test 0592...[FTP multi PORT and 421 on upload]
--p----emv- OK (445 out of 1250, remaining: 21:46, took 1.1s, duration: 12:02)
test 0593...[FTP multi PORT upload, no data conn and no transient neg. reply]
--p----emv- OK (446 out of 1250, remaining: 21:47, took 3.0s, duration: 12:05)
test 0595...[verify close callbacks with passive FTP]
--pd---emv- OK (447 out of 1250, remaining: 21:44, took 1.1s, duration: 12:06)
test 0596...[verify close callbacks with active FTP]
--pd---emv- OK (448 out of 1250, remaining: 21:41, took 1.1s, duration: 12:07)
test 0597...[FTP connect only option]
--p----emv- OK (449 out of 1250, remaining: 21:39, took 1.0s, duration: 12:08)
test 0598...[curl_easy_reset with referer and other strings set]
--pd---emv- OK (450 out of 1250, remaining: 21:36, took 1.0s, duration: 12:09)
test 0599...[HTTP GET with progress callback and redirects changing content sizes]
---d--oemv- OK (451 out of 1250, remaining: 21:33, took 1.1s, duration: 12:10)
test 0600 SKIPPED: curl lacks sftp server support
test 0601 SKIPPED: curl lacks scp server support
test 0603 SKIPPED: curl lacks scp server support
test 0605 SKIPPED: curl lacks scp server support
test 0632 SKIPPED: curl lacks sftp support
test 0643...[HTTP multi-part mimepost using read callback for the file part]
--pd---emv- OK (495 out of 1250, remaining: 18:35, took 1.2s, duration: 12:11)
test 0644...[HTTP multi-part formpost with aborted read callback]
--p----emv- OK (496 out of 1250, remaining: 18:33, took 1.1s, duration: 12:12)
test 0645...[HTTP multi-part chunked mimepost using read callback for the file part]
--pd---emv- OK (497 out of 1250, remaining: 18:34, took 3.2s, duration: 12:15)
test 0646...[SMTP multipart using mime API]
--p-u--emv- OK (498 out of 1250, remaining: 18:36, took 3.2s, duration: 12:19)
test 0647...[IMAP APPEND multipart using mime API]
--p-u--emv- OK (499 out of 1250, remaining: 18:37, took 3.4s, duration: 12:22)
test 0648...[SMTP multipart with transfer content encoders]
--p-u--emv- OK (500 out of 1250, remaining: 18:35, took 1.2s, duration: 12:23)
test 0649...[SMTP multipart with 7bit encoder error]
--p-u--emv- OK (501 out of 1250, remaining: 18:33, took 1.2s, duration: 12:24)
test 0650...[HTTP formpost using form API]
--pd---emv- OK (502 out of 1250, remaining: 18:33, took 2.1s, duration: 12:26)
test 0651...[curl_formadd with huge COPYCONTENTS]
--pd---emv- OK (503 out of 1250, remaining: 18:32, took 2.1s, duration: 12:29)
test 0652...[SMTP with encoded huge mime data contents]
--p-u--emv- OK (504 out of 1250, remaining: 18:30, took 1.1s, duration: 12:30)
test 0653...[Reuse of handle after altering mime data]
--pd---emv- OK (505 out of 1250, remaining: 18:28, took 1.1s, duration: 12:31)
test 0654...[HTTP duplicate easy handle with mime data]
--pd---emv- OK (506 out of 1250, remaining: 18:27, took 2.2s, duration: 12:33)
test 0655...[resolver start callback]
---d---emv- OK (507 out of 1250, remaining: 18:25, took 1.1s, duration: 12:34)
test 0658...[Pass URL to libcurl with CURLOPT_CURLU]
--p----emv- OK (509 out of 1250, remaining: 18:19, took 1.0s, duration: 12:35)
test 0659...[CURLOPT_CURLU without the path set - over proxy]
--p----emv- OK (510 out of 1250, remaining: 18:17, took 1.0s, duration: 12:36)
test 0660...[IMAP CONNECT_ONLY option]
--p----emv- OK (511 out of 1250, remaining: 18:15, took 1.0s, duration: 12:37)
test 0700...[HTTP GET via SOCKS4 proxy]
--pd---emv- OK (512 out of 1250, remaining: 18:13, took 1.2s, duration: 12:38)
test 0701...[HTTP GET via SOCKS5 proxy]
--pd---emv- OK (513 out of 1250, remaining: 18:11, took 1.2s, duration: 12:40)
test 0702...[Attempt connect to non-listening HTTP server via SOCKS4 proxy]
-------emv- OK (514 out of 1250, remaining: 18:09, took 1.1s, duration: 12:41)
test 0703...[Attempt connect to non-listening HTTP server via SOCKS5 proxy]
-------emv- OK (515 out of 1250, remaining: 18:07, took 1.2s, duration: 12:42)
test 0704...[Attempt connect to non-listening SOCKS4 proxy]
-------emv- OK (516 out of 1250, remaining: 18:06, took 1.1s, duration: 12:43)
test 0705...[Attempt connect to non-listening SOCKS5 proxy]
-------emv- OK (517 out of 1250, remaining: 18:04, took 1.1s, duration: 12:44)
test 0706...[FTP dir list PASV via SOCKS4]
--pd---emv- OK (518 out of 1250, remaining: 18:02, took 1.2s, duration: 12:45)
test 0707...[FTP dir list PASV via SOCKS5]
--pd---emv- OK (519 out of 1250, remaining: 18:00, took 1.3s, duration: 12:47)
test 0708...[HTTP GET via SOCKS4 proxy]
--pd---emv- OK (520 out of 1250, remaining: 17:58, took 1.2s, duration: 12:48)
test 0709...[HTTP GET via SOCKS5 set in http_proxy environment variable]
--pd---emv- OK (521 out of 1250, remaining: 17:56, took 1.2s, duration: 12:49)
test 0710...[HTTP GET via SOCKS5 set with --proxy]
--pd---emv- OK (522 out of 1250, remaining: 17:54, took 1.2s, duration: 12:50)
test 0711...[FTP fetch with all_proxy set to socks5]
--pd---emv- OK (523 out of 1250, remaining: 17:53, took 1.3s, duration: 12:51)
test 0712...[FTP fetch with --proxy set to socks5://]
--pd---emv- OK (524 out of 1250, remaining: 17:51, took 1.3s, duration: 12:53)
test 0713...[FTP fetch with --proxy set to socks5:// and with --connect-to]
--pd---emv- OK (525 out of 1250, remaining: 17:49, took 1.3s, duration: 12:54)
test 0714...[FTP fetch with --proxy set to http:// and with --connect-to]
--p----emv- OK (526 out of 1250, remaining: 17:49, took 2.7s, duration: 12:57)
test 0715...[FTP fetch with --preproxy, --proxy and --connect-to]
--p----emv- OK (527 out of 1250, remaining: 17:49, took 2.7s, duration: 12:59)
test 0716...[SOCKS5 proxy with too long user name]
-------emv- OK (528 out of 1250, remaining: 17:48, took 1.1s, duration: 13:01)
test 0717...[SOCKS5 proxy auth]
--pd---emv- OK (529 out of 1250, remaining: 17:46, took 1.2s, duration: 13:02)
test 0800...[IMAP FETCH message]
--pd---emv- OK (530 out of 1250, remaining: 17:44, took 1.3s, duration: 13:03)
test 0801...[IMAP FETCH message by MAILINDEX and SECTION]
--pd---emv- OK (531 out of 1250, remaining: 17:42, took 1.3s, duration: 13:04)
test 0802...[IMAP SELECT UIDVALIDITY Success]
--pd---emv- OK (532 out of 1250, remaining: 17:40, took 1.3s, duration: 13:06)
test 0803...[IMAP SELECT UIDVALIDITY Failure]
--p----emv- OK (533 out of 1250, remaining: 17:39, took 1.3s, duration: 13:07)
test 0804...[IMAP doesn't perform SELECT if re-using the same mailbox]
--pd---emv- OK (534 out of 1250, remaining: 17:37, took 1.3s, duration: 13:08)
test 0805...[IMAP APPEND message]
--p-u--emv- OK (535 out of 1250, remaining: 17:35, took 1.2s, duration: 13:09)
test 0806...[IMAP LIST mailbox]
--pd---emv- OK (536 out of 1250, remaining: 17:33, took 1.2s, duration: 13:11)
test 0807...[IMAP LSUB mailbox]
--pd---emv- OK (537 out of 1250, remaining: 17:32, took 1.2s, duration: 13:12)
test 0808...[IMAP EXAMINE mailbox (CUSTOMREQUEST)]
--pd---emv- OK (538 out of 1250, remaining: 17:30, took 1.2s, duration: 13:13)
test 0809...[IMAP mailbox STATUS (CUSTOMREQUEST)]
--pd---emv- OK (539 out of 1250, remaining: 17:28, took 1.2s, duration: 13:14)
test 0810...[IMAP SEARCH for NEW messages]
--pd---emv- OK (540 out of 1250, remaining: 17:26, took 1.3s, duration: 13:16)
test 0811...[IMAP CREATE mailbox (CUSTOMREQUEST)]
--p----emv- OK (541 out of 1250, remaining: 17:24, took 1.2s, duration: 13:17)
test 0812...[IMAP DELETE mailbox (CUSTOMREQUEST)]
--p----emv- OK (542 out of 1250, remaining: 17:23, took 1.2s, duration: 13:18)
test 0813...[IMAP RENAME mailbox (CUSTOMREQUEST)]
--p----emv- OK (543 out of 1250, remaining: 17:21, took 1.2s, duration: 13:19)
test 0814...[IMAP CHECK mailbox (CUSTOMREQUEST)]
--p----emv- OK (544 out of 1250, remaining: 17:19, took 1.3s, duration: 13:21)
test 0815...[IMAP STORE - delete message (CUSTOMREQUEST)]
--p----emv- OK (545 out of 1250, remaining: 17:17, took 1.3s, duration: 13:22)
test 0816...[IMAP STORE - delete message with confirmation (CUSTOMREQUEST)]
--p----emv- OK (546 out of 1250, remaining: 17:16, took 1.3s, duration: 13:23)
test 0817...[IMAP COPY message to mailbox (CUSTOMREQUEST)]
--p----emv- OK (547 out of 1250, remaining: 17:14, took 1.2s, duration: 13:24)
test 0818...[IMAP NOOP (CUSTOMREQUEST)]
--pd---emv- OK (548 out of 1250, remaining: 17:12, took 1.2s, duration: 13:26)
test 0819...[IMAP plain authentication]
--pd---emv- OK (549 out of 1250, remaining: 17:11, took 1.3s, duration: 13:27)
test 0820...[IMAP login authentication]
--pd---emv- OK (550 out of 1250, remaining: 17:09, took 1.3s, duration: 13:28)
test 0821...[IMAP CRAM-MD5 authentication]
--pd---emv- OK (551 out of 1250, remaining: 17:07, took 1.4s, duration: 13:30)
test 0822...[IMAP NTLM authentication]
--pd---emv- OK (552 out of 1250, remaining: 17:06, took 1.4s, duration: 13:31)
test 0823...[IMAP DIGEST-MD5 authentication]
--pd---emv- OK (553 out of 1250, remaining: 17:04, took 1.3s, duration: 13:32)
test 0824...[IMAP OAuth 2.0 (XOAUTH2) authentication]
--pd---emv- OK (554 out of 1250, remaining: 17:02, took 1.3s, duration: 13:34)
test 0825...[IMAP plain authentication with initial response]
--pd---emv- OK (555 out of 1250, remaining: 17:01, took 1.3s, duration: 13:35)
test 0826...[IMAP login authentication with initial response]
--pd---emv- OK (556 out of 1250, remaining: 16:59, took 1.3s, duration: 13:36)
test 0827...[IMAP NTLM authentication with initial response]
--pd---emv- OK (557 out of 1250, remaining: 16:57, took 1.4s, duration: 13:38)
test 0828...[IMAP OAuth 2.0 (XOAUTH2) authentication with initial response]
--pd---emv- OK (558 out of 1250, remaining: 16:56, took 1.3s, duration: 13:39)
test 0829...[IMAP with URL-encoded CR LF in the URL]
-------emv- OK (559 out of 1250, remaining: 16:54, took 1.2s, duration: 13:40)
test 0830...[IMAP CRAM-MD5 graceful cancellation]
--p----emv- OK (560 out of 1250, remaining: 16:52, took 1.2s, duration: 13:41)
test 0831...[IMAP NTLM graceful cancellation]
--p----emv- OK (561 out of 1250, remaining: 16:50, took 1.2s, duration: 13:43)
test 0832...[IMAP DIGEST-MD5 graceful cancellation]
--p----emv- OK (562 out of 1250, remaining: 16:49, took 1.2s, duration: 13:44)
test 0833...[IMAP CRAM-MD5 authentication with SASL downgrade]
--pd---emv- OK (563 out of 1250, remaining: 16:47, took 1.3s, duration: 13:45)
test 0834...[IMAP NTLM authentication with SASL downgrade]
--pd---emv- OK (564 out of 1250, remaining: 16:45, took 1.3s, duration: 13:46)
test 0835...[IMAP DIGEST-MD5 authentication with SASL downgrade]
--pd---emv- OK (565 out of 1250, remaining: 16:44, took 1.3s, duration: 13:48)
test 0837...[IMAP external authentication]
--pd---emv- OK (566 out of 1250, remaining: 16:42, took 1.3s, duration: 13:49)
test 0838...[IMAP external authentication without credentials]
--pd---emv- OK (567 out of 1250, remaining: 16:40, took 1.3s, duration: 13:50)
test 0839...[IMAP external authentication with initial response]
--pd---emv- OK (568 out of 1250, remaining: 16:39, took 1.3s, duration: 13:52)
test 0840...[IMAP external authentication with initial response without credentials]
--pd---emv- OK (569 out of 1250, remaining: 16:37, took 1.3s, duration: 13:53)
test 0841...[IMAP custom request doesn't check continuation data]
--pd---emv- OK (570 out of 1250, remaining: 16:35, took 1.3s, duration: 13:54)
test 0842...[IMAP OAuth 2.0 (OAUTHBEARER) authentication]
--pd---emv- OK (571 out of 1250, remaining: 16:34, took 1.3s, duration: 13:56)
test 0843...[IMAP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--pd---emv- OK (572 out of 1250, remaining: 16:32, took 1.3s, duration: 13:57)
test 0844...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (573 out of 1250, remaining: 16:30, took 1.2s, duration: 13:58)
test 0845...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (574 out of 1250, remaining: 16:29, took 1.2s, duration: 13:59)
test 0846...[IMAP PREAUTH response]
--pd---emv- OK (575 out of 1250, remaining: 16:27, took 1.3s, duration: 14:01)
test 0847...[IMAP FETCH message]
--pd---emv- OK (576 out of 1250, remaining: 16:25, took 1.3s, duration: 14:02)
test 0848...[IMAP plain authentication with alternative authorization identity]
--pd---emv- OK (577 out of 1250, remaining: 16:24, took 1.3s, duration: 14:03)
test 0849...[IMAP plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (578 out of 1250, remaining: 16:22, took 1.2s, duration: 14:04)
test 0850...[POP3 RETR message]
--pd---emv- OK (579 out of 1250, remaining: 16:23, took 3.3s, duration: 14:08)
test 0851...[POP3 LIST one message]
--p----emv- OK (580 out of 1250, remaining: 16:21, took 1.2s, duration: 14:09)
test 0852...[POP3 LIST invalid message]
--p----emv- OK (581 out of 1250, remaining: 16:19, took 1.2s, duration: 14:10)
test 0853...[POP3 LIST messages from *SLOW* server]
--pd---emv- OK (582 out of 1250, remaining: 16:21, took 4.3s, duration: 14:14)
test 0854...[POP3 LIST no messages available]
--p----emv- OK (583 out of 1250, remaining: 16:19, took 1.2s, duration: 14:16)
test 0855...[POP3 RETR invalid message]
--p----emv- OK (584 out of 1250, remaining: 16:17, took 1.2s, duration: 14:17)
test 0856...[POP3 invalid login]
--p----emv- OK (585 out of 1250, remaining: 16:15, took 1.1s, duration: 14:18)
test 0857...[POP3 RETR message with dot-prefixed line]
--pd---emv- OK (586 out of 1250, remaining: 16:13, took 1.2s, duration: 14:19)
test 0858...[POP3 DELE message (CUSTOMREQUEST)]
--p----emv- OK (587 out of 1250, remaining: 16:12, took 1.2s, duration: 14:20)
test 0859...[POP3 STAT (CUSTOMREQUEST)]
--p----emv- OK (588 out of 1250, remaining: 16:10, took 1.2s, duration: 14:21)
test 0860...[POP3 NOOP (CUSTOMREQUEST)]
--p----emv- OK (589 out of 1250, remaining: 16:08, took 1.2s, duration: 14:23)
test 0861...[POP3 UIDL (CUSTOMREQUEST)]
--pd---emv- OK (590 out of 1250, remaining: 16:06, took 1.3s, duration: 14:24)
test 0862...[POP3 retrieve message header (CUSTOMREQUEST)]
--pd---emv- OK (591 out of 1250, remaining: 16:05, took 1.2s, duration: 14:25)
test 0863...[POP3 RSET (CUSTOMREQUEST)]
--p----emv- OK (592 out of 1250, remaining: 16:03, took 1.2s, duration: 14:26)
test 0864...[POP3 APOP authentication]
--pd---emv- OK (593 out of 1250, remaining: 16:01, took 1.2s, duration: 14:27)
test 0865...[POP3 plain authentication]
--pd---emv- OK (594 out of 1250, remaining: 15:59, took 1.3s, duration: 14:29)
test 0866...[POP3 login authentication]
--pd---emv- OK (595 out of 1250, remaining: 15:58, took 1.3s, duration: 14:30)
test 0867...[POP3 CRAM-MD5 authentication]
--pd---emv- OK (596 out of 1250, remaining: 15:56, took 1.3s, duration: 14:31)
test 0868...[POP3 NTLM authentication]
--pd---emv- OK (597 out of 1250, remaining: 15:54, took 1.3s, duration: 14:33)
test 0869...[POP3 DIGEST-MD5 authentication]
--pd---emv- OK (598 out of 1250, remaining: 15:53, took 1.3s, duration: 14:34)
test 0870...[POP3 OAuth 2.0 (XOAUTH2) authentication]
--pd---emv- OK (599 out of 1250, remaining: 15:51, took 1.3s, duration: 14:35)
test 0871...[POP3 plain authentication with initial response]
--pd---emv- OK (600 out of 1250, remaining: 15:49, took 1.2s, duration: 14:36)
test 0872...[POP3 login authentication with initial response]
--pd---emv- OK (601 out of 1250, remaining: 15:48, took 1.3s, duration: 14:38)
test 0873...[POP3 NTLM authentication with initial response]
--pd---emv- OK (602 out of 1250, remaining: 15:46, took 1.3s, duration: 14:39)
test 0874...[POP3 OAuth 2.0 (XOAUTH2) authentication with initial response]
--pd---emv- OK (603 out of 1250, remaining: 15:44, took 1.2s, duration: 14:40)
test 0875...[POP3 with URL-encoded CR LF in the URL]
-------emv- OK (604 out of 1250, remaining: 15:43, took 1.2s, duration: 14:41)
test 0876...[POP3 CRAM-MD5 graceful cancellation]
--p----emv- OK (605 out of 1250, remaining: 15:41, took 1.2s, duration: 14:43)
test 0877...[POP3 NTLM graceful cancellation]
--p----emv- OK (606 out of 1250, remaining: 15:39, took 1.2s, duration: 14:44)
test 0878...[POP3 DIGEST-MD5 graceful cancellation]
--p----emv- OK (607 out of 1250, remaining: 15:37, took 1.2s, duration: 14:45)
test 0879...[POP3 CRAM-MD5 authentication with SASL downgrade]
--pd---emv- OK (608 out of 1250, remaining: 15:36, took 1.3s, duration: 14:46)
test 0880...[POP3 NTLM authentication with SASL downgrade]
--pd---emv- OK (609 out of 1250, remaining: 15:34, took 1.3s, duration: 14:47)
test 0881...[POP3 DIGEST-MD5 authentication with SASL downgrade]
--pd---emv- OK (610 out of 1250, remaining: 15:32, took 1.3s, duration: 14:49)
test 0883...[POP3 external authentication]
--pd---emv- OK (611 out of 1250, remaining: 15:31, took 1.3s, duration: 14:50)
test 0884...[POP3 external authentication without credentials]
--pd---emv- OK (612 out of 1250, remaining: 15:29, took 1.2s, duration: 14:51)
test 0885...[POP3 external authentication with initial response]
--pd---emv- OK (613 out of 1250, remaining: 15:27, took 1.2s, duration: 14:53)
test 0886...[POP3 external authentication with initial response without credentials]
--pd---emv- OK (614 out of 1250, remaining: 15:26, took 1.2s, duration: 14:54)
test 0887...[POP3 OAuth 2.0 (OAUTHBEARER) authentication]
--pd---emv- OK (615 out of 1250, remaining: 15:24, took 1.3s, duration: 14:55)
test 0888...[POP3 OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--pd---emv- OK (616 out of 1250, remaining: 15:23, took 1.3s, duration: 14:56)
test 0889...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (617 out of 1250, remaining: 15:21, took 1.2s, duration: 14:58)
test 0890...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (618 out of 1250, remaining: 15:19, took 1.2s, duration: 14:59)
test 0891...[POP3 with short authentication response]
--p----emv- OK (619 out of 1250, remaining: 15:17, took 1.2s, duration: 15:00)
test 0892...[POP3 plain authentication with alternative authorization identity]
--pd---emv- OK (620 out of 1250, remaining: 15:16, took 1.3s, duration: 15:01)
test 0893...[POP3 plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (621 out of 1250, remaining: 15:14, took 1.2s, duration: 15:02)
test 0900...[SMTP]
--p-u--emv- OK (622 out of 1250, remaining: 15:12, took 1.2s, duration: 15:04)
test 0901...[SMTP with CRLF-dot-CRLF in data]
--p-u--emv- OK (623 out of 1250, remaining: 15:11, took 1.2s, duration: 15:05)
test 0902...[RFC821-only SMTP server (EHLO not supported)]
--p-u--emv- OK (624 out of 1250, remaining: 15:09, took 1.2s, duration: 15:06)
test 0903...[SMTP plain authentication]
--p-u--emv- OK (625 out of 1250, remaining: 15:07, took 1.2s, duration: 15:07)
test 0904...[SMTP login authentication]
--p-u--emv- OK (626 out of 1250, remaining: 15:06, took 1.2s, duration: 15:08)
test 0905...[SMTP CRAM-MD5 authentication]
--p-u--emv- OK (627 out of 1250, remaining: 15:04, took 1.2s, duration: 15:10)
test 0906...[SMTP NTLM authentication]
--p-u--emv- OK (628 out of 1250, remaining: 15:02, took 1.3s, duration: 15:11)
test 0907...[SMTP DIGEST-MD5 authentication]
--p-u--emv- OK (629 out of 1250, remaining: 15:01, took 1.3s, duration: 15:12)
test 0908...[SMTP OAuth 2.0 (XOAUTH2) authentication]
--p-u--emv- OK (630 out of 1250, remaining: 14:59, took 1.2s, duration: 15:13)
test 0909...[SMTP without SIZE support]
--p-u--emv- OK (631 out of 1250, remaining: 14:57, took 1.2s, duration: 15:15)
test 0910...[SMTP without terminating CRLF]
--p-u--emv- OK (632 out of 1250, remaining: 14:56, took 1.2s, duration: 15:16)
test 0911...[SMTP with no mail data]
--p-u--emv- OK (633 out of 1250, remaining: 14:54, took 1.2s, duration: 15:17)
test 0912...[SMTP with SIZE support]
--p-u--emv- OK (634 out of 1250, remaining: 14:52, took 1.2s, duration: 15:18)
test 0913...[SMTP with large message SIZE]
--p----emv- OK (635 out of 1250, remaining: 14:50, took 1.2s, duration: 15:19)
test 0914...[SMTP invalid --mail-from]
--p----emv- OK (636 out of 1250, remaining: 14:49, took 1.2s, duration: 15:21)
test 0915...[SMTP without --mail-from]
--p-u--emv- OK (637 out of 1250, remaining: 14:47, took 1.2s, duration: 15:22)
test 0916...[SMTP with invalid --mail-rcpt]
--p----emv- OK (638 out of 1250, remaining: 14:45, took 1.2s, duration: 15:23)
test 0917...[SMTP with multiple --mail-rcpt]
--p-u--emv- OK (639 out of 1250, remaining: 14:44, took 1.2s, duration: 15:24)
test 0918...[SMTP with multiple and invalid --mail-rcpt]
--p----emv- OK (640 out of 1250, remaining: 14:42, took 1.2s, duration: 15:25)
test 0919...[SMTP plain authentication with initial response]
--p-u--emv- OK (641 out of 1250, remaining: 14:40, took 1.2s, duration: 15:27)
test 0920...[SMTP login authentication with initial response]
--p-u--emv- OK (642 out of 1250, remaining: 14:39, took 1.2s, duration: 15:28)
test 0921...[SMTP NTLM authentication with initial response]
--p-u--emv- OK (643 out of 1250, remaining: 14:37, took 1.3s, duration: 15:29)
test 0922...[SMTP OAuth 2.0 (XOAUTH2) authentication with initial response]
--p-u--emv- OK (644 out of 1250, remaining: 14:35, took 1.2s, duration: 15:30)
test 0923...[SMTP VRFY]
--pd---emv- OK (645 out of 1250, remaining: 14:34, took 1.2s, duration: 15:31)
test 0924...[SMTP ambiguous VRFY]
--pd---emv- OK (646 out of 1250, remaining: 14:32, took 1.2s, duration: 15:33)
test 0925...[SMTP external VRFY]
--pd---emv- OK (647 out of 1250, remaining: 14:30, took 1.2s, duration: 15:34)
test 0926...[SMTP unknown user VRFY]
--p----emv- OK (648 out of 1250, remaining: 14:29, took 1.2s, duration: 15:35)
test 0927...[SMTP mailing list EXPN (CUSTOMREQUEST)]
--pd---emv- OK (649 out of 1250, remaining: 14:27, took 1.2s, duration: 15:36)
test 0928...[SMTP HELP]
--pd---emv- OK (650 out of 1250, remaining: 14:25, took 1.2s, duration: 15:37)
test 0929...[SMTP NOOP (CUSTOMREQUEST)]
--p----emv- OK (651 out of 1250, remaining: 14:23, took 1.2s, duration: 15:39)
test 0930...[SMTP RSET (CUSTOMREQUEST)]
--p----emv- OK (652 out of 1250, remaining: 14:22, took 1.2s, duration: 15:40)
test 0931...[SMTP with URL-encoded CR LF in the URL]
-------emv- OK (653 out of 1250, remaining: 14:20, took 1.1s, duration: 15:41)
test 0932...[SMTP CRAM-MD5 graceful cancellation]
--p----emv- OK (654 out of 1250, remaining: 14:18, took 1.2s, duration: 15:42)
test 0933...[SMTP NTLM graceful cancellation]
--p----emv- OK (655 out of 1250, remaining: 14:17, took 1.2s, duration: 15:43)
test 0934...[SMTP DIGEST-MD5 graceful cancellation]
--p----emv- OK (656 out of 1250, remaining: 14:15, took 1.2s, duration: 15:44)
test 0935...[SMTP CRAM-MD5 authentication with SASL downgrade]
--p-u--emv- OK (657 out of 1250, remaining: 14:13, took 1.2s, duration: 15:46)
test 0936...[SMTP NTLM authentication with SASL downgrade]
--p-u--emv- OK (658 out of 1250, remaining: 14:12, took 1.2s, duration: 15:47)
test 0937...[SMTP DIGEST-MD5 authentication with SASL downgrade]
--p-u--emv- OK (659 out of 1250, remaining: 14:10, took 1.2s, duration: 15:48)
test 0939...[RFC821-only SMTP with username and password]
--p-u--emv- OK (660 out of 1250, remaining: 14:09, took 1.2s, duration: 15:49)
test 0940...[SMTP with username and password but no AUTH capability]
--p-u--emv- OK (661 out of 1250, remaining: 14:07, took 1.2s, duration: 15:50)
test 0941...[SMTP with --crlf]
--p-u--emv- OK (662 out of 1250, remaining: 14:05, took 1.2s, duration: 15:52)
test 0942...[SMTP external authentication]
--p-u--emv- OK (663 out of 1250, remaining: 14:04, took 1.2s, duration: 15:53)
test 0943...[SMTP external authentication without credentials]
--p-u--emv- OK (664 out of 1250, remaining: 14:02, took 1.2s, duration: 15:54)
test 0944...[SMTP external authentication with initial response]
--p-u--emv- OK (665 out of 1250, remaining: 14:00, took 1.2s, duration: 15:55)
test 0945...[SMTP external authentication with initial response without credentials]
--p-u--emv- OK (666 out of 1250, remaining: 13:59, took 1.2s, duration: 15:57)
test 0946...[SMTP OAuth 2.0 (OAUTHBEARER) authentication]
--p-u--emv- OK (667 out of 1250, remaining: 13:57, took 1.2s, duration: 15:58)
test 0947...[SMTP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--p-u--emv- OK (668 out of 1250, remaining: 13:56, took 1.2s, duration: 15:59)
test 0948...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (669 out of 1250, remaining: 13:54, took 1.2s, duration: 16:00)
test 0949...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (670 out of 1250, remaining: 13:52, took 1.2s, duration: 16:01)
test 0950...[SMTP VRFY with custom request]
--pd---emv- OK (671 out of 1250, remaining: 13:51, took 1.2s, duration: 16:03)
test 0951...[SMTP data with dot as first character]
--p-u--emv- OK (672 out of 1250, remaining: 13:49, took 1.2s, duration: 16:04)
test 0952...[SMTP data with single dot-only line]
--p-u--emv- OK (673 out of 1250, remaining: 13:47, took 1.2s, duration: 16:05)
test 0953...[SMTP plain authentication with alternative authorization identity]
--p-u--emv- OK (674 out of 1250, remaining: 13:46, took 1.2s, duration: 16:06)
test 0954...[SMTP plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (675 out of 1250, remaining: 13:44, took 1.2s, duration: 16:07)
test 1000...[FTP dir list PASV with -I]
--p----emv- OK (676 out of 1250, remaining: 13:42, took 1.2s, duration: 16:09)
test 1001...[HTTP POST --digest with PUT and resumed upload and modified method]
--pd---emv- OK (677 out of 1250, remaining: 13:42, took 2.3s, duration: 16:11)
test 1002...[HTTP PUT with Digest auth, resumed upload and modified method, twice]
--pd---emv- OK (678 out of 1250, remaining: 13:42, took 3.4s, duration: 16:14)
test 1003...[FTP with excessively large server command response line]
--pd---emv- OK (679 out of 1250, remaining: 13:40, took 1.3s, duration: 16:16)
test 1004...[HTTP GET with empty proxy]
valgrind SKIPPED
--pd---em-- OK (680 out of 1250, remaining: 13:38, took 0.0s, duration: 16:16)
test 1005...[FTP with excessively large number of server command response lines]
--pd---emv- OK (681 out of 1250, remaining: 13:36, took 1.3s, duration: 16:17)
test 1006...[FTP with excessively large number of server command response lines (boundary condition)]
--pd---emv- OK (682 out of 1250, remaining: 13:35, took 1.3s, duration: 16:18)
test 1007...[TFTP send with invalid permission on server]
--p----emv- OK (683 out of 1250, remaining: 13:33, took 1.1s, duration: 16:19)
test 1008...[HTTP proxy CONNECT auth NTLM with chunked-encoded 407 response]
--pd---emv- OK (684 out of 1250, remaining: 13:31, took 1.5s, duration: 16:21)
test 1009...[TFTP retrieve with --local-port]
--pd---emv- OK (685 out of 1250, remaining: 13:30, took 1.1s, duration: 16:22)
test 1010...[FTP dir list nocwd]
--pd---emv- OK (686 out of 1250, remaining: 13:28, took 1.3s, duration: 16:23)
test 1011...[HTTP POST with 301 redirect]
--pd---emv- OK (687 out of 1250, remaining: 13:27, took 1.3s, duration: 16:24)
test 1012...[HTTP POST with 301 redirect and --post301]
--pd---emv- OK (688 out of 1250, remaining: 13:25, took 1.3s, duration: 16:26)
test 1013...[Compare curl --version with curl-config --protocols]
-------emv- OK (689 out of 1250, remaining: 13:23, took 0.9s, duration: 16:27)
test 1014...[Compare curl --version with curl-config --features]
-------emv- OK (690 out of 1250, remaining: 13:21, took 0.9s, duration: 16:27)
test 1015...[--data-urlencode]
--pd---emv- OK (691 out of 1250, remaining: 13:20, took 1.2s, duration: 16:29)
test 1016...[X-Y range on a file:// URL to stdout]
s------emv- OK (692 out of 1250, remaining: 13:18, took 1.1s, duration: 16:30)
test 1017...[0-Y range on a file:// URL to stdout]
s------emv- OK (693 out of 1250, remaining: 13:16, took 1.1s, duration: 16:31)
test 1018...[X-X range on a file:// URL to stdout]
s------emv- OK (694 out of 1250, remaining: 13:15, took 1.1s, duration: 16:32)
test 1019...[X- range on a file:// URL to stdout]
s------emv- OK (695 out of 1250, remaining: 13:13, took 1.1s, duration: 16:33)
test 1020...[-Y range on a file:// URL to stdout]
s------emv- OK (696 out of 1250, remaining: 13:11, took 1.1s, duration: 16:34)
test 1021...[HTTP proxy CONNECT with any proxyauth and proxy offers NTLM and close]
--pd---emv- OK (697 out of 1250, remaining: 13:10, took 1.3s, duration: 16:35)
test 1022...[Compare curl --version with curl-config --version]
-------emv- OK (698 out of 1250, remaining: 13:08, took 0.9s, duration: 16:36)
test 1023...[Compare curl --version with curl-config --vernum]
-------emv- OK (699 out of 1250, remaining: 13:06, took 0.9s, duration: 16:37)
test 1024...[HTTP Location: following with cookies]
--pd---emv- OK (700 out of 1250, remaining: 13:04, took 1.2s, duration: 16:38)
test 1025...[HTTP Location: following with command-line and server cookies]
--pd---emv- OK (701 out of 1250, remaining: 13:03, took 1.2s, duration: 16:40)
test 1026...[curl --manual ]
-------emv- OK (702 out of 1250, remaining: 13:01, took 0.9s, duration: 16:41)
test 1027...[curl --help]
-------emv- OK (703 out of 1250, remaining: 12:59, took 0.9s, duration: 16:41)
test 1028...[HTTP Location: redirect to FTP URL]
s-p----emv- OK (704 out of 1250, remaining: 12:58, took 1.3s, duration: 16:43)
test 1029...[HTTP Location: and 'redirect_url' check]
s-p----emv- OK (705 out of 1250, remaining: 12:56, took 1.2s, duration: 16:44)
test 1030...[HTTP PUT with --anyauth authorization (picking Digest)]
--pd---emv- OK (706 out of 1250, remaining: 12:56, took 3.3s, duration: 16:47)
test 1031...[HTTP Location: following to a query string]
--pd---emv- OK (707 out of 1250, remaining: 12:54, took 1.2s, duration: 16:48)
test 1032...[HTTP HEAD with --range]
--pd---emv- OK (708 out of 1250, remaining: 12:53, took 1.2s, duration: 16:49)
test 1033...[HTTP GET with 102 response!]
--pd---emv- OK (709 out of 1250, remaining: 12:51, took 1.2s, duration: 16:51)
test 1034...[HTTP over proxy with malformatted IDN host name]
-------emv- OK (710 out of 1250, remaining: 12:49, took 1.1s, duration: 16:52)
test 1035...[HTTP over proxy with too long IDN host name]
-------emv- OK (711 out of 1250, remaining: 12:48, took 1.1s, duration: 16:53)
test 1036...[FTP download resume from end of file]
--p---oemv- OK (712 out of 1250, remaining: 12:46, took 1.2s, duration: 16:54)
test 1037...[FTP download resume from end of empty file]
--p----emv- OK (713 out of 1250, remaining: 12:45, took 1.2s, duration: 16:55)
test 1038...[FTP PASV upload resume from end of file]
--p-u--emv- OK (714 out of 1250, remaining: 12:43, took 1.3s, duration: 16:57)
test 1039...[FTP PASV upload resume from end of empty file]
--p-u--emv- OK (715 out of 1250, remaining: 12:41, took 1.2s, duration: 16:58)
test 1040...[HTTP GET with resume from end of entirely-downloaded file]
--pd---emv- OK (716 out of 1250, remaining: 12:40, took 1.2s, duration: 16:59)
test 1041...[HTTP PUT with resume from end of already-uploaded file]
--pd---emv- OK (717 out of 1250, remaining: 12:39, took 2.2s, duration: 17:01)
test 1042...[HTTP GET beyond end of entirely-downloaded file, no server resume]
--pd---emv- OK (718 out of 1250, remaining: 12:37, took 1.2s, duration: 17:02)
test 1043...[HTTP GET with resume from end of file]
--pd---emv- OK (719 out of 1250, remaining: 12:36, took 1.2s, duration: 17:04)
test 1044...[FTP download large file info with -I]
s-p----emv- OK (720 out of 1250, remaining: 12:34, took 1.2s, duration: 17:05)
test 1045...[HTTP GET with numeric localhost --interface]
--pd---emv- OK (721 out of 1250, remaining: 12:33, took 1.2s, duration: 17:06)
test 1046...[HTTP-IPv6 GET with numeric localhost --interface]
--pd---emv- OK (722 out of 1250, remaining: 12:31, took 1.2s, duration: 17:07)
test 1047...[FTP dir list PASV with localhost --interface]
--pd---emv- OK (723 out of 1250, remaining: 12:29, took 1.2s, duration: 17:08)
test 1048...[FTP-IPv6 dir list PASV with localhost --interface]
--pd---emv- OK (724 out of 1250, remaining: 12:28, took 1.2s, duration: 17:10)
test 1049...[TFTP retrieve with localhost --interface]
--pd---emv- OK (725 out of 1250, remaining: 12:26, took 1.1s, duration: 17:11)
test 1050...[FTP-IPv6 dir list, EPRT with specified IP]
--pd---emv- OK (726 out of 1250, remaining: 12:25, took 1.2s, duration: 17:12)
test 1051...[HTTP PUT with Location: following]
--pd---emv- OK (727 out of 1250, remaining: 12:25, took 3.2s, duration: 17:15)
test 1052...[HTTP 1.0 PUT with Location: following]
--pd---emv- OK (728 out of 1250, remaining: 12:23, took 1.2s, duration: 17:16)
test 1053...[HTTP RFC1867-type formposting from file with Location: following]
--pd---emv- OK (729 out of 1250, remaining: 12:21, took 1.2s, duration: 17:18)
test 1054...[HTTP POST from file with 301 redirect and --post301]
--pd---emv- OK (730 out of 1250, remaining: 12:20, took 1.3s, duration: 17:19)
test 1055...[HTTP PUT Location: redirect to FTP URL]
--pdu--emv- OK (731 out of 1250, remaining: 12:19, took 2.3s, duration: 17:21)
test 1056...[HTTP follow redirect from IPv4 to IPv6 with scope]
--pd---emv- OK (732 out of 1250, remaining: 12:18, took 1.3s, duration: 17:22)
test 1057...[FTP retrieve a byte-range relative to end of file]
--pd---emv- OK (733 out of 1250, remaining: 12:16, took 1.2s, duration: 17:24)
test 1058...[HTTP range relative to end of file]
--pd---emv- OK (734 out of 1250, remaining: 12:14, took 1.2s, duration: 17:25)
test 1059...[HTTP CONNECT with proxytunnel to unsupported FTP URL]
--p----emv- OK (735 out of 1250, remaining: 12:13, took 1.2s, duration: 17:26)
test 1060...[HTTP proxy CONNECT auth Digest, large headers and data]
--pd---emv- OK (736 out of 1250, remaining: 12:13, took 3.6s, duration: 17:30)
test 1061...[HTTP proxy CONNECT auth Digest, large headers and chunked data]
--pd---emv- OK (737 out of 1250, remaining: 12:13, took 3.6s, duration: 17:33)
test 1062...[FTP with excessively long server command response lines, boundary condition]
--pd---emv- OK (738 out of 1250, remaining: 12:11, took 1.3s, duration: 17:34)
test 1063...[Invalid large X- range on a file://]
-------emv- OK (739 out of 1250, remaining: 12:10, took 1.1s, duration: 17:36)
test 1064...[HTTP PUT twice]
s-p----emv- OK (740 out of 1250, remaining: 12:08, took 1.2s, duration: 17:37)
test 1065...[HTTP PUT with one file but two URLs]
s-p----emv- OK (741 out of 1250, remaining: 12:07, took 1.2s, duration: 17:38)
test 1066...[HTTP --dump-header - with two URLs]
s-p----emv- OK (742 out of 1250, remaining: 12:05, took 1.2s, duration: 17:39)
test 1067...[HTTP Location: following with auto-referer]
--pd---emv- OK (743 out of 1250, remaining: 12:03, took 1.2s, duration: 17:40)
test 1068...[HTTP PUT from stdin]
--pd---emv- OK (744 out of 1250, remaining: 12:03, took 2.2s, duration: 17:43)
test 1069...[HTTP 1.0 PUT from stdin with no content length]
-------emv- OK (745 out of 1250, remaining: 12:01, took 1.1s, duration: 17:44)
test 1070...[HTTP POST with server closing connection before (all) data is received]
--pd---emv- OK (746 out of 1250, remaining: 12:00, took 2.2s, duration: 17:46)
test 1071...[Downgraded HTTP PUT to HTTP 1.0 with authorization]
--pd---emv- OK (747 out of 1250, remaining: 11:59, took 2.2s, duration: 17:48)
test 1072...[HTTP chunked PUT to HTTP 1.0 server with authorization]
--pd---emv- OK (748 out of 1250, remaining: 11:58, took 2.2s, duration: 17:50)
test 1073...[HTTP chunked PUT to HTTP 1.0 server with redirect]
--pd---emv- OK (749 out of 1250, remaining: 11:57, took 2.2s, duration: 17:53)
test 1074...[HTTP downgrade to HTTP/1.0 on second request]
s-p----emv- OK (750 out of 1250, remaining: 11:57, took 3.2s, duration: 17:56)
test 1075...[HTTP PUT with --anyauth authorization (picking Basic)]
--pd---emv- OK (751 out of 1250, remaining: 11:57, took 3.3s, duration: 17:59)
test 1076...[HTTP POST with 302 redirect and --post302]
--pd---emv- OK (752 out of 1250, remaining: 11:55, took 1.3s, duration: 18:00)
test 1077...[FTP over HTTP proxy with downgrade to HTTP 1.0]
--pd---emv- OK (753 out of 1250, remaining: 11:54, took 1.2s, duration: 18:02)
test 1078...[HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0]
s-p--P-emv- OK (754 out of 1250, remaining: 11:52, took 1.7s, duration: 18:03)
test 1079...[HTTP retry after closed connection and empty response]
--pd---emv- OK (755 out of 1250, remaining: 11:51, took 1.3s, duration: 18:05)
test 1080...[HTTP Location: on two URLs 'redirect_url' check]
s-p----emv- OK (756 out of 1250, remaining: 11:49, took 1.2s, duration: 18:06)
test 1081...[HTTP no Location: on second URL 'redirect_url' check]
s-p----emv- OK (757 out of 1250, remaining: 11:48, took 1.2s, duration: 18:07)
test 1082...[HTTP GET with localhost --interface]
--pd---emv- OK (758 out of 1250, remaining: 11:46, took 1.2s, duration: 18:08)
test 1083...[HTTP-IPv6 GET with ip6-localhost --interface]
--pd---emv- OK (759 out of 1250, remaining: 11:45, took 1.2s, duration: 18:09)
test 1084...[HTTP GET with invalid --interface]
-------emv- OK (760 out of 1250, remaining: 11:43, took 1.1s, duration: 18:11)
test 1085...[HTTP-IPv6 GET with invalid --interface]
-------emv- OK (761 out of 1250, remaining: 11:41, took 1.2s, duration: 18:12)
test 1086...[FTP download with strict timeout and slow data transfer]
Killed
Killed
--p----emv- OK (762 out of 1250, remaining: 11:48, took 14.1s, duration: 18:26)
test 1087...[HTTP, proxy with --anyauth and Location: to new host]
--pd---emv- OK (763 out of 1250, remaining: 11:46, took 1.3s, duration: 18:27)
test 1088...[HTTP, proxy with --anyauth and Location: to new host using location-trusted]
--pd---emv- OK (764 out of 1250, remaining: 11:45, took 1.3s, duration: 18:28)
test 1089...[HTTP GET --write-out with redirected fetch]
s-p----emv- OK (765 out of 1250, remaining: 11:43, took 1.2s, duration: 18:30)
test 1090...[HTTP GET --write-out with redirected fetch and chunked reply]
s-p----emv- OK (766 out of 1250, remaining: 11:42, took 1.2s, duration: 18:31)
test 1091...[FTP URL with type=i]
--pd---emv- OK (767 out of 1250, remaining: 11:41, took 3.3s, duration: 18:34)
test 1092...[FTP with type=i over HTTP proxy]
--pd---emv- OK (768 out of 1250, remaining: 11:40, took 1.2s, duration: 18:35)
test 1093...[TFTP retrieve with mode=i]
--pd---emv- OK (769 out of 1250, remaining: 11:38, took 1.1s, duration: 18:37)
test 1094...[TFTP retrieve with mode=netascii]
--pd---emv- OK (770 out of 1250, remaining: 11:37, took 1.1s, duration: 18:38)
test 1095...[HTTP with Digest and realm with quoted quotes]
--pd---emv- OK (771 out of 1250, remaining: 11:35, took 1.2s, duration: 18:39)
test 1096...[Two FTP downloads, with failed RETR but re-used control connection]
Killed
Killed
--p----emv- OK (772 out of 1250, remaining: 11:33, took 1.2s, duration: 18:40)
test 1097...[HTTP POST using CONNECT with --proxy-ntlm but no auth is required]
--pd---emv- OK (773 out of 1250, remaining: 11:32, took 1.2s, duration: 18:41)
test 1098...[FTP RETR twice over proxy confirming persistent connection]
s-p----emv- OK (774 out of 1250, remaining: 11:30, took 1.2s, duration: 18:43)
test 1099...[TFTP get first a non-existing file then an existing]
s-p----emv- OK (775 out of 1250, remaining: 11:29, took 1.2s, duration: 18:44)
test 1100...[HTTP POST with NTLM authorization and following a 302 redirect]
--pd---emv- OK (776 out of 1250, remaining: 11:27, took 1.3s, duration: 18:45)
test 1101...[NO_PROXY test, with user name in URL]
--pd---emv- OK (777 out of 1250, remaining: 11:25, took 1.2s, duration: 18:46)
test 1102...[FTP OS/400 server name format check]
--p----emv- OK (778 out of 1250, remaining: 11:24, took 1.2s, duration: 18:47)
test 1103...[FTP non-OS/400 server]
--p----emv- OK (779 out of 1250, remaining: 11:22, took 1.2s, duration: 18:49)
test 1104...[HTTP cookie expiry date at Jan 1 00:00:00 GMT 1970]
--pd---emv- OK (780 out of 1250, remaining: 11:21, took 1.2s, duration: 18:50)
test 1105...[HTTP with cookie parser and header recording]
--pd--oemv- OK (781 out of 1250, remaining: 11:19, took 1.2s, duration: 18:51)
test 1106...[FTP URL and with ftp_proxy environment variable set]
--p----emv- OK (782 out of 1250, remaining: 11:17, took 1.2s, duration: 18:52)
test 1107...[FTP RETR PASV with PRET]
--pd---emv- OK (783 out of 1250, remaining: 11:16, took 1.2s, duration: 18:53)
test 1108...[FTP RETR PASV with PRET not supported]
--p----emv- OK (784 out of 1250, remaining: 11:14, took 1.2s, duration: 18:55)
test 1109...[HTTP GET with URL that contains fragment after the path]
--pd---emv- OK (785 out of 1250, remaining: 11:13, took 1.2s, duration: 18:56)
test 1110...[HTTP GET with URL that contains a fragment after the query part]
--pd---emv- OK (786 out of 1250, remaining: 11:11, took 1.2s, duration: 18:57)
test 1111...[HTTP GET with URL whose fragment contains a # (which is illegal)]
--pd---emv- OK (787 out of 1250, remaining: 11:09, took 1.2s, duration: 18:58)
test 1112...[FTPS download with strict timeout and slow data transfer]
Killed
Killed
goto problem 32
valgrind ERROR ==25045== Invalid read of size 8
==25045== at 0x53315A5: check_free (dlerror.c:188)
==25045== by 0x5331AB1: free_key_mem (dlerror.c:221)
==25045== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==25045== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==25045== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==25045== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==25045== by 0x4D60EB9: exit (exit.c:139)
==25045== by 0x4D4B0A1: (below main) (libc-start.c:342)
==25045== Address 0x5af4ff0 is 0 bytes after a block of size 32 alloc'd
==25045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==25045== by 0x25C282: OPENSSL_malloc (mem.c:106)
==25045== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==25045== by 0x24B104: err_get_state (err.c:210)
==25045== by 0x24BCDA: ERR_put_error (err.c:636)
==25045== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==25045== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==25045== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==25045== by 0x270326: by_file_ctrl (by_file.c:111)
==25045== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==25045== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==25045== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==25045== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==25045== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==25045== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==25045== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==25045==
==25045== Invalid free() / delete / delete[] / realloc()
==25045== at 0x48369AB: free (vg_replace_malloc.c:540)
==25045== by 0x5331AB9: free_key_mem (dlerror.c:223)
==25045== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==25045== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==25045== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==25045== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==25045== by 0x4D60EB9: exit (exit.c:139)
==25045== by 0x4D4B0A1: (below main) (libc-start.c:342)
==25045== Address 0x5af4fd8 is 8 bytes inside a block of size 32 alloc'd
==25045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==25045== by 0x25C282: OPENSSL_malloc (mem.c:106)
==25045== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==25045== by 0x24B104: err_get_state (err.c:210)
==25045== by 0x24BCDA: ERR_put_error (err.c:636)
==25045== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==25045== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==25045== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==25045== by 0x270326: by_file_ctrl (by_file.c:111)
==25045== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==25045== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==25045== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==25045== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==25045== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==25045== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==25045== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==25045==
==25045== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==25045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==25045== by 0x25C282: OPENSSL_malloc (mem.c:106)
==25045== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==25045== by 0x24B104: err_get_state (err.c:210)
==25045== by 0x24BCDA: ERR_put_error (err.c:636)
==25045== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==25045== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==25045== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==25045== by 0x270326: by_file_ctrl (by_file.c:111)
==25045== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==25045== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==25045== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==25045== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==25045== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==25045== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==25045== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==25045==
== Contents of files in the log/ dir after test 1112
=== Start of file curl1112.out
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that c
=== End of file curl1112.out
=== Start of file ftp_server.log
03:10:26.094660 ====> Client connect
03:10:26.094823 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:10:26.095613 < "USER anonymous"
03:10:26.095712 > "331 We are happy you popped in![CR][LF]"
03:10:26.096249 < "PASS ftp@example.com"
03:10:26.096352 > "230 Welcome you silly person[CR][LF]"
03:10:26.096982 < "PBSZ 0"
03:10:26.097051 > "500 PBSZ not implemented[CR][LF]"
03:10:26.097654 < "PROT C"
03:10:26.097718 > "500 PROT not implemented[CR][LF]"
03:10:26.098248 < "PWD"
03:10:26.098316 > "257 "/" is current directory[CR][LF]"
03:10:26.098866 < "EPSV"
03:10:26.098921 ====> Passive DATA channel requested by client
03:10:26.098949 DATA sockfilt for passive data channel starting...
03:10:26.101923 DATA sockfilt for passive data channel started (pid 25042)
03:10:26.102156 DATA sockfilt for passive data channel listens on port 37689
03:10:26.102231 > "229 Entering Passive Mode (|||37689|)[LF]"
03:10:26.102272 Client has been notified that DATA conn will be accepted on port 37689
03:10:26.102677 Client connects to port 37689
03:10:26.102711 ====> Client established passive DATA connection on port 37689
03:10:26.102838 < "TYPE I"
03:10:26.102900 > "200 I modify TYPE as you wanted[CR][LF]"
03:10:26.103327 < "SIZE verifiedserver"
03:10:26.103412 > "213 17[CR][LF]"
03:10:26.103924 < "RETR verifiedserver"
03:10:26.103993 > "150 Binary junk (17 bytes).[CR][LF]"
03:10:26.104128 =====> Closing passive DATA connection...
03:10:26.104183 Server disconnects passive DATA connection
03:10:26.104323 DATA sockfilt for passive data channel quits (pid 25043)
03:10:26.104361 =====> Closed passive DATA connection
03:10:26.104417 > "226 File transfer complete[CR][LF]"
03:10:26.148142 < "QUIT"
03:10:26.148216 > "221 bye bye baby[CR][LF]"
03:10:26.148689 MAIN sockfilt said DISC
03:10:26.148774 ====> Client disconnected
03:10:26.148865 Awaiting input
03:10:30.154388 ====> Client connect
03:10:30.154489 FTPD: Getting commands from log/ftpserver.cmd
03:10:30.154524 FTPD: send response with 0.01 sec delay between each byte
03:10:30.154612 FTPD: set custom reply for USER command
03:10:30.154667 FTPD: set custom reply for PASS command
03:10:30.154718 FTPD: set custom reply for PWD command
03:10:30.154768 FTPD: set custom reply for TYPE command
03:10:31.767744 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:10:31.776012 < "USER anonymous"
03:10:31.856769 > "331 OK[CR][LF]"
03:10:31.856974 < "PASS ftp@example.com"
03:10:31.937766 > "230 OK[CR][LF]"
03:10:31.937976 < "PBSZ 0"
03:10:32.200395 > "500 PBSZ not implemented[CR][LF]"
03:10:32.200622 < "PROT C"
03:10:32.463156 > "500 PROT not implemented[CR][LF]"
03:10:32.463381 < "PWD"
03:10:32.554277 > "257 "/"[CR][LF]"
03:10:32.557288 < "EPSV"
03:10:32.557326 ====> Passive DATA channel requested by client
03:10:32.557344 DATA sockfilt for passive data channel starting...
03:10:32.559331 DATA sockfilt for passive data channel started (pid 25047)
03:10:32.559532 DATA sockfilt for passive data channel listens on port 45813
03:10:32.943189 > "229 Entering Passive Mode (|||45813|)[LF]"
03:10:32.943261 Client has been notified that DATA conn will be accepted on port 45813
03:10:32.945592 Client connects to port 45813
03:10:32.945653 ====> Client established passive DATA connection on port 45813
03:10:32.952282 < "TYPE I"
03:10:33.032998 > "200 OK[CR][LF]"
03:10:33.033136 < "SIZE 1112"
03:10:33.134227 > "213 3600[CR][LF]"
03:10:33.134402 < "RETR 1112"
03:10:33.679792 > "150 Binary data connection for 1112 () (3600 bytes).[CR][LF]"
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:10:26.195375 ====> Client connect
03:10:26.195622 Received DATA (on stdin)
03:10:26.195673 > 160 bytes data, server => client
03:10:26.195713 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:10:26.195747 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:10:26.195785 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:10:26.196230 < 16 bytes data, client => server
03:10:26.196272 'USER anonymous\r\n'
03:10:26.196548 Received DATA (on stdin)
03:10:26.196604 > 33 bytes data, server => client
03:10:26.196629 '331 We are happy you popped in!\r\n'
03:10:26.196968 < 22 bytes data, client => server
03:10:26.197011 'PASS ftp@example.com\r\n'
03:10:26.197182 Received DATA (on stdin)
03:10:26.197239 > 30 bytes data, server => client
03:10:26.197263 '230 Welcome you silly person\r\n'
03:10:26.197597 < 8 bytes data, client => server
03:10:26.197645 'PBSZ 0\r\n'
03:10:26.197881 Received DATA (on stdin)
03:10:26.197938 > 26 bytes data, server => client
03:10:26.197962 '500 PBSZ not implemented\r\n'
03:10:26.198274 < 8 bytes data, client => server
03:10:26.198336 'PROT C\r\n'
03:10:26.198548 Received DATA (on stdin)
03:10:26.198604 > 26 bytes data, server => client
03:10:26.198629 '500 PROT not implemented\r\n'
03:10:26.198931 < 5 bytes data, client => server
03:10:26.198956 'PWD\r\n'
03:10:26.199146 Received DATA (on stdin)
03:10:26.199202 > 30 bytes data, server => client
03:10:26.199227 '257 "/" is current directory\r\n'
03:10:26.199568 < 6 bytes data, client => server
03:10:26.199617 'EPSV\r\n'
03:10:26.203036 Received DATA (on stdin)
03:10:26.203088 > 38 bytes data, server => client
03:10:26.203112 '229 Entering Passive Mode (|||37689|)\n'
03:10:26.203523 < 8 bytes data, client => server
03:10:26.203536 'TYPE I\r\n'
03:10:26.203702 Received DATA (on stdin)
03:10:26.203733 > 33 bytes data, server => client
03:10:26.203753 '200 I modify TYPE as you wanted\r\n'
03:10:26.204045 < 21 bytes data, client => server
03:10:26.204095 'SIZE verifiedserver\r\n'
03:10:26.204231 Received DATA (on stdin)
03:10:26.204269 > 8 bytes data, server => client
03:10:26.204293 '213 17\r\n'
03:10:26.204624 < 21 bytes data, client => server
03:10:26.204663 'RETR verifiedserver\r\n'
03:10:26.204811 Received DATA (on stdin)
03:10:26.204850 > 29 bytes data, server => client
03:10:26.204879 '150 Binary junk (17 bytes).\r\n'
03:10:26.205231 Received DATA (on stdin)
03:10:26.205255 > 28 bytes data, server => client
03:10:26.205279 '226 File transfer complete\r\n'
03:10:26.248791 < 6 bytes data, client => server
03:10:26.248841 'QUIT\r\n'
03:10:26.249047 Received DATA (on stdin)
03:10:26.249105 > 18 bytes data, server => client
03:10:26.249135 '221 bye bye baby\r\n'
03:10:26.249394 ====> Client disconnect
03:10:30.255132 ====> Client connect
03:10:30.255643 Received DATA (on stdin)
03:10:30.255657 > 1 bytes data, server => client
03:10:30.255666 '2'
03:10:30.265716 Received DATA (on stdin)
03:10:30.265730 > 1 bytes data, server => client
03:10:30.265739 '2'
03:10:30.275785 Received DATA (on stdin)
03:10:30.275798 > 1 bytes data, server => client
03:10:30.275806 '0'
03:10:30.285852 Received DATA (on stdin)
03:10:30.285867 > 1 bytes data, server => client
03:10:30.285879 '-'
03:10:30.295918 Received DATA (on stdin)
03:10:30.295933 > 1 bytes data, server => client
03:10:30.295941 ' '
03:10:30.305984 Received DATA (on stdin)
03:10:30.305998 > 1 bytes data, server => client
03:10:30.306007 ' '
03:10:30.316072 Received DATA (on stdin)
03:10:30.316096 > 1 bytes data, server => client
03:10:30.316108 ' '
03:10:30.326119 Received DATA (on stdin)
03:10:30.326141 > 1 bytes data, server => client
03:10:30.326154 ' '
03:10:30.336239 Received DATA (on stdin)
03:10:30.336273 > 1 bytes data, server => client
03:10:30.336292 ' '
03:10:30.346329 Received DATA (on stdin)
03:10:30.346384 > 1 bytes data, server => client
03:10:30.346405 ' '
03:10:30.356433 Received DATA (on stdin)
03:10:30.356489 > 1 bytes data, server => client
03:10:30.356514 ' '
03:10:30.366522 Received DATA (on stdin)
03:10:30.366588 > 1 bytes data, server => client
03:10:30.366613 ' '
03:10:30.376618 Received DATA (on stdin)
03:10:30.376676 > 1 bytes data, server => client
03:10:30.376722 '_'
03:10:30.386692 Received DATA (on stdin)
03:10:30.386751 > 1 bytes data, server => client
03:10:30.386777 ' '
03:10:30.396767 Received DATA (on stdin)
03:10:30.396826 > 1 bytes data, server => client
03:10:30.396852 ' '
03:10:30.406838 Received DATA (on stdin)
03:10:30.406897 > 1 bytes data, server => client
03:10:30.406923 ' '
03:10:30.416909 Received DATA (on stdin)
03:10:30.416968 > 1 bytes data, server => client
03:10:30.416994 '_'
03:10:30.426981 Received DATA (on stdin)
03:10:30.427040 > 1 bytes data, server => client
03:10:30.427066 ' '
03:10:30.437051 Received DATA (on stdin)
03:10:30.437110 > 1 bytes data, server => client
03:10:30.437136 '_'
03:10:30.447125 Received DATA (on stdin)
03:10:30.447183 > 1 bytes data, server => client
03:10:30.447210 '_'
03:10:30.457195 Received DATA (on stdin)
03:10:30.457254 > 1 bytes data, server => client
03:10:30.457280 '_'
03:10:30.467268 Received DATA (on stdin)
03:10:30.467327 > 1 bytes data, server => client
03:10:30.467353 '_'
03:10:30.477338 Received DATA (on stdin)
03:10:30.477397 > 1 bytes data, server => client
03:10:30.477424 ' '
03:10:30.487408 Received DATA (on stdin)
03:10:30.487467 > 1 bytes data, server => client
03:10:30.487494 ' '
03:10:30.497481 Received DATA (on stdin)
03:10:30.497540 > 1 bytes data, server => client
03:10:30.497566 '_'
03:10:30.507574 Received DATA (on stdin)
03:10:30.507659 > 1 bytes data, server => client
03:10:30.507684 ' '
03:10:30.517654 Received DATA (on stdin)
03:10:30.517720 > 1 bytes data, server => client
03:10:30.517745 ' '
03:10:30.527716 Received DATA (on stdin)
03:10:30.527787 > 1 bytes data, server => client
03:10:30.527816 ' '
03:10:30.537805 Received DATA (on stdin)
03:10:30.537864 > 1 bytes data, server => client
03:10:30.537891 ' '
03:10:30.547883 Received DATA (on stdin)
03:10:30.547941 > 1 bytes data, server => client
03:10:30.547968 ' '
03:10:30.557955 Received DATA (on stdin)
03:10:30.558014 > 1 bytes data, server => client
03:10:30.558040 '\r'
03:10:30.568025 Received DATA (on stdin)
03:10:30.568084 > 1 bytes data, server => client
03:10:30.568110 '\n'
03:10:30.578096 Received DATA (on stdin)
03:10:30.578155 > 1 bytes data, server => client
03:10:30.578181 '2'
03:10:30.588166 Received DATA (on stdin)
03:10:30.588225 > 1 bytes data, server => client
03:10:30.588251 '2'
03:10:30.598240 Received DATA (on stdin)
03:10:30.598298 > 1 bytes data, server => client
03:10:30.598324 '0'
03:10:30.608311 Received DATA (on stdin)
03:10:30.608369 > 1 bytes data, server => client
03:10:30.608395 '-'
03:10:30.618381 Received DATA (on stdin)
03:10:30.618440 > 1 bytes data, server => client
03:10:30.618466 ' '
03:10:30.628457 Received DATA (on stdin)
03:10:30.628527 > 1 bytes data, server => client
03:10:30.628559 ' '
03:10:30.638527 Received DATA (on stdin)
03:10:30.638586 > 1 bytes data, server => client
03:10:30.638612 ' '
03:10:30.648600 Received DATA (on stdin)
03:10:30.648658 > 1 bytes data, server => client
03:10:30.648685 ' '
03:10:30.658672 Received DATA (on stdin)
03:10:30.658730 > 1 bytes data, server => client
03:10:30.658757 '_'
03:10:30.668744 Received DATA (on stdin)
03:10:30.668802 > 1 bytes data, server => client
03:10:30.668828 '_'
03:10:30.678816 Received DATA (on stdin)
03:10:30.678875 > 1 bytes data, server => client
03:10:30.678901 '_'
03:10:30.688888 Received DATA (on stdin)
03:10:30.688946 > 1 bytes data, server => client
03:10:30.688973 '|'
03:10:30.698964 Received DATA (on stdin)
03:10:30.699023 > 1 bytes data, server => client
03:10:30.699049 ' '
03:10:30.709038 Received DATA (on stdin)
03:10:30.709096 > 1 bytes data, server => client
03:10:30.709123 '|'
03:10:30.719109 Received DATA (on stdin)
03:10:30.719167 > 1 bytes data, server => client
03:10:30.719193 ' '
03:10:30.729179 Received DATA (on stdin)
03:10:30.729237 > 1 bytes data, server => client
03:10:30.729264 '|'
03:10:30.739252 Received DATA (on stdin)
03:10:30.739311 > 1 bytes data, server => client
03:10:30.739337 ' '
03:10:30.749328 Received DATA (on stdin)
03:10:30.749399 > 1 bytes data, server => client
03:10:30.749427 '|'
03:10:30.759399 Received DATA (on stdin)
03:10:30.759458 > 1 bytes data, server => client
03:10:30.759484 ' '
03:10:30.769473 Received DATA (on stdin)
03:10:30.769532 > 1 bytes data, server => client
03:10:30.769558 ' '
03:10:30.779542 Received DATA (on stdin)
03:10:30.779601 > 1 bytes data, server => client
03:10:30.779627 '_'
03:10:30.789613 Received DATA (on stdin)
03:10:30.789671 > 1 bytes data, server => client
03:10:30.789698 ' '
03:10:30.799685 Received DATA (on stdin)
03:10:30.799743 > 1 bytes data, server => client
03:10:30.799781 '\'
03:10:30.809758 Received DATA (on stdin)
03:10:30.809817 > 1 bytes data, server => client
03:10:30.809843 '|'
03:10:30.819830 Received DATA (on stdin)
03:10:30.819888 > 1 bytes data, server => client
03:10:30.819915 ' '
03:10:30.829902 Received DATA (on stdin)
03:10:30.829960 > 1 bytes data, server => client
03:10:30.829987 '|'
03:10:30.839977 Received DATA (on stdin)
03:10:30.840035 > 1 bytes data, server => client
03:10:30.840062 ' '
03:10:30.850052 Received DATA (on stdin)
03:10:30.850111 > 1 bytes data, server => client
03:10:30.850138 ' '
03:10:30.860126 Received DATA (on stdin)
03:10:30.860184 > 1 bytes data, server => client
03:10:30.860211 ' '
03:10:30.870198 Received DATA (on stdin)
03:10:30.870256 > 1 bytes data, server => client
03:10:30.870283 ' '
03:10:30.880268 Received DATA (on stdin)
03:10:30.880327 > 1 bytes data, server => client
03:10:30.880353 '\r'
03:10:30.890339 Received DATA (on stdin)
03:10:30.890397 > 1 bytes data, server => client
03:10:30.890423 '\n'
03:10:30.900412 Received DATA (on stdin)
03:10:30.900470 > 1 bytes data, server => client
03:10:30.900496 '2'
03:10:30.910484 Received DATA (on stdin)
03:10:30.910543 > 1 bytes data, server => client
03:10:30.910569 '2'
03:10:30.920564 Received DATA (on stdin)
03:10:30.920622 > 1 bytes data, server => client
03:10:30.920649 '0'
03:10:30.930637 Received DATA (on stdin)
03:10:30.930695 > 1 bytes data, server => client
03:10:30.930722 '-'
03:10:30.940710 Received DATA (on stdin)
03:10:30.940769 > 1 bytes data, server => client
03:10:30.940795 ' '
03:10:30.950786 Received DATA (on stdin)
03:10:30.950844 > 1 bytes data, server => client
03:10:30.950870 ' '
03:10:30.960857 Received DATA (on stdin)
03:10:30.960916 > 1 bytes data, server => client
03:10:30.960942 ' '
03:10:30.970928 Received DATA (on stdin)
03:10:30.970987 > 1 bytes data, server => client
03:10:30.971014 '/'
03:10:30.981004 Received DATA (on stdin)
03:10:30.981063 > 1 bytes data, server => client
03:10:30.981089 ' '
03:10:30.991077 Received DATA (on stdin)
03:10:30.991136 > 1 bytes data, server => client
03:10:30.991162 '_'
03:10:31.001140 Received DATA (on stdin)
03:10:31.001212 > 1 bytes data, server => client
03:10:31.001249 '_'
03:10:31.011243 Received DATA (on stdin)
03:10:31.011303 > 1 bytes data, server => client
03:10:31.011329 '|'
03:10:31.021325 Received DATA (on stdin)
03:10:31.021385 > 1 bytes data, server => client
03:10:31.021411 ' '
03:10:31.031405 Received DATA (on stdin)
03:10:31.031466 > 1 bytes data, server => client
03:10:31.031492 '|'
03:10:31.041488 Received DATA (on stdin)
03:10:31.041548 > 1 bytes data, server => client
03:10:31.041574 ' '
03:10:31.051557 Received DATA (on stdin)
03:10:31.051617 > 1 bytes data, server => client
03:10:31.051645 '|'
03:10:31.061647 Received DATA (on stdin)
03:10:31.061707 > 1 bytes data, server => client
03:10:31.061734 ' '
03:10:31.071728 Received DATA (on stdin)
03:10:31.071800 > 1 bytes data, server => client
03:10:31.071826 '|'
03:10:31.081807 Received DATA (on stdin)
03:10:31.081867 > 1 bytes data, server => client
03:10:31.081894 ' '
03:10:31.091886 Received DATA (on stdin)
03:10:31.091946 > 1 bytes data, server => client
03:10:31.091972 '|'
03:10:31.101965 Received DATA (on stdin)
03:10:31.102025 > 1 bytes data, server => client
03:10:31.102052 '_'
03:10:31.112044 Received DATA (on stdin)
03:10:31.112105 > 1 bytes data, server => client
03:10:31.112131 ')'
03:10:31.122126 Received DATA (on stdin)
03:10:31.122202 > 1 bytes data, server => client
03:10:31.122229 ' '
03:10:31.132204 Received DATA (on stdin)
03:10:31.132265 > 1 bytes data, server => client
03:10:31.132291 '|'
03:10:31.142285 Received DATA (on stdin)
03:10:31.142346 > 1 bytes data, server => client
03:10:31.142372 ' '
03:10:31.152348 Received DATA (on stdin)
03:10:31.152410 > 1 bytes data, server => client
03:10:31.152435 '|'
03:10:31.162448 Received DATA (on stdin)
03:10:31.162509 > 1 bytes data, server => client
03:10:31.162535 ' '
03:10:31.172526 Received DATA (on stdin)
03:10:31.172586 > 1 bytes data, server => client
03:10:31.172613 ' '
03:10:31.182606 Received DATA (on stdin)
03:10:31.182667 > 1 bytes data, server => client
03:10:31.182693 ' '
03:10:31.192682 Received DATA (on stdin)
03:10:31.192742 > 1 bytes data, server => client
03:10:31.192769 ' '
03:10:31.202762 Received DATA (on stdin)
03:10:31.202822 > 1 bytes data, server => client
03:10:31.202848 '\r'
03:10:31.212841 Received DATA (on stdin)
03:10:31.212901 > 1 bytes data, server => client
03:10:31.212927 '\n'
03:10:31.222914 Received DATA (on stdin)
03:10:31.222975 > 1 bytes data, server => client
03:10:31.223001 '2'
03:10:31.232996 Received DATA (on stdin)
03:10:31.233056 > 1 bytes data, server => client
03:10:31.233083 '2'
03:10:31.243074 Received DATA (on stdin)
03:10:31.243134 > 1 bytes data, server => client
03:10:31.243161 '0'
03:10:31.253153 Received DATA (on stdin)
03:10:31.253213 > 1 bytes data, server => client
03:10:31.253240 '-'
03:10:31.263232 Received DATA (on stdin)
03:10:31.263292 > 1 bytes data, server => client
03:10:31.263318 ' '
03:10:31.273311 Received DATA (on stdin)
03:10:31.273371 > 1 bytes data, server => client
03:10:31.273398 ' '
03:10:31.283380 Received DATA (on stdin)
03:10:31.283439 > 1 bytes data, server => client
03:10:31.283464 '|'
03:10:31.293468 Received DATA (on stdin)
03:10:31.293528 > 1 bytes data, server => client
03:10:31.293554 ' '
03:10:31.303546 Received DATA (on stdin)
03:10:31.303606 > 1 bytes data, server => client
03:10:31.303633 '('
03:10:31.313624 Received DATA (on stdin)
03:10:31.313684 > 1 bytes data, server => client
03:10:31.313711 '_'
03:10:31.323702 Received DATA (on stdin)
03:10:31.323763 > 1 bytes data, server => client
03:10:31.323816 '_'
03:10:31.333783 Received DATA (on stdin)
03:10:31.333844 > 1 bytes data, server => client
03:10:31.333870 '|'
03:10:31.343861 Received DATA (on stdin)
03:10:31.343921 > 1 bytes data, server => client
03:10:31.343948 ' '
03:10:31.353943 Received DATA (on stdin)
03:10:31.354003 > 1 bytes data, server => client
03:10:31.354029 '|'
03:10:31.364023 Received DATA (on stdin)
03:10:31.364083 > 1 bytes data, server => client
03:10:31.364109 '_'
03:10:31.374101 Received DATA (on stdin)
03:10:31.374162 > 1 bytes data, server => client
03:10:31.374188 '|'
03:10:31.384180 Received DATA (on stdin)
03:10:31.384240 > 1 bytes data, server => client
03:10:31.384267 ' '
03:10:31.394263 Received DATA (on stdin)
03:10:31.394324 > 1 bytes data, server => client
03:10:31.394351 '|'
03:10:31.404386 Received DATA (on stdin)
03:10:31.404477 > 1 bytes data, server => client
03:10:31.404502 ' '
03:10:31.414453 Received DATA (on stdin)
03:10:31.414519 > 1 bytes data, server => client
03:10:31.414546 ' '
03:10:31.424559 Received DATA (on stdin)
03:10:31.424626 > 1 bytes data, server => client
03:10:31.424652 '_'
03:10:31.434656 Received DATA (on stdin)
03:10:31.434714 > 1 bytes data, server => client
03:10:31.434741 ' '
03:10:31.444751 Received DATA (on stdin)
03:10:31.444809 > 1 bytes data, server => client
03:10:31.444836 '{'
03:10:31.454846 Received DATA (on stdin)
03:10:31.454904 > 1 bytes data, server => client
03:10:31.454930 '|'
03:10:31.464941 Received DATA (on stdin)
03:10:31.464999 > 1 bytes data, server => client
03:10:31.465026 ' '
03:10:31.475031 Received DATA (on stdin)
03:10:31.475094 > 1 bytes data, server => client
03:10:31.475118 '|'
03:10:31.485131 Received DATA (on stdin)
03:10:31.485189 > 1 bytes data, server => client
03:10:31.485216 '_'
03:10:31.495227 Received DATA (on stdin)
03:10:31.495285 > 1 bytes data, server => client
03:10:31.495329 '_'
03:10:31.505336 Received DATA (on stdin)
03:10:31.505421 > 1 bytes data, server => client
03:10:31.505446 '_'
03:10:31.515425 Received DATA (on stdin)
03:10:31.515484 > 1 bytes data, server => client
03:10:31.515510 ' '
03:10:31.525522 Received DATA (on stdin)
03:10:31.525587 > 1 bytes data, server => client
03:10:31.525613 '\r'
03:10:31.535586 Received DATA (on stdin)
03:10:31.535642 > 1 bytes data, server => client
03:10:31.535665 '\n'
03:10:31.545689 Received DATA (on stdin)
03:10:31.545749 > 1 bytes data, server => client
03:10:31.545776 '2'
03:10:31.555765 Received DATA (on stdin)
03:10:31.555839 > 1 bytes data, server => client
03:10:31.555864 '2'
03:10:31.565844 Received DATA (on stdin)
03:10:31.565904 > 1 bytes data, server => client
03:10:31.565930 '0'
03:10:31.575920 Received DATA (on stdin)
03:10:31.575980 > 1 bytes data, server => client
03:10:31.576006 ' '
03:10:31.586000 Received DATA (on stdin)
03:10:31.586059 > 1 bytes data, server => client
03:10:31.586086 ' '
03:10:31.596078 Received DATA (on stdin)
03:10:31.596137 > 1 bytes data, server => client
03:10:31.596164 ' '
03:10:31.606152 Received DATA (on stdin)
03:10:31.606212 > 1 bytes data, server => client
03:10:31.606238 ' '
03:10:31.616230 Received DATA (on stdin)
03:10:31.616289 > 1 bytes data, server => client
03:10:31.616315 '\'
03:10:31.626309 Received DATA (on stdin)
03:10:31.626369 > 1 bytes data, server => client
03:10:31.626396 '_'
03:10:31.636405 Received DATA (on stdin)
03:10:31.636466 > 1 bytes data, server => client
03:10:31.636493 '_'
03:10:31.646492 Received DATA (on stdin)
03:10:31.646553 > 1 bytes data, server => client
03:10:31.646580 '_'
03:10:31.656584 Received DATA (on stdin)
03:10:31.656644 > 1 bytes data, server => client
03:10:31.656671 '|'
03:10:31.666678 Received DATA (on stdin)
03:10:31.666738 > 1 bytes data, server => client
03:10:31.666765 '\'
03:10:31.676769 Received DATA (on stdin)
03:10:31.676830 > 1 bytes data, server => client
03:10:31.676857 '_'
03:10:31.686861 Received DATA (on stdin)
03:10:31.686922 > 1 bytes data, server => client
03:10:31.686949 '_'
03:10:31.696956 Received DATA (on stdin)
03:10:31.697016 > 1 bytes data, server => client
03:10:31.697043 '_'
03:10:31.707050 Received DATA (on stdin)
03:10:31.707111 > 1 bytes data, server => client
03:10:31.707137 '/'
03:10:31.717141 Received DATA (on stdin)
03:10:31.717202 > 1 bytes data, server => client
03:10:31.717228 '|'
03:10:31.727233 Received DATA (on stdin)
03:10:31.727293 > 1 bytes data, server => client
03:10:31.727320 '_'
03:10:31.737327 Received DATA (on stdin)
03:10:31.737388 > 1 bytes data, server => client
03:10:31.737414 '|'
03:10:31.747421 Received DATA (on stdin)
03:10:31.747481 > 1 bytes data, server => client
03:10:31.747508 ' '
03:10:31.757513 Received DATA (on stdin)
03:10:31.757574 > 1 bytes data, server => client
03:10:31.757601 '\'
03:10:31.767594 Received DATA (on stdin)
03:10:31.767653 > 1 bytes data, server => client
03:10:31.767680 '_'
03:10:31.777710 Received DATA (on stdin)
03:10:31.777771 > 1 bytes data, server => client
03:10:31.777797 '\'
03:10:31.787822 Received DATA (on stdin)
03:10:31.787899 > 1 bytes data, server => client
03:10:31.787923 '_'
03:10:31.797931 Received DATA (on stdin)
03:10:31.798014 > 1 bytes data, server => client
03:10:31.798038 '_'
03:10:31.808018 Received DATA (on stdin)
03:10:31.808083 > 1 bytes data, server => client
03:10:31.808108 '_'
03:10:31.818107 Received DATA (on stdin)
03:10:31.818165 > 1 bytes data, server => client
03:10:31.818192 '_'
03:10:31.828196 Received DATA (on stdin)
03:10:31.828254 > 1 bytes data, server => client
03:10:31.828281 '_'
03:10:31.838291 Received DATA (on stdin)
03:10:31.838349 > 1 bytes data, server => client
03:10:31.838376 '|'
03:10:31.848386 Received DATA (on stdin)
03:10:31.848444 > 1 bytes data, server => client
03:10:31.848471 '\r'
03:10:31.858479 Received DATA (on stdin)
03:10:31.858538 > 1 bytes data, server => client
03:10:31.858564 '\n'
03:10:31.876700 < 16 bytes data, client => server
03:10:31.876725 'USER anonymous\r\n'
03:10:31.876858 Received DATA (on stdin)
03:10:31.876878 > 1 bytes data, server => client
03:10:31.876892 '3'
03:10:31.886972 Received DATA (on stdin)
03:10:31.887033 > 1 bytes data, server => client
03:10:31.887058 '3'
03:10:31.897068 Received DATA (on stdin)
03:10:31.897124 > 1 bytes data, server => client
03:10:31.897145 '1'
03:10:31.907151 Received DATA (on stdin)
03:10:31.907217 > 1 bytes data, server => client
03:10:31.907242 ' '
03:10:31.917228 Received DATA (on stdin)
03:10:31.917286 > 1 bytes data, server => client
03:10:31.917313 'O'
03:10:31.927320 Received DATA (on stdin)
03:10:31.927378 > 1 bytes data, server => client
03:10:31.927405 'K'
03:10:31.937415 Received DATA (on stdin)
03:10:31.937473 > 1 bytes data, server => client
03:10:31.937500 '\r'
03:10:31.947511 Received DATA (on stdin)
03:10:31.947569 > 1 bytes data, server => client
03:10:31.947596 '\n'
03:10:31.951912 < 22 bytes data, client => server
03:10:31.951981 'PASS ftp@example.com\r\n'
03:10:31.957877 Received DATA (on stdin)
03:10:31.957935 > 1 bytes data, server => client
03:10:31.957962 '2'
03:10:31.967958 Received DATA (on stdin)
03:10:31.968017 > 1 bytes data, server => client
03:10:31.968044 '3'
03:10:31.978049 Received DATA (on stdin)
03:10:31.978107 > 1 bytes data, server => client
03:10:31.978134 '0'
03:10:31.988137 Received DATA (on stdin)
03:10:31.988196 > 1 bytes data, server => client
03:10:31.988222 ' '
03:10:31.998233 Received DATA (on stdin)
03:10:31.998291 > 1 bytes data, server => client
03:10:31.998318 'O'
03:10:32.008302 Received DATA (on stdin)
03:10:32.008359 > 1 bytes data, server => client
03:10:32.008409 'K'
03:10:32.018410 Received DATA (on stdin)
03:10:32.018468 > 1 bytes data, server => client
03:10:32.018495 '\r'
03:10:32.028502 Received DATA (on stdin)
03:10:32.028561 > 1 bytes data, server => client
03:10:32.028587 '\n'
03:10:32.031396 < 8 bytes data, client => server
03:10:32.031454 'PBSZ 0\r\n'
03:10:32.038892 Received DATA (on stdin)
03:10:32.038950 > 1 bytes data, server => client
03:10:32.038977 '5'
03:10:32.048980 Received DATA (on stdin)
03:10:32.049038 > 1 bytes data, server => client
03:10:32.049064 '0'
03:10:32.059072 Received DATA (on stdin)
03:10:32.059130 > 1 bytes data, server => client
03:10:32.059156 '0'
03:10:32.069164 Received DATA (on stdin)
03:10:32.069222 > 1 bytes data, server => client
03:10:32.069249 ' '
03:10:32.079256 Received DATA (on stdin)
03:10:32.079314 > 1 bytes data, server => client
03:10:32.079341 'P'
03:10:32.089347 Received DATA (on stdin)
03:10:32.089405 > 1 bytes data, server => client
03:10:32.089432 'B'
03:10:32.099441 Received DATA (on stdin)
03:10:32.099499 > 1 bytes data, server => client
03:10:32.099526 'S'
03:10:32.109534 Received DATA (on stdin)
03:10:32.109592 > 1 bytes data, server => client
03:10:32.109619 'Z'
03:10:32.119630 Received DATA (on stdin)
03:10:32.119689 > 1 bytes data, server => client
03:10:32.119716 ' '
03:10:32.129724 Received DATA (on stdin)
03:10:32.129782 > 1 bytes data, server => client
03:10:32.129809 'n'
03:10:32.139815 Received DATA (on stdin)
03:10:32.139874 > 1 bytes data, server => client
03:10:32.139901 'o'
03:10:32.149927 Received DATA (on stdin)
03:10:32.149986 > 1 bytes data, server => client
03:10:32.150012 't'
03:10:32.160009 Received DATA (on stdin)
03:10:32.160067 > 1 bytes data, server => client
03:10:32.160093 ' '
03:10:32.170103 Received DATA (on stdin)
03:10:32.170161 > 1 bytes data, server => client
03:10:32.170188 'i'
03:10:32.180197 Received DATA (on stdin)
03:10:32.180255 > 1 bytes data, server => client
03:10:32.180282 'm'
03:10:32.190291 Received DATA (on stdin)
03:10:32.190349 > 1 bytes data, server => client
03:10:32.190376 'p'
03:10:32.200387 Received DATA (on stdin)
03:10:32.200445 > 1 bytes data, server => client
03:10:32.200472 'l'
03:10:32.210479 Received DATA (on stdin)
03:10:32.210537 > 1 bytes data, server => client
03:10:32.210563 'e'
03:10:32.220574 Received DATA (on stdin)
03:10:32.220632 > 1 bytes data, server => client
03:10:32.220659 'm'
03:10:32.230663 Received DATA (on stdin)
03:10:32.230721 > 1 bytes data, server => client
03:10:32.230763 'e'
03:10:32.240748 Received DATA (on stdin)
03:10:32.240806 > 1 bytes data, server => client
03:10:32.240832 'n'
03:10:32.250831 Received DATA (on stdin)
03:10:32.250889 > 1 bytes data, server => client
03:10:32.250916 't'
03:10:32.260903 Received DATA (on stdin)
03:10:32.260961 > 1 bytes data, server => client
03:10:32.260987 'e'
03:10:32.270974 Received DATA (on stdin)
03:10:32.271032 > 1 bytes data, server => client
03:10:32.271058 'd'
03:10:32.281044 Received DATA (on stdin)
03:10:32.281102 > 1 bytes data, server => client
03:10:32.281128 '\r'
03:10:32.291116 Received DATA (on stdin)
03:10:32.291174 > 1 bytes data, server => client
03:10:32.291200 '\n'
03:10:32.293918 < 8 bytes data, client => server
03:10:32.293976 'PROT C\r\n'
03:10:32.301512 Received DATA (on stdin)
03:10:32.301576 > 1 bytes data, server => client
03:10:32.301603 '5'
03:10:32.311618 Received DATA (on stdin)
03:10:32.311677 > 1 bytes data, server => client
03:10:32.311703 '0'
03:10:32.321688 Received DATA (on stdin)
03:10:32.321741 > 1 bytes data, server => client
03:10:32.321772 '0'
03:10:32.331779 Received DATA (on stdin)
03:10:32.331814 > 1 bytes data, server => client
03:10:32.331835 ' '
03:10:32.341881 Received DATA (on stdin)
03:10:32.341914 > 1 bytes data, server => client
03:10:32.341934 'P'
03:10:32.351969 Received DATA (on stdin)
03:10:32.352029 > 1 bytes data, server => client
03:10:32.352055 'R'
03:10:32.362064 Received DATA (on stdin)
03:10:32.362122 > 1 bytes data, server => client
03:10:32.362149 'O'
03:10:32.372152 Received DATA (on stdin)
03:10:32.372210 > 1 bytes data, server => client
03:10:32.372237 'T'
03:10:32.382244 Received DATA (on stdin)
03:10:32.382303 > 1 bytes data, server => client
03:10:32.382330 ' '
03:10:32.392318 Received DATA (on stdin)
03:10:32.392372 > 1 bytes data, server => client
03:10:32.392406 'n'
03:10:32.402436 Received DATA (on stdin)
03:10:32.402494 > 1 bytes data, server => client
03:10:32.402520 'o'
03:10:32.412510 Received DATA (on stdin)
03:10:32.412563 > 1 bytes data, server => client
03:10:32.412599 't'
03:10:32.422603 Received DATA (on stdin)
03:10:32.422644 > 1 bytes data, server => client
03:10:32.422666 ' '
03:10:32.432701 Received DATA (on stdin)
03:10:32.432761 > 1 bytes data, server => client
03:10:32.432789 'i'
03:10:32.442793 Received DATA (on stdin)
03:10:32.442827 > 1 bytes data, server => client
03:10:32.442849 'm'
03:10:32.452889 Received DATA (on stdin)
03:10:32.452924 > 1 bytes data, server => client
03:10:32.452946 'p'
03:10:32.462984 Received DATA (on stdin)
03:10:32.463018 > 1 bytes data, server => client
03:10:32.463039 'l'
03:10:32.473105 Received DATA (on stdin)
03:10:32.473163 > 1 bytes data, server => client
03:10:32.473190 'e'
03:10:32.483201 Received DATA (on stdin)
03:10:32.483259 > 1 bytes data, server => client
03:10:32.483285 'm'
03:10:32.493296 Received DATA (on stdin)
03:10:32.493354 > 1 bytes data, server => client
03:10:32.493381 'e'
03:10:32.503411 Received DATA (on stdin)
03:10:32.503494 > 1 bytes data, server => client
03:10:32.503520 'n'
03:10:32.513481 Received DATA (on stdin)
03:10:32.513540 > 1 bytes data, server => client
03:10:32.513565 't'
03:10:32.523604 Received DATA (on stdin)
03:10:32.523664 > 1 bytes data, server => client
03:10:32.523691 'e'
03:10:32.533695 Received DATA (on stdin)
03:10:32.533756 > 1 bytes data, server => client
03:10:32.533783 'd'
03:10:32.543786 Received DATA (on stdin)
03:10:32.543847 > 1 bytes data, server => client
03:10:32.543873 '\r'
03:10:32.553885 Received DATA (on stdin)
03:10:32.553944 > 1 bytes data, server => client
03:10:32.553971 '\n'
03:10:32.557043 < 5 bytes data, client => server
03:10:32.557089 'PWD\r\n'
03:10:32.564285 Received DATA (on stdin)
03:10:32.564343 > 1 bytes data, server => client
03:10:32.564370 '2'
03:10:32.574351 Received DATA (on stdin)
03:10:32.574405 > 1 bytes data, server => client
03:10:32.574435 '5'
03:10:32.584465 Received DATA (on stdin)
03:10:32.584523 > 1 bytes data, server => client
03:10:32.584550 '7'
03:10:32.594561 Received DATA (on stdin)
03:10:32.594619 > 1 bytes data, server => client
03:10:32.594662 ' '
03:10:32.604634 Received DATA (on stdin)
03:10:32.604687 > 1 bytes data, server => client
03:10:32.604711 '"'
03:10:32.614728 Received DATA (on stdin)
03:10:32.614785 > 1 bytes data, server => client
03:10:32.614811 '/'
03:10:32.624852 Received DATA (on stdin)
03:10:32.624912 > 1 bytes data, server => client
03:10:32.624939 '"'
03:10:32.634944 Received DATA (on stdin)
03:10:32.635003 > 1 bytes data, server => client
03:10:32.635030 '\r'
03:10:32.645040 Received DATA (on stdin)
03:10:32.645099 > 1 bytes data, server => client
03:10:32.645125 '\n'
03:10:32.658018 < 6 bytes data, client => server
03:10:32.658039 'EPSV\r\n'
03:10:32.660407 Received DATA (on stdin)
03:10:32.660424 > 1 bytes data, server => client
03:10:32.660437 '2'
03:10:32.670502 Received DATA (on stdin)
03:10:32.670527 > 1 bytes data, server => client
03:10:32.670543 '2'
03:10:32.680601 Received DATA (on stdin)
03:10:32.680631 > 1 bytes data, server => client
03:10:32.680663 '9'
03:10:32.690700 Received DATA (on stdin)
03:10:32.690758 > 1 bytes data, server => client
03:10:32.690783 ' '
03:10:32.700817 Received DATA (on stdin)
03:10:32.700875 > 1 bytes data, server => client
03:10:32.700902 'E'
03:10:32.710911 Received DATA (on stdin)
03:10:32.710969 > 1 bytes data, server => client
03:10:32.710995 'n'
03:10:32.720985 Received DATA (on stdin)
03:10:32.721043 > 1 bytes data, server => client
03:10:32.721069 't'
03:10:32.731103 Received DATA (on stdin)
03:10:32.731162 > 1 bytes data, server => client
03:10:32.731188 'e'
03:10:32.741198 Received DATA (on stdin)
03:10:32.741257 > 1 bytes data, server => client
03:10:32.741284 'r'
03:10:32.751274 Received DATA (on stdin)
03:10:32.751327 > 1 bytes data, server => client
03:10:32.751351 'i'
03:10:32.761368 Received DATA (on stdin)
03:10:32.761403 > 1 bytes data, server => client
03:10:32.761425 'n'
03:10:32.771460 Received DATA (on stdin)
03:10:32.771492 > 1 bytes data, server => client
03:10:32.771513 'g'
03:10:32.781582 Received DATA (on stdin)
03:10:32.781640 > 1 bytes data, server => client
03:10:32.781666 ' '
03:10:32.791682 Received DATA (on stdin)
03:10:32.791743 > 1 bytes data, server => client
03:10:32.791783 'P'
03:10:32.801774 Received DATA (on stdin)
03:10:32.801833 > 1 bytes data, server => client
03:10:32.801860 'a'
03:10:32.811870 Received DATA (on stdin)
03:10:32.811930 > 1 bytes data, server => client
03:10:32.811957 's'
03:10:32.821966 Received DATA (on stdin)
03:10:32.822025 > 1 bytes data, server => client
03:10:32.822052 's'
03:10:32.832063 Received DATA (on stdin)
03:10:32.832122 > 1 bytes data, server => client
03:10:32.832149 'i'
03:10:32.842157 Received DATA (on stdin)
03:10:32.842216 > 1 bytes data, server => client
03:10:32.842243 'v'
03:10:32.852253 Received DATA (on stdin)
03:10:32.852312 > 1 bytes data, server => client
03:10:32.852339 'e'
03:10:32.862348 Received DATA (on stdin)
03:10:32.862407 > 1 bytes data, server => client
03:10:32.862434 ' '
03:10:32.872440 Received DATA (on stdin)
03:10:32.872499 > 1 bytes data, server => client
03:10:32.872526 'M'
03:10:32.882535 Received DATA (on stdin)
03:10:32.882594 > 1 bytes data, server => client
03:10:32.882621 'o'
03:10:32.892629 Received DATA (on stdin)
03:10:32.892688 > 1 bytes data, server => client
03:10:32.892715 'd'
03:10:32.902722 Received DATA (on stdin)
03:10:32.902781 > 1 bytes data, server => client
03:10:32.902808 'e'
03:10:32.912813 Received DATA (on stdin)
03:10:32.912873 > 1 bytes data, server => client
03:10:32.912899 ' '
03:10:32.922909 Received DATA (on stdin)
03:10:32.922968 > 1 bytes data, server => client
03:10:32.922995 '('
03:10:32.933000 Received DATA (on stdin)
03:10:32.933061 > 1 bytes data, server => client
03:10:32.933088 '|'
03:10:32.943081 Received DATA (on stdin)
03:10:32.943125 > 1 bytes data, server => client
03:10:32.943138 '|'
03:10:32.953160 Received DATA (on stdin)
03:10:32.953209 > 1 bytes data, server => client
03:10:32.953222 '|'
03:10:32.963245 Received DATA (on stdin)
03:10:32.963294 > 1 bytes data, server => client
03:10:32.963311 '4'
03:10:32.973323 Received DATA (on stdin)
03:10:32.973388 > 1 bytes data, server => client
03:10:32.973417 '5'
03:10:32.983435 Received DATA (on stdin)
03:10:32.983488 > 1 bytes data, server => client
03:10:32.983509 '8'
03:10:32.993548 Received DATA (on stdin)
03:10:32.993627 > 1 bytes data, server => client
03:10:32.993655 '1'
03:10:33.003653 Received DATA (on stdin)
03:10:33.003727 > 1 bytes data, server => client
03:10:33.003780 '3'
03:10:33.013721 Received DATA (on stdin)
03:10:33.013766 > 1 bytes data, server => client
03:10:33.013778 '|'
03:10:33.023808 Received DATA (on stdin)
03:10:33.023868 > 1 bytes data, server => client
03:10:33.023881 ')'
03:10:33.033905 Received DATA (on stdin)
03:10:33.033949 > 1 bytes data, server => client
03:10:33.033964 '\n'
03:10:33.052990 < 8 bytes data, client => server
03:10:33.053013 'TYPE I\r\n'
03:10:33.053130 Received DATA (on stdin)
03:10:33.053150 > 1 bytes data, server => client
03:10:33.053164 '2'
03:10:33.063220 Received DATA (on stdin)
03:10:33.063278 > 1 bytes data, server => client
03:10:33.063293 '0'
03:10:33.073339 Received DATA (on stdin)
03:10:33.073403 > 1 bytes data, server => client
03:10:33.073423 '0'
03:10:33.083416 Received DATA (on stdin)
03:10:33.083469 > 1 bytes data, server => client
03:10:33.083485 ' '
03:10:33.093478 Received DATA (on stdin)
03:10:33.093522 > 1 bytes data, server => client
03:10:33.093541 'O'
03:10:33.103562 Received DATA (on stdin)
03:10:33.103601 > 1 bytes data, server => client
03:10:33.103615 'K'
03:10:33.113664 Received DATA (on stdin)
03:10:33.113710 > 1 bytes data, server => client
03:10:33.113722 '\r'
03:10:33.123725 Received DATA (on stdin)
03:10:33.123781 > 1 bytes data, server => client
03:10:33.123799 '\n'
03:10:33.126301 < 11 bytes data, client => server
03:10:33.126327 'SIZE 1112\r\n'
03:10:33.134254 Received DATA (on stdin)
03:10:33.134285 > 1 bytes data, server => client
03:10:33.134298 '2'
03:10:33.144334 Received DATA (on stdin)
03:10:33.144377 > 1 bytes data, server => client
03:10:33.144387 '1'
03:10:33.154433 Received DATA (on stdin)
03:10:33.154479 > 1 bytes data, server => client
03:10:33.154491 '3'
03:10:33.164485 Received DATA (on stdin)
03:10:33.164513 > 1 bytes data, server => client
03:10:33.164523 ' '
03:10:33.174582 Received DATA (on stdin)
03:10:33.174621 > 1 bytes data, server => client
03:10:33.174635 '3'
03:10:33.184641 Received DATA (on stdin)
03:10:33.184685 > 1 bytes data, server => client
03:10:33.184699 '6'
03:10:33.194739 Received DATA (on stdin)
03:10:33.194786 > 1 bytes data, server => client
03:10:33.194798 '0'
03:10:33.204799 Received DATA (on stdin)
03:10:33.204839 > 1 bytes data, server => client
03:10:33.204848 '0'
03:10:33.214893 Received DATA (on stdin)
03:10:33.214933 > 1 bytes data, server => client
03:10:33.214947 '\r'
03:10:33.224978 Received DATA (on stdin)
03:10:33.225020 > 1 bytes data, server => client
03:10:33.225037 '\n'
03:10:33.228069 < 11 bytes data, client => server
03:10:33.228093 'RETR 1112\r\n'
03:10:33.235473 Received DATA (on stdin)
03:10:33.235498 > 1 bytes data, server => client
03:10:33.235511 '1'
03:10:33.245575 Received DATA (on stdin)
03:10:33.245622 > 1 bytes data, server => client
03:10:33.245640 '5'
03:10:33.255679 Received DATA (on stdin)
03:10:33.255739 > 1 bytes data, server => client
03:10:33.255762 '0'
03:10:33.265779 Received DATA (on stdin)
03:10:33.265834 > 1 bytes data, server => client
03:10:33.265869 ' '
03:10:33.275853 Received DATA (on stdin)
03:10:33.275912 > 1 bytes data, server => client
03:10:33.275935 'B'
03:10:33.285965 Received DATA (on stdin)
03:10:33.286024 > 1 bytes data, server => client
03:10:33.286050 'i'
03:10:33.296059 Received DATA (on stdin)
03:10:33.296117 > 1 bytes data, server => client
03:10:33.296144 'n'
03:10:33.306152 Received DATA (on stdin)
03:10:33.306212 > 1 bytes data, server => client
03:10:33.306238 'a'
03:10:33.316238 Received DATA (on stdin)
03:10:33.316296 > 1 bytes data, server => client
03:10:33.316323 'r'
03:10:33.326332 Received DATA (on stdin)
03:10:33.326391 > 1 bytes data, server => client
03:10:33.326418 'y'
03:10:33.336413 Received DATA (on stdin)
03:10:33.336472 > 1 bytes data, server => client
03:10:33.336499 ' '
03:10:33.346492 Received DATA (on stdin)
03:10:33.346550 > 1 bytes data, server => client
03:10:33.346577 'd'
03:10:33.356542 Received DATA (on stdin)
03:10:33.356602 > 1 bytes data, server => client
03:10:33.356626 'a'
03:10:33.366638 Received DATA (on stdin)
03:10:33.366698 > 1 bytes data, server => client
03:10:33.366723 't'
03:10:33.376735 Received DATA (on stdin)
03:10:33.376797 > 1 bytes data, server => client
03:10:33.376821 'a'
03:10:33.386833 Received DATA (on stdin)
03:10:33.386890 > 1 bytes data, server => client
03:10:33.386914 ' '
03:10:33.396929 Received DATA (on stdin)
03:10:33.396985 > 1 bytes data, server => client
03:10:33.397009 'c'
03:10:33.407025 Received DATA (on stdin)
03:10:33.407081 > 1 bytes data, server => client
03:10:33.407105 'o'
03:10:33.417119 Received DATA (on stdin)
03:10:33.417176 > 1 bytes data, server => client
03:10:33.417200 'n'
03:10:33.427215 Received DATA (on stdin)
03:10:33.427275 > 1 bytes data, server => client
03:10:33.427299 'n'
03:10:33.437311 Received DATA (on stdin)
03:10:33.437369 > 1 bytes data, server => client
03:10:33.437394 'e'
03:10:33.447408 Received DATA (on stdin)
03:10:33.447466 > 1 bytes data, server => client
03:10:33.447491 'c'
03:10:33.457504 Received DATA (on stdin)
03:10:33.457560 > 1 bytes data, server => client
03:10:33.457584 't'
03:10:33.467600 Received DATA (on stdin)
03:10:33.467658 > 1 bytes data, server => client
03:10:33.467682 'i'
03:10:33.477695 Received DATA (on stdin)
03:10:33.477753 > 1 bytes data, server => client
03:10:33.477777 'o'
03:10:33.487804 Received DATA (on stdin)
03:10:33.487862 > 1 bytes data, server => client
03:10:33.487886 'n'
03:10:33.497901 Received DATA (on stdin)
03:10:33.497958 > 1 bytes data, server => client
03:10:33.497982 ' '
03:10:33.508007 Received DATA (on stdin)
03:10:33.508097 > 1 bytes data, server => client
03:10:33.508122 'f'
03:10:33.518101 Received DATA (on stdin)
03:10:33.518160 > 1 bytes data, server => client
03:10:33.518184 'o'
03:10:33.528218 Received DATA (on stdin)
03:10:33.528286 > 1 bytes data, server => client
03:10:33.528328 'r'
03:10:33.538319 Received DATA (on stdin)
03:10:33.538402 > 1 bytes data, server => client
03:10:33.538443 ' '
03:10:33.548432 Received DATA (on stdin)
03:10:33.548501 > 1 bytes data, server => client
03:10:33.548528 '1'
03:10:33.558533 Received DATA (on stdin)
03:10:33.558591 > 1 bytes data, server => client
03:10:33.558614 '1'
03:10:33.568627 Received DATA (on stdin)
03:10:33.568682 > 1 bytes data, server => client
03:10:33.568707 '1'
03:10:33.578724 Received DATA (on stdin)
03:10:33.578783 > 1 bytes data, server => client
03:10:33.578810 '2'
03:10:33.588816 Received DATA (on stdin)
03:10:33.588874 > 1 bytes data, server => client
03:10:33.588900 ' '
03:10:33.598912 Received DATA (on stdin)
03:10:33.598970 > 1 bytes data, server => client
03:10:33.598997 '('
03:10:33.609007 Received DATA (on stdin)
03:10:33.609065 > 1 bytes data, server => client
03:10:33.609092 ')'
03:10:33.619103 Received DATA (on stdin)
03:10:33.619161 > 1 bytes data, server => client
03:10:33.619188 ' '
03:10:33.629197 Received DATA (on stdin)
03:10:33.629255 > 1 bytes data, server => client
03:10:33.629281 '('
03:10:33.639291 Received DATA (on stdin)
03:10:33.639350 > 1 bytes data, server => client
03:10:33.639376 '3'
03:10:33.649375 Received DATA (on stdin)
03:10:33.649433 > 1 bytes data, server => client
03:10:33.649459 '6'
03:10:33.659469 Received DATA (on stdin)
03:10:33.659527 > 1 bytes data, server => client
03:10:33.659553 '0'
03:10:33.669563 Received DATA (on stdin)
03:10:33.669622 > 1 bytes data, server => client
03:10:33.669648 '0'
03:10:33.679657 Received DATA (on stdin)
03:10:33.679717 > 1 bytes data, server => client
03:10:33.679744 ' '
03:10:33.689750 Received DATA (on stdin)
03:10:33.689808 > 1 bytes data, server => client
03:10:33.689834 'b'
03:10:33.699828 Received DATA (on stdin)
03:10:33.699909 > 1 bytes data, server => client
03:10:33.699952 'y'
03:10:33.709959 Received DATA (on stdin)
03:10:33.710057 > 1 bytes data, server => client
03:10:33.710083 't'
03:10:33.720064 Received DATA (on stdin)
03:10:33.720145 > 1 bytes data, server => client
03:10:33.720170 'e'
03:10:33.730161 Received DATA (on stdin)
03:10:33.730234 > 1 bytes data, server => client
03:10:33.730254 's'
03:10:33.740248 Received DATA (on stdin)
03:10:33.740300 > 1 bytes data, server => client
03:10:33.740312 ')'
03:10:33.750336 Received DATA (on stdin)
03:10:33.750391 > 1 bytes data, server => client
03:10:33.750403 '.'
03:10:33.760417 Received DATA (on stdin)
03:10:33.760469 > 1 bytes data, server => client
03:10:33.760480 '\r'
03:10:33.770520 Received DATA (on stdin)
03:10:33.770588 > 1 bytes data, server => client
03:10:33.770612 '\n'
03:10:44.221069 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:10:26.202329 Running IPv4 version
03:10:26.202524 Listening on port 37689
03:10:26.202609 Wrote pid 25043 to ./.ftp_sockdata.pid
03:10:26.202648 Received PING (on stdin)
03:10:26.202806 Received PORT (on stdin)
03:10:26.203452 ====> Client connect
03:10:26.204870 Received DATA (on stdin)
03:10:26.204914 > 17 bytes data, server => client
03:10:26.204960 'WE ROOLZ: 24941\r\n'
03:10:26.205048 Received DISC (on stdin)
03:10:26.205074 ====> Client forcibly disconnected
03:10:26.205120 Received QUIT (on stdin)
03:10:26.205147 quits
03:10:26.205181 ============> sockfilt quits
03:10:32.659919 Running IPv4 version
03:10:32.660006 Listening on port 45813
03:10:32.660057 Wrote pid 25048 to ./.ftp_sockdata.pid
03:10:32.660079 Received PING (on stdin)
03:10:32.660218 Received PORT (on stdin)
03:10:33.046321 ====> Client connect
03:10:33.780733 Received DATA (on stdin)
03:10:33.780762 > 1 bytes data, server => client
03:10:33.780772 'L'
03:10:33.790825 Received DATA (on stdin)
03:10:33.790851 > 1 bytes data, server => client
03:10:33.790873 'o'
03:10:33.800936 Received DATA (on stdin)
03:10:33.801030 > 1 bytes data, server => client
03:10:33.801072 'n'
03:10:33.811022 Received DATA (on stdin)
03:10:33.811067 > 1 bytes data, server => client
03:10:33.811088 'g'
03:10:33.821122 Received DATA (on stdin)
03:10:33.821169 > 1 bytes data, server => client
03:10:33.821181 ' '
03:10:33.831189 Received DATA (on stdin)
03:10:33.831216 > 1 bytes data, server => client
03:10:33.831230 'c'
03:10:33.841299 Received DATA (on stdin)
03:10:33.841363 > 1 bytes data, server => client
03:10:33.841380 'h'
03:10:33.851397 Received DATA (on stdin)
03:10:33.851453 > 1 bytes data, server => client
03:10:33.851475 'u'
03:10:33.861500 Received DATA (on stdin)
03:10:33.861555 > 1 bytes data, server => client
03:10:33.861581 'n'
03:10:33.871596 Received DATA (on stdin)
03:10:33.871655 > 1 bytes data, server => client
03:10:33.871682 'k'
03:10:33.881691 Received DATA (on stdin)
03:10:33.881749 > 1 bytes data, server => client
03:10:33.881776 ' '
03:10:33.891785 Received DATA (on stdin)
03:10:33.891844 > 1 bytes data, server => client
03:10:33.891870 'o'
03:10:33.901881 Received DATA (on stdin)
03:10:33.901940 > 1 bytes data, server => client
03:10:33.901968 'f'
03:10:33.911971 Received DATA (on stdin)
03:10:33.912039 > 1 bytes data, server => client
03:10:33.912066 ' '
03:10:33.922070 Received DATA (on stdin)
03:10:33.922127 > 1 bytes data, server => client
03:10:33.922155 'd'
03:10:33.932165 Received DATA (on stdin)
03:10:33.932223 > 1 bytes data, server => client
03:10:33.932251 'a'
03:10:33.942263 Received DATA (on stdin)
03:10:33.942327 > 1 bytes data, server => client
03:10:33.942355 't'
03:10:33.952355 Received DATA (on stdin)
03:10:33.952416 > 1 bytes data, server => client
03:10:33.952443 'a'
03:10:33.962447 Received DATA (on stdin)
03:10:33.962506 > 1 bytes data, server => client
03:10:33.962533 ' '
03:10:33.972539 Received DATA (on stdin)
03:10:33.972597 > 1 bytes data, server => client
03:10:33.972624 't'
03:10:33.982631 Received DATA (on stdin)
03:10:33.982689 > 1 bytes data, server => client
03:10:33.982716 'h'
03:10:33.992723 Received DATA (on stdin)
03:10:33.992781 > 1 bytes data, server => client
03:10:33.992808 'a'
03:10:34.002796 Received DATA (on stdin)
03:10:34.002862 > 1 bytes data, server => client
03:10:34.002890 't'
03:10:34.012900 Received DATA (on stdin)
03:10:34.012959 > 1 bytes data, server => client
03:10:34.012983 ' '
03:10:34.022999 Received DATA (on stdin)
03:10:34.023040 > 1 bytes data, server => client
03:10:34.023063 'c'
03:10:34.033089 Received DATA (on stdin)
03:10:34.033157 > 1 bytes data, server => client
03:10:34.033200 'o'
03:10:34.043185 Received DATA (on stdin)
03:10:34.043226 > 1 bytes data, server => client
03:10:34.043250 'u'
03:10:34.053283 Received DATA (on stdin)
03:10:34.053321 > 1 bytes data, server => client
03:10:34.053343 'l'
03:10:34.063388 Received DATA (on stdin)
03:10:34.063463 > 1 bytes data, server => client
03:10:34.063489 'd'
03:10:34.073479 Received DATA (on stdin)
03:10:34.073509 > 1 bytes data, server => client
03:10:34.073529 'n'
03:10:34.083579 Received DATA (on stdin)
03:10:34.083632 > 1 bytes data, server => client
03:10:34.083653 '''
03:10:34.093679 Received DATA (on stdin)
03:10:34.093726 > 1 bytes data, server => client
03:10:34.093746 't'
03:10:34.103789 Received DATA (on stdin)
03:10:34.103845 > 1 bytes data, server => client
03:10:34.103865 ' '
03:10:34.113879 Received DATA (on stdin)
03:10:34.113916 > 1 bytes data, server => client
03:10:34.113938 'p'
03:10:34.123963 Received DATA (on stdin)
03:10:34.124007 > 1 bytes data, server => client
03:10:34.124057 'o'
03:10:34.134056 Received DATA (on stdin)
03:10:34.134094 > 1 bytes data, server => client
03:10:34.134116 's'
03:10:34.144153 Received DATA (on stdin)
03:10:34.144197 > 1 bytes data, server => client
03:10:34.144228 's'
03:10:34.154244 Received DATA (on stdin)
03:10:34.154280 > 1 bytes data, server => client
03:10:34.154302 'i'
03:10:34.164336 Received DATA (on stdin)
03:10:34.164372 > 1 bytes data, server => client
03:10:34.164394 'b'
03:10:34.174431 Received DATA (on stdin)
03:10:34.174468 > 1 bytes data, server => client
03:10:34.174490 'l'
03:10:34.184537 Received DATA (on stdin)
03:10:34.184596 > 1 bytes data, server => client
03:10:34.184623 'y'
03:10:34.194605 Received DATA (on stdin)
03:10:34.194649 > 1 bytes data, server => client
03:10:34.194672 ' '
03:10:34.204698 Received DATA (on stdin)
03:10:34.204733 > 1 bytes data, server => client
03:10:34.204755 'b'
03:10:34.214810 Received DATA (on stdin)
03:10:34.214875 > 1 bytes data, server => client
03:10:34.214893 'e'
03:10:34.224875 Received DATA (on stdin)
03:10:34.224899 > 1 bytes data, server => client
03:10:34.224913 ' '
03:10:34.234951 Received DATA (on stdin)
03:10:34.234992 > 1 bytes data, server => client
03:10:34.235006 's'
03:10:34.245025 Received DATA (on stdin)
03:10:34.245056 > 1 bytes data, server => client
03:10:34.245069 'e'
03:10:34.255125 Received DATA (on stdin)
03:10:34.255169 > 1 bytes data, server => client
03:10:34.255188 'n'
03:10:34.265227 Received DATA (on stdin)
03:10:34.265281 > 1 bytes data, server => client
03:10:34.265300 't'
03:10:34.275324 Received DATA (on stdin)
03:10:34.275390 > 1 bytes data, server => client
03:10:34.275414 ' '
03:10:34.285398 Received DATA (on stdin)
03:10:34.285455 > 1 bytes data, server => client
03:10:34.285485 'i'
03:10:34.295482 Received DATA (on stdin)
03:10:34.295542 > 1 bytes data, server => client
03:10:34.295569 'n'
03:10:34.305564 Received DATA (on stdin)
03:10:34.305624 > 1 bytes data, server => client
03:10:34.305651 ' '
03:10:34.315655 Received DATA (on stdin)
03:10:34.315715 > 1 bytes data, server => client
03:10:34.315742 't'
03:10:34.325746 Received DATA (on stdin)
03:10:34.325805 > 1 bytes data, server => client
03:10:34.325832 'h'
03:10:34.335834 Received DATA (on stdin)
03:10:34.335895 > 1 bytes data, server => client
03:10:34.335922 'e'
03:10:34.345925 Received DATA (on stdin)
03:10:34.345983 > 1 bytes data, server => client
03:10:34.346010 ' '
03:10:34.356018 Received DATA (on stdin)
03:10:34.356077 > 1 bytes data, server => client
03:10:34.356104 't'
03:10:34.366110 Received DATA (on stdin)
03:10:34.366168 > 1 bytes data, server => client
03:10:34.366196 'i'
03:10:34.376204 Received DATA (on stdin)
03:10:34.376263 > 1 bytes data, server => client
03:10:34.376290 'm'
03:10:34.386299 Received DATA (on stdin)
03:10:34.386357 > 1 bytes data, server => client
03:10:34.386384 'e'
03:10:34.396394 Received DATA (on stdin)
03:10:34.396452 > 1 bytes data, server => client
03:10:34.396480 ' '
03:10:34.406487 Received DATA (on stdin)
03:10:34.406546 > 1 bytes data, server => client
03:10:34.406573 'a'
03:10:34.416578 Received DATA (on stdin)
03:10:34.416636 > 1 bytes data, server => client
03:10:34.416664 'l'
03:10:34.426672 Received DATA (on stdin)
03:10:34.426731 > 1 bytes data, server => client
03:10:34.426758 'l'
03:10:34.436763 Received DATA (on stdin)
03:10:34.436821 > 1 bytes data, server => client
03:10:34.436848 'o'
03:10:34.446857 Received DATA (on stdin)
03:10:34.446915 > 1 bytes data, server => client
03:10:34.446943 't'
03:10:34.456953 Received DATA (on stdin)
03:10:34.457012 > 1 bytes data, server => client
03:10:34.457039 't'
03:10:34.467048 Received DATA (on stdin)
03:10:34.467107 > 1 bytes data, server => client
03:10:34.467134 'e'
03:10:34.477142 Received DATA (on stdin)
03:10:34.477201 > 1 bytes data, server => client
03:10:34.477228 'd'
03:10:34.487236 Received DATA (on stdin)
03:10:34.487295 > 1 bytes data, server => client
03:10:34.487322 '.'
03:10:34.497332 Received DATA (on stdin)
03:10:34.497390 > 1 bytes data, server => client
03:10:34.497417 '\n'
03:10:34.507475 Received DATA (on stdin)
03:10:34.507561 > 1 bytes data, server => client
03:10:34.507586 'L'
03:10:34.517559 Received DATA (on stdin)
03:10:34.517629 > 1 bytes data, server => client
03:10:34.517667 'o'
03:10:34.527665 Received DATA (on stdin)
03:10:34.527723 > 1 bytes data, server => client
03:10:34.527750 'n'
03:10:34.537756 Received DATA (on stdin)
03:10:34.537816 > 1 bytes data, server => client
03:10:34.537843 'g'
03:10:34.547850 Received DATA (on stdin)
03:10:34.547930 > 1 bytes data, server => client
03:10:34.547958 ' '
03:10:34.557957 Received DATA (on stdin)
03:10:34.558025 > 1 bytes data, server => client
03:10:34.558052 'c'
03:10:34.568052 Received DATA (on stdin)
03:10:34.568110 > 1 bytes data, server => client
03:10:34.568138 'h'
03:10:34.578146 Received DATA (on stdin)
03:10:34.578205 > 1 bytes data, server => client
03:10:34.578232 'u'
03:10:34.588241 Received DATA (on stdin)
03:10:34.588299 > 1 bytes data, server => client
03:10:34.588326 'n'
03:10:34.598335 Received DATA (on stdin)
03:10:34.598394 > 1 bytes data, server => client
03:10:34.598421 'k'
03:10:34.608428 Received DATA (on stdin)
03:10:34.608487 > 1 bytes data, server => client
03:10:34.608514 ' '
03:10:34.618523 Received DATA (on stdin)
03:10:34.618581 > 1 bytes data, server => client
03:10:34.618608 'o'
03:10:34.628618 Received DATA (on stdin)
03:10:34.628676 > 1 bytes data, server => client
03:10:34.628703 'f'
03:10:34.638711 Received DATA (on stdin)
03:10:34.638770 > 1 bytes data, server => client
03:10:34.638797 ' '
03:10:34.648805 Received DATA (on stdin)
03:10:34.648864 > 1 bytes data, server => client
03:10:34.648891 'd'
03:10:34.658900 Received DATA (on stdin)
03:10:34.658960 > 1 bytes data, server => client
03:10:34.658987 'a'
03:10:34.668995 Received DATA (on stdin)
03:10:34.669053 > 1 bytes data, server => client
03:10:34.669081 't'
03:10:34.679088 Received DATA (on stdin)
03:10:34.679147 > 1 bytes data, server => client
03:10:34.679175 'a'
03:10:34.689183 Received DATA (on stdin)
03:10:34.689241 > 1 bytes data, server => client
03:10:34.689268 ' '
03:10:34.699276 Received DATA (on stdin)
03:10:34.699335 > 1 bytes data, server => client
03:10:34.699362 't'
03:10:34.709370 Received DATA (on stdin)
03:10:34.709428 > 1 bytes data, server => client
03:10:34.709455 'h'
03:10:34.719464 Received DATA (on stdin)
03:10:34.719522 > 1 bytes data, server => client
03:10:34.719550 'a'
03:10:34.729558 Received DATA (on stdin)
03:10:34.729616 > 1 bytes data, server => client
03:10:34.729644 't'
03:10:34.739653 Received DATA (on stdin)
03:10:34.739711 > 1 bytes data, server => client
03:10:34.739739 ' '
03:10:34.749750 Received DATA (on stdin)
03:10:34.749820 > 1 bytes data, server => client
03:10:34.749846 'c'
03:10:34.759814 Received DATA (on stdin)
03:10:34.759871 > 1 bytes data, server => client
03:10:34.759897 'o'
03:10:34.769897 Received DATA (on stdin)
03:10:34.769956 > 1 bytes data, server => client
03:10:34.769983 'u'
03:10:34.779965 Received DATA (on stdin)
03:10:34.780024 > 1 bytes data, server => client
03:10:34.780052 'l'
03:10:34.790036 Received DATA (on stdin)
03:10:34.790095 > 1 bytes data, server => client
03:10:34.790123 'd'
03:10:34.800106 Received DATA (on stdin)
03:10:34.800165 > 1 bytes data, server => client
03:10:34.800192 'n'
03:10:34.810182 Received DATA (on stdin)
03:10:34.810241 > 1 bytes data, server => client
03:10:34.810269 '''
03:10:34.820253 Received DATA (on stdin)
03:10:34.820312 > 1 bytes data, server => client
03:10:34.820340 't'
03:10:34.830324 Received DATA (on stdin)
03:10:34.830398 > 1 bytes data, server => client
03:10:34.830427 ' '
03:10:34.840410 Received DATA (on stdin)
03:10:34.840471 > 1 bytes data, server => client
03:10:34.840498 'p'
03:10:34.850472 Received DATA (on stdin)
03:10:34.850527 > 1 bytes data, server => client
03:10:34.850551 'o'
03:10:34.860565 Received DATA (on stdin)
03:10:34.860624 > 1 bytes data, server => client
03:10:34.860651 's'
03:10:34.870640 Received DATA (on stdin)
03:10:34.870700 > 1 bytes data, server => client
03:10:34.870727 's'
03:10:34.880709 Received DATA (on stdin)
03:10:34.880768 > 1 bytes data, server => client
03:10:34.880796 'i'
03:10:34.890781 Received DATA (on stdin)
03:10:34.890840 > 1 bytes data, server => client
03:10:34.890867 'b'
03:10:34.900853 Received DATA (on stdin)
03:10:34.900913 > 1 bytes data, server => client
03:10:34.900940 'l'
03:10:34.910927 Received DATA (on stdin)
03:10:34.910987 > 1 bytes data, server => client
03:10:34.911015 'y'
03:10:34.921016 Received DATA (on stdin)
03:10:34.921076 > 1 bytes data, server => client
03:10:34.921104 ' '
03:10:34.931097 Received DATA (on stdin)
03:10:34.931157 > 1 bytes data, server => client
03:10:34.931184 'b'
03:10:34.941174 Received DATA (on stdin)
03:10:34.941234 > 1 bytes data, server => client
03:10:34.941261 'e'
03:10:34.951262 Received DATA (on stdin)
03:10:34.951323 > 1 bytes data, server => client
03:10:34.951351 ' '
03:10:34.961347 Received DATA (on stdin)
03:10:34.961406 > 1 bytes data, server => client
03:10:34.961434 's'
03:10:34.971428 Received DATA (on stdin)
03:10:34.971487 > 1 bytes data, server => client
03:10:34.971515 'e'
03:10:34.981499 Received DATA (on stdin)
03:10:34.981558 > 1 bytes data, server => client
03:10:34.981585 'n'
03:10:34.991570 Received DATA (on stdin)
03:10:34.991630 > 1 bytes data, server => client
03:10:34.991657 't'
03:10:35.001632 Received DATA (on stdin)
03:10:35.001684 > 1 bytes data, server => client
03:10:35.001710 ' '
03:10:35.011709 Received DATA (on stdin)
03:10:35.011752 > 1 bytes data, server => client
03:10:35.011794 'i'
03:10:35.021809 Received DATA (on stdin)
03:10:35.021868 > 1 bytes data, server => client
03:10:35.021896 'n'
03:10:35.031881 Received DATA (on stdin)
03:10:35.031940 > 1 bytes data, server => client
03:10:35.031967 ' '
03:10:35.041953 Received DATA (on stdin)
03:10:35.042012 > 1 bytes data, server => client
03:10:35.042039 't'
03:10:35.052024 Received DATA (on stdin)
03:10:35.052084 > 1 bytes data, server => client
03:10:35.052112 'h'
03:10:35.062074 Received DATA (on stdin)
03:10:35.062130 > 1 bytes data, server => client
03:10:35.062155 'e'
03:10:35.072167 Received DATA (on stdin)
03:10:35.072226 > 1 bytes data, server => client
03:10:35.072253 ' '
03:10:35.082237 Received DATA (on stdin)
03:10:35.082296 > 1 bytes data, server => client
03:10:35.082323 't'
03:10:35.092309 Received DATA (on stdin)
03:10:35.092368 > 1 bytes data, server => client
03:10:35.092396 'i'
03:10:35.102382 Received DATA (on stdin)
03:10:35.102441 > 1 bytes data, server => client
03:10:35.102469 'm'
03:10:35.112452 Received DATA (on stdin)
03:10:35.112511 > 1 bytes data, server => client
03:10:35.112538 'e'
03:10:35.122523 Received DATA (on stdin)
03:10:35.122582 > 1 bytes data, server => client
03:10:35.122610 ' '
03:10:35.132592 Received DATA (on stdin)
03:10:35.132651 > 1 bytes data, server => client
03:10:35.132679 'a'
03:10:35.142663 Received DATA (on stdin)
03:10:35.142722 > 1 bytes data, server => client
03:10:35.142749 'l'
03:10:35.152734 Received DATA (on stdin)
03:10:35.152793 > 1 bytes data, server => client
03:10:35.152821 'l'
03:10:35.162806 Received DATA (on stdin)
03:10:35.162865 > 1 bytes data, server => client
03:10:35.162893 'o'
03:10:35.172898 Received DATA (on stdin)
03:10:35.172957 > 1 bytes data, server => client
03:10:35.172984 't'
03:10:35.182983 Received DATA (on stdin)
03:10:35.183042 > 1 bytes data, server => client
03:10:35.183070 't'
03:10:35.193059 Received DATA (on stdin)
03:10:35.193118 > 1 bytes data, server => client
03:10:35.193146 'e'
03:10:35.203133 Received DATA (on stdin)
03:10:35.203193 > 1 bytes data, server => client
03:10:35.203236 'd'
03:10:35.213209 Received DATA (on stdin)
03:10:35.213268 > 1 bytes data, server => client
03:10:35.213296 '.'
03:10:35.223282 Received DATA (on stdin)
03:10:35.223341 > 1 bytes data, server => client
03:10:35.223368 '\n'
03:10:35.233380 Received DATA (on stdin)
03:10:35.233439 > 1 bytes data, server => client
03:10:35.233466 'L'
03:10:35.243451 Received DATA (on stdin)
03:10:35.243510 > 1 bytes data, server => client
03:10:35.243538 'o'
03:10:35.253526 Received DATA (on stdin)
03:10:35.253586 > 1 bytes data, server => client
03:10:35.253613 'n'
03:10:35.263600 Received DATA (on stdin)
03:10:35.263660 > 1 bytes data, server => client
03:10:35.263687 'g'
03:10:35.273670 Received DATA (on stdin)
03:10:35.273729 > 1 bytes data, server => client
03:10:35.273756 ' '
03:10:35.283723 Received DATA (on stdin)
03:10:35.283801 > 1 bytes data, server => client
03:10:35.283837 'c'
03:10:35.293817 Received DATA (on stdin)
03:10:35.293876 > 1 bytes data, server => client
03:10:35.293904 'h'
03:10:35.303894 Received DATA (on stdin)
03:10:35.303954 > 1 bytes data, server => client
03:10:35.303982 'u'
03:10:35.313984 Received DATA (on stdin)
03:10:35.314043 > 1 bytes data, server => client
03:10:35.314071 'n'
03:10:35.324071 Received DATA (on stdin)
03:10:35.324130 > 1 bytes data, server => client
03:10:35.324158 'k'
03:10:35.334146 Received DATA (on stdin)
03:10:35.334206 > 1 bytes data, server => client
03:10:35.334233 ' '
03:10:35.344227 Received DATA (on stdin)
03:10:35.344286 > 1 bytes data, server => client
03:10:35.344314 'o'
03:10:35.354302 Received DATA (on stdin)
03:10:35.354362 > 1 bytes data, server => client
03:10:35.354389 'f'
03:10:35.364354 Received DATA (on stdin)
03:10:35.364407 > 1 bytes data, server => client
03:10:35.364443 ' '
03:10:35.374440 Received DATA (on stdin)
03:10:35.374475 > 1 bytes data, server => client
03:10:35.374497 'd'
03:10:35.384535 Received DATA (on stdin)
03:10:35.384572 > 1 bytes data, server => client
03:10:35.384595 'a'
03:10:35.394630 Received DATA (on stdin)
03:10:35.394665 > 1 bytes data, server => client
03:10:35.394688 't'
03:10:35.404749 Received DATA (on stdin)
03:10:35.404808 > 1 bytes data, server => client
03:10:35.404836 'a'
03:10:35.414843 Received DATA (on stdin)
03:10:35.414903 > 1 bytes data, server => client
03:10:35.414930 ' '
03:10:35.424935 Received DATA (on stdin)
03:10:35.424994 > 1 bytes data, server => client
03:10:35.425022 't'
03:10:35.435034 Received DATA (on stdin)
03:10:35.435096 > 1 bytes data, server => client
03:10:35.435123 'h'
03:10:35.445127 Received DATA (on stdin)
03:10:35.445185 > 1 bytes data, server => client
03:10:35.445213 'a'
03:10:35.455221 Received DATA (on stdin)
03:10:35.455280 > 1 bytes data, server => client
03:10:35.455307 't'
03:10:35.465316 Received DATA (on stdin)
03:10:35.465374 > 1 bytes data, server => client
03:10:35.465401 ' '
03:10:35.475411 Received DATA (on stdin)
03:10:35.475469 > 1 bytes data, server => client
03:10:35.475496 'c'
03:10:35.485506 Received DATA (on stdin)
03:10:35.485564 > 1 bytes data, server => client
03:10:35.485591 'o'
03:10:35.495600 Received DATA (on stdin)
03:10:35.495659 > 1 bytes data, server => client
03:10:35.495686 'u'
03:10:35.505709 Received DATA (on stdin)
03:10:35.505793 > 1 bytes data, server => client
03:10:35.505819 'l'
03:10:35.515797 Received DATA (on stdin)
03:10:35.515855 > 1 bytes data, server => client
03:10:35.515881 'd'
03:10:35.525908 Received DATA (on stdin)
03:10:35.525966 > 1 bytes data, server => client
03:10:35.525994 'n'
03:10:35.536000 Received DATA (on stdin)
03:10:35.536059 > 1 bytes data, server => client
03:10:35.536087 '''
03:10:35.546080 Received DATA (on stdin)
03:10:35.546148 > 1 bytes data, server => client
03:10:35.546188 't'
03:10:35.556181 Received DATA (on stdin)
03:10:35.556238 > 1 bytes data, server => client
03:10:35.556262 ' '
03:10:35.566286 Received DATA (on stdin)
03:10:35.566343 > 1 bytes data, server => client
03:10:35.566368 'p'
03:10:35.576373 Received DATA (on stdin)
03:10:35.576424 > 1 bytes data, server => client
03:10:35.576462 'o'
03:10:35.586431 Received DATA (on stdin)
03:10:35.586497 > 1 bytes data, server => client
03:10:35.586523 's'
03:10:35.596505 Received DATA (on stdin)
03:10:35.596564 > 1 bytes data, server => client
03:10:35.596592 's'
03:10:35.606578 Received DATA (on stdin)
03:10:35.606637 > 1 bytes data, server => client
03:10:35.606664 'i'
03:10:35.616651 Received DATA (on stdin)
03:10:35.616710 > 1 bytes data, server => client
03:10:35.616738 'b'
03:10:35.626721 Received DATA (on stdin)
03:10:35.626780 > 1 bytes data, server => client
03:10:35.626808 'l'
03:10:35.636791 Received DATA (on stdin)
03:10:35.636851 > 1 bytes data, server => client
03:10:35.636878 'y'
03:10:35.646864 Received DATA (on stdin)
03:10:35.646923 > 1 bytes data, server => client
03:10:35.646952 ' '
03:10:35.656936 Received DATA (on stdin)
03:10:35.656996 > 1 bytes data, server => client
03:10:35.657024 'b'
03:10:35.667008 Received DATA (on stdin)
03:10:35.667067 > 1 bytes data, server => client
03:10:35.667094 'e'
03:10:35.677079 Received DATA (on stdin)
03:10:35.677138 > 1 bytes data, server => client
03:10:35.677166 ' '
03:10:35.687152 Received DATA (on stdin)
03:10:35.687211 > 1 bytes data, server => client
03:10:35.687239 's'
03:10:35.697227 Received DATA (on stdin)
03:10:35.697286 > 1 bytes data, server => client
03:10:35.697314 'e'
03:10:35.707300 Received DATA (on stdin)
03:10:35.707359 > 1 bytes data, server => client
03:10:35.707387 'n'
03:10:35.717373 Received DATA (on stdin)
03:10:35.717432 > 1 bytes data, server => client
03:10:35.717460 't'
03:10:35.727447 Received DATA (on stdin)
03:10:35.727506 > 1 bytes data, server => client
03:10:35.727534 ' '
03:10:35.737519 Received DATA (on stdin)
03:10:35.737578 > 1 bytes data, server => client
03:10:35.737606 'i'
03:10:35.747592 Received DATA (on stdin)
03:10:35.747651 > 1 bytes data, server => client
03:10:35.747679 'n'
03:10:35.757663 Received DATA (on stdin)
03:10:35.757723 > 1 bytes data, server => client
03:10:35.757750 ' '
03:10:35.767734 Received DATA (on stdin)
03:10:35.767805 > 1 bytes data, server => client
03:10:35.767832 't'
03:10:35.777806 Received DATA (on stdin)
03:10:35.777865 > 1 bytes data, server => client
03:10:35.777892 'h'
03:10:35.787877 Received DATA (on stdin)
03:10:35.787936 > 1 bytes data, server => client
03:10:35.787964 'e'
03:10:35.797951 Received DATA (on stdin)
03:10:35.798010 > 1 bytes data, server => client
03:10:35.798037 ' '
03:10:35.808022 Received DATA (on stdin)
03:10:35.808081 > 1 bytes data, server => client
03:10:35.808109 't'
03:10:35.818093 Received DATA (on stdin)
03:10:35.818153 > 1 bytes data, server => client
03:10:35.818180 'i'
03:10:35.828167 Received DATA (on stdin)
03:10:35.828226 > 1 bytes data, server => client
03:10:35.828253 'm'
03:10:35.838239 Received DATA (on stdin)
03:10:35.838298 > 1 bytes data, server => client
03:10:35.838326 'e'
03:10:35.848313 Received DATA (on stdin)
03:10:35.848372 > 1 bytes data, server => client
03:10:35.848399 ' '
03:10:35.858383 Received DATA (on stdin)
03:10:35.858442 > 1 bytes data, server => client
03:10:35.858470 'a'
03:10:35.868455 Received DATA (on stdin)
03:10:35.868514 > 1 bytes data, server => client
03:10:35.868541 'l'
03:10:35.878525 Received DATA (on stdin)
03:10:35.878585 > 1 bytes data, server => client
03:10:35.878612 'l'
03:10:35.888596 Received DATA (on stdin)
03:10:35.888655 > 1 bytes data, server => client
03:10:35.888683 'o'
03:10:35.898669 Received DATA (on stdin)
03:10:35.898728 > 1 bytes data, server => client
03:10:35.898756 't'
03:10:35.908744 Received DATA (on stdin)
03:10:35.908806 > 1 bytes data, server => client
03:10:35.908834 't'
03:10:35.918815 Received DATA (on stdin)
03:10:35.918875 > 1 bytes data, server => client
03:10:35.918902 'e'
03:10:35.928887 Received DATA (on stdin)
03:10:35.928947 > 1 bytes data, server => client
03:10:35.928974 'd'
03:10:35.938958 Received DATA (on stdin)
03:10:35.939017 > 1 bytes data, server => client
03:10:35.939045 '.'
03:10:35.949032 Received DATA (on stdin)
03:10:35.949092 > 1 bytes data, server => client
03:10:35.949119 '\n'
03:10:35.959109 Received DATA (on stdin)
03:10:35.959163 > 1 bytes data, server => client
03:10:35.959188 'L'
03:10:35.969182 Received DATA (on stdin)
03:10:35.969238 > 1 bytes data, server => client
03:10:35.969262 'o'
03:10:35.979256 Received DATA (on stdin)
03:10:35.979299 > 1 bytes data, server => client
03:10:35.979308 'n'
03:10:35.989348 Received DATA (on stdin)
03:10:35.989393 > 1 bytes data, server => client
03:10:35.989404 'g'
03:10:35.999438 Received DATA (on stdin)
03:10:35.999483 > 1 bytes data, server => client
03:10:35.999493 ' '
03:10:36.009522 Received DATA (on stdin)
03:10:36.009567 > 1 bytes data, server => client
03:10:36.009577 'c'
03:10:36.019632 Received DATA (on stdin)
03:10:36.019679 > 1 bytes data, server => client
03:10:36.019698 'h'
03:10:36.029702 Received DATA (on stdin)
03:10:36.029760 > 1 bytes data, server => client
03:10:36.029783 'u'
03:10:36.039799 Received DATA (on stdin)
03:10:36.039853 > 1 bytes data, server => client
03:10:36.039877 'n'
03:10:36.049849 Received DATA (on stdin)
03:10:36.049908 > 1 bytes data, server => client
03:10:36.049936 'k'
03:10:36.059921 Received DATA (on stdin)
03:10:36.059980 > 1 bytes data, server => client
03:10:36.060008 ' '
03:10:36.069994 Received DATA (on stdin)
03:10:36.070053 > 1 bytes data, server => client
03:10:36.070080 'o'
03:10:36.080065 Received DATA (on stdin)
03:10:36.080124 > 1 bytes data, server => client
03:10:36.080152 'f'
03:10:36.090140 Received DATA (on stdin)
03:10:36.090200 > 1 bytes data, server => client
03:10:36.090227 ' '
03:10:36.100207 Received DATA (on stdin)
03:10:36.100266 > 1 bytes data, server => client
03:10:36.100294 'd'
03:10:36.110278 Received DATA (on stdin)
03:10:36.110338 > 1 bytes data, server => client
03:10:36.110365 'a'
03:10:36.120348 Received DATA (on stdin)
03:10:36.120407 > 1 bytes data, server => client
03:10:36.120435 't'
03:10:36.130422 Received DATA (on stdin)
03:10:36.130481 > 1 bytes data, server => client
03:10:36.130508 'a'
03:10:36.140494 Received DATA (on stdin)
03:10:36.140553 > 1 bytes data, server => client
03:10:36.140581 ' '
03:10:36.150567 Received DATA (on stdin)
03:10:36.150626 > 1 bytes data, server => client
03:10:36.150654 't'
03:10:36.160632 Received DATA (on stdin)
03:10:36.160692 > 1 bytes data, server => client
03:10:36.160718 'h'
03:10:36.170724 Received DATA (on stdin)
03:10:36.170768 > 1 bytes data, server => client
03:10:36.170794 'a'
03:10:36.180811 Received DATA (on stdin)
03:10:36.180847 > 1 bytes data, server => client
03:10:36.180868 't'
03:10:36.190912 Received DATA (on stdin)
03:10:36.190971 > 1 bytes data, server => client
03:10:36.190999 ' '
03:10:36.200987 Received DATA (on stdin)
03:10:36.201046 > 1 bytes data, server => client
03:10:36.201073 'c'
03:10:36.211062 Received DATA (on stdin)
03:10:36.211122 > 1 bytes data, server => client
03:10:36.211149 'o'
03:10:36.221159 Received DATA (on stdin)
03:10:36.221231 > 1 bytes data, server => client
03:10:36.221258 'u'
03:10:36.231244 Received DATA (on stdin)
03:10:36.231306 > 1 bytes data, server => client
03:10:36.231321 'l'
03:10:36.241375 Received DATA (on stdin)
03:10:36.241438 > 1 bytes data, server => client
03:10:36.241453 'd'
03:10:36.251483 Received DATA (on stdin)
03:10:36.251553 > 1 bytes data, server => client
03:10:36.251574 'n'
03:10:36.261577 Received DATA (on stdin)
03:10:36.261649 > 1 bytes data, server => client
03:10:36.261676 '''
03:10:36.271668 Received DATA (on stdin)
03:10:36.271727 > 1 bytes data, server => client
03:10:36.271755 't'
03:10:36.281763 Received DATA (on stdin)
03:10:36.281822 > 1 bytes data, server => client
03:10:36.281849 ' '
03:10:36.291857 Received DATA (on stdin)
03:10:36.291915 > 1 bytes data, server => client
03:10:36.291943 'p'
03:10:36.301952 Received DATA (on stdin)
03:10:36.302010 > 1 bytes data, server => client
03:10:36.302037 'o'
03:10:36.312047 Received DATA (on stdin)
03:10:36.312105 > 1 bytes data, server => client
03:10:36.312133 's'
03:10:36.322138 Received DATA (on stdin)
03:10:36.322196 > 1 bytes data, server => client
03:10:36.322224 's'
03:10:36.332234 Received DATA (on stdin)
03:10:36.332315 > 1 bytes data, server => client
03:10:36.332343 'i'
03:10:36.342328 Received DATA (on stdin)
03:10:36.342386 > 1 bytes data, server => client
03:10:36.342414 'b'
03:10:36.352423 Received DATA (on stdin)
03:10:36.352481 > 1 bytes data, server => client
03:10:36.352509 'l'
03:10:36.362495 Received DATA (on stdin)
03:10:36.362548 > 1 bytes data, server => client
03:10:36.362573 'y'
03:10:36.372589 Received DATA (on stdin)
03:10:36.372648 > 1 bytes data, server => client
03:10:36.372674 ' '
03:10:36.382680 Received DATA (on stdin)
03:10:36.382716 > 1 bytes data, server => client
03:10:36.382739 'b'
03:10:36.392799 Received DATA (on stdin)
03:10:36.392857 > 1 bytes data, server => client
03:10:36.392885 'e'
03:10:36.402894 Received DATA (on stdin)
03:10:36.402952 > 1 bytes data, server => client
03:10:36.402980 ' '
03:10:36.412989 Received DATA (on stdin)
03:10:36.413047 > 1 bytes data, server => client
03:10:36.413075 's'
03:10:36.423084 Received DATA (on stdin)
03:10:36.423142 > 1 bytes data, server => client
03:10:36.423170 'e'
03:10:36.433179 Received DATA (on stdin)
03:10:36.433237 > 1 bytes data, server => client
03:10:36.433265 'n'
03:10:36.443253 Received DATA (on stdin)
03:10:36.443306 > 1 bytes data, server => client
03:10:36.443332 't'
03:10:36.453342 Received DATA (on stdin)
03:10:36.453379 > 1 bytes data, server => client
03:10:36.453401 ' '
03:10:36.463436 Received DATA (on stdin)
03:10:36.463470 > 1 bytes data, server => client
03:10:36.463492 'i'
03:10:36.473534 Received DATA (on stdin)
03:10:36.473569 > 1 bytes data, server => client
03:10:36.473591 'n'
03:10:36.483626 Received DATA (on stdin)
03:10:36.483663 > 1 bytes data, server => client
03:10:36.483692 ' '
03:10:36.493721 Received DATA (on stdin)
03:10:36.493756 > 1 bytes data, server => client
03:10:36.493788 't'
03:10:36.503862 Received DATA (on stdin)
03:10:36.503946 > 1 bytes data, server => client
03:10:36.503972 'h'
03:10:36.513956 Received DATA (on stdin)
03:10:36.514014 > 1 bytes data, server => client
03:10:36.514041 'e'
03:10:36.524028 Received DATA (on stdin)
03:10:36.524081 > 1 bytes data, server => client
03:10:36.524106 ' '
03:10:36.534119 Received DATA (on stdin)
03:10:36.534157 > 1 bytes data, server => client
03:10:36.534179 't'
03:10:36.544215 Received DATA (on stdin)
03:10:36.544257 > 1 bytes data, server => client
03:10:36.544285 'i'
03:10:36.554313 Received DATA (on stdin)
03:10:36.554370 > 1 bytes data, server => client
03:10:36.554410 'm'
03:10:36.564404 Received DATA (on stdin)
03:10:36.564453 > 1 bytes data, server => client
03:10:36.564479 'e'
03:10:36.574521 Received DATA (on stdin)
03:10:36.574579 > 1 bytes data, server => client
03:10:36.574607 ' '
03:10:36.584615 Received DATA (on stdin)
03:10:36.584674 > 1 bytes data, server => client
03:10:36.584702 'a'
03:10:36.594710 Received DATA (on stdin)
03:10:36.594768 > 1 bytes data, server => client
03:10:36.594796 'l'
03:10:36.604805 Received DATA (on stdin)
03:10:36.604863 > 1 bytes data, server => client
03:10:36.604890 'l'
03:10:36.614899 Received DATA (on stdin)
03:10:36.614958 > 1 bytes data, server => client
03:10:36.614985 'o'
03:10:36.624994 Received DATA (on stdin)
03:10:36.625052 > 1 bytes data, server => client
03:10:36.625079 't'
03:10:36.635088 Received DATA (on stdin)
03:10:36.635147 > 1 bytes data, server => client
03:10:36.635174 't'
03:10:36.645184 Received DATA (on stdin)
03:10:36.645242 > 1 bytes data, server => client
03:10:36.645270 'e'
03:10:36.655279 Received DATA (on stdin)
03:10:36.655337 > 1 bytes data, server => client
03:10:36.655364 'd'
03:10:36.665373 Received DATA (on stdin)
03:10:36.665432 > 1 bytes data, server => client
03:10:36.665459 '.'
03:10:36.675468 Received DATA (on stdin)
03:10:36.675527 > 1 bytes data, server => client
03:10:36.675554 '\n'
03:10:36.685590 Received DATA (on stdin)
03:10:36.685648 > 1 bytes data, server => client
03:10:36.685676 'L'
03:10:36.695683 Received DATA (on stdin)
03:10:36.695741 > 1 bytes data, server => client
03:10:36.695780 'o'
03:10:36.705778 Received DATA (on stdin)
03:10:36.705852 > 1 bytes data, server => client
03:10:36.705880 'n'
03:10:36.715851 Received DATA (on stdin)
03:10:36.715905 > 1 bytes data, server => client
03:10:36.715930 'g'
03:10:36.725967 Received DATA (on stdin)
03:10:36.726025 > 1 bytes data, server => client
03:10:36.726052 ' '
03:10:36.736061 Received DATA (on stdin)
03:10:36.736120 > 1 bytes data, server => client
03:10:36.736147 'c'
03:10:36.746177 Received DATA (on stdin)
03:10:36.746237 > 1 bytes data, server => client
03:10:36.746264 'h'
03:10:36.756265 Received DATA (on stdin)
03:10:36.756325 > 1 bytes data, server => client
03:10:36.756352 'u'
03:10:36.766350 Received DATA (on stdin)
03:10:36.766410 > 1 bytes data, server => client
03:10:36.766437 'n'
03:10:36.776441 Received DATA (on stdin)
03:10:36.776499 > 1 bytes data, server => client
03:10:36.776527 'k'
03:10:36.786534 Received DATA (on stdin)
03:10:36.786592 > 1 bytes data, server => client
03:10:36.786620 ' '
03:10:36.796629 Received DATA (on stdin)
03:10:36.796687 > 1 bytes data, server => client
03:10:36.796714 'o'
03:10:36.806722 Received DATA (on stdin)
03:10:36.806780 > 1 bytes data, server => client
03:10:36.806807 'f'
03:10:36.816817 Received DATA (on stdin)
03:10:36.816875 > 1 bytes data, server => client
03:10:36.816902 ' '
03:10:36.826888 Received DATA (on stdin)
03:10:36.826948 > 1 bytes data, server => client
03:10:36.826975 'd'
03:10:36.836973 Received DATA (on stdin)
03:10:36.837010 > 1 bytes data, server => client
03:10:36.837032 'a'
03:10:36.847064 Received DATA (on stdin)
03:10:36.847101 > 1 bytes data, server => client
03:10:36.847123 't'
03:10:36.857158 Received DATA (on stdin)
03:10:36.857199 > 1 bytes data, server => client
03:10:36.857222 'a'
03:10:36.867269 Received DATA (on stdin)
03:10:36.867328 > 1 bytes data, server => client
03:10:36.867354 ' '
03:10:36.877324 Received DATA (on stdin)
03:10:36.877360 > 1 bytes data, server => client
03:10:36.877382 't'
03:10:36.887415 Received DATA (on stdin)
03:10:36.887448 > 1 bytes data, server => client
03:10:36.887470 'h'
03:10:36.897510 Received DATA (on stdin)
03:10:36.897550 > 1 bytes data, server => client
03:10:36.897572 'a'
03:10:36.907604 Received DATA (on stdin)
03:10:36.907649 > 1 bytes data, server => client
03:10:36.907676 't'
03:10:36.917695 Received DATA (on stdin)
03:10:36.917734 > 1 bytes data, server => client
03:10:36.917756 ' '
03:10:36.927799 Received DATA (on stdin)
03:10:36.927833 > 1 bytes data, server => client
03:10:36.927855 'c'
03:10:36.937890 Received DATA (on stdin)
03:10:36.937925 > 1 bytes data, server => client
03:10:36.937947 'o'
03:10:36.947985 Received DATA (on stdin)
03:10:36.948028 > 1 bytes data, server => client
03:10:36.948054 'u'
03:10:36.958077 Received DATA (on stdin)
03:10:36.958115 > 1 bytes data, server => client
03:10:36.958145 'l'
03:10:36.968166 Received DATA (on stdin)
03:10:36.968199 > 1 bytes data, server => client
03:10:36.968228 'd'
03:10:36.978255 Received DATA (on stdin)
03:10:36.978289 > 1 bytes data, server => client
03:10:36.978310 'n'
03:10:36.988347 Received DATA (on stdin)
03:10:36.988380 > 1 bytes data, server => client
03:10:36.988401 '''
03:10:36.998441 Received DATA (on stdin)
03:10:36.998476 > 1 bytes data, server => client
03:10:36.998498 't'
03:10:37.008538 Received DATA (on stdin)
03:10:37.008584 > 1 bytes data, server => client
03:10:37.008604 ' '
03:10:37.018642 Received DATA (on stdin)
03:10:37.018692 > 1 bytes data, server => client
03:10:37.018715 'p'
03:10:37.028713 Received DATA (on stdin)
03:10:37.028741 > 1 bytes data, server => client
03:10:37.028754 'o'
03:10:37.038773 Received DATA (on stdin)
03:10:37.038815 > 1 bytes data, server => client
03:10:37.038825 's'
03:10:37.048879 Received DATA (on stdin)
03:10:37.048931 > 1 bytes data, server => client
03:10:37.048943 's'
03:10:37.058958 Received DATA (on stdin)
03:10:37.059011 > 1 bytes data, server => client
03:10:37.059023 'i'
03:10:37.069025 Received DATA (on stdin)
03:10:37.069084 > 1 bytes data, server => client
03:10:37.069097 'b'
=== File too long: 2378 lines omitted here
03:10:44.858993 Received DATA (on stdin)
03:10:44.859046 > 1 bytes data, server => client
03:10:44.859071 ' '
03:10:44.859089 *** We are disconnected
03:10:44.869085 Received DATA (on stdin)
03:10:44.869120 > 1 bytes data, server => client
03:10:44.869141 't'
03:10:44.869159 *** We are disconnected
03:10:44.879178 Received DATA (on stdin)
03:10:44.879216 > 1 bytes data, server => client
03:10:44.879238 'h'
03:10:44.879255 *** We are disconnected
03:10:44.889298 Received DATA (on stdin)
03:10:44.889356 > 1 bytes data, server => client
03:10:44.889383 'a'
03:10:44.889402 *** We are disconnected
03:10:44.899392 Received DATA (on stdin)
03:10:44.899451 > 1 bytes data, server => client
03:10:44.899478 't'
03:10:44.899497 *** We are disconnected
03:10:44.909487 Received DATA (on stdin)
03:10:44.909545 > 1 bytes data, server => client
03:10:44.909573 ' '
03:10:44.909591 *** We are disconnected
03:10:44.919579 Received DATA (on stdin)
03:10:44.919638 > 1 bytes data, server => client
03:10:44.919666 'c'
03:10:44.919684 *** We are disconnected
03:10:44.929671 Received DATA (on stdin)
03:10:44.929729 > 1 bytes data, server => client
03:10:44.929757 'o'
03:10:44.929775 *** We are disconnected
03:10:44.939734 Received DATA (on stdin)
03:10:44.939799 > 1 bytes data, server => client
03:10:44.939827 'u'
03:10:44.939846 *** We are disconnected
03:10:44.949814 Received DATA (on stdin)
03:10:44.949859 > 1 bytes data, server => client
03:10:44.949886 'l'
03:10:44.949904 *** We are disconnected
03:10:44.959906 Received DATA (on stdin)
03:10:44.959942 > 1 bytes data, server => client
03:10:44.959973 'd'
03:10:44.959992 *** We are disconnected
03:10:44.970001 Received DATA (on stdin)
03:10:44.970034 > 1 bytes data, server => client
03:10:44.970055 'n'
03:10:44.970073 *** We are disconnected
03:10:44.980087 Received DATA (on stdin)
03:10:44.980120 > 1 bytes data, server => client
03:10:44.980141 '''
03:10:44.980159 *** We are disconnected
03:10:44.990203 Received DATA (on stdin)
03:10:44.990262 > 1 bytes data, server => client
03:10:44.990289 't'
03:10:44.990308 *** We are disconnected
03:10:45.000277 Received DATA (on stdin)
03:10:45.000335 > 1 bytes data, server => client
03:10:45.000361 ' '
03:10:45.000380 *** We are disconnected
03:10:45.010380 Received DATA (on stdin)
03:10:45.010442 > 1 bytes data, server => client
03:10:45.010469 'p'
03:10:45.010488 *** We are disconnected
03:10:45.020467 Received DATA (on stdin)
03:10:45.020526 > 1 bytes data, server => client
03:10:45.020553 'o'
03:10:45.020572 *** We are disconnected
03:10:45.030559 Received DATA (on stdin)
03:10:45.030617 > 1 bytes data, server => client
03:10:45.030644 's'
03:10:45.030663 *** We are disconnected
03:10:45.040651 Received DATA (on stdin)
03:10:45.040709 > 1 bytes data, server => client
03:10:45.040737 's'
03:10:45.040755 *** We are disconnected
03:10:45.050743 Received DATA (on stdin)
03:10:45.050802 > 1 bytes data, server => client
03:10:45.050829 'i'
03:10:45.050847 *** We are disconnected
03:10:45.060820 Received DATA (on stdin)
03:10:45.060873 > 1 bytes data, server => client
03:10:45.060898 'b'
03:10:45.060917 *** We are disconnected
03:10:45.070934 Received DATA (on stdin)
03:10:45.070992 > 1 bytes data, server => client
03:10:45.071020 'l'
03:10:45.071038 *** We are disconnected
03:10:45.081025 Received DATA (on stdin)
03:10:45.081084 > 1 bytes data, server => client
03:10:45.081111 'y'
03:10:45.081130 *** We are disconnected
03:10:45.091095 Received DATA (on stdin)
03:10:45.091149 > 1 bytes data, server => client
03:10:45.091174 ' '
03:10:45.091193 *** We are disconnected
03:10:45.101210 Received DATA (on stdin)
03:10:45.101268 > 1 bytes data, server => client
03:10:45.101296 'b'
03:10:45.101314 *** We are disconnected
03:10:45.111282 Received DATA (on stdin)
03:10:45.111336 > 1 bytes data, server => client
03:10:45.111361 'e'
03:10:45.111380 *** We are disconnected
03:10:45.121373 Received DATA (on stdin)
03:10:45.121412 > 1 bytes data, server => client
03:10:45.121435 ' '
03:10:45.121453 *** We are disconnected
03:10:45.131488 Received DATA (on stdin)
03:10:45.131547 > 1 bytes data, server => client
03:10:45.131574 's'
03:10:45.131593 *** We are disconnected
03:10:45.141561 Received DATA (on stdin)
03:10:45.141618 > 1 bytes data, server => client
03:10:45.141643 'e'
03:10:45.141662 *** We are disconnected
03:10:45.151644 Received DATA (on stdin)
03:10:45.151672 > 1 bytes data, server => client
03:10:45.151694 'n'
03:10:45.151712 *** We are disconnected
03:10:45.161763 Received DATA (on stdin)
03:10:45.161821 > 1 bytes data, server => client
03:10:45.161848 't'
03:10:45.161867 *** We are disconnected
03:10:45.171839 Received DATA (on stdin)
03:10:45.171897 > 1 bytes data, server => client
03:10:45.171925 ' '
03:10:45.171943 *** We are disconnected
03:10:45.181934 Received DATA (on stdin)
03:10:45.181992 > 1 bytes data, server => client
03:10:45.182020 'i'
03:10:45.182038 *** We are disconnected
03:10:45.192017 Received DATA (on stdin)
03:10:45.192075 > 1 bytes data, server => client
03:10:45.192103 'n'
03:10:45.192121 *** We are disconnected
03:10:45.202106 Received DATA (on stdin)
03:10:45.202164 > 1 bytes data, server => client
03:10:45.202192 ' '
03:10:45.202210 *** We are disconnected
03:10:45.212197 Received DATA (on stdin)
03:10:45.212288 > 1 bytes data, server => client
03:10:45.212325 't'
03:10:45.212353 *** We are disconnected
03:10:45.222294 Received DATA (on stdin)
03:10:45.222348 > 1 bytes data, server => client
03:10:45.222368 'h'
03:10:45.222382 *** We are disconnected
03:10:45.232381 Received DATA (on stdin)
03:10:45.232429 > 1 bytes data, server => client
03:10:45.232442 'e'
03:10:45.232452 *** We are disconnected
03:10:45.242471 Received DATA (on stdin)
03:10:45.242523 > 1 bytes data, server => client
03:10:45.242538 ' '
03:10:45.242549 *** We are disconnected
03:10:45.252555 Received DATA (on stdin)
03:10:45.252607 > 1 bytes data, server => client
03:10:45.252622 't'
03:10:45.252633 *** We are disconnected
03:10:45.262639 Received DATA (on stdin)
03:10:45.262686 > 1 bytes data, server => client
03:10:45.262701 'i'
03:10:45.262711 *** We are disconnected
03:10:45.272726 Received DATA (on stdin)
03:10:45.272775 > 1 bytes data, server => client
03:10:45.272789 'm'
03:10:45.272800 *** We are disconnected
03:10:45.282815 Received DATA (on stdin)
03:10:45.282867 > 1 bytes data, server => client
03:10:45.282881 'e'
03:10:45.282892 *** We are disconnected
03:10:45.292902 Received DATA (on stdin)
03:10:45.292956 > 1 bytes data, server => client
03:10:45.292970 ' '
03:10:45.292982 *** We are disconnected
03:10:45.302988 Received DATA (on stdin)
03:10:45.303040 > 1 bytes data, server => client
03:10:45.303054 'a'
03:10:45.303065 *** We are disconnected
03:10:45.313074 Received DATA (on stdin)
03:10:45.313123 > 1 bytes data, server => client
03:10:45.313138 'l'
03:10:45.313149 *** We are disconnected
03:10:45.323162 Received DATA (on stdin)
03:10:45.323213 > 1 bytes data, server => client
03:10:45.323226 'l'
03:10:45.323237 *** We are disconnected
03:10:45.333268 Received DATA (on stdin)
03:10:45.333345 > 1 bytes data, server => client
03:10:45.333365 'o'
03:10:45.333379 *** We are disconnected
03:10:45.343398 Received DATA (on stdin)
03:10:45.343466 > 1 bytes data, server => client
03:10:45.343483 't'
03:10:45.343495 *** We are disconnected
03:10:45.353498 Received DATA (on stdin)
03:10:45.353566 > 1 bytes data, server => client
03:10:45.353584 't'
03:10:45.353597 *** We are disconnected
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.08.11 03:10:25 LOG5[25038]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.11 03:10:25 LOG5[25038]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.11 03:10:25 LOG5[25038]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.11 03:10:25 LOG5[25038]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.11 03:10:25 LOG5[25038]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.11 03:10:25 LOG5[25038]: Reading configuration from file /build-20624/tests/ftps_stunnel.conf
2019.08.11 03:10:25 LOG5[25038]: FIPS mode disabled
2019.08.11 03:10:25 LOG5[25038]: Configuration successful
2019.08.11 03:10:26 LOG5[25041]: Service [curltest] accepted connection from 127.0.0.1:49414
2019.08.11 03:10:26 LOG5[25041]: s_connect: connected 127.0.0.1:8992
2019.08.11 03:10:26 LOG5[25041]: Service [curltest] connected remote server from 127.0.0.1:38376
2019.08.11 03:10:26 LOG5[25041]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.08.11 03:10:28 LOG5[25046]: Service [curltest] accepted connection from 127.0.0.1:49420
2019.08.11 03:10:30 LOG5[25046]: s_connect: connected 127.0.0.1:8992
2019.08.11 03:10:30 LOG5[25046]: Service [curltest] connected remote server from 127.0.0.1:38382
2019.08.11 03:10:44 LOG5[25046]: Connection closed: 347 byte(s) sent to SSL, 95 byte(s) sent to socket
2019.08.11 03:10:45 LOG5[25038]: Terminated
=== End of file ftps_stunnel.log
=== Start of file ftps_verify.log
* STATE: INIT => CONNECT handle 0x55de94be8798; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8993...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55de94be8798; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55de94be8798; line 1538 (connection #0)
* Marked for [keep alive]: FTP default
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [126 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* FTP 0x55de94bfe370 (line 3092) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55de94be8798; line 1553 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x55de94bfe370 (line 792) state change from WAIT220 to USER
{ [5 bytes data]
< 331 We are happy you popped in
} [5 bytes data]
> PASS ftp@example.com
* FTP 0x55de94bfe370 (line 2520) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x55de94bfe370 (line 2496) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x55de94bfe370 (line 2709) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x55de94bfe370 (line 804) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x55de94bfe370 (line 2844) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x55de94be8798; line 1572 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x55de94bfe370 (line 1330) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x55de94be8798; line 1614 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||37689|)
* Trying 127.0.0.1:37689...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 37689
* FTP 0x55de94bfe370 (line 1977) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x55de94be8798; line 1699 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* DO-MORE connected phase starts
} [5 bytes data]
> TYPE I
* FTP 0x55de94bfe370 (line 3418) state change from STOP to RETR_TYPE
{ [5 bytes data]
< 200 I modify TYPE as you wanted
} [5 bytes data]
> SIZE verifiedserver
* FTP 0x55de94bfe370 (line 1743) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x55de94bfe370 (line 2229) state change from RETR_SIZE to RETR
{ [5 bytes data]
< 150 Binary junk (17 bytes).
* Maxdownload = -1
* Getting file with size: 17
* FTP 0x55de94bfe370 (line 477) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x55de94be8798; line 1724 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55de94be8798; line 1749 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x55de94be8798; line 1939 (connection #0)
* multi_done
* Remembering we are in dir ""
{ [5 bytes data]
< 226 File transfer complete
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55de94be8798)
=== End of file ftps_verify.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
EPSV
TYPE I
SIZE 1112
RETR 1112
=== End of file server.input
=== Start of file stderr1112
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0
0 3600 0 23 0 0 3 0 0:20:00 0:00:05 0:19:55 4
3 3600 3 122 0 0 17 0 0:03:31 0:00:06 0:03:25 26
6 3600 6 222 0 0 28 0 0:02:08 0:00:07 0:02:01 44
8 3600 8 321 0 0 36 0 0:01:40 0:00:08 0:01:32 64
11 3600 11 420 0 0 42 0 0:01:25 0:00:09 0:01:16 83
14 3600 14 519 0 0 47 0 0:01:16 0:00:10 0:01:06 99
17 3600 17 618 0 0 52 0 0:01:09 0:00:11 0:00:58 99
19 3600 19 717 0 0 55 0 0:01:05 0:00:12 0:00:53 99
22 3600 22 816 0 0 59 0 0:01:01 0:00:13 0:00:48 99
25 3600 25 915 0 0 61 0 0:00:59 0:00:14 0:00:45 99
28 3600 28 1014 0 0 64 0 0:00:56 0:00:15 0:00:41 99
28 3600 28 1033 0 0 64 0 0:00:56 0:00:16 0:00:40 98
curl: (28) Operation timed out after 16000 milliseconds with 1033 out of 3600 bytes received
=== End of file stderr1112
=== Start of file trace1112
03:10:28.183264 == Info: STATE: INIT => CONNECT handle 0x56c52e8; line 1362 (connection #-5000)
03:10:28.239011 == Info: Added connection 0. The cache now contains 1 members
03:10:28.256713 == Info: Trying 127.0.0.1:8993...
03:10:28.257317 == Info: TCP_NODELAY set
03:10:28.261700 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52e8; line 1418 (connection #0)
03:10:28.273246 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:10:28.273806 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52e8; line 1538 (connection #0)
03:10:28.274864 == Info: Marked for [keep alive]: FTP default
03:10:29.740461 == Info: successfully set certificate verify locations:
03:10:29.740720 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:10:29.853008 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:10:29.858021 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:10:29.858077 => Send SSL data, 126 bytes (0x7e)
0000: ...z...b1>_D*5........!....pH...6.........+./.,.0...............
0040: ../.5.....3...................................................
03:10:29.874791 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:10:29.880345 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:10:29.880400 <= Recv SSL data, 89 bytes (0x59)
0000: ...U......*.....V.9.9.T..[7F]..[.[7F]./"e.j. .M..s....\/..jvg..5....e.
0040: w.s.).../................
03:10:29.923758 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.924207 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:10:29.924260 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:10:30.022607 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:10:30.022864 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:10:30.022918 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.........1.Y+)...UZt..X..H......V.jyv.<....|yN.K....$.Qs
0040: .g.;t._9.....P..k..[7F]<...Lz..?.{.R(./.G.[7F]..'7...H....L.L .,.R.G..
0080: ..........Y(A......?Z....!.+*..b....jb2W........\>....qJ.g..s%f.
00c0: ...".).y.o4.$n..2tI...$.W:!.%[[.T...4.f..o......U.(.........}L#x
0100: ....!*[7F]........{a.F.{.P.*.9.0.0..~t..O..!.d...\..q#..d.A6.......
0140: .>&.v}...}..E
03:10:30.092271 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.092589 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:10:30.092645 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:10:30.207727 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:10:30.207972 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:10:30.208026 => Send SSL data, 70 bytes (0x46)
0000: ...BA..Xt.."jq!`...........X.T..8z.g......./.]..f..m9)I..E.[7F].7..
0040: ...\x.
03:10:30.219910 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:30.220490 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:10:30.220546 => Send SSL data, 1 bytes (0x1)
0000: .
03:10:30.241848 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:10:30.241904 => Send SSL data, 16 bytes (0x10)
0000: .........Zq.[7F]...
03:10:30.254330 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:10:30.256984 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.258074 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:10:30.258129 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:10:30.260580 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:10:30.266243 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:10:30.266298 <= Recv SSL data, 16 bytes (0x10)
0000: .......xz......j
03:10:30.294558 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:10:30.296831 == Info: Server certificate:
03:10:30.304293 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:10:30.310423 == Info: start date: Aug 31 23:39:18 2018 GMT
03:10:30.311369 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:10:30.312292 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:10:30.313157 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:10:30.314636 == Info: FTP 0x57410f0 (line 3092) state change from STOP to WAIT220
03:10:30.320852 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.324156 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.324390 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.324615 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.324838 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.325058 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.325278 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.328192 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c52e8; line 1553 (connection #0)
03:10:30.334288 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.336536 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.346666 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.356850 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.367162 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.377247 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.387262 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.397339 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.407427 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.417508 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.427585 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.437651 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.447723 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.457794 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.467894 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.477937 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.488020 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.498089 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.508295 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.518269 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.528326 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.538403 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.548480 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.558550 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.568622 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.569632 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:10:30.578541 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.588616 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.598737 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.608864 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.618935 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.629049 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.639125 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.649197 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.659269 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.669341 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.679413 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.689485 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.699561 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.709634 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.719719 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.729785 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.739863 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.749939 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.760018 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.770071 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.780139 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.790210 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.800294 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.810357 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.820426 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.830499 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.840574 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.850649 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.860724 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.870794 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.880866 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.890934 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.891285 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:10:30.901019 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.911083 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.921161 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.931234 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.941308 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.951382 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.961465 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.971526 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.981600 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.991675 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.001770 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.011838 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.021894 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.031989 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.042054 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.052137 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.062217 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.072306 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.082374 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.092450 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.102532 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.112612 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.122717 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.132765 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.142849 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.152959 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.163059 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.173093 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.183168 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.193247 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.203329 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.213411 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.213774 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:10:31.223483 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.233562 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.243637 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.253721 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.263811 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.273875 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.283937 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.294032 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.304119 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.314191 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.324296 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.334353 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.344491 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.354505 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.364585 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.374665 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.384754 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.400291 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.404899 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.414976 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.425137 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.435254 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.445348 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.455441 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.465538 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.475629 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.485727 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.495865 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.506040 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.516033 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.526143 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.536191 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.536569 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:10:31.546280 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.556353 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.566413 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.576488 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.586562 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.596647 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.606719 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.616791 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.626879 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.636947 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.647032 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.657118 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.667215 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.677301 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.687393 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.697495 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.707585 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.717677 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.727765 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.737862 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.747972 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.758067 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.768118 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.778324 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.788457 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.798566 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.808586 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.818660 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.828749 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.838837 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.848939 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.859075 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.859425 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:10:31.874415 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:10:31.878055 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:10:31.878837 == Info: FTP 0x57410f0 (line 792) state change from WAIT220 to USER
03:10:31.879199 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.920317 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.927890 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.937984 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.948069 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:31.948415 <= Recv header, 8 bytes (0x8)
0000: 331 OK
03:10:31.951546 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:31.951876 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:10:31.952911 == Info: FTP 0x57410f0 (line 2520) state change from USER to PASS
03:10:31.958434 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.000288 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.008933 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.018961 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.029048 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.029399 <= Recv header, 8 bytes (0x8)
0000: 230 OK
03:10:32.031043 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:32.031344 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:10:32.032257 == Info: FTP 0x57410f0 (line 2496) state change from PASS to PBSZ
03:10:32.039430 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.080251 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.089946 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.100000 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.110086 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.120203 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.130266 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.140417 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.150526 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.160620 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.170699 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.180795 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.190887 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.200982 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.211077 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.221169 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.231253 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.241300 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.251428 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.261500 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.271570 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.281640 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.291713 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.292088 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:10:32.293539 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:32.293836 => Send header, 8 bytes (0x8)
0000: PROT C
03:10:32.294753 == Info: FTP 0x57410f0 (line 2709) state change from PBSZ to PROT
03:10:32.302089 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.344248 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.352569 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.362660 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.372746 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.382839 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.392891 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.403031 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.413084 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.423119 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.433313 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.443356 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.453452 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.463543 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.473702 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.483818 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.493894 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.504138 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.514077 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.524210 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.534298 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.544383 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.554480 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.554832 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:10:32.556653 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:32.556971 => Send header, 5 bytes (0x5)
0000: PWD
03:10:32.557785 == Info: FTP 0x57410f0 (line 804) state change from PROT to PWD
03:10:32.564856 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.608300 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.615319 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.625450 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.635540 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.645637 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.646001 <= Recv header, 9 bytes (0x9)
0000: 257 "/"
03:10:32.648782 == Info: Entry path is '/'
03:10:32.649372 == Info: FTP 0x57410f0 (line 2844) state change from PWD to STOP
03:10:32.649795 == Info: protocol connect phase DONE
03:10:32.650431 == Info: STATE: PROTOCONNECT => DO handle 0x56c52e8; line 1572 (connection #0)
03:10:32.654857 == Info: DO phase starts
03:10:32.657795 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:32.657969 => Send header, 6 bytes (0x6)
0000: EPSV
03:10:32.658465 == Info: FTP 0x57410f0 (line 1330) state change from STOP to PASV
03:10:32.658715 == Info: Connect data stream passively
03:10:32.659956 == Info: ftp_perform ends with SECONDARY: 0
03:10:32.660997 == Info: STATE: DO => DOING handle 0x56c52e8; line 1614 (connection #0)
03:10:32.662516 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.704301 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.711507 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.721581 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.731701 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.741795 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.751889 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.761931 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.772026 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.782178 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.792304 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.802371 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.812467 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.822562 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.832658 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.842753 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.852858 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.862943 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.873037 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.883130 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.893223 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.903318 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.913408 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.923504 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.933595 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.943419 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.953500 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.963645 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.973873 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.983878 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:32.994203 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.004338 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.014104 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.024271 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.034316 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.034557 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||45813|).
03:10:33.045967 == Info: Trying 127.0.0.1:45813...
03:10:33.046099 == Info: TCP_NODELAY set
03:10:33.048597 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 45813
03:10:33.049705 == Info: FTP 0x57410f0 (line 1977) state change from PASV to STOP
03:10:33.050251 == Info: DO phase is complete2
03:10:33.050514 == Info: STATE: DOING => DO_MORE handle 0x56c52e8; line 1699 (connection #0)
03:10:33.051230 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:10:33.051454 == Info: DO-MORE connected phase starts
03:10:33.052818 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:33.052942 => Send header, 8 bytes (0x8)
0000: TYPE I
03:10:33.053328 == Info: FTP 0x57410f0 (line 3418) state change from STOP to RETR_TYPE
03:10:33.053708 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.096471 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.104037 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.114051 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.124155 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.124397 <= Recv header, 8 bytes (0x8)
0000: 200 OK
03:10:33.126100 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:10:33.126280 => Send header, 11 bytes (0xb)
0000: SIZE 1112
03:10:33.126784 == Info: FTP 0x57410f0 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:10:33.134634 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.176121 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.185005 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.195144 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.205177 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.215249 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.225363 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.225567 <= Recv header, 10 bytes (0xa)
0000: 213 3600
03:10:33.227882 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:10:33.228004 => Send header, 11 bytes (0xb)
0000: RETR 1112
03:10:33.228349 == Info: FTP 0x57410f0 (line 2229) state change from RETR_SIZE to RETR
03:10:33.235763 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.276291 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.276935 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.286602 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.296662 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.306728 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.316837 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.326921 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.337013 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.347071 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.357097 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.367194 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.377335 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.387428 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.397525 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.407631 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.417716 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.427824 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.437907 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.448026 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.458099 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.468217 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.478291 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.488378 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.498456 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.508705 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.518657 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.528809 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.539057 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.548953 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.559044 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.569160 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.579287 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.589373 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.599492 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.609591 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.619677 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.629769 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.639878 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.649947 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.660054 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.670136 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.680238 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.690329 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.700604 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.710618 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.720855 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.730684 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.740590 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.750686 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.760761 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.770937 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:33.771161 <= Recv header, 54 bytes (0x36)
0000: 150 Binary data connection for 1112 () (3600 bytes).
03:10:33.772427 == Info: Maxdownload = -1
03:10:33.772721 == Info: Getting file with size: 3600
03:10:33.774373 == Info: FTP 0x57410f0 (line 477) state change from RETR to STOP
03:10:33.774942 == Info: STATE: DO_MORE => DO_DONE handle 0x56c52e8; line 1724 (connection #0)
03:10:33.775338 == Info: STATE: DO_DONE => PERFORM handle 0x56c52e8; line 1749 (connection #0)
03:10:33.784689 <= Recv data, 1 bytes (0x1)
0000: L
03:10:33.791015 <= Recv data, 1 bytes (0x1)
0000: o
03:10:33.801311 <= Recv data, 1 bytes (0x1)
0000: n
03:10:33.811309 <= Recv data, 1 bytes (0x1)
0000: g
03:10:33.821319 <= Recv data, 1 bytes (0x1)
0000:
03:10:33.831343 <= Recv data, 1 bytes (0x1)
0000: c
03:10:33.841601 <= Recv data, 1 bytes (0x1)
0000: h
03:10:33.851703 <= Recv data, 1 bytes (0x1)
0000: u
03:10:33.861827 <= Recv data, 1 bytes (0x1)
0000: n
03:10:33.872027 <= Recv data, 1 bytes (0x1)
0000: k
03:10:33.882037 <= Recv data, 1 bytes (0x1)
0000:
03:10:33.892130 <= Recv data, 1 bytes (0x1)
0000: o
03:10:33.902238 <= Recv data, 1 bytes (0x1)
0000: f
03:10:33.912326 <= Recv data, 1 bytes (0x1)
0000:
03:10:33.922416 <= Recv data, 1 bytes (0x1)
0000: d
03:10:33.932511 <= Recv data, 1 bytes (0x1)
0000: a
03:10:33.942641 <= Recv data, 1 bytes (0x1)
0000: t
03:10:33.952725 <= Recv data, 1 bytes (0x1)
0000: a
03:10:33.962810 <= Recv data, 1 bytes (0x1)
0000:
03:10:33.972910 <= Recv data, 1 bytes (0x1)
0000: t
03:10:33.982992 <= Recv data, 1 bytes (0x1)
0000: h
03:10:33.993083 <= Recv data, 1 bytes (0x1)
0000: a
03:10:34.003183 <= Recv data, 1 bytes (0x1)
0000: t
03:10:34.013259 <= Recv data, 1 bytes (0x1)
0000:
03:10:34.023323 <= Recv data, 1 bytes (0x1)
0000: c
03:10:34.033484 <= Recv data, 1 bytes (0x1)
0000: o
03:10:34.043525 <= Recv data, 1 bytes (0x1)
0000: u
03:10:34.053613 <= Recv data, 1 bytes (0x1)
0000: l
03:10:34.063808 <= Recv data, 1 bytes (0x1)
0000: d
03:10:34.073679 <= Recv data, 1 bytes (0x1)
0000: n
03:10:34.083896 <= Recv data, 1 bytes (0x1)
0000: '
03:10:34.093964 <= Recv data, 1 bytes (0x1)
0000: t
03:10:34.104055 <= Recv data, 1 bytes (0x1)
0000:
03:10:34.114187 <= Recv data, 1 bytes (0x1)
0000: p
03:10:34.124328 <= Recv data, 1 bytes (0x1)
0000: o
03:10:34.134386 <= Recv data, 1 bytes (0x1)
0000: s
03:10:34.144509 <= Recv data, 1 bytes (0x1)
0000: s
03:10:34.154592 <= Recv data, 1 bytes (0x1)
0000: i
03:10:34.164665 <= Recv data, 1 bytes (0x1)
0000: b
03:10:34.174753 <= Recv data, 1 bytes (0x1)
0000: l
03:10:34.184860 <= Recv data, 1 bytes (0x1)
0000: y
03:10:34.194919 <= Recv data, 1 bytes (0x1)
0000:
03:10:34.205025 <= Recv data, 1 bytes (0x1)
0000: b
03:10:34.215111 <= Recv data, 1 bytes (0x1)
0000: e
03:10:34.225049 <= Recv data, 1 bytes (0x1)
0000:
03:10:34.235142 <= Recv data, 1 bytes (0x1)
0000: s
03:10:34.245214 <= Recv data, 1 bytes (0x1)
0000: e
03:10:34.255364 <= Recv data, 1 bytes (0x1)
0000: n
03:10:34.265494 <= Recv data, 1 bytes (0x1)
0000: t
03:10:34.275630 <= Recv data, 1 bytes (0x1)
0000:
03:10:34.285720 <= Recv data, 1 bytes (0x1)
0000: i
03:10:34.295810 <= Recv data, 1 bytes (0x1)
0000: n
03:10:34.305903 <= Recv data, 1 bytes (0x1)
0000:
03:10:34.316008 <= Recv data, 1 bytes (0x1)
0000: t
03:10:34.326116 <= Recv data, 1 bytes (0x1)
0000: h
03:10:34.336177 <= Recv data, 1 bytes (0x1)
0000: e
03:10:34.346287 <= Recv data, 1 bytes (0x1)
0000:
03:10:34.356381 <= Recv data, 1 bytes (0x1)
0000: t
03:10:34.366480 <= Recv data, 1 bytes (0x1)
0000: i
03:10:34.376567 <= Recv data, 1 bytes (0x1)
0000: m
03:10:34.386661 <= Recv data, 1 bytes (0x1)
0000: e
03:10:34.396765 <= Recv data, 1 bytes (0x1)
0000:
03:10:34.406848 <= Recv data, 1 bytes (0x1)
0000: a
03:10:34.416940 <= Recv data, 1 bytes (0x1)
0000: l
03:10:34.427035 <= Recv data, 1 bytes (0x1)
0000: l
03:10:34.437175 <= Recv data, 1 bytes (0x1)
0000: o
03:10:34.447236 <= Recv data, 1 bytes (0x1)
0000: t
03:10:34.457317 <= Recv data, 1 bytes (0x1)
0000: t
03:10:34.467419 <= Recv data, 1 bytes (0x1)
0000: e
03:10:34.477505 <= Recv data, 1 bytes (0x1)
0000: d
03:10:34.487599 <= Recv data, 1 bytes (0x1)
0000: .
03:10:34.497695 <= Recv data, 1 bytes (0x1)
0000: .
03:10:34.507955 <= Recv data, 1 bytes (0x1)
0000: L
03:10:34.517960 <= Recv data, 1 bytes (0x1)
0000: o
03:10:34.528038 <= Recv data, 1 bytes (0x1)
0000: n
03:10:34.538091 <= Recv data, 1 bytes (0x1)
0000: g
03:10:34.548266 <= Recv data, 1 bytes (0x1)
0000:
03:10:34.558330 <= Recv data, 1 bytes (0x1)
0000: c
03:10:34.568415 <= Recv data, 1 bytes (0x1)
0000: h
03:10:34.578519 <= Recv data, 1 bytes (0x1)
0000: u
03:10:34.588603 <= Recv data, 1 bytes (0x1)
0000: n
03:10:34.598699 <= Recv data, 1 bytes (0x1)
0000: k
03:10:34.608791 <= Recv data, 1 bytes (0x1)
0000:
03:10:34.618885 <= Recv data, 1 bytes (0x1)
0000: o
03:10:34.628981 <= Recv data, 1 bytes (0x1)
=== File too long: 1708 lines omitted here
0000: n
03:10:43.254906 <= Recv data, 1 bytes (0x1)
0000: g
03:10:43.264996 <= Recv data, 1 bytes (0x1)
0000:
03:10:43.275088 <= Recv data, 1 bytes (0x1)
0000: c
03:10:43.285183 <= Recv data, 1 bytes (0x1)
0000: h
03:10:43.295277 <= Recv data, 1 bytes (0x1)
0000: u
03:10:43.305371 <= Recv data, 1 bytes (0x1)
0000: n
03:10:43.315450 <= Recv data, 1 bytes (0x1)
0000: k
03:10:43.325523 <= Recv data, 1 bytes (0x1)
0000:
03:10:43.335647 <= Recv data, 1 bytes (0x1)
0000: o
03:10:43.345732 <= Recv data, 1 bytes (0x1)
0000: f
03:10:43.355825 <= Recv data, 1 bytes (0x1)
0000:
03:10:43.365907 <= Recv data, 1 bytes (0x1)
0000: d
03:10:43.376014 <= Recv data, 1 bytes (0x1)
0000: a
03:10:43.386094 <= Recv data, 1 bytes (0x1)
0000: t
03:10:43.396190 <= Recv data, 1 bytes (0x1)
0000: a
03:10:43.406281 <= Recv data, 1 bytes (0x1)
0000:
03:10:43.416373 <= Recv data, 1 bytes (0x1)
0000: t
03:10:43.426474 <= Recv data, 1 bytes (0x1)
0000: h
03:10:43.436567 <= Recv data, 1 bytes (0x1)
0000: a
03:10:43.446660 <= Recv data, 1 bytes (0x1)
0000: t
03:10:43.456777 <= Recv data, 1 bytes (0x1)
0000:
03:10:43.466850 <= Recv data, 1 bytes (0x1)
0000: c
03:10:43.476924 <= Recv data, 1 bytes (0x1)
0000: o
03:10:43.487018 <= Recv data, 1 bytes (0x1)
0000: u
03:10:43.497185 <= Recv data, 1 bytes (0x1)
0000: l
03:10:43.507306 <= Recv data, 1 bytes (0x1)
0000: d
03:10:43.517313 <= Recv data, 1 bytes (0x1)
0000: n
03:10:43.527435 <= Recv data, 1 bytes (0x1)
0000: '
03:10:43.537526 <= Recv data, 1 bytes (0x1)
0000: t
03:10:43.547592 <= Recv data, 1 bytes (0x1)
0000:
03:10:43.557685 <= Recv data, 1 bytes (0x1)
0000: p
03:10:43.567790 <= Recv data, 1 bytes (0x1)
0000: o
03:10:43.577872 <= Recv data, 1 bytes (0x1)
0000: s
03:10:43.587966 <= Recv data, 1 bytes (0x1)
0000: s
03:10:43.598087 <= Recv data, 1 bytes (0x1)
0000: i
03:10:43.608135 <= Recv data, 1 bytes (0x1)
0000: b
03:10:43.618213 <= Recv data, 1 bytes (0x1)
0000: l
03:10:43.628323 <= Recv data, 1 bytes (0x1)
0000: y
03:10:43.638455 <= Recv data, 1 bytes (0x1)
0000:
03:10:43.648502 <= Recv data, 1 bytes (0x1)
0000: b
03:10:43.658594 <= Recv data, 1 bytes (0x1)
0000: e
03:10:43.668686 <= Recv data, 1 bytes (0x1)
0000:
03:10:43.678778 <= Recv data, 1 bytes (0x1)
0000: s
03:10:43.688872 <= Recv data, 1 bytes (0x1)
0000: e
03:10:43.698966 <= Recv data, 1 bytes (0x1)
0000: n
03:10:43.709089 <= Recv data, 1 bytes (0x1)
0000: t
03:10:43.719151 <= Recv data, 1 bytes (0x1)
0000:
03:10:43.729246 <= Recv data, 1 bytes (0x1)
0000: i
03:10:43.739369 <= Recv data, 1 bytes (0x1)
0000: n
03:10:43.749432 <= Recv data, 1 bytes (0x1)
0000:
03:10:43.759526 <= Recv data, 1 bytes (0x1)
0000: t
03:10:43.769620 <= Recv data, 1 bytes (0x1)
0000: h
03:10:43.779713 <= Recv data, 1 bytes (0x1)
0000: e
03:10:43.789807 <= Recv data, 1 bytes (0x1)
0000:
03:10:43.799970 <= Recv data, 1 bytes (0x1)
0000: t
03:10:43.810046 <= Recv data, 1 bytes (0x1)
0000: i
03:10:43.820128 <= Recv data, 1 bytes (0x1)
0000: m
03:10:43.830184 <= Recv data, 1 bytes (0x1)
0000: e
03:10:43.840328 <= Recv data, 1 bytes (0x1)
0000:
03:10:43.850435 <= Recv data, 1 bytes (0x1)
0000: a
03:10:43.860276 <= Recv data, 1 bytes (0x1)
0000: l
03:10:43.870528 <= Recv data, 1 bytes (0x1)
0000: l
03:10:43.880656 <= Recv data, 1 bytes (0x1)
0000: o
03:10:43.890713 <= Recv data, 1 bytes (0x1)
0000: t
03:10:43.900807 <= Recv data, 1 bytes (0x1)
0000: t
03:10:43.910799 <= Recv data, 1 bytes (0x1)
0000: e
03:10:43.921017 <= Recv data, 1 bytes (0x1)
0000: d
03:10:43.931161 <= Recv data, 1 bytes (0x1)
0000: .
03:10:43.941190 <= Recv data, 1 bytes (0x1)
0000: .
03:10:43.951318 <= Recv data, 1 bytes (0x1)
0000: L
03:10:43.961389 <= Recv data, 1 bytes (0x1)
0000: o
03:10:43.971484 <= Recv data, 1 bytes (0x1)
0000: n
03:10:43.981582 <= Recv data, 1 bytes (0x1)
0000: g
03:10:43.991685 <= Recv data, 1 bytes (0x1)
0000:
03:10:44.001796 <= Recv data, 1 bytes (0x1)
0000: c
03:10:44.011894 <= Recv data, 1 bytes (0x1)
0000: h
03:10:44.022002 <= Recv data, 1 bytes (0x1)
0000: u
03:10:44.032116 <= Recv data, 1 bytes (0x1)
0000: n
03:10:44.042194 <= Recv data, 1 bytes (0x1)
0000: k
03:10:44.052280 <= Recv data, 1 bytes (0x1)
0000:
03:10:44.062418 <= Recv data, 1 bytes (0x1)
0000: o
03:10:44.072469 <= Recv data, 1 bytes (0x1)
0000: f
03:10:44.082562 <= Recv data, 1 bytes (0x1)
0000:
03:10:44.092656 <= Recv data, 1 bytes (0x1)
0000: d
03:10:44.102718 <= Recv data, 1 bytes (0x1)
0000: a
03:10:44.112809 <= Recv data, 1 bytes (0x1)
0000: t
03:10:44.122903 <= Recv data, 1 bytes (0x1)
0000: a
03:10:44.132995 <= Recv data, 1 bytes (0x1)
0000:
03:10:44.143092 <= Recv data, 1 bytes (0x1)
0000: t
03:10:44.153185 <= Recv data, 1 bytes (0x1)
0000: h
03:10:44.163276 <= Recv data, 1 bytes (0x1)
0000: a
03:10:44.173374 <= Recv data, 1 bytes (0x1)
0000: t
03:10:44.183461 <= Recv data, 1 bytes (0x1)
0000:
03:10:44.193558 <= Recv data, 1 bytes (0x1)
0000: c
03:10:44.201503 == Info: Operation timed out after 16000 milliseconds with 1033 out of 3600 bytes received
03:10:44.202432 == Info: Marked for [closure]: Disconnected with pending data
03:10:44.202912 == Info: multi_done
03:10:44.219010 == Info: Closing connection 0
03:10:44.220863 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:44.221758 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
03:10:44.221815 => Send SSL data, 2 bytes (0x2)
0000: ..
03:10:44.279587 == Info: The cache now contains 0 members
03:10:44.286541 == Info: Expire cleared (transfer 0x56c52e8)
=== End of file trace1112
=== Start of file valgrind1112
==25045== Invalid read of size 8
==25045== at 0x53315A5: check_free (dlerror.c:188)
==25045== by 0x5331AB1: free_key_mem (dlerror.c:221)
==25045== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==25045== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==25045== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==25045== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==25045== by 0x4D60EB9: exit (exit.c:139)
==25045== by 0x4D4B0A1: (below main) (libc-start.c:342)
==25045== Address 0x5af4ff0 is 0 bytes after a block of size 32 alloc'd
==25045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==25045== by 0x25C282: OPENSSL_malloc (mem.c:106)
==25045== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==25045== by 0x24B104: err_get_state (err.c:210)
==25045== by 0x24BCDA: ERR_put_error (err.c:636)
==25045== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==25045== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==25045== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==25045== by 0x270326: by_file_ctrl (by_file.c:111)
==25045== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==25045== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==25045== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==25045== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==25045== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==25045== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==25045== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==25045==
==25045== Invalid free() / delete / delete[] / realloc()
==25045== at 0x48369AB: free (vg_replace_malloc.c:540)
==25045== by 0x5331AB9: free_key_mem (dlerror.c:223)
==25045== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==25045== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==25045== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==25045== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==25045== by 0x4D60EB9: exit (exit.c:139)
==25045== by 0x4D4B0A1: (below main) (libc-start.c:342)
==25045== Address 0x5af4fd8 is 8 bytes inside a block of size 32 alloc'd
==25045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==25045== by 0x25C282: OPENSSL_malloc (mem.c:106)
==25045== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==25045== by 0x24B104: err_get_state (err.c:210)
==25045== by 0x24BCDA: ERR_put_error (err.c:636)
==25045== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==25045== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==25045== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==25045== by 0x270326: by_file_ctrl (by_file.c:111)
==25045== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==25045== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==25045== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==25045== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==25045== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==25045== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==25045== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==25045==
==25045== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==25045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==25045== by 0x25C282: OPENSSL_malloc (mem.c:106)
==25045== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==25045== by 0x24B104: err_get_state (err.c:210)
==25045== by 0x24BCDA: ERR_put_error (err.c:636)
==25045== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==25045== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==25045== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==25045== by 0x270326: by_file_ctrl (by_file.c:111)
==25045== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==25045== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==25045== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==25045== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==25045== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==25045== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==25045== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==25045==
=== End of file valgrind1112
test 1113...[FTP wildcard download - changed fnmatch, 2x perform (DOS LIST response)]
s-p----emv- OK (789 out of 1250, remaining: 11:22, took 3.9s, duration: 19:27)
test 1114...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (DOS)]
s------emv- OK (790 out of 1250, remaining: 11:20, took 1.4s, duration: 19:29)
test 1115...[HTTP GET with unexpected 1xx response]
--pd---emv- OK (791 out of 1250, remaining: 11:19, took 1.2s, duration: 19:30)
test 1116...[HTTP GET with chunked trailer without Trailer:]
--pd--oemv- OK (792 out of 1250, remaining: 11:17, took 1.2s, duration: 19:31)
test 1117...[HTTP with invalid range then another URL]
s-p----emv- OK (793 out of 1250, remaining: 11:29, took 24.1s, duration: 19:55)
test 1118...[URL without slash and @-letter in query]
--pd---emv- OK (794 out of 1250, remaining: 11:27, took 1.2s, duration: 19:56)
test 1119...[Verify that symbols-in-versions and headers are in sync]
-------e-- OK (795 out of 1250, remaining: 11:25, took 0.0s, duration: 19:56)
test 1120...[FTP with 421 timeout response]
--p----emv- OK (796 out of 1250, remaining: 11:23, took 1.2s, duration: 19:58)
test 1121...[HTTP multiple provided Host: headers]
--pd---emv- OK (797 out of 1250, remaining: 11:21, took 1.2s, duration: 19:59)
test 1122...[HTTP GET gzip transfer-encoded content]
--pd---emv- OK (798 out of 1250, remaining: 11:19, took 1.2s, duration: 20:00)
test 1123...[HTTP GET deflate transfer-encoded content]
--pd---emv- OK (799 out of 1250, remaining: 11:18, took 1.2s, duration: 20:01)
test 1124...[HTTP GET gzip+chunked transfer-encoded content]
--pd---emv- OK (800 out of 1250, remaining: 11:16, took 1.2s, duration: 20:02)
test 1125...[HTTP GET transfer-encoding with custom Connection:]
--pd---emv- OK (801 out of 1250, remaining: 11:14, took 1.2s, duration: 20:04)
test 1126...[HTTP 200 If-Modified-Since with newer document]
--pd---emv- OK (802 out of 1250, remaining: 11:13, took 1.2s, duration: 20:05)
test 1127...[HTTP 200 If-Modified-Since with older document]
--pd---emv- OK (803 out of 1250, remaining: 11:11, took 1.2s, duration: 20:06)
test 1128...[HTTP 200 If-Modified-Since with old+new documents]
s-p----emv- OK (804 out of 1250, remaining: 11:09, took 1.2s, duration: 20:07)
test 1129...[HTTP POST expect 100-continue with a 404]
s-p----emv- OK (805 out of 1250, remaining: 11:08, took 1.2s, duration: 20:08)
test 1130...[HTTP POST forced expect 100-continue with a 404]
s-p----emv- OK (806 out of 1250, remaining: 11:06, took 1.2s, duration: 20:10)
test 1131...[HTTP PUT expect 100-continue with a 400]
s-p----emv- OK (807 out of 1250, remaining: 11:04, took 1.2s, duration: 20:11)
test 1132...[Verify memory #include files in libcurl's C source files]
-------e-- OK (808 out of 1250, remaining: 11:02, took 0.0s, duration: 20:11)
test 1133...[HTTP RFC1867-type formposting with filename/data contains ',', ';', '"']
--pd---emv- OK (809 out of 1250, remaining: 11:01, took 2.3s, duration: 20:13)
test 1134...[HTTP connection re-use with different credentials]
--pd---emv- OK (810 out of 1250, remaining: 10:59, took 1.2s, duration: 20:14)
test 1135...[Verify CURL_EXTERN order]
s------e-- OK (811 out of 1250, remaining: 10:57, took 0.0s, duration: 20:14)
test 1136...[Check cookies against PSL]
---d--oemv- OK (812 out of 1250, remaining: 10:56, took 1.3s, duration: 20:16)
test 1137...[FTP RETR --ignore-content-length]
--pd---emv- OK (813 out of 1250, remaining: 10:54, took 1.2s, duration: 20:17)
test 1138...[HTTP redirect with UTF-8 characters]
--pd---emv- OK (814 out of 1250, remaining: 10:52, took 1.3s, duration: 20:18)
test 1139...[Verify that all libcurl options have man pages]
-------e-- OK (815 out of 1250, remaining: 10:50, took 0.1s, duration: 20:18)
test 1140...[Verify the nroff of man pages]
-------e-- OK (816 out of 1250, remaining: 10:48, took 0.0s, duration: 20:18)
test 1141...[HTTP redirect to http:/// (three slashes!)]
--pd---emv- OK (817 out of 1250, remaining: 10:46, took 1.2s, duration: 20:19)
test 1142...[HTTP redirect to http://// (four slashes!)]
--pd---emv- OK (818 out of 1250, remaining: 10:44, took 1.2s, duration: 20:21)
test 1143...[HTTP URL with http:/ (one slash!)]
--pd---emv- OK (819 out of 1250, remaining: 10:43, took 1.2s, duration: 20:22)
test 1144...[HTTP HEAD, receive no headers only body]
--pd---emv- OK (820 out of 1250, remaining: 10:41, took 1.2s, duration: 20:23)
test 1145...[file:// bad host]
-------emv- OK (821 out of 1250, remaining: 10:39, took 1.0s, duration: 20:24)
test 1146...[--proto-default file]
---d---emv- OK (822 out of 1250, remaining: 10:38, took 1.1s, duration: 20:25)
test 1147...[Get -H headers from a file]
--pd---emv- OK (823 out of 1250, remaining: 10:36, took 1.2s, duration: 20:26)
test 1148...[progress-bar]
--pd--oemv- OK (824 out of 1250, remaining: 10:34, took 1.2s, duration: 20:27)
test 1149...[FTP dir list multicwd then again nocwd]
--pd---emv- OK (825 out of 1250, remaining: 10:33, took 1.3s, duration: 20:29)
test 1150...[HTTP proxy with URLs using different ports]
--pd---emv- OK (826 out of 1250, remaining: 10:31, took 1.2s, duration: 20:30)
test 1151...[HTTP with too long cookies]
--pd--oemv- OK (827 out of 1250, remaining: 10:30, took 1.3s, duration: 20:31)
test 1152...[FTP with uneven quote in PWD response]
--pd---emv- OK (828 out of 1250, remaining: 10:28, took 1.2s, duration: 20:32)
test 1153...[FTP with quoted double quotes]
--pd---emv- OK (829 out of 1250, remaining: 10:26, took 1.2s, duration: 20:34)
test 1154...[HTTP GET]
--p----emv- OK (830 out of 1250, remaining: 10:25, took 1.2s, duration: 20:35)
test 1155...[HTTP cookie with parameter word as name]
--pd--oemv- OK (831 out of 1250, remaining: 10:23, took 1.2s, duration: 20:36)
test 1156...[HTTP resume/range fail range-error content-range combinations]
-------emv- OK (832 out of 1250, remaining: 10:21, took 1.1s, duration: 20:37)
test 1157...[Get -H headers from empty file]
--pd---emv- OK (833 out of 1250, remaining: 10:20, took 1.2s, duration: 20:38)
test 1158...[HTTP RFC1867-type formposting with filename containing '"']
--pd---emv- OK (834 out of 1250, remaining: 10:18, took 1.2s, duration: 20:40)
test 1159...[HTTP Location: and 'redirect_url' with non-supported scheme]
s-p----emv- OK (835 out of 1250, remaining: 10:16, took 1.2s, duration: 20:41)
test 1160...[HTTP with long funny format cookie]
--pd--oemv- OK (836 out of 1250, remaining: 10:15, took 1.2s, duration: 20:42)
test 1161...[HTTP cookie with path set twice]
--pd--oemv- OK (837 out of 1250, remaining: 10:13, took 1.2s, duration: 20:43)
test 1162...[FTP wildcard with crazy pattern]
--p----emv- OK (838 out of 1250, remaining: 10:11, took 1.1s, duration: 20:44)
test 1163...[FTP wildcard with pattern ending with an open-bracket]
--p----emv- OK (839 out of 1250, remaining: 10:10, took 1.1s, duration: 20:45)
test 1164...[HTTP/0.9 GET and all zeroes]
s-p----emv- OK (840 out of 1250, remaining: 10:08, took 1.2s, duration: 20:47)
test 1165...[Verify configure.ac and source code CURL_DISABLE_-sync]
-------e-- OK (841 out of 1250, remaining: 10:06, took 0.0s, duration: 20:47)
test 1170...[HTTP GET transfer-encoding with removed Connection:]
--pd---emv- OK (842 out of 1250, remaining: 10:04, took 1.2s, duration: 20:48)
test 1171...[HTTP GET transfer-encoding with blanked Connection:]
--pd---emv- OK (843 out of 1250, remaining: 10:03, took 1.2s, duration: 20:49)
test 1172...[HTTP/0.9 GET response denied]
--p----emv- OK (844 out of 1250, remaining: 10:01, took 1.2s, duration: 20:50)
test 1173...[Basic man page syntax check]
-------e-- OK (845 out of 1250, remaining: 09:59, took 0.0s, duration: 20:50)
test 1174...[HTTP/0.9 GET response denied by default]
--p----emv- OK (846 out of 1250, remaining: 09:57, took 1.2s, duration: 20:51)
test 1200...[Gopher index]
--pd---emv- OK (847 out of 1250, remaining: 09:57, took 3.2s, duration: 20:55)
test 1201...[Gopher selector]
--pd---emv- OK (848 out of 1250, remaining: 09:55, took 1.2s, duration: 20:56)
test 1202...[Gopher query]
--pd---emv- OK (849 out of 1250, remaining: 09:53, took 1.2s, duration: 20:57)
test 1203...[Gopher IPv6 index]
--pd---emv- OK (850 out of 1250, remaining: 09:53, took 3.2s, duration: 21:00)
test 1204...[HTTP with WWW-Authenticate and multiple auths in a single line]
--pd---emv- OK (851 out of 1250, remaining: 09:51, took 1.2s, duration: 21:01)
test 1205...[HTTP GET with 18K HTTP header]
--pd---emv- OK (852 out of 1250, remaining: 09:50, took 1.3s, duration: 21:03)
test 1206...[FTP PORT and 425 on download]
--p----emv- OK (853 out of 1250, remaining: 09:48, took 1.2s, duration: 21:04)
test 1207...[FTP PORT and 421 on download]
--p----emv- OK (854 out of 1250, remaining: 09:46, took 1.2s, duration: 21:05)
test 1208...[FTP PORT download, no data conn and no transient negative reply]
--p----emv- OK (855 out of 1250, remaining: 09:46, took 3.1s, duration: 21:08)
test 1210...[HTTP GET with -J without Content-Disposition]
--p---oemv- OK (856 out of 1250, remaining: 09:44, took 1.2s, duration: 21:09)
test 1212...[noproxy setting together with socks proxy]
--pd---emv- OK (857 out of 1250, remaining: 09:42, took 1.2s, duration: 21:11)
test 1213...[HTTP with proxy and host-only URL]
--pd---emv- OK (858 out of 1250, remaining: 09:41, took 1.2s, duration: 21:12)
test 1214...[HTTP with proxy and URL with ? and no slash separator]
--pd---emv- OK (859 out of 1250, remaining: 09:39, took 1.2s, duration: 21:13)
test 1215...[HTTP with server NTLM authorization using a proxy]
--pd---emv- OK (860 out of 1250, remaining: 09:38, took 1.3s, duration: 21:14)
test 1216...[HTTP cookie domains tailmatching the host name]
--pd---emv- OK (861 out of 1250, remaining: 09:36, took 1.2s, duration: 21:15)
test 1217...[FTP with rubbish before name in 257-response]
--pd---emv- OK (862 out of 1250, remaining: 09:34, took 1.3s, duration: 21:17)
test 1218...[HTTP cookies and domains with same prefix]
--pd---emv- OK (863 out of 1250, remaining: 09:33, took 1.3s, duration: 21:18)
test 1219...[FTP with no user+password required (230 response)]
--pd---emv- OK (864 out of 1250, remaining: 09:31, took 1.2s, duration: 21:19)
test 1220...[file:// URLs with query string]
s------emv- OK (865 out of 1250, remaining: 09:30, took 1.1s, duration: 21:20)
test 1221...[10 chars object name generation testing]
------oe-- OK (866 out of 1250, remaining: 09:28, took 0.4s, duration: 21:21)
test 1222...[8 chars object name generation testing]
------oe-- OK (867 out of 1250, remaining: 09:26, took 0.4s, duration: 21:21)
test 1223...[HTTP GET -w remote_ip and -w remote_port]
s-p----emv- OK (868 out of 1250, remaining: 09:24, took 1.2s, duration: 21:22)
test 1224...[FTP fetch a file from the root directory]
--pd---emv- OK (869 out of 1250, remaining: 09:22, took 1.2s, duration: 21:24)
test 1225...[FTP fetch two files using absolute paths]
--pd---emv- OK (870 out of 1250, remaining: 09:21, took 1.3s, duration: 21:25)
test 1226...[FTP fetch a file from the root directory with singlecwd]
--pd---emv- OK (871 out of 1250, remaining: 09:19, took 1.2s, duration: 21:26)
test 1227...[FTP fetch a file from the root directory with nocwd]
--pd---emv- OK (872 out of 1250, remaining: 09:18, took 1.2s, duration: 21:27)
test 1228...[HTTP cookie path match]
--pd---emv- OK (873 out of 1250, remaining: 09:16, took 1.2s, duration: 21:29)
test 1229...[HTTP with Digest authorization with user name needing escape]
--pd---emv- OK (874 out of 1250, remaining: 09:15, took 1.2s, duration: 21:30)
test 1230...[HTTP CONNECT to IPv6 numerical address]
--pd---emv- OK (875 out of 1250, remaining: 09:13, took 1.2s, duration: 21:31)
test 1231...[HTTP URL with dotdot removal from path]
--pd---emv- OK (876 out of 1250, remaining: 09:11, took 1.2s, duration: 21:32)
test 1232...[HTTP URL with dotdot removal from path using an HTTP proxy]
--pd---emv- OK (877 out of 1250, remaining: 09:10, took 1.2s, duration: 21:33)
test 1233...[FTP failing to connect to EPSV port, switching to PASV]
--pd---emv- OK (878 out of 1250, remaining: 09:08, took 1.2s, duration: 21:35)
test 1234...[abusing {}-globbing]
-------emv- OK (879 out of 1250, remaining: 09:07, took 0.9s, duration: 21:36)
test 1235...[multiple requests using {}{} in the URL]
s-p----emv- OK (880 out of 1250, remaining: 09:05, took 1.2s, duration: 21:37)
test 1236...[[] globbing overflowing the range counter]
-------emv- OK (881 out of 1250, remaining: 09:03, took 0.9s, duration: 21:38)
test 1237...[URL with 1000+ letter user name + password]
--pd---emv- OK (882 out of 1250, remaining: 09:02, took 1.2s, duration: 21:39)
test 1238...[slow TFTP retrieve cancel due to -Y and -y]
--p----emv- OK (883 out of 1250, remaining: 09:02, took 5.1s, duration: 21:44)
test 1239...[HTTP with -z + -w response_code and simulated 304]
s-p----emv- OK (884 out of 1250, remaining: 09:00, took 1.2s, duration: 21:45)
test 1240...[glob [0-1] with stuff after range (7.33.0 regression)]
--pd---emv- OK (885 out of 1250, remaining: 08:59, took 1.2s, duration: 21:46)
test 1241...[HTTP _without_ dotdot removal]
--pd---emv- OK (886 out of 1250, remaining: 08:57, took 1.2s, duration: 21:48)
test 1242...[TFTP retrieve without TFTP options requests]
--pd---emv- OK (887 out of 1250, remaining: 08:55, took 1.1s, duration: 21:49)
test 1243...[TFTP send without TFTP options requests]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (888 out of 1250, remaining: 08:55, took 3.2s, duration: 21:52)
test 1244...[HTTP GET same URL - different proxy ports]
--pd---emv- OK (889 out of 1250, remaining: 08:53, took 1.2s, duration: 21:53)
test 1245...[--proto deny must override --proto-redir allow]
--pd---emv- OK (890 out of 1250, remaining: 08:51, took 1.2s, duration: 21:54)
test 1246...[URL with '#' at end of host name instead of '/']
--pd---emv- OK (891 out of 1250, remaining: 08:50, took 1.2s, duration: 21:56)
test 1247...[--fail-early]
-------emv- OK (892 out of 1250, remaining: 08:48, took 1.1s, duration: 21:57)
test 1248...[Access a non-proxied host with using the combination of --proxy option and --noproxy option]
--pd---emv- OK (893 out of 1250, remaining: 08:47, took 1.2s, duration: 21:58)
test 1249...[Access a non-proxied host with using the combination of --proxy option and NO_PROXY env var]
--pd---emv- OK (894 out of 1250, remaining: 08:45, took 1.2s, duration: 21:59)
test 1250...[Access a non-proxied host with using the combination of http_proxy env var and --noproxy option]
--pd---emv- OK (895 out of 1250, remaining: 08:43, took 1.2s, duration: 22:00)
test 1251...[Access a non-proxied host with using the combination of http_proxy env var and NO_PROXY env var]
--pd---emv- OK (896 out of 1250, remaining: 08:42, took 1.2s, duration: 22:01)
test 1252...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL directly]
--pd---emv- OK (897 out of 1250, remaining: 08:40, took 1.2s, duration: 22:03)
test 1253...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (898 out of 1250, remaining: 08:39, took 1.2s, duration: 22:04)
test 1254...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (899 out of 1250, remaining: 08:37, took 1.2s, duration: 22:05)
test 1255...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL directly]
--pd---emv- OK (900 out of 1250, remaining: 08:35, took 1.2s, duration: 22:06)
test 1256...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (901 out of 1250, remaining: 08:34, took 1.2s, duration: 22:07)
test 1257...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (902 out of 1250, remaining: 08:32, took 1.2s, duration: 22:08)
test 1258...[HTTP, use cookies with localhost]
--pd---emv- OK (903 out of 1250, remaining: 08:31, took 1.2s, duration: 22:10)
test 1259...[HTTP URL with semicolon in password]
--pd---emv- OK (904 out of 1250, remaining: 08:29, took 1.2s, duration: 22:11)
test 1260...[HTTP URL with rubbish after port number]
-------emv- OK (905 out of 1250, remaining: 08:27, took 1.1s, duration: 22:12)
test 1261...['redirect_url' with --location and --max-redir]
s-p----emv- OK (906 out of 1250, remaining: 08:26, took 1.2s, duration: 22:13)
test 1262...[FTP request and denied to download an older file with -z]
--p----emv- OK (907 out of 1250, remaining: 08:24, took 1.2s, duration: 22:14)
test 1263...[HTTP URL with rubbish after IPv6 bracket]
-------emv- OK (908 out of 1250, remaining: 08:23, took 1.1s, duration: 22:15)
test 1264...[HTTP URL with space in host name]
-------emv- OK (909 out of 1250, remaining: 08:21, took 1.0s, duration: 22:16)
test 1265...[NO_PROXY with IPv6 numerical address]
--pd---emv- OK (910 out of 1250, remaining: 08:19, took 1.2s, duration: 22:18)
test 1266...[HTTP GET with a single-byte HTTP/0.9 response]
--pd---emv- OK (911 out of 1250, remaining: 08:18, took 1.2s, duration: 22:19)
test 1267...[HTTP GET with a invalid HTTP/1 response line start]
--pd---emv- OK (912 out of 1250, remaining: 08:16, took 1.2s, duration: 22:20)
test 1268...[file name argument looks like a flag]
------oemv- OK (913 out of 1250, remaining: 08:15, took 1.1s, duration: 22:21)
test 1269...[too large --retry-delay value]
-------emv- OK (914 out of 1250, remaining: 08:13, took 0.9s, duration: 22:22)
test 1280...[simple [a-d] globbing]
--pd---emv- OK (915 out of 1250, remaining: 08:11, took 1.2s, duration: 22:23)
test 1281...[reject non-numerical port number in URL]
-------emv- OK (916 out of 1250, remaining: 08:10, took 1.1s, duration: 22:24)
test 1282...[FTP with 633 response before gss initialized]
--p----emv- OK (917 out of 1250, remaining: 08:08, took 1.2s, duration: 22:25)
test 1283...[globbing range with same start and stop]
--p---oemv- OK (918 out of 1250, remaining: 08:07, took 1.2s, duration: 22:27)
test 1284...[HTTP POST --digest with user-specified Content-Length header]
--pd---emv- OK (919 out of 1250, remaining: 08:05, took 1.2s, duration: 22:28)
test 1285...[HTTP PUT --digest with user-specified Content-Length header]
--pd---emv- OK (920 out of 1250, remaining: 08:04, took 2.2s, duration: 22:30)
test 1286...[HTTP GET --digest increasing nonce-count]
--pd---emv- OK (921 out of 1250, remaining: 08:02, took 1.2s, duration: 22:31)
test 1287...[HTTP over proxy-tunnel ignore TE and CL in CONNECT 2xx responses]
--pd-Poemv- OK (922 out of 1250, remaining: 08:01, took 1.7s, duration: 22:33)
test 1288...[Suppress proxy CONNECT response headers]
s-p--P-emv- OK (923 out of 1250, remaining: 08:00, took 1.7s, duration: 22:35)
test 1289...[globbing with overflow and bad syntxx]
-------emv- OK (924 out of 1250, remaining: 07:58, took 0.9s, duration: 22:36)
test 1290...[Verify URL globbing ignores []]
--pd---emv- OK (925 out of 1250, remaining: 07:56, took 1.2s, duration: 22:37)
test 1291...[Attempt to upload 1000 files but fail immediately]
-------emv- OK (926 out of 1250, remaining: 07:59, took 13.9s, duration: 22:51)
test 1292...[Replaced internal headers with a blank one]
--pd---emv- OK (927 out of 1250, remaining: 07:58, took 1.2s, duration: 22:52)
test 1298...[HTTP GET special path with --request-target]
--pd---emv- OK (928 out of 1250, remaining: 07:56, took 1.2s, duration: 22:53)
test 1299...[Send "OPTIONS *" with --request-target]
--pd---emv- OK (929 out of 1250, remaining: 07:54, took 1.2s, duration: 22:54)
test 1300...[llist unit tests]
-------emv- OK (930 out of 1250, remaining: 07:53, took 0.8s, duration: 22:55)
test 1301...[curl_strcasecompare unit tests]
-------emv- OK (931 out of 1250, remaining: 07:51, took 0.8s, duration: 22:56)
test 1302...[base64 encode/decode unit tests]
-------emv- OK (932 out of 1250, remaining: 07:49, took 0.9s, duration: 22:57)
test 1303...[Curl_timeleft unit tests]
-------emv- OK (933 out of 1250, remaining: 07:48, took 0.9s, duration: 22:58)
test 1304...[netrc parsing unit tests]
-------emv- OK (934 out of 1250, remaining: 07:46, took 0.8s, duration: 22:58)
test 1305...[internal hash create/destroy testing]
-------emv- OK (935 out of 1250, remaining: 07:44, took 0.9s, duration: 22:59)
test 1306...[internal hash create/add/destroy testing]
-------emv- OK (936 out of 1250, remaining: 07:43, took 0.9s, duration: 23:00)
test 1308...[formpost unit tests]
-------emv- OK (937 out of 1250, remaining: 07:41, took 0.9s, duration: 23:01)
test 1309...[splay unit tests]
s------emv- OK (938 out of 1250, remaining: 07:39, took 0.9s, duration: 23:02)
test 1310...[HTTP with NTLM delegation to winbind helper]
--pd---emv- OK (939 out of 1250, remaining: 07:38, took 1.2s, duration: 23:03)
test 1311...[HTTP GET with -J and Content-Disposition]
--p---oemv- OK (940 out of 1250, remaining: 07:36, took 1.2s, duration: 23:04)
test 1312...[HTTP GET with -J, Content-Disposition and ; in filename]
--p---oemv- OK (941 out of 1250, remaining: 07:35, took 1.2s, duration: 23:06)
test 1313...[HTTP GET with -J, Content-Disposition, uneven quotes]
--p---oemv- OK (942 out of 1250, remaining: 07:33, took 1.2s, duration: 23:07)
test 1314...[HTTP Location: following a // prefixed url]
--pd---emv- OK (943 out of 1250, remaining: 07:32, took 1.2s, duration: 23:08)
test 1315...[HTTP RFC1867-type formposting - -F with three files, one with explicit type]
--pd---emv- OK (944 out of 1250, remaining: 07:30, took 1.2s, duration: 23:09)
test 1317...[HTTP with --resolve]
--pd---emv- OK (945 out of 1250, remaining: 07:28, took 1.2s, duration: 23:10)
test 1318...[HTTP with --resolve and same host name using different cases]
--pd---emv- OK (946 out of 1250, remaining: 07:27, took 1.2s, duration: 23:12)
test 1319...[POP3 fetch tunneled through HTTP proxy]
--pd-P-emv- OK (947 out of 1250, remaining: 07:25, took 1.7s, duration: 23:13)
test 1320...[SMTP send tunneled through HTTP proxy]
--p-uP-emv- OK (948 out of 1250, remaining: 07:24, took 1.7s, duration: 23:15)
test 1321...[IMAP FETCH tunneled through HTTP proxy]
--pd-P-emv- OK (949 out of 1250, remaining: 07:23, took 1.8s, duration: 23:17)
test 1322...[HTTP with --resolve and hostname with trailing dot]
--pd---emv- OK (950 out of 1250, remaining: 07:21, took 1.2s, duration: 23:18)
test 1323...[curlx_tvdiff]
-------emv- OK (951 out of 1250, remaining: 07:19, took 0.8s, duration: 23:19)
test 1324...[HTTP with --resolve and [ipv6address]]
--pd---emv- OK (952 out of 1250, remaining: 07:18, took 1.2s, duration: 23:20)
test 1325...[HTTP 308-redirect with POST]
--pd---emv- OK (953 out of 1250, remaining: 07:16, took 1.3s, duration: 23:21)
test 1326...[TELNET to HTTP server]
--pd---emv- OK (954 out of 1250, remaining: 07:15, took 1.3s, duration: 23:22)
test 1327...[TELNET check of upload with stdout redirected]
--p----emv- OK (955 out of 1250, remaining: 07:13, took 1.3s, duration: 23:24)
test 1328...[HTTP GET a globbed range with -f]
--pd---emv- OK (956 out of 1250, remaining: 07:12, took 1.2s, duration: 23:25)
test 1329...[/-prefixed proxy name]
-------emv- OK (957 out of 1250, remaining: 07:10, took 1.1s, duration: 23:26)
test 1330...[unit tests memory tracking operational]
------oemv- OK (958 out of 1250, remaining: 07:08, took 0.9s, duration: 23:27)
test 1331...[HTTP --proxy-anyauth and 407 with cookies]
--pd---emv- OK (959 out of 1250, remaining: 07:07, took 1.3s, duration: 23:28)
test 1332...[HTTP POST with 303 redirect and --post303]
--pd---emv- OK (960 out of 1250, remaining: 07:05, took 1.3s, duration: 23:29)
test 1333...[HTTP POST zero length, chunked-encoded]
--pd---emv- OK (961 out of 1250, remaining: 07:04, took 1.2s, duration: 23:31)
test 1334...[HTTP GET with -O without Content-Disposition, -D file]
--p---oemv- OK (962 out of 1250, remaining: 07:02, took 1.2s, duration: 23:32)
test 1335...[HTTP GET with -O without Content-Disposition, -D stdout]
--p---oemv- OK (963 out of 1250, remaining: 07:01, took 1.2s, duration: 23:33)
test 1336...[HTTP GET with -O and Content-Disposition, -D file]
--p---oemv- OK (964 out of 1250, remaining: 06:59, took 1.2s, duration: 23:34)
test 1337...[HTTP GET with -O and Content-Disposition, -D stdout]
--p---oemv- OK (965 out of 1250, remaining: 06:58, took 1.2s, duration: 23:35)
test 1338...[HTTP GET with -O -J without Content-Disposition, -D file]
--p---oemv- OK (966 out of 1250, remaining: 06:56, took 1.2s, duration: 23:36)
test 1339...[HTTP GET with -O -J without Content-Disposition, -D stdout]
--p---oemv- OK (967 out of 1250, remaining: 06:55, took 1.2s, duration: 23:38)
test 1340...[HTTP GET with -O -J and Content-Disposition, -D file]
--p---oemv- OK (968 out of 1250, remaining: 06:53, took 1.2s, duration: 23:39)
test 1341...[HTTP GET with -O -J and Content-Disposition, -D stdout]
--p---oemv- OK (969 out of 1250, remaining: 06:51, took 1.2s, duration: 23:40)
test 1342...[HTTP GET with -O -i without Content-Disposition, -D file]
--p---oemv- OK (970 out of 1250, remaining: 06:50, took 1.2s, duration: 23:41)
test 1343...[HTTP GET with -O -i without Content-Disposition, -D stdout]
--p---oemv- OK (971 out of 1250, remaining: 06:48, took 1.2s, duration: 23:42)
test 1344...[HTTP GET with -O -i and Content-Disposition, -D file]
--p---oemv- OK (972 out of 1250, remaining: 06:47, took 1.2s, duration: 23:44)
test 1345...[HTTP GET with -O -i and Content-Disposition, -D stdout]
--p---oemv- OK (973 out of 1250, remaining: 06:45, took 1.2s, duration: 23:45)
test 1346...[HTTP GET with -O -i without Content-Disposition, without -D]
--p---oemv- OK (974 out of 1250, remaining: 06:44, took 1.2s, duration: 23:46)
test 1347...[HTTP GET with -O -i and Content-Disposition, without -D]
--p---oemv- OK (975 out of 1250, remaining: 06:42, took 1.2s, duration: 23:47)
test 1348...[FTP download, file without Content-Disposition inside, using -O]
--p---oemv- OK (976 out of 1250, remaining: 06:41, took 1.2s, duration: 23:48)
test 1349...[FTP download, file without C-D inside, using -O -D file]
--p---oemv- OK (977 out of 1250, remaining: 06:39, took 1.2s, duration: 23:50)
test 1350...[FTP download, file without C-D inside, using -O -D stdout]
--p---oemv- OK (978 out of 1250, remaining: 06:38, took 1.2s, duration: 23:51)
test 1351...[FTP download, file without C-D inside, using -O -J -D file]
--p---oemv- OK (979 out of 1250, remaining: 06:36, took 1.2s, duration: 23:52)
test 1352...[FTP download, file without C-D inside, using -O -J -D stdout]
--p---oemv- OK (980 out of 1250, remaining: 06:35, took 1.2s, duration: 23:53)
test 1353...[FTP download, file without C-D inside, using -O -i -D file]
--p---oemv- OK (981 out of 1250, remaining: 06:33, took 1.2s, duration: 23:54)
test 1354...[FTP download, file without C-D inside, using -O -i -D stdout]
--p---oemv- OK (982 out of 1250, remaining: 06:31, took 1.2s, duration: 23:56)
test 1355...[FTP download, file without C-D inside, using -O -i, without -D]
--p---oemv- OK (983 out of 1250, remaining: 06:30, took 1.3s, duration: 23:57)
test 1356...[FTP download, file with Content-Disposition inside, using -O]
--p---oemv- OK (984 out of 1250, remaining: 06:28, took 1.2s, duration: 23:58)
test 1357...[FTP download, file with C-D inside, using -O -D file]
--p---oemv- OK (985 out of 1250, remaining: 06:27, took 1.2s, duration: 23:59)
test 1358...[FTP download, file with C-D inside, using -O -D stdout]
--p---oemv- OK (986 out of 1250, remaining: 06:25, took 1.2s, duration: 24:01)
test 1359...[FTP download, file with C-D inside, using -O -J -D file]
--p---oemv- OK (987 out of 1250, remaining: 06:24, took 1.2s, duration: 24:02)
test 1360...[FTP download, file with C-D inside, using -O -J -D stdout]
--p---oemv- OK (988 out of 1250, remaining: 06:22, took 1.2s, duration: 24:03)
test 1361...[FTP download, file with C-D inside, using -O -i -D file]
--p---oemv- OK (989 out of 1250, remaining: 06:21, took 1.2s, duration: 24:04)
test 1362...[FTP download, file with C-D inside, using -O -i -D stdout]
--p---oemv- OK (990 out of 1250, remaining: 06:19, took 1.2s, duration: 24:06)
test 1363...[FTP download, file with C-D inside, using -O -i, without -D]
--p---oemv- OK (991 out of 1250, remaining: 06:18, took 1.2s, duration: 24:07)
test 1364...[HTTP GET -o fname without Content-Disposition, -D file]
--p---oemv- OK (992 out of 1250, remaining: 06:16, took 1.2s, duration: 24:08)
test 1365...[HTTP GET -o fname without Content-Disposition, -D stdout]
--p---oemv- OK (993 out of 1250, remaining: 06:15, took 1.2s, duration: 24:09)
test 1366...[HTTP GET -o fname and Content-Disposition, -D file]
--p---oemv- OK (994 out of 1250, remaining: 06:13, took 1.2s, duration: 24:10)
test 1367...[HTTP GET -o fname and Content-Disposition, -D stdout]
--p---oemv- OK (995 out of 1250, remaining: 06:12, took 1.2s, duration: 24:12)
test 1368...[HTTP GET -o fname -J without Content-Disposition, -D file]
--p---oemv- OK (996 out of 1250, remaining: 06:10, took 1.2s, duration: 24:13)
test 1369...[HTTP GET -o fname -J without Content-Disposition, -D stdout]
--p---oemv- OK (997 out of 1250, remaining: 06:09, took 1.2s, duration: 24:14)
test 1370...[HTTP GET -o fname -J and Content-Disposition, -D file]
--p---oemv- OK (998 out of 1250, remaining: 06:07, took 1.2s, duration: 24:15)
test 1371...[HTTP GET -o fname -J and Content-Disposition, -D stdout]
--p---oemv- OK (999 out of 1250, remaining: 06:06, took 1.2s, duration: 24:16)
test 1372...[HTTP GET -o fname -i without Content-Disposition, -D file]
--p---oemv- OK (1000 out of 1250, remaining: 06:04, took 1.2s, duration: 24:17)
test 1373...[HTTP GET -o fname -i without Content-Disposition, -D stdout]
--p---oemv- OK (1001 out of 1250, remaining: 06:02, took 1.2s, duration: 24:19)
test 1374...[HTTP GET -o fname -i and Content-Disposition, -D file]
--p---oemv- OK (1002 out of 1250, remaining: 06:01, took 1.2s, duration: 24:20)
test 1375...[HTTP GET -o fname -i and Content-Disposition, -D stdout]
--p---oemv- OK (1003 out of 1250, remaining: 05:59, took 1.2s, duration: 24:21)
test 1376...[HTTP GET -o fname -i without Content-Disposition, without -D]
--p---oemv- OK (1004 out of 1250, remaining: 05:58, took 1.2s, duration: 24:22)
test 1377...[HTTP GET -o fname -i and Content-Disposition, without -D]
--p---oemv- OK (1005 out of 1250, remaining: 05:56, took 1.2s, duration: 24:23)
test 1378...[FTP DL, file without Content-Disposition inside, using -o fname]
--p---oemv- OK (1006 out of 1250, remaining: 05:55, took 1.2s, duration: 24:25)
test 1379...[FTP DL, file without C-D inside, using -o fname -D file]
--p---oemv- OK (1007 out of 1250, remaining: 05:53, took 1.2s, duration: 24:26)
test 1380...[FTP DL, file without C-D inside, using -o fname -D stdout]
--p---oemv- OK (1008 out of 1250, remaining: 05:52, took 1.3s, duration: 24:27)
test 1381...[FTP DL, file without C-D inside, using -o fname -J -D file]
--p---oemv- OK (1009 out of 1250, remaining: 05:50, took 1.2s, duration: 24:28)
test 1382...[FTP DL, file without C-D inside, using -o fname -J -D stdout]
--p---oemv- OK (1010 out of 1250, remaining: 05:49, took 1.2s, duration: 24:29)
test 1383...[FTP DL, file without C-D inside, using -o fname -i -D file]
--p---oemv- OK (1011 out of 1250, remaining: 05:47, took 1.2s, duration: 24:31)
test 1384...[FTP DL, file without C-D inside, using -o fname -i -D stdout]
--p---oemv- OK (1012 out of 1250, remaining: 05:46, took 1.2s, duration: 24:32)
test 1385...[FTP DL, file without C-D inside, using -o fname -i, without -D]
--p---oemv- OK (1013 out of 1250, remaining: 05:44, took 1.2s, duration: 24:33)
test 1386...[FTP DL, file with Content-Disposition inside, using -o fname]
--p---oemv- OK (1014 out of 1250, remaining: 05:43, took 1.2s, duration: 24:34)
test 1387...[FTP DL, file with C-D inside, using -o fname -D file]
--p---oemv- OK (1015 out of 1250, remaining: 05:41, took 1.2s, duration: 24:36)
test 1388...[FTP DL, file with C-D inside, using -o fname -D stdout]
--p---oemv- OK (1016 out of 1250, remaining: 05:40, took 1.2s, duration: 24:37)
test 1389...[FTP DL, file with C-D inside, using -o fname -J -D file]
--p---oemv- OK (1017 out of 1250, remaining: 05:38, took 1.2s, duration: 24:38)
test 1390...[FTP DL, file with C-D inside, using -o fname -J -D stdout]
--p---oemv- OK (1018 out of 1250, remaining: 05:37, took 1.2s, duration: 24:39)
test 1391...[FTP DL, file with C-D inside, using -o fname -i -D file]
--p---oemv- OK (1019 out of 1250, remaining: 05:35, took 1.2s, duration: 24:41)
test 1392...[FTP DL, file with C-D inside, using -o fname -i -D stdout]
--p---oemv- OK (1020 out of 1250, remaining: 05:34, took 1.3s, duration: 24:42)
test 1393...[FTP DL, file with C-D inside, using -o fname -i, without -D]
--p---oemv- OK (1021 out of 1250, remaining: 05:32, took 1.2s, duration: 24:43)
test 1394...[unit test for parse_cert_parameter()]
-------emv- OK (1022 out of 1250, remaining: 05:31, took 0.8s, duration: 24:44)
test 1395...[Curl_dedotdotify]
-------emv- OK (1023 out of 1250, remaining: 05:29, took 0.8s, duration: 24:45)
test 1396...[curl_easy_escape and curl_easy_unescape]
-------emv- OK (1024 out of 1250, remaining: 05:27, took 0.9s, duration: 24:46)
test 1397...[Check wildcard certificate matching function Curl_cert_hostcheck]
-------emv- OK (1025 out of 1250, remaining: 05:26, took 0.8s, duration: 24:46)
test 1398...[curl_msnprintf unit tests]
-------emv- OK (1026 out of 1250, remaining: 05:24, took 0.8s, duration: 24:47)
test 1399...[Curl_pgrsTime unit tests]
-------emv- OK (1027 out of 1250, remaining: 05:23, took 0.8s, duration: 24:48)
test 1400...[--libcurl for simple HTTP GET]
--pd--oemv- OK (1028 out of 1250, remaining: 05:21, took 1.2s, duration: 24:49)
test 1401...[--libcurl for GET with various options]
--pd--oemv- OK (1029 out of 1250, remaining: 05:20, took 1.2s, duration: 24:50)
test 1402...[--libcurl for simple POST]
--pd--oemv- OK (1030 out of 1250, remaining: 05:18, took 1.2s, duration: 24:52)
test 1403...[--libcurl for GET with query]
--pd--oemv- OK (1031 out of 1250, remaining: 05:17, took 1.2s, duration: 24:53)
test 1404...[--libcurl for HTTP RFC1867-type formposting - -F with 3 files, one with explicit type & encoder]
--pd--oemv- OK (1032 out of 1250, remaining: 05:15, took 1.3s, duration: 24:54)
test 1405...[--libcurl for FTP with quote ops]
--pd--oemv- OK (1033 out of 1250, remaining: 05:14, took 1.3s, duration: 24:55)
test 1406...[--libcurl for SMTP]
--p-u-oemv- OK (1034 out of 1250, remaining: 05:12, took 1.3s, duration: 24:57)
test 1407...[--libcurl for POP3 LIST one message]
--p---oemv- OK (1035 out of 1250, remaining: 05:11, took 1.2s, duration: 24:58)
test 1408...[HTTP receive cookies over IPV6]
--p----emv- OK (1036 out of 1250, remaining: 05:09, took 1.2s, duration: 24:59)
test 1409...[Pass in string to -C]
-------emv- OK (1037 out of 1250, remaining: 05:08, took 0.9s, duration: 25:00)
test 1410...[Pass in negative number to --max-time]
-------emv- OK (1038 out of 1250, remaining: 05:06, took 0.9s, duration: 25:01)
test 1411...[HTTP with zero size file PUT]
--pd---emv- OK (1039 out of 1250, remaining: 05:05, took 1.2s, duration: 25:02)
test 1412...[HTTP GET with --anyauth with two URLs (picking Digest) ]
--pd---emv- OK (1040 out of 1250, remaining: 05:03, took 1.3s, duration: 25:03)
test 1413...[HTTP redirect with fragment in new URL]
--pd---emv- OK (1041 out of 1250, remaining: 05:02, took 1.3s, duration: 25:05)
test 1414...[FTP PORT without SIZE or EPRT support]
--pd---emv- OK (1042 out of 1250, remaining: 05:00, took 1.2s, duration: 25:06)
test 1415...[Delete expired cookies]
--pd--oemv- OK (1043 out of 1250, remaining: 04:59, took 1.2s, duration: 25:07)
test 1416...[HTTP GET with chunked Transfer-Encoding overflowed chunked size]
--p----emv- OK (1044 out of 1250, remaining: 04:57, took 1.2s, duration: 25:08)
test 1417...[HTTP GET with chunked encoding and chunked trailer without CRs]
--pd--oemv- OK (1045 out of 1250, remaining: 04:56, took 1.2s, duration: 25:09)
test 1418...[HTTP with --anyauth and connection re-use]
--pd---emv- OK (1046 out of 1250, remaining: 04:54, took 1.3s, duration: 25:11)
test 1419...[HTTP with --anyauth (but no auth!) and connection re-use]
--pd---emv- OK (1047 out of 1250, remaining: 04:53, took 1.2s, duration: 25:12)
test 1420...[--libcurl for IMAP FETCH message]
--pd--oemv- OK (1048 out of 1250, remaining: 04:51, took 1.3s, duration: 25:13)
test 1421...[Re-using HTTP proxy connection for two different host names]
s-p----emv- OK (1049 out of 1250, remaining: 04:50, took 1.2s, duration: 25:14)
test 1422...[HTTP GET with -O -J and Content-Disposition (empty file)]
--p---oemv- OK (1050 out of 1250, remaining: 04:48, took 1.2s, duration: 25:16)
test 1423...[HTTP GET -o fname without Content-Disposition (empty file)]
--p---oemv- OK (1051 out of 1250, remaining: 04:47, took 1.2s, duration: 25:17)
test 1424...[HTTP GET -o fname without Content-Disposition (unmet time condition)]
--p---oemv- OK (1052 out of 1250, remaining: 04:45, took 1.2s, duration: 25:18)
test 1425...[Refuse binary output to terminal]
s-p----emv- OK (1053 out of 1250, remaining: 04:44, took 1.2s, duration: 25:19)
test 1426...[Okay binary output to terminal]
s-p----emv- OK (1054 out of 1250, remaining: 04:42, took 1.2s, duration: 25:20)
test 1427...[too large -m timeout value]
-------emv- OK (1055 out of 1250, remaining: 04:41, took 0.9s, duration: 25:21)
test 1428...[HTTP over proxy-tunnel with --proxy-header and --header]
--pd-P-emv- OK (1056 out of 1250, remaining: 04:39, took 1.7s, duration: 25:23)
test 1429...[HTTP GET with 4-digit response code]
s-p----emv- OK (1057 out of 1250, remaining: 04:38, took 1.2s, duration: 25:24)
test 1430...[HTTP GET with negative response code]
--pd---emv- OK (1058 out of 1250, remaining: 04:36, took 1.2s, duration: 25:25)
test 1431...[HTTP GET with single-digit response code]
--pd---emv- OK (1059 out of 1250, remaining: 04:35, took 1.2s, duration: 25:26)
test 1432...[HTTP GET with 100-digit response code and survive]
--p----emv- OK (1060 out of 1250, remaining: 04:33, took 1.2s, duration: 25:28)
test 1433...[HTTP GET with 100-digit subversion number in response]
--p----emv- OK (1061 out of 1250, remaining: 04:32, took 1.1s, duration: 25:29)
test 1434...[HTTP GET resume at exactly the existing file size is fine]
--pd---emv- OK (1062 out of 1250, remaining: 04:30, took 1.2s, duration: 25:30)
test 1435...[simple HTTP GET over Unix socket]
--pd---emv- OK (1063 out of 1250, remaining: 04:29, took 3.2s, duration: 25:33)
test 1436...[HTTP requests with multiple connections over Unix socket]
s-p----emv- OK (1064 out of 1250, remaining: 04:28, took 1.2s, duration: 25:34)
test 1437...[HTTP with duplicated WWW-Authenticate parameters]
--pd---emv- OK (1065 out of 1250, remaining: 04:26, took 1.2s, duration: 25:35)
test 1438...[Check if %{scheme} returns HTTP]
s-p----emv- OK (1066 out of 1250, remaining: 04:25, took 1.2s, duration: 25:37)
test 1439...[Check if %{scheme} returns HTTP]
s-p----emv- OK (1067 out of 1250, remaining: 04:23, took 1.2s, duration: 25:38)
test 1440...[Check --write-out with trailing %{]
s------emv- OK (1068 out of 1250, remaining: 04:22, took 1.1s, duration: 25:39)
test 1441...[Check --write-out with trailing %]
s------emv- OK (1069 out of 1250, remaining: 04:20, took 1.1s, duration: 25:40)
test 1442...[Check --write-out with trailing \]
s------emv- OK (1070 out of 1250, remaining: 04:19, took 1.1s, duration: 25:41)
test 1443...[HTTP GET with -O and --remote-time]
--p---oemv- OK (1071 out of 1250, remaining: 04:17, took 1.2s, duration: 25:42)
test 1444...[FTP with --remote-time]
--pd---emv- OK (1072 out of 1250, remaining: 04:16, took 1.2s, duration: 25:43)
test 1445...[file:// with --remote-time]
-------emv- OK (1073 out of 1250, remaining: 04:14, took 1.1s, duration: 25:45)
test 1447...[Provide illegal proxy name ]
-------emv- OK (1075 out of 1250, remaining: 04:11, took 1.1s, duration: 25:46)
test 1448...[Redirect following to UTF-8 IDN host name]
s-p----emv- OK (1076 out of 1250, remaining: 04:10, took 1.2s, duration: 25:47)
test 1449...[FTP download range with integer overflow]
Killed
--p----emv- OK (1077 out of 1250, remaining: 04:08, took 1.2s, duration: 25:48)
test 1450...[Basic DICT lookup]
-------emv- OK (1078 out of 1250, remaining: 04:07, took 3.2s, duration: 25:51)
test 1451...[Basic SMB request]
-------emv- OK (1079 out of 1250, remaining: 04:06, took 3.2s, duration: 25:54)
test 1452...[Basic TELNET negotiation]
-------emv- OK (1080 out of 1250, remaining: 04:05, took 3.2s, duration: 25:58)
test 1453...[Too long tftp filename]
-------emv- OK (1081 out of 1250, remaining: 04:03, took 1.1s, duration: 25:59)
test 1454 SKIPPED: curl has ipv6 support
test 1455...[HTTP GET when PROXY Protocol enabled]
--p----emv- OK (1083 out of 1250, remaining: 04:00, took 1.2s, duration: 26:00)
test 1456...[HTTP-IPv6 GET with PROXY protocol]
--p----emv- OK (1084 out of 1250, remaining: 03:59, took 1.2s, duration: 26:01)
test 1457...[Check if %{stderr} and %{stdout} switch between stdout and stderr.]
srp----emv- OK (1085 out of 1250, remaining: 03:57, took 1.2s, duration: 26:02)
test 1458...[HTTP with wildcard --resolve]
--pd---emv- OK (1086 out of 1250, remaining: 03:56, took 1.2s, duration: 26:03)
test 1500...[curl_multi_wait]
---d---emv- OK (1087 out of 1250, remaining: 03:54, took 1.0s, duration: 26:04)
test 1501...[FTP with multi interface and slow LIST response ]
--p----emv- OK (1088 out of 1250, remaining: 03:53, took 5.1s, duration: 26:10)
test 1502...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence UA]
--pd---emv- OK (1089 out of 1250, remaining: 03:52, took 1.0s, duration: 26:11)
test 1503...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence PA]
--pd---emv- OK (1090 out of 1250, remaining: 03:50, took 1.0s, duration: 26:12)
test 1504...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence UB]
--pd---emv- OK (1091 out of 1250, remaining: 03:49, took 1.0s, duration: 26:13)
test 1505...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence PB]
--pd---emv- OK (1092 out of 1250, remaining: 03:47, took 1.0s, duration: 26:14)
test 1506...[HTTP GET connection cache limit (CURLMOPT_MAXCONNECTS)]
--p---oemv- OK (1093 out of 1250, remaining: 03:46, took 1.1s, duration: 26:15)
test 1507...[SMTP with multi interface and CURLE_ABORTED_BY_CALLBACK]
--p----emv- OK (1094 out of 1250, remaining: 03:44, took 1.0s, duration: 26:16)
test 1508...[Close a multi handle without using it]
------oemv- OK (1095 out of 1250, remaining: 03:43, took 0.9s, duration: 26:17)
test 1509...[simple multi http:// through proxytunnel with authentication info]
--pd-P-emv- OK (1096 out of 1250, remaining: 03:41, took 1.6s, duration: 26:18)
test 1511...[HTTP GET time conditions in repeated requests]
---d---emv- OK (1097 out of 1250, remaining: 03:40, took 1.1s, duration: 26:19)
test 1513...[return failure immediately from progress callback]
s------emv- OK (1098 out of 1250, remaining: 03:38, took 1.0s, duration: 26:20)
test 1514...[HTTP POST with read callback and unknown data size]
--p----emv- OK (1099 out of 1250, remaining: 03:37, took 2.1s, duration: 26:22)
test 1515...[caching of manual libcurl DNS entries after DNS cache timeout]
---d---emv- OK (1100 out of 1250, remaining: 03:36, took 3.1s, duration: 26:25)
test 1516...[caching of manual libcurl DNS entries after dead connection]
-------emv- OK (1101 out of 1250, remaining: 03:35, took 3.1s, duration: 26:29)
test 1517...[HTTP POST, server responds before completed send]
--pd---emv- OK (1102 out of 1250, remaining: 03:33, took 1.0s, duration: 26:30)
test 1518...[Extract Location: with broken URL]
s------emv- OK (1103 out of 1250, remaining: 03:32, took 1.0s, duration: 26:31)
test 1519...[Extract Location: with broken absolute URL]
s------emv- OK (1104 out of 1250, remaining: 03:30, took 1.0s, duration: 26:32)
test 1520...[SMTP with CRLF-dot-CRLF in data]
--p-u--emv- OK (1105 out of 1250, remaining: 03:29, took 1.0s, duration: 26:33)
test 1521...[Test all curl_easy_setopt and curl_easy_getinfo options]
-------emv- OK (1106 out of 1250, remaining: 03:27, took 1.1s, duration: 26:34)
test 1522...[CURLINFO_SIZE_UPLOAD with small SO_SNDBUF]
s------emv- OK (1107 out of 1250, remaining: 03:26, took 1.0s, duration: 26:35)
test 1523...[CURLINFO_LOW_SPEED_LIMIT]
-------emv- OK (1108 out of 1250, remaining: 03:25, took 11.1s, duration: 26:46)
test 1525...[CURLOPT_PROXYHEADER is ignored CURLHEADER_UNIFIED]
--pd-P-emv- OK (1109 out of 1250, remaining: 03:24, took 4.1s, duration: 26:50)
test 1526...[CURLOPT_PROXYHEADER: separate host/proxy headers]
--pd-P-emv- OK (1110 out of 1250, remaining: 03:23, took 2.1s, duration: 26:52)
test 1527...[Check same headers are generated with CURLOPT_HEADEROPT == CURLHEADER_UNIFIED]
--pd-P-emv- OK (1111 out of 1250, remaining: 03:22, took 2.1s, duration: 26:54)
test 1528...[Separately specified proxy/server headers sent in a proxy GET]
---d-P-emv- OK (1112 out of 1250, remaining: 03:20, took 1.0s, duration: 26:55)
test 1529...[HTTP request-injection in URL sent over proxy]
-------emv- OK (1113 out of 1250, remaining: 03:19, took 0.9s, duration: 26:56)
test 1530...[CURLOPT_OPENSOCKETFUNCTION returns bad socket]
-------emv- OK (1114 out of 1250, remaining: 03:17, took 1.0s, duration: 26:57)
test 1531...[CURLOPT_POSTFIELDS with binary data set after multi_add_handle]
--p----emv- OK (1115 out of 1250, remaining: 03:15, took 1.1s, duration: 26:58)
test 1532...[Test CURLINFO_RESPONSE_CODE]
--p----emv- OK (1116 out of 1250, remaining: 03:14, took 1.0s, duration: 26:59)
test 1533...[HTTP with CURLOPT_KEEP_SENDING_ON_ERROR and an early error response]
--p----emv- OK (1117 out of 1250, remaining: 03:12, took 1.1s, duration: 27:00)
test 1534...[CURLINFO_FILETIME init and reset]
--p----emv- OK (1118 out of 1250, remaining: 03:11, took 1.0s, duration: 27:01)
test 1535...[Test CURLINFO_RESPONSE_CODE CURLINFO_PROTOCOL]
--p----emv- OK (1119 out of 1250, remaining: 03:09, took 1.0s, duration: 27:02)
test 1536...[Test CURLINFO_RESPONSE_CODE CURLINFO_SCHEME]
--p----emv- OK (1120 out of 1250, remaining: 03:08, took 1.0s, duration: 27:03)
test 1537...[libcurl URL escape/unescape tests]
s------emv- OK (1121 out of 1250, remaining: 03:06, took 0.8s, duration: 27:04)
test 1538...[libcurl strerror API call tests]
s------emv- OK (1122 out of 1250, remaining: 03:05, took 0.8s, duration: 27:05)
test 1540...[chunked with trailers and pausing the receive]
--pd---emv- OK (1123 out of 1250, remaining: 03:03, took 1.0s, duration: 27:06)
test 1541...[connection sharing using 67 parallel threads for 7 seconds]
-------emv- OK (1124 out of 1250, remaining: 03:02, took 0.8s, duration: 27:07)
test 1550...[verify setting pipeling blacklisting options]
-------emv- OK (1125 out of 1250, remaining: 03:00, took 0.9s, duration: 27:08)
test 1551...[re-run redirected transfer without setting URL again]
--pd---emv- OK (1126 out of 1250, remaining: 02:59, took 1.1s, duration: 27:09)
test 1552...[IMAP multi transfer error without curl_multi_remove_handle]
-------emv- OK (1127 out of 1250, remaining: 02:57, took 1.1s, duration: 27:10)
test 1553...[IMAP cleanup before a connection was created]
-------emv- OK (1128 out of 1250, remaining: 02:56, took 1.0s, duration: 27:11)
test 1554...[HTTP with shared connection cache]
---d---emv- OK (1129 out of 1250, remaining: 02:54, took 1.1s, duration: 27:12)
test 1555...[verify api is protected against calls from callbacks]
s------emv- OK (1130 out of 1250, remaining: 02:53, took 1.0s, duration: 27:13)
test 1556...[send long HTTP headers to header callback]
s-p----emv- OK (1131 out of 1250, remaining: 02:51, took 1.0s, duration: 27:14)
test 1557...[Removing easy handle that's in the pending connections list doesn't leave behind a dangling entry]
-------emv- OK (1132 out of 1250, remaining: 02:50, took 1.0s, duration: 27:15)
test 1558...[CURLINFO_PROTOCOL for file:// transfer]
s------emv- OK (1133 out of 1250, remaining: 02:49, took 1.0s, duration: 27:16)
test 1559...[Set excessive URL lengths]
s------emv- OK (1134 out of 1250, remaining: 02:47, took 1.1s, duration: 27:17)
test 1560...[URL API]
s------emv- OK (1135 out of 1250, remaining: 02:46, took 1.1s, duration: 27:18)
test 1561...[Cookies set over HTTP can't override secure ones]
goto problem 33
valgrind ERROR ==27547== Invalid read of size 8
==27547== at 0x53315A5: check_free (dlerror.c:188)
==27547== by 0x5331AB1: free_key_mem (dlerror.c:221)
==27547== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==27547== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27547== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27547== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==27547== by 0x4D60EB9: exit (exit.c:139)
==27547== by 0x4D4B0A1: (below main) (libc-start.c:342)
==27547== Address 0x5b529b0 is 0 bytes after a block of size 32 alloc'd
==27547== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27547== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27547== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27547== by 0x24B104: err_get_state (err.c:210)
==27547== by 0x24BCDA: ERR_put_error (err.c:636)
==27547== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27547== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27547== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27547== by 0x270326: by_file_ctrl (by_file.c:111)
==27547== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27547== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27547== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27547== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27547== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27547== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27547== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27547==
==27547== Invalid free() / delete / delete[] / realloc()
==27547== at 0x48369AB: free (vg_replace_malloc.c:540)
==27547== by 0x5331AB9: free_key_mem (dlerror.c:223)
==27547== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==27547== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27547== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27547== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==27547== by 0x4D60EB9: exit (exit.c:139)
==27547== by 0x4D4B0A1: (below main) (libc-start.c:342)
==27547== Address 0x5b52998 is 8 bytes inside a block of size 32 alloc'd
==27547== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27547== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27547== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27547== by 0x24B104: err_get_state (err.c:210)
==27547== by 0x24BCDA: ERR_put_error (err.c:636)
==27547== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27547== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27547== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27547== by 0x270326: by_file_ctrl (by_file.c:111)
==27547== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27547== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27547== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27547== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27547== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27547== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27547== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27547==
==27547== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27547== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27547== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27547== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27547== by 0x24B104: err_get_state (err.c:210)
==27547== by 0x24BCDA: ERR_put_error (err.c:636)
==27547== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27547== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27547== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27547== by 0x270326: by_file_ctrl (by_file.c:111)
==27547== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27547== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27547== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27547== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27547== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27547== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27547== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27547==
== Contents of files in the log/ dir after test 1561
=== Start of file curl1561.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: super=secret; domain=example.com; path=/1561; secure;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login/; secure;
Set-Cookie: __Secure-SID=12345; Domain=example.com
Set-Cookie: __Secure-SID=12346; Secure; Domain=example.com
Set-Cookie: supersupersuper=secret; __Secure-SID=12346; Secure; Domain=example.com
Set-Cookie: __Host-SID=22345
Set-Cookie: __Host-SID=22346; Secure
Set-Cookie: __Host-SID=22347; Domain=example.com
Set-Cookie: __Host-SID=22348; Domain=example.com; Path=/
Set-Cookie: __Host-SID=22349; Secure; Domain=example.com; Path=/
Set-Cookie: __Host-SID=12346; Secure; Path=/
Content-Length: 7
nomnom
=== End of file curl1561.out
=== Start of file http_server.log
03:18:46.359492 ====> Client connect
03:18:46.359523 accept_connection 3 returned 4
03:18:46.359536 accept_connection 3 returned 0
03:18:46.359705 Read 96 bytes
03:18:46.359727 Process 96 bytes request
03:18:46.359756 Got request: GET /verifiedserver HTTP/1.1
03:18:46.359783 Are-we-friendly question received
03:18:46.359815 Wrote request (96 bytes) input to log/server.input
03:18:46.359843 Identifying ourselves as friends
03:18:46.359945 Response sent (56 bytes) and written to log/server.response
03:18:46.359961 special request received, no persistency
03:18:46.359976 ====> Client disconnect 0
03:18:50.383367 ====> Client connect
03:18:50.383389 accept_connection 3 returned 4
03:18:50.383403 accept_connection 3 returned 0
03:18:50.469402 Read 91 bytes
03:18:50.469438 Process 91 bytes request
03:18:50.469455 Got request: GET /15610001 HTTP/1.1
03:18:50.469466 Requested test number 1561 part 1
03:18:50.469493 - request found to be complete
03:18:50.469520 Wrote request (91 bytes) input to log/server.input
03:18:50.469541 Send response test1561 section <data1>
03:18:50.469696 Response sent (722 bytes) and written to log/server.response
03:18:50.469707 => persistent connection request ended, awaits new request
03:18:50.588897 ====> Client connect
03:18:50.588930 accept_connection 3 returned 5
03:18:50.588946 accept_connection 3 returned 0
03:18:50.592604 Read 91 bytes
03:18:50.592627 Process 91 bytes request
03:18:50.592644 Got request: GET /15610002 HTTP/1.1
03:18:50.592656 Requested test number 1561 part 2
03:18:50.592686 - request found to be complete
03:18:50.592698 Wrote request (91 bytes) input to log/server.input
03:18:50.592710 Send response test1561 section <data2>
03:18:50.592842 Response sent (966 bytes) and written to log/server.response
03:18:50.592852 => persistent connection request ended, awaits new request
03:18:50.624533 Connection closed by client
03:18:50.624565 ====> Client disconnect 0
03:18:50.691122 Connection closed by client
03:18:50.691164 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.08.11 03:18:45 LOG5[27542]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.11 03:18:45 LOG5[27542]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.11 03:18:45 LOG5[27542]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.11 03:18:45 LOG5[27542]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.11 03:18:45 LOG5[27542]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.11 03:18:45 LOG5[27542]: Reading configuration from file /build-20624/tests/https_stunnel.conf
2019.08.11 03:18:45 LOG5[27542]: FIPS mode disabled
2019.08.11 03:18:45 LOG5[27542]: Configuration successful
2019.08.11 03:18:46 LOG5[27545]: Service [curltest] accepted connection from 127.0.0.1:42558
2019.08.11 03:18:46 LOG5[27545]: s_connect: connected 127.0.0.1:8990
2019.08.11 03:18:46 LOG5[27545]: Service [curltest] connected remote server from 127.0.0.1:46852
2019.08.11 03:18:46 LOG5[27545]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.11 03:18:48 LOG5[27548]: Service [curltest] accepted connection from 127.0.0.1:42562
2019.08.11 03:18:50 LOG5[27548]: s_connect: connected 127.0.0.1:8990
2019.08.11 03:18:50 LOG5[27548]: Service [curltest] connected remote server from 127.0.0.1:46856
2019.08.11 03:18:50 LOG5[27548]: Connection closed: 722 byte(s) sent to SSL, 91 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x5614044667c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5614044667c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5614044667c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x5614044667c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x5614044667c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x5614044667c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5614044667c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x5614044667c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5614044667c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 27451
=== End of file https_verify.out
=== Start of file jar1561.txt
# Netscape HTTP Cookie File
# https://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
.example.com TRUE /foo FALSE 0 public yes
www.example.com FALSE / TRUE 0 __Host-SID 12346
.example.com TRUE / TRUE 0 supersupersuper secret
.example.com TRUE / TRUE 0 __Secure-SID 12346
.example.com TRUE /1561/login/ TRUE 0 supersuper secret
#HttpOnly_.example.com TRUE /15 FALSE 0 super secret
=== End of file jar1561.txt
=== Start of file server.input
GET /15610001 HTTP/1.1
Host: www.example.com
User-Agent: curl/7.66.0-DEV
Accept: */*
GET /15610002 HTTP/1.1
Host: www.example.com
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 27451
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: super=secret; domain=example.com; path=/1561; secure;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login/; secure;
Set-Cookie: __Secure-SID=12345; Domain=example.com
Set-Cookie: __Secure-SID=12346; Secure; Domain=example.com
Set-Cookie: supersupersuper=secret; __Secure-SID=12346; Secure; Domain=example.com
Set-Cookie: __Host-SID=22345
Set-Cookie: __Host-SID=22346; Secure
Set-Cookie: __Host-SID=22347; Domain=example.com
Set-Cookie: __Host-SID=22348; Domain=example.com; Path=/
Set-Cookie: __Host-SID=22349; Secure; Domain=example.com; Path=/
Set-Cookie: __Host-SID=12346; Secure; Path=/
Content-Length: 7
nomnom
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: super=secret; domain=example.com; path=/1561; httponly;
Set-Cookie: super=secret; domain=example.com; path=/1561/; httponly;
Set-Cookie: super=secret; domain=example.com; path=/15; httponly;
Set-Cookie: public=yes; domain=example.com; path=/foo;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login/en;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login;
Set-Cookie: secureoverhttp=yes; domain=example.com; path=/1561; secure;
Set-Cookie: __Secure-SID=22345; Domain=example.com
Set-Cookie: __Secure-SID=22346; Secure; Domain=example.com
Set-Cookie: __Host-SID=32345
Set-Cookie: __Host-SID=32346; Secure
Set-Cookie: __Host-SID=32347; Domain=example.com
Set-Cookie: __Host-SID=32348; Domain=example.com; Path=/
Set-Cookie: __Host-SID=32349; Secure; Domain=example.com; Path=/
Set-Cookie: __Host-SID=32350; Secure; Path=/
Content-Length: 7
nomnom
=== End of file server.response
=== Start of file stderr1561
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 7 100 7 0 0 3 0 0:00:02 0:00:02 --:--:-- 3
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7 100 7 0 0 269 0 --:--:-- --:--:-- --:--:-- 333
=== End of file stderr1561
=== Start of file stdout1561
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: super=secret; domain=example.com; path=/1561; httponly;
Set-Cookie: super=secret; domain=example.com; path=/1561/; httponly;
Set-Cookie: super=secret; domain=example.com; path=/15; httponly;
Set-Cookie: public=yes; domain=example.com; path=/foo;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login/en;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login;
Set-Cookie: secureoverhttp=yes; domain=example.com; path=/1561; secure;
Set-Cookie: __Secure-SID=22345; Domain=example.com
Set-Cookie: __Secure-SID=22346; Secure; Domain=example.com
Set-Cookie: __Host-SID=32345
Set-Cookie: __Host-SID=32346; Secure
Set-Cookie: __Host-SID=32347; Domain=example.com
Set-Cookie: __Host-SID=32348; Domain=example.com; Path=/
Set-Cookie: __Host-SID=32349; Secure; Domain=example.com; Path=/
Set-Cookie: __Host-SID=32350; Secure; Path=/
Content-Length: 7
nomnom
=== End of file stdout1561
=== Start of file trace1561
03:18:48.305611 == Info: STATE: INIT => CONNECT handle 0x56c7c78; line 1362 (connection #-5000)
03:18:48.360233 == Info: Added connection 0. The cache now contains 1 members
03:18:48.378165 == Info: Trying 127.0.0.1:8991...
03:18:48.378769 == Info: TCP_NODELAY set
03:18:48.383898 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7c78; line 1418 (connection #0)
03:18:48.395455 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:18:48.396024 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7c78; line 1538 (connection #0)
03:18:48.397100 == Info: Marked for [keep alive]: HTTP default
03:18:48.447386 == Info: ALPN, offering h2
03:18:48.447658 == Info: ALPN, offering http/1.1
03:18:49.868365 == Info: successfully set certificate verify locations:
03:18:49.868633 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:18:49.981408 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:49.986343 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:18:49.986400 => Send SSL data, 148 bytes (0x94)
0000: ........\....#L..o.j..c..U/\6...m.JV......+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:18:50.004102 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:18:50.009551 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:18:50.009610 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.....cd..~E....]...Z2gi....2.c |.b qVvc............N./.H..@.
0040: h...N."./................
03:18:50.053201 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:50.053655 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:18:50.053710 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:18:50.152307 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:18:50.152565 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:18:50.152623 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.@.9L.0...`2~S=...M...#,. ....e>.+...........'.o..2.%...
0040: M._P..........X-.....P+C.Kv........?.w....q.Q0....ao>..G}....[..
0080: ./PCi..r.........|...s.o_...h..1...5R..mOi>uZ....q..#ke.....L...
00c0: ...."..5......[..][.9.+.:...zSn.......7g6.LN......;K\...l. ...Q=
0100: .Mt..m&.....G)"y....`F.j.h.T......3Q.dE.`.&.[7F]+............L..k..
0140: Q..W..G...*.
03:18:50.221154 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:50.221479 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:18:50.221533 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:18:50.336166 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:18:50.336400 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:18:50.336454 => Send SSL data, 70 bytes (0x46)
0000: ...BA.h....VPm.L..kW9$g.k......ts.j)fp\.s....,..kj...W.9yf.o.}A.
0040: ....Ys
03:18:50.348279 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:50.348853 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:18:50.348909 => Send SSL data, 1 bytes (0x1)
0000: .
03:18:50.370111 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:18:50.370166 => Send SSL data, 16 bytes (0x10)
0000: .......-<}.e.r..
03:18:50.382504 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:18:50.385026 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:50.386107 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:18:50.386166 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:18:50.388593 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:18:50.394236 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:18:50.394291 <= Recv SSL data, 16 bytes (0x10)
0000: ....uz.Z.....8..
03:18:50.422379 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:18:50.423036 == Info: ALPN, server did not agree to a protocol
03:18:50.425714 == Info: Server certificate:
03:18:50.433160 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:18:50.439257 == Info: start date: Aug 31 23:39:18 2018 GMT
03:18:50.440203 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:18:50.441123 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:18:50.441986 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:18:50.443475 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c7c78; line 1556 (connection #0)
03:18:50.467755 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:18:50.470619 => Send header, 91 bytes (0x5b)
0000: GET /15610001 HTTP/1.1
0018: Host: www.example.com
002f: User-Agent: curl/7.66.0-DEV
004c: Accept: */*
0059:
03:18:50.473522 == Info: STATE: DO => DO_DONE handle 0x56c7c78; line 1627 (connection #0)
03:18:50.473986 == Info: STATE: DO_DONE => PERFORM handle 0x56c7c78; line 1749 (connection #0)
03:18:50.478368 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:18:50.487332 == Info: Mark bundle as not supporting multiuse
03:18:50.487924 == Info: HTTP 1.1 or later with persistent connection
03:18:50.490569 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:50.501303 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:18:50.502192 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:50.502427 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:50.503285 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:18:50.503564 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:18:50.521800 == Info: Added cookie super="secret" for domain example.com, path /1561, expire 0
03:18:50.522197 <= Recv header, 66 bytes (0x42)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561; secure
0040: ;.
03:18:50.522664 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:18:50.523654 == Info: Added cookie supersuper="secret" for domain example.com, path /1561/login/, expire 0
03:18:50.523805 <= Recv header, 78 bytes (0x4e)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin/; secure;.
03:18:50.524307 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:18:50.526718 <= Recv header, 51 bytes (0x33)
0000: Set-Cookie: __Secure-SID=12345; Domain=example.com.
03:18:50.527120 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:18:50.527394 <= Recv SSL data, 5 bytes (0x5)
0000: ....h
03:18:50.527923 == Info: Added cookie __Secure-SID="12346" for domain example.com, path /, expire 0
03:18:50.527979 <= Recv header, 59 bytes (0x3b)
0000: Set-Cookie: __Secure-SID=12346; Secure; Domain=example.com.
03:18:50.528407 <= Recv SSL data, 5 bytes (0x5)
0000: ....|
03:18:50.529334 == Info: Added cookie supersupersuper="secret" for domain example.com, path /, expire 0
03:18:50.529390 <= Recv header, 83 bytes (0x53)
0000: Set-Cookie: supersupersuper=secret; __Secure-SID=12346; Secure;
0040: Domain=example.com.
03:18:50.530807 <= Recv header, 29 bytes (0x1d)
0000: Set-Cookie: __Host-SID=22345.
03:18:50.531869 == Info: Added cookie __Host-SID="22346" for domain www.example.com, path /, expire 0
03:18:50.531926 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: __Host-SID=22346; Secure.
03:18:50.532278 <= Recv SSL data, 5 bytes (0x5)
0000: ....|
03:18:50.533001 <= Recv header, 49 bytes (0x31)
0000: Set-Cookie: __Host-SID=22347; Domain=example.com.
03:18:50.533886 <= Recv header, 57 bytes (0x39)
0000: Set-Cookie: __Host-SID=22348; Domain=example.com; Path=/.
03:18:50.534301 <= Recv SSL data, 5 bytes (0x5)
0000: ....|
03:18:50.535075 <= Recv header, 65 bytes (0x41)
0000: Set-Cookie: __Host-SID=22349; Secure; Domain=example.com; Path=/
0040: .
03:18:50.537751 == Info: Replaced cookie __Host-SID="12346" for domain www.example.com, path /, expire 0
03:18:50.537859 <= Recv header, 45 bytes (0x2d)
0000: Set-Cookie: __Host-SID=12346; Secure; Path=/.
03:18:50.538238 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:50.539276 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:50.541719 <= Recv header, 1 bytes (0x1)
0000: .
03:18:50.542358 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:50.545950 == Info: STATE: PERFORM => DONE handle 0x56c7c78; line 1939 (connection #0)
03:18:50.546271 == Info: multi_done
03:18:50.555175 == Info: Connection #0 to host 127.0.0.1 left intact
03:18:50.584371 == Info: STATE: INIT => CONNECT handle 0x5722998; line 1362 (connection #-5000)
03:18:50.588056 == Info: Added connection 1. The cache now contains 2 members
03:18:50.588696 == Info: Trying 127.0.0.1:8990...
03:18:50.588757 == Info: TCP_NODELAY set
03:18:50.588908 == Info: STATE: CONNECT => WAITCONNECT handle 0x5722998; line 1418 (connection #1)
03:18:50.590207 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#1)
03:18:50.590291 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5722998; line 1538 (connection #1)
03:18:50.590364 == Info: Marked for [keep alive]: HTTP default
03:18:50.590503 == Info: STATE: SENDPROTOCONNECT => DO handle 0x5722998; line 1556 (connection #1)
03:18:50.592934 => Send header, 91 bytes (0x5b)
0000: GET /15610002 HTTP/1.1
0018: Host: www.example.com
002f: User-Agent: curl/7.66.0-DEV
004c: Accept: */*
0059:
03:18:50.593421 == Info: STATE: DO => DO_DONE handle 0x5722998; line 1627 (connection #1)
03:18:50.593508 == Info: STATE: DO_DONE => PERFORM handle 0x5722998; line 1749 (connection #1)
03:18:50.594548 == Info: Mark bundle as not supporting multiuse
03:18:50.594615 == Info: HTTP 1.1 or later with persistent connection
03:18:50.594678 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:50.594839 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:50.595056 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:50.596538 <= Recv header, 68 bytes (0x44)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561; httpon
0040: ly;.
03:18:50.597570 <= Recv header, 69 bytes (0x45)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561/; httpo
0040: nly;.
03:18:50.598771 == Info: Replaced cookie super="secret" for domain example.com, path /15, expire 0
03:18:50.598827 <= Recv header, 66 bytes (0x42)
0000: Set-Cookie: super=secret; domain=example.com; path=/15; httponly
0040: ;.
03:18:50.599589 == Info: Added cookie public="yes" for domain example.com, path /foo, expire 0
03:18:50.599643 <= Recv header, 55 bytes (0x37)
0000: Set-Cookie: public=yes; domain=example.com; path=/foo;.
03:18:50.600730 <= Recv header, 72 bytes (0x48)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin/en;.
03:18:50.601744 <= Recv header, 69 bytes (0x45)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin;.
03:18:50.603468 <= Recv header, 72 bytes (0x48)
0000: Set-Cookie: secureoverhttp=yes; domain=example.com; path=/1561;
0040: secure;.
03:18:50.604385 <= Recv header, 51 bytes (0x33)
0000: Set-Cookie: __Secure-SID=22345; Domain=example.com.
03:18:50.605038 <= Recv header, 59 bytes (0x3b)
0000: Set-Cookie: __Secure-SID=22346; Secure; Domain=example.com.
03:18:50.605825 <= Recv header, 29 bytes (0x1d)
0000: Set-Cookie: __Host-SID=32345.
03:18:50.606418 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: __Host-SID=32346; Secure.
03:18:50.607186 <= Recv header, 49 bytes (0x31)
0000: Set-Cookie: __Host-SID=32347; Domain=example.com.
03:18:50.608060 <= Recv header, 57 bytes (0x39)
0000: Set-Cookie: __Host-SID=32348; Domain=example.com; Path=/.
03:18:50.608748 <= Recv header, 65 bytes (0x41)
0000: Set-Cookie: __Host-SID=32349; Secure; Domain=example.com; Path=/
0040: .
03:18:50.609452 <= Recv header, 45 bytes (0x2d)
0000: Set-Cookie: __Host-SID=32350; Secure; Path=/.
03:18:50.609692 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:50.609838 <= Recv header, 1 bytes (0x1)
0000: .
03:18:50.609911 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:50.610299 == Info: STATE: PERFORM => DONE handle 0x5722998; line 1939 (connection #1)
03:18:50.610361 == Info: multi_done
03:18:50.611112 == Info: Connection #1 to host 127.0.0.1 left intact
03:18:50.612291 == Info: Expire cleared (transfer 0x5722998)
=== End of file trace1561
=== Start of file valgrind1561
==27547== Invalid read of size 8
==27547== at 0x53315A5: check_free (dlerror.c:188)
==27547== by 0x5331AB1: free_key_mem (dlerror.c:221)
==27547== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==27547== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27547== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27547== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==27547== by 0x4D60EB9: exit (exit.c:139)
==27547== by 0x4D4B0A1: (below main) (libc-start.c:342)
==27547== Address 0x5b529b0 is 0 bytes after a block of size 32 alloc'd
==27547== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27547== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27547== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27547== by 0x24B104: err_get_state (err.c:210)
==27547== by 0x24BCDA: ERR_put_error (err.c:636)
==27547== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27547== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27547== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27547== by 0x270326: by_file_ctrl (by_file.c:111)
==27547== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27547== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27547== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27547== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27547== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27547== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27547== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27547==
==27547== Invalid free() / delete / delete[] / realloc()
==27547== at 0x48369AB: free (vg_replace_malloc.c:540)
==27547== by 0x5331AB9: free_key_mem (dlerror.c:223)
==27547== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==27547== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27547== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27547== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==27547== by 0x4D60EB9: exit (exit.c:139)
==27547== by 0x4D4B0A1: (below main) (libc-start.c:342)
==27547== Address 0x5b52998 is 8 bytes inside a block of size 32 alloc'd
==27547== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27547== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27547== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27547== by 0x24B104: err_get_state (err.c:210)
==27547== by 0x24BCDA: ERR_put_error (err.c:636)
==27547== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27547== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27547== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27547== by 0x270326: by_file_ctrl (by_file.c:111)
==27547== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27547== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27547== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27547== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27547== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27547== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27547== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27547==
==27547== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27547== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27547== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27547== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27547== by 0x24B104: err_get_state (err.c:210)
==27547== by 0x24BCDA: ERR_put_error (err.c:636)
==27547== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27547== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27547== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27547== by 0x270326: by_file_ctrl (by_file.c:111)
==27547== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27547== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27547== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27547== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27547== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27547== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27547== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27547==
=== End of file valgrind1561
test 1562...[Expire secure cookies over HTTPS]
goto problem 34
valgrind ERROR ==27551== Invalid read of size 8
==27551== at 0x53315A5: check_free (dlerror.c:188)
==27551== by 0x5331AB1: free_key_mem (dlerror.c:221)
==27551== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==27551== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27551== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27551== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==27551== by 0x4D60EB9: exit (exit.c:139)
==27551== by 0x4D4B0A1: (below main) (libc-start.c:342)
==27551== Address 0x5bad0b0 is 0 bytes after a block of size 32 alloc'd
==27551== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27551== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27551== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27551== by 0x24B104: err_get_state (err.c:210)
==27551== by 0x24BCDA: ERR_put_error (err.c:636)
==27551== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27551== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27551== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27551== by 0x270326: by_file_ctrl (by_file.c:111)
==27551== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27551== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27551== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27551== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27551== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27551== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27551== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27551==
==27551== Invalid free() / delete / delete[] / realloc()
==27551== at 0x48369AB: free (vg_replace_malloc.c:540)
==27551== by 0x5331AB9: free_key_mem (dlerror.c:223)
==27551== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==27551== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27551== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27551== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==27551== by 0x4D60EB9: exit (exit.c:139)
==27551== by 0x4D4B0A1: (below main) (libc-start.c:342)
==27551== Address 0x5bad098 is 8 bytes inside a block of size 32 alloc'd
==27551== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27551== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27551== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27551== by 0x24B104: err_get_state (err.c:210)
==27551== by 0x24BCDA: ERR_put_error (err.c:636)
==27551== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27551== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27551== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27551== by 0x270326: by_file_ctrl (by_file.c:111)
==27551== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27551== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27551== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27551== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27551== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27551== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27551== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27551==
==27551== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27551== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27551== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27551== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27551== by 0x24B104: err_get_state (err.c:210)
==27551== by 0x24BCDA: ERR_put_error (err.c:636)
==27551== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27551== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27551== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27551== by 0x270326: by_file_ctrl (by_file.c:111)
==27551== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27551== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27551== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27551== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27551== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27551== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27551== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27551==
== Contents of files in the log/ dir after test 1562
=== Start of file curl1562.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: foo=123; path=/; secure;
Content-Length: 7
nomnom
=== End of file curl1562.out
=== Start of file http_server.log
03:18:53.802398 ====> Client connect
03:18:53.802435 accept_connection 3 returned 4
03:18:53.802451 accept_connection 3 returned 0
03:18:53.891079 Read 91 bytes
03:18:53.891115 Process 91 bytes request
03:18:53.891132 Got request: GET /15620001 HTTP/1.1
03:18:53.891143 Requested test number 1562 part 1
03:18:53.891170 - request found to be complete
03:18:53.891196 Wrote request (91 bytes) input to log/server.input
03:18:53.891217 Send response test1562 section <data1>
03:18:53.891293 Response sent (140 bytes) and written to log/server.response
03:18:53.891304 => persistent connection request ended, awaits new request
03:18:54.006970 Read 108 bytes
03:18:54.007003 Process 108 bytes request
03:18:54.007017 Got request: GET /15620002 HTTP/1.1
03:18:54.007027 Requested test number 1562 part 2
03:18:54.007053 - request found to be complete
03:18:54.007065 Wrote request (108 bytes) input to log/server.input
03:18:54.007076 Send response test1562 section <data2>
03:18:54.007151 Response sent (178 bytes) and written to log/server.response
03:18:54.007161 => persistent connection request ended, awaits new request
03:18:54.034314 Read 91 bytes
03:18:54.034349 Process 91 bytes request
03:18:54.034363 Got request: GET /15620001 HTTP/1.1
03:18:54.034372 Requested test number 1562 part 1
03:18:54.034401 - request found to be complete
03:18:54.034420 Wrote request (91 bytes) input to log/server.input
03:18:54.034438 Send response test1562 section <data1>
03:18:54.034522 Response sent (140 bytes) and written to log/server.response
03:18:54.034537 => persistent connection request ended, awaits new request
03:18:54.048887 Connection closed by client
03:18:54.048913 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /15620001 HTTP/1.1
Host: www.example.com
User-Agent: curl/7.66.0-DEV
Accept: */*
GET /15620002 HTTP/1.1
Host: www.example.com
User-Agent: curl/7.66.0-DEV
Accept: */*
Cookie: foo=123
GET /15620001 HTTP/1.1
Host: www.example.com
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: foo=123; path=/; secure;
Content-Length: 7
nomnom
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: foo=; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/
Content-Length: 7
nomnom
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: foo=123; path=/; secure;
Content-Length: 7
nomnom
=== End of file server.response
=== Start of file stderr1562
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 7 100 7 0 0 3 0 0:00:02 0:00:02 --:--:-- 3
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7 100 7 0 0 200 0 --:--:-- --:--:-- --:--:-- 318
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7 100 7 0 0 777 0 --:--:-- --:--:-- --:--:-- 1166
=== End of file stderr1562
=== Start of file stdout1562
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: foo=; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/
Content-Length: 7
nomnom
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: foo=123; path=/; secure;
Content-Length: 7
nomnom
=== End of file stdout1562
=== Start of file trace1562
03:18:51.690037 == Info: STATE: INIT => CONNECT handle 0x56c73b8; line 1362 (connection #-5000)
03:18:51.744688 == Info: Added connection 0. The cache now contains 1 members
03:18:51.762314 == Info: Trying 127.0.0.1:8991...
03:18:51.762917 == Info: TCP_NODELAY set
03:18:51.768025 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c73b8; line 1418 (connection #0)
03:18:51.779572 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:18:51.780140 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c73b8; line 1538 (connection #0)
03:18:51.781221 == Info: Marked for [keep alive]: HTTP default
03:18:51.831377 == Info: ALPN, offering h2
03:18:51.831649 == Info: ALPN, offering http/1.1
03:18:53.268543 == Info: successfully set certificate verify locations:
03:18:53.268804 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:18:53.387474 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:53.392510 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:18:53.392573 => Send SSL data, 148 bytes (0x94)
0000: ........./.1...e.6...BG..h..+..=.1...a....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:18:53.410088 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:18:53.415653 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:18:53.415710 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..ro.....02...ss..K...h..........= \t...!.X..)..."2.5...}B3.
0040: ..-.D.J./................
03:18:53.461601 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:53.462057 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:18:53.462113 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:18:53.563157 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:18:53.563424 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:18:53.563482 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.@.9L.0...`2~S=...M...#,. ....e>.+...........'.o..2.%...
0040: M._P............y.d.Z.....R.1....O......!j..Gx.v... m2.m.sw3...-
0080: ...v*.k..(AV.;.C..Q).............'E...vY...^h...p...$.?..J.j.adC
00c0: .-i.Gf!.nh..kF:C...5...*.{H.L...]r...)c].....3E!.E.........b....
0100: n..{.1JdK....3K........@...S..IT....:.}u."X...l.q>.q...i:\.....F
0140: .q.lRp......t
03:18:53.634577 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:53.634921 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:18:53.634978 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:18:53.753486 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:18:53.753731 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:18:53.753787 => Send SSL data, 70 bytes (0x46)
0000: ...BA.cLZNZ.x.i..."6'h)........f.T.....x........WQB.o...O.P.I...
0040: ...V.r
03:18:53.765961 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:53.766602 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:18:53.766659 => Send SSL data, 1 bytes (0x1)
0000: .
03:18:53.788649 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:18:53.788711 => Send SSL data, 16 bytes (0x10)
0000: ....&JB}....|...
03:18:53.801475 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:18:53.804079 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:53.805170 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:18:53.805226 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:18:53.807760 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:18:53.813596 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:18:53.813652 <= Recv SSL data, 16 bytes (0x10)
0000: ......Im**}F....
03:18:53.842719 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:18:53.843383 == Info: ALPN, server did not agree to a protocol
03:18:53.846136 == Info: Server certificate:
03:18:53.853920 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:18:53.860203 == Info: start date: Aug 31 23:39:18 2018 GMT
03:18:53.861151 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:18:53.862128 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:18:53.863004 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:18:53.864513 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c73b8; line 1556 (connection #0)
03:18:53.889334 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:18:53.892376 => Send header, 91 bytes (0x5b)
0000: GET /15620001 HTTP/1.1
0018: Host: www.example.com
002f: User-Agent: curl/7.66.0-DEV
004c: Accept: */*
0059:
03:18:53.895295 == Info: STATE: DO => DO_DONE handle 0x56c73b8; line 1627 (connection #0)
03:18:53.895775 == Info: STATE: DO_DONE => PERFORM handle 0x56c73b8; line 1749 (connection #0)
03:18:53.900352 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:53.913605 == Info: Mark bundle as not supporting multiuse
03:18:53.914308 == Info: HTTP 1.1 or later with persistent connection
03:18:53.917048 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:53.920885 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:53.921118 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:53.934789 == Info: Added cookie foo="123" for domain www.example.com, path /, expire 0
03:18:53.935195 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: foo=123; path=/; secure;.
03:18:53.936316 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:53.938865 <= Recv header, 1 bytes (0x1)
0000: .
03:18:53.939743 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:53.945386 == Info: STATE: PERFORM => DONE handle 0x56c73b8; line 1939 (connection #0)
03:18:53.945771 == Info: multi_done
03:18:53.955096 == Info: Connection #0 to host 127.0.0.1 left intact
03:18:53.957230 == Info: Expire cleared (transfer 0x56c73b8)
03:18:53.984093 == Info: STATE: INIT => CONNECT handle 0x5722138; line 1362 (connection #-5000)
03:18:53.988265 == Info: Found bundle for host 127.0.0.1: 0x5807108 [serially]
03:18:53.988586 == Info: Can not multiplex, even if we wanted to
03:18:53.997100 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:18:53.997894 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:18:53.998102 == Info: STATE: CONNECT => DO handle 0x5722138; line 1411 (connection #0)
03:18:54.006788 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:54.006940 => Send header, 108 bytes (0x6c)
0000: GET /15620002 HTTP/1.1
0018: Host: www.example.com
002f: User-Agent: curl/7.66.0-DEV
004c: Accept: */*
0059: Cookie: foo=123
006a:
03:18:54.007511 == Info: STATE: DO => DO_DONE handle 0x5722138; line 1627 (connection #0)
03:18:54.008087 == Info: STATE: DO_DONE => PERFORM handle 0x5722138; line 1749 (connection #0)
03:18:54.008273 <= Recv SSL data, 5 bytes (0x5)
0000: ....|
03:18:54.008463 == Info: Mark bundle as not supporting multiuse
03:18:54.008527 == Info: HTTP 1.1 or later with persistent connection
03:18:54.008588 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:54.008758 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:54.008976 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:54.013439 <= Recv SSL data, 5 bytes (0x5)
0000: ....f
03:18:54.017977 == Info: Replaced cookie foo="" for domain www.example.com, path /, expire 1
03:18:54.018102 <= Recv header, 75 bytes (0x4b)
0000: Set-Cookie: foo=; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age
0040: =0; Path=/.
03:18:54.018534 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:54.018700 <= Recv header, 1 bytes (0x1)
0000: .
03:18:54.018791 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:54.019228 == Info: STATE: PERFORM => DONE handle 0x5722138; line 1939 (connection #0)
03:18:54.019295 == Info: multi_done
03:18:54.020180 == Info: Connection #0 to host 127.0.0.1 left intact
03:18:54.028089 == Info: STATE: INIT => CONNECT handle 0x577c118; line 1362 (connection #-5000)
03:18:54.030026 == Info: Found bundle for host 127.0.0.1: 0x5807108 [serially]
03:18:54.030093 == Info: Can not multiplex, even if we wanted to
03:18:54.031039 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:18:54.031216 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:18:54.031298 == Info: STATE: CONNECT => DO handle 0x577c118; line 1411 (connection #0)
03:18:54.034115 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:18:54.034255 => Send header, 91 bytes (0x5b)
0000: GET /15620001 HTTP/1.1
0018: Host: www.example.com
002f: User-Agent: curl/7.66.0-DEV
004c: Accept: */*
0059:
03:18:54.034761 == Info: STATE: DO => DO_DONE handle 0x577c118; line 1627 (connection #0)
03:18:54.034872 == Info: STATE: DO_DONE => PERFORM handle 0x577c118; line 1749 (connection #0)
03:18:54.035109 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:54.035319 == Info: Mark bundle as not supporting multiuse
03:18:54.035382 == Info: HTTP 1.1 or later with persistent connection
03:18:54.035444 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:54.035628 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:54.035876 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:54.036450 == Info: Added cookie foo="123" for domain www.example.com, path /, expire 0
03:18:54.036507 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: foo=123; path=/; secure;.
03:18:54.036727 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:54.036875 <= Recv header, 1 bytes (0x1)
0000: .
03:18:54.036947 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:54.037092 == Info: STATE: PERFORM => DONE handle 0x577c118; line 1939 (connection #0)
03:18:54.037154 == Info: multi_done
03:18:54.037939 == Info: Connection #0 to host 127.0.0.1 left intact
03:18:54.038064 == Info: Expire cleared (transfer 0x577c118)
=== End of file trace1562
=== Start of file valgrind1562
==27551== Invalid read of size 8
==27551== at 0x53315A5: check_free (dlerror.c:188)
==27551== by 0x5331AB1: free_key_mem (dlerror.c:221)
==27551== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==27551== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27551== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27551== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==27551== by 0x4D60EB9: exit (exit.c:139)
==27551== by 0x4D4B0A1: (below main) (libc-start.c:342)
==27551== Address 0x5bad0b0 is 0 bytes after a block of size 32 alloc'd
==27551== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27551== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27551== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27551== by 0x24B104: err_get_state (err.c:210)
==27551== by 0x24BCDA: ERR_put_error (err.c:636)
==27551== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27551== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27551== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27551== by 0x270326: by_file_ctrl (by_file.c:111)
==27551== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27551== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27551== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27551== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27551== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27551== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27551== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27551==
==27551== Invalid free() / delete / delete[] / realloc()
==27551== at 0x48369AB: free (vg_replace_malloc.c:540)
==27551== by 0x5331AB9: free_key_mem (dlerror.c:223)
==27551== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==27551== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27551== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27551== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==27551== by 0x4D60EB9: exit (exit.c:139)
==27551== by 0x4D4B0A1: (below main) (libc-start.c:342)
==27551== Address 0x5bad098 is 8 bytes inside a block of size 32 alloc'd
==27551== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27551== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27551== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27551== by 0x24B104: err_get_state (err.c:210)
==27551== by 0x24BCDA: ERR_put_error (err.c:636)
==27551== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27551== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27551== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27551== by 0x270326: by_file_ctrl (by_file.c:111)
==27551== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27551== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27551== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27551== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27551== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27551== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27551== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27551==
==27551== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27551== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27551== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27551== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27551== by 0x24B104: err_get_state (err.c:210)
==27551== by 0x24BCDA: ERR_put_error (err.c:636)
==27551== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27551== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27551== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27551== by 0x270326: by_file_ctrl (by_file.c:111)
==27551== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27551== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27551== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27551== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27551== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27551== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27551== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27551==
=== End of file valgrind1562
test 1563...[Make sure redirects to CURLPROTO_GOPHER are forbidden by default]
--p----emv- OK (1138 out of 1250, remaining: 02:42, took 1.2s, duration: 27:28)
test 1590...[IMAP cleanup before a connection was created]
-------emv- OK (1139 out of 1250, remaining: 02:40, took 1.0s, duration: 27:29)
test 1591 SKIPPED: curl lacks HTTP support
test 1592...[HTTP request, remove handle while resolving, don't block]
valgrind SKIPPED
-------em-- OK (1141 out of 1250, remaining: 02:37, took 0.0s, duration: 27:29)
test 1593...[HTTP custom header overrides CURLOPT_TIMECONDITION]
--p----emv- OK (1142 out of 1250, remaining: 02:36, took 1.0s, duration: 27:30)
test 1594...[HTTP Retry-After header parsing and extraction]
s-p----emv- OK (1143 out of 1250, remaining: 02:34, took 1.0s, duration: 27:31)
Warning: test1595 not present in tests/data/Makefile.inc
test 1595...[HTTP Retry-After header extraction (without header)]
s-p----emv- OK (1144 out of 1250, remaining: 02:33, took 1.0s, duration: 27:33)
Warning: test1596 not present in tests/data/Makefile.inc
test 1596...[HTTP Retry-After header parsing using a date]
s-p----emv- OK (1145 out of 1250, remaining: 02:31, took 1.1s, duration: 27:34)
test 1600...[NTLM unit tests]
-------emv- OK (1146 out of 1250, remaining: 02:30, took 0.9s, duration: 27:34)
test 1601...[MD5 unit tests]
-------emv- OK (1147 out of 1250, remaining: 02:28, took 0.8s, duration: 27:35)
test 1602...[Internal hash create/add/destroy testing, exercising clean functions]
-------emv- OK (1148 out of 1250, remaining: 02:27, took 0.8s, duration: 27:36)
test 1603...[Internal hash add, retrieval, deletion testing]
-------emv- OK (1149 out of 1250, remaining: 02:25, took 0.8s, duration: 27:37)
test 1604...[Test WIN32/MSDOS filename sanitization]
-------emv- OK (1150 out of 1250, remaining: 02:24, took 0.8s, duration: 27:38)
test 1605...[Test negative data lengths as input to libcurl functions]
-------emv- OK (1151 out of 1250, remaining: 02:22, took 0.9s, duration: 27:39)
test 1606...[verify speedcheck]
-------emv- OK (1152 out of 1250, remaining: 02:21, took 0.9s, duration: 27:39)
test 1607...[CURLOPT_RESOLVE parsing]
-------emv- OK (1153 out of 1250, remaining: 02:19, took 1.0s, duration: 27:40)
test 1608...[verify DNS shuffling]
-------emv- OK (1154 out of 1250, remaining: 02:18, took 0.9s, duration: 27:41)
test 1609...[CURLOPT_RESOLVE parsing]
-------emv- OK (1155 out of 1250, remaining: 02:16, took 0.9s, duration: 27:42)
test 1620...[unit tests for url.c]
-------emv- OK (1156 out of 1250, remaining: 02:15, took 0.9s, duration: 27:43)
test 1621...[unit tests for stripcredentials from URL]
-------emv- OK (1157 out of 1250, remaining: 02:13, took 0.8s, duration: 27:44)
test 1650...[DOH]
-------emv- OK (1158 out of 1250, remaining: 02:12, took 0.8s, duration: 27:45)
test 1651...[x509 parsing]
-------emv- OK (1159 out of 1250, remaining: 02:10, took 0.8s, duration: 27:46)
test 1652...[infof]
-------emv- OK (1160 out of 1250, remaining: 02:09, took 0.9s, duration: 27:46)
test 1653...[urlapi]
-------emv- OK (1161 out of 1250, remaining: 02:07, took 0.8s, duration: 27:47)
test 1654 SKIPPED: curl lacks alt-svc support
RUN: failed to start the HTTP/2 server
test 1700 SKIPPED: failed starting HTTP/2 server
test 1701 SKIPPED: failed starting HTTP/2 server
test 1702 SKIPPED: failed starting HTTP/2 server
test 1800...[HTTP/2 upgrade refused]
--pd---emv- OK (1166 out of 1250, remaining: 02:00, took 1.2s, duration: 27:53)
test 1904...[HTTP CONNECT with 204 response]
--pd-P-emv- OK (1167 out of 1250, remaining: 01:59, took 1.7s, duration: 27:55)
test 1905...[CURLOPT_COOKIELIST set to "FLUSH" of a shared cookie object]
--p---oemv- OK (1168 out of 1250, remaining: 01:57, took 1.1s, duration: 27:56)
test 1906...[CURLOPT_CURLU and CURLOPT_PORT]
--p----emv- OK (1169 out of 1250, remaining: 01:56, took 1.1s, duration: 27:57)
test 2000...[FTP RETR followed by FILE]
s-p----emv- OK (1170 out of 1250, remaining: 01:54, took 1.3s, duration: 27:59)
test 2001...[HTTP GET followed by FTP RETR followed by FILE]
s-p----emv- OK (1171 out of 1250, remaining: 01:53, took 1.3s, duration: 28:00)
test 2002...[HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ]
s-p----emv- OK (1172 out of 1250, remaining: 01:51, took 1.3s, duration: 28:01)
test 2003...[HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ then again in reverse order]
s-p----emv- OK (1173 out of 1250, remaining: 01:50, took 1.5s, duration: 28:03)
test 2005 SKIPPED: curl lacks Metalink support
test 2006 SKIPPED: curl lacks Metalink support
test 2007 SKIPPED: curl lacks Metalink support
test 2023...[HTTP authorization retry (Basic)]
--pd---emv- OK (1193 out of 1250, remaining: 01:20, took 1.1s, duration: 28:04)
test 2024...[HTTP authorization retry (Basic switching to Digest)]
--pd---emv- OK (1194 out of 1250, remaining: 01:19, took 1.1s, duration: 28:05)
test 2025...[HTTP authorization retry (Basic switching to NTLM)]
--pd---emv- OK (1195 out of 1250, remaining: 01:17, took 1.2s, duration: 28:06)
test 2026...[HTTP authorization retry (Digest switching to Basic)]
--pd---emv- OK (1196 out of 1250, remaining: 01:16, took 1.1s, duration: 28:07)
test 2027...[HTTP authorization retry (Digest)]
--pd---emv- OK (1197 out of 1250, remaining: 01:14, took 1.2s, duration: 28:08)
test 2028...[HTTP authorization retry (Digest switching to NTLM)]
--pd---emv- OK (1198 out of 1250, remaining: 01:13, took 1.2s, duration: 28:10)
test 2029...[HTTP authorization retry (NTLM switching to Basic)]
--pd---emv- OK (1199 out of 1250, remaining: 01:11, took 1.2s, duration: 28:11)
test 2030...[HTTP authorization retry (NTLM switching to Digest)]
--pd---emv- OK (1200 out of 1250, remaining: 01:10, took 1.2s, duration: 28:12)
test 2031...[HTTP authorization retry (NTLM)]
--pd---emv- OK (1201 out of 1250, remaining: 01:09, took 1.2s, duration: 28:13)
test 2032...[NTLM connection mapping]
--pd---emv- OK (1202 out of 1250, remaining: 01:07, took 1.2s, duration: 28:14)
test 2034...[simple HTTPS GET with DER public key pinning]
goto problem 35
valgrind ERROR ==27747== Invalid read of size 8
==27747== at 0x53315A5: check_free (dlerror.c:188)
==27747== by 0x5331AB1: free_key_mem (dlerror.c:221)
==27747== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==27747== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27747== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27747== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==27747== by 0x4D60EB9: exit (exit.c:139)
==27747== by 0x4D4B0A1: (below main) (libc-start.c:342)
==27747== Address 0x5764510 is 0 bytes after a block of size 32 alloc'd
==27747== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27747== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27747== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27747== by 0x24B104: err_get_state (err.c:210)
==27747== by 0x24BCDA: ERR_put_error (err.c:636)
==27747== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27747== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27747== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27747== by 0x270326: by_file_ctrl (by_file.c:111)
==27747== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27747== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27747== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27747== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27747== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27747== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27747== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27747==
==27747== Invalid free() / delete / delete[] / realloc()
==27747== at 0x48369AB: free (vg_replace_malloc.c:540)
==27747== by 0x5331AB9: free_key_mem (dlerror.c:223)
==27747== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==27747== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27747== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27747== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==27747== by 0x4D60EB9: exit (exit.c:139)
==27747== by 0x4D4B0A1: (below main) (libc-start.c:342)
==27747== Address 0x57644f8 is 8 bytes inside a block of size 32 alloc'd
==27747== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27747== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27747== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27747== by 0x24B104: err_get_state (err.c:210)
==27747== by 0x24BCDA: ERR_put_error (err.c:636)
==27747== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27747== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27747== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27747== by 0x270326: by_file_ctrl (by_file.c:111)
==27747== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27747== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27747== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27747== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27747== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27747== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27747== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27747==
==27747== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27747== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27747== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27747== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27747== by 0x24B104: err_get_state (err.c:210)
==27747== by 0x24BCDA: ERR_put_error (err.c:636)
==27747== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27747== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27747== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27747== by 0x270326: by_file_ctrl (by_file.c:111)
==27747== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27747== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27747== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27747== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27747== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27747== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27747== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27747==
== Contents of files in the log/ dir after test 2034
=== Start of file curl2034.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file curl2034.out
=== Start of file http_server.log
03:19:41.413259 signalled to die
03:19:41.413351 ========> IPv4 sws (port 8990 pid: 27451) exits with signal (15)
03:19:46.437252 Running HTTP IPv4 version on port 8990
03:19:46.437474 Wrote pid 27734 to .http_server.pid
03:19:47.434022 ====> Client connect
03:19:47.434092 accept_connection 3 returned 4
03:19:47.434136 accept_connection 3 returned 0
03:19:47.434235 Read 96 bytes
03:19:47.434277 Process 96 bytes request
03:19:47.434326 Got request: GET /verifiedserver HTTP/1.1
03:19:47.434364 Are-we-friendly question received
03:19:47.434437 Wrote request (96 bytes) input to log/server.input
03:19:47.434482 Identifying ourselves as friends
03:19:47.434606 Response sent (56 bytes) and written to log/server.response
03:19:47.434645 special request received, no persistency
03:19:47.434676 ====> Client disconnect 0
03:19:49.480987 ====> Client connect
03:19:49.481016 accept_connection 3 returned 4
03:19:49.481034 accept_connection 3 returned 0
03:19:49.481135 Read 96 bytes
03:19:49.481151 Process 96 bytes request
03:19:49.481167 Got request: GET /verifiedserver HTTP/1.1
03:19:49.481196 Are-we-friendly question received
03:19:49.481229 Wrote request (96 bytes) input to log/server.input
03:19:49.481263 Identifying ourselves as friends
03:19:49.481393 Response sent (56 bytes) and written to log/server.response
03:19:49.481413 special request received, no persistency
03:19:49.481428 ====> Client disconnect 0
03:19:52.245723 ====> Client connect
03:19:52.245748 accept_connection 3 returned 4
03:19:52.245766 accept_connection 3 returned 0
03:19:52.337027 Read 86 bytes
03:19:52.337058 Process 86 bytes request
03:19:52.337077 Got request: GET /2034 HTTP/1.1
03:19:52.337091 Requested test number 2034 part 0
03:19:52.337129 - request found to be complete
03:19:52.337169 Wrote request (86 bytes) input to log/server.input
03:19:52.337197 Send response test2034 section <data>
03:19:52.337288 Response sent (103 bytes) and written to log/server.response
03:19:52.337304 => persistent connection request ended, awaits new request
03:19:52.410189 Connection closed by client
03:19:52.410219 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x557161bcf7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x557161bcf7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x557161bcf7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x557161bcf7c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x557161bcf7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x557161bcf7c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x557161bcf7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x557161bcf7c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 27734
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.11 03:19:48 LOG5[27740]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.11 03:19:48 LOG5[27740]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.11 03:19:48 LOG5[27740]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.11 03:19:48 LOG5[27740]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.11 03:19:48 LOG5[27740]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.11 03:19:48 LOG5[27740]: Reading configuration from file /build-20624/tests/https_stunnel.conf
2019.08.11 03:19:48 LOG5[27740]: FIPS mode disabled
2019.08.11 03:19:48 LOG5[27740]: Configuration successful
2019.08.11 03:19:49 LOG5[27743]: Service [curltest] accepted connection from 127.0.0.1:42686
2019.08.11 03:19:49 LOG5[27743]: s_connect: connected 127.0.0.1:8990
2019.08.11 03:19:49 LOG5[27743]: Service [curltest] connected remote server from 127.0.0.1:46980
2019.08.11 03:19:49 LOG5[27743]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.11 03:19:51 LOG5[27748]: Service [curltest] accepted connection from 127.0.0.1:42692
2019.08.11 03:19:52 LOG5[27748]: s_connect: connected 127.0.0.1:8990
2019.08.11 03:19:52 LOG5[27748]: Service [curltest] connected remote server from 127.0.0.1:46986
2019.08.11 03:19:52 LOG5[27748]: Connection closed: 103 byte(s) sent to SSL, 86 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x55626c6887c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55626c6887c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55626c6887c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55626c6887c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [977 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:13:14 2018 GMT
* expire date: Dec 6 07:13:14 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55626c6887c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55626c6887c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55626c6887c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 17
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x55626c6887c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55626c6887c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 27734
=== End of file https_verify.out
=== Start of file server.input
GET /2034 HTTP/1.1
Host: localhost:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 27734
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 27734
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file server.response
=== Start of file stderr2034
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7 100 7 0 0 7 0 0:00:01 --:--:-- 0:00:01 8
=== End of file stderr2034
=== Start of file trace2034
03:19:51.417141 == Info: STATE: INIT => CONNECT handle 0x56c5c98; line 1362 (connection #-5000)
03:19:51.471651 == Info: Added connection 0. The cache now contains 1 members
03:19:51.511188 == Info: STATE: CONNECT => WAITRESOLVE handle 0x56c5c98; line 1403 (connection #0)
03:19:51.542169 == Info: Trying ::1:8991...
03:19:51.542806 == Info: TCP_NODELAY set
03:19:51.547800 == Info: STATE: WAITRESOLVE => WAITCONNECT handle 0x56c5c98; line 1482 (connection #0)
03:19:51.555610 == Info: connect to ::1 port 8991 failed: Connection refused
03:19:51.557748 == Info: Trying 127.0.0.1:8991...
03:19:51.557810 == Info: TCP_NODELAY set
03:19:51.562494 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:19:51.563010 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5c98; line 1538 (connection #0)
03:19:51.564049 == Info: Marked for [keep alive]: HTTP default
03:19:51.614649 == Info: ALPN, offering h2
03:19:51.614945 == Info: ALPN, offering http/1.1
03:19:51.704727 == Info: successfully set certificate verify locations:
03:19:51.704987 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:19:51.822226 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:51.827195 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:19:51.827252 => Send SSL data, 166 bytes (0xa6)
0000: ......Dy...2......3.9.x..[..N.^...G%......+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:19:51.844257 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:19:51.849655 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:19:51.849711 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y....6..Z.gSF..r..y......g...U..k.g ...[.8..V.kd....u.....0..
0040: ._.E.d../....................
03:19:51.894338 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:51.894769 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:19:51.894823 <= Recv SSL data, 977 bytes (0x3d1)
0000: ..........0...0............f..S0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071314Z..261206071314Z0T1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost0.."0...*.H.............0..........0P.p.3[7F]...^Z...
0140: ."..:A.v....$."yG&Mj.A.1. ._:./O.\#.g...X.G.v.S...#.....G.`.....
0180: .......FTB.+.5.j.F..G.w..H.\.....=). ...`'b.s....-<...>.....P...
01c0: .2.-.a.....)?I..J.u0.b..k.MqD@9....sA.....].)v.k...,C^...P.-.m..
0200: ....F.;.....T..&,O.`..!9.D(...y..D. ..eT.'Vg..'........0..0...U.
0240: ...0...localhost0...U........0...U.%..0...+.......0...U.......6.
0280: S...dG.S..i......0...U.#..0......KF..u.,..T...e.{.0...U....0.0..
02c0: .*.H.............*....Ic/....C......k.@+..X.$W..Q..".}W........x
0300: Y4#.h......ve..$..C..+..K.i....TS.%.]."........;o<..s_..l;A.;..h
0340: ......(.8#.......g......-v.zUw1I-@z.?..P..:...u6P)\&.EC.%x.....9
0380: ppFwH.dz.W_M...W......&.KT-.*..o..J.L.....Z'..l.U,cP.6.....h ~..
03c0: |....h[7F]O>.....4..
03:19:52.067381 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:19:52.067653 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:19:52.067708 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...Ex..=..;..~..u{$.%.....i4X3..s.;.I<.......xPH........
0040: ..'A\.l......4O...4..b4....7.~.v.,`.x...o|$..P..3.......l....H.U
0080: ..TG.%.H..0...46}I.....[7F]....!:..].:V..O..s[7F]6.............nh..#`z
00c0: ...RO..:...-.!.[......7.&u`.D~>. .#.^.}R.7......_...Vh...o[..9.{
0100: .........jZ...x/k.......x5d..............B....'.p....a..2v.)L...
0140: ..b._|.....xc
03:19:52.082347 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:52.082691 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:19:52.082746 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:19:52.198250 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:19:52.198497 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:19:52.198551 => Send SSL data, 70 bytes (0x46)
0000: ...BA.B..K.....b.....+.{.......n.[7F].C.j...D.4...v6'...l..YSQ.....
0040: $...).
03:19:52.210437 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:52.211015 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:19:52.211071 => Send SSL data, 1 bytes (0x1)
0000: .
03:19:52.232377 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:19:52.232433 => Send SSL data, 16 bytes (0x10)
0000: .......jP.m..#..
03:19:52.244859 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:19:52.247622 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:52.248717 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:19:52.248773 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:19:52.251207 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:19:52.256867 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:19:52.256922 <= Recv SSL data, 16 bytes (0x10)
0000: .......j......i.
03:19:52.284601 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:19:52.285261 == Info: ALPN, server did not agree to a protocol
03:19:52.287871 == Info: Server certificate:
03:19:52.296000 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
03:19:52.300675 == Info: start date: Sep 19 07:13:14 2018 GMT
03:19:52.302025 == Info: expire date: Dec 6 07:13:14 2026 GMT
03:19:52.305052 == Info: subjectAltName: host "localhost" matched cert's "localhost"
03:19:52.307341 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
03:19:52.307932 == Info: SSL certificate verify ok.
03:19:52.314503 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c5c98; line 1556 (connection #0)
03:19:52.335369 => Send SSL data, 5 bytes (0x5)
0000: ....n
03:19:52.338361 => Send header, 86 bytes (0x56)
0000: GET /2034 HTTP/1.1
0014: Host: localhost:8991
002a: User-Agent: curl/7.66.0-DEV
0047: Accept: */*
0054:
03:19:52.341266 == Info: STATE: DO => DO_DONE handle 0x56c5c98; line 1627 (connection #0)
03:19:52.341733 == Info: STATE: DO_DONE => PERFORM handle 0x56c5c98; line 1749 (connection #0)
03:19:52.346141 <= Recv SSL data, 5 bytes (0x5)
0000: ....|
03:19:52.355629 == Info: Mark bundle as not supporting multiuse
03:19:52.356225 == Info: HTTP 1.1 or later with persistent connection
03:19:52.358925 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:52.362608 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:52.362834 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:52.363988 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:52.366450 <= Recv header, 1 bytes (0x1)
0000: .
03:19:52.367267 <= Recv data, 4 bytes (0x4)
0000: MooM
03:19:52.372525 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:52.372696 <= Recv data, 3 bytes (0x3)
0000: oo.
03:19:52.374127 == Info: STATE: PERFORM => DONE handle 0x56c5c98; line 1939 (connection #0)
03:19:52.374451 == Info: multi_done
03:19:52.383497 == Info: Connection #0 to host localhost left intact
03:19:52.384715 == Info: Expire cleared (transfer 0x56c5c98)
=== End of file trace2034
=== Start of file valgrind2034
==27747== Invalid read of size 8
==27747== at 0x53315A5: check_free (dlerror.c:188)
==27747== by 0x5331AB1: free_key_mem (dlerror.c:221)
==27747== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==27747== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27747== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27747== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==27747== by 0x4D60EB9: exit (exit.c:139)
==27747== by 0x4D4B0A1: (below main) (libc-start.c:342)
==27747== Address 0x5764510 is 0 bytes after a block of size 32 alloc'd
==27747== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27747== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27747== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27747== by 0x24B104: err_get_state (err.c:210)
==27747== by 0x24BCDA: ERR_put_error (err.c:636)
==27747== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27747== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27747== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27747== by 0x270326: by_file_ctrl (by_file.c:111)
==27747== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27747== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27747== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27747== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27747== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27747== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27747== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27747==
==27747== Invalid free() / delete / delete[] / realloc()
==27747== at 0x48369AB: free (vg_replace_malloc.c:540)
==27747== by 0x5331AB9: free_key_mem (dlerror.c:223)
==27747== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==27747== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27747== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27747== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==27747== by 0x4D60EB9: exit (exit.c:139)
==27747== by 0x4D4B0A1: (below main) (libc-start.c:342)
==27747== Address 0x57644f8 is 8 bytes inside a block of size 32 alloc'd
==27747== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27747== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27747== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27747== by 0x24B104: err_get_state (err.c:210)
==27747== by 0x24BCDA: ERR_put_error (err.c:636)
==27747== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27747== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27747== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27747== by 0x270326: by_file_ctrl (by_file.c:111)
==27747== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27747== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27747== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27747== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27747== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27747== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27747== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27747==
==27747== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27747== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27747== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27747== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27747== by 0x24B104: err_get_state (err.c:210)
==27747== by 0x24BCDA: ERR_put_error (err.c:636)
==27747== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27747== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27747== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27747== by 0x270326: by_file_ctrl (by_file.c:111)
==27747== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27747== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27747== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27747== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27747== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27747== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27747== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27747==
=== End of file valgrind2034
test 2035...[HTTPS wrong DER pinnedpubkey but right CN]
goto problem 36
valgrind ERROR ==27753== Invalid read of size 8
==27753== at 0x53315A5: check_free (dlerror.c:188)
==27753== by 0x5331AB1: free_key_mem (dlerror.c:221)
==27753== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==27753== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27753== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27753== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==27753== by 0x4D60EB9: exit (exit.c:139)
==27753== by 0x4D4B0A1: (below main) (libc-start.c:342)
==27753== Address 0x57644c0 is 0 bytes after a block of size 32 alloc'd
==27753== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27753== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27753== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27753== by 0x24B104: err_get_state (err.c:210)
==27753== by 0x24BCDA: ERR_put_error (err.c:636)
==27753== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27753== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27753== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27753== by 0x270326: by_file_ctrl (by_file.c:111)
==27753== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27753== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27753== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27753== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27753== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27753== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27753== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27753==
==27753== Invalid free() / delete / delete[] / realloc()
==27753== at 0x48369AB: free (vg_replace_malloc.c:540)
==27753== by 0x5331AB9: free_key_mem (dlerror.c:223)
==27753== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==27753== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27753== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27753== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==27753== by 0x4D60EB9: exit (exit.c:139)
==27753== by 0x4D4B0A1: (below main) (libc-start.c:342)
==27753== Address 0x57644a8 is 8 bytes inside a block of size 32 alloc'd
==27753== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27753== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27753== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27753== by 0x24B104: err_get_state (err.c:210)
==27753== by 0x24BCDA: ERR_put_error (err.c:636)
==27753== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27753== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27753== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27753== by 0x270326: by_file_ctrl (by_file.c:111)
==27753== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27753== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27753== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27753== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==27753== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==27753== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==27753== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==27753==
==27753== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27753== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27753== by 0x25C282: OPENSSL_malloc (mem.c:106)
==27753== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==27753== by 0x24B104: err_get_state (err.c:210)
==27753== by 0x24BCDA: ERR_put_error (err.c:636)
==27753== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==27753== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==27753== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==27753== by 0x270326: by_file_ctrl (by_file.c:111)
==27753== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==27753== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==27753== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27753== by 0x1C80F8: ossl_connect_ste