curl / Autobuilds / Log From 2019-09-07

Log from 2019-09-07

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 36 (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 = Sat Sep 7 00:47:50 2019 UTC
testcurl: ./ is verified to be a fine git source dir
testcurl: build dir build-18252 was created fine
testcurl: run git pull in curl
Already up to date.
testcurl: The most recent curl git commits:
testcurl: 0f37c8df1 KNOWN_BUGS/TODO: cleanup and remove outdated issues
testcurl: 04ac67a47 RELEASE-NOTES: synced
testcurl: 158dcb9f8 netrc: free 'home' on error
testcurl: 4ac288400 urldata: avoid 'generic', use dedicated pointers
testcurl: 5050edb12 cleanup: move functions out of url.c and make them static
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 pkg-config... (cached) /usr/bin/pkg-config
checking for quiche options with pkg-config... 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-18252/lib'
make all-am
make[2]: Entering directory '/build-18252/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-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 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
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-quiche.lo
CC vssh/libcurl_la-libssh2.lo
CC vssh/libcurl_la-libssh.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-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 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
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-quiche.lo
CC vssh/libcurlu_la-libssh2.lo
CC vssh/libcurlu_la-libssh.lo
CCLD libcurlu.la
RUN checksrc
make[2]: Leaving directory '/build-18252/lib'
make[1]: Leaving directory '/build-18252/lib'
Making all in src
make[1]: Entering directory '/build-18252/src'
Making all in ../docs
make[2]: Entering directory '/build-18252/docs'
Making all in .
make[3]: Entering directory '/build-18252/docs'
if test "..x" != "x" -a -e "/docs/curl.1"; then \
/usr/bin/install -c -m 644 "/docs/curl.1" /build-18252/docs/curl.1; fi
cd cmdline-opts && make
make[4]: Entering directory '/build-18252/docs/cmdline-opts'
/usr/bin/perl /docs/cmdline-opts/gen.pl mainpage /docs/cmdline-opts > ../../docs/curl.1
make[4]: Leaving directory '/build-18252/docs/cmdline-opts'
make[3]: Leaving directory '/build-18252/docs'
Making all in cmdline-opts
make[3]: Entering directory '/build-18252/docs/cmdline-opts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-18252/docs/cmdline-opts'
make[2]: Leaving directory '/build-18252/docs'
make[2]: Entering directory '/build-18252/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-18252/src'
make[1]: Leaving directory '/build-18252/src'
make[1]: Entering directory '/build-18252'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/build-18252'
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.39.2 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-18252/tests'
Making all in certs
make[2]: Entering directory '/build-18252/tests/certs'
Making all in scripts
make[3]: Entering directory '/build-18252/tests/certs/scripts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-18252/tests/certs/scripts'
make[3]: Entering directory '/build-18252/tests/certs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build-18252/tests/certs'
make[2]: Leaving directory '/build-18252/tests/certs'
Making all in data
make[2]: Entering directory '/build-18252/tests/data'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build-18252/tests/data'
Making all in server
make[2]: Entering directory '/build-18252/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-18252/tests/server'
Making all in libtest
make[2]: Entering directory '/build-18252/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-18252/tests/libtest'
Making all in unit
make[2]: Entering directory '/build-18252/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-18252/tests/unit'
make[2]: Entering directory '/build-18252/tests'
cd libtest && make checksrc
make[3]: Entering directory '/build-18252/tests/libtest'
RUN checksrc
make[3]: Leaving directory '/build-18252/tests/libtest'
cd unit && make checksrc
make[3]: Entering directory '/build-18252/tests/unit'
RUN checksrc
make[3]: Leaving directory '/build-18252/tests/unit'
cd server && make checksrc
make[3]: Entering directory '/build-18252/tests/server'
RUN checksrc
make[3]: Leaving directory '/build-18252/tests/server'
make[2]: Leaving directory '/build-18252/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.39.2 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 5.2.0-2-amd64 #1 SMP Debian 5.2.9-2 (2019-08-21) x86_64 GNU/Linux
* Servers: SSL HTTP-IPv6 HTTP-unix FTP-IPv6
* Env: Valgrind
*****************************************
test 0001...[HTTP GET]
--pd---emv- OK (1 out of 1251, remaining: 66:39, took 3.2s, duration: 00:03)
test 0002...[HTTP GET with user and password]
--pd---emv- OK (2 out of 1251, remaining: 45:41, 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 1251, remaining: 38:31, took 1.2s, duration: 00:05)
test 0004...[Replaced internal and added custom HTTP headers]
--pd---emv- OK (4 out of 1251, remaining: 35:28, took 1.3s, duration: 00:06)
test 0005...[HTTP over proxy]
--pd---emv- OK (5 out of 1251, remaining: 33:30, took 1.2s, duration: 00:08)
test 0006...[HTTP with simple cookie send]
--pd---emv- OK (6 out of 1251, remaining: 32:00, took 1.2s, duration: 00:09)
test 0007...[HTTP with cookie parser and header recording]
--pd--oemv- OK (7 out of 1251, remaining: 30:55, took 1.2s, duration: 00:10)
test 0008...[HTTP with cookie parsing from header file]
--pd---emv- OK (8 out of 1251, remaining: 30:13, took 1.2s, duration: 00:11)
test 0009...[HTTP RFC1867-type formposting]
--pd---emv- OK (9 out of 1251, remaining: 29:39, took 1.2s, duration: 00:12)
test 0010...[simple HTTP PUT from file]
--pd---emv- OK (10 out of 1251, remaining: 31:14, took 2.2s, duration: 00:15)
test 0011...[simple HTTP Location: following]
--pd---emv- OK (11 out of 1251, remaining: 30:37, took 1.2s, duration: 00:16)
test 0012...[HTTP range support]
--pd---emv- OK (12 out of 1251, remaining: 30:03, took 1.2s, duration: 00:17)
test 0013...[HTTP custom request 'DELETE']
--pd---emv- OK (13 out of 1251, remaining: 29:35, took 1.2s, duration: 00:18)
test 0014...[HTTP HEAD with Connection: close]
--pd---emv- OK (14 out of 1251, remaining: 29:09, took 1.2s, duration: 00:19)
test 0015...[--write-out test]
s-p----emv- OK (15 out of 1251, remaining: 28:49, took 1.2s, duration: 00:20)
test 0016...[HTTP with proxy authorization]
--pd---emv- OK (16 out of 1251, remaining: 28:30, took 1.2s, duration: 00:22)
test 0017...[HTTP with config file on stdin]
--pd---emv- OK (17 out of 1251, remaining: 28:17, took 1.2s, duration: 00:23)
test 0018...[multiple requests using {} in URL]
s-p----emv- OK (18 out of 1251, remaining: 28:03, took 1.2s, duration: 00:24)
test 0019...[attempt connect to non-listening socket]
-------emv- OK (19 out of 1251, remaining: 27:45, took 1.1s, duration: 00:25)
test 0020...[attempt connect to non-existing host name]
-------emv- OK (20 out of 1251, remaining: 27:30, took 1.1s, duration: 00:26)
test 0021...[use curl with multiple request methods]
-------emv- OK (21 out of 1251, remaining: 27:01, took 0.9s, duration: 00:27)
test 0022...[get HTTP with URL > 10000 bytes]
--pd---emv- OK (22 out of 1251, remaining: 26:53, took 1.2s, duration: 00:28)
test 0023...[unsupported protocol:// URL]
-------emv- OK (23 out of 1251, remaining: 26:37, took 1.0s, duration: 00:29)
test 0024...[HTTP GET fail silently on HTTP error return]
--p---oemv- OK (24 out of 1251, remaining: 26:29, took 1.2s, duration: 00:31)
test 0025...[looping HTTP Location: following with --max-redirs]
--pd---emv- OK (25 out of 1251, remaining: 26:24, took 1.2s, duration: 00:32)
test 0026...[specify more -o than URLs]
--pd---emv- OK (26 out of 1251, remaining: 26:18, took 1.2s, duration: 00:33)
test 0027...[Get same cookie page several times]
--pd---emv- OK (27 out of 1251, remaining: 26:16, took 1.3s, duration: 00:34)
test 0028...[HTTP Location: following with extra spaces in header]
--pd---emv- OK (28 out of 1251, remaining: 26:10, took 1.2s, duration: 00:35)
test 0029...[HTTP with 2 secs timeout]
Warning: server logs lock timeout (2 seconds) expired
--pd---emv- OK (29 out of 1251, remaining: 28:48, took 5.1s, duration: 00:41)
test 0030...[HTTP with no data in server reply]
--p----emv- OK (30 out of 1251, remaining: 32:01, took 6.2s, duration: 00:47)
test 0031...[HTTP with weirdly formatted cookies and cookiejar storage]
--pd--oemv- OK (31 out of 1251, remaining: 31:47, took 1.2s, duration: 00:48)
test 0032...[HTTP with -d and -G]
--pd---emv- OK (32 out of 1251, remaining: 31:30, took 1.2s, duration: 00:49)
test 0033...[HTTP PUT with resume]
--pd---emv- OK (33 out of 1251, remaining: 31:53, took 2.2s, duration: 00:51)
test 0034...[HTTP GET with chunked Transfer-Encoding]
--pd---emv- OK (34 out of 1251, remaining: 31:36, took 1.2s, duration: 00:52)
test 0035...[HTTP POST binary data with embedded NUL]
--pd---emv- OK (35 out of 1251, remaining: 31:22, took 1.2s, duration: 00:54)
test 0036...[HTTP GET with bad chunked Transfer-Encoding]
--pd---emv- OK (36 out of 1251, remaining: 31:07, took 1.2s, duration: 00:55)
test 0037...[HTTP GET with nothing returned from server]
--p----emv- OK (37 out of 1251, remaining: 30:54, took 1.2s, duration: 00:56)
test 0038...[HTTP resume request without server supporting it]
--p---oemv- OK (38 out of 1251, remaining: 30:41, took 1.2s, duration: 00:57)
test 0039...[HTTP RFC1867-type formposting with filename= and type=]
--pd---emv- OK (39 out of 1251, remaining: 31:01, took 2.2s, duration: 00:59)
test 0040...[HTTP redirect with whitespace after ? (and conversion)]
--pd---emv- OK (40 out of 1251, remaining: 30:52, took 1.3s, duration: 01:01)
test 0041...[HTTP formpost with missing file]
-------emv- OK (41 out of 1251, remaining: 30:33, took 1.0s, duration: 01:02)
test 0042...[HTTP redirect with whitespace in path (and conversion)]
--pd---emv- OK (42 out of 1251, remaining: 30:25, took 1.3s, duration: 01:03)
test 0043...[HTTP Location: following over HTTP proxy]
--pd---emv- OK (43 out of 1251, remaining: 30:15, took 1.2s, duration: 01:04)
test 0044...[HTTP RFC1867-type formposting without Expect: header]
--pd---emv- OK (44 out of 1251, remaining: 30:06, took 1.2s, duration: 01:05)
test 0045...[simple HTTP Location: without protocol in initial URL]
--pd---emv- OK (45 out of 1251, remaining: 29:56, 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 1251, remaining: 29:48, took 1.2s, duration: 01:08)
test 0047...[simple HTTP 1.0 GET]
--pd---emv- OK (47 out of 1251, remaining: 29:39, took 1.2s, duration: 01:09)
test 0048...[HTTP with -d and -G and -I]
--pd---emv- OK (48 out of 1251, remaining: 29:30, took 1.2s, duration: 01:10)
test 0049...[HTTP follow redirect with ../]
--pd---emv- OK (49 out of 1251, remaining: 29:24, took 1.3s, duration: 01:11)
test 0050...[HTTP follow redirect with ../../]
--pd---emv- OK (50 out of 1251, remaining: 29:18, took 1.3s, duration: 01:13)
test 0051...[HTTP follow redirect with excessive ../]
--pd---emv- OK (51 out of 1251, remaining: 29:11, took 1.3s, duration: 01:14)
test 0052...[HTTP follow redirect with ./-prefix]
--pd---emv- OK (52 out of 1251, remaining: 29:05, took 1.3s, duration: 01:15)
test 0053...[HTTP, junk session cookies]
--pd---emv- OK (53 out of 1251, remaining: 28:57, took 1.2s, duration: 01:16)
test 0054...[HTTP with blank Location:]
--pd---emv- OK (54 out of 1251, remaining: 28:50, took 1.2s, duration: 01:18)
test 0055...[HTTP follow redirect with single slash in path]
--pd---emv- OK (55 out of 1251, remaining: 28:45, took 1.3s, duration: 01:19)
test 0056...[HTTP POST with *HUGE* request and chunked transfer-encoding]
--pd---emv- OK (56 out of 1251, remaining: 28:47, took 1.6s, duration: 01:20)
test 0057...[HTTP content-type with spaces in]
s-p----emv- OK (57 out of 1251, remaining: 28:41, took 1.2s, duration: 01:22)
test 0058...[HTTP PUT from file with weird letters]
--pd---emv- OK (58 out of 1251, remaining: 28:55, took 2.2s, duration: 01:24)
test 0059...[HTTP URL with slash but with "parameter"]
--pd---emv- OK (59 out of 1251, remaining: 28:48, took 1.2s, duration: 01:25)
test 0060...[HTTP PUT from stdin with wrong content-length]
--pd---emv- OK (60 out of 1251, remaining: 29:01, took 2.2s, duration: 01:27)
test 0061...[HTTP with various cookies and custom Host:]
--pd--oemv- OK (61 out of 1251, remaining: 28:55, took 1.2s, duration: 01:28)
test 0062...[HTTP, send cookies when using custom Host:]
--pd---emv- OK (62 out of 1251, remaining: 28:50, took 1.2s, duration: 01:30)
test 0063...[HTTP with proxy authorization set in environment]
--pd---emv- OK (63 out of 1251, remaining: 28:43, took 1.2s, duration: 01:31)
test 0064...[HTTP with Digest authorization]
--pd---emv- OK (64 out of 1251, remaining: 28:38, took 1.3s, duration: 01:32)
test 0065...[HTTP with Digest authorization with bad password]
--pd---emv- OK (65 out of 1251, remaining: 28:33, took 1.2s, duration: 01:33)
test 0066...[HTTP GET without headers in the response]
--pd---emv- OK (66 out of 1251, remaining: 28:27, took 1.2s, duration: 01:35)
test 0067...[HTTP with NTLM authorization]
--pd---emv- OK (67 out of 1251, remaining: 28:22, took 1.2s, duration: 01:36)
test 0068...[HTTP with NTLM authorization and wrong password]
--pd---emv- OK (68 out of 1251, remaining: 28:17, took 1.3s, duration: 01:37)
test 0069...[HTTP with NTLM, Basic or Wild-and-crazy authorization]
--pd---emv- OK (69 out of 1251, remaining: 28:13, took 1.3s, duration: 01:38)
test 0070...[HTTP with Digest *OR* NTLM authorization]
--pd---emv- OK (70 out of 1251, remaining: 28:08, took 1.2s, duration: 01:40)
test 0071...[HTTP and -F upload in config file]
--pd---emv- OK (71 out of 1251, remaining: 28:03, took 1.2s, duration: 01:41)
test 0072...[HTTP with Digest *OR* Basic authorization]
--pd---emv- OK (72 out of 1251, remaining: 27:58, 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 1251, remaining: 27:53, took 1.2s, duration: 01:43)
test 0074...[HTTP, urlglob {}-retrieval and -o #[num] usage]
--p---oemv- OK (74 out of 1251, remaining: 27:48, took 1.2s, duration: 01:44)
test 0075...[HTTP, urlglob retrieval with bad range]
s------emv- OK (75 out of 1251, remaining: 27:39, took 0.9s, duration: 01:45)
test 0076...[HTTP, -O with no file name part in the URL]
-------emv- OK (76 out of 1251, remaining: 27:30, took 0.9s, duration: 01:46)
test 0077...[HTTP with -z "older date"]
--pd---emv- OK (77 out of 1251, remaining: 27:25, took 1.2s, duration: 01:47)
test 0078...[HTTP with -z "newer date"]
--pd---emv- OK (78 out of 1251, remaining: 27:21, took 1.2s, duration: 01:49)
test 0079...[FTP over HTTP proxy]
--pd---emv- OK (79 out of 1251, remaining: 27:16, 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 1251, remaining: 27:48, took 3.7s, duration: 01:54)
test 0081...[HTTP with proxy using NTLM authorization]
--pd---emv- OK (81 out of 1251, remaining: 27:45, took 1.3s, duration: 01:55)
test 0082...[HTTP with proxy requiring NTLM, but we send Basic]
--pd---emv- OK (82 out of 1251, remaining: 27:40, took 1.2s, duration: 01:56)
test 0083...[HTTP over proxy-tunnel with site authentication]
--pd-P-emv- OK (83 out of 1251, remaining: 27:42, took 1.7s, duration: 01:58)
test 0084...[HTTP over proxy with site authentication]
--pd---emv- OK (84 out of 1251, remaining: 27:38, took 1.2s, duration: 01:59)
test 0085...[HTTP over proxy with site and proxy authentication]
--pd---emv- OK (85 out of 1251, remaining: 27:33, took 1.2s, duration: 02:00)
test 0086...[HTTP, urlglob []-retrieval and -o #[num] usage]
--p---oemv- OK (86 out of 1251, remaining: 27:31, took 1.4s, duration: 02:01)
test 0087...[urlglob with out of range -o #[num] usage]
------oemv- OK (87 out of 1251, remaining: 27:27, took 1.3s, duration: 02:03)
test 0088...[HTTP PUT with Digest authorization]
--pd---emv- OK (88 out of 1251, remaining: 27:37, took 2.3s, duration: 02:05)
test 0089...[HTTP with NTLM and follow-location]
--pd---emv- OK (89 out of 1251, remaining: 27:35, took 1.3s, duration: 02:06)
test 0090...[HTTP with NTLM via --anyauth, and then follow-location with NTLM again]
--pd---emv- OK (90 out of 1251, remaining: 27:34, took 1.4s, duration: 02:08)
test 0091...[HTTP with NTLM/Negotiate/Basic, anyauth and user with domain, with size 0]
--pd---emv- OK (91 out of 1251, remaining: 27:30, took 1.3s, duration: 02:09)
test 0092...[HTTP resume transfer with the whole file already downloaded]
--pd---emv- OK (92 out of 1251, remaining: 27:26, took 1.2s, duration: 02:10)
test 0093...[HTTP GET with failed proxy auth]
--pd---emv- OK (93 out of 1251, remaining: 27:21, took 1.2s, duration: 02:11)
test 0094...[HTTPS GET with failed proxy auth (CONNECT 1.0)]
--p----emv- OK (94 out of 1251, remaining: 27:16, took 1.1s, duration: 02:12)
test 0095...[HTTP over proxytunnel using POST]
--pd-P-emv- OK (95 out of 1251, remaining: 27:18, took 1.7s, duration: 02:14)
test 0096...[curl memory tracking operational]
------oemv- OK (96 out of 1251, remaining: 27:10, took 0.9s, duration: 02:15)
test 0097...[HTTP POST with custom content-type]
--pd---emv- OK (97 out of 1251, remaining: 27:05, took 1.2s, duration: 02:16)
test 0098...[HTTP PUT from stdin with set size, disabling chunked transfer-encoding]
--pd---emv- OK (98 out of 1251, remaining: 27:13, took 2.2s, duration: 02:18)
test 0099...[HTTP GET with large-file resume point and failed resume]
--pd---emv- OK (99 out of 1251, remaining: 27:09, took 1.2s, duration: 02:20)
test 0100...[FTP dir list PASV]
--pd---emv- OK (100 out of 1251, remaining: 27:28, took 3.2s, duration: 02:23)
test 0101...[FTP dir list, PORT with specified IP]
--pd---emv- OK (101 out of 1251, remaining: 27:24, took 1.2s, duration: 02:24)
test 0102...[FTP RETR PASV]
--pd---emv- OK (102 out of 1251, remaining: 27:20, took 1.2s, duration: 02:25)
test 0103...[FTP RETR PORT with CWD]
--pd---emv- OK (103 out of 1251, remaining: 27:16, took 1.2s, duration: 02:26)
test 0104...[FTP --head to get file size only]
--p----emv- OK (104 out of 1251, remaining: 27:12, took 1.2s, duration: 02:27)
test 0105...[FTP user+password in URL and ASCII transfer]
--pd---emv- OK (105 out of 1251, remaining: 27:08, took 1.2s, duration: 02:29)
test 0106...[FTP GET with type=A style ASCII URL using %20 codes]
--pd---emv- OK (106 out of 1251, remaining: 27:04, took 1.2s, duration: 02:30)
test 0107...[FTP PASV upload file]
--p-u--emv- OK (107 out of 1251, remaining: 27:00, took 1.2s, duration: 02:31)
test 0108...[FTP PORT upload with CWD]
--p-u--emv- OK (108 out of 1251, remaining: 26:56, took 1.2s, duration: 02:32)
test 0109...[FTP PASV upload append]
--p-u--emv- OK (109 out of 1251, remaining: 26:53, took 1.2s, duration: 02:33)
test 0110...[FTP download resume with set limit]
--pd---emv- OK (110 out of 1251, remaining: 26:49, took 1.2s, duration: 02:35)
test 0111...[FTP download resume beyond file size]
Killed
--p----emv- OK (111 out of 1251, remaining: 26:45, took 1.2s, duration: 02:36)
test 0112...[FTP PASV upload resume]
--p-u--emv- OK (112 out of 1251, remaining: 26:42, took 1.2s, duration: 02:37)
test 0113...[FTP download, failed login: USER not valid]
--p----emv- OK (113 out of 1251, remaining: 26:37, took 1.1s, duration: 02:38)
test 0114...[FTP download, failed login: PASS not valid]
--p----emv- OK (114 out of 1251, remaining: 26:33, took 1.1s, duration: 02:39)
test 0115...[FTP download, failed PASV]
--p----emv- OK (115 out of 1251, remaining: 26:29, took 1.2s, duration: 02:40)
test 0116...[FTP download, failed PORT]
--p----emv- OK (116 out of 1251, remaining: 26:26, took 1.2s, duration: 02:42)
test 0117...[FTP download, failed TYPE]
Killed
--p----emv- OK (117 out of 1251, remaining: 26:22, took 1.2s, duration: 02:43)
test 0118...[FTP download, failed RETR]
Killed
--p----emv- OK (118 out of 1251, remaining: 26:19, took 1.2s, duration: 02:44)
test 0119...[FTP download, failed RETR with PORT]
Killed
--p----emv- OK (119 out of 1251, remaining: 26:15, took 1.2s, duration: 02:45)
test 0120...[ftp download with post-quote delete operation]
--pd---emv- OK (120 out of 1251, remaining: 26:12, took 1.2s, duration: 02:46)
test 0121...[ftp download with post- and pre-transfer delete operations]
--pd---emv- OK (121 out of 1251, remaining: 26:09, took 1.2s, duration: 02:48)
test 0122...[FTP download resume with whole file already downloaded]
Killed
--p----emv- OK (122 out of 1251, remaining: 26:05, took 1.2s, duration: 02:49)
test 0123...[FTP upload resume with whole file already downloaded]
Killed
--p----emv- OK (123 out of 1251, remaining: 26:02, took 1.2s, duration: 02:50)
test 0124...[FTP download, failed PWD]
--pd---emv- OK (124 out of 1251, remaining: 25:59, took 1.2s, duration: 02:51)
test 0125...[FTP download, failed CWD]
--p----emv- OK (125 out of 1251, remaining: 25:55, took 1.1s, duration: 02:52)
test 0126...[FTP download with multiple replies at once in RETR]
--pd---emv- OK (126 out of 1251, remaining: 25:52, took 1.2s, duration: 02:53)
test 0127...[FTP --disable-epsv]
--pd---emv- OK (127 out of 1251, remaining: 25:49, took 1.2s, duration: 02:55)
test 0128...[FTP upload with --crlf]
--p-u--emv- OK (128 out of 1251, remaining: 25:46, took 1.2s, duration: 02:56)
test 0129...[FTP GET with type=A style ASCII URL and understated server SIZE]
--pd---emv- OK (129 out of 1251, remaining: 25:43, took 1.2s, duration: 02:57)
test 0130...[FTP (optional .netrc; no user/pass) dir list PASV]
--pd---emv- OK (130 out of 1251, remaining: 25:40, took 1.2s, duration: 02:58)
test 0131...[FTP (optional .netrc; user/no pass) dir list PASV]
--pd---emv- OK (131 out of 1251, remaining: 25:37, took 1.2s, duration: 02:59)
test 0132...[FTP (optional .netrc; user/passwd supplied) dir list PASV]
--pd---emv- OK (132 out of 1251, remaining: 25:34, took 1.2s, duration: 03:01)
test 0133...[FTP (compulsory .netrc; ignored user/passwd) dir list PASV]
--pd---emv- OK (133 out of 1251, remaining: 25:32, took 1.2s, duration: 03:02)
test 0134...[FTP (optional .netrc; programmatic user/passwd) dir list PASV]
--pd---emv- OK (134 out of 1251, remaining: 25:29, took 1.2s, duration: 03:03)
test 0135...[FTP retrieve a byte-range]
--pd---emv- OK (135 out of 1251, remaining: 25:26, took 1.2s, duration: 03:04)
test 0136...[FTP with user and no password]
--pd---emv- OK (136 out of 1251, remaining: 25:23, took 1.2s, duration: 03:05)
test 0137...[FTP download without size in RETR string]
--pd---emv- OK (137 out of 1251, remaining: 25:20, took 1.2s, duration: 03:07)
test 0138...[FTP download without size in RETR string and no SIZE command]
--pd---emv- OK (138 out of 1251, remaining: 25:18, took 1.2s, duration: 03:08)
test 0139...[FTP download a newer file with -z]
--pd---emv- OK (139 out of 1251, remaining: 25:15, took 1.2s, duration: 03:09)
test 0140...[FTP download file with -z, expected to not transfer]
--p----emv- OK (140 out of 1251, remaining: 25:12, took 1.2s, duration: 03:10)
test 0141...[FTP download info with -I]
s-p----emv- OK (141 out of 1251, remaining: 25:10, took 1.2s, duration: 03:11)
test 0142...[FTP URL with 150 dir levels]
--pd---emv- OK (142 out of 1251, remaining: 25:08, took 1.3s, duration: 03:13)
test 0143...[FTP URL with type=a]
--pd---emv- OK (143 out of 1251, remaining: 25:05, took 1.2s, duration: 03:14)
test 0144...[FTP NLST dir list without contents, using PORT]
Killed
--p----emv- OK (144 out of 1251, remaining: 25:03, took 1.2s, duration: 03:15)
test 0145...[FTP NLST dir list with weird reply code, using PORT]
Killed
--p----emv- OK (145 out of 1251, remaining: 25:00, took 1.2s, duration: 03:16)
test 0146...[persistent FTP with different paths]
--pd---emv- OK (146 out of 1251, remaining: 24:58, took 1.2s, duration: 03:17)
test 0147...[FTP with --ftp-create-dirs (failing CWD)]
--pd---emv- OK (147 out of 1251, remaining: 24:55, took 1.2s, duration: 03:19)
test 0148...[FTP with --ftp-create-dirs (failing MKD)]
--p----emv- OK (148 out of 1251, remaining: 24:52, took 1.2s, duration: 03:20)
test 0149...[FTP with multiple uploads]
--p---oemv- OK (149 out of 1251, remaining: 24:50, took 1.2s, duration: 03:21)
test 0150...[HTTP with NTLM authorization and --fail]
--pd---emv- OK (150 out of 1251, remaining: 24:48, took 1.3s, duration: 03:22)
test 0151...[HTTP GET with an error code that might trick authentication]
--pd---emv- OK (151 out of 1251, remaining: 24:45, took 1.2s, duration: 03:23)
test 0152...[HTTP GET with an error code that might trick authentication and --fail]
--p----emv- OK (152 out of 1251, remaining: 24:42, took 1.1s, duration: 03:25)
test 0153...[HTTP with Digest authorization with stale=true]
s-p----emv- OK (153 out of 1251, remaining: 24:41, took 1.3s, duration: 03:26)
test 0154...[HTTP PUT with --anyauth authorization (picking Digest)]
--pd---emv- OK (154 out of 1251, remaining: 24:46, took 2.2s, duration: 03:28)
test 0155...[HTTP PUT with --anyauth authorization (picking NTLM)]
--pd---emv- OK (155 out of 1251, remaining: 24:51, took 2.3s, duration: 03:30)
test 0156...[HTTP PUT with --anyauth (when the server requires none)]
--pd---emv- OK (156 out of 1251, remaining: 24:56, took 2.2s, duration: 03:33)
test 0157...[HTTP GET with --anyauth (when the server requires none)]
--pd---emv- OK (157 out of 1251, remaining: 24:53, took 1.2s, duration: 03:34)
test 0158...[HTTP multipart formpost with only a 100 reply]
--pd---emv- OK (158 out of 1251, remaining: 24:51, took 1.2s, duration: 03:35)
test 0159...[HTTP with NTLM authorization when talking HTTP/1.0 (known to fail)]
--pd---emv- OK (159 out of 1251, remaining: 24:48, took 1.2s, duration: 03:36)
test 0160...[HTTP with delayed close, conn reuse, connection reset and retry]
s-p----emv- OK (160 out of 1251, remaining: 25:00, took 3.2s, duration: 03:40)
test 0161...[FTP RETR PASV]
--pd---emv- OK (161 out of 1251, remaining: 24:57, took 1.2s, duration: 03:41)
test 0162...[HTTP GET asking for --proxy-ntlm when some other authentication is required]
--p----emv- OK (162 out of 1251, remaining: 24:54, took 1.2s, duration: 03:42)
test 0163...[HTTP multipart formpost with contents from a file]
--pd---emv- OK (163 out of 1251, remaining: 24:52, took 1.2s, duration: 03:43)
test 0164...[HTTP range with multiple ranges]
--pd---emv- OK (164 out of 1251, remaining: 24:49, took 1.2s, duration: 03:44)
test 0165...[HTTP over proxy with IDN host name]
--pd---emv- OK (165 out of 1251, remaining: 24:47, took 1.3s, duration: 03:46)
test 0166...[HTTP formpost a file with spaces in name]
--pd---emv- OK (166 out of 1251, remaining: 24:45, took 1.2s, duration: 03:47)
test 0167...[HTTP with proxy-requiring-Basic to site-requiring-Digest]
--pd---emv- OK (167 out of 1251, remaining: 24:43, took 1.3s, duration: 03:48)
test 0168...[HTTP with proxy-requiring-Digest to site-requiring-Digest]
--pd---emv- OK (168 out of 1251, remaining: 24:41, took 1.3s, duration: 03:49)
test 0169...[HTTP with proxy-requiring-NTLM to site-requiring-Digest]
--pd---emv- OK (169 out of 1251, remaining: 24:39, took 1.3s, duration: 03:51)
test 0170...[HTTP POST with --proxy-ntlm and no SSL with no response]
--p----emv- OK (170 out of 1251, remaining: 24:37, took 1.2s, duration: 03:52)
test 0171...[HTTP, get cookie with dot prefixed full domain]
--pd--oemv- OK (171 out of 1251, remaining: 24:34, took 1.2s, duration: 03:53)
test 0172...[HTTP with cookies file and custom added cookie]
--pd---emv- OK (172 out of 1251, remaining: 24:32, took 1.2s, duration: 03:54)
test 0173...[HTTP RFC1867-formpost a file from stdin with "faked" filename]
--pd---emv- OK (173 out of 1251, remaining: 24:30, took 1.2s, duration: 03:55)
test 0174...[HTTP POST --anyauth to server not requiring any auth at all]
--pd---emv- OK (174 out of 1251, remaining: 24:27, took 1.2s, duration: 03:57)
test 0175...[HTTP POST --digest to server not requiring any auth at all]
--pd---emv- OK (175 out of 1251, remaining: 24:24, took 1.2s, duration: 03:58)
test 0176...[HTTP POST --ntlm to server not requiring any auth at all]
--pd---emv- OK (176 out of 1251, remaining: 24:22, took 1.2s, duration: 03:59)
test 0177...[HTTP POST --digest to server doing a 302-location response]
--pd---emv- OK (177 out of 1251, remaining: 24:20, took 1.2s, duration: 04:00)
test 0178...[HTTP response with negative Content-Length]
--pd---emv- OK (178 out of 1251, remaining: 24:17, took 1.2s, duration: 04:01)
test 0179...[HTTP using proxy and cookies with path checks]
--pd---emv- OK (179 out of 1251, remaining: 24:15, took 1.2s, duration: 04:03)
test 0180...[HTTP 1.0 PUT]
--pd---emv- OK (180 out of 1251, remaining: 24:13, took 1.2s, duration: 04:04)
test 0181...[HTTP 1.0 POST]
--pd---emv- OK (181 out of 1251, remaining: 24:11, took 1.2s, duration: 04:05)
test 0182...[FTP download an empty file]
--pd---emv- OK (182 out of 1251, remaining: 24:08, took 1.2s, duration: 04:06)
test 0183...[HTTP GET two URLs over a single proxy with persistent connection]
--pd---emv- OK (183 out of 1251, remaining: 24:06, took 1.2s, duration: 04:07)
test 0184...[HTTP replace Host: when following Location: to new host]
--pd---emv- OK (184 out of 1251, remaining: 24:04, took 1.2s, duration: 04:09)
test 0185...[HTTP replace Host: when following Location: on the same host]
--pd---emv- OK (185 out of 1251, remaining: 24:02, took 1.2s, duration: 04:10)
test 0186...[HTTP RFC1867-type formposting with types on text fields]
--pd---emv- OK (186 out of 1251, remaining: 24:00, took 1.2s, duration: 04:11)
test 0187...[HTTP redirect with bad host name separation and slash in parameters]
--pd---emv- OK (187 out of 1251, remaining: 23:57, took 1.2s, duration: 04:12)
test 0188...[HTTP GET with resume and redirect]
--pd---emv- OK (188 out of 1251, remaining: 23:55, took 1.2s, duration: 04:13)
test 0189...[HTTP GET with resume and redirect (to a page that doesn't resume)]
--pd---emv- OK (189 out of 1251, remaining: 23:53, took 1.2s, duration: 04:15)
test 0190...[FTP download with strict timeout and slow CWD]
Killed
--p----emv- OK (190 out of 1251, remaining: 24:35, took 9.1s, duration: 04:24)
test 0191...[FTP URL with ?-letters in username and password ]
--pd---emv- OK (191 out of 1251, remaining: 24:43, took 3.2s, duration: 04:27)
test 0192...[HTTP GET -w num_connects with one simple connect]
s-p----emv- OK (192 out of 1251, remaining: 24:41, took 1.2s, duration: 04:28)
test 0193...[HTTP GET -w num_connects with redirected fetch (2 connects)]
s-p----emv- OK (193 out of 1251, remaining: 24:38, took 1.2s, duration: 04:29)
test 0194...[HTTP resume transfer with the whole file already downloaded and --fail]
--pd---emv- OK (194 out of 1251, remaining: 24:35, took 1.2s, duration: 04:30)
test 0195...[FTP response 530 after PASS, temporarily not allowed access]
--p----emv- OK (195 out of 1251, remaining: 24:33, took 1.1s, duration: 04:32)
test 0196...[FTP transient error, retry request once]
--p----emv- OK (196 out of 1251, remaining: 24:35, took 2.2s, duration: 04:34)
test 0197...[HTTP GET --retry on 503 error with output to stdout]
s-p----emv- OK (197 out of 1251, remaining: 24:38, took 2.2s, duration: 04:36)
test 0198...[HTTP GET --retry on 503 error with output to file]
--pd---emv- OK (198 out of 1251, remaining: 24:41, took 2.2s, duration: 04:38)
test 0199...[HTTP with -d, -G and {}]
--pd---emv- OK (199 out of 1251, remaining: 24:38, took 1.2s, duration: 04:39)
test 0200...[basic file:// file]
---d---emv- OK (200 out of 1251, remaining: 24:35, took 1.1s, duration: 04:40)
test 0201...[missing file:// file]
-------emv- OK (201 out of 1251, remaining: 24:32, took 1.1s, duration: 04:41)
test 0202...[two file:// URLs to stdout]
s------emv- OK (202 out of 1251, remaining: 24:29, took 1.1s, duration: 04:43)
test 0203...[file:/path URL with a single slash]
---d---emv- OK (203 out of 1251, remaining: 24:26, took 1.1s, duration: 04:44)
test 0204...["upload" with file://]
------oemv- OK (204 out of 1251, remaining: 24:23, took 1.1s, duration: 04:45)
test 0205...["upload" with file://]
-------emv- OK (205 out of 1251, remaining: 24:20, took 1.1s, duration: 04:46)
test 0206...[HTTP proxy CONNECT auth Digest]
--pd---emv- OK (206 out of 1251, remaining: 24:18, took 1.3s, duration: 04:47)
test 0207...[HTTP GET with chunked Transfer-Encoding closed prematurely]
--pd---emv- OK (207 out of 1251, remaining: 24:16, took 1.2s, duration: 04:48)
test 0208...[HTTP PUT to a FTP URL with username+password - over HTTP proxy]
--pd---emv- OK (208 out of 1251, remaining: 24:19, took 2.2s, duration: 04:51)
test 0209...[HTTP proxy CONNECT auth NTLM]
--pd---emv- OK (209 out of 1251, remaining: 24:17, took 1.3s, duration: 04:52)
test 0210...[Get two FTP files from the same remote dir: no second CWD]
--pd---emv- OK (210 out of 1251, remaining: 24:14, took 1.2s, duration: 04:53)
test 0211...[Get two FTP files with no remote EPSV support]
--pd---emv- OK (211 out of 1251, remaining: 24:12, took 1.2s, duration: 04:54)
test 0212...[Get two FTP files with no remote EPRT support]
--pd---emv- OK (212 out of 1251, remaining: 24:10, took 1.2s, duration: 04:55)
test 0213...[HTTP 1.0 proxy CONNECT auth NTLM and then POST]
--pd---emv- OK (213 out of 1251, remaining: 24:08, took 1.3s, duration: 04:57)
test 0214...[HTTP URL with escaped { and }]
--pd---emv- OK (214 out of 1251, remaining: 24:06, took 1.2s, duration: 04:58)
test 0215...[Get two FTP dir listings from the same remote dir: no second CWD]
--pd---emv- OK (215 out of 1251, remaining: 24:04, took 1.3s, duration: 04:59)
test 0216...[FTP upload two files to the same dir]
--p----emv- OK (216 out of 1251, remaining: 24:01, took 1.2s, duration: 05:00)
test 0217...[HTTP proxy CONNECT to proxy returning 405]
s-p----emv- OK (217 out of 1251, remaining: 23:59, took 1.1s, duration: 05:02)
test 0218...[HTTP PUT from a file but enforce chunked transfer-encoding]
--pd---emv- OK (218 out of 1251, remaining: 24:01, took 2.2s, duration: 05:04)
test 0219...[try using proxy with unsupported scheme]
-------emv- OK (219 out of 1251, remaining: 23:58, took 1.1s, duration: 05:05)
test 0220...[HTTP GET gzip compressed content]
--pd---emv- OK (220 out of 1251, remaining: 23:56, took 1.2s, duration: 05:06)
test 0221...[HTTP GET gzip compressed content with broken gzip header]
--pd---emv- OK (221 out of 1251, remaining: 23:54, took 1.2s, duration: 05:07)
test 0222...[HTTP GET deflate compressed content]
--pd---emv- OK (222 out of 1251, remaining: 23:51, took 1.2s, duration: 05:08)
test 0223...[HTTP GET deflate compressed content with broken deflate header]
--pd---emv- OK (223 out of 1251, remaining: 23:49, took 1.2s, duration: 05:10)
test 0224...[HTTP GET gzip compressed content with huge comment and extra field]
--pd---emv- OK (224 out of 1251, remaining: 23:47, took 1.2s, duration: 05:11)
test 0225...[FTP %0a-code in URL's name part]
-------emv- OK (225 out of 1251, remaining: 23:44, took 1.1s, duration: 05:12)
test 0226...[FTP %0d-code in URL's CWD part]
-------emv- OK (226 out of 1251, remaining: 23:41, took 1.1s, duration: 05:13)
test 0227...[FTP with quote ops]
--pd---emv- OK (227 out of 1251, remaining: 23:39, took 1.2s, duration: 05:14)
test 0228...[FTP RETR with ACCT]
--pd---emv- OK (228 out of 1251, remaining: 23:37, took 1.2s, duration: 05:15)
test 0229...[FTP RETR with bad ACCT]
--p----emv- OK (229 out of 1251, remaining: 23:34, took 1.2s, duration: 05:17)
test 0230...[HTTP GET multiply compressed content]
--pd---emv- OK (230 out of 1251, remaining: 23:32, took 1.2s, duration: 05:18)
test 0231...[file:// with resume]
---d---emv- OK (231 out of 1251, remaining: 23:30, took 1.1s, duration: 05:19)
test 0232...[HTTP GET deflate raw-compressed content]
--pd---emv- OK (232 out of 1251, remaining: 23:28, took 1.2s, duration: 05:20)
test 0233...[HTTP, proxy, site+proxy auth and Location: to new host]
--pd---emv- OK (233 out of 1251, remaining: 23:26, took 1.2s, duration: 05:21)
test 0234...[HTTP, proxy, site+proxy auth and Location: to new host using location-trusted]
--pd---emv- OK (234 out of 1251, remaining: 23:23, took 1.2s, duration: 05:23)
test 0235...[FTP resumed upload but no file present remotely]
--p-u--emv- OK (235 out of 1251, remaining: 23:21, took 1.2s, duration: 05:24)
test 0236...[FTP resume upload but denied access to remote file]
Killed
--p----emv- OK (236 out of 1251, remaining: 23:19, took 1.2s, duration: 05:25)
test 0237...[FTP getting bad host in 227-response to PASV]
--p----emv- OK (237 out of 1251, remaining: 23:17, took 1.2s, duration: 05:26)
test 0238...[FTP getting bad port in response to EPSV]
--p----emv- OK (238 out of 1251, remaining: 23:14, took 1.2s, duration: 05:27)
test 0239...[HTTP proxy-auth NTLM and then POST]
--pd---emv- OK (239 out of 1251, remaining: 23:12, took 1.3s, duration: 05:28)
test 0240...[HTTP-IPv6 GET]
--pd---emv- OK (240 out of 1251, remaining: 23:19, took 3.2s, duration: 05:32)
test 0241...[HTTP-IPv6 GET (using ip6-localhost)]
--pd---emv- OK (241 out of 1251, remaining: 23:17, took 1.2s, duration: 05:33)
test 0242...[HTTP-IPv6 GET with username+password in URL]
--pd---emv- OK (242 out of 1251, remaining: 23:15, took 1.2s, duration: 05:34)
test 0243...[HTTP POST with --proxy-anyauth, picking NTLM]
--pd---emv- OK (243 out of 1251, remaining: 23:13, took 1.3s, duration: 05:35)
test 0244...[FTP dir listing with nocwd and URL encoded path]
--pd---emv- OK (244 out of 1251, remaining: 23:11, took 1.2s, duration: 05:37)
test 0245...[HTTP POST --digest]
--pd---emv- OK (245 out of 1251, remaining: 23:09, took 1.2s, duration: 05:38)
test 0246...[HTTP POST --digest with server doing a 100 before 401 response]
--pd---emv- OK (246 out of 1251, remaining: 23:07, took 1.3s, duration: 05:39)
test 0247...[FTP upload time condition evaluates TRUE => skip upload]
--p----emv- OK (247 out of 1251, remaining: 23:05, took 1.2s, duration: 05:40)
test 0248...[FTP upload time condition evaluates FALSE => upload anyway]
--p-u--emv- OK (248 out of 1251, remaining: 23:03, took 1.2s, duration: 05:41)
test 0249...[HTTP 304 response with "illegal" Content-Length: header]
--pd---emv- OK (249 out of 1251, remaining: 23:00, took 1.2s, duration: 05:43)
test 0250...[FTP dir list PASV with slow response]
--pd---emv- OK (250 out of 1251, remaining: 23:39, took 11.4s, duration: 05:54)
test 0251...[FTP dir list, PORT with specified IP and slow response]
--pd---emv- OK (251 out of 1251, remaining: 24:18, took 11.6s, duration: 06:06)
test 0252...[FTP IPv6 dir list PASV]
--pd---emv- OK (252 out of 1251, remaining: 24:24, took 3.2s, duration: 06:09)
test 0253...[FTP IPv6 dir list with EPRT]
--pd---emv- OK (253 out of 1251, remaining: 24:21, took 1.2s, duration: 06:10)
test 0254...[FTP IPv6 dir list PASV and --disable-epsv]
--pd---emv- OK (254 out of 1251, remaining: 24:19, took 1.2s, duration: 06:11)
test 0255...[FTP IPv6 dir list with EPRT and --disable-eprt]
--pd---emv- OK (255 out of 1251, remaining: 24:16, took 1.2s, duration: 06:12)
test 0256...[HTTP resume request over proxy with auth without server supporting it]
--p---oemv- OK (256 out of 1251, remaining: 24:13, took 1.2s, duration: 06:14)
test 0257...[HTTP Location: following with --netrc-optional]
--pd---emv- OK (257 out of 1251, remaining: 24:11, took 1.3s, duration: 06:15)
test 0258...[HTTP POST multipart without Expect: header using proxy anyauth (Digest)]
--pd---emv- OK (258 out of 1251, remaining: 24:09, took 1.3s, duration: 06:16)
test 0259...[HTTP POST multipart with Expect: header using proxy anyauth (Digest)]
--pd---emv- OK (259 out of 1251, remaining: 24:15, took 3.3s, duration: 06:19)
test 0260...[HTTP GET URL without slash but with questionmark]
--pd---emv- OK (260 out of 1251, remaining: 24:12, took 1.2s, duration: 06:21)
test 0261...[FTP RETR with 226 response code to TYPE]
--pd---emv- OK (261 out of 1251, remaining: 24:10, took 1.2s, duration: 06:22)
test 0262...[HTTP GET with binary zeroes in header]
--pd---emv- OK (262 out of 1251, remaining: 24:07, took 1.2s, duration: 06:23)
test 0263...[HTTP-IPv6 GET with proxy specified using IPv6-numerical address]
--pd---emv- OK (263 out of 1251, remaining: 24:04, took 1.2s, duration: 06:24)
test 0264...[HTTP with proxy string including http:// and user+password]
--pd---emv- OK (264 out of 1251, remaining: 24:02, took 1.2s, duration: 06:25)
test 0265...[HTTP proxy CONNECT auth NTLM and then POST, response-body in the 407]
--pd---emv- OK (265 out of 1251, remaining: 24:00, took 1.3s, duration: 06:27)
test 0266...[HTTP GET with chunked Transfer-Encoding and chunked trailer]
--pd--oemv- OK (266 out of 1251, remaining: 23:58, took 1.2s, duration: 06:28)
test 0267...[HTTP POST with NTLM authorization and added custom headers]
--pd---emv- OK (267 out of 1251, remaining: 23:55, took 1.3s, duration: 06:29)
test 0268...[HTTP POST a non-existing file]
--pd---emv- OK (268 out of 1251, remaining: 23:53, took 1.2s, duration: 06:30)
test 0269...[HTTP --ignore-content-length]
--pd---emv- OK (269 out of 1251, remaining: 23:50, took 1.2s, duration: 06:31)
test 0270...[FTP RETR PASV --ftp-skip-pasv-ip]
--pd---emv- OK (270 out of 1251, remaining: 23:48, took 1.2s, duration: 06:33)
test 0271...[TFTP retrieve]
--pd---emv- OK (271 out of 1251, remaining: 23:53, took 3.1s, duration: 06:36)
test 0272...[FTP timed conditioned get file with identical time stamp ]
--p----emv- OK (272 out of 1251, remaining: 23:50, took 1.2s, duration: 06:37)
test 0273...[HTTP with two Digest authorization headers]
--pd---emv- OK (273 out of 1251, remaining: 23:48, took 1.2s, duration: 06:38)
test 0274...[HTTP Location: following with --max-redirs 0]
--pd---emv- OK (274 out of 1251, remaining: 23:45, took 1.2s, duration: 06:39)
test 0275...[HTTP CONNECT with proxytunnel getting two URLs from the same host]
--pd-P-emv- OK (275 out of 1251, remaining: 23:45, took 1.7s, duration: 06:41)
test 0276...[HTTP Location: following with multiple question marks in URLs]
--pd---emv- OK (276 out of 1251, remaining: 23:42, took 1.2s, duration: 06:42)
test 0277...[HTTP RFC1867-type formposting with custom Content-Type]
--pd---emv- OK (277 out of 1251, remaining: 23:40, took 1.2s, duration: 06:43)
test 0278...[HTTP with proxy string including http:// and user+empty password]
--pd---emv- OK (278 out of 1251, remaining: 23:38, took 1.2s, duration: 06:45)
test 0279...[HTTP with proxy string including http:// and user only]
--pd---emv- OK (279 out of 1251, remaining: 23:35, took 1.2s, duration: 06:46)
test 0280...[FTP --ftp-alternative-to-user on USER failure]
--pd---emv- OK (280 out of 1251, remaining: 23:33, took 1.2s, duration: 06:47)
test 0281...[HTTP PUT from file with 100 + 401 responses and -f without auth given]
--pd---emv- OK (281 out of 1251, remaining: 23:34, took 2.2s, duration: 06:49)
test 0282...[HTTP GET with no response body or headers]
--pd---emv- OK (282 out of 1251, remaining: 23:32, took 1.2s, duration: 06:50)
test 0283...[TFTP retrieve on invalid file]
--p----emv- OK (283 out of 1251, remaining: 23:29, took 1.1s, duration: 06:52)
test 0284...[TFTP retrieve of boundary case 512 byte file]
--pd---emv- OK (284 out of 1251, remaining: 23:27, took 1.1s, duration: 06:53)
test 0285...[TFTP send]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (285 out of 1251, remaining: 23:31, took 3.1s, duration: 06:56)
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 1251, remaining: 23:41, took 5.0s, duration: 07:01)
test 0287...[HTTP proxy CONNECT with custom User-Agent header]
s-p----emv- OK (287 out of 1251, remaining: 23:39, took 1.2s, duration: 07:02)
test 0288...[file:// with (unsupported) proxy, authentication and range]
---d---emv- OK (288 out of 1251, remaining: 23:36, took 1.1s, duration: 07:03)
test 0289...[FTP resume upload but denied access to local file]
-------emv- OK (289 out of 1251, remaining: 23:33, took 1.0s, duration: 07:04)
test 0290...[FTP download maximum filesize exceeded]
Killed
--p----emv- OK (290 out of 1251, remaining: 23:30, took 1.2s, duration: 07:05)
test 0291...[FTP download maximum filesize not exceeded]
--pd---emv- OK (291 out of 1251, remaining: 23:28, took 1.2s, duration: 07:06)
test 0292...[HTTP GET with maximum filesize not exceeded]
--pd---emv- OK (292 out of 1251, remaining: 23:26, took 1.2s, duration: 07:08)
test 0293...[HTTP GET with maximum filesize exceeded]
--p----emv- OK (293 out of 1251, remaining: 23:23, took 1.1s, duration: 07:09)
test 0294...[FTP --ftp-account on ACCT request]
--pd---emv- OK (294 out of 1251, remaining: 23:21, took 1.2s, duration: 07:10)
test 0295...[FTP ACCT request without --ftp-account]
--p----emv- OK (295 out of 1251, remaining: 23:18, took 1.1s, duration: 07:11)
test 0296...[FTP CWD with --ftp-method multicwd]
--pd---emv- OK (296 out of 1251, remaining: 23:16, took 1.2s, duration: 07:12)
test 0297...[FTP CWD with --ftp-method singlecwd]
--pd---emv- OK (297 out of 1251, remaining: 23:14, took 1.2s, duration: 07:13)
test 0298...[FTP CWD with --ftp-method nocwd]
--pd---emv- OK (298 out of 1251, remaining: 23:11, took 1.2s, duration: 07:15)
test 0299...[FTP over HTTP proxy with user:pass not in url]
--pd---emv- OK (299 out of 1251, remaining: 23:09, took 1.2s, duration: 07:16)
test 0300...[simple HTTPS GET]
goto problem 2
valgrind ERROR ==19988== Invalid read of size 8
==19988== at 0x53325A5: check_free (dlerror.c:188)
==19988== by 0x5332AB1: free_key_mem (dlerror.c:221)
==19988== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==19988== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19988== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19988== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==19988== by 0x4C49EB9: exit (exit.c:139)
==19988== by 0x4C340A1: (below main) (libc-start.c:342)
==19988== Address 0x5af7130 is 0 bytes after a block of size 32 alloc'd
==19988== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19988== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==19988== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==19988== by 0x24AE36: err_get_state (err.c:210)
==19988== by 0x24BA0C: ERR_put_error (err.c:636)
==19988== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==19988== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==19988== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==19988== by 0x270058: by_file_ctrl (by_file.c:111)
==19988== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==19988== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==19988== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19988== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==19988== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==19988== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==19988== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==19988==
==19988== Invalid free() / delete / delete[] / realloc()
==19988== at 0x48369AB: free (vg_replace_malloc.c:540)
==19988== by 0x5332AB9: free_key_mem (dlerror.c:223)
==19988== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==19988== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19988== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19988== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==19988== by 0x4C49EB9: exit (exit.c:139)
==19988== by 0x4C340A1: (below main) (libc-start.c:342)
==19988== Address 0x5af7118 is 8 bytes inside a block of size 32 alloc'd
==19988== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19988== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==19988== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==19988== by 0x24AE36: err_get_state (err.c:210)
==19988== by 0x24BA0C: ERR_put_error (err.c:636)
==19988== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==19988== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==19988== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==19988== by 0x270058: by_file_ctrl (by_file.c:111)
==19988== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==19988== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==19988== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19988== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==19988== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==19988== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==19988== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==19988==
==19988== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==19988== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19988== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==19988== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==19988== by 0x24AE36: err_get_state (err.c:210)
==19988== by 0x24BA0C: ERR_put_error (err.c:636)
==19988== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==19988== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==19988== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==19988== by 0x270058: by_file_ctrl (by_file.c:111)
==19988== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==19988== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==19988== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19988== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==19988== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==19988== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==19988== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==19988==
== 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:27.449734 ====> Client connect
02:58:27.449766 accept_connection 3 returned 4
02:58:27.449779 accept_connection 3 returned 0
02:58:27.449902 Read 96 bytes
02:58:27.449920 Process 96 bytes request
02:58:27.449937 Got request: GET /verifiedserver HTTP/1.1
02:58:27.449959 Are-we-friendly question received
02:58:27.449993 Wrote request (96 bytes) input to log/server.input
02:58:27.450015 Identifying ourselves as friends
02:58:27.450093 Response sent (56 bytes) and written to log/server.response
02:58:27.450110 special request received, no persistency
02:58:27.450121 ====> Client disconnect 0
02:58:31.423436 ====> Client connect
02:58:31.423462 accept_connection 3 returned 4
02:58:31.423477 accept_connection 3 returned 0
02:58:31.505922 Read 85 bytes
02:58:31.505956 Process 85 bytes request
02:58:31.505970 Got request: GET /300 HTTP/1.1
02:58:31.505980 Requested test number 300 part 0
02:58:31.506003 - request found to be complete
02:58:31.506028 Wrote request (85 bytes) input to log/server.input
02:58:31.506050 Send response test300 section <data>
02:58:31.506126 Response sent (103 bytes) and written to log/server.response
02:58:31.506142 => persistent connection request ended, awaits new request
02:58:31.584448 Connection closed by client
02:58:31.584475 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.09.07 02:58:26 LOG5[19983]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.07 02:58:26 LOG5[19983]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.07 02:58:26 LOG5[19983]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.07 02:58:26 LOG5[19983]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.07 02:58:26 LOG5[19983]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.07 02:58:26 LOG5[19983]: Reading configuration from file /build-18252/tests/https_stunnel.conf
2019.09.07 02:58:26 LOG5[19983]: FIPS mode disabled
2019.09.07 02:58:26 LOG5[19983]: Configuration successful
2019.09.07 02:58:27 LOG5[19986]: Service [curltest] accepted connection from 127.0.0.1:57694
2019.09.07 02:58:27 LOG5[19986]: s_connect: connected 127.0.0.1:8990
2019.09.07 02:58:27 LOG5[19986]: Service [curltest] connected remote server from 127.0.0.1:36546
2019.09.07 02:58:27 LOG5[19986]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.07 02:58:29 LOG5[19989]: Service [curltest] accepted connection from 127.0.0.1:57698
2019.09.07 02:58:31 LOG5[19989]: s_connect: connected 127.0.0.1:8990
2019.09.07 02:58:31 LOG5[19989]: Service [curltest] connected remote server from 127.0.0.1:36550
2019.09.07 02:58:31 LOG5[19989]: 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 0x56377eeef828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x56377eeef828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56377eeef828; line 1665 (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 0x56377eeef828; line 1682 (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 0x56377eeef828; line 1701 (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 0x56377eeef828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x56377eeef828; line 1877 (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 0x56377eeef828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x56377eeef828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 18779
=== 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: 18779
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:29.369930 == Info: STATE: INIT => CONNECT handle 0x56c7098; line 1491 (connection #-5000)
02:58:29.424552 == Info: Added connection 0. The cache now contains 1 members
02:58:29.441835 == Info: Trying 127.0.0.1:8991...
02:58:29.442438 == Info: TCP_NODELAY set
02:58:29.447528 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7098; line 1547 (connection #0)
02:58:29.459086 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:29.459647 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7098; line 1665 (connection #0)
02:58:29.460775 == Info: Marked for [keep alive]: HTTP default
02:58:29.511163 == Info: ALPN, offering h2
02:58:29.511437 == Info: ALPN, offering http/1.1
02:58:30.906875 == Info: successfully set certificate verify locations:
02:58:30.907137 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:31.020878 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:31.026005 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:31.026066 => Send SSL data, 148 bytes (0x94)
0000: ......V...z.fz....k...\4..|>..W..5K.8.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:31.043118 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:31.048504 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:31.048560 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...=......,.VM.$.7..k......N.H.... .V...y.Q.....>.,.....u...
0040: ...J..../................
02:58:31.092305 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:31.092652 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:31.092710 <= 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:31.191114 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:31.191326 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:31.191380 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..RQ...&.j.~.6..!D.m5.dVm..U...`....uw...7......r..C.\..
0040: R...r.........sP...F....t....D...W..f.f.K).1..]_...%...1w.gX...\
0080: ....jc~P.}.:..Z...].].M......ow]......mHFD..G.$g|.a........g..s~
00c0: h).-....H........K.|:-.Vp..fQ..<[.........m....Yr.G.3OE..F..+.}.
0100: ....Y....!5..F>..z....c.h4..R.'..b.b...IT....u.[7F]..$.3y....... ..
0140: .b...I?5.-q..
02:58:31.260392 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:31.260599 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:58:31.260653 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:58:31.375841 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:58:31.376028 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:58:31.376082 => Send SSL data, 70 bytes (0x46)
0000: ...BA..v..I...{...U_:r.........n.2......IfmQ...v.8.s...........x
0040: p.....
02:58:31.387987 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:31.388573 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:58:31.388630 => Send SSL data, 1 bytes (0x1)
0000: .
02:58:31.410046 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:58:31.410106 => Send SSL data, 16 bytes (0x10)
0000: .....d.Mw.I.....
02:58:31.422565 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:58:31.425080 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:31.426170 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:58:31.426227 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:58:31.428680 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:58:31.434357 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:58:31.434413 <= Recv SSL data, 16 bytes (0x10)
0000: .......f..>_....
02:58:31.462929 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:58:31.463594 == Info: ALPN, server did not agree to a protocol
02:58:31.466244 == Info: Server certificate:
02:58:31.473757 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:31.479908 == Info: start date: Aug 31 23:39:18 2018 GMT
02:58:31.480860 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:58:31.481798 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:31.482665 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:58:31.484167 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c7098; line 1685 (connection #0)
02:58:31.504245 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:58:31.507151 => 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:31.510059 == Info: STATE: DO => DO_DONE handle 0x56c7098; line 1756 (connection #0)
02:58:31.510526 == Info: STATE: DO_DONE => PERFORM handle 0x56c7098; line 1877 (connection #0)
02:58:31.514943 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:58:31.523977 == Info: Mark bundle as not supporting multiuse
02:58:31.524569 == Info: HTTP 1.1 or later with persistent connection
02:58:31.527269 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:58:31.538238 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
02:58:31.539058 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:58:31.539284 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:58:31.540137 <= Recv SSL data, 5 bytes (0x5)
0000: ..../
02:58:31.541281 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
02:58:31.543739 <= Recv header, 1 bytes (0x1)
0000: .
02:58:31.544383 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
02:58:31.548006 == Info: STATE: PERFORM => DONE handle 0x56c7098; line 2067 (connection #0)
02:58:31.548330 == Info: multi_done
02:58:31.557367 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace300
=== Start of file valgrind300
==19988== Invalid read of size 8
==19988== at 0x53325A5: check_free (dlerror.c:188)
==19988== by 0x5332AB1: free_key_mem (dlerror.c:221)
==19988== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==19988== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19988== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19988== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==19988== by 0x4C49EB9: exit (exit.c:139)
==19988== by 0x4C340A1: (below main) (libc-start.c:342)
==19988== Address 0x5af7130 is 0 bytes after a block of size 32 alloc'd
==19988== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19988== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==19988== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==19988== by 0x24AE36: err_get_state (err.c:210)
==19988== by 0x24BA0C: ERR_put_error (err.c:636)
==19988== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==19988== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==19988== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==19988== by 0x270058: by_file_ctrl (by_file.c:111)
==19988== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==19988== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==19988== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19988== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==19988== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==19988== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==19988== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==19988==
==19988== Invalid free() / delete / delete[] / realloc()
==19988== at 0x48369AB: free (vg_replace_malloc.c:540)
==19988== by 0x5332AB9: free_key_mem (dlerror.c:223)
==19988== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==19988== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19988== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19988== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==19988== by 0x4C49EB9: exit (exit.c:139)
==19988== by 0x4C340A1: (below main) (libc-start.c:342)
==19988== Address 0x5af7118 is 8 bytes inside a block of size 32 alloc'd
==19988== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19988== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==19988== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==19988== by 0x24AE36: err_get_state (err.c:210)
==19988== by 0x24BA0C: ERR_put_error (err.c:636)
==19988== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==19988== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==19988== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==19988== by 0x270058: by_file_ctrl (by_file.c:111)
==19988== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==19988== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==19988== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19988== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==19988== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==19988== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==19988== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==19988==
==19988== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==19988== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19988== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==19988== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==19988== by 0x24AE36: err_get_state (err.c:210)
==19988== by 0x24BA0C: ERR_put_error (err.c:636)
==19988== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==19988== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==19988== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==19988== by 0x270058: by_file_ctrl (by_file.c:111)
==19988== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==19988== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==19988== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19988== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==19988== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==19988== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==19988== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==19988==
=== End of file valgrind300
test 0301...[HTTPS GET with user and password]
goto problem 3
valgrind ERROR ==19992== Invalid read of size 8
==19992== at 0x53325A5: check_free (dlerror.c:188)
==19992== by 0x5332AB1: free_key_mem (dlerror.c:221)
==19992== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==19992== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19992== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19992== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==19992== by 0x4C49EB9: exit (exit.c:139)
==19992== by 0x4C340A1: (below main) (libc-start.c:342)
==19992== Address 0x5afa1c0 is 0 bytes after a block of size 32 alloc'd
==19992== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19992== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==19992== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==19992== by 0x24AE36: err_get_state (err.c:210)
==19992== by 0x24BA0C: ERR_put_error (err.c:636)
==19992== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==19992== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==19992== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==19992== by 0x270058: by_file_ctrl (by_file.c:111)
==19992== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==19992== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==19992== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19992== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==19992== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==19992== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==19992== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==19992==
==19992== Invalid free() / delete / delete[] / realloc()
==19992== at 0x48369AB: free (vg_replace_malloc.c:540)
==19992== by 0x5332AB9: free_key_mem (dlerror.c:223)
==19992== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==19992== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19992== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19992== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==19992== by 0x4C49EB9: exit (exit.c:139)
==19992== by 0x4C340A1: (below main) (libc-start.c:342)
==19992== Address 0x5afa1a8 is 8 bytes inside a block of size 32 alloc'd
==19992== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19992== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==19992== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==19992== by 0x24AE36: err_get_state (err.c:210)
==19992== by 0x24BA0C: ERR_put_error (err.c:636)
==19992== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==19992== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==19992== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==19992== by 0x270058: by_file_ctrl (by_file.c:111)
==19992== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==19992== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==19992== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19992== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==19992== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==19992== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==19992== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==19992==
==19992== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==19992== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19992== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==19992== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==19992== by 0x24AE36: err_get_state (err.c:210)
==19992== by 0x24BA0C: ERR_put_error (err.c:636)
==19992== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==19992== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==19992== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==19992== by 0x270058: by_file_ctrl (by_file.c:111)
==19992== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==19992== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==19992== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19992== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==19992== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==19992== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==19992== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==19992==
== 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:34.699784 ====> Client connect
02:58:34.699823 accept_connection 3 returned 4
02:58:34.699839 accept_connection 3 returned 0
02:58:34.786628 Read 120 bytes
02:58:34.786660 Process 120 bytes request
02:58:34.786674 Got request: GET /301 HTTP/1.1
02:58:34.786683 Requested test number 301 part 0
02:58:34.786707 - request found to be complete
02:58:34.786731 Wrote request (120 bytes) input to log/server.input
02:58:34.786750 Send response test301 section <data>
02:58:34.786772 connection close instruction "swsclose" found in response
02:58:34.786847 Response sent (130 bytes) and written to log/server.response
02:58:34.786865 instructed to close connection after server-reply
02:58:34.786874 ====> 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:32.628662 == Info: STATE: INIT => CONNECT handle 0x56c7538; line 1491 (connection #-5000)
02:58:32.684820 == Info: Added connection 0. The cache now contains 1 members
02:58:32.701919 == Info: Trying 127.0.0.1:8991...
02:58:32.702522 == Info: TCP_NODELAY set
02:58:32.707787 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7538; line 1547 (connection #0)
02:58:32.719375 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:32.719935 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7538; line 1665 (connection #0)
02:58:32.721070 == Info: Marked for [keep alive]: HTTP default
02:58:32.771602 == Info: ALPN, offering h2
02:58:32.771875 == Info: ALPN, offering http/1.1
02:58:34.183007 == Info: successfully set certificate verify locations:
02:58:34.183265 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:34.297148 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:34.302243 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:34.302303 => Send SSL data, 148 bytes (0x94)
0000: ......V..O....l..A..bJ.[7F]..s@.[.....4b.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:34.319340 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:34.324721 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:34.324777 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..,>#a........Y=..E......./8\."... =iE......F...^&....E..e[7F]D
0040: J....e../................
02:58:34.368513 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:34.368852 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:34.368909 <= 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:34.467364 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:34.467573 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:34.467629 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..RQ...&.j.~.6..!D.m5.dVm..U...`....uw...7......r..C.\..
0040: R...r..........NK....%.N..'...O.iv,...T... ..2qM{u.`.U..U....z..
0080: >.gF.M..t..RNB..[.A;8.!O.`g]>.......C....J.W..V......Uy.m..:.EG.
00c0: .2..y.............s.s.m..o.:Z..........,i...G.T.8...6U...sz.....
0100: E..[7F]..(.j..IP}L.D..V`:..pF,.w...nR`...................8..Z..w...
0140: .c....m..z..g
02:58:34.536675 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:34.536869 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:58:34.536923 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:58:34.652245 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:58:34.652434 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:58:34.652489 => Send SSL data, 70 bytes (0x46)
0000: ...BA.,.......5f......R...m:Qv*:Nu..*ML:I."k.L._H{`...Z..v.}c.._
0040: ..$..(
02:58:34.664399 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:34.664984 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:58:34.665040 => Send SSL data, 1 bytes (0x1)
0000: .
02:58:34.686391 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:58:34.686450 => Send SSL data, 16 bytes (0x10)
0000: ...... ..L.h....
02:58:34.698907 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:58:34.701595 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:34.702686 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:58:34.702742 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:58:34.705196 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:58:34.710866 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:58:34.710922 <= Recv SSL data, 16 bytes (0x10)
0000: .....|...IH'....
02:58:34.739363 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:58:34.740024 == Info: ALPN, server did not agree to a protocol
02:58:34.742667 == Info: Server certificate:
02:58:34.750169 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:34.756309 == Info: start date: Aug 31 23:39:18 2018 GMT
02:58:34.757262 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:58:34.758191 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:34.759054 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:58:34.760557 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c7538; line 1685 (connection #0)
02:58:34.767488 == Info: Server auth using Basic with user 'fake'
02:58:34.784968 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:34.787858 => 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:34.790902 == Info: STATE: DO => DO_DONE handle 0x56c7538; line 1756 (connection #0)
02:58:34.791365 == Info: STATE: DO_DONE => PERFORM handle 0x56c7538; line 1877 (connection #0)
02:58:34.795783 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:58:34.807133 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
02:58:34.812562 == Info: Mark bundle as not supporting multiuse
02:58:34.813237 == Info: HTTP 1.1 or later with persistent connection
02:58:34.815950 <= Recv header, 25 bytes (0x19)
0000: HTTP/1.1 200 OK swsclose.
02:58:34.819842 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:58:34.820733 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
02:58:34.820949 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:58:34.822604 <= Recv header, 24 bytes (0x18)
0000: Content-Type: text/html.
02:58:34.822917 <= Recv SSL data, 5 bytes (0x5)
0000: ...."
02:58:34.823099 <= Recv header, 19 bytes (0x13)
0000: Funny-head: yesyes.
02:58:34.823845 == Info: no chunk, no close, no size. Assume close to signal end
02:58:34.824117 == Info: Marked for [closure]: HTTP: No end-of-message indicator
02:58:34.826360 <= Recv header, 1 bytes (0x1)
0000: .
02:58:34.837217 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:34.838108 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
02:58:34.838166 <= Recv SSL data, 2 bytes (0x2)
0000: ..
02:58:34.839998 <= Recv data, 0 bytes (0x0)
02:58:34.843282 == Info: STATE: PERFORM => DONE handle 0x56c7538; line 2067 (connection #0)
02:58:34.843775 == Info: multi_done
02:58:34.855728 == Info: Closing connection 0
02:58:34.857365 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:34.857956 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:58:34.858011 => Send SSL data, 2 bytes (0x2)
0000: ..
02:58:34.918221 == Info: The cache now contains 0 members
=== End of file trace301
=== Start of file valgrind301
==19992== Invalid read of size 8
==19992== at 0x53325A5: check_free (dlerror.c:188)
==19992== by 0x5332AB1: free_key_mem (dlerror.c:221)
==19992== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==19992== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19992== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19992== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==19992== by 0x4C49EB9: exit (exit.c:139)
==19992== by 0x4C340A1: (below main) (libc-start.c:342)
==19992== Address 0x5afa1c0 is 0 bytes after a block of size 32 alloc'd
==19992== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19992== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==19992== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==19992== by 0x24AE36: err_get_state (err.c:210)
==19992== by 0x24BA0C: ERR_put_error (err.c:636)
==19992== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==19992== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==19992== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==19992== by 0x270058: by_file_ctrl (by_file.c:111)
==19992== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==19992== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==19992== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19992== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==19992== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==19992== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==19992== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==19992==
==19992== Invalid free() / delete / delete[] / realloc()
==19992== at 0x48369AB: free (vg_replace_malloc.c:540)
==19992== by 0x5332AB9: free_key_mem (dlerror.c:223)
==19992== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==19992== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19992== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19992== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==19992== by 0x4C49EB9: exit (exit.c:139)
==19992== by 0x4C340A1: (below main) (libc-start.c:342)
==19992== Address 0x5afa1a8 is 8 bytes inside a block of size 32 alloc'd
==19992== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19992== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==19992== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==19992== by 0x24AE36: err_get_state (err.c:210)
==19992== by 0x24BA0C: ERR_put_error (err.c:636)
==19992== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==19992== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==19992== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==19992== by 0x270058: by_file_ctrl (by_file.c:111)
==19992== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==19992== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==19992== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19992== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==19992== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==19992== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==19992== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==19992==
==19992== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==19992== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19992== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==19992== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==19992== by 0x24AE36: err_get_state (err.c:210)
==19992== by 0x24BA0C: ERR_put_error (err.c:636)
==19992== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==19992== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==19992== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==19992== by 0x270058: by_file_ctrl (by_file.c:111)
==19992== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==19992== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==19992== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19992== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==19992== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==19992== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==19992== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==19992==
=== End of file valgrind301
test 0302...[HTTPS GET over HTTP proxy fails]
-------emv- OK (302 out of 1251, remaining: 23:21, took 1.1s, duration: 07:26)
test 0303...[HTTPS with 8 secs timeout]
Warning: server logs lock timeout (2 seconds) expired
goto problem 4
valgrind ERROR ==20000== Invalid read of size 8
==20000== at 0x53325A5: check_free (dlerror.c:188)
==20000== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20000== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20000== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20000== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20000== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20000== by 0x4C49EB9: exit (exit.c:139)
==20000== by 0x4C340A1: (below main) (libc-start.c:342)
==20000== Address 0x5af7130 is 0 bytes after a block of size 32 alloc'd
==20000== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20000== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20000== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20000== by 0x24AE36: err_get_state (err.c:210)
==20000== by 0x24BA0C: ERR_put_error (err.c:636)
==20000== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20000== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20000== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20000== by 0x270058: by_file_ctrl (by_file.c:111)
==20000== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20000== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20000== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20000== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20000== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20000== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20000== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20000==
==20000== Invalid free() / delete / delete[] / realloc()
==20000== at 0x48369AB: free (vg_replace_malloc.c:540)
==20000== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20000== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20000== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20000== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20000== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20000== by 0x4C49EB9: exit (exit.c:139)
==20000== by 0x4C340A1: (below main) (libc-start.c:342)
==20000== Address 0x5af7118 is 8 bytes inside a block of size 32 alloc'd
==20000== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20000== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20000== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20000== by 0x24AE36: err_get_state (err.c:210)
==20000== by 0x24BA0C: ERR_put_error (err.c:636)
==20000== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20000== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20000== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20000== by 0x270058: by_file_ctrl (by_file.c:111)
==20000== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20000== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20000== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20000== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20000== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20000== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20000== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20000==
==20000== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20000== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20000== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20000== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20000== by 0x24AE36: err_get_state (err.c:210)
==20000== by 0x24BA0C: ERR_put_error (err.c:636)
==20000== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20000== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20000== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20000== by 0x270058: by_file_ctrl (by_file.c:111)
==20000== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20000== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20000== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20000== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20000== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20000== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20000== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20000==
== 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:39.135360 ====> Client connect
02:58:39.135398 accept_connection 3 returned 4
02:58:39.135418 accept_connection 3 returned 0
02:58:39.217739 Read 90 bytes
02:58:39.217776 Process 90 bytes request
02:58:39.217794 Got request: GET /want/303 HTTP/1.1
02:58:39.217808 Requested test number 303 part 0
02:58:39.217841 - request found to be complete
02:58:39.217875 Wrote request (90 bytes) input to log/server.input
02:58:39.217905 Send response test303 section <data>
02:58:39.217994 Response sent (94 bytes) and written to log/server.response
02:58:39.218011 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 5 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:37.072723 == Info: STATE: INIT => CONNECT handle 0x56c7098; line 1491 (connection #-5000)
02:58:37.128365 == Info: Added connection 0. The cache now contains 1 members
02:58:37.145399 == Info: Trying 127.0.0.1:8991...
02:58:37.146000 == Info: TCP_NODELAY set
02:58:37.150374 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7098; line 1547 (connection #0)
02:58:37.161902 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:37.162463 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7098; line 1665 (connection #0)
02:58:37.163581 == Info: Marked for [keep alive]: HTTP default
02:58:37.213938 == Info: ALPN, offering h2
02:58:37.214219 == Info: ALPN, offering http/1.1
02:58:38.618824 == Info: successfully set certificate verify locations:
02:58:38.619080 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:38.732574 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:38.737697 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:38.737755 => Send SSL data, 148 bytes (0x94)
0000: ......4[..D.{..k..6.U.u/.7R...5...........+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:38.754789 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:38.760166 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:38.760221 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.....m..$.$.v.../>...'s%.....I...1 .{8{7iBb(N.vj..C....v..;.
0040: .%t:.a../................
02:58:38.803952 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:38.804297 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:38.804354 <= 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:38.902678 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:38.902887 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:38.902941 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..RQ...&.j.~.6..!D.m5.dVm..U...`....uw...7......r..C.\..
0040: R...r........:TrP...........|u...Et.s`.PX......@..Z..&...%%..h.m
0080: ..Z%t*L...).r.K...n.m.-V.Q...\.$qp.]e..2.Gj....-.....O.O.......O
00c0: ..P.7"1R`8TV......`.+&./+Ug3.u.7.SPoN...j..4..TD.L.O]v..0#Z....s
0100: *.L..GI......mu...;...}.Gl.9.4....Y.(f.i.l\.......6l....-..].6<.
0140: .......j|.Q,j
02:58:38.971876 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:38.972070 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:58:38.972124 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:58:39.087795 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:58:39.088002 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:58:39.088055 => Send SSL data, 70 bytes (0x46)
0000: ...BA../............P.......;.._...Y9..x<o....C....L.URio#..(..+
0040: G.*...
02:58:39.099966 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:39.100549 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:58:39.100604 => Send SSL data, 1 bytes (0x1)
0000: .
02:58:39.121979 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:58:39.122038 => Send SSL data, 16 bytes (0x10)
0000: ....9X<5.Vt.....
02:58:39.134492 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:58:39.137055 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:39.138148 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:58:39.138203 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:58:39.140655 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:58:39.146310 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:58:39.146365 <= Recv SSL data, 16 bytes (0x10)
0000: .....0.gk.....x5
02:58:39.174813 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:58:39.175477 == Info: ALPN, server did not agree to a protocol
02:58:39.178117 == Info: Server certificate:
02:58:39.185609 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:39.191761 == Info: start date: Aug 31 23:39:18 2018 GMT
02:58:39.192711 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:58:39.193639 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:39.194503 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:58:39.196009 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c7098; line 1685 (connection #0)
02:58:39.216074 => Send SSL data, 5 bytes (0x5)
0000: ....r
02:58:39.219063 => 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:39.222004 == Info: STATE: DO => DO_DONE handle 0x56c7098; line 1756 (connection #0)
02:58:39.222606 == Info: STATE: DO_DONE => PERFORM handle 0x56c7098; line 1877 (connection #0)
02:58:39.227028 <= Recv SSL data, 5 bytes (0x5)
0000: ....v
02:58:39.236066 == Info: Mark bundle as not supporting multiuse
02:58:39.236661 == Info: HTTP 1.1 or later with persistent connection
02:58:39.239372 <= Recv header, 17 bytes (0x11)
0000: HTTP/1.1 200 OK
02:58:39.243236 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:58:39.244314 == Info: Marked for [closure]: Connection: close used
02:58:39.244438 <= Recv header, 19 bytes (0x13)
0000: Connection: close
02:58:39.247049 <= Recv header, 2 bytes (0x2)
0000:
02:58:39.247862 <= Recv data, 19 bytes (0x13)
0000: _data_result_data_.
02:58:45.093432 == Info: Operation timed out after 8001 milliseconds with 19 bytes received
02:58:45.094475 == Info: multi_done
02:58:45.109441 == Info: Closing connection 0
02:58:45.111109 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:45.112188 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:58:45.112243 => Send SSL data, 2 bytes (0x2)
0000: ..
02:58:45.172191 == Info: The cache now contains 0 members
02:58:45.179713 == Info: Expire cleared (transfer 0x56c7098)
=== End of file trace303
=== Start of file valgrind303
==20000== Invalid read of size 8
==20000== at 0x53325A5: check_free (dlerror.c:188)
==20000== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20000== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20000== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20000== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20000== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20000== by 0x4C49EB9: exit (exit.c:139)
==20000== by 0x4C340A1: (below main) (libc-start.c:342)
==20000== Address 0x5af7130 is 0 bytes after a block of size 32 alloc'd
==20000== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20000== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20000== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20000== by 0x24AE36: err_get_state (err.c:210)
==20000== by 0x24BA0C: ERR_put_error (err.c:636)
==20000== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20000== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20000== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20000== by 0x270058: by_file_ctrl (by_file.c:111)
==20000== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20000== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20000== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20000== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20000== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20000== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20000== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20000==
==20000== Invalid free() / delete / delete[] / realloc()
==20000== at 0x48369AB: free (vg_replace_malloc.c:540)
==20000== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20000== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20000== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20000== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20000== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20000== by 0x4C49EB9: exit (exit.c:139)
==20000== by 0x4C340A1: (below main) (libc-start.c:342)
==20000== Address 0x5af7118 is 8 bytes inside a block of size 32 alloc'd
==20000== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20000== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20000== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20000== by 0x24AE36: err_get_state (err.c:210)
==20000== by 0x24BA0C: ERR_put_error (err.c:636)
==20000== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20000== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20000== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20000== by 0x270058: by_file_ctrl (by_file.c:111)
==20000== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20000== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20000== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20000== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20000== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20000== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20000== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20000==
==20000== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20000== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20000== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20000== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20000== by 0x24AE36: err_get_state (err.c:210)
==20000== by 0x24BA0C: ERR_put_error (err.c:636)
==20000== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20000== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20000== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20000== by 0x270058: by_file_ctrl (by_file.c:111)
==20000== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20000== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20000== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20000== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20000== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20000== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20000== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20000==
=== End of file valgrind303
test 0304...[HTTPS multipart formpost]
goto problem 5
valgrind ERROR ==20006== Invalid read of size 8
==20006== at 0x53325A5: check_free (dlerror.c:188)
==20006== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20006== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20006== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20006== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20006== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20006== by 0x4C49EB9: exit (exit.c:139)
==20006== by 0x4C340A1: (below main) (libc-start.c:342)
==20006== Address 0x5b023d0 is 0 bytes after a block of size 32 alloc'd
==20006== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20006== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20006== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20006== by 0x24AE36: err_get_state (err.c:210)
==20006== by 0x24BA0C: ERR_put_error (err.c:636)
==20006== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20006== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20006== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20006== by 0x270058: by_file_ctrl (by_file.c:111)
==20006== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20006== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20006== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20006== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20006== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20006== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20006== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20006==
==20006== Invalid free() / delete / delete[] / realloc()
==20006== at 0x48369AB: free (vg_replace_malloc.c:540)
==20006== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20006== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20006== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20006== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20006== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20006== by 0x4C49EB9: exit (exit.c:139)
==20006== by 0x4C340A1: (below main) (libc-start.c:342)
==20006== Address 0x5b023b8 is 8 bytes inside a block of size 32 alloc'd
==20006== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20006== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20006== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20006== by 0x24AE36: err_get_state (err.c:210)
==20006== by 0x24BA0C: ERR_put_error (err.c:636)
==20006== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20006== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20006== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20006== by 0x270058: by_file_ctrl (by_file.c:111)
==20006== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20006== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20006== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20006== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20006== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20006== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20006== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20006==
==20006== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20006== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20006== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20006== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20006== by 0x24AE36: err_get_state (err.c:210)
==20006== by 0x24BA0C: ERR_put_error (err.c:636)
==20006== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20006== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20006== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20006== by 0x270058: by_file_ctrl (by_file.c:111)
==20006== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20006== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20006== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20006== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20006== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20006== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20006== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20006==
== 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:58:59.238999 Continuing after sleeping 20 seconds
02:58:59.239123 => persistent connection request ended, awaits new request
02:58:59.239157 Connection closed by client
02:58:59.239184 ====> Client disconnect 0
02:58:59.239267 Error removing lock file log/serverlogs.lock error: 2 No such file or directory
02:58:59.239332 ====> Client connect
02:58:59.239366 accept_connection 3 returned 4
02:58:59.239394 accept_connection 3 returned 0
02:58:59.239423 Read 1610 bytes
02:58:59.239444 Process 1610 bytes request
02:58:59.239471 Got request: POST /we/want/304 HTTP/1.1
02:58:59.239494 Requested test number 304 part 0
02:58:59.239565 - request found to be complete
02:58:59.239590 Found Content-Length: 1386 in the request
02:58:59.239630 Wrote request (1610 bytes) input to log/server.input
02:58:59.239669 Send response test304 section <data>
02:58:59.239869 Response sent (108 bytes) and written to log/server.response
02:58:59.239899 => persistent connection request ended, awaits new request
02:58:59.316159 Connection closed by client
02:58:59.316193 ====> 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 329 0:00:04 0:00:04 --:--:-- 335
100 1386 0 0 100 1386 0 265 0:00:05 0:00:05 --:--:-- 269
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 150 0:00:09 0:00:09 --:--:-- 0
100 1386 0 0 100 1386 0 135 0:00:10 0:00:10 --:--:-- 0
100 1386 0 0 100 1386 0 125 0:00:11 0:00:11 --:--:-- 0
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:58:48.205386 == Info: STATE: INIT => CONNECT handle 0x56cbb38; line 1491 (connection #-5000)
02:58:48.260162 == Info: Added connection 0. The cache now contains 1 members
02:58:48.277500 == Info: Trying 127.0.0.1:8991...
02:58:48.278107 == Info: TCP_NODELAY set
02:58:48.283349 == Info: STATE: CONNECT => WAITCONNECT handle 0x56cbb38; line 1547 (connection #0)
02:58:48.294951 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:48.295511 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56cbb38; line 1665 (connection #0)
02:58:48.296644 == Info: Marked for [keep alive]: HTTP default
02:58:48.347143 == Info: ALPN, offering h2
02:58:48.347416 == Info: ALPN, offering http/1.1
02:58:49.767160 == Info: successfully set certificate verify locations:
02:58:49.767417 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:49.880409 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:49.885522 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:49.885579 => Send SSL data, 148 bytes (0x94)
0000: ........."hOL..).............K..ux...w....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:49.902511 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:49.907869 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:49.907924 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..../.........9'W..-.u....d...lb.. .....y..p.0!V.p..1......z
0040: <....D../................
02:58:49.951548 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:49.951902 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:49.951956 <= 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:50.050214 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:50.050444 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:50.050499 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..RQ...&.j.~.6..!D.m5.dVm..U...`....uw...7......r..C.\..
0040: R...r...........)'....0.u..;f..b.....%.qX.....|{I..).]....J...Ug
0080: 1.....V...R.......9{H....d.....T:<E.[..b...3......2..._a...i%..N
00c0: ...j..Y9....%..d......E.r....95Y.4Yq.^.4.~.T.n..)..Z$.9..V...(p.
0100: .[........Wd.......X{..kw.?...}>|[7F].8..#..[7F]..#.i....<.._..Z.=(...
0140: W....X.dF"`.1
02:58:50.119118 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:50.119324 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:58:50.119378 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:58:50.234127 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:58:50.234321 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:58:50.234375 => Send SSL data, 70 bytes (0x46)
0000: ...BA........Ya[...U.v.$..3..K.s...AF>..J..-}..qP.?..3.L0..N.*%'
0040: H.#.\.
02:58:50.246242 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:50.246817 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:58:50.246873 => Send SSL data, 1 bytes (0x1)
0000: .
02:58:50.268431 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:58:50.268490 => Send SSL data, 16 bytes (0x10)
0000: ....N........<..
02:58:50.280945 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:58:50.283594 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:50.284697 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:58:50.284753 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:58:50.287190 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:58:50.292878 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:58:50.292934 <= Recv SSL data, 16 bytes (0x10)
0000: ....87h.ZB.....m
02:58:50.321342 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:58:50.322004 == Info: ALPN, server did not agree to a protocol
02:58:50.324650 == Info: Server certificate:
02:58:50.332157 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:50.338305 == Info: start date: Aug 31 23:39:18 2018 GMT
02:58:50.339252 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:58:50.340182 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:50.341066 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:58:50.342562 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56cbb38; line 1685 (connection #0)
02:58:50.378073 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:50.380994 => 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:58:50.384831 == Info: STATE: DO => DO_DONE handle 0x56cbb38; line 1756 (connection #0)
02:58:50.385294 == Info: STATE: DO_DONE => PERFORM handle 0x56cbb38; line 1877 (connection #0)
02:58:51.387818 == Info: Done waiting for 100-continue
02:58:51.407775 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:51.408144 => 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:58:51.413661 == Info: We are completely uploaded and fine
02:58:59.248850 <= Recv SSL data, 5 bytes (0x5)
0000: ....h
02:58:59.262277 == Info: Mark bundle as not supporting multiuse
02:58:59.262870 == Info: HTTP 1.1 or later with persistent connection
02:58:59.265547 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:58:59.269425 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:58:59.269655 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:58:59.272116 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
02:58:59.273629 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 10
02:58:59.276088 <= Recv header, 1 bytes (0x1)
0000: .
02:58:59.276741 <= Recv data, 10 bytes (0xa)
0000: blablabla.
02:58:59.280357 == Info: STATE: PERFORM => DONE handle 0x56cbb38; line 2067 (connection #0)
02:58:59.280684 == Info: multi_done
02:58:59.288884 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace304
=== Start of file valgrind304
==20006== Invalid read of size 8
==20006== at 0x53325A5: check_free (dlerror.c:188)
==20006== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20006== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20006== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20006== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20006== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20006== by 0x4C49EB9: exit (exit.c:139)
==20006== by 0x4C340A1: (below main) (libc-start.c:342)
==20006== Address 0x5b023d0 is 0 bytes after a block of size 32 alloc'd
==20006== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20006== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20006== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20006== by 0x24AE36: err_get_state (err.c:210)
==20006== by 0x24BA0C: ERR_put_error (err.c:636)
==20006== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20006== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20006== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20006== by 0x270058: by_file_ctrl (by_file.c:111)
==20006== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20006== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20006== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20006== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20006== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20006== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20006== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20006==
==20006== Invalid free() / delete / delete[] / realloc()
==20006== at 0x48369AB: free (vg_replace_malloc.c:540)
==20006== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20006== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20006== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20006== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20006== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20006== by 0x4C49EB9: exit (exit.c:139)
==20006== by 0x4C340A1: (below main) (libc-start.c:342)
==20006== Address 0x5b023b8 is 8 bytes inside a block of size 32 alloc'd
==20006== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20006== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20006== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20006== by 0x24AE36: err_get_state (err.c:210)
==20006== by 0x24BA0C: ERR_put_error (err.c:636)
==20006== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20006== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20006== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20006== by 0x270058: by_file_ctrl (by_file.c:111)
==20006== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20006== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20006== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20006== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20006== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20006== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20006== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20006==
==20006== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20006== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20006== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20006== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20006== by 0x24AE36: err_get_state (err.c:210)
==20006== by 0x24BA0C: ERR_put_error (err.c:636)
==20006== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20006== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20006== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20006== by 0x270058: by_file_ctrl (by_file.c:111)
==20006== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20006== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20006== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20006== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20006== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20006== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20006== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20006==
=== End of file valgrind304
test 0305...[insecure HTTPS without permission]
goto problem 6
valgrind ERROR ==20018== Invalid read of size 8
==20018== at 0x53325A5: check_free (dlerror.c:188)
==20018== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20018== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20018== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20018== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20018== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20018== by 0x4C49EB9: exit (exit.c:139)
==20018== by 0x4C340A1: (below main) (libc-start.c:342)
==20018== Address 0x5757ea0 is 0 bytes after a block of size 32 alloc'd
==20018== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20018== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20018== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20018== by 0x24AE36: err_get_state (err.c:210)
==20018== by 0x24BA0C: ERR_put_error (err.c:636)
==20018== by 0x23B2DD: BIO_new_file (file.c:99)
==20018== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==20018== by 0x270058: by_file_ctrl (by_file.c:111)
==20018== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20018== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20018== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20018== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20018== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20018== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20018== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20018== by 0x18D4F2: https_connecting (http.c:1574)
==20018==
==20018== Invalid free() / delete / delete[] / realloc()
==20018== at 0x48369AB: free (vg_replace_malloc.c:540)
==20018== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20018== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20018== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20018== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20018== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20018== by 0x4C49EB9: exit (exit.c:139)
==20018== by 0x4C340A1: (below main) (libc-start.c:342)
==20018== Address 0x5757e88 is 8 bytes inside a block of size 32 alloc'd
==20018== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20018== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20018== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20018== by 0x24AE36: err_get_state (err.c:210)
==20018== by 0x24BA0C: ERR_put_error (err.c:636)
==20018== by 0x23B2DD: BIO_new_file (file.c:99)
==20018== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==20018== by 0x270058: by_file_ctrl (by_file.c:111)
==20018== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20018== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20018== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20018== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20018== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20018== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20018== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20018== by 0x18D4F2: https_connecting (http.c:1574)
==20018==
==20018== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==20018== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20018== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20018== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20018== by 0x24AE36: err_get_state (err.c:210)
==20018== by 0x24BA0C: ERR_put_error (err.c:636)
==20018== by 0x23B2DD: BIO_new_file (file.c:99)
==20018== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==20018== by 0x270058: by_file_ctrl (by_file.c:111)
==20018== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20018== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20018== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20018== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20018== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20018== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20018== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20018== by 0x18D4F2: https_connecting (http.c:1574)
==20018==
== 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:00.361569 == Info: STATE: INIT => CONNECT handle 0x56c7538; line 1491 (connection #-5000)
02:59:00.416308 == Info: Added connection 0. The cache now contains 1 members
02:59:00.433417 == Info: Trying 127.0.0.1:8991...
02:59:00.434021 == Info: TCP_NODELAY set
02:59:00.439150 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7538; line 1547 (connection #0)
02:59:00.450749 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:00.451308 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7538; line 1665 (connection #0)
02:59:00.452435 == Info: Marked for [keep alive]: HTTP default
02:59:00.502920 == Info: ALPN, offering h2
02:59:00.503194 == Info: ALPN, offering http/1.1
02:59:00.513847 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
02:59:00.514325 == Info: Marked for [closure]: Failed HTTPS connection
02:59:00.514861 == Info: multi_done
02:59:00.524064 == Info: Closing connection 0
02:59:00.543557 == Info: The cache now contains 0 members
02:59:00.551202 == Info: Expire cleared (transfer 0x56c7538)
=== End of file trace305
=== Start of file valgrind305
==20018== Invalid read of size 8
==20018== at 0x53325A5: check_free (dlerror.c:188)
==20018== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20018== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20018== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20018== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20018== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20018== by 0x4C49EB9: exit (exit.c:139)
==20018== by 0x4C340A1: (below main) (libc-start.c:342)
==20018== Address 0x5757ea0 is 0 bytes after a block of size 32 alloc'd
==20018== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20018== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20018== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20018== by 0x24AE36: err_get_state (err.c:210)
==20018== by 0x24BA0C: ERR_put_error (err.c:636)
==20018== by 0x23B2DD: BIO_new_file (file.c:99)
==20018== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==20018== by 0x270058: by_file_ctrl (by_file.c:111)
==20018== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20018== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20018== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20018== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20018== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20018== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20018== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20018== by 0x18D4F2: https_connecting (http.c:1574)
==20018==
==20018== Invalid free() / delete / delete[] / realloc()
==20018== at 0x48369AB: free (vg_replace_malloc.c:540)
==20018== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20018== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20018== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20018== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20018== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20018== by 0x4C49EB9: exit (exit.c:139)
==20018== by 0x4C340A1: (below main) (libc-start.c:342)
==20018== Address 0x5757e88 is 8 bytes inside a block of size 32 alloc'd
==20018== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20018== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20018== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20018== by 0x24AE36: err_get_state (err.c:210)
==20018== by 0x24BA0C: ERR_put_error (err.c:636)
==20018== by 0x23B2DD: BIO_new_file (file.c:99)
==20018== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==20018== by 0x270058: by_file_ctrl (by_file.c:111)
==20018== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20018== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20018== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20018== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20018== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20018== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20018== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20018== by 0x18D4F2: https_connecting (http.c:1574)
==20018==
==20018== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==20018== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20018== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20018== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20018== by 0x24AE36: err_get_state (err.c:210)
==20018== by 0x24BA0C: ERR_put_error (err.c:636)
==20018== by 0x23B2DD: BIO_new_file (file.c:99)
==20018== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==20018== by 0x270058: by_file_ctrl (by_file.c:111)
==20018== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20018== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20018== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20018== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20018== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20018== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20018== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20018== by 0x18D4F2: https_connecting (http.c:1574)
==20018==
=== End of file valgrind305
test 0306...[HTTPS GET, receive no headers only data!]
goto problem 7
valgrind ERROR ==20022== Invalid read of size 8
==20022== at 0x53325A5: check_free (dlerror.c:188)
==20022== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20022== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20022== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20022== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20022== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20022== by 0x4C49EB9: exit (exit.c:139)
==20022== by 0x4C340A1: (below main) (libc-start.c:342)
==20022== Address 0x5af7130 is 0 bytes after a block of size 32 alloc'd
==20022== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20022== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20022== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20022== by 0x24AE36: err_get_state (err.c:210)
==20022== by 0x24BA0C: ERR_put_error (err.c:636)
==20022== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20022== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20022== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20022== by 0x270058: by_file_ctrl (by_file.c:111)
==20022== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20022== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20022== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20022== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20022== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20022== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20022== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20022==
==20022== Invalid free() / delete / delete[] / realloc()
==20022== at 0x48369AB: free (vg_replace_malloc.c:540)
==20022== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20022== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20022== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20022== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20022== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20022== by 0x4C49EB9: exit (exit.c:139)
==20022== by 0x4C340A1: (below main) (libc-start.c:342)
==20022== Address 0x5af7118 is 8 bytes inside a block of size 32 alloc'd
==20022== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20022== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20022== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20022== by 0x24AE36: err_get_state (err.c:210)
==20022== by 0x24BA0C: ERR_put_error (err.c:636)
==20022== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20022== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20022== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20022== by 0x270058: by_file_ctrl (by_file.c:111)
==20022== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20022== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20022== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20022== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20022== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20022== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20022== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20022==
==20022== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20022== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20022== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20022== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20022== by 0x24AE36: err_get_state (err.c:210)
==20022== by 0x24BA0C: ERR_put_error (err.c:636)
==20022== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20022== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20022== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20022== by 0x270058: by_file_ctrl (by_file.c:111)
==20022== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20022== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20022== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20022== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20022== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20022== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20022== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20022==
== 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:03.618921 ====> Client connect
02:59:03.618953 accept_connection 3 returned 4
02:59:03.618967 accept_connection 3 returned 0
02:59:03.701188 Read 85 bytes
02:59:03.701216 Process 85 bytes request
02:59:03.701229 Got request: GET /306 HTTP/1.1
02:59:03.701238 Requested test number 306 part 0
02:59:03.701262 - request found to be complete
02:59:03.701289 Wrote request (85 bytes) input to log/server.input
02:59:03.701311 Send response test306 section <data>
02:59:03.701333 connection close instruction "swsclose" found in response
02:59:03.701390 Response sent (107 bytes) and written to log/server.response
02:59:03.701400 instructed to close connection after server-reply
02:59:03.701408 ====> 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 48 0 --:--:-- 0:00:02 --:--:-- 49
=== End of file stderr306
=== Start of file trace306
02:59:01.544285 == Info: STATE: INIT => CONNECT handle 0x56c7098; line 1491 (connection #-5000)
02:59:01.598880 == Info: Added connection 0. The cache now contains 1 members
02:59:01.616146 == Info: Trying 127.0.0.1:8991...
02:59:01.616750 == Info: TCP_NODELAY set
02:59:01.621843 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7098; line 1547 (connection #0)
02:59:01.633387 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:01.633943 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7098; line 1665 (connection #0)
02:59:01.635063 == Info: Marked for [keep alive]: HTTP default
02:59:01.685408 == Info: ALPN, offering h2
02:59:01.685681 == Info: ALPN, offering http/1.1
02:59:03.105129 == Info: successfully set certificate verify locations:
02:59:03.105384 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:03.218447 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:03.223525 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:03.223584 => Send SSL data, 148 bytes (0x94)
0000: ......q..t.;......G.......FO(..v75Q.)b....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:03.240516 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:03.245863 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:03.245919 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.........h@...()..6.F..7....>..<d$ ....=[|..2..m..[7F].........
0040: ../HM.../................
02:59:03.289405 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:03.289747 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:03.289804 <= 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:03.387772 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:03.387987 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:03.388041 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..RQ...&.j.~.6..!D.m5.dVm..U...`....uw...7......r..C.\..
0040: R...r..........zo.....[7F]#........b.C....m....F.."........p)[...@.
0080: ...g6........k_.7M[/.f.J....W....].....3....3I_.i.......K.x$o.;b
00c0: .90.I.;._.{...U.H..L.P.1O`.C.$...........n2..ov.nP.K..E.KR.G...;
0100: O./....s.R...tT..e7....n.M..`.!.^.UD..P..-J..{&n.Tj8?..bj.Dx...Q
0140: w3M....8. ..P
02:59:03.456659 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:03.456863 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:03.456917 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:03.571473 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:03.571667 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:03.571721 => Send SSL data, 70 bytes (0x46)
0000: ...BA...s3.I....|..+T..!.b....B.....[...+V._....O.0..t..r......<
0040: ..mz.+
02:59:03.583605 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:03.584185 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:03.584240 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:03.605565 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:03.605624 => Send SSL data, 16 bytes (0x10)
0000: ......F...tZ9..-
02:59:03.618061 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:03.620576 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:03.621667 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:03.621723 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:03.624163 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:03.629830 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:03.629886 <= Recv SSL data, 16 bytes (0x10)
0000: ....H...........
02:59:03.658304 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:03.658966 == Info: ALPN, server did not agree to a protocol
02:59:03.661618 == Info: Server certificate:
02:59:03.669114 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:03.675247 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:03.676195 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:03.677136 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:03.678001 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:03.679508 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c7098; line 1685 (connection #0)
02:59:03.699535 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:59:03.702416 => 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:03.705332 == Info: STATE: DO => DO_DONE handle 0x56c7098; line 1756 (connection #0)
02:59:03.705799 == Info: STATE: DO_DONE => PERFORM handle 0x56c7098; line 1877 (connection #0)
02:59:03.710211 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:03.715446 == Info: Marked for [closure]: bad HTTP: No end-of-message indicator
02:59:03.716369 <= Recv data, 38 bytes (0x26)
0000: No headers at all, just data swsclose.
02:59:03.716841 <= Recv data, 69 bytes (0x45)
0000: .Let's get..a little..so that..we..have..some..test..data to..ve
0040: rify.
02:59:03.717435 == Info: Increasing bytecount by 38 from hbuflen
02:59:03.752207 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:03.753432 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
02:59:03.753513 <= Recv SSL data, 2 bytes (0x2)
0000: ..
02:59:03.755724 == Info: nread <= 0, server closed connection, bailing
02:59:03.757450 == Info: STATE: PERFORM => DONE handle 0x56c7098; line 2067 (connection #0)
02:59:03.757927 == Info: multi_done
02:59:03.769044 == Info: Closing connection 0
02:59:03.770678 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:03.771294 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:03.771348 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:03.831178 == Info: The cache now contains 0 members
=== End of file trace306
=== Start of file valgrind306
==20022== Invalid read of size 8
==20022== at 0x53325A5: check_free (dlerror.c:188)
==20022== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20022== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20022== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20022== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20022== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20022== by 0x4C49EB9: exit (exit.c:139)
==20022== by 0x4C340A1: (below main) (libc-start.c:342)
==20022== Address 0x5af7130 is 0 bytes after a block of size 32 alloc'd
==20022== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20022== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20022== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20022== by 0x24AE36: err_get_state (err.c:210)
==20022== by 0x24BA0C: ERR_put_error (err.c:636)
==20022== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20022== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20022== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20022== by 0x270058: by_file_ctrl (by_file.c:111)
==20022== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20022== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20022== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20022== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20022== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20022== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20022== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20022==
==20022== Invalid free() / delete / delete[] / realloc()
==20022== at 0x48369AB: free (vg_replace_malloc.c:540)
==20022== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20022== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20022== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20022== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20022== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20022== by 0x4C49EB9: exit (exit.c:139)
==20022== by 0x4C340A1: (below main) (libc-start.c:342)
==20022== Address 0x5af7118 is 8 bytes inside a block of size 32 alloc'd
==20022== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20022== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20022== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20022== by 0x24AE36: err_get_state (err.c:210)
==20022== by 0x24BA0C: ERR_put_error (err.c:636)
==20022== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20022== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20022== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20022== by 0x270058: by_file_ctrl (by_file.c:111)
==20022== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20022== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20022== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20022== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20022== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20022== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20022== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20022==
==20022== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20022== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20022== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20022== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20022== by 0x24AE36: err_get_state (err.c:210)
==20022== by 0x24BA0C: ERR_put_error (err.c:636)
==20022== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20022== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20022== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20022== by 0x270058: by_file_ctrl (by_file.c:111)
==20022== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20022== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20022== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20022== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20022== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20022== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20022== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20022==
=== 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 8
valgrind ERROR ==20028== Invalid read of size 8
==20028== at 0x53325A5: check_free (dlerror.c:188)
==20028== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20028== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20028== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20028== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20028== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20028== by 0x4C49EB9: exit (exit.c:139)
==20028== by 0x4C340A1: (below main) (libc-start.c:342)
==20028== Address 0x5b30ca0 is 0 bytes after a block of size 32 alloc'd
==20028== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20028== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20028== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20028== by 0x24AE36: err_get_state (err.c:210)
==20028== by 0x24BA0C: ERR_put_error (err.c:636)
==20028== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20028== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20028== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20028== by 0x270058: by_file_ctrl (by_file.c:111)
==20028== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20028== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20028== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20028== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20028== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20028== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20028== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20028==
==20028== Invalid free() / delete / delete[] / realloc()
==20028== at 0x48369AB: free (vg_replace_malloc.c:540)
==20028== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20028== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20028== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20028== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20028== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20028== by 0x4C49EB9: exit (exit.c:139)
==20028== by 0x4C340A1: (below main) (libc-start.c:342)
==20028== Address 0x5b30c88 is 8 bytes inside a block of size 32 alloc'd
==20028== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20028== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20028== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20028== by 0x24AE36: err_get_state (err.c:210)
==20028== by 0x24BA0C: ERR_put_error (err.c:636)
==20028== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20028== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20028== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20028== by 0x270058: by_file_ctrl (by_file.c:111)
==20028== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20028== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20028== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20028== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20028== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20028== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20028== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20028==
==20028== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20028== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20028== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20028== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20028== by 0x24AE36: err_get_state (err.c:210)
==20028== by 0x24BA0C: ERR_put_error (err.c:636)
==20028== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20028== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20028== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20028== by 0x270058: by_file_ctrl (by_file.c:111)
==20028== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20028== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20028== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20028== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20028== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20028== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20028== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20028==
== 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:04.911364 ====> Client connect
02:59:04.911399 accept_connection 3 returned 4
02:59:04.911414 accept_connection 3 returned 0
02:59:04.939877 Read 90 bytes
02:59:04.939902 Process 90 bytes request
02:59:04.939919 Got request: GET /want/309 HTTP/1.1
02:59:04.939931 Requested test number 309 part 0
02:59:04.939958 - request found to be complete
02:59:04.939977 Wrote request (90 bytes) input to log/server.input
02:59:04.939994 Send response test309 section <data>
02:59:04.940018 connection close instruction "swsclose" found in response
02:59:04.940099 Response sent (277 bytes) and written to log/server.response
02:59:04.940109 instructed to close connection after server-reply
02:59:04.940116 ====> Client disconnect 0
02:59:06.987199 ====> Client connect
02:59:06.987223 accept_connection 3 returned 4
02:59:06.987237 accept_connection 3 returned 0
02:59:07.062926 Read 111 bytes
02:59:07.062964 Process 111 bytes request
02:59:07.062981 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
02:59:07.062993 Requested test number 309 part 2
02:59:07.063020 - request found to be complete
02:59:07.063032 Wrote request (111 bytes) input to log/server.input
02:59:07.063044 Send response test309 section <data2>
02:59:07.063067 connection close instruction "swsclose" found in response
02:59:07.063129 Response sent (179 bytes) and written to log/server.response
02:59:07.063139 instructed to close connection after server-reply
02:59:07.063147 ====> 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
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 --:--:-- 24
=== End of file stderr309
=== Start of file trace309
02:59:04.836884 == Info: STATE: INIT => CONNECT handle 0x56c7098; line 1491 (connection #-5000)
02:59:04.891101 == Info: Added connection 0. The cache now contains 1 members
02:59:04.908185 == Info: Trying 127.0.0.1:8990...
02:59:04.908793 == Info: TCP_NODELAY set
02:59:04.914048 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7098; line 1547 (connection #0)
02:59:04.925587 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
02:59:04.926146 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7098; line 1665 (connection #0)
02:59:04.927267 == Info: Marked for [keep alive]: HTTP default
02:59:04.928155 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c7098; line 1685 (connection #0)
02:59:04.940535 => 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:04.945561 == Info: STATE: DO => DO_DONE handle 0x56c7098; line 1756 (connection #0)
02:59:04.946028 == Info: STATE: DO_DONE => PERFORM handle 0x56c7098; line 1877 (connection #0)
02:59:04.955484 == Info: Mark bundle as not supporting multiuse
02:59:04.956070 == Info: HTTP 1.1 or later with persistent connection
02:59:04.958919 <= Recv header, 53 bytes (0x35)
0000: HTTP/1.1 301 This is a weirdo text message swsclose
02:59:04.962879 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:04.963105 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
02:59:04.965063 <= Recv header, 64 bytes (0x40)
0000: Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
02:59:04.966130 == Info: Marked for [closure]: Connection: close used
02:59:04.966249 <= Recv header, 19 bytes (0x13)
0000: Connection: close
02:59:04.968950 <= Recv header, 2 bytes (0x2)
0000:
02:59:04.970684 == Info: multi_done
02:59:04.980130 == Info: Closing connection 0
02:59:04.984693 == Info: The cache now contains 0 members
02:59:04.994574 == Info: Issue another request to this URL: 'https://127.0.0.1:8991/data/3090002.txt?coolsite=yes'
02:59:04.995364 == Info: STATE: PERFORM => CONNECT handle 0x56c7098; line 2044 (connection #-5000)
02:59:04.998832 == Info: Added connection 1. The cache now contains 1 members
02:59:04.999402 == Info: Trying 127.0.0.1:8991...
02:59:04.999459 == Info: TCP_NODELAY set
02:59:04.999925 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7098; line 1547 (connection #1)
02:59:05.000066 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#1)
02:59:05.000148 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7098; line 1665 (connection #1)
02:59:05.000686 == Info: Marked for [keep alive]: HTTP default
02:59:05.058203 == Info: ALPN, offering h2
02:59:05.058491 == Info: ALPN, offering http/1.1
02:59:06.461099 == Info: successfully set certificate verify locations:
02:59:06.461357 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:06.574241 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:06.577418 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:06.577476 => Send SSL data, 148 bytes (0x94)
0000: ..........3WP(.. _.Q..jd....U........F....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:06.594746 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:06.600304 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:06.600360 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.....n.vJ./kY.6E.N..T&..^.....f..( 4qq.,...QYh....X1&.9#.[7F]d.
0040: W.(.S.@./................
02:59:06.645233 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:06.645590 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:06.645648 <= 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:06.747002 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:06.747213 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:06.747269 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..RQ...&.j.~.6..!D.m5.dVm..U...`....uw...7......r..C.\..
0040: R...r..........+rd.*...jx.......U.s..g...$.*.....3..#...........
0080: .. -...3C....u....u;............Ho.|.......f$.P..=J........'.U.1
00c0: .6......l._.+[-,]P.8a\]9.5L..:.;.....3....4\9cr.......b...[7F].....
0100: O...d.M....^`E..#..!;.....DA}..2..aA....Qk......!.m..jb..d.|Rq;.
0140: .[1..$.V.....
02:59:06.818468 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:06.818669 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:06.818724 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:06.937883 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:06.938073 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:06.938133 => Send SSL data, 70 bytes (0x46)
0000: ...BA.A.5.}B7.{......>....[7F].3.2p&.......F.{....:.q:.#_.j1.J.f4.=
0040: ..up,Y
02:59:06.950424 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:06.951020 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:06.951077 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:06.973336 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:06.973400 => Send SSL data, 16 bytes (0x10)
0000: ....!..V..&BT;..
02:59:06.986290 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:06.988886 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:06.990019 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:06.990075 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:06.992616 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:06.998481 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:06.998543 <= Recv SSL data, 16 bytes (0x10)
0000: ....z.H.a..`.;..
02:59:07.028358 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:07.029063 == Info: ALPN, server did not agree to a protocol
02:59:07.031777 == Info: Server certificate:
02:59:07.039562 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:07.045945 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:07.046927 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:07.047884 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:07.048784 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:07.050002 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c7098; line 1685 (connection #1)
02:59:07.061191 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:07.063845 => 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:07.064433 == Info: STATE: DO => DO_DONE handle 0x56c7098; line 1756 (connection #1)
02:59:07.064521 == Info: STATE: DO_DONE => PERFORM handle 0x56c7098; line 1877 (connection #1)
02:59:07.067340 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:07.073814 == Info: Mark bundle as not supporting multiuse
02:59:07.073977 == Info: HTTP 1.1 or later with persistent connection
02:59:07.074053 <= Recv header, 42 bytes (0x2a)
0000: HTTP/1.1 200 Followed here fine swsclose
02:59:07.074307 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:07.074535 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
02:59:07.075663 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 52
02:59:07.076025 <= Recv header, 2 bytes (0x2)
0000:
02:59:07.076429 <= Recv data, 13 bytes (0xd)
0000: If this is re
02:59:07.085794 <= Recv SSL data, 5 bytes (0x5)
0000: ....?
02:59:07.085949 <= Recv data, 39 bytes (0x27)
0000: ceived, the location following worked..
02:59:07.087026 == Info: STATE: PERFORM => DONE handle 0x56c7098; line 2067 (connection #1)
02:59:07.087365 == Info: multi_done
02:59:07.090149 == Info: Connection #1 to host 127.0.0.1 left intact
02:59:07.092015 == Info: Expire cleared (transfer 0x56c7098)
=== End of file trace309
=== Start of file valgrind309
==20028== Invalid read of size 8
==20028== at 0x53325A5: check_free (dlerror.c:188)
==20028== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20028== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20028== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20028== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20028== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20028== by 0x4C49EB9: exit (exit.c:139)
==20028== by 0x4C340A1: (below main) (libc-start.c:342)
==20028== Address 0x5b30ca0 is 0 bytes after a block of size 32 alloc'd
==20028== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20028== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20028== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20028== by 0x24AE36: err_get_state (err.c:210)
==20028== by 0x24BA0C: ERR_put_error (err.c:636)
==20028== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20028== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20028== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20028== by 0x270058: by_file_ctrl (by_file.c:111)
==20028== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20028== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20028== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20028== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20028== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20028== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20028== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20028==
==20028== Invalid free() / delete / delete[] / realloc()
==20028== at 0x48369AB: free (vg_replace_malloc.c:540)
==20028== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20028== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20028== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20028== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20028== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20028== by 0x4C49EB9: exit (exit.c:139)
==20028== by 0x4C340A1: (below main) (libc-start.c:342)
==20028== Address 0x5b30c88 is 8 bytes inside a block of size 32 alloc'd
==20028== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20028== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20028== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20028== by 0x24AE36: err_get_state (err.c:210)
==20028== by 0x24BA0C: ERR_put_error (err.c:636)
==20028== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20028== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20028== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20028== by 0x270058: by_file_ctrl (by_file.c:111)
==20028== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20028== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20028== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20028== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20028== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20028== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20028== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20028==
==20028== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20028== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20028== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20028== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20028== by 0x24AE36: err_get_state (err.c:210)
==20028== by 0x24BA0C: ERR_put_error (err.c:636)
==20028== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20028== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20028== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20028== by 0x270058: by_file_ctrl (by_file.c:111)
==20028== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20028== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20028== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20028== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20028== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20028== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20028== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20028==
=== End of file valgrind309
test 0310...[simple HTTPS GET]
goto problem 9
valgrind ERROR ==20045== Invalid read of size 8
==20045== at 0x53325A5: check_free (dlerror.c:188)
==20045== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20045== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20045== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20045== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20045== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20045== by 0x4C49EB9: exit (exit.c:139)
==20045== by 0x4C340A1: (below main) (libc-start.c:342)
==20045== Address 0x5765090 is 0 bytes after a block of size 32 alloc'd
==20045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20045== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20045== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20045== by 0x24AE36: err_get_state (err.c:210)
==20045== by 0x24BA0C: ERR_put_error (err.c:636)
==20045== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20045== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20045== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20045== by 0x270058: by_file_ctrl (by_file.c:111)
==20045== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20045== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20045== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20045== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20045== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20045== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20045== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20045==
==20045== Invalid free() / delete / delete[] / realloc()
==20045== at 0x48369AB: free (vg_replace_malloc.c:540)
==20045== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20045== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20045== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20045== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20045== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20045== by 0x4C49EB9: exit (exit.c:139)
==20045== by 0x4C340A1: (below main) (libc-start.c:342)
==20045== Address 0x5765078 is 8 bytes inside a block of size 32 alloc'd
==20045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20045== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20045== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20045== by 0x24AE36: err_get_state (err.c:210)
==20045== by 0x24BA0C: ERR_put_error (err.c:636)
==20045== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20045== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20045== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20045== by 0x270058: by_file_ctrl (by_file.c:111)
==20045== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20045== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20045== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20045== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20045== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20045== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20045== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20045==
==20045== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20045== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20045== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20045== by 0x24AE36: err_get_state (err.c:210)
==20045== by 0x24BA0C: ERR_put_error (err.c:636)
==20045== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20045== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20045== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20045== by 0x270058: by_file_ctrl (by_file.c:111)
==20045== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20045== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20045== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20045== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20045== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20045== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20045== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20045==
== 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:07.239684 signalled to die
02:59:07.239801 ========> IPv4 sws (port 8990 pid: 18779) exits with signal (15)
02:59:12.262363 Running HTTP IPv4 version on port 8990
02:59:12.262466 Wrote pid 20032 to .http_server.pid
02:59:13.259304 ====> Client connect
02:59:13.259354 accept_connection 3 returned 4
02:59:13.259395 accept_connection 3 returned 0
02:59:13.259479 Read 96 bytes
02:59:13.259518 Process 96 bytes request
02:59:13.259563 Got request: GET /verifiedserver HTTP/1.1
02:59:13.259598 Are-we-friendly question received
02:59:13.259657 Wrote request (96 bytes) input to log/server.input
02:59:13.259702 Identifying ourselves as friends
02:59:13.259843 Response sent (56 bytes) and written to log/server.response
02:59:13.259879 special request received, no persistency
02:59:13.259907 ====> Client disconnect 0
02:59:15.303375 ====> Client connect
02:59:15.303399 accept_connection 3 returned 4
02:59:15.303412 accept_connection 3 returned 0
02:59:15.303567 Read 96 bytes
02:59:15.303604 Process 96 bytes request
02:59:15.303628 Got request: GET /verifiedserver HTTP/1.1
02:59:15.303642 Are-we-friendly question received
02:59:15.303657 Wrote request (96 bytes) input to log/server.input
02:59:15.303674 Identifying ourselves as friends
02:59:15.303745 Response sent (56 bytes) and written to log/server.response
02:59:15.303761 special request received, no persistency
02:59:15.303772 ====> Client disconnect 0
02:59:18.062544 ====> Client connect
02:59:18.062566 accept_connection 3 returned 4
02:59:18.062580 accept_connection 3 returned 0
02:59:18.148847 Read 85 bytes
02:59:18.148881 Process 85 bytes request
02:59:18.148898 Got request: GET /310 HTTP/1.1
02:59:18.148909 Requested test number 310 part 0
02:59:18.148938 - request found to be complete
02:59:18.148964 Wrote request (85 bytes) input to log/server.input
02:59:18.148984 Send response test310 section <data>
02:59:18.149048 Response sent (103 bytes) and written to log/server.response
02:59:18.149059 => persistent connection request ended, awaits new request
02:59:18.222822 Connection closed by client
02:59:18.222855 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55ede3204828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55ede3204828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55ede3204828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55ede3204828; line 1685 (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 0x55ede3204828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55ede3204828; line 1877 (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 0x55ede3204828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55ede3204828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 20032
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.07 02:59:14 LOG5[20038]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.07 02:59:14 LOG5[20038]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.07 02:59:14 LOG5[20038]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.07 02:59:14 LOG5[20038]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.07 02:59:14 LOG5[20038]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.07 02:59:14 LOG5[20038]: Reading configuration from file /build-18252/tests/https_stunnel.conf
2019.09.07 02:59:14 LOG5[20038]: FIPS mode disabled
2019.09.07 02:59:14 LOG5[20038]: Configuration successful
2019.09.07 02:59:15 LOG5[20041]: Service [curltest] accepted connection from 127.0.0.1:57730
2019.09.07 02:59:15 LOG5[20041]: s_connect: connected 127.0.0.1:8990
2019.09.07 02:59:15 LOG5[20041]: Service [curltest] connected remote server from 127.0.0.1:36582
2019.09.07 02:59:15 LOG5[20041]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.07 02:59:17 LOG5[20046]: Service [curltest] accepted connection from 127.0.0.1:57736
2019.09.07 02:59:18 LOG5[20046]: s_connect: connected 127.0.0.1:8990
2019.09.07 02:59:18 LOG5[20046]: Service [curltest] connected remote server from 127.0.0.1:36588
2019.09.07 02:59:18 LOG5[20046]: 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 0x55c64137d828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55c64137d828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55c64137d828; line 1665 (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 0x55c64137d828; line 1682 (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 0x55c64137d828; line 1701 (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 0x55c64137d828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55c64137d828; line 1877 (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 0x55c64137d828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55c64137d828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 20032
=== 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: 20032
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 20032
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 8
=== End of file stderr310
=== Start of file trace310
02:59:17.232604 == Info: STATE: INIT => CONNECT handle 0x56c7568; line 1491 (connection #-5000)
02:59:17.287642 == Info: Added connection 0. The cache now contains 1 members
02:59:17.327299 == Info: STATE: CONNECT => WAITRESOLVE handle 0x56c7568; line 1532 (connection #0)
02:59:17.357781 == Info: Trying ::1:8991...
02:59:17.358424 == Info: TCP_NODELAY set
02:59:17.363447 == Info: STATE: WAITRESOLVE => WAITCONNECT handle 0x56c7568; line 1611 (connection #0)
02:59:17.371328 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:17.373564 == Info: Trying 127.0.0.1:8991...
02:59:17.373626 == Info: TCP_NODELAY set
02:59:17.378348 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:17.378868 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7568; line 1665 (connection #0)
02:59:17.379956 == Info: Marked for [keep alive]: HTTP default
02:59:17.430839 == Info: ALPN, offering h2
02:59:17.431113 == Info: ALPN, offering http/1.1
02:59:17.520412 == Info: successfully set certificate verify locations:
02:59:17.520667 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:17.637838 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:17.642958 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:17.643016 => Send SSL data, 166 bytes (0xa6)
0000: ......;.<.Y...sYS..>.V.d...........Y......+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:17.660072 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:17.665457 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:17.665513 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...T......h.K.[...+......1nK.3.... .#.]#.[7F].}E..JG...4S..w:.b
0040: .0...t@./....................
02:59:17.710492 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:17.710833 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:17.710888 <= 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:17.884524 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:17.884749 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:17.884804 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...e.p._IJhy.N.O}%.I...d...B..+..]]s.Z..M.......no...3..
0040: p....O.'.....u.r.=.[K.S..3/o.+........[.8...6o....p>......nKMr..
0080: .....MZ.c.Y.M.q........DEFt].8..J.QmV...1\8.!.N...6.E._.G..9`...
00c0: .;ubM1....w*=WM..~........kKI..4...O..|....{.FY....;...1T.....K.
0100: Pz(y.~,.>...).ja.......R.u.. S.Q...p........&.8.."....R.|n(y..).
0140: Ie..%CQ....*.
02:59:17.899504 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:17.899691 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:17.899745 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:18.015020 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:18.015227 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:18.015281 => Send SSL data, 70 bytes (0x46)
0000: ...BA......i....}..[7F]..0.....Wog..3..<.1...1......G.....2;.d!.4..
0040: S.....
02:59:18.027190 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:18.027773 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:18.027828 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:18.049180 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:18.049239 => Send SSL data, 16 bytes (0x10)
0000: ......K....(.'i.
02:59:18.061684 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:18.064471 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:18.065564 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:18.065620 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:18.068061 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:18.073737 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:18.073793 <= Recv SSL data, 16 bytes (0x10)
0000: .....).8L..[....
02:59:18.101647 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:18.102305 == Info: ALPN, server did not agree to a protocol
02:59:18.104868 == Info: Server certificate:
02:59:18.112880 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
02:59:18.117726 == Info: start date: Sep 19 07:13:14 2018 GMT
02:59:18.119079 == Info: expire date: Dec 6 07:13:14 2026 GMT
02:59:18.122100 == Info: subjectAltName: host "localhost" matched cert's "localhost"
02:59:18.124398 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
02:59:18.124985 == Info: SSL certificate verify ok.
02:59:18.126470 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c7568; line 1685 (connection #0)
02:59:18.147185 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:59:18.150074 => 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:18.152991 == Info: STATE: DO => DO_DONE handle 0x56c7568; line 1756 (connection #0)
02:59:18.153459 == Info: STATE: DO_DONE => PERFORM handle 0x56c7568; line 1877 (connection #0)
02:59:18.157907 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:59:18.166931 == Info: Mark bundle as not supporting multiuse
02:59:18.167520 == Info: HTTP 1.1 or later with persistent connection
02:59:18.170246 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:59:18.177264 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
02:59:18.178086 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:18.178317 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:18.178642 <= Recv SSL data, 5 bytes (0x5)
0000: ..../
02:59:18.179786 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
02:59:18.182260 <= Recv header, 1 bytes (0x1)
0000: .
02:59:18.182908 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
02:59:18.186527 == Info: STATE: PERFORM => DONE handle 0x56c7568; line 2067 (connection #0)
02:59:18.186851 == Info: multi_done
02:59:18.195973 == Info: Connection #0 to host localhost left intact
02:59:18.197206 == Info: Expire cleared (transfer 0x56c7568)
=== End of file trace310
=== Start of file valgrind310
==20045== Invalid read of size 8
==20045== at 0x53325A5: check_free (dlerror.c:188)
==20045== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20045== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20045== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20045== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20045== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20045== by 0x4C49EB9: exit (exit.c:139)
==20045== by 0x4C340A1: (below main) (libc-start.c:342)
==20045== Address 0x5765090 is 0 bytes after a block of size 32 alloc'd
==20045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20045== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20045== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20045== by 0x24AE36: err_get_state (err.c:210)
==20045== by 0x24BA0C: ERR_put_error (err.c:636)
==20045== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20045== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20045== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20045== by 0x270058: by_file_ctrl (by_file.c:111)
==20045== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20045== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20045== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20045== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20045== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20045== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20045== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20045==
==20045== Invalid free() / delete / delete[] / realloc()
==20045== at 0x48369AB: free (vg_replace_malloc.c:540)
==20045== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20045== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20045== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20045== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20045== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20045== by 0x4C49EB9: exit (exit.c:139)
==20045== by 0x4C340A1: (below main) (libc-start.c:342)
==20045== Address 0x5765078 is 8 bytes inside a block of size 32 alloc'd
==20045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20045== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20045== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20045== by 0x24AE36: err_get_state (err.c:210)
==20045== by 0x24BA0C: ERR_put_error (err.c:636)
==20045== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20045== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20045== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20045== by 0x270058: by_file_ctrl (by_file.c:111)
==20045== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20045== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20045== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20045== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20045== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20045== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20045== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20045==
==20045== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20045== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20045== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20045== by 0x24AE36: err_get_state (err.c:210)
==20045== by 0x24BA0C: ERR_put_error (err.c:636)
==20045== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20045== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20045== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20045== by 0x270058: by_file_ctrl (by_file.c:111)
==20045== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20045== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20045== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20045== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20045== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20045== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20045== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20045==
=== End of file valgrind310
test 0311...[HTTPS wrong subjectAltName but right CN]
goto problem 10
valgrind ERROR ==20062== Invalid read of size 8
==20062== at 0x53325A5: check_free (dlerror.c:188)
==20062== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20062== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20062== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20062== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20062== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20062== by 0x4C49EB9: exit (exit.c:139)
==20062== by 0x4C340A1: (below main) (libc-start.c:342)
==20062== Address 0x5765040 is 0 bytes after a block of size 32 alloc'd
==20062== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20062== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20062== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20062== by 0x24AE36: err_get_state (err.c:210)
==20062== by 0x24BA0C: ERR_put_error (err.c:636)
==20062== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20062== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20062== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20062== by 0x270058: by_file_ctrl (by_file.c:111)
==20062== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20062== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20062== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20062== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20062== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20062== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20062== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20062==
==20062== Invalid free() / delete / delete[] / realloc()
==20062== at 0x48369AB: free (vg_replace_malloc.c:540)
==20062== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20062== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20062== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20062== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20062== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20062== by 0x4C49EB9: exit (exit.c:139)
==20062== by 0x4C340A1: (below main) (libc-start.c:342)
==20062== Address 0x5765028 is 8 bytes inside a block of size 32 alloc'd
==20062== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20062== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20062== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20062== by 0x24AE36: err_get_state (err.c:210)
==20062== by 0x24BA0C: ERR_put_error (err.c:636)
==20062== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20062== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20062== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20062== by 0x270058: by_file_ctrl (by_file.c:111)
==20062== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20062== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20062== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20062== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20062== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20062== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20062== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20062==
==20062== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20062== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20062== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20062== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20062== by 0x24AE36: err_get_state (err.c:210)
==20062== by 0x24BA0C: ERR_put_error (err.c:636)
==20062== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20062== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20062== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20062== by 0x270058: by_file_ctrl (by_file.c:111)
==20062== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20062== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20062== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20062== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20062== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20062== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20062== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20062==
== Contents of files in the log/ dir after test 311
=== Start of file http_server.log
02:59:18.314098 signalled to die
02:59:18.314162 ========> IPv4 sws (port 8990 pid: 20032) exits with signal (15)
02:59:23.339575 Running HTTP IPv4 version on port 8990
02:59:23.339795 Wrote pid 20049 to .http_server.pid
02:59:24.333963 ====> Client connect
02:59:24.334011 accept_connection 3 returned 4
02:59:24.334042 accept_connection 3 returned 0
02:59:24.334074 Read 96 bytes
02:59:24.334098 Process 96 bytes request
02:59:24.334136 Got request: GET /verifiedserver HTTP/1.1
02:59:24.334158 Are-we-friendly question received
02:59:24.334195 Wrote request (96 bytes) input to log/server.input
02:59:24.334241 Identifying ourselves as friends
02:59:24.334371 Response sent (56 bytes) and written to log/server.response
02:59:24.334400 special request received, no persistency
02:59:24.334420 ====> Client disconnect 0
02:59:26.380922 ====> Client connect
02:59:26.380946 accept_connection 3 returned 4
02:59:26.380960 accept_connection 3 returned 0
02:59:26.381088 Read 96 bytes
02:59:26.381133 Process 96 bytes request
02:59:26.381161 Got request: GET /verifiedserver HTTP/1.1
02:59:26.381177 Are-we-friendly question received
02:59:26.381195 Wrote request (96 bytes) input to log/server.input
02:59:26.381213 Identifying ourselves as friends
02:59:26.381310 Response sent (56 bytes) and written to log/server.response
02:59:26.381325 special request received, no persistency
02:59:26.381337 ====> Client disconnect 0
02:59:29.137073 ====> Client connect
02:59:29.137099 accept_connection 3 returned 4
02:59:29.137120 accept_connection 3 returned 0
02:59:29.213138 Connection closed by client
02:59:29.213174 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x561675f22828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x561675f22828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x561675f22828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x561675f22828; line 1685 (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 0x561675f22828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x561675f22828; line 1877 (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 0x561675f22828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x561675f22828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 20049
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.07 02:59:25 LOG5[20055]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.07 02:59:25 LOG5[20055]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.07 02:59:25 LOG5[20055]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.07 02:59:25 LOG5[20055]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.07 02:59:25 LOG5[20055]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.07 02:59:25 LOG5[20055]: Reading configuration from file /build-18252/tests/https_stunnel.conf
2019.09.07 02:59:25 LOG5[20055]: FIPS mode disabled
2019.09.07 02:59:25 LOG5[20055]: Configuration successful
2019.09.07 02:59:26 LOG5[20058]: Service [curltest] accepted connection from 127.0.0.1:57742
2019.09.07 02:59:26 LOG5[20058]: s_connect: connected 127.0.0.1:8990
2019.09.07 02:59:26 LOG5[20058]: Service [curltest] connected remote server from 127.0.0.1:36594
2019.09.07 02:59:26 LOG5[20058]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.07 02:59:28 LOG5[20063]: Service [curltest] accepted connection from 127.0.0.1:57748
2019.09.07 02:59:29 LOG5[20063]: s_connect: connected 127.0.0.1:8990
2019.09.07 02:59:29 LOG5[20063]: Service [curltest] connected remote server from 127.0.0.1:36600
2019.09.07 02:59:29 LOG5[20063]: 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 0x56300e741828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x56300e741828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56300e741828; line 1665 (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 0x56300e741828; line 1682 (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 0x56300e741828; line 1701 (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 0x56300e741828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x56300e741828; line 1877 (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 0x56300e741828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x56300e741828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 20049
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 20049
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 20049
=== 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
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:28.315805 == Info: STATE: INIT => CONNECT handle 0x56c7568; line 1491 (connection #-5000)
02:59:28.370543 == Info: Added connection 0. The cache now contains 1 members
02:59:28.424931 == Info: Trying ::1:8991...
02:59:28.425569 == Info: TCP_NODELAY set
02:59:28.430413 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7568; line 1547 (connection #0)
02:59:28.444908 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:28.447125 == Info: Trying 127.0.0.1:8991...
02:59:28.447189 == Info: TCP_NODELAY set
02:59:28.455398 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:28.455916 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7568; line 1665 (connection #0)
02:59:28.457009 == Info: Marked for [keep alive]: HTTP default
02:59:28.507745 == Info: ALPN, offering h2
02:59:28.508030 == Info: ALPN, offering http/1.1
02:59:28.597067 == Info: successfully set certificate verify locations:
02:59:28.597312 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:28.713747 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:28.718978 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:28.719035 => Send SSL data, 166 bytes (0xa6)
0000: .......Q....[..%.x.....}d..;..=>D24 &.....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:28.735999 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:28.741455 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:28.741511 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y....l.&.....$K.Z.:1...&Y....V....' ......2..=.+........xm#!.
0040: {..w.Et./....................
02:59:28.786263 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:28.786604 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:28.786658 <= 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:28.959490 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:28.959715 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:28.959770 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.............h....`.%~..=jz.....Ax.4...[..[7F]..e.K...."=..
0040: .......^&.......WK.....L..........K......fG.)w....a....E$].2..b.
0080: 9gu..a..i.H.G.T.;...h..TXT....".Efa.f....Iz#}.......x.R.;..3....
00c0: ..................t...e...s./.....S....g....v..;>U..s..+l.=.n.4.
0100: .q".4Va-....r.o8..y........."..z.1.6...0.U......?.........o._k..
0140: .......zH5..G
02:59:28.974433 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:28.974621 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:28.974675 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:29.089752 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:29.089962 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:29.090019 => Send SSL data, 70 bytes (0x46)
0000: ...BA......_.....zN>U..(u.y.T.....c.p..$...S....I......9..>.]...
0040: ..#/M.
02:59:29.101876 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:29.102458 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:29.102516 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:29.123748 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:29.123804 => Send SSL data, 16 bytes (0x10)
0000: ....IU...1......
02:59:29.136203 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:29.138977 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:29.140061 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:29.140117 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:29.142565 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:29.148192 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:29.148247 <= Recv SSL data, 16 bytes (0x10)
0000: .... l...I..2.Tp
02:59:29.175920 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:29.176582 == Info: ALPN, server did not agree to a protocol
02:59:29.179109 == Info: Server certificate:
02:59:29.187005 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
02:59:29.191661 == Info: start date: Sep 19 07:14:23 2018 GMT
02:59:29.193083 == Info: expire date: Dec 6 07:14:23 2026 GMT
02:59:29.196327 == Info: subjectAltName does not match localhost
02:59:29.197072 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
02:59:29.197835 == Info: Marked for [closure]: Failed HTTPS connection
02:59:29.198374 == Info: multi_done
02:59:29.207054 == Info: Closing connection 0
02:59:29.211567 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:29.214443 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:29.214498 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:29.238667 == Info: The cache now contains 0 members
02:59:29.246150 == Info: Expire cleared (transfer 0x56c7568)
=== End of file trace311
=== Start of file valgrind311
==20062== Invalid read of size 8
==20062== at 0x53325A5: check_free (dlerror.c:188)
==20062== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20062== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20062== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20062== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20062== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20062== by 0x4C49EB9: exit (exit.c:139)
==20062== by 0x4C340A1: (below main) (libc-start.c:342)
==20062== Address 0x5765040 is 0 bytes after a block of size 32 alloc'd
==20062== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20062== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20062== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20062== by 0x24AE36: err_get_state (err.c:210)
==20062== by 0x24BA0C: ERR_put_error (err.c:636)
==20062== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20062== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20062== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20062== by 0x270058: by_file_ctrl (by_file.c:111)
==20062== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20062== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20062== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20062== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20062== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20062== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20062== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20062==
==20062== Invalid free() / delete / delete[] / realloc()
==20062== at 0x48369AB: free (vg_replace_malloc.c:540)
==20062== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20062== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20062== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20062== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20062== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20062== by 0x4C49EB9: exit (exit.c:139)
==20062== by 0x4C340A1: (below main) (libc-start.c:342)
==20062== Address 0x5765028 is 8 bytes inside a block of size 32 alloc'd
==20062== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20062== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20062== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20062== by 0x24AE36: err_get_state (err.c:210)
==20062== by 0x24BA0C: ERR_put_error (err.c:636)
==20062== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20062== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20062== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20062== by 0x270058: by_file_ctrl (by_file.c:111)
==20062== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20062== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20062== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20062== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20062== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20062== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20062== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20062==
==20062== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20062== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20062== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20062== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20062== by 0x24AE36: err_get_state (err.c:210)
==20062== by 0x24BA0C: ERR_put_error (err.c:636)
==20062== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20062== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20062== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20062== by 0x270058: by_file_ctrl (by_file.c:111)
==20062== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20062== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20062== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20062== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20062== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20062== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20062== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20062==
=== End of file valgrind311
test 0312...[HTTPS GET to localhost and null-prefixed CN cert]
goto problem 11
valgrind ERROR ==20082== Invalid read of size 8
==20082== at 0x53325A5: check_free (dlerror.c:188)
==20082== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20082== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20082== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20082== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20082== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20082== by 0x4C49EB9: exit (exit.c:139)
==20082== by 0x4C340A1: (below main) (libc-start.c:342)
==20082== Address 0x5765040 is 0 bytes after a block of size 32 alloc'd
==20082== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20082== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20082== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20082== by 0x24AE36: err_get_state (err.c:210)
==20082== by 0x24BA0C: ERR_put_error (err.c:636)
==20082== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20082== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20082== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20082== by 0x270058: by_file_ctrl (by_file.c:111)
==20082== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20082== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20082== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20082== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20082== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20082== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20082== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20082==
==20082== Invalid free() / delete / delete[] / realloc()
==20082== at 0x48369AB: free (vg_replace_malloc.c:540)
==20082== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20082== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20082== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20082== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20082== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20082== by 0x4C49EB9: exit (exit.c:139)
==20082== by 0x4C340A1: (below main) (libc-start.c:342)
==20082== Address 0x5765028 is 8 bytes inside a block of size 32 alloc'd
==20082== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20082== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20082== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20082== by 0x24AE36: err_get_state (err.c:210)
==20082== by 0x24BA0C: ERR_put_error (err.c:636)
==20082== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20082== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20082== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20082== by 0x270058: by_file_ctrl (by_file.c:111)
==20082== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20082== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20082== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20082== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20082== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20082== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20082== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20082==
==20082== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20082== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20082== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20082== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20082== by 0x24AE36: err_get_state (err.c:210)
==20082== by 0x24BA0C: ERR_put_error (err.c:636)
==20082== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20082== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20082== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20082== by 0x270058: by_file_ctrl (by_file.c:111)
==20082== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20082== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20082== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20082== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20082== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20082== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20082== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20082==
== Contents of files in the log/ dir after test 312
=== Start of file http_server.log
02:59:29.329265 signalled to die
02:59:29.329359 ========> IPv4 sws (port 8990 pid: 20049) exits with signal (15)
02:59:34.353516 Running HTTP IPv4 version on port 8990
02:59:34.353726 Wrote pid 20067 to .http_server.pid
02:59:35.349292 ====> Client connect
02:59:35.349341 accept_connection 3 returned 4
02:59:35.349372 accept_connection 3 returned 0
02:59:35.349404 Read 96 bytes
02:59:35.349428 Process 96 bytes request
02:59:35.349466 Got request: GET /verifiedserver HTTP/1.1
02:59:35.349493 Are-we-friendly question received
02:59:35.349531 Wrote request (96 bytes) input to log/server.input
02:59:35.349578 Identifying ourselves as friends
02:59:35.349707 Response sent (56 bytes) and written to log/server.response
02:59:35.349735 special request received, no persistency
02:59:35.349755 ====> Client disconnect 0
02:59:37.395823 ====> Client connect
02:59:37.395846 accept_connection 3 returned 4
02:59:37.395858 accept_connection 3 returned 0
02:59:37.396011 Read 96 bytes
02:59:37.396023 Process 96 bytes request
02:59:37.396037 Got request: GET /verifiedserver HTTP/1.1
02:59:37.396048 Are-we-friendly question received
02:59:37.396080 Wrote request (96 bytes) input to log/server.input
02:59:37.396103 Identifying ourselves as friends
02:59:37.396202 Response sent (56 bytes) and written to log/server.response
02:59:37.396228 special request received, no persistency
02:59:37.396243 ====> Client disconnect 0
02:59:40.138640 ====> Client connect
02:59:40.138662 accept_connection 3 returned 4
02:59:40.138676 accept_connection 3 returned 0
02:59:40.215793 Connection closed by client
02:59:40.215825 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x56177cb33828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x56177cb33828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56177cb33828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x56177cb33828; line 1685 (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 0x56177cb33828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x56177cb33828; line 1877 (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 0x56177cb33828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x56177cb33828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 20067
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.07 02:59:36 LOG5[20073]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.07 02:59:36 LOG5[20073]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.07 02:59:36 LOG5[20073]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.07 02:59:36 LOG5[20073]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.07 02:59:36 LOG5[20073]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.07 02:59:36 LOG5[20073]: Reading configuration from file /build-18252/tests/https_stunnel.conf
2019.09.07 02:59:36 LOG5[20073]: FIPS mode disabled
2019.09.07 02:59:36 LOG5[20073]: Configuration successful
2019.09.07 02:59:37 LOG5[20076]: Service [curltest] accepted connection from 127.0.0.1:57756
2019.09.07 02:59:37 LOG5[20076]: s_connect: connected 127.0.0.1:8990
2019.09.07 02:59:37 LOG5[20076]: Service [curltest] connected remote server from 127.0.0.1:36608
2019.09.07 02:59:37 LOG5[20076]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.07 02:59:39 LOG5[20083]: Service [curltest] accepted connection from 127.0.0.1:57762
2019.09.07 02:59:40 LOG5[20083]: s_connect: connected 127.0.0.1:8990
2019.09.07 02:59:40 LOG5[20083]: Service [curltest] connected remote server from 127.0.0.1:36614
2019.09.07 02:59:40 LOG5[20083]: 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 0x564587714828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x564587714828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x564587714828; line 1665 (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 0x564587714828; line 1682 (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 0x564587714828; line 1701 (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 0x564587714828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x564587714828; line 1877 (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 0x564587714828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x564587714828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 20067
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 20067
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 20067
=== 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:39.318666 == Info: STATE: INIT => CONNECT handle 0x56c7568; line 1491 (connection #-5000)
02:59:39.373255 == Info: Added connection 0. The cache now contains 1 members
02:59:39.427498 == Info: Trying ::1:8991...
02:59:39.428135 == Info: TCP_NODELAY set
02:59:39.432971 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7568; line 1547 (connection #0)
02:59:39.447391 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:39.449608 == Info: Trying 127.0.0.1:8991...
02:59:39.449672 == Info: TCP_NODELAY set
02:59:39.458008 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:39.458525 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7568; line 1665 (connection #0)
02:59:39.459609 == Info: Marked for [keep alive]: HTTP default
02:59:39.510276 == Info: ALPN, offering h2
02:59:39.510552 == Info: ALPN, offering http/1.1
02:59:39.599411 == Info: successfully set certificate verify locations:
02:59:39.599653 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:39.715858 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:39.721079 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:39.721136 => Send SSL data, 166 bytes (0xa6)
0000: ......A.V.29/.N..R.|.x...!......;.Z.......+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:39.738070 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:39.743506 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:39.743561 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...=+..S]|...[7F]I.+..H..h#!E...D~Q3; .p..F)...9.`......IL.....
0040: O;...Vj./....................
02:59:39.788251 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:39.788600 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:39.788654 <= 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[...
02:59:39.961294 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:39.961514 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:39.961568 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A......=.+_!.......[7F]V..Ll........m.......D..).6.s..B..Zu.
0040: \..&>vt.......A.......Ke..S#...).,.b...A..........I.<O%.r..>E.;(
0080: x=..y...LD#@.f...2./.Y* .......+.=..jI..,q./....8b......H/..tyt.
00c0: ,....[7F]oHX..&.L@.m......n.s...a..Y.....[7F]E..8-...!#...^!....K).4.t
0100: ....Yw......m.9)....O...g......-. .@.kX=...... ....c|I...tY.`i.8
0140: ...*9.b......
02:59:39.976185 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:39.976372 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:39.976429 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:40.091419 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:40.091629 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:40.091686 => Send SSL data, 70 bytes (0x46)
0000: ...BA.v*f.g.....s.w....<y....lF..~\...1(........Y%...TH.......M.
0040: ....5p
02:59:40.103497 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:40.104076 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:40.104134 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:40.125343 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:40.125398 => Send SSL data, 16 bytes (0x10)
0000: .....Ekz.@.,...)
02:59:40.137775 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:40.140343 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:40.141433 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:40.141488 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:40.143924 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:40.149555 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:40.149610 <= Recv SSL data, 16 bytes (0x10)
0000: ....1:'.+Y.E2e.[7F]
02:59:40.177227 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:40.177885 == Info: ALPN, server did not agree to a protocol
02:59:40.180418 == Info: Server certificate:
02:59:40.188295 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost.nn
02:59:40.192988 == Info: start date: Sep 19 07:14:12 2018 GMT
02:59:40.194416 == Info: expire date: Dec 6 07:14:12 2026 GMT
02:59:40.199019 == Info: subjectAltName does not match localhost
02:59:40.199754 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
02:59:40.200520 == Info: Marked for [closure]: Failed HTTPS connection
02:59:40.201051 == Info: multi_done
02:59:40.209730 == Info: Closing connection 0
02:59:40.214232 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:40.217118 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:40.217173 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:40.241370 == Info: The cache now contains 0 members
02:59:40.248813 == Info: Expire cleared (transfer 0x56c7568)
=== End of file trace312
=== Start of file valgrind312
==20082== Invalid read of size 8
==20082== at 0x53325A5: check_free (dlerror.c:188)
==20082== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20082== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20082== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20082== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20082== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20082== by 0x4C49EB9: exit (exit.c:139)
==20082== by 0x4C340A1: (below main) (libc-start.c:342)
==20082== Address 0x5765040 is 0 bytes after a block of size 32 alloc'd
==20082== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20082== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20082== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20082== by 0x24AE36: err_get_state (err.c:210)
==20082== by 0x24BA0C: ERR_put_error (err.c:636)
==20082== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20082== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20082== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20082== by 0x270058: by_file_ctrl (by_file.c:111)
==20082== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20082== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20082== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20082== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20082== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20082== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20082== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20082==
==20082== Invalid free() / delete / delete[] / realloc()
==20082== at 0x48369AB: free (vg_replace_malloc.c:540)
==20082== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20082== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20082== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20082== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20082== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20082== by 0x4C49EB9: exit (exit.c:139)
==20082== by 0x4C340A1: (below main) (libc-start.c:342)
==20082== Address 0x5765028 is 8 bytes inside a block of size 32 alloc'd
==20082== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20082== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20082== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20082== by 0x24AE36: err_get_state (err.c:210)
==20082== by 0x24BA0C: ERR_put_error (err.c:636)
==20082== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20082== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20082== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20082== by 0x270058: by_file_ctrl (by_file.c:111)
==20082== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20082== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20082== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20082== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20082== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20082== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20082== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20082==
==20082== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20082== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20082== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20082== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20082== by 0x24AE36: err_get_state (err.c:210)
==20082== by 0x24BA0C: ERR_put_error (err.c:636)
==20082== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20082== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20082== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20082== by 0x270058: by_file_ctrl (by_file.c:111)
==20082== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20082== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20082== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20082== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20082== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20082== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20082== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20082==
=== End of file valgrind312
test 0313...[CRL test]
goto problem 12
valgrind ERROR ==20099== Invalid read of size 8
==20099== at 0x53325A5: check_free (dlerror.c:188)
==20099== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20099== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20099== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20099== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20099== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20099== by 0x4C49EB9: exit (exit.c:139)
==20099== by 0x4C340A1: (below main) (libc-start.c:342)
==20099== Address 0x5766fe0 is 0 bytes after a block of size 32 alloc'd
==20099== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20099== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20099== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20099== by 0x24AE36: err_get_state (err.c:210)
==20099== by 0x24BA0C: ERR_put_error (err.c:636)
==20099== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20099== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20099== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20099== by 0x270058: by_file_ctrl (by_file.c:111)
==20099== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20099== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20099== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20099== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20099== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20099== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20099== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20099==
==20099== Invalid free() / delete / delete[] / realloc()
==20099== at 0x48369AB: free (vg_replace_malloc.c:540)
==20099== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20099== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20099== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20099== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20099== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20099== by 0x4C49EB9: exit (exit.c:139)
==20099== by 0x4C340A1: (below main) (libc-start.c:342)
==20099== Address 0x5766fc8 is 8 bytes inside a block of size 32 alloc'd
==20099== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20099== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20099== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20099== by 0x24AE36: err_get_state (err.c:210)
==20099== by 0x24BA0C: ERR_put_error (err.c:636)
==20099== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20099== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20099== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20099== by 0x270058: by_file_ctrl (by_file.c:111)
==20099== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20099== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20099== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20099== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20099== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20099== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20099== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20099==
==20099== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==20099== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20099== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20099== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20099== by 0x24AE36: err_get_state (err.c:210)
==20099== by 0x24BA0C: ERR_put_error (err.c:636)
==20099== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20099== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20099== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20099== by 0x270058: by_file_ctrl (by_file.c:111)
==20099== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20099== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20099== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20099== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20099== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20099== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20099== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20099==
== Contents of files in the log/ dir after test 313
=== Start of file http_server.log
02:59:40.330541 signalled to die
02:59:40.330631 ========> IPv4 sws (port 8990 pid: 20067) exits with signal (15)
02:59:45.354432 Running HTTP IPv4 version on port 8990
02:59:45.354661 Wrote pid 20086 to .http_server.pid
02:59:46.350076 ====> Client connect
02:59:46.350123 accept_connection 3 returned 4
02:59:46.350153 accept_connection 3 returned 0
02:59:46.350186 Read 96 bytes
02:59:46.350209 Process 96 bytes request
02:59:46.350246 Got request: GET /verifiedserver HTTP/1.1
02:59:46.350273 Are-we-friendly question received
02:59:46.350309 Wrote request (96 bytes) input to log/server.input
02:59:46.350355 Identifying ourselves as friends
02:59:46.350481 Response sent (56 bytes) and written to log/server.response
02:59:46.350508 special request received, no persistency
02:59:46.350527 ====> Client disconnect 0
02:59:48.398505 ====> Client connect
02:59:48.398534 accept_connection 3 returned 4
02:59:48.398549 accept_connection 3 returned 0
02:59:48.398722 Read 96 bytes
02:59:48.398765 Process 96 bytes request
02:59:48.398787 Got request: GET /verifiedserver HTTP/1.1
02:59:48.398800 Are-we-friendly question received
02:59:48.398816 Wrote request (96 bytes) input to log/server.input
02:59:48.398834 Identifying ourselves as friends
02:59:48.398906 Response sent (56 bytes) and written to log/server.response
02:59:48.398934 special request received, no persistency
02:59:48.398949 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55599c0d6828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55599c0d6828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55599c0d6828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55599c0d6828; line 1685 (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 0x55599c0d6828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55599c0d6828; line 1877 (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 0x55599c0d6828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55599c0d6828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 20086
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.07 02:59:47 LOG5[20092]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.07 02:59:47 LOG5[20092]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.07 02:59:47 LOG5[20092]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.07 02:59:47 LOG5[20092]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.07 02:59:47 LOG5[20092]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.07 02:59:47 LOG5[20092]: Reading configuration from file /build-18252/tests/https_stunnel.conf
2019.09.07 02:59:47 LOG5[20092]: FIPS mode disabled
2019.09.07 02:59:47 LOG5[20092]: Configuration successful
2019.09.07 02:59:48 LOG5[20095]: Service [curltest] accepted connection from 127.0.0.1:57768
2019.09.07 02:59:48 LOG5[20095]: s_connect: connected 127.0.0.1:8990
2019.09.07 02:59:48 LOG5[20095]: Service [curltest] connected remote server from 127.0.0.1:36620
2019.09.07 02:59:48 LOG5[20095]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.07 02:59:50 LOG5[20100]: Service [curltest] accepted connection from 127.0.0.1:57774
2019.09.07 02:59:51 LOG3[20100]: SSL_accept: 14094415: error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired
2019.09.07 02:59:51 LOG5[20100]: 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 0x556ac4837828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x556ac4837828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x556ac4837828; line 1665 (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 0x556ac4837828; line 1682 (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 0x556ac4837828; line 1701 (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 0x556ac4837828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x556ac4837828; line 1877 (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 0x556ac4837828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x556ac4837828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 20086
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 20086
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 20086
=== 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
02:59:50.330981 == Info: STATE: INIT => CONNECT handle 0x56c7a48; line 1491 (connection #-5000)
02:59:50.386042 == Info: Added connection 0. The cache now contains 1 members
02:59:50.440985 == Info: Trying ::1:8991...
02:59:50.441675 == Info: TCP_NODELAY set
02:59:50.446570 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7a48; line 1547 (connection #0)
02:59:50.461164 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:50.463501 == Info: Trying 127.0.0.1:8991...
02:59:50.463563 == Info: TCP_NODELAY set
02:59:50.471829 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:50.472348 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7a48; line 1665 (connection #0)
02:59:50.473447 == Info: Marked for [keep alive]: HTTP default
02:59:50.524454 == Info: ALPN, offering h2
02:59:50.524732 == Info: ALPN, offering http/1.1
02:59:50.614285 == Info: successfully set certificate verify locations:
02:59:50.614528 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:50.663242 == Info: successfully load CRL file:
02:59:50.663738 == Info: CRLfile: /tests/certs/Server-localhost-sv.crl
02:59:50.780524 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:50.785630 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:50.785688 => Send SSL data, 166 bytes (0xa6)
0000: ......}....c.].um[..&.........6.....Na....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:50.802746 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:50.808142 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:50.808198 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y....B[7F].Xr}v.LQ2./d...n......Ew.... .....;O.....l..86.."s..Jh
0040: {...;?n./....................
02:59:50.852758 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:50.853096 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:50.853150 <= 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:50.945158 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:50.948248 == Info: TLSv1.2 (OUT), TLS alert, certificate expired (557):
02:59:50.948309 => Send SSL data, 2 bytes (0x2)
0000: .-
02:59:50.954996 == Info: SSL certificate problem: CRL has expired
02:59:50.955486 == Info: Marked for [closure]: Failed HTTPS connection
02:59:50.956026 == Info: multi_done
02:59:50.964816 == Info: Closing connection 0
02:59:51.001403 == Info: The cache now contains 0 members
02:59:51.009697 == Info: Expire cleared (transfer 0x56c7a48)
=== End of file trace313
=== Start of file valgrind313
==20099== Invalid read of size 8
==20099== at 0x53325A5: check_free (dlerror.c:188)
==20099== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20099== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20099== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20099== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20099== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20099== by 0x4C49EB9: exit (exit.c:139)
==20099== by 0x4C340A1: (below main) (libc-start.c:342)
==20099== Address 0x5766fe0 is 0 bytes after a block of size 32 alloc'd
==20099== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20099== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20099== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20099== by 0x24AE36: err_get_state (err.c:210)
==20099== by 0x24BA0C: ERR_put_error (err.c:636)
==20099== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20099== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20099== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20099== by 0x270058: by_file_ctrl (by_file.c:111)
==20099== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20099== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20099== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20099== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20099== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20099== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20099== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20099==
==20099== Invalid free() / delete / delete[] / realloc()
==20099== at 0x48369AB: free (vg_replace_malloc.c:540)
==20099== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20099== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20099== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20099== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20099== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20099== by 0x4C49EB9: exit (exit.c:139)
==20099== by 0x4C340A1: (below main) (libc-start.c:342)
==20099== Address 0x5766fc8 is 8 bytes inside a block of size 32 alloc'd
==20099== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20099== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20099== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20099== by 0x24AE36: err_get_state (err.c:210)
==20099== by 0x24BA0C: ERR_put_error (err.c:636)
==20099== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20099== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20099== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20099== by 0x270058: by_file_ctrl (by_file.c:111)
==20099== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20099== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20099== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20099== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20099== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20099== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20099== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20099==
==20099== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==20099== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20099== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20099== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20099== by 0x24AE36: err_get_state (err.c:210)
==20099== by 0x24BA0C: ERR_put_error (err.c:636)
==20099== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20099== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20099== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20099== by 0x270058: by_file_ctrl (by_file.c:111)
==20099== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20099== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20099== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20099== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20099== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20099== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20099== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20099==
=== End of file valgrind313
test 0314...[HTTP GET brotli compressed content]
--pd---emv- OK (314 out of 1251, remaining: 25:58, took 1.2s, duration: 08:42)
test 0315...[HTTP GET brotli compressed content with broken header]
--pd---emv- OK (315 out of 1251, remaining: 25:55, took 1.2s, duration: 08:43)
test 0316...[HTTP GET brotli compressed content of size more than CURL_MAX_WRITE_SIZE]
--pd---emv- OK (316 out of 1251, remaining: 25:52, took 1.2s, duration: 08:44)
test 0317...[HTTP with custom Authorization: and redirect to new host]
--pd---emv- OK (317 out of 1251, remaining: 25:49, took 1.2s, duration: 08:45)
test 0318...[HTTP with custom Authorization: and redirect to new host]
--pd---emv- OK (318 out of 1251, remaining: 25:46, took 1.2s, duration: 08:47)
test 0319...[HTTP GET gzip transfer-encoded data in raw mode]
--pd---emv- OK (319 out of 1251, remaining: 25:43, took 1.2s, duration: 08:48)
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 13
valgrind ERROR ==20143== Invalid read of size 8
==20143== at 0x53325A5: check_free (dlerror.c:188)
==20143== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20143== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20143== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20143== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20143== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20143== by 0x4C49EB9: exit (exit.c:139)
==20143== by 0x4C340A1: (below main) (libc-start.c:342)
==20143== Address 0x5af7a10 is 0 bytes after a block of size 32 alloc'd
==20143== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20143== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20143== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20143== by 0x24AE36: err_get_state (err.c:210)
==20143== by 0x24BA0C: ERR_put_error (err.c:636)
==20143== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20143== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20143== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20143== by 0x270058: by_file_ctrl (by_file.c:111)
==20143== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20143== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20143== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20143== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20143== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20143== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20143== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20143==
==20143== Invalid free() / delete / delete[] / realloc()
==20143== at 0x48369AB: free (vg_replace_malloc.c:540)
==20143== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20143== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20143== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20143== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20143== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20143== by 0x4C49EB9: exit (exit.c:139)
==20143== by 0x4C340A1: (below main) (libc-start.c:342)
==20143== Address 0x5af79f8 is 8 bytes inside a block of size 32 alloc'd
==20143== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20143== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20143== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20143== by 0x24AE36: err_get_state (err.c:210)
==20143== by 0x24BA0C: ERR_put_error (err.c:636)
==20143== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20143== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20143== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20143== by 0x270058: by_file_ctrl (by_file.c:111)
==20143== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20143== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20143== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20143== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20143== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20143== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20143== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20143==
==20143== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20143== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20143== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20143== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20143== by 0x24AE36: err_get_state (err.c:210)
==20143== by 0x24BA0C: ERR_put_error (err.c:636)
==20143== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20143== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20143== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20143== by 0x270058: by_file_ctrl (by_file.c:111)
==20143== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20143== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20143== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20143== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20143== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20143== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20143== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20143==
== 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
02:59:58.323764 signalled to die
02:59:58.323856 ========> IPv4 sws (port 8990 pid: 20086) exits with signal (15)
03:00:03.348195 Running HTTP IPv4 version on port 8990
03:00:03.348426 Wrote pid 20130 to .http_server.pid
03:00:04.343762 ====> Client connect
03:00:04.343814 accept_connection 3 returned 4
03:00:04.343859 accept_connection 3 returned 0
03:00:04.343955 Read 96 bytes
03:00:04.343998 Process 96 bytes request
03:00:04.344048 Got request: GET /verifiedserver HTTP/1.1
03:00:04.344089 Are-we-friendly question received
03:00:04.344138 Wrote request (96 bytes) input to log/server.input
03:00:04.344182 Identifying ourselves as friends
03:00:04.344321 Response sent (56 bytes) and written to log/server.response
03:00:04.344363 special request received, no persistency
03:00:04.344395 ====> Client disconnect 0
03:00:06.388856 ====> Client connect
03:00:06.388880 accept_connection 3 returned 4
03:00:06.388894 accept_connection 3 returned 0
03:00:06.389049 Read 96 bytes
03:00:06.389087 Process 96 bytes request
03:00:06.389110 Got request: GET /verifiedserver HTTP/1.1
03:00:06.389124 Are-we-friendly question received
03:00:06.389139 Wrote request (96 bytes) input to log/server.input
03:00:06.389155 Identifying ourselves as friends
03:00:06.389213 Response sent (56 bytes) and written to log/server.response
03:00:06.389228 special request received, no persistency
03:00:06.389239 ====> Client disconnect 0
03:00:10.357873 ====> Client connect
03:00:10.357897 accept_connection 3 returned 4
03:00:10.357916 accept_connection 3 returned 0
03:00:10.440169 Read 85 bytes
03:00:10.440203 Process 85 bytes request
03:00:10.440223 Got request: GET /325 HTTP/1.1
03:00:10.440237 Requested test number 325 part 0
03:00:10.440278 - request found to be complete
03:00:10.440314 Wrote request (85 bytes) input to log/server.input
03:00:10.440345 Send response test325 section <data>
03:00:10.440433 Response sent (134 bytes) and written to log/server.response
03:00:10.440451 => persistent connection request ended, awaits new request
03:00:10.534013 Connection closed by client
03:00:10.534045 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x557a9f615828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x557a9f615828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x557a9f615828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x557a9f615828; line 1685 (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 0x557a9f615828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x557a9f615828; line 1877 (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 0x557a9f615828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x557a9f615828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 20130
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.07 03:00:05 LOG5[20136]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.07 03:00:05 LOG5[20136]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.07 03:00:05 LOG5[20136]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.07 03:00:05 LOG5[20136]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.07 03:00:05 LOG5[20136]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.07 03:00:05 LOG5[20136]: Reading configuration from file /build-18252/tests/https_stunnel.conf
2019.09.07 03:00:05 LOG5[20136]: FIPS mode disabled
2019.09.07 03:00:05 LOG5[20136]: Configuration successful
2019.09.07 03:00:06 LOG5[20139]: Service [curltest] accepted connection from 127.0.0.1:57798
2019.09.07 03:00:06 LOG5[20139]: s_connect: connected 127.0.0.1:8990
2019.09.07 03:00:06 LOG5[20139]: Service [curltest] connected remote server from 127.0.0.1:36650
2019.09.07 03:00:06 LOG5[20139]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.07 03:00:08 LOG5[20144]: Service [curltest] accepted connection from 127.0.0.1:57802
2019.09.07 03:00:10 LOG5[20144]: s_connect: connected 127.0.0.1:8990
2019.09.07 03:00:10 LOG5[20144]: Service [curltest] connected remote server from 127.0.0.1:36654
2019.09.07 03:00:10 LOG5[20144]: 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 0x55d542769828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55d542769828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55d542769828; line 1665 (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 0x55d542769828; line 1682 (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 0x55d542769828; line 1701 (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 0x55d542769828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55d542769828; line 1877 (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 0x55d542769828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55d542769828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 20130
=== 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: 20130
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 20130
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:08.312550 == Info: STATE: INIT => CONNECT handle 0x56c7978; line 1491 (connection #-5000)
03:00:08.366851 == Info: Added connection 0. The cache now contains 1 members
03:00:08.384143 == Info: Trying 127.0.0.1:8991...
03:00:08.384751 == Info: TCP_NODELAY set
03:00:08.389849 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7978; line 1547 (connection #0)
03:00:08.401379 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:00:08.401935 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7978; line 1665 (connection #0)
03:00:08.403058 == Info: Marked for [keep alive]: HTTP default
03:00:08.453706 == Info: ALPN, offering h2
03:00:08.454027 == Info: ALPN, offering http/1.1
03:00:09.841215 == Info: successfully set certificate verify locations:
03:00:09.841471 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:09.954209 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:09.959276 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:09.959333 => Send SSL data, 148 bytes (0x94)
0000: ........V..h.PlS..**....... l....../......+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:00:09.976251 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:09.981598 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:09.981653 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.......!-`...i..4..@q...5..j...... .^Ikn~...t..<.....|M...%x
0040: .ox...@./................
03:00:10.025489 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:10.025861 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:10.025916 <= 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:10.123945 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:10.124161 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:10.124217 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A././p4..P....z.[e..../.5T...z..$.A;+ .5....{.....'...z..
0040: .f.^C.S.8.....o.!....mlc....(.....!.-M1......^......C....L..j...
0080: ..+..[7F].c....s._`....=.|G.1E..6}...R....tiu.9......BG..@.7.....n.
00c0: J.Z9..Q....b..qf.4>*.L...gb.....Q.y.JF.YBvxbzh_...h...}..(..)F.u
0100: .u.........9.....4.b...2...B..|.\../..:.."o..8.f!+..J.Q..H..$h.j
0140: ...h..Gu..Sm.
03:00:10.192783 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:10.192982 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:10.193038 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:10.309092 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:10.309288 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:10.309343 => Send SSL data, 70 bytes (0x46)
0000: ...BA..I...I.}..O....u!.R....wH..*.u.E6.>q1&TS.....g....O...G.Uo
0040: ...9..
03:00:10.321671 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:10.322270 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:10.322333 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:10.344491 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:10.344548 => Send SSL data, 16 bytes (0x10)
0000: ....eY.@...O..Hb
03:00:10.357010 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:10.359577 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:10.360677 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:10.360733 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:10.363173 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:10.368844 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:10.368903 <= Recv SSL data, 16 bytes (0x10)
0000: .....%;$.JH,....
03:00:10.397285 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:10.397945 == Info: ALPN, server did not agree to a protocol
03:00:10.400583 == Info: Server certificate:
03:00:10.408089 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:10.414234 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:10.415179 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:10.416116 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:10.416982 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:10.418481 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c7978; line 1685 (connection #0)
03:00:10.438514 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:00:10.441511 => 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:10.444421 == Info: STATE: DO => DO_DONE handle 0x56c7978; line 1756 (connection #0)
03:00:10.444888 == Info: STATE: DO_DONE => PERFORM handle 0x56c7978; line 1877 (connection #0)
03:00:10.449309 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:00:10.458761 == Info: Mark bundle as not supporting multiuse
03:00:10.459350 == Info: HTTP 1.1 or later with persistent connection
03:00:10.462213 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 301 OK.
03:00:10.473207 <= Recv SSL data, 5 bytes (0x5)
0000: ....v
03:00:10.473458 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:00:10.473682 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:00:10.474844 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:00:10.476737 <= Recv header, 31 bytes (0x1f)
0000: Location: http://somewhere/325.
03:00:10.479417 <= Recv header, 1 bytes (0x1)
0000: .
03:00:10.479955 == Info: Ignoring the response-body
03:00:10.480306 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:00:10.482479 == Info: multi_done
03:00:10.491550 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:10.495557 == Info: Issue another request to this URL: 'http://somewhere/325'
03:00:10.496351 == Info: STATE: PERFORM => CONNECT handle 0x56c7978; line 2044 (connection #-5000)
03:00:10.498986 == Info: Protocol "http" not supported or disabled in libcurl
03:00:10.500999 == Info: Closing connection -1
03:00:10.509209 == Info: Expire cleared (transfer 0x56c7978)
=== End of file trace325
=== Start of file valgrind325
==20143== Invalid read of size 8
==20143== at 0x53325A5: check_free (dlerror.c:188)
==20143== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20143== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20143== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20143== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20143== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20143== by 0x4C49EB9: exit (exit.c:139)
==20143== by 0x4C340A1: (below main) (libc-start.c:342)
==20143== Address 0x5af7a10 is 0 bytes after a block of size 32 alloc'd
==20143== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20143== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20143== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20143== by 0x24AE36: err_get_state (err.c:210)
==20143== by 0x24BA0C: ERR_put_error (err.c:636)
==20143== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20143== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20143== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20143== by 0x270058: by_file_ctrl (by_file.c:111)
==20143== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20143== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20143== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20143== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20143== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20143== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20143== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20143==
==20143== Invalid free() / delete / delete[] / realloc()
==20143== at 0x48369AB: free (vg_replace_malloc.c:540)
==20143== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20143== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20143== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20143== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20143== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20143== by 0x4C49EB9: exit (exit.c:139)
==20143== by 0x4C340A1: (below main) (libc-start.c:342)
==20143== Address 0x5af79f8 is 8 bytes inside a block of size 32 alloc'd
==20143== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20143== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20143== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20143== by 0x24AE36: err_get_state (err.c:210)
==20143== by 0x24BA0C: ERR_put_error (err.c:636)
==20143== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20143== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20143== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20143== by 0x270058: by_file_ctrl (by_file.c:111)
==20143== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20143== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20143== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20143== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20143== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20143== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20143== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20143==
==20143== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20143== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20143== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20143== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20143== by 0x24AE36: err_get_state (err.c:210)
==20143== by 0x24BA0C: ERR_put_error (err.c:636)
==20143== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20143== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20143== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20143== by 0x270058: by_file_ctrl (by_file.c:111)
==20143== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20143== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20143== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20143== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20143== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20143== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20143== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==20143==
=== End of file valgrind325
test 0326...[HTTP GET chunked data in raw mode]
--pd---emv- OK (326 out of 1251, remaining: 25:37, took 1.2s, duration: 09:01)
test 0327...[HTTP with cookiejar without cookies left]
--pd--oemv- OK (327 out of 1251, remaining: 25:34, took 1.3s, duration: 09:03)
test 0328...[HTTP with "Content-Encoding: none]
--pd---emv- OK (328 out of 1251, remaining: 25:31, took 1.2s, duration: 09:04)
test 0329...[HTTP cookie with Max-Age=0]
--pd---emv- OK (329 out of 1251, remaining: 25:28, took 1.2s, duration: 09:05)
test 0330...[HTTP with custom Cookie: and redirect to new host]
--pd---emv- OK (330 out of 1251, remaining: 25:25, took 1.2s, duration: 09:06)
test 0331...[HTTP with cookie using host name 'moo']
--pd---emv- OK (331 out of 1251, remaining: 25:22, took 1.2s, duration: 09:07)
test 0332...[TFTP retrieve with blksize 400]
--pd---emv- OK (332 out of 1251, remaining: 25:19, took 1.1s, duration: 09:09)
test 0333...[Try a non-boolean command line option with --no-]
-------emv- OK (333 out of 1251, remaining: 25:15, took 0.9s, duration: 09:09)
test 0334...[HTTP 204 No content with chunked header]
--pd---emv- OK (334 out of 1251, remaining: 25:12, took 1.1s, duration: 09:11)
test 0335...[HTTP with proxy Digest and site Digest with creds in URLs]
--pd---emv- OK (335 out of 1251, remaining: 25:10, took 1.3s, duration: 09:12)
test 0340...[FTP using %00 in path with singlecwd]
--p----emv- OK (336 out of 1251, remaining: 25:07, took 1.1s, duration: 09:13)
test 0350...[FTP root dir list multicwd]
--pd---emv- OK (337 out of 1251, remaining: 25:04, took 1.2s, duration: 09:14)
test 0351...[FTP root dir list nocwd]
--pd---emv- OK (338 out of 1251, remaining: 25:01, took 1.2s, duration: 09:15)
test 0352...[FTP root dir list singlecwd]
--pd---emv- OK (339 out of 1251, remaining: 24:58, took 1.2s, duration: 09:17)
test 0353...[FTP home dir list singlecwd]
--pd---emv- OK (340 out of 1251, remaining: 24:55, took 1.2s, duration: 09:18)
test 0354...[FTP without password]
--pd---emv- OK (341 out of 1251, remaining: 24:52, took 1.2s, duration: 09:19)
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 (344 out of 1251, remaining: 24:37, took 1.1s, duration: 09:20)
test 0394...[HTTP with rubbish in Content-Length]
--p----emv- OK (345 out of 1251, remaining: 24:35, took 1.1s, duration: 09:21)
test 0395...[HTTP and out-of-range Content-Length]
--p----emv- OK (346 out of 1251, remaining: 24:32, took 1.2s, duration: 09:22)
test 0400...[FTPS dir list PASV unencrypted data]
goto problem 14
valgrind ERROR ==20226== Invalid read of size 8
==20226== at 0x53325A5: check_free (dlerror.c:188)
==20226== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20226== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20226== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20226== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20226== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20226== by 0x4C49EB9: exit (exit.c:139)
==20226== by 0x4C340A1: (below main) (libc-start.c:342)
==20226== Address 0x5af6dd0 is 0 bytes after a block of size 32 alloc'd
==20226== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20226== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20226== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20226== by 0x24AE36: err_get_state (err.c:210)
==20226== by 0x24BA0C: ERR_put_error (err.c:636)
==20226== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20226== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20226== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20226== by 0x270058: by_file_ctrl (by_file.c:111)
==20226== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20226== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20226== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20226== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20226== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20226== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20226== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20226==
==20226== Invalid free() / delete / delete[] / realloc()
==20226== at 0x48369AB: free (vg_replace_malloc.c:540)
==20226== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20226== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20226== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20226== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20226== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20226== by 0x4C49EB9: exit (exit.c:139)
==20226== by 0x4C340A1: (below main) (libc-start.c:342)
==20226== Address 0x5af6db8 is 8 bytes inside a block of size 32 alloc'd
==20226== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20226== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20226== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20226== by 0x24AE36: err_get_state (err.c:210)
==20226== by 0x24BA0C: ERR_put_error (err.c:636)
==20226== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20226== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20226== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20226== by 0x270058: by_file_ctrl (by_file.c:111)
==20226== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20226== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20226== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20226== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20226== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20226== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20226== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20226==
==20226== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20226== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20226== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20226== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20226== by 0x24AE36: err_get_state (err.c:210)
==20226== by 0x24BA0C: ERR_put_error (err.c:636)
==20226== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20226== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20226== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20226== by 0x270058: by_file_ctrl (by_file.c:111)
==20226== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20226== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20226== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20226== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20226== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20226== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20226== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20226==
== 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:34.069477 ====> Client connect
03:00:34.069621 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:34.070263 < "USER anonymous"
03:00:34.070325 > "331 We are happy you popped in![CR][LF]"
03:00:34.070976 < "PASS ftp@example.com"
03:00:34.071031 > "230 Welcome you silly person[CR][LF]"
03:00:34.071498 < "PBSZ 0"
03:00:34.071555 > "500 PBSZ not implemented[CR][LF]"
03:00:34.072075 < "PROT C"
03:00:34.072130 > "500 PROT not implemented[CR][LF]"
03:00:34.072626 < "PWD"
03:00:34.072675 > "257 "/" is current directory[CR][LF]"
03:00:34.073244 < "EPSV"
03:00:34.073294 ====> Passive DATA channel requested by client
03:00:34.073319 DATA sockfilt for passive data channel starting...
03:00:34.076234 DATA sockfilt for passive data channel started (pid 20223)
03:00:34.076507 DATA sockfilt for passive data channel listens on port 38617
03:00:34.076590 > "229 Entering Passive Mode (|||38617|)[LF]"
03:00:34.076620 Client has been notified that DATA conn will be accepted on port 38617
03:00:34.077051 Client connects to port 38617
03:00:34.077077 ====> Client established passive DATA connection on port 38617
03:00:34.077190 < "TYPE I"
03:00:34.077238 > "200 I modify TYPE as you wanted[CR][LF]"
03:00:34.077686 < "SIZE verifiedserver"
03:00:34.077748 > "213 17[CR][LF]"
03:00:34.078250 < "RETR verifiedserver"
03:00:34.078303 > "150 Binary junk (17 bytes).[CR][LF]"
03:00:34.078391 =====> Closing passive DATA connection...
03:00:34.078417 Server disconnects passive DATA connection
03:00:34.078523 DATA sockfilt for passive data channel quits (pid 20224)
03:00:34.078538 =====> Closed passive DATA connection
03:00:34.078559 > "226 File transfer complete[CR][LF]"
03:00:34.079474 < "QUIT"
03:00:34.079516 > "221 bye bye baby[CR][LF]"
03:00:34.079888 MAIN sockfilt said DISC
03:00:34.079929 ====> Client disconnected
03:00:34.079999 Awaiting input
03:00:38.112021 ====> Client connect
03:00:38.112129 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:38.200345 < "USER anonymous"
03:00:38.200392 > "331 We are happy you popped in![CR][LF]"
03:00:38.211293 < "PASS ftp@example.com"
03:00:38.211328 > "230 Welcome you silly person[CR][LF]"
03:00:38.213613 < "PBSZ 0"
03:00:38.213646 > "500 PBSZ not implemented[CR][LF]"
03:00:38.214998 < "PROT C"
03:00:38.215029 > "500 PROT not implemented[CR][LF]"
03:00:38.216475 < "PWD"
03:00:38.216511 > "257 "/" is current directory[CR][LF]"
03:00:38.223069 < "EPSV"
03:00:38.223098 ====> Passive DATA channel requested by client
03:00:38.223111 DATA sockfilt for passive data channel starting...
03:00:38.224668 DATA sockfilt for passive data channel started (pid 20228)
03:00:38.224761 DATA sockfilt for passive data channel listens on port 43167
03:00:38.224797 > "229 Entering Passive Mode (|||43167|)[LF]"
03:00:38.224812 Client has been notified that DATA conn will be accepted on port 43167
03:00:38.231891 Client connects to port 43167
03:00:38.231926 ====> Client established passive DATA connection on port 43167
03:00:38.237060 < "TYPE A"
03:00:38.237092 > "200 I modify TYPE as you wanted[CR][LF]"
03:00:38.239226 < "LIST"
03:00:38.239257 > "150 here comes a directory[CR][LF]"
03:00:38.239280 pass LIST data on data connection
03:00:38.239373 =====> Closing passive DATA connection...
03:00:38.239395 Server disconnects passive DATA connection
03:00:38.239881 DATA sockfilt for passive data channel quits (pid 20229)
03:00:38.239905 =====> Closed passive DATA connection
03:00:38.239938 > "226 ASCII transfer complete[CR][LF]"
03:00:38.298164 < "QUIT"
03:00:38.298206 > "221 bye bye baby[CR][LF]"
03:00:38.302573 MAIN sockfilt said DISC
03:00:38.302594 ====> Client disconnected
03:00:38.302633 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:00:33.930091 ====> Client connect
03:00:33.930326 Received DATA (on stdin)
03:00:33.930354 > 160 bytes data, server => client
03:00:33.930383 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:33.930410 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:33.930436 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:33.930793 < 16 bytes data, client => server
03:00:33.930853 'USER anonymous\r\n'
03:00:33.931055 Received DATA (on stdin)
03:00:33.931112 > 33 bytes data, server => client
03:00:33.931148 '331 We are happy you popped in!\r\n'
03:00:33.931582 < 22 bytes data, client => server
03:00:33.931636 'PASS ftp@example.com\r\n'
03:00:33.931762 Received DATA (on stdin)
03:00:33.931818 > 30 bytes data, server => client
03:00:33.931847 '230 Welcome you silly person\r\n'
03:00:33.932127 < 8 bytes data, client => server
03:00:33.932183 'PBSZ 0\r\n'
03:00:33.932264 Received DATA (on stdin)
03:00:33.932284 > 26 bytes data, server => client
03:00:33.932304 '500 PBSZ not implemented\r\n'
03:00:33.932650 < 8 bytes data, client => server
03:00:33.932706 'PROT C\r\n'
03:00:33.932861 Received DATA (on stdin)
03:00:33.932918 > 26 bytes data, server => client
03:00:33.932946 '500 PROT not implemented\r\n'
03:00:33.933253 < 5 bytes data, client => server
03:00:33.933299 'PWD\r\n'
03:00:33.933406 Received DATA (on stdin)
03:00:33.933463 > 30 bytes data, server => client
03:00:33.933493 '257 "/" is current directory\r\n'
03:00:33.933817 < 6 bytes data, client => server
03:00:33.933872 'EPSV\r\n'
03:00:33.937315 Received DATA (on stdin)
03:00:33.937361 > 38 bytes data, server => client
03:00:33.937390 '229 Entering Passive Mode (|||38617|)\n'
03:00:33.937826 < 8 bytes data, client => server
03:00:33.937869 'TYPE I\r\n'
03:00:33.937966 Received DATA (on stdin)
03:00:33.938021 > 33 bytes data, server => client
03:00:33.938051 '200 I modify TYPE as you wanted\r\n'
03:00:33.938314 < 21 bytes data, client => server
03:00:33.938329 'SIZE verifiedserver\r\n'
03:00:33.938468 Received DATA (on stdin)
03:00:33.938494 > 8 bytes data, server => client
03:00:33.938530 '213 17\r\n'
03:00:33.938824 < 21 bytes data, client => server
03:00:33.938856 'RETR verifiedserver\r\n'
03:00:33.939024 Received DATA (on stdin)
03:00:33.939048 > 29 bytes data, server => client
03:00:33.939073 '150 Binary junk (17 bytes).\r\n'
03:00:33.939270 Received DATA (on stdin)
03:00:33.939289 > 28 bytes data, server => client
03:00:33.939302 '226 File transfer complete\r\n'
03:00:33.940117 < 6 bytes data, client => server
03:00:33.940148 'QUIT\r\n'
03:00:33.940226 Received DATA (on stdin)
03:00:33.940244 > 18 bytes data, server => client
03:00:33.940280 '221 bye bye baby\r\n'
03:00:33.940555 ====> Client disconnect
03:00:37.972648 ====> Client connect
03:00:37.972834 Received DATA (on stdin)
03:00:37.972851 > 160 bytes data, server => client
03:00:37.972865 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:37.972877 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:37.972888 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:38.060924 < 16 bytes data, client => server
03:00:38.060963 'USER anonymous\r\n'
03:00:38.061103 Received DATA (on stdin)
03:00:38.061126 > 33 bytes data, server => client
03:00:38.061139 '331 We are happy you popped in!\r\n'
03:00:38.071920 < 22 bytes data, client => server
03:00:38.071936 'PASS ftp@example.com\r\n'
03:00:38.072037 Received DATA (on stdin)
03:00:38.072047 > 30 bytes data, server => client
03:00:38.072057 '230 Welcome you silly person\r\n'
03:00:38.074249 < 8 bytes data, client => server
03:00:38.074263 'PBSZ 0\r\n'
03:00:38.074355 Received DATA (on stdin)
03:00:38.074366 > 26 bytes data, server => client
03:00:38.074380 '500 PBSZ not implemented\r\n'
03:00:38.075636 < 8 bytes data, client => server
03:00:38.075649 'PROT C\r\n'
03:00:38.075739 Received DATA (on stdin)
03:00:38.075749 > 26 bytes data, server => client
03:00:38.075764 '500 PROT not implemented\r\n'
03:00:38.077111 < 5 bytes data, client => server
03:00:38.077124 'PWD\r\n'
03:00:38.077221 Received DATA (on stdin)
03:00:38.077240 > 30 bytes data, server => client
03:00:38.077251 '257 "/" is current directory\r\n'
03:00:38.083732 < 6 bytes data, client => server
03:00:38.083754 'EPSV\r\n'
03:00:38.085506 Received DATA (on stdin)
03:00:38.085528 > 38 bytes data, server => client
03:00:38.085540 '229 Entering Passive Mode (|||43167|)\n'
03:00:38.097689 < 8 bytes data, client => server
03:00:38.097705 'TYPE A\r\n'
03:00:38.097801 Received DATA (on stdin)
03:00:38.097812 > 33 bytes data, server => client
03:00:38.097822 '200 I modify TYPE as you wanted\r\n'
03:00:38.099866 < 6 bytes data, client => server
03:00:38.099879 'LIST\r\n'
03:00:38.099967 Received DATA (on stdin)
03:00:38.099977 > 28 bytes data, server => client
03:00:38.099987 '150 here comes a directory\r\n'
03:00:38.100647 Received DATA (on stdin)
03:00:38.100660 > 29 bytes data, server => client
03:00:38.100670 '226 ASCII transfer complete\r\n'
03:00:38.158794 < 6 bytes data, client => server
03:00:38.158823 'QUIT\r\n'
03:00:38.158938 Received DATA (on stdin)
03:00:38.158964 > 18 bytes data, server => client
03:00:38.158979 '221 bye bye baby\r\n'
03:00:38.163265 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:00:34.936625 Running IPv4 version
03:00:34.936768 Listening on port 38617
03:00:34.936823 Wrote pid 20224 to ./.ftp_sockdata.pid
03:00:34.936854 Received PING (on stdin)
03:00:34.937041 Received PORT (on stdin)
03:00:34.937718 ====> Client connect
03:00:34.939083 Received DATA (on stdin)
03:00:34.939127 > 17 bytes data, server => client
03:00:34.939152 'WE ROOLZ: 19524\r\n'
03:00:34.939191 Received DISC (on stdin)
03:00:34.939205 ====> Client forcibly disconnected
03:00:34.939223 Received QUIT (on stdin)
03:00:34.939233 quits
03:00:34.939246 ============> sockfilt quits
03:00:38.085238 Running IPv4 version
03:00:38.085300 Listening on port 43167
03:00:38.085334 Wrote pid 20229 to ./.ftp_sockdata.pid
03:00:38.085349 Received PING (on stdin)
03:00:38.085414 Received PORT (on stdin)
03:00:38.092568 ====> Client connect
03:00:38.100018 Received DATA (on stdin)
03:00:38.100040 > 10 bytes data, server => client
03:00:38.100055 'total 20\r\n'
03:00:38.100087 Received DATA (on stdin)
03:00:38.100104 > 57 bytes data, server => client
03:00:38.100125 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:00:38.100149 Received DATA (on stdin)
03:00:38.100160 > 58 bytes data, server => client
03:00:38.100173 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:00:38.100188 Received DATA (on stdin)
03:00:38.100199 > 61 bytes data, server => client
03:00:38.100211 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:00:38.100219 '\n'
03:00:38.100234 Received DATA (on stdin)
03:00:38.100244 > 62 bytes data, server => client
03:00:38.100256 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:00:38.100264 '\n'
03:00:38.100279 Received DATA (on stdin)
03:00:38.100289 > 70 bytes data, server => client
03:00:38.100302 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:00:38.100310 'usr/bin\r\n'
03:00:38.100324 Received DATA (on stdin)
03:00:38.100335 > 59 bytes data, server => client
03:00:38.100347 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:00:38.100362 Received DATA (on stdin)
03:00:38.100373 > 69 bytes data, server => client
03:00:38.100385 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:00:38.100393 'd.html\r\n'
03:00:38.100419 Received DATA (on stdin)
03:00:38.100432 > 59 bytes data, server => client
03:00:38.100444 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:00:38.100461 Received DATA (on stdin)
03:00:38.100471 > 59 bytes data, server => client
03:00:38.100483 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:00:38.100498 Received DATA (on stdin)
03:00:38.100508 > 59 bytes data, server => client
03:00:38.100520 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:00:38.100536 Received DISC (on stdin)
03:00:38.100548 ====> Client forcibly disconnected
03:00:38.100575 Received QUIT (on stdin)
03:00:38.100590 quits
03:00:38.100611 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.09.07 03:00:33 LOG5[20219]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.07 03:00:33 LOG5[20219]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.07 03:00:33 LOG5[20219]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.07 03:00:33 LOG5[20219]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.07 03:00:33 LOG5[20219]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.07 03:00:33 LOG5[20219]: Reading configuration from file /build-18252/tests/ftps_stunnel.conf
2019.09.07 03:00:33 LOG5[20219]: FIPS mode disabled
2019.09.07 03:00:33 LOG5[20219]: Configuration successful
2019.09.07 03:00:34 LOG5[20222]: Service [curltest] accepted connection from 127.0.0.1:39090
2019.09.07 03:00:34 LOG5[20222]: s_connect: connected 127.0.0.1:8992
2019.09.07 03:00:34 LOG5[20222]: Service [curltest] connected remote server from 127.0.0.1:33736
2019.09.07 03:00:34 LOG5[20222]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.09.07 03:00:36 LOG5[20227]: Service [curltest] accepted connection from 127.0.0.1:39096
2019.09.07 03:00:38 LOG5[20227]: s_connect: connected 127.0.0.1:8992
2019.09.07 03:00:38 LOG5[20227]: Service [curltest] connected remote server from 127.0.0.1:33742
2019.09.07 03:00:38 LOG5[20227]: 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 0x556973e5c7f8; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8993...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x556973e5c7f8; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x556973e5c7f8; line 1665 (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 0x556973e723d0 (line 3092) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x556973e5c7f8; line 1682 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x556973e723d0 (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 0x556973e723d0 (line 2520) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x556973e723d0 (line 2496) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x556973e723d0 (line 2709) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x556973e723d0 (line 804) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x556973e723d0 (line 2844) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x556973e5c7f8; line 1701 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x556973e723d0 (line 1330) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x556973e5c7f8; line 1743 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||38617|)
* Trying 127.0.0.1:38617...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 38617
* FTP 0x556973e723d0 (line 1977) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x556973e5c7f8; line 1825 (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 0x556973e723d0 (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 0x556973e723d0 (line 1743) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x556973e723d0 (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 0x556973e723d0 (line 477) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x556973e5c7f8; line 1850 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x556973e5c7f8; line 1877 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x556973e5c7f8; line 2067 (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 0x556973e5c7f8)
=== 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 276 0 --:--:-- 0:00:02 --:--:-- 286
=== End of file stderr400
=== Start of file trace400
03:00:36.871826 == Info: STATE: INIT => CONNECT handle 0x56c7098; line 1491 (connection #-5000)
03:00:36.926494 == Info: Added connection 0. The cache now contains 1 members
03:00:36.943813 == Info: Trying 127.0.0.1:8993...
03:00:36.944420 == Info: TCP_NODELAY set
03:00:36.949673 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7098; line 1547 (connection #0)
03:00:36.961225 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:36.961784 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7098; line 1665 (connection #0)
03:00:36.962890 == Info: Marked for [keep alive]: FTP default
03:00:38.438985 == Info: successfully set certificate verify locations:
03:00:38.439239 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:38.556181 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:00:38.561575 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:38.561640 => Send SSL data, 126 bytes (0x7e)
0000: ...z...}....O.cv..V....NT4...^.....l.T....+./.,.0...............
0040: ../.5.....3...................................................
03:00:38.579011 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:38.584749 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:38.584805 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..o.V.T;'O.~J.V.F.....F..>.,;..... .do..$/..P.x3.i`.mF.*...3
0040: :.!oH.../................
03:00:38.629915 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:38.630267 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:38.630327 <= 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:38.732143 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:38.732352 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:38.732413 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A........<..c....9.F].`..?...?....hcZ1x.........j.....wX.
0040: ....].wQ)......g..0u.6IWm.s....G....a.{w...yQ..n.}-.............
0080: ......._......B..+.......d..c.y..-.........#.lD.o...<.iGh'..8.A.
00c0: `.{.0...kR3....z.....\.G[7F].>|..%......z..YR.j.L....g.N.rd..:Ro.[.
0100: ..&....N..(....u*\..A...~....}.C`9.4...?g.3CV'...........0....*A
0140: ..`P....^....
03:00:38.804572 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:38.804774 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:38.804829 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:38.924160 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:38.924349 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:38.924404 => Send SSL data, 70 bytes (0x46)
0000: ...BA....l..D ...Fl..).m..Ty....]j.'O..c.r~.R.h......x..1.#.....
0040: "{`..9
03:00:38.936780 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:38.937386 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:38.937443 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:38.959293 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:38.959354 => Send SSL data, 16 bytes (0x10)
0000: ....3.....Ue...S
03:00:38.971817 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:38.974330 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:38.975426 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:38.975482 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:38.977929 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:38.983616 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:38.983673 <= Recv SSL data, 16 bytes (0x10)
0000: ....Z...3@..'...
03:00:39.012819 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:39.015127 == Info: Server certificate:
03:00:39.022940 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:39.029289 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:39.030234 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:39.031160 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:39.032028 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:39.033531 == Info: FTP 0x5742ea0 (line 3092) state change from STOP to WAIT220
03:00:39.039547 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:39.047252 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:00:39.050945 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:00:39.051138 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:00:39.051322 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:00:39.051503 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:00:39.059229 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:39.062172 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:00:39.062954 == Info: FTP 0x5742ea0 (line 792) state change from WAIT220 to USER
03:00:39.063710 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c7098; line 1682 (connection #0)
03:00:39.069845 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:39.070506 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:00:39.071755 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:39.071874 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:00:39.072246 == Info: FTP 0x5742ea0 (line 2520) state change from USER to PASS
03:00:39.073270 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:39.073413 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:00:39.074091 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:39.074207 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:00:39.074528 == Info: FTP 0x5742ea0 (line 2496) state change from PASS to PBSZ
03:00:39.074819 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:39.074955 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:00:39.075483 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:39.075597 => Send header, 8 bytes (0x8)
0000: PROT C
03:00:39.075924 == Info: FTP 0x5742ea0 (line 2709) state change from PBSZ to PROT
03:00:39.076165 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:39.076301 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:00:39.076957 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:39.077071 => Send header, 5 bytes (0x5)
0000: PWD
03:00:39.077384 == Info: FTP 0x5742ea0 (line 804) state change from PROT to PWD
03:00:39.077709 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:39.077846 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:00:39.078955 == Info: Entry path is '/'
03:00:39.079176 == Info: FTP 0x5742ea0 (line 2844) state change from PWD to STOP
03:00:39.079339 == Info: protocol connect phase DONE
03:00:39.079581 == Info: STATE: PROTOCONNECT => DO handle 0x56c7098; line 1701 (connection #0)
03:00:39.081479 == Info: DO phase starts
03:00:39.083549 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:39.083666 => Send header, 6 bytes (0x6)
0000: EPSV
03:00:39.084073 == Info: FTP 0x5742ea0 (line 1330) state change from STOP to PASV
03:00:39.084245 == Info: Connect data stream passively
03:00:39.085018 == Info: ftp_perform ends with SECONDARY: 0
03:00:39.085728 == Info: STATE: DO => DOING handle 0x56c7098; line 1743 (connection #0)
03:00:39.086632 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:00:39.086784 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||43167|).
03:00:39.092375 == Info: Trying 127.0.0.1:43167...
03:00:39.092446 == Info: TCP_NODELAY set
03:00:39.093135 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 43167
03:00:39.094236 == Info: FTP 0x5742ea0 (line 1977) state change from PASV to STOP
03:00:39.094863 == Info: DO phase is complete2
03:00:39.095290 == Info: STATE: DOING => DO_MORE handle 0x56c7098; line 1825 (connection #0)
03:00:39.095999 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:39.096214 == Info: DO-MORE connected phase starts
03:00:39.097526 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:39.097645 => Send header, 8 bytes (0x8)
0000: TYPE A
03:00:39.098003 == Info: FTP 0x5742ea0 (line 3418) state change from STOP to LIST_TYPE
03:00:39.098380 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:39.098521 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:00:39.099710 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:39.099826 => Send header, 6 bytes (0x6)
0000: LIST
03:00:39.100357 == Info: FTP 0x5742ea0 (line 1486) state change from LIST_TYPE to LIST
03:00:39.101952 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:00:39.102093 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:00:39.102683 == Info: Maxdownload = -1
03:00:39.104013 == Info: FTP 0x5742ea0 (line 477) state change from LIST to STOP
03:00:39.104733 == Info: STATE: DO_MORE => DO_DONE handle 0x56c7098; line 1850 (connection #0)
03:00:39.105128 == Info: STATE: DO_DONE => PERFORM handle 0x56c7098; line 1877 (connection #0)
03:00:39.108577 <= 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:39.117164 == Info: nread <= 0, server closed connection, bailing
03:00:39.118336 == Info: STATE: PERFORM => DONE handle 0x56c7098; line 2067 (connection #0)
03:00:39.118660 == Info: multi_done
03:00:39.121959 == Info: Remembering we are in dir ""
03:00:39.125188 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:00:39.125333 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:00:39.130939 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:39.132932 == Info: Expire cleared (transfer 0x56c7098)
=== End of file trace400
=== Start of file valgrind400
==20226== Invalid read of size 8
==20226== at 0x53325A5: check_free (dlerror.c:188)
==20226== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20226== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20226== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20226== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20226== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20226== by 0x4C49EB9: exit (exit.c:139)
==20226== by 0x4C340A1: (below main) (libc-start.c:342)
==20226== Address 0x5af6dd0 is 0 bytes after a block of size 32 alloc'd
==20226== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20226== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20226== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20226== by 0x24AE36: err_get_state (err.c:210)
==20226== by 0x24BA0C: ERR_put_error (err.c:636)
==20226== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20226== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20226== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20226== by 0x270058: by_file_ctrl (by_file.c:111)
==20226== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20226== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20226== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20226== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20226== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20226== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20226== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20226==
==20226== Invalid free() / delete / delete[] / realloc()
==20226== at 0x48369AB: free (vg_replace_malloc.c:540)
==20226== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20226== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20226== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20226== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20226== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20226== by 0x4C49EB9: exit (exit.c:139)
==20226== by 0x4C340A1: (below main) (libc-start.c:342)
==20226== Address 0x5af6db8 is 8 bytes inside a block of size 32 alloc'd
==20226== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20226== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20226== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20226== by 0x24AE36: err_get_state (err.c:210)
==20226== by 0x24BA0C: ERR_put_error (err.c:636)
==20226== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20226== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20226== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20226== by 0x270058: by_file_ctrl (by_file.c:111)
==20226== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20226== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20226== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20226== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20226== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20226== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20226== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20226==
==20226== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20226== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20226== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20226== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20226== by 0x24AE36: err_get_state (err.c:210)
==20226== by 0x24BA0C: ERR_put_error (err.c:636)
==20226== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20226== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20226== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20226== by 0x270058: by_file_ctrl (by_file.c:111)
==20226== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20226== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20226== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20226== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20226== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20226== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20226== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20226==
=== End of file valgrind400
test 0401...[FTPS PASV upload file]
goto problem 15
valgrind ERROR ==20232== Invalid read of size 8
==20232== at 0x53325A5: check_free (dlerror.c:188)
==20232== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20232== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20232== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20232== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20232== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20232== by 0x4C49EB9: exit (exit.c:139)
==20232== by 0x4C340A1: (below main) (libc-start.c:342)
==20232== Address 0x5b33d00 is 0 bytes after a block of size 32 alloc'd
==20232== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20232== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20232== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20232== by 0x24AE36: err_get_state (err.c:210)
==20232== by 0x24BA0C: ERR_put_error (err.c:636)
==20232== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20232== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20232== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20232== by 0x270058: by_file_ctrl (by_file.c:111)
==20232== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20232== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20232== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20232== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20232== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20232== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20232== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20232==
==20232== Invalid free() / delete / delete[] / realloc()
==20232== at 0x48369AB: free (vg_replace_malloc.c:540)
==20232== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20232== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20232== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20232== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20232== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20232== by 0x4C49EB9: exit (exit.c:139)
==20232== by 0x4C340A1: (below main) (libc-start.c:342)
==20232== Address 0x5b33ce8 is 8 bytes inside a block of size 32 alloc'd
==20232== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20232== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20232== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20232== by 0x24AE36: err_get_state (err.c:210)
==20232== by 0x24BA0C: ERR_put_error (err.c:636)
==20232== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20232== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20232== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20232== by 0x270058: by_file_ctrl (by_file.c:111)
==20232== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20232== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20232== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20232== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20232== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20232== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20232== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20232==
==20232== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20232== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20232== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20232== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20232== by 0x24AE36: err_get_state (err.c:210)
==20232== by 0x24BA0C: ERR_put_error (err.c:636)
==20232== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20232== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20232== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20232== by 0x270058: by_file_ctrl (by_file.c:111)
==20232== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20232== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20232== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20232== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20232== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20232== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20232== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20232==
== Contents of files in the log/ dir after test 401
=== Start of file ftp_server.log
03:00:41.419059 ====> Client connect
03:00:41.419187 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:41.505848 < "USER anonymous"
03:00:41.505894 > "331 We are happy you popped in![CR][LF]"
03:00:41.516769 < "PASS ftp@example.com"
03:00:41.516800 > "230 Welcome you silly person[CR][LF]"
03:00:41.519088 < "PBSZ 0"
03:00:41.519119 > "500 PBSZ not implemented[CR][LF]"
03:00:41.520480 < "PROT C"
03:00:41.520510 > "500 PROT not implemented[CR][LF]"
03:00:41.521949 < "PWD"
03:00:41.521985 > "257 "/" is current directory[CR][LF]"
03:00:41.529243 < "EPSV"
03:00:41.529273 ====> Passive DATA channel requested by client
03:00:41.529286 DATA sockfilt for passive data channel starting...
03:00:41.530807 DATA sockfilt for passive data channel started (pid 20234)
03:00:41.530956 DATA sockfilt for passive data channel listens on port 34223
03:00:41.531001 > "229 Entering Passive Mode (|||34223|)[LF]"
03:00:41.531017 Client has been notified that DATA conn will be accepted on port 34223
03:00:41.537993 Client connects to port 34223
03:00:41.538029 ====> Client established passive DATA connection on port 34223
03:00:41.542844 < "TYPE I"
03:00:41.542878 > "200 I modify TYPE as you wanted[CR][LF]"
03:00:41.545068 < "STOR 401"
03:00:41.545094 STOR test number 401 in log/upload.401
03:00:41.545116 > "125 Gimme gimme gimme![CR][LF]"
03:00:41.553781 > Appending 52 bytes to file
03:00:41.562101 =====> Closing passive DATA connection...
03:00:41.562121 Server knows passive DATA connection is already disconnected
03:00:41.562166 DATA sockfilt for passive data channel quits (pid 20235)
03:00:41.562181 =====> Closed passive DATA connection
03:00:41.562196 received 52 bytes upload
03:00:41.562216 > "226 File transfer complete[CR][LF]"
03:00:41.591407 < "QUIT"
03:00:41.591439 > "221 bye bye baby[CR][LF]"
03:00:41.595869 MAIN sockfilt said DISC
03:00:41.595890 ====> Client disconnected
03:00:41.595930 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:00:41.279680 ====> Client connect
03:00:41.279911 Received DATA (on stdin)
03:00:41.279936 > 160 bytes data, server => client
03:00:41.279954 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:41.279969 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:41.279981 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:41.366413 < 16 bytes data, client => server
03:00:41.366443 'USER anonymous\r\n'
03:00:41.366623 Received DATA (on stdin)
03:00:41.366646 > 33 bytes data, server => client
03:00:41.366662 '331 We are happy you popped in!\r\n'
03:00:41.377405 < 22 bytes data, client => server
03:00:41.377429 'PASS ftp@example.com\r\n'
03:00:41.377531 Received DATA (on stdin)
03:00:41.377553 > 30 bytes data, server => client
03:00:41.377568 '230 Welcome you silly person\r\n'
03:00:41.379724 < 8 bytes data, client => server
03:00:41.379746 'PBSZ 0\r\n'
03:00:41.379850 Received DATA (on stdin)
03:00:41.379873 > 26 bytes data, server => client
03:00:41.379888 '500 PBSZ not implemented\r\n'
03:00:41.381119 < 8 bytes data, client => server
03:00:41.381141 'PROT C\r\n'
03:00:41.381241 Received DATA (on stdin)
03:00:41.381264 > 26 bytes data, server => client
03:00:41.381279 '500 PROT not implemented\r\n'
03:00:41.382587 < 5 bytes data, client => server
03:00:41.382608 'PWD\r\n'
03:00:41.382716 Received DATA (on stdin)
03:00:41.382739 > 30 bytes data, server => client
03:00:41.382754 '257 "/" is current directory\r\n'
03:00:41.389881 < 6 bytes data, client => server
03:00:41.389903 'EPSV\r\n'
03:00:41.391730 Received DATA (on stdin)
03:00:41.391753 > 38 bytes data, server => client
03:00:41.391769 '229 Entering Passive Mode (|||34223|)\n'
03:00:41.403465 < 8 bytes data, client => server
03:00:41.403488 'TYPE I\r\n'
03:00:41.403608 Received DATA (on stdin)
03:00:41.403631 > 33 bytes data, server => client
03:00:41.403646 '200 I modify TYPE as you wanted\r\n'
03:00:41.405705 < 10 bytes data, client => server
03:00:41.405727 'STOR 401\r\n'
03:00:41.405848 Received DATA (on stdin)
03:00:41.405870 > 24 bytes data, server => client
03:00:41.405885 '125 Gimme gimme gimme!\r\n'
03:00:41.422929 Received DATA (on stdin)
03:00:41.422949 > 28 bytes data, server => client
03:00:41.422966 '226 File transfer complete\r\n'
03:00:41.452059 < 6 bytes data, client => server
03:00:41.452083 'QUIT\r\n'
03:00:41.452164 Received DATA (on stdin)
03:00:41.452177 > 18 bytes data, server => client
03:00:41.452191 '221 bye bye baby\r\n'
03:00:41.456550 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:00:41.391354 Running IPv4 version
03:00:41.391428 Listening on port 34223
03:00:41.391455 Wrote pid 20235 to ./.ftp_sockdata.pid
03:00:41.391471 Received PING (on stdin)
03:00:41.391579 Received PORT (on stdin)
03:00:41.398650 ====> Client connect
03:00:41.414440 < 52 bytes data, client => server
03:00:41.414466 'data\n to\n see\nthat FTPS\nworks\n so does it?\n'
03:00:41.422704 ====> Client disconnect
03:00:41.422873 Received QUIT (on stdin)
03:00:41.422895 quits
03:00:41.422915 ============> 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: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:39.219684 == Info: STATE: INIT => CONNECT handle 0x56c9f38; line 1491 (connection #-5000)
03:00:39.273069 == Info: Added connection 0. The cache now contains 1 members
03:00:39.290186 == Info: Trying 127.0.0.1:8993...
03:00:39.290793 == Info: TCP_NODELAY set
03:00:39.295896 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c9f38; line 1547 (connection #0)
03:00:39.307442 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:39.308003 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c9f38; line 1665 (connection #0)
03:00:39.309117 == Info: Marked for [keep alive]: FTP default
03:00:40.757092 == Info: successfully set certificate verify locations:
03:00:40.757358 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:40.869647 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:00:40.874804 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:40.874862 => Send SSL data, 126 bytes (0x7e)
0000: ...z...%(-E..`.....].-.:_....=r5...G4.....+./.,.0...............
0040: ../.5.....3...................................................
03:00:40.891607 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:40.897144 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:40.897200 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....7._..=.9.._.\ ...`..`H.!.0.... lkx.C.t._.g.]~.<R.'.G.JKo
0040: .h._#n../................
03:00:40.940631 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:40.940976 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:40.941031 <= 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:41.046974 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:41.047201 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:41.047257 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A........<..c....9.F].`..?...?....hcZ1x.........j.....wX.
0040: ....].wQ)............E.j.z.U.O..j.x.;..&..e.wa.Qr...d..........c
0080: P...XF....m...;I.S......."Y..^.#E...w.;..j.?...`.=.f.......)]...
00c0: ...Z....s"c...1*...[.\..E.x.Aw..e..E.\-]91..>.|..g.G....$.f....;
0100: ....m.N...>..&.<R..M.R-..f@_u.:c>b............n._."P.d......TF..
0140: ....-c.L...F.
03:00:41.116848 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:41.117074 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:41.117129 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:41.232282 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:41.232471 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:41.232525 => Send SSL data, 70 bytes (0x46)
0000: ...BA.b.v.s.G.(!..6 v.......o]...'.........^..zZ-h*S......F.. ;
0040: ......
03:00:41.244410 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:41.244988 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:41.245044 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:41.266355 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:41.266412 => Send SSL data, 16 bytes (0x10)
0000: ....h..3....ls..
03:00:41.278862 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:41.281370 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:41.282459 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:41.282515 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:41.284959 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:41.290612 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:41.290668 <= Recv SSL data, 16 bytes (0x10)
0000: .........."....n
03:00:41.319031 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:41.321242 == Info: Server certificate:
03:00:41.328802 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:41.334929 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:41.335875 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:41.336803 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:41.337667 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:41.339156 == Info: FTP 0x577fe00 (line 3092) state change from STOP to WAIT220
03:00:41.345145 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:41.352829 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:00:41.356516 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:00:41.356708 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:00:41.356891 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:00:41.357074 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:00:41.364772 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:41.367693 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:00:41.368490 == Info: FTP 0x577fe00 (line 792) state change from WAIT220 to USER
03:00:41.369245 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c9f38; line 1682 (connection #0)
03:00:41.375340 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:41.375996 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:00:41.377249 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:41.377369 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:00:41.377742 == Info: FTP 0x577fe00 (line 2520) state change from USER to PASS
03:00:41.378754 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:41.378895 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:00:41.379574 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:41.379690 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:00:41.380011 == Info: FTP 0x577fe00 (line 2496) state change from PASS to PBSZ
03:00:41.380300 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:41.380441 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:00:41.380969 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:41.381083 => Send header, 8 bytes (0x8)
0000: PROT C
03:00:41.381407 == Info: FTP 0x577fe00 (line 2709) state change from PBSZ to PROT
03:00:41.381646 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:41.381782 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:00:41.382437 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:41.382552 => Send header, 5 bytes (0x5)
0000: PWD
03:00:41.382863 == Info: FTP 0x577fe00 (line 804) state change from PROT to PWD
03:00:41.383185 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:41.383322 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:00:41.384438 == Info: Entry path is '/'
03:00:41.384660 == Info: FTP 0x577fe00 (line 2844) state change from PWD to STOP
03:00:41.384823 == Info: protocol connect phase DONE
03:00:41.385067 == Info: STATE: PROTOCONNECT => DO handle 0x56c9f38; line 1701 (connection #0)
03:00:41.387686 == Info: DO phase starts
03:00:41.389728 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:41.389846 => Send header, 6 bytes (0x6)
0000: EPSV
03:00:41.390175 == Info: FTP 0x577fe00 (line 1330) state change from STOP to PASV
03:00:41.390347 == Info: Connect data stream passively
03:00:41.391112 == Info: ftp_perform ends with SECONDARY: 0
03:00:41.391819 == Info: STATE: DO => DOING handle 0x56c9f38; line 1743 (connection #0)
03:00:41.392724 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:00:41.392873 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||34223|).
03:00:41.398471 == Info: Trying 127.0.0.1:34223...
03:00:41.398531 == Info: TCP_NODELAY set
03:00:41.399218 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 34223
03:00:41.400317 == Info: FTP 0x577fe00 (line 1977) state change from PASV to STOP
03:00:41.400948 == Info: DO phase is complete2
03:00:41.401376 == Info: STATE: DOING => DO_MORE handle 0x56c9f38; line 1825 (connection #0)
03:00:41.402088 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:41.402307 == Info: DO-MORE connected phase starts
03:00:41.403304 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:41.403424 => Send header, 8 bytes (0x8)
0000: TYPE I
03:00:41.403762 == Info: FTP 0x577fe00 (line 3418) state change from STOP to STOR_TYPE
03:00:41.404141 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:41.404285 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:00:41.405553 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:00:41.405669 => Send header, 10 bytes (0xa)
0000: STOR 401
03:00:41.406000 == Info: FTP 0x577fe00 (line 1651) state change from STOR_TYPE to STOR
03:00:41.407713 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:00:41.407854 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:00:41.409652 == Info: FTP 0x577fe00 (line 477) state change from STOR to STOP
03:00:41.410358 == Info: STATE: DO_MORE => DO_DONE handle 0x56c9f38; line 1850 (connection #0)
03:00:41.410789 == Info: STATE: DO_DONE => PERFORM handle 0x56c9f38; line 1877 (connection #0)
03:00:41.414962 => Send data, 52 bytes (0x34)
0000: data. to. see.that FTPS.works. so does it?.
03:00:41.415645 == Info: We are completely uploaded and fine
03:00:41.418052 == Info: STATE: PERFORM => DONE handle 0x56c9f38; line 2067 (connection #0)
03:00:41.418377 == Info: multi_done
03:00:41.421199 == Info: Remembering we are in dir ""
03:00:41.424571 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:00:41.424714 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:00:41.430710 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:41.432554 == Info: Expire cleared (transfer 0x56c9f38)
=== 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
==20232== Invalid read of size 8
==20232== at 0x53325A5: check_free (dlerror.c:188)
==20232== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20232== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20232== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20232== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20232== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20232== by 0x4C49EB9: exit (exit.c:139)
==20232== by 0x4C340A1: (below main) (libc-start.c:342)
==20232== Address 0x5b33d00 is 0 bytes after a block of size 32 alloc'd
==20232== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20232== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20232== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20232== by 0x24AE36: err_get_state (err.c:210)
==20232== by 0x24BA0C: ERR_put_error (err.c:636)
==20232== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20232== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20232== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20232== by 0x270058: by_file_ctrl (by_file.c:111)
==20232== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20232== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20232== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20232== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20232== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20232== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20232== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20232==
==20232== Invalid free() / delete / delete[] / realloc()
==20232== at 0x48369AB: free (vg_replace_malloc.c:540)
==20232== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20232== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20232== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20232== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20232== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20232== by 0x4C49EB9: exit (exit.c:139)
==20232== by 0x4C340A1: (below main) (libc-start.c:342)
==20232== Address 0x5b33ce8 is 8 bytes inside a block of size 32 alloc'd
==20232== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20232== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20232== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20232== by 0x24AE36: err_get_state (err.c:210)
==20232== by 0x24BA0C: ERR_put_error (err.c:636)
==20232== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20232== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20232== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20232== by 0x270058: by_file_ctrl (by_file.c:111)
==20232== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20232== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20232== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20232== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20232== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20232== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20232== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20232==
==20232== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20232== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20232== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20232== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20232== by 0x24AE36: err_get_state (err.c:210)
==20232== by 0x24BA0C: ERR_put_error (err.c:636)
==20232== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20232== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20232== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20232== by 0x270058: by_file_ctrl (by_file.c:111)
==20232== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20232== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20232== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20232== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20232== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20232== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20232== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20232==
=== End of file valgrind401
test 0402...[FTP SSL required on non-SSL server]
--p----emv- OK (349 out of 1251, remaining: 24:40, took 1.1s, duration: 09:32)
test 0403...[FTPS with CCC not supported by server]
goto problem 16
valgrind ERROR ==20241== Invalid read of size 8
==20241== at 0x53325A5: check_free (dlerror.c:188)
==20241== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20241== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20241== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20241== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20241== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20241== by 0x4C49EB9: exit (exit.c:139)
==20241== by 0x4C340A1: (below main) (libc-start.c:342)
==20241== Address 0x5af6dd0 is 0 bytes after a block of size 32 alloc'd
==20241== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20241== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20241== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20241== by 0x24AE36: err_get_state (err.c:210)
==20241== by 0x24BA0C: ERR_put_error (err.c:636)
==20241== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20241== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20241== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20241== by 0x270058: by_file_ctrl (by_file.c:111)
==20241== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20241== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20241== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20241== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20241== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20241== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20241== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20241==
==20241== Invalid free() / delete / delete[] / realloc()
==20241== at 0x48369AB: free (vg_replace_malloc.c:540)
==20241== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20241== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20241== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20241== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20241== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20241== by 0x4C49EB9: exit (exit.c:139)
==20241== by 0x4C340A1: (below main) (libc-start.c:342)
==20241== Address 0x5af6db8 is 8 bytes inside a block of size 32 alloc'd
==20241== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20241== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20241== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20241== by 0x24AE36: err_get_state (err.c:210)
==20241== by 0x24BA0C: ERR_put_error (err.c:636)
==20241== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20241== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20241== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20241== by 0x270058: by_file_ctrl (by_file.c:111)
==20241== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20241== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20241== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20241== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20241== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20241== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20241== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20241==
==20241== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20241== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20241== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20241== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20241== by 0x24AE36: err_get_state (err.c:210)
==20241== by 0x24BA0C: ERR_put_error (err.c:636)
==20241== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20241== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20241== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20241== by 0x270058: by_file_ctrl (by_file.c:111)
==20241== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20241== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20241== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20241== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20241== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20241== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20241== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20241==
== 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:00:45.862788 ====> Client connect
03:00:45.862885 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:45.950734 < "USER anonymous"
03:00:45.950778 > "331 We are happy you popped in![CR][LF]"
03:00:45.962117 < "PASS ftp@example.com"
03:00:45.962148 > "230 Welcome you silly person[CR][LF]"
03:00:45.964539 < "PBSZ 0"
03:00:45.964571 > "500 PBSZ not implemented[CR][LF]"
03:00:45.965990 < "PROT C"
03:00:45.966021 > "500 PROT not implemented[CR][LF]"
03:00:45.967449 < "CCC"
03:00:45.967472 CCC wasn't handled
03:00:45.967494 > "500 CCC is not dealt with![CR][LF]"
03:00:45.968895 < "PWD"
03:00:45.968932 > "257 "/" is current directory[CR][LF]"
03:00:45.975828 < "EPSV"
03:00:45.975858 ====> Passive DATA channel requested by client
03:00:45.975871 DATA sockfilt for passive data channel starting...
03:00:45.977393 DATA sockfilt for passive data channel started (pid 20243)
03:00:45.977548 DATA sockfilt for passive data channel listens on port 41457
03:00:45.977595 > "229 Entering Passive Mode (|||41457|)[LF]"
03:00:45.977610 Client has been notified that DATA conn will be accepted on port 41457
03:00:45.984939 Client connects to port 41457
03:00:45.984977 ====> Client established passive DATA connection on port 41457
03:00:45.990528 < "TYPE A"
03:00:45.990561 > "200 I modify TYPE as you wanted[CR][LF]"
03:00:45.992813 < "LIST"
03:00:45.992844 > "150 here comes a directory[CR][LF]"
03:00:45.992867 pass LIST data on data connection
03:00:45.992937 =====> Closing passive DATA connection...
03:00:45.992950 Server disconnects passive DATA connection
03:00:45.993442 DATA sockfilt for passive data channel quits (pid 20244)
03:00:45.993467 =====> Closed passive DATA connection
03:00:45.993492 > "226 ASCII transfer complete[CR][LF]"
03:00:46.054354 < "QUIT"
03:00:46.054394 > "221 bye bye baby[CR][LF]"
03:00:46.058799 MAIN sockfilt said DISC
03:00:46.058828 ====> Client disconnected
03:00:46.058872 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:00:45.723409 ====> Client connect
03:00:45.723591 Received DATA (on stdin)
03:00:45.723610 > 160 bytes data, server => client
03:00:45.723630 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:45.723649 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:45.723664 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:45.811300 < 16 bytes data, client => server
03:00:45.811336 'USER anonymous\r\n'
03:00:45.811508 Received DATA (on stdin)
03:00:45.811531 > 33 bytes data, server => client
03:00:45.811546 '331 We are happy you popped in!\r\n'
03:00:45.822755 < 22 bytes data, client => server
03:00:45.822779 'PASS ftp@example.com\r\n'
03:00:45.822879 Received DATA (on stdin)
03:00:45.822902 > 30 bytes data, server => client
03:00:45.822917 '230 Welcome you silly person\r\n'
03:00:45.825179 < 8 bytes data, client => server
03:00:45.825201 'PBSZ 0\r\n'
03:00:45.825302 Received DATA (on stdin)
03:00:45.825325 > 26 bytes data, server => client
03:00:45.825340 '500 PBSZ not implemented\r\n'
03:00:45.826629 < 8 bytes data, client => server
03:00:45.826651 'PROT C\r\n'
03:00:45.826752 Received DATA (on stdin)
03:00:45.826775 > 26 bytes data, server => client
03:00:45.826790 '500 PROT not implemented\r\n'
03:00:45.828095 < 5 bytes data, client => server
03:00:45.828117 'CCC\r\n'
03:00:45.828204 Received DATA (on stdin)
03:00:45.828216 > 28 bytes data, server => client
03:00:45.828226 '500 CCC is not dealt with!\r\n'
03:00:45.829535 < 5 bytes data, client => server
03:00:45.829557 'PWD\r\n'
03:00:45.829663 Received DATA (on stdin)
03:00:45.829685 > 30 bytes data, server => client
03:00:45.829701 '257 "/" is current directory\r\n'
03:00:45.836468 < 6 bytes data, client => server
03:00:45.836490 'EPSV\r\n'
03:00:45.838323 Received DATA (on stdin)
03:00:45.838345 > 38 bytes data, server => client
03:00:45.838361 '229 Entering Passive Mode (|||41457|)\n'
03:00:45.851153 < 8 bytes data, client => server
03:00:45.851176 'TYPE A\r\n'
03:00:45.851292 Received DATA (on stdin)
03:00:45.851314 > 33 bytes data, server => client
03:00:45.851330 '200 I modify TYPE as you wanted\r\n'
03:00:45.853452 < 6 bytes data, client => server
03:00:45.853475 'LIST\r\n'
03:00:45.853575 Received DATA (on stdin)
03:00:45.853598 > 28 bytes data, server => client
03:00:45.853619 '150 here comes a directory\r\n'
03:00:45.854204 Received DATA (on stdin)
03:00:45.854225 > 29 bytes data, server => client
03:00:45.854242 '226 ASCII transfer complete\r\n'
03:00:45.914957 < 6 bytes data, client => server
03:00:45.914988 'QUIT\r\n'
03:00:45.915125 Received DATA (on stdin)
03:00:45.915148 > 18 bytes data, server => client
03:00:45.915163 '221 bye bye baby\r\n'
03:00:45.919478 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:00:45.837944 Running IPv4 version
03:00:45.838015 Listening on port 41457
03:00:45.838041 Wrote pid 20244 to ./.ftp_sockdata.pid
03:00:45.838057 Received PING (on stdin)
03:00:45.838167 Received PORT (on stdin)
03:00:45.845597 ====> Client connect
03:00:45.853605 Received DATA (on stdin)
03:00:45.853629 > 10 bytes data, server => client
03:00:45.853646 'total 20\r\n'
03:00:45.853674 Received DATA (on stdin)
03:00:45.853686 > 57 bytes data, server => client
03:00:45.853698 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:00:45.853715 Received DATA (on stdin)
03:00:45.853725 > 58 bytes data, server => client
03:00:45.853737 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:00:45.853752 Received DATA (on stdin)
03:00:45.853762 > 61 bytes data, server => client
03:00:45.853774 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:00:45.853781 '\n'
03:00:45.853796 Received DATA (on stdin)
03:00:45.853806 > 62 bytes data, server => client
03:00:45.853818 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:00:45.853825 '\n'
03:00:45.853839 Received DATA (on stdin)
03:00:45.853849 > 70 bytes data, server => client
03:00:45.853861 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:00:45.853869 'usr/bin\r\n'
03:00:45.853884 Received DATA (on stdin)
03:00:45.853894 > 59 bytes data, server => client
03:00:45.853906 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:00:45.853920 Received DATA (on stdin)
03:00:45.853930 > 69 bytes data, server => client
03:00:45.853943 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:00:45.853951 'd.html\r\n'
03:00:45.853965 Received DATA (on stdin)
03:00:45.853975 > 59 bytes data, server => client
03:00:45.853987 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:00:45.854002 Received DATA (on stdin)
03:00:45.854012 > 59 bytes data, server => client
03:00:45.854023 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:00:45.854038 Received DATA (on stdin)
03:00:45.854048 > 59 bytes data, server => client
03:00:45.854060 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:00:45.854075 Received DISC (on stdin)
03:00:45.854087 ====> Client forcibly disconnected
03:00:45.854141 Received QUIT (on stdin)
03:00:45.854163 quits
03:00:45.854183 ============> 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 278 0 --:--:-- 0:00:02 --:--:-- 289
=== End of file stderr403
=== Start of file trace403
03:00:43.650118 == Info: STATE: INIT => CONNECT handle 0x56c7098; line 1491 (connection #-5000)
03:00:43.704949 == Info: Added connection 0. The cache now contains 1 members
03:00:43.722278 == Info: Trying 127.0.0.1:8993...
03:00:43.722881 == Info: TCP_NODELAY set
03:00:43.727999 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7098; line 1547 (connection #0)
03:00:43.739561 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:43.740120 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7098; line 1665 (connection #0)
03:00:43.741233 == Info: Marked for [keep alive]: FTP default
03:00:45.201961 == Info: successfully set certificate verify locations:
03:00:45.202219 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:45.314799 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:00:45.319988 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:45.320046 => Send SSL data, 126 bytes (0x7e)
0000: ...z..7%7...I....rm[7F].&|=U.s...d.....#.....+./.,.0...............
0040: ../.5.....3...................................................
03:00:45.336862 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:45.342394 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:45.342450 <= Recv SSL data, 89 bytes (0x59)
0000: ...U......./..........>.>l.&Yt1......d ..q.mI......+...N.......X
0040: ^..GJ.]./................
03:00:45.386019 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:45.386367 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:45.386422 <= 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:45.487447 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:45.487668 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:45.487723 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A........<..c....9.F].`..?...?....hcZ1x.........j.....wX.
0040: ....].wQ).....-..).........^B.{.. ..J!(.T.,vC9KE..U.........e.r.
0080: .B...X.9....O]..".'.."&....m....2.+.2f....G8..........NY.#..u.y.
00c0: .C+ ......... ...P...:?.z...Z.{..)..w.&.Ciib..3p-..1.i..9.[.Q..~
0100: .r....Td.4S.._{.%X&..p...f....S......(.[7F]..&A.H...g..X.....i....V
0140: ...R....A....
03:00:45.560022 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:45.560231 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:45.560287 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:45.675786 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:45.675982 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:45.676037 => Send SSL data, 70 bytes (0x46)
0000: ...BA.@Np..1k"....v6.tq-..K.-.J..........qk.R...H.d.V8...r...b..
0040: ....B.
03:00:45.687990 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:45.688576 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:45.688632 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:45.710046 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:45.710104 => Send SSL data, 16 bytes (0x10)
0000: ....X.......+..q
03:00:45.722568 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:45.725109 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:45.726206 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:45.726262 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:45.728712 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:45.734409 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:45.734466 <= Recv SSL data, 16 bytes (0x10)
0000: .....4....i..i..
03:00:45.762918 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:45.765145 == Info: Server certificate:
03:00:45.772675 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:45.778821 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:45.779771 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:45.780703 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:45.781576 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:45.783073 == Info: FTP 0x5742ea0 (line 3092) state change from STOP to WAIT220
03:00:45.789089 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:45.796938 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:00:45.800794 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:00:45.800990 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:00:45.801179 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:00:45.801368 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:00:45.809574 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:45.812613 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:00:45.813424 == Info: FTP 0x5742ea0 (line 792) state change from WAIT220 to USER
03:00:45.814211 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c7098; line 1682 (connection #0)
03:00:45.820582 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:45.821270 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:00:45.822565 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:45.822689 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:00:45.823075 == Info: FTP 0x5742ea0 (line 2520) state change from USER to PASS
03:00:45.824138 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:45.824286 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:00:45.824993 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:45.825113 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:00:45.825447 == Info: FTP 0x5742ea0 (line 2496) state change from PASS to PBSZ
03:00:45.825753 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:45.825896 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:00:45.826448 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:45.826563 => Send header, 8 bytes (0x8)
0000: PROT C
03:00:45.826902 == Info: FTP 0x5742ea0 (line 2709) state change from PBSZ to PROT
03:00:45.827151 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:45.827293 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:00:45.827914 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:45.828032 => Send header, 5 bytes (0x5)
0000: CCC
03:00:45.828355 == Info: FTP 0x5742ea0 (line 2728) state change from PROT to CCC
03:00:45.828610 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:00:45.828753 <= Recv header, 28 bytes (0x1c)
0000: 500 CCC is not dealt with
03:00:45.829349 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:45.829469 => Send header, 5 bytes (0x5)
0000: PWD
03:00:45.829791 == Info: FTP 0x5742ea0 (line 804) state change from CCC to PWD
03:00:45.830126 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:45.830267 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:00:45.831454 == Info: Entry path is '/'
03:00:45.831686 == Info: FTP 0x5742ea0 (line 2844) state change from PWD to STOP
03:00:45.831856 == Info: protocol connect phase DONE
03:00:45.832106 == Info: STATE: PROTOCONNECT => DO handle 0x56c7098; line 1701 (connection #0)
03:00:45.834162 == Info: DO phase starts
03:00:45.836286 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:45.836423 => Send header, 6 bytes (0x6)
0000: EPSV
03:00:45.836774 == Info: FTP 0x5742ea0 (line 1330) state change from STOP to PASV
03:00:45.836952 == Info: Connect data stream passively
03:00:45.837752 == Info: ftp_perform ends with SECONDARY: 0
03:00:45.838495 == Info: STATE: DO => DOING handle 0x56c7098; line 1743 (connection #0)
03:00:45.839436 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:00:45.839587 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||41457|).
03:00:45.845411 == Info: Trying 127.0.0.1:41457...
03:00:45.845476 == Info: TCP_NODELAY set
03:00:45.846351 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 41457
03:00:45.847522 == Info: FTP 0x5742ea0 (line 1977) state change from PASV to STOP
03:00:45.848176 == Info: DO phase is complete2
03:00:45.848628 == Info: STATE: DOING => DO_MORE handle 0x56c7098; line 1825 (connection #0)
03:00:45.849374 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:45.849595 == Info: DO-MORE connected phase starts
03:00:45.850965 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:45.851086 => Send header, 8 bytes (0x8)
0000: TYPE A
03:00:45.851444 == Info: FTP 0x5742ea0 (line 3418) state change from STOP to LIST_TYPE
03:00:45.851845 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:45.851993 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:00:45.853247 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:45.853389 => Send header, 6 bytes (0x6)
0000: LIST
03:00:45.854102 == Info: FTP 0x5742ea0 (line 1486) state change from LIST_TYPE to LIST
03:00:45.855719 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:00:45.855868 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:00:45.856493 == Info: Maxdownload = -1
03:00:45.857887 == Info: FTP 0x5742ea0 (line 477) state change from LIST to STOP
03:00:45.858622 == Info: STATE: DO_MORE => DO_DONE handle 0x56c7098; line 1850 (connection #0)
03:00:45.859023 == Info: STATE: DO_DONE => PERFORM handle 0x56c7098; line 1877 (connection #0)
03:00:45.862615 <= 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:45.871519 == Info: nread <= 0, server closed connection, bailing
03:00:45.872743 == Info: STATE: PERFORM => DONE handle 0x56c7098; line 2067 (connection #0)
03:00:45.873080 == Info: multi_done
03:00:45.876515 == Info: Remembering we are in dir ""
03:00:45.879862 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:00:45.880011 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:00:45.885969 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:45.887893 == Info: Expire cleared (transfer 0x56c7098)
=== End of file trace403
=== Start of file valgrind403
==20241== Invalid read of size 8
==20241== at 0x53325A5: check_free (dlerror.c:188)
==20241== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20241== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20241== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20241== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20241== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20241== by 0x4C49EB9: exit (exit.c:139)
==20241== by 0x4C340A1: (below main) (libc-start.c:342)
==20241== Address 0x5af6dd0 is 0 bytes after a block of size 32 alloc'd
==20241== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20241== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20241== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20241== by 0x24AE36: err_get_state (err.c:210)
==20241== by 0x24BA0C: ERR_put_error (err.c:636)
==20241== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20241== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20241== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20241== by 0x270058: by_file_ctrl (by_file.c:111)
==20241== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20241== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20241== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20241== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20241== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20241== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20241== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20241==
==20241== Invalid free() / delete / delete[] / realloc()
==20241== at 0x48369AB: free (vg_replace_malloc.c:540)
==20241== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20241== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20241== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20241== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20241== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20241== by 0x4C49EB9: exit (exit.c:139)
==20241== by 0x4C340A1: (below main) (libc-start.c:342)
==20241== Address 0x5af6db8 is 8 bytes inside a block of size 32 alloc'd
==20241== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20241== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20241== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20241== by 0x24AE36: err_get_state (err.c:210)
==20241== by 0x24BA0C: ERR_put_error (err.c:636)
==20241== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20241== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20241== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20241== by 0x270058: by_file_ctrl (by_file.c:111)
==20241== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20241== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20241== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20241== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20241== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20241== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20241== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20241==
==20241== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20241== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20241== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20241== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20241== by 0x24AE36: err_get_state (err.c:210)
==20241== by 0x24BA0C: ERR_put_error (err.c:636)
==20241== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20241== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20241== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20241== by 0x270058: by_file_ctrl (by_file.c:111)
==20241== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20241== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20241== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20241== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20241== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20241== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20241== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20241==
=== End of file valgrind403
test 0404...[FTPS with invalid cacert]
goto problem 17
valgrind ERROR ==20247== Invalid read of size 8
==20247== at 0x53325A5: check_free (dlerror.c:188)
==20247== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20247== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20247== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20247== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20247== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20247== by 0x4C49EB9: exit (exit.c:139)
==20247== by 0x4C340A1: (below main) (libc-start.c:342)
==20247== Address 0x5757b10 is 0 bytes after a block of size 32 alloc'd
==20247== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20247== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20247== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20247== by 0x24AE36: err_get_state (err.c:210)
==20247== by 0x24BA0C: ERR_put_error (err.c:636)
==20247== by 0x23B2DD: BIO_new_file (file.c:99)
==20247== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==20247== by 0x270058: by_file_ctrl (by_file.c:111)
==20247== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20247== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20247== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20247== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20247== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20247== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20247== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20247== by 0x1D373F: ftp_connect (ftp.c:3083)
==20247==
==20247== Invalid free() / delete / delete[] / realloc()
==20247== at 0x48369AB: free (vg_replace_malloc.c:540)
==20247== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20247== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20247== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20247== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20247== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20247== by 0x4C49EB9: exit (exit.c:139)
==20247== by 0x4C340A1: (below main) (libc-start.c:342)
==20247== Address 0x5757af8 is 8 bytes inside a block of size 32 alloc'd
==20247== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20247== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20247== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20247== by 0x24AE36: err_get_state (err.c:210)
==20247== by 0x24BA0C: ERR_put_error (err.c:636)
==20247== by 0x23B2DD: BIO_new_file (file.c:99)
==20247== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==20247== by 0x270058: by_file_ctrl (by_file.c:111)
==20247== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20247== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20247== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20247== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20247== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20247== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20247== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20247== by 0x1D373F: ftp_connect (ftp.c:3083)
==20247==
==20247== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==20247== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20247== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20247== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20247== by 0x24AE36: err_get_state (err.c:210)
==20247== by 0x24BA0C: ERR_put_error (err.c:636)
==20247== by 0x23B2DD: BIO_new_file (file.c:99)
==20247== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==20247== by 0x270058: by_file_ctrl (by_file.c:111)
==20247== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20247== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20247== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20247== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20247== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20247== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20247== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20247== by 0x1D373F: ftp_connect (ftp.c:3083)
==20247==
== 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:00:47.964155 == Info: STATE: INIT => CONNECT handle 0x56c7538; line 1491 (connection #-5000)
03:00:48.019416 == Info: Added connection 0. The cache now contains 1 members
03:00:48.036548 == Info: Trying 127.0.0.1:8993...
03:00:48.037151 == Info: TCP_NODELAY set
03:00:48.042263 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7538; line 1547 (connection #0)
03:00:48.053825 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:48.054385 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7538; line 1665 (connection #0)
03:00:48.055493 == Info: Marked for [keep alive]: FTP default
03:00:48.113744 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
03:00:48.114552 == Info: multi_done
03:00:48.116562 == Info: Marked for [closure]: FTP ended with bad error code
03:00:48.124726 == Info: Closing connection 0
03:00:48.144350 == Info: The cache now contains 0 members
03:00:48.151998 == Info: Expire cleared (transfer 0x56c7538)
=== End of file trace404
=== Start of file valgrind404
==20247== Invalid read of size 8
==20247== at 0x53325A5: check_free (dlerror.c:188)
==20247== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20247== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20247== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20247== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20247== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20247== by 0x4C49EB9: exit (exit.c:139)
==20247== by 0x4C340A1: (below main) (libc-start.c:342)
==20247== Address 0x5757b10 is 0 bytes after a block of size 32 alloc'd
==20247== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20247== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20247== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20247== by 0x24AE36: err_get_state (err.c:210)
==20247== by 0x24BA0C: ERR_put_error (err.c:636)
==20247== by 0x23B2DD: BIO_new_file (file.c:99)
==20247== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==20247== by 0x270058: by_file_ctrl (by_file.c:111)
==20247== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20247== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20247== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20247== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20247== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20247== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20247== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20247== by 0x1D373F: ftp_connect (ftp.c:3083)
==20247==
==20247== Invalid free() / delete / delete[] / realloc()
==20247== at 0x48369AB: free (vg_replace_malloc.c:540)
==20247== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20247== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20247== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20247== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20247== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20247== by 0x4C49EB9: exit (exit.c:139)
==20247== by 0x4C340A1: (below main) (libc-start.c:342)
==20247== Address 0x5757af8 is 8 bytes inside a block of size 32 alloc'd
==20247== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20247== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20247== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20247== by 0x24AE36: err_get_state (err.c:210)
==20247== by 0x24BA0C: ERR_put_error (err.c:636)
==20247== by 0x23B2DD: BIO_new_file (file.c:99)
==20247== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==20247== by 0x270058: by_file_ctrl (by_file.c:111)
==20247== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20247== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20247== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20247== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20247== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20247== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20247== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20247== by 0x1D373F: ftp_connect (ftp.c:3083)
==20247==
==20247== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==20247== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20247== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20247== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20247== by 0x24AE36: err_get_state (err.c:210)
==20247== by 0x24BA0C: ERR_put_error (err.c:636)
==20247== by 0x23B2DD: BIO_new_file (file.c:99)
==20247== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==20247== by 0x270058: by_file_ctrl (by_file.c:111)
==20247== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20247== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20247== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20247== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20247== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20247== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20247== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20247== by 0x1D373F: ftp_connect (ftp.c:3083)
==20247==
=== End of file valgrind404
test 0405...[FTPS operation to FTP port]
goto problem 18
valgrind ERROR ==20251== Invalid read of size 8
==20251== at 0x53325A5: check_free (dlerror.c:188)
==20251== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20251== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20251== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20251== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20251== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20251== by 0x4C49EB9: exit (exit.c:139)
==20251== by 0x4C340A1: (below main) (libc-start.c:342)
==20251== Address 0x5af6e40 is 0 bytes after a block of size 32 alloc'd
==20251== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20251== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20251== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20251== by 0x24AE36: err_get_state (err.c:210)
==20251== by 0x24BA0C: ERR_put_error (err.c:636)
==20251== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20251== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20251== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20251== by 0x270058: by_file_ctrl (by_file.c:111)
==20251== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20251== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20251== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20251== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20251== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20251== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20251== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20251==
==20251== Invalid free() / delete / delete[] / realloc()
==20251== at 0x48369AB: free (vg_replace_malloc.c:540)
==20251== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20251== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20251== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20251== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20251== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20251== by 0x4C49EB9: exit (exit.c:139)
==20251== by 0x4C340A1: (below main) (libc-start.c:342)
==20251== Address 0x5af6e28 is 8 bytes inside a block of size 32 alloc'd
==20251== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20251== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20251== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20251== by 0x24AE36: err_get_state (err.c:210)
==20251== by 0x24BA0C: ERR_put_error (err.c:636)
==20251== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20251== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20251== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20251== by 0x270058: by_file_ctrl (by_file.c:111)
==20251== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20251== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20251== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20251== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20251== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20251== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20251== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20251==
==20251== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==20251== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20251== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20251== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20251== by 0x24AE36: err_get_state (err.c:210)
==20251== by 0x24BA0C: ERR_put_error (err.c:636)
==20251== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20251== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20251== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20251== by 0x270058: by_file_ctrl (by_file.c:111)
==20251== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20251== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20251== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20251== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20251== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20251== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20251== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20251==
== Contents of files in the log/ dir after test 405
=== Start of file ftp_server.log
03:00:48.383678 ====> Client connect
03:00:48.383788 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:50.139367 MAIN sockfilt said DISC
03:00:50.139418 ====> Client disconnected
03:00:50.139460 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:00:48.244285 ====> Client connect
03:00:48.244513 Received DATA (on stdin)
03:00:48.244536 > 160 bytes data, server => client
03:00:48.244554 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:48.244569 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:48.244581 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:49.896504 < 131 bytes data, client => server
03:00:49.896545 '....~...z...Yr...wk\n...Os./b.8k{`....\r.5'wZ....+./.,.0.....'
03:00:49.896559 ' ...\n......./.5.\n...3..........\n...........[0B].....\r.......'
03:00:49.896568 '...............'
03:00:49.915344 < 7 bytes data, client => server
03:00:49.915368 '......F'
03:00:50.000018 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file server.input
[16][03][01]
[A3][D6][9D]Os[BA]/b[FF]8k{`[D8][1B][A1][EA]
[BD]5'wZ
[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:00:48.165332 == Info: STATE: INIT => CONNECT handle 0x56c70c8; line 1491 (connection #-5000)
03:00:48.223289 == Info: Added connection 0. The cache now contains 1 members
03:00:48.241014 == Info: Trying 127.0.0.1:8992...
03:00:48.241640 == Info: TCP_NODELAY set
03:00:48.246196 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c70c8; line 1547 (connection #0)
03:00:48.258315 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8992 (#0)
03:00:48.258901 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c70c8; line 1665 (connection #0)
03:00:48.260047 == Info: Marked for [keep alive]: FTP default
03:00:49.768370 == Info: successfully set certificate verify locations:
03:00:49.768645 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:49.885684 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:00:49.891041 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:49.891098 => Send SSL data, 126 bytes (0x7e)
0000: ...z...Yr...wk....Os./b.8k{`......5'wZ....+./.,.0...............
0040: ../.5.....3...................................................
03:00:49.913780 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:49.916985 == Info: TLSv1.2 (OUT), TLS alert, protocol version (582):
03:00:49.917043 => Send SSL data, 2 bytes (0x2)
0000: .F
03:00:49.925746 == Info: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
03:00:49.926608 == Info: multi_done
03:00:49.928770 == Info: Marked for [closure]: FTP ended with bad error code
03:00:49.937192 == Info: Closing connection 0
03:00:50.002942 == Info: The cache now contains 0 members
03:00:50.010676 == Info: Expire cleared (transfer 0x56c70c8)
=== End of file trace405
=== Start of file valgrind405
==20251== Invalid read of size 8
==20251== at 0x53325A5: check_free (dlerror.c:188)
==20251== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20251== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20251== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20251== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20251== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20251== by 0x4C49EB9: exit (exit.c:139)
==20251== by 0x4C340A1: (below main) (libc-start.c:342)
==20251== Address 0x5af6e40 is 0 bytes after a block of size 32 alloc'd
==20251== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20251== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20251== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20251== by 0x24AE36: err_get_state (err.c:210)
==20251== by 0x24BA0C: ERR_put_error (err.c:636)
==20251== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20251== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20251== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20251== by 0x270058: by_file_ctrl (by_file.c:111)
==20251== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20251== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20251== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20251== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20251== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20251== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20251== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20251==
==20251== Invalid free() / delete / delete[] / realloc()
==20251== at 0x48369AB: free (vg_replace_malloc.c:540)
==20251== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20251== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20251== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20251== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20251== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20251== by 0x4C49EB9: exit (exit.c:139)
==20251== by 0x4C340A1: (below main) (libc-start.c:342)
==20251== Address 0x5af6e28 is 8 bytes inside a block of size 32 alloc'd
==20251== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20251== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20251== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20251== by 0x24AE36: err_get_state (err.c:210)
==20251== by 0x24BA0C: ERR_put_error (err.c:636)
==20251== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20251== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20251== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20251== by 0x270058: by_file_ctrl (by_file.c:111)
==20251== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20251== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20251== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20251== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20251== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20251== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20251== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20251==
==20251== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==20251== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20251== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20251== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20251== by 0x24AE36: err_get_state (err.c:210)
==20251== by 0x24BA0C: ERR_put_error (err.c:636)
==20251== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20251== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20251== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20251== by 0x270058: by_file_ctrl (by_file.c:111)
==20251== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20251== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20251== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20251== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20251== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20251== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20251== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20251==
=== End of file valgrind405
test 0406...[FTPS dir list, PORT with specified IP]
goto problem 19
valgrind ERROR ==20256== Invalid read of size 8
==20256== at 0x53325A5: check_free (dlerror.c:188)
==20256== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20256== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20256== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20256== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20256== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20256== by 0x4C49EB9: exit (exit.c:139)
==20256== by 0x4C340A1: (below main) (libc-start.c:342)
==20256== Address 0x5af76d0 is 0 bytes after a block of size 32 alloc'd
==20256== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20256== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20256== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20256== by 0x24AE36: err_get_state (err.c:210)
==20256== by 0x24BA0C: ERR_put_error (err.c:636)
==20256== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20256== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20256== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20256== by 0x270058: by_file_ctrl (by_file.c:111)
==20256== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20256== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20256== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20256== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20256== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20256== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20256== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20256==
==20256== Invalid free() / delete / delete[] / realloc()
==20256== at 0x48369AB: free (vg_replace_malloc.c:540)
==20256== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20256== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20256== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20256== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20256== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20256== by 0x4C49EB9: exit (exit.c:139)
==20256== by 0x4C340A1: (below main) (libc-start.c:342)
==20256== Address 0x5af76b8 is 8 bytes inside a block of size 32 alloc'd
==20256== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20256== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20256== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20256== by 0x24AE36: err_get_state (err.c:210)
==20256== by 0x24BA0C: ERR_put_error (err.c:636)
==20256== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20256== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20256== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20256== by 0x270058: by_file_ctrl (by_file.c:111)
==20256== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20256== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20256== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20256== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20256== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20256== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20256== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20256==
==20256== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20256== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20256== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20256== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20256== by 0x24AE36: err_get_state (err.c:210)
==20256== by 0x24BA0C: ERR_put_error (err.c:636)
==20256== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20256== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20256== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20256== by 0x270058: by_file_ctrl (by_file.c:111)
==20256== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20256== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20256== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20256== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20256== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20256== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20256== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20256==
== 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:00:53.244458 ====> Client connect
03:00:53.244566 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:53.331269 < "USER anonymous"
03:00:53.331314 > "331 We are happy you popped in![CR][LF]"
03:00:53.342223 < "PASS ftp@example.com"
03:00:53.342257 > "230 Welcome you silly person[CR][LF]"
03:00:53.344579 < "PBSZ 0"
03:00:53.344614 > "500 PBSZ not implemented[CR][LF]"
03:00:53.345947 < "PROT C"
03:00:53.345978 > "500 PROT not implemented[CR][LF]"
03:00:53.347416 < "PWD"
03:00:53.347453 > "257 "/" is current directory[CR][LF]"
03:00:53.368085 < "EPRT |1|127.0.0.1|44507|"
03:00:53.368115 ====> Active DATA channel requested by client
03:00:53.368143 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:00:53.368160 DATA sockfilt for active data channel starting...
03:00:53.369849 DATA sockfilt for active data channel started (pid 20258)
03:00:53.369884 ====> Active DATA channel connected to client port 44507
03:00:53.373040 < "TYPE A"
03:00:53.373078 > "200 I modify TYPE as you wanted[CR][LF]"
03:00:53.375189 < "LIST"
03:00:53.375220 > "150 here comes a directory[CR][LF]"
03:00:53.375243 pass LIST data on data connection
03:00:53.375314 =====> Closing active DATA connection...
03:00:53.375328 Server disconnects active DATA connection
03:00:53.375849 DATA sockfilt for active data channel quits (pid 20259)
03:00:53.375874 =====> Closed active DATA connection
03:00:53.375907 > "226 ASCII transfer complete[CR][LF]"
03:00:53.437389 < "QUIT"
03:00:53.437424 > "221 bye bye baby[CR][LF]"
03:00:53.441833 MAIN sockfilt said DISC
03:00:53.441866 ====> Client disconnected
03:00:53.441911 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:00:53.105060 ====> Client connect
03:00:53.105270 Received DATA (on stdin)
03:00:53.105286 > 160 bytes data, server => client
03:00:53.105299 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:53.105311 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:53.105321 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:53.191862 < 16 bytes data, client => server
03:00:53.191893 'USER anonymous\r\n'
03:00:53.192023 Received DATA (on stdin)
03:00:53.192036 > 33 bytes data, server => client
03:00:53.192047 '331 We are happy you popped in!\r\n'
03:00:53.202867 < 22 bytes data, client => server
03:00:53.202883 'PASS ftp@example.com\r\n'
03:00:53.202966 Received DATA (on stdin)
03:00:53.202976 > 30 bytes data, server => client
03:00:53.202986 '230 Welcome you silly person\r\n'
03:00:53.205202 < 8 bytes data, client => server
03:00:53.205217 'PBSZ 0\r\n'
03:00:53.205323 Received DATA (on stdin)
03:00:53.205335 > 26 bytes data, server => client
03:00:53.205348 '500 PBSZ not implemented\r\n'
03:00:53.206585 < 8 bytes data, client => server
03:00:53.206598 'PROT C\r\n'
03:00:53.206688 Received DATA (on stdin)
03:00:53.206698 > 26 bytes data, server => client
03:00:53.206708 '500 PROT not implemented\r\n'
03:00:53.208058 < 5 bytes data, client => server
03:00:53.208070 'PWD\r\n'
03:00:53.208162 Received DATA (on stdin)
03:00:53.208173 > 30 bytes data, server => client
03:00:53.208183 '257 "/" is current directory\r\n'
03:00:53.228723 < 26 bytes data, client => server
03:00:53.228738 'EPRT |1|127.0.0.1|44507|\r\n'
03:00:53.228853 Received DATA (on stdin)
03:00:53.228864 > 50 bytes data, server => client
03:00:53.228875 '200 Thanks for dropping by. We contact you later\r\n'
03:00:53.233664 < 8 bytes data, client => server
03:00:53.233677 'TYPE A\r\n'
03:00:53.233784 Received DATA (on stdin)
03:00:53.233795 > 33 bytes data, server => client
03:00:53.233806 '200 I modify TYPE as you wanted\r\n'
03:00:53.235828 < 6 bytes data, client => server
03:00:53.235842 'LIST\r\n'
03:00:53.235929 Received DATA (on stdin)
03:00:53.235940 > 28 bytes data, server => client
03:00:53.235950 '150 here comes a directory\r\n'
03:00:53.236615 Received DATA (on stdin)
03:00:53.236629 > 29 bytes data, server => client
03:00:53.236639 '226 ASCII transfer complete\r\n'
03:00:53.298016 < 6 bytes data, client => server
03:00:53.298037 'QUIT\r\n'
03:00:53.298133 Received DATA (on stdin)
03:00:53.298143 > 18 bytes data, server => client
03:00:53.298153 '221 bye bye baby\r\n'
03:00:53.302494 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:00:53.230382 ====> Client connect
03:00:53.230459 Running IPv4 version
03:00:53.230470 Connected to port 44507
03:00:53.230494 Wrote pid 20259 to ./.ftp_sockdata.pid
03:00:53.230510 Received PING (on stdin)
03:00:53.235989 Received DATA (on stdin)
03:00:53.236019 > 10 bytes data, server => client
03:00:53.236036 'total 20\r\n'
03:00:53.236061 Received DATA (on stdin)
03:00:53.236073 > 57 bytes data, server => client
03:00:53.236085 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:00:53.236101 Received DATA (on stdin)
03:00:53.236111 > 58 bytes data, server => client
03:00:53.236124 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:00:53.236139 Received DATA (on stdin)
03:00:53.236149 > 61 bytes data, server => client
03:00:53.236161 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:00:53.236169 '\n'
03:00:53.236184 Received DATA (on stdin)
03:00:53.236194 > 62 bytes data, server => client
03:00:53.236206 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:00:53.236214 '\n'
03:00:53.236228 Received DATA (on stdin)
03:00:53.236238 > 70 bytes data, server => client
03:00:53.236251 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:00:53.236259 'usr/bin\r\n'
03:00:53.236273 Received DATA (on stdin)
03:00:53.236283 > 59 bytes data, server => client
03:00:53.236295 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:00:53.236311 Received DATA (on stdin)
03:00:53.236321 > 69 bytes data, server => client
03:00:53.236333 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:00:53.236341 'd.html\r\n'
03:00:53.236355 Received DATA (on stdin)
03:00:53.236366 > 59 bytes data, server => client
03:00:53.236378 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:00:53.236393 Received DATA (on stdin)
03:00:53.236403 > 59 bytes data, server => client
03:00:53.236423 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:00:53.236440 Received DATA (on stdin)
03:00:53.236450 > 59 bytes data, server => client
03:00:53.236462 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:00:53.236477 Received DISC (on stdin)
03:00:53.236490 ====> Client forcibly disconnected
03:00:53.236505 disconnected, no socket to read on
03:00:53.236523 Received QUIT (on stdin)
03:00:53.236533 quits
03:00:53.236544 ============> 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|44507|
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 274 0 --:--:-- 0:00:02 --:--:-- 284
=== End of file stderr406
=== Start of file trace406
03:00:51.003194 == Info: STATE: INIT => CONNECT handle 0x56c7538; line 1491 (connection #-5000)
03:00:51.058088 == Info: Added connection 0. The cache now contains 1 members
03:00:51.075202 == Info: Trying 127.0.0.1:8993...
03:00:51.075804 == Info: TCP_NODELAY set
03:00:51.080913 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7538; line 1547 (connection #0)
03:00:51.092484 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:51.093042 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7538; line 1665 (connection #0)
03:00:51.094148 == Info: Marked for [keep alive]: FTP default
03:00:52.589658 == Info: successfully set certificate verify locations:
03:00:52.589910 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:52.702256 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:00:52.707418 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:52.707476 => Send SSL data, 126 bytes (0x7e)
0000: ...z...8.......`...)....,..- ./..J..8.....+./.,.0...............
0040: ../.5.....3...................................................
03:00:52.724226 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:52.729778 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:52.729833 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.....?.....I...].z.!..u......F5{.. ....E.y4......Z..#....mU.
0040: ..{..}../................
03:00:52.773291 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:52.773636 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:52.773691 <= 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:52.871988 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:52.872196 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:52.872251 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A........<..c....9.F].`..?...?....hcZ1x.........j.....wX.
0040: ....].wQ).....^a!......t.....b[...[7F]...Z.|...7X..".L%.hk:......#.
0080: .o..<....3......+...B..J.v.q....!.9.UJ.....qq..x...T._.L........
00c0: [7F]...........;x..MW#.....r.......>OtwW:.(.b.~.....[7F]`.e!.0`Qg+. .e
0100: .z.....F..N=.........2......8.MfF..f..........u.n.\@v...v..k..\7
0140: r*...6=?....{
03:00:52.941768 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:52.941967 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:52.942022 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:53.057464 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:53.057669 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:53.057724 => Send SSL data, 70 bytes (0x46)
0000: ...BA..n.kv..E.ag...lB...sK....\qhX..$..uG..J..1f).........#....
0040: {..i..
03:00:53.069676 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:53.070253 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:53.070311 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:53.091710 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:53.091767 => Send SSL data, 16 bytes (0x10)
0000: ....?.r.g..0..h%
03:00:53.104210 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:53.106722 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:53.107811 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:53.107868 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:53.110318 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:53.115994 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:53.116071 <= Recv SSL data, 16 bytes (0x10)
0000: .........\u@..dy
03:00:53.144442 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:53.146652 == Info: Server certificate:
03:00:53.154172 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:53.160319 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:53.161271 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:53.162202 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:53.163064 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:53.164564 == Info: FTP 0x57437e0 (line 3092) state change from STOP to WAIT220
03:00:53.170560 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:53.178248 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:00:53.181949 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:00:53.182140 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:00:53.182322 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:00:53.182502 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:00:53.190212 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:53.193147 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:00:53.193923 == Info: FTP 0x57437e0 (line 792) state change from WAIT220 to USER
03:00:53.194682 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c7538; line 1682 (connection #0)
03:00:53.200789 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:53.201448 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:00:53.202703 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:53.202823 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:00:53.203200 == Info: FTP 0x57437e0 (line 2520) state change from USER to PASS
03:00:53.204214 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:53.204357 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:00:53.205042 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:53.205159 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:00:53.205478 == Info: FTP 0x57437e0 (line 2496) state change from PASS to PBSZ
03:00:53.205771 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:53.205908 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:00:53.206431 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:53.206545 => Send header, 8 bytes (0x8)
0000: PROT C
03:00:53.206872 == Info: FTP 0x57437e0 (line 2709) state change from PBSZ to PROT
03:00:53.207112 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:53.207250 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:00:53.207904 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:53.208019 => Send header, 5 bytes (0x5)
0000: PWD
03:00:53.208335 == Info: FTP 0x57437e0 (line 804) state change from PROT to PWD
03:00:53.208660 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:53.208798 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:00:53.209915 == Info: Entry path is '/'
03:00:53.210135 == Info: FTP 0x57437e0 (line 2844) state change from PWD to STOP
03:00:53.210299 == Info: protocol connect phase DONE
03:00:53.210542 == Info: STATE: PROTOCONNECT => DO handle 0x56c7538; line 1701 (connection #0)
03:00:53.212471 == Info: DO phase starts
03:00:53.228563 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:00:53.228683 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|44507|
03:00:53.229248 == Info: FTP 0x57437e0 (line 1293) state change from STOP to PORT
03:00:53.229935 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:00:53.230294 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:00:53.230828 == Info: Connect data stream actively
03:00:53.231029 == Info: FTP 0x57437e0 (line 2011) state change from PORT to STOP
03:00:53.231562 == Info: ftp_perform ends with SECONDARY: 1
03:00:53.231775 == Info: DO phase is complete1
03:00:53.233506 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:53.233624 => Send header, 8 bytes (0x8)
0000: TYPE A
03:00:53.233968 == Info: FTP 0x57437e0 (line 3418) state change from STOP to LIST_TYPE
03:00:53.234345 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:53.234486 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:00:53.235673 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:53.235793 => Send header, 6 bytes (0x6)
0000: LIST
03:00:53.236327 == Info: FTP 0x57437e0 (line 1486) state change from LIST_TYPE to LIST
03:00:53.237409 == Info: STATE: DO => DO_MORE handle 0x56c7538; line 1751 (connection #0)
03:00:53.238636 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:00:53.238778 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:00:53.239373 == Info: Maxdownload = -1
03:00:53.239671 == Info: Preparing for accepting server on data port
03:00:53.240721 == Info: Checking for server connect
03:00:53.241499 == Info: Ready to accept data connection from server
03:00:53.243238 == Info: Connection accepted from server
03:00:53.244728 == Info: FTP 0x57437e0 (line 477) state change from LIST to STOP
03:00:53.245722 == Info: STATE: DO_MORE => DO_DONE handle 0x56c7538; line 1850 (connection #0)
03:00:53.246108 == Info: STATE: DO_DONE => PERFORM handle 0x56c7538; line 1877 (connection #0)
03:00:53.249551 <= 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:53.258285 == Info: nread <= 0, server closed connection, bailing
03:00:53.259455 == Info: STATE: PERFORM => DONE handle 0x56c7538; line 2067 (connection #0)
03:00:53.259778 == Info: multi_done
03:00:53.263078 == Info: Remembering we are in dir ""
03:00:53.265759 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:00:53.265904 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:00:53.271501 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace406
=== Start of file valgrind406
==20256== Invalid read of size 8
==20256== at 0x53325A5: check_free (dlerror.c:188)
==20256== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20256== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20256== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20256== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20256== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20256== by 0x4C49EB9: exit (exit.c:139)
==20256== by 0x4C340A1: (below main) (libc-start.c:342)
==20256== Address 0x5af76d0 is 0 bytes after a block of size 32 alloc'd
==20256== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20256== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20256== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20256== by 0x24AE36: err_get_state (err.c:210)
==20256== by 0x24BA0C: ERR_put_error (err.c:636)
==20256== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20256== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20256== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20256== by 0x270058: by_file_ctrl (by_file.c:111)
==20256== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20256== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20256== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20256== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20256== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20256== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20256== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20256==
==20256== Invalid free() / delete / delete[] / realloc()
==20256== at 0x48369AB: free (vg_replace_malloc.c:540)
==20256== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20256== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20256== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20256== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20256== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20256== by 0x4C49EB9: exit (exit.c:139)
==20256== by 0x4C340A1: (below main) (libc-start.c:342)
==20256== Address 0x5af76b8 is 8 bytes inside a block of size 32 alloc'd
==20256== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20256== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20256== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20256== by 0x24AE36: err_get_state (err.c:210)
==20256== by 0x24BA0C: ERR_put_error (err.c:636)
==20256== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20256== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20256== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20256== by 0x270058: by_file_ctrl (by_file.c:111)
==20256== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20256== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20256== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20256== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20256== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20256== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20256== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20256==
==20256== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20256== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20256== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20256== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20256== by 0x24AE36: err_get_state (err.c:210)
==20256== by 0x24BA0C: ERR_put_error (err.c:636)
==20256== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20256== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20256== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20256== by 0x270058: by_file_ctrl (by_file.c:111)
==20256== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20256== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20256== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20256== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20256== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20256== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20256== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20256==
=== End of file valgrind406
test 0407...[Get two FTPS files from the same remote dir: no second CWD]
goto problem 20
valgrind ERROR ==20262== Invalid read of size 8
==20262== at 0x53325A5: check_free (dlerror.c:188)
==20262== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20262== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20262== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20262== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20262== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20262== by 0x4C49EB9: exit (exit.c:139)
==20262== by 0x4C340A1: (below main) (libc-start.c:342)
==20262== Address 0x5b50a30 is 0 bytes after a block of size 32 alloc'd
==20262== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20262== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20262== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20262== by 0x24AE36: err_get_state (err.c:210)
==20262== by 0x24BA0C: ERR_put_error (err.c:636)
==20262== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20262== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20262== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20262== by 0x270058: by_file_ctrl (by_file.c:111)
==20262== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20262== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20262== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20262== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20262== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20262== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20262== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20262==
==20262== Invalid free() / delete / delete[] / realloc()
==20262== at 0x48369AB: free (vg_replace_malloc.c:540)
==20262== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20262== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20262== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20262== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20262== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20262== by 0x4C49EB9: exit (exit.c:139)
==20262== by 0x4C340A1: (below main) (libc-start.c:342)
==20262== Address 0x5b50a18 is 8 bytes inside a block of size 32 alloc'd
==20262== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20262== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20262== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20262== by 0x24AE36: err_get_state (err.c:210)
==20262== by 0x24BA0C: ERR_put_error (err.c:636)
==20262== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20262== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20262== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20262== by 0x270058: by_file_ctrl (by_file.c:111)
==20262== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20262== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20262== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20262== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20262== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20262== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20262== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20262==
==20262== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20262== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20262== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20262== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20262== by 0x24AE36: err_get_state (err.c:210)
==20262== by 0x24BA0C: ERR_put_error (err.c:636)
==20262== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20262== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20262== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20262== by 0x270058: by_file_ctrl (by_file.c:111)
==20262== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20262== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20262== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20262== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20262== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20262== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20262== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20262==
== 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:00:56.596546 ====> Client connect
03:00:56.596649 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:56.683371 < "USER anonymous"
03:00:56.683421 > "331 We are happy you popped in![CR][LF]"
03:00:56.694374 < "PASS ftp@example.com"
03:00:56.694403 > "230 Welcome you silly person[CR][LF]"
03:00:56.696762 < "PBSZ 0"
03:00:56.696786 > "500 PBSZ not implemented[CR][LF]"
03:00:56.698216 < "PROT C"
03:00:56.698238 > "500 PROT not implemented[CR][LF]"
03:00:56.699786 < "PWD"
03:00:56.699822 > "257 "/" is current directory[CR][LF]"
03:00:56.706868 < "CWD a"
03:00:56.706899 > "250 CWD command successful.[CR][LF]"
03:00:56.708507 < "CWD path"
03:00:56.708535 > "250 CWD command successful.[CR][LF]"
03:00:56.712185 < "EPSV"
03:00:56.712216 ====> Passive DATA channel requested by client
03:00:56.712229 DATA sockfilt for passive data channel starting...
03:00:56.713941 DATA sockfilt for passive data channel started (pid 20264)
03:00:56.714103 DATA sockfilt for passive data channel listens on port 33325
03:00:56.714166 > "229 Entering Passive Mode (|||33325|)[LF]"
03:00:56.714189 Client has been notified that DATA conn will be accepted on port 33325
03:00:56.720523 Client connects to port 33325
03:00:56.720561 ====> Client established passive DATA connection on port 33325
03:00:56.725528 < "TYPE I"
03:00:56.725561 > "200 I modify TYPE as you wanted[CR][LF]"
03:00:56.727654 < "SIZE 407"
03:00:56.727808 > "213 11[CR][LF]"
03:00:56.731585 < "RETR 407"
03:00:56.731685 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:00:56.731741 =====> Closing passive DATA connection...
03:00:56.731755 Server disconnects passive DATA connection
03:00:56.731848 DATA sockfilt for passive data channel quits (pid 20265)
03:00:56.731873 =====> Closed passive DATA connection
03:00:56.731898 > "226 File transfer complete[CR][LF]"
03:00:56.803227 < "EPSV"
03:00:56.803268 ====> Passive DATA channel requested by client
03:00:56.803282 DATA sockfilt for passive data channel starting...
03:00:56.805312 DATA sockfilt for passive data channel started (pid 20266)
03:00:56.805473 DATA sockfilt for passive data channel listens on port 35129
03:00:56.805527 > "229 Entering Passive Mode (|||35129|)[LF]"
03:00:56.805549 Client has been notified that DATA conn will be accepted on port 35129
03:00:56.807016 Client connects to port 35129
03:00:56.807049 ====> Client established passive DATA connection on port 35129
03:00:56.808302 < "SIZE 407"
03:00:56.808458 > "213 11[CR][LF]"
03:00:56.809451 < "RETR 407"
03:00:56.809555 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:00:56.809614 =====> Closing passive DATA connection...
03:00:56.809652 Server disconnects passive DATA connection
03:00:56.809777 DATA sockfilt for passive data channel quits (pid 20267)
03:00:56.809798 =====> Closed passive DATA connection
03:00:56.809831 > "226 File transfer complete[CR][LF]"
03:00:56.870131 < "QUIT"
03:00:56.870169 > "221 bye bye baby[CR][LF]"
03:00:56.874470 MAIN sockfilt said DISC
03:00:56.874503 ====> Client disconnected
03:00:56.874554 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:00:56.457168 ====> Client connect
03:00:56.457356 Received DATA (on stdin)
03:00:56.457378 > 160 bytes data, server => client
03:00:56.457402 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:56.457423 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:56.457441 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:56.543962 < 16 bytes data, client => server
03:00:56.543997 'USER anonymous\r\n'
03:00:56.544132 Received DATA (on stdin)
03:00:56.544152 > 33 bytes data, server => client
03:00:56.544170 '331 We are happy you popped in!\r\n'
03:00:56.555037 < 22 bytes data, client => server
03:00:56.555063 'PASS ftp@example.com\r\n'
03:00:56.555114 Received DATA (on stdin)
03:00:56.555130 > 30 bytes data, server => client
03:00:56.555147 '230 Welcome you silly person\r\n'
03:00:56.557439 < 8 bytes data, client => server
03:00:56.557461 'PBSZ 0\r\n'
03:00:56.557498 Received DATA (on stdin)
03:00:56.557516 > 26 bytes data, server => client
03:00:56.557534 '500 PBSZ not implemented\r\n'
03:00:56.558895 < 8 bytes data, client => server
03:00:56.558916 'PROT C\r\n'
03:00:56.558950 Received DATA (on stdin)
03:00:56.558967 > 26 bytes data, server => client
03:00:56.558985 '500 PROT not implemented\r\n'
03:00:56.560416 < 5 bytes data, client => server
03:00:56.560437 'PWD\r\n'
03:00:56.560534 Received DATA (on stdin)
03:00:56.560554 > 30 bytes data, server => client
03:00:56.560571 '257 "/" is current directory\r\n'
03:00:56.567504 < 7 bytes data, client => server
03:00:56.567525 'CWD a\r\n'
03:00:56.567611 Received DATA (on stdin)
03:00:56.567630 > 29 bytes data, server => client
03:00:56.567648 '250 CWD command successful.\r\n'
03:00:56.569163 < 10 bytes data, client => server
03:00:56.569185 'CWD path\r\n'
03:00:56.569247 Received DATA (on stdin)
03:00:56.569265 > 29 bytes data, server => client
03:00:56.569282 '250 CWD command successful.\r\n'
03:00:56.572821 < 6 bytes data, client => server
03:00:56.572842 'EPSV\r\n'
03:00:56.574892 Received DATA (on stdin)
03:00:56.574926 > 38 bytes data, server => client
03:00:56.574950 '229 Entering Passive Mode (|||33325|)\n'
03:00:56.586152 < 8 bytes data, client => server
03:00:56.586176 'TYPE I\r\n'
03:00:56.586273 Received DATA (on stdin)
03:00:56.586292 > 33 bytes data, server => client
03:00:56.586311 '200 I modify TYPE as you wanted\r\n'
03:00:56.588315 < 10 bytes data, client => server
03:00:56.588337 'SIZE 407\r\n'
03:00:56.588521 Received DATA (on stdin)
03:00:56.588542 > 8 bytes data, server => client
03:00:56.588557 '213 11\r\n'
03:00:56.592245 < 10 bytes data, client => server
03:00:56.592267 'RETR 407\r\n'
03:00:56.592397 Received DATA (on stdin)
03:00:56.592422 > 51 bytes data, server => client
03:00:56.592443 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:00:56.592610 Received DATA (on stdin)
03:00:56.592630 > 28 bytes data, server => client
03:00:56.592648 '226 File transfer complete\r\n'
03:00:56.663812 < 6 bytes data, client => server
03:00:56.663845 'EPSV\r\n'
03:00:56.666256 Received DATA (on stdin)
03:00:56.666292 > 38 bytes data, server => client
03:00:56.666315 '229 Entering Passive Mode (|||35129|)\n'
03:00:56.668932 < 10 bytes data, client => server
03:00:56.668954 'SIZE 407\r\n'
03:00:56.669170 Received DATA (on stdin)
03:00:56.669190 > 8 bytes data, server => client
03:00:56.669207 '213 11\r\n'
03:00:56.670094 < 10 bytes data, client => server
03:00:56.670116 'RETR 407\r\n'
03:00:56.670267 Received DATA (on stdin)
03:00:56.670286 > 51 bytes data, server => client
03:00:56.670307 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:00:56.670542 Received DATA (on stdin)
03:00:56.670568 > 28 bytes data, server => client
03:00:56.670587 '226 File transfer complete\r\n'
03:00:56.730746 < 6 bytes data, client => server
03:00:56.730776 'QUIT\r\n'
03:00:56.730880 Received DATA (on stdin)
03:00:56.730899 > 18 bytes data, server => client
03:00:56.730915 '221 bye bye baby\r\n'
03:00:56.735131 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:00:56.574419 Running IPv4 version
03:00:56.574527 Listening on port 33325
03:00:56.574563 Wrote pid 20265 to ./.ftp_sockdata.pid
03:00:56.574585 Received PING (on stdin)
03:00:56.574710 Received PORT (on stdin)
03:00:56.581192 ====> Client connect
03:00:56.592429 Received DATA (on stdin)
03:00:56.592444 > 11 bytes data, server => client
03:00:56.592453 'data blobb\n'
03:00:56.592482 Received DISC (on stdin)
03:00:56.592496 ====> Client forcibly disconnected
03:00:56.592525 Received QUIT (on stdin)
03:00:56.592537 quits
03:00:56.592551 ============> sockfilt quits
03:00:56.665820 Running IPv4 version
03:00:56.665904 Listening on port 35129
03:00:56.665955 Wrote pid 20267 to ./.ftp_sockdata.pid
03:00:56.665977 Received PING (on stdin)
03:00:56.666072 Received PORT (on stdin)
03:00:56.667694 ====> Client connect
03:00:56.670296 Received DATA (on stdin)
03:00:56.670317 > 11 bytes data, server => client
03:00:56.670344 'data blobb\n'
03:00:56.670402 Received DISC (on stdin)
03:00:56.670425 ====> Client forcibly disconnected
03:00:56.670464 Received QUIT (on stdin)
03:00:56.670492 quits
03:00:56.670513 ============> 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 166 0 --:--:-- --:--:-- --:--:-- 207
=== End of file stderr407
=== Start of file stdout407
data blobb
=== End of file stdout407
=== Start of file trace407
03:00:54.375550 == Info: STATE: INIT => CONNECT handle 0x56c7a48; line 1491 (connection #-5000)
03:00:54.430410 == Info: Added connection 0. The cache now contains 1 members
03:00:54.447572 == Info: Trying 127.0.0.1:8993...
03:00:54.448178 == Info: TCP_NODELAY set
03:00:54.453286 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7a48; line 1547 (connection #0)
03:00:54.464846 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:54.465404 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7a48; line 1665 (connection #0)
03:00:54.466510 == Info: Marked for [keep alive]: FTP default
03:00:55.932909 == Info: successfully set certificate verify locations:
03:00:55.933165 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:56.053955 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:00:56.059178 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:56.059252 => Send SSL data, 126 bytes (0x7e)
0000: ...z...vH.=.~.o...).V..T/W..R...?.........+./.,.0...............
0040: ../.5.....3...................................................
03:00:56.076134 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:56.081715 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:56.081771 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..?...k...h.K~.....L.h..a!..5..... .%|.n...N.r.EG,..#jsv....
0040: ...u.j../................
03:00:56.125465 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:56.125845 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:56.125900 <= 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:56.224256 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:56.224469 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:56.224523 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A........<..c....9.F].`..?...?....hcZ1x.........j.....wX.
0040: ....].wQ)......p'~...K.o;*@....\7.......S...sZ.{..F7.....J.#..Y.
0080: .z:%.......1...S.D.............c....P.j...@.}._.A..... ..<;P{IX\
00c0: %.(.v....@Dk....T.f&.v...W.v......+...[F.&...[Y.Bl..M...6..4...k
0100: }..i.`...R[7F].....x.........n.;\...6.........NN.bE....,/......g.z.
0140: ..K..^.......
03:00:56.294012 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:56.294208 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:56.294262 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:56.409582 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:56.409771 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:56.409824 => Send SSL data, 70 bytes (0x46)
0000: ...BA..fy....2.,_.......9.-.Y.i9..kx..z.......V...0.;2....M....3
0040: E..9.[7F]
03:00:56.421764 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:56.422342 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:56.422398 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:56.443816 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:56.443872 => Send SSL data, 16 bytes (0x10)
0000: .....nW..g%d...-
03:00:56.456330 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:56.458921 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:56.460010 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:56.460065 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:56.462514 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:56.468194 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:56.468250 <= Recv SSL data, 16 bytes (0x10)
0000: .....#)wT....l..
03:00:56.496594 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:56.498802 == Info: Server certificate:
03:00:56.506295 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:56.512440 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:56.513399 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:56.514326 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:56.515190 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:56.516690 == Info: FTP 0x579cb20 (line 3092) state change from STOP to WAIT220
03:00:56.522674 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:56.530363 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:00:56.534061 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:00:56.534253 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:00:56.534437 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:00:56.534619 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:00:56.542316 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:56.545305 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:00:56.546083 == Info: FTP 0x579cb20 (line 792) state change from WAIT220 to USER
03:00:56.546840 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c7a48; line 1682 (connection #0)
03:00:56.552958 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:56.553616 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:00:56.554870 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:56.554989 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:00:56.555410 == Info: FTP 0x579cb20 (line 2520) state change from USER to PASS
03:00:56.556432 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:56.556575 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:00:56.557279 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:56.557394 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:00:56.557763 == Info: FTP 0x579cb20 (line 2496) state change from PASS to PBSZ
03:00:56.558052 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:56.558188 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:00:56.558737 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:56.558850 => Send header, 8 bytes (0x8)
0000: PROT C
03:00:56.559218 == Info: FTP 0x579cb20 (line 2709) state change from PBSZ to PROT
03:00:56.559461 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:56.559597 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:00:56.560254 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:56.560366 => Send header, 5 bytes (0x5)
0000: PWD
03:00:56.560734 == Info: FTP 0x579cb20 (line 804) state change from PROT to PWD
03:00:56.561055 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:56.561191 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:00:56.562308 == Info: Entry path is '/'
03:00:56.562526 == Info: FTP 0x579cb20 (line 2844) state change from PWD to STOP
03:00:56.562690 == Info: protocol connect phase DONE
03:00:56.562930 == Info: STATE: PROTOCONNECT => DO handle 0x56c7a48; line 1701 (connection #0)
03:00:56.566131 == Info: DO phase starts
03:00:56.567341 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:56.567459 => Send header, 7 bytes (0x7)
0000: CWD a
03:00:56.567826 == Info: FTP 0x579cb20 (line 895) state change from STOP to CWD
03:00:56.568236 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:00:56.568378 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:00:56.569004 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:00:56.569118 => Send header, 10 bytes (0xa)
0000: CWD path
03:00:56.569489 == Info: ftp_perform ends with SECONDARY: 0
03:00:56.570210 == Info: STATE: DO => DOING handle 0x56c7a48; line 1743 (connection #0)
03:00:56.571109 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:00:56.571249 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:00:56.572661 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:56.572777 => Send header, 6 bytes (0x6)
0000: EPSV
03:00:56.573130 == Info: FTP 0x579cb20 (line 1330) state change from CWD to PASV
03:00:56.573299 == Info: Connect data stream passively
03:00:56.575236 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:00:56.575383 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||33325|).
03:00:56.581033 == Info: Trying 127.0.0.1:33325...
03:00:56.581093 == Info: TCP_NODELAY set
03:00:56.581785 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 33325
03:00:56.582890 == Info: FTP 0x579cb20 (line 1977) state change from PASV to STOP
03:00:56.583436 == Info: DO phase is complete2
03:00:56.583695 == Info: STATE: DOING => DO_MORE handle 0x56c7a48; line 1825 (connection #0)
03:00:56.584424 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:56.584638 == Info: DO-MORE connected phase starts
03:00:56.585988 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:56.586107 => Send header, 8 bytes (0x8)
0000: TYPE I
03:00:56.586491 == Info: FTP 0x579cb20 (line 3418) state change from STOP to RETR_TYPE
03:00:56.586875 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:56.587016 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:00:56.588156 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:00:56.588271 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:00:56.588654 == Info: FTP 0x579cb20 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:00:56.590288 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:00:56.590459 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:00:56.592085 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:00:56.592201 => Send header, 10 bytes (0xa)
0000: RETR 407
03:00:56.592590 == Info: FTP 0x579cb20 (line 2229) state change from RETR_SIZE to RETR
03:00:56.593138 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:00:56.593485 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:00:56.594346 == Info: Maxdownload = -1
03:00:56.594551 == Info: Getting file with size: 11
03:00:56.595926 == Info: FTP 0x579cb20 (line 477) state change from RETR to STOP
03:00:56.596486 == Info: STATE: DO_MORE => DO_DONE handle 0x56c7a48; line 1850 (connection #0)
03:00:56.596874 == Info: STATE: DO_DONE => PERFORM handle 0x56c7a48; line 1877 (connection #0)
03:00:56.600322 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:00:56.605499 == Info: readwrite_data: we're done
03:00:56.605761 == Info: nread <= 0, server closed connection, bailing
03:00:56.606967 == Info: STATE: PERFORM => DONE handle 0x56c7a48; line 2067 (connection #0)
03:00:56.607289 == Info: multi_done
03:00:56.610184 == Info: Remembering we are in dir "a/path/"
03:00:56.613661 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:00:56.613805 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:00:56.620070 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:56.621916 == Info: Expire cleared (transfer 0x56c7a48)
03:00:56.647610 == Info: STATE: INIT => CONNECT handle 0x5721a78; line 1491 (connection #-5000)
03:00:56.651579 == Info: Found bundle for host 127.0.0.1: 0x57aab98 [serially]
03:00:56.659922 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:00:56.660715 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:56.660920 == Info: STATE: CONNECT => DO handle 0x5721a78; line 1540 (connection #0)
03:00:56.663000 == Info: Request has same path as previous transfer
03:00:56.663184 == Info: DO phase starts
03:00:56.663593 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:56.663740 => Send header, 6 bytes (0x6)
0000: EPSV
03:00:56.663910 == Info: FTP 0x579cb20 (line 1330) state change from STOP to PASV
03:00:56.663972 == Info: Connect data stream passively
03:00:56.664170 == Info: ftp_perform ends with SECONDARY: 0
03:00:56.664247 == Info: STATE: DO => DOING handle 0x5721a78; line 1743 (connection #0)
03:00:56.666617 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:00:56.666771 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||35129|).
03:00:56.667516 == Info: Trying 127.0.0.1:35129...
03:00:56.667574 == Info: TCP_NODELAY set
03:00:56.667705 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 35129
03:00:56.667850 == Info: FTP 0x579cb20 (line 1977) state change from PASV to STOP
03:00:56.667907 == Info: DO phase is complete2
03:00:56.667979 == Info: STATE: DOING => DO_MORE handle 0x5721a78; line 1825 (connection #0)
03:00:56.668072 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:56.668129 == Info: DO-MORE connected phase starts
03:00:56.668364 == Info: FTP 0x579cb20 (line 3413) state change from STOP to RETR_TYPE
03:00:56.668767 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:00:56.668885 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:00:56.669061 == Info: FTP 0x579cb20 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:00:56.669492 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:00:56.669629 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:00:56.669933 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:00:56.670046 => Send header, 10 bytes (0xa)
0000: RETR 407
03:00:56.670221 == Info: FTP 0x579cb20 (line 2229) state change from RETR_SIZE to RETR
03:00:56.670592 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:00:56.670741 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:00:56.671005 == Info: Maxdownload = -1
03:00:56.671063 == Info: Getting file with size: 11
03:00:56.671133 == Info: FTP 0x579cb20 (line 477) state change from RETR to STOP
03:00:56.671213 == Info: STATE: DO_MORE => DO_DONE handle 0x5721a78; line 1850 (connection #0)
03:00:56.671295 == Info: STATE: DO_DONE => PERFORM handle 0x5721a78; line 1877 (connection #0)
03:00:56.671403 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:00:56.671846 == Info: readwrite_data: we're done
03:00:56.671908 == Info: nread <= 0, server closed connection, bailing
03:00:56.671992 == Info: STATE: PERFORM => DONE handle 0x5721a78; line 2067 (connection #0)
03:00:56.672052 == Info: multi_done
03:00:56.672255 == Info: Remembering we are in dir "a/path/"
03:00:56.713536 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:00:56.713908 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:00:56.716031 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:56.716345 == Info: Expire cleared (transfer 0x5721a78)
=== End of file trace407
=== Start of file valgrind407
==20262== Invalid read of size 8
==20262== at 0x53325A5: check_free (dlerror.c:188)
==20262== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20262== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20262== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20262== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20262== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20262== by 0x4C49EB9: exit (exit.c:139)
==20262== by 0x4C340A1: (below main) (libc-start.c:342)
==20262== Address 0x5b50a30 is 0 bytes after a block of size 32 alloc'd
==20262== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20262== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20262== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20262== by 0x24AE36: err_get_state (err.c:210)
==20262== by 0x24BA0C: ERR_put_error (err.c:636)
==20262== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20262== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20262== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20262== by 0x270058: by_file_ctrl (by_file.c:111)
==20262== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20262== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20262== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20262== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20262== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20262== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20262== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20262==
==20262== Invalid free() / delete / delete[] / realloc()
==20262== at 0x48369AB: free (vg_replace_malloc.c:540)
==20262== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20262== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20262== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20262== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20262== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20262== by 0x4C49EB9: exit (exit.c:139)
==20262== by 0x4C340A1: (below main) (libc-start.c:342)
==20262== Address 0x5b50a18 is 8 bytes inside a block of size 32 alloc'd
==20262== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20262== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20262== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20262== by 0x24AE36: err_get_state (err.c:210)
==20262== by 0x24BA0C: ERR_put_error (err.c:636)
==20262== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20262== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20262== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20262== by 0x270058: by_file_ctrl (by_file.c:111)
==20262== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20262== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20262== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20262== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20262== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20262== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20262== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20262==
==20262== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20262== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20262== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20262== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20262== by 0x24AE36: err_get_state (err.c:210)
==20262== by 0x24BA0C: ERR_put_error (err.c:636)
==20262== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20262== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20262== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20262== by 0x270058: by_file_ctrl (by_file.c:111)
==20262== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20262== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20262== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20262== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20262== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20262== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20262== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20262==
=== End of file valgrind407
test 0408...[FTPS PORT upload with CWD]
goto problem 21
valgrind ERROR ==20270== Invalid read of size 8
==20270== at 0x53325A5: check_free (dlerror.c:188)
==20270== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20270== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20270== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20270== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20270== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20270== by 0x4C49EB9: exit (exit.c:139)
==20270== by 0x4C340A1: (below main) (libc-start.c:342)
==20270== Address 0x5b346f0 is 0 bytes after a block of size 32 alloc'd
==20270== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20270== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20270== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20270== by 0x24AE36: err_get_state (err.c:210)
==20270== by 0x24BA0C: ERR_put_error (err.c:636)
==20270== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20270== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20270== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20270== by 0x270058: by_file_ctrl (by_file.c:111)
==20270== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20270== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20270== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20270== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20270== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20270== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20270== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20270==
==20270== Invalid free() / delete / delete[] / realloc()
==20270== at 0x48369AB: free (vg_replace_malloc.c:540)
==20270== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20270== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20270== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20270== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20270== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20270== by 0x4C49EB9: exit (exit.c:139)
==20270== by 0x4C340A1: (below main) (libc-start.c:342)
==20270== Address 0x5b346d8 is 8 bytes inside a block of size 32 alloc'd
==20270== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20270== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20270== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20270== by 0x24AE36: err_get_state (err.c:210)
==20270== by 0x24BA0C: ERR_put_error (err.c:636)
==20270== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20270== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20270== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20270== by 0x270058: by_file_ctrl (by_file.c:111)
==20270== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20270== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20270== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20270== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20270== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20270== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20270== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20270==
==20270== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20270== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20270== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20270== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20270== by 0x24AE36: err_get_state (err.c:210)
==20270== by 0x24BA0C: ERR_put_error (err.c:636)
==20270== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20270== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20270== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20270== by 0x270058: by_file_ctrl (by_file.c:111)
==20270== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20270== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20270== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20270== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20270== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20270== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20270== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20270==
== Contents of files in the log/ dir after test 408
=== Start of file ftp_server.log
03:01:00.017251 ====> Client connect
03:01:00.017353 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:00.103974 < "USER anonymous"
03:01:00.104020 > "331 We are happy you popped in![CR][LF]"
03:01:00.114876 < "PASS ftp@example.com"
03:01:00.114908 > "230 Welcome you silly person[CR][LF]"
03:01:00.117192 < "PBSZ 0"
03:01:00.117222 > "500 PBSZ not implemented[CR][LF]"
03:01:00.118583 < "PROT C"
03:01:00.118613 > "500 PROT not implemented[CR][LF]"
03:01:00.120057 < "PWD"
03:01:00.120089 > "257 "/" is current directory[CR][LF]"
03:01:00.127106 < "CWD CWD"
03:01:00.127138 > "250 CWD command successful.[CR][LF]"
03:01:00.128720 < "CWD STOR"
03:01:00.128751 > "250 CWD command successful.[CR][LF]"
03:01:00.131293 < "CWD RETR"
03:01:00.131323 > "250 CWD command successful.[CR][LF]"
03:01:00.137060 < "EPRT |1|127.0.0.1|44453|"
03:01:00.137087 ====> Active DATA channel requested by client
03:01:00.137117 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:01:00.137138 DATA sockfilt for active data channel starting...
03:01:00.138699 DATA sockfilt for active data channel started (pid 20274)
03:01:00.138734 ====> Active DATA channel connected to client port 44453
03:01:00.142797 < "TYPE I"
03:01:00.142852 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:00.145086 < "STOR 408"
03:01:00.145111 STOR test number 408 in log/upload.408
03:01:00.145134 > "125 Gimme gimme gimme![CR][LF]"
03:01:00.158002 > Appending 27 bytes to file
03:01:00.165931 =====> Closing active DATA connection...
03:01:00.165952 Server knows active DATA connection is already disconnected
03:01:00.165999 DATA sockfilt for active data channel quits (pid 20275)
03:01:00.166014 =====> Closed active DATA connection
03:01:00.166029 received 27 bytes upload
03:01:00.166055 > "226 File transfer complete[CR][LF]"
03:01:00.194323 < "QUIT"
03:01:00.194363 > "221 bye bye baby[CR][LF]"
03:01:00.198785 MAIN sockfilt said DISC
03:01:00.198820 ====> Client disconnected
03:01:00.198865 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:00:59.877876 ====> Client connect
03:00:59.878054 Received DATA (on stdin)
03:00:59.878075 > 160 bytes data, server => client
03:00:59.878096 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:59.878110 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:59.878120 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:59.964549 < 16 bytes data, client => server
03:00:59.964592 'USER anonymous\r\n'
03:00:59.964728 Received DATA (on stdin)
03:00:59.964747 > 33 bytes data, server => client
03:00:59.964765 '331 We are happy you popped in!\r\n'
03:00:59.975520 < 22 bytes data, client => server
03:00:59.975550 'PASS ftp@example.com\r\n'
03:00:59.975617 Received DATA (on stdin)
03:00:59.975636 > 30 bytes data, server => client
03:00:59.975653 '230 Welcome you silly person\r\n'
03:00:59.977842 < 8 bytes data, client => server
03:00:59.977871 'PBSZ 0\r\n'
03:00:59.977933 Received DATA (on stdin)
03:00:59.977951 > 26 bytes data, server => client
03:00:59.977967 '500 PBSZ not implemented\r\n'
03:00:59.979233 < 8 bytes data, client => server
03:00:59.979260 'PROT C\r\n'
03:00:59.979324 Received DATA (on stdin)
03:00:59.979342 > 26 bytes data, server => client
03:00:59.979358 '500 PROT not implemented\r\n'
03:00:59.980708 < 5 bytes data, client => server
03:00:59.980736 'PWD\r\n'
03:00:59.980800 Received DATA (on stdin)
03:00:59.980818 > 30 bytes data, server => client
03:00:59.980834 '257 "/" is current directory\r\n'
03:00:59.987758 < 9 bytes data, client => server
03:00:59.987786 'CWD CWD\r\n'
03:00:59.987848 Received DATA (on stdin)
03:00:59.987866 > 29 bytes data, server => client
03:00:59.987883 '250 CWD command successful.\r\n'
03:00:59.989371 < 10 bytes data, client => server
03:00:59.989399 'CWD STOR\r\n'
03:00:59.989461 Received DATA (on stdin)
03:00:59.989479 > 29 bytes data, server => client
03:00:59.989497 '250 CWD command successful.\r\n'
03:00:59.991944 < 10 bytes data, client => server
03:00:59.991972 'CWD RETR\r\n'
03:00:59.992033 Received DATA (on stdin)
03:00:59.992051 > 29 bytes data, server => client
03:00:59.992069 '250 CWD command successful.\r\n'
03:00:59.997710 < 26 bytes data, client => server
03:00:59.997740 'EPRT |1|127.0.0.1|44453|\r\n'
03:00:59.997826 Received DATA (on stdin)
03:00:59.997844 > 50 bytes data, server => client
03:00:59.997865 '200 Thanks for dropping by. We contact you later\r\n'
03:01:00.003391 < 8 bytes data, client => server
03:01:00.003430 'TYPE I\r\n'
03:01:00.003552 Received DATA (on stdin)
03:01:00.003571 > 33 bytes data, server => client
03:01:00.003588 '200 I modify TYPE as you wanted\r\n'
03:01:00.005732 < 10 bytes data, client => server
03:01:00.005760 'STOR 408\r\n'
03:01:00.005845 Received DATA (on stdin)
03:01:00.005863 > 24 bytes data, server => client
03:01:00.005894 '125 Gimme gimme gimme!\r\n'
03:01:00.026765 Received DATA (on stdin)
03:01:00.026787 > 28 bytes data, server => client
03:01:00.026803 '226 File transfer complete\r\n'
03:01:00.054942 < 6 bytes data, client => server
03:01:00.054978 'QUIT\r\n'
03:01:00.055071 Received DATA (on stdin)
03:01:00.055090 > 18 bytes data, server => client
03:01:00.055107 '221 bye bye baby\r\n'
03:01:00.059463 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:00.999232 ====> Client connect
03:01:00.999309 Running IPv4 version
03:01:00.999320 Connected to port 44453
03:01:00.999348 Wrote pid 20275 to ./.ftp_sockdata.pid
03:01:00.999363 Received PING (on stdin)
03:01:01.018652 < 27 bytes data, client => server
03:01:01.018683 'Moooooooooooo\n upload this\n'
03:01:01.026530 ====> Client disconnect
03:01:01.026581 disconnected, no socket to read on
03:01:01.026704 Received QUIT (on stdin)
03:01:01.026726 quits
03:01:01.026743 ============> 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|44453|
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
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:00:57.814178 == Info: STATE: INIT => CONNECT handle 0x56ca408; line 1491 (connection #-5000)
03:00:57.869200 == Info: Added connection 0. The cache now contains 1 members
03:00:57.886890 == Info: Trying 127.0.0.1:8993...
03:00:57.887498 == Info: TCP_NODELAY set
03:00:57.892911 == Info: STATE: CONNECT => WAITCONNECT handle 0x56ca408; line 1547 (connection #0)
03:00:57.904867 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:57.905437 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56ca408; line 1665 (connection #0)
03:00:57.906596 == Info: Marked for [keep alive]: FTP default
03:00:59.364494 == Info: successfully set certificate verify locations:
03:00:59.364755 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:59.477496 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:00:59.482641 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:59.482702 => Send SSL data, 126 bytes (0x7e)
0000: ...z..I}. Y..0#.........[7F]T)..S...;.W1.....+./.,.0...............
0040: ../.5.....3...................................................
03:00:59.499397 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:59.504918 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:59.504975 <= Recv SSL data, 89 bytes (0x59)
0000: ...U......-.^...L..[7F]o.2.T.........ic." ..5.Q.OI..1USE(<[7F]..VfJ3..
0040: .|....../................
03:00:59.548503 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:59.548862 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:59.548922 <= 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:59.646649 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:59.646856 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:59.646912 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A........<..c....9.F].`..?...?....hcZ1x.........j.....wX.
0040: ....].wQ).....;y.*.)6.......F..d......j..-.....rN..'A..BT..j.`..
0080: ....ZRg.y...m...z.*.....G..B....3.Pv..P?`.&...F...O.)h...em.B@.k
00c0: _...+.{.H-v.....Q....~.Joj.mi.....+.--(..q...B..D..8IJ......P...
0100: @O.... Z.."....M0F...H....JxB....U....|......0..r..}..R..F..wp..
0140: q#..:w-.W....
03:00:59.715786 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:59.715990 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:59.716046 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:59.830508 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:59.830695 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:59.830751 => Send SSL data, 70 bytes (0x46)
0000: ...BA......mI.e...s...',.;<.c.....S^.t........]7....../..W.X.2%.
0040: ..n2..
03:00:59.842626 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:59.843203 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:59.843261 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:59.864538 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:59.864599 => Send SSL data, 16 bytes (0x10)
0000: .........}.S....
03:00:59.877022 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:59.879545 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:59.880643 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:59.880701 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:59.883132 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:59.888793 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:59.888851 <= Recv SSL data, 16 bytes (0x10)
0000: ..........).tl..
03:00:59.917146 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:59.919353 == Info: Server certificate:
03:00:59.926910 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:59.933037 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:59.933981 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:59.934906 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:59.935770 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:59.937277 == Info: FTP 0x5780790 (line 3092) state change from STOP to WAIT220
03:00:59.943252 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:59.950931 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:00:59.954614 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:00:59.954806 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:00:59.954989 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:00:59.955169 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:00:59.962898 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:59.965826 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:00:59.966600 == Info: FTP 0x5780790 (line 792) state change from WAIT220 to USER
03:00:59.967356 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56ca408; line 1682 (connection #0)
03:00:59.973460 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:59.974116 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:00:59.975366 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:59.975484 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:00:59.975855 == Info: FTP 0x5780790 (line 2520) state change from USER to PASS
03:00:59.976870 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:59.977012 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:00:59.977691 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:59.977808 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:00:59.978131 == Info: FTP 0x5780790 (line 2496) state change from PASS to PBSZ
03:00:59.978421 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:59.978558 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:00:59.979085 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:59.979199 => Send header, 8 bytes (0x8)
0000: PROT C
03:00:59.979520 == Info: FTP 0x5780790 (line 2709) state change from PBSZ to PROT
03:00:59.979762 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:59.979898 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:00:59.980557 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:59.980672 => Send header, 5 bytes (0x5)
0000: PWD
03:00:59.980989 == Info: FTP 0x5780790 (line 804) state change from PROT to PWD
03:00:59.981311 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:59.981449 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:00:59.982564 == Info: Entry path is '/'
03:00:59.982784 == Info: FTP 0x5780790 (line 2844) state change from PWD to STOP
03:00:59.982950 == Info: protocol connect phase DONE
03:00:59.983191 == Info: STATE: PROTOCONNECT => DO handle 0x56ca408; line 1701 (connection #0)
03:00:59.986466 == Info: DO phase starts
03:00:59.987605 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:59.987724 => Send header, 9 bytes (0x9)
0000: CWD CWD
03:00:59.988044 == Info: FTP 0x5780790 (line 895) state change from STOP to CWD
03:00:59.988460 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:00:59.988603 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:00:59.989222 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:00:59.989337 => Send header, 10 bytes (0xa)
0000: CWD STOR
03:00:59.989659 == Info: ftp_perform ends with SECONDARY: 0
03:00:59.990374 == Info: STATE: DO => DOING handle 0x56ca408; line 1743 (connection #0)
03:00:59.991273 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:00:59.991417 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:00:59.991796 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:00:59.991909 => Send header, 10 bytes (0xa)
0000: CWD RETR
03:00:59.992499 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:00:59.992639 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:00:59.997526 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:00:59.997644 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|44453|
03:00:59.998212 == Info: FTP 0x5780790 (line 1293) state change from CWD to PORT
03:00:59.998747 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:00:59.999096 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:00:59.999618 == Info: Connect data stream actively
03:00:59.999860 == Info: FTP 0x5780790 (line 2011) state change from PORT to STOP
03:01:00.000591 == Info: DO phase is complete2
03:01:00.000861 == Info: STATE: DOING => DO_MORE handle 0x56ca408; line 1825 (connection #0)
03:01:00.003184 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:00.003333 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:00.003700 == Info: FTP 0x5780790 (line 3418) state change from STOP to STOR_TYPE
03:01:00.004102 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:00.004252 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:00.005550 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:00.005667 => Send header, 10 bytes (0xa)
0000: STOR 408
03:01:00.006002 == Info: FTP 0x5780790 (line 1651) state change from STOR_TYPE to STOR
03:01:00.007441 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:00.007588 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:00.008107 == Info: FTP 0x5780790 (line 2330) state change from STOR to STOP
03:01:00.008291 == Info: Preparing for accepting server on data port
03:01:00.009355 == Info: Checking for server connect
03:01:00.010203 == Info: Ready to accept data connection from server
03:01:00.011992 == Info: Connection accepted from server
03:01:00.014568 == Info: STATE: DO_MORE => DO_DONE handle 0x56ca408; line 1850 (connection #0)
03:01:00.015004 == Info: STATE: DO_DONE => PERFORM handle 0x56ca408; line 1877 (connection #0)
03:01:00.019166 => Send data, 27 bytes (0x1b)
0000: Moooooooooooo. upload this.
03:01:00.019762 == Info: We are completely uploaded and fine
03:01:00.022171 == Info: STATE: PERFORM => DONE handle 0x56ca408; line 2067 (connection #0)
03:01:00.022498 == Info: multi_done
03:01:00.025311 == Info: Remembering we are in dir "CWD/STOR/RETR/"
03:01:00.028250 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:00.028451 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:00.034650 == 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
==20270== Invalid read of size 8
==20270== at 0x53325A5: check_free (dlerror.c:188)
==20270== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20270== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20270== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20270== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20270== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20270== by 0x4C49EB9: exit (exit.c:139)
==20270== by 0x4C340A1: (below main) (libc-start.c:342)
==20270== Address 0x5b346f0 is 0 bytes after a block of size 32 alloc'd
==20270== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20270== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20270== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20270== by 0x24AE36: err_get_state (err.c:210)
==20270== by 0x24BA0C: ERR_put_error (err.c:636)
==20270== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20270== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20270== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20270== by 0x270058: by_file_ctrl (by_file.c:111)
==20270== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20270== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20270== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20270== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20270== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20270== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20270== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20270==
==20270== Invalid free() / delete / delete[] / realloc()
==20270== at 0x48369AB: free (vg_replace_malloc.c:540)
==20270== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20270== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20270== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20270== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20270== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20270== by 0x4C49EB9: exit (exit.c:139)
==20270== by 0x4C340A1: (below main) (libc-start.c:342)
==20270== Address 0x5b346d8 is 8 bytes inside a block of size 32 alloc'd
==20270== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20270== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20270== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20270== by 0x24AE36: err_get_state (err.c:210)
==20270== by 0x24BA0C: ERR_put_error (err.c:636)
==20270== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20270== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20270== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20270== by 0x270058: by_file_ctrl (by_file.c:111)
==20270== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20270== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20270== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20270== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20270== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20270== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20270== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20270==
==20270== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20270== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20270== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20270== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20270== by 0x24AE36: err_get_state (err.c:210)
==20270== by 0x24BA0C: ERR_put_error (err.c:636)
==20270== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20270== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20270== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20270== by 0x270058: by_file_ctrl (by_file.c:111)
==20270== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20270== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20270== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20270== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20270== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20270== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20270== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20270==
=== End of file valgrind408
test 0409...[FTPS PASV upload file]
goto problem 22
valgrind ERROR ==20278== Invalid read of size 8
==20278== at 0x53325A5: check_free (dlerror.c:188)
==20278== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20278== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20278== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20278== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20278== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20278== by 0x4C49EB9: exit (exit.c:139)
==20278== by 0x4C340A1: (below main) (libc-start.c:342)
==20278== Address 0x5b33d00 is 0 bytes after a block of size 32 alloc'd
==20278== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20278== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20278== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20278== by 0x24AE36: err_get_state (err.c:210)
==20278== by 0x24BA0C: ERR_put_error (err.c:636)
==20278== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20278== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20278== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20278== by 0x270058: by_file_ctrl (by_file.c:111)
==20278== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20278== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20278== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20278== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20278== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20278== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20278== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20278==
==20278== Invalid free() / delete / delete[] / realloc()
==20278== at 0x48369AB: free (vg_replace_malloc.c:540)
==20278== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20278== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20278== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20278== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20278== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20278== by 0x4C49EB9: exit (exit.c:139)
==20278== by 0x4C340A1: (below main) (libc-start.c:342)
==20278== Address 0x5b33ce8 is 8 bytes inside a block of size 32 alloc'd
==20278== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20278== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20278== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20278== by 0x24AE36: err_get_state (err.c:210)
==20278== by 0x24BA0C: ERR_put_error (err.c:636)
==20278== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20278== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20278== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20278== by 0x270058: by_file_ctrl (by_file.c:111)
==20278== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20278== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20278== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20278== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20278== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20278== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20278== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20278==
==20278== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20278== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20278== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20278== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20278== by 0x24AE36: err_get_state (err.c:210)
==20278== by 0x24BA0C: ERR_put_error (err.c:636)
==20278== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20278== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20278== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20278== by 0x270058: by_file_ctrl (by_file.c:111)
==20278== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20278== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20278== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20278== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20278== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20278== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20278== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20278==
== Contents of files in the log/ dir after test 409
=== Start of file ftp_server.log
03:01:03.387065 ====> Client connect
03:01:03.387177 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:03.477381 < "USER anonymous"
03:01:03.477427 > "331 We are happy you popped in![CR][LF]"
03:01:03.488736 < "PASS ftp@example.com"
03:01:03.488767 > "230 Welcome you silly person[CR][LF]"
03:01:03.491141 < "PBSZ 0"
03:01:03.491172 > "500 PBSZ not implemented[CR][LF]"
03:01:03.492583 < "PROT C"
03:01:03.492613 > "500 PROT not implemented[CR][LF]"
03:01:03.494276 < "PWD"
03:01:03.494312 > "257 "/" is current directory[CR][LF]"
03:01:03.501861 < "EPSV"
03:01:03.501891 ====> Passive DATA channel requested by client
03:01:03.501905 DATA sockfilt for passive data channel starting...
03:01:03.503431 DATA sockfilt for passive data channel started (pid 20280)
03:01:03.503558 DATA sockfilt for passive data channel listens on port 43911
03:01:03.503596 > "229 Entering Passive Mode (|||43911|)[LF]"
03:01:03.503611 Client has been notified that DATA conn will be accepted on port 43911
03:01:03.511349 Client connects to port 43911
03:01:03.511387 ====> Client established passive DATA connection on port 43911
03:01:03.516414 < "TYPE I"
03:01:03.516446 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:03.518721 < "STOR 409"
03:01:03.518747 STOR test number 409 in log/upload.409
03:01:03.518769 > "125 Gimme gimme gimme![CR][LF]"
03:01:03.527774 > Appending 51 bytes to file
03:01:03.536542 =====> Closing passive DATA connection...
03:01:03.536563 Server knows passive DATA connection is already disconnected
03:01:03.536610 DATA sockfilt for passive data channel quits (pid 20281)
03:01:03.536625 =====> Closed passive DATA connection
03:01:03.536640 received 51 bytes upload
03:01:03.536660 > "226 File transfer complete[CR][LF]"
03:01:03.567062 < "QUIT"
03:01:03.567100 > "221 bye bye baby[CR][LF]"
03:01:03.571655 MAIN sockfilt said DISC
03:01:03.571690 ====> Client disconnected
03:01:03.571749 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:03.247663 ====> Client connect
03:01:03.247882 Received DATA (on stdin)
03:01:03.247901 > 160 bytes data, server => client
03:01:03.247920 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:03.247939 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:03.247955 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:03.337942 < 16 bytes data, client => server
03:01:03.337976 'USER anonymous\r\n'
03:01:03.338157 Received DATA (on stdin)
03:01:03.338180 > 33 bytes data, server => client
03:01:03.338195 '331 We are happy you popped in!\r\n'
03:01:03.349372 < 22 bytes data, client => server
03:01:03.349396 'PASS ftp@example.com\r\n'
03:01:03.349499 Received DATA (on stdin)
03:01:03.349522 > 30 bytes data, server => client
03:01:03.349537 '230 Welcome you silly person\r\n'
03:01:03.351779 < 8 bytes data, client => server
03:01:03.351801 'PBSZ 0\r\n'
03:01:03.351904 Received DATA (on stdin)
03:01:03.351927 > 26 bytes data, server => client
03:01:03.351942 '500 PBSZ not implemented\r\n'
03:01:03.353220 < 8 bytes data, client => server
03:01:03.353243 'PROT C\r\n'
03:01:03.353345 Received DATA (on stdin)
03:01:03.353368 > 26 bytes data, server => client
03:01:03.353383 '500 PROT not implemented\r\n'
03:01:03.354914 < 5 bytes data, client => server
03:01:03.354936 'PWD\r\n'
03:01:03.355044 Received DATA (on stdin)
03:01:03.355067 > 30 bytes data, server => client
03:01:03.355083 '257 "/" is current directory\r\n'
03:01:03.362499 < 6 bytes data, client => server
03:01:03.362522 'EPSV\r\n'
03:01:03.364305 Received DATA (on stdin)
03:01:03.364320 > 38 bytes data, server => client
03:01:03.364332 '229 Entering Passive Mode (|||43911|)\n'
03:01:03.377038 < 8 bytes data, client => server
03:01:03.377061 'TYPE I\r\n'
03:01:03.377178 Received DATA (on stdin)
03:01:03.377200 > 33 bytes data, server => client
03:01:03.377216 '200 I modify TYPE as you wanted\r\n'
03:01:03.379359 < 10 bytes data, client => server
03:01:03.379382 'STOR 409\r\n'
03:01:03.379501 Received DATA (on stdin)
03:01:03.379523 > 24 bytes data, server => client
03:01:03.379538 '125 Gimme gimme gimme!\r\n'
03:01:03.397373 Received DATA (on stdin)
03:01:03.397393 > 28 bytes data, server => client
03:01:03.397409 '226 File transfer complete\r\n'
03:01:03.427677 < 6 bytes data, client => server
03:01:03.427704 'QUIT\r\n'
03:01:03.427831 Received DATA (on stdin)
03:01:03.427854 > 18 bytes data, server => client
03:01:03.427869 '221 bye bye baby\r\n'
03:01:03.432334 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:03.363975 Running IPv4 version
03:01:03.364052 Listening on port 43911
03:01:03.364079 Wrote pid 20281 to ./.ftp_sockdata.pid
03:01:03.364094 Received PING (on stdin)
03:01:03.364197 Received PORT (on stdin)
03:01:03.372009 ====> Client connect
03:01:03.388436 < 51 bytes data, client => server
03:01:03.388462 'data\n to\n see\nthat FTP\nworks\n so does it?\n'
03:01:03.397146 ====> Client disconnect
03:01:03.397313 Received QUIT (on stdin)
03:01:03.397335 quits
03:01:03.397355 ============> 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:01.138830 == Info: STATE: INIT => CONNECT handle 0x56c9f38; line 1491 (connection #-5000)
03:01:01.192313 == Info: Added connection 0. The cache now contains 1 members
03:01:01.209456 == Info: Trying 127.0.0.1:8993...
03:01:01.210065 == Info: TCP_NODELAY set
03:01:01.215267 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c9f38; line 1547 (connection #0)
03:01:01.227235 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:01.227817 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c9f38; line 1665 (connection #0)
03:01:01.228976 == Info: Marked for [keep alive]: FTP default
03:01:02.714585 == Info: successfully set certificate verify locations:
03:01:02.714851 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:02.831591 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:02.836945 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:02.837008 => Send SSL data, 126 bytes (0x7e)
0000: ...z....?IH.[7F]........0J.VH'.....!:.R5L....+./.,.0...............
0040: ../.5.....3...................................................
03:01:02.854506 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:02.860241 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:02.860303 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...Vq.....&!.g......o..Q.......... z...{....Q...d....._...2.
0040: )%....../................
03:01:02.905460 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:02.905835 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:02.905890 <= 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:03.007458 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:03.007693 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:03.007749 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A........<..c....9.F].`..?...?....hcZ1x.........j.....wX.
0040: ....].wQ)....(.m.....d..Ui.Lt..[u.g.c.O_...v..[.\n.aU.#@..dtVB..
0080: ^....M...$...0(...v.e._]......x.".....M..o..."......Q=...<1.....
00c0: .GF.%..q...N..C..Q<U......d.X....l....>1..(<. t..5....c.M..>.U.B
0100: .t5n..|..{......z.....a@.`...U.P.+ .I...ly)...TS......Xp....[7F]{=s
0140: sj...>.......
03:01:03.079420 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:03.079625 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:03.079680 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:03.198332 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:03.198528 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:03.198583 => Send SSL data, 70 bytes (0x46)
0000: ...BA.....u1.3.P..Z..C.I..?..?...R./.......(a...p.......{......C
0040: ......
03:01:03.211071 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:03.211671 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:03.211728 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:03.233846 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:03.233903 => Send SSL data, 16 bytes (0x10)
0000: .....6ob...1.D..
03:01:03.246792 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:03.249389 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:03.250516 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:03.250578 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:03.253123 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:03.259149 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:03.259207 <= Recv SSL data, 16 bytes (0x10)
0000: ....].L]^y......
03:01:03.288628 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:03.290911 == Info: Server certificate:
03:01:03.298769 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:03.305295 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:03.306273 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:03.307234 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:03.308132 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:03.309681 == Info: FTP 0x577fe00 (line 3092) state change from STOP to WAIT220
03:01:03.315889 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:03.323809 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:03.327632 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:03.327829 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:03.328019 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:03.328212 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:03.336209 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:03.339248 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:03.340072 == Info: FTP 0x577fe00 (line 792) state change from WAIT220 to USER
03:01:03.340864 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c9f38; line 1682 (connection #0)
03:01:03.347203 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:03.347880 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:03.349180 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:03.349304 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:03.349693 == Info: FTP 0x577fe00 (line 2520) state change from USER to PASS
03:01:03.350746 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:03.350892 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:03.351597 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:03.351712 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:03.352048 == Info: FTP 0x577fe00 (line 2496) state change from PASS to PBSZ
03:01:03.352344 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:03.352491 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:03.353038 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:03.353153 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:03.353584 == Info: FTP 0x577fe00 (line 2709) state change from PBSZ to PROT
03:01:03.353910 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:03.354052 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:03.354731 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:03.354848 => Send header, 5 bytes (0x5)
0000: PWD
03:01:03.355171 == Info: FTP 0x577fe00 (line 804) state change from PROT to PWD
03:01:03.355507 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:03.355648 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:03.356818 == Info: Entry path is '/'
03:01:03.357047 == Info: FTP 0x577fe00 (line 2844) state change from PWD to STOP
03:01:03.357218 == Info: protocol connect phase DONE
03:01:03.357472 == Info: STATE: PROTOCONNECT => DO handle 0x56c9f38; line 1701 (connection #0)
03:01:03.360187 == Info: DO phase starts
03:01:03.362311 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:03.362432 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:03.362774 == Info: FTP 0x577fe00 (line 1330) state change from STOP to PASV
03:01:03.362952 == Info: Connect data stream passively
03:01:03.363756 == Info: ftp_perform ends with SECONDARY: 0
03:01:03.364499 == Info: STATE: DO => DOING handle 0x56c9f38; line 1743 (connection #0)
03:01:03.365432 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:03.365586 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||43911|).
03:01:03.371826 == Info: Trying 127.0.0.1:43911...
03:01:03.371887 == Info: TCP_NODELAY set
03:01:03.372603 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 43911
03:01:03.373742 == Info: FTP 0x577fe00 (line 1977) state change from PASV to STOP
03:01:03.374394 == Info: DO phase is complete2
03:01:03.374835 == Info: STATE: DOING => DO_MORE handle 0x56c9f38; line 1825 (connection #0)
03:01:03.375579 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:03.375803 == Info: DO-MORE connected phase starts
03:01:03.376851 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:03.376970 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:03.377326 == Info: FTP 0x577fe00 (line 3418) state change from STOP to STOR_TYPE
03:01:03.377717 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:03.377864 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:03.379172 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:03.379293 => Send header, 10 bytes (0xa)
0000: STOR 409
03:01:03.379633 == Info: FTP 0x577fe00 (line 1651) state change from STOR_TYPE to STOR
03:01:03.381429 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:03.381573 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:03.383443 == Info: FTP 0x577fe00 (line 477) state change from STOR to STOP
03:01:03.384177 == Info: STATE: DO_MORE => DO_DONE handle 0x56c9f38; line 1850 (connection #0)
03:01:03.384636 == Info: STATE: DO_DONE => PERFORM handle 0x56c9f38; line 1877 (connection #0)
03:01:03.388959 => Send data, 51 bytes (0x33)
0000: data. to. see.that FTP.works. so does it?.
03:01:03.389657 == Info: We are completely uploaded and fine
03:01:03.392154 == Info: STATE: PERFORM => DONE handle 0x56c9f38; line 2067 (connection #0)
03:01:03.392495 == Info: multi_done
03:01:03.395421 == Info: Remembering we are in dir ""
03:01:03.398925 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:03.399073 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:03.405517 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:03.407430 == Info: Expire cleared (transfer 0x56c9f38)
=== 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
==20278== Invalid read of size 8
==20278== at 0x53325A5: check_free (dlerror.c:188)
==20278== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20278== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20278== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20278== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20278== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20278== by 0x4C49EB9: exit (exit.c:139)
==20278== by 0x4C340A1: (below main) (libc-start.c:342)
==20278== Address 0x5b33d00 is 0 bytes after a block of size 32 alloc'd
==20278== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20278== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20278== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20278== by 0x24AE36: err_get_state (err.c:210)
==20278== by 0x24BA0C: ERR_put_error (err.c:636)
==20278== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20278== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20278== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20278== by 0x270058: by_file_ctrl (by_file.c:111)
==20278== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20278== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20278== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20278== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20278== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20278== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20278== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20278==
==20278== Invalid free() / delete / delete[] / realloc()
==20278== at 0x48369AB: free (vg_replace_malloc.c:540)
==20278== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20278== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20278== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20278== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20278== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20278== by 0x4C49EB9: exit (exit.c:139)
==20278== by 0x4C340A1: (below main) (libc-start.c:342)
==20278== Address 0x5b33ce8 is 8 bytes inside a block of size 32 alloc'd
==20278== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20278== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20278== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20278== by 0x24AE36: err_get_state (err.c:210)
==20278== by 0x24BA0C: ERR_put_error (err.c:636)
==20278== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20278== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20278== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20278== by 0x270058: by_file_ctrl (by_file.c:111)
==20278== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20278== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20278== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20278== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20278== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20278== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20278== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20278==
==20278== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20278== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20278== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==20278== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==20278== by 0x24AE36: err_get_state (err.c:210)
==20278== by 0x24BA0C: ERR_put_error (err.c:636)
==20278== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==20278== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==20278== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==20278== by 0x270058: by_file_ctrl (by_file.c:111)
==20278== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==20278== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==20278== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20278== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==20278== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==20278== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==20278== by 0x182153: Curl_ssl_connect (vtls.c:251)
==20278==
=== End of file valgrind409
test 0500...[simple libcurl HTTP GET tool]
--pd--oemv- OK (357 out of 1251, remaining: 24:48, took 1.1s, duration: 09:54)
test 0501...[simple libcurl attempt operation without URL set]
-------emv- OK (358 out of 1251, remaining: 24:45, took 0.9s, duration: 09:55)
test 0502...[simple multi file:// get]
---d---emv- OK (359 out of 1251, remaining: 24:41, took 1.0s, duration: 09:56)
test 0503...[simple multi http:// through proxytunnel with authentication info]
--pd-P-emv- OK (360 out of 1251, remaining: 24:40, took 1.6s, duration: 09:58)
test 0504...[simple multi through local proxy without listener]
-------emv- OK (361 out of 1251, remaining: 24:36, took 1.0s, duration: 09:59)
test 0505...[FTP upload with rename after transfer]
--p-u--emv- OK (362 out of 1251, remaining: 24:33, took 1.1s, duration: 10:00)
test 0506...[HTTP with shared cookie list (and dns cache)]
s-----oemv- OK (363 out of 1251, remaining: 24:30, took 1.2s, duration: 10:01)
test 0507...[multi interface get with non-existing host name]
-------emv- OK (364 out of 1251, remaining: 24:27, took 1.0s, duration: 10:02)
test 0508...[send HTTP POST using read callback]
--pd---emv- OK (365 out of 1251, remaining: 24:24, took 1.1s, duration: 10:03)
test 0509...[initialization with memory callbacks and actual usage]
s------emv- OK (366 out of 1251, remaining: 24:21, took 0.9s, duration: 10:04)
test 0510...[send HTTP POST using read callback, using chunked transfer-encoding]
--pd---emv- OK (367 out of 1251, remaining: 24:20, took 2.1s, duration: 10:06)
test 0511...[FTP with FILETIME and NOBODY but missing file]
--p----emv- OK (368 out of 1251, remaining: 24:17, took 1.0s, duration: 10:07)
test 0512...[simple curl_easy_duplicate() test]
--pd---emv- OK (369 out of 1251, remaining: 24:14, took 1.1s, duration: 10:08)
test 0513...[send HTTP POST using read callback that returns CURL_READFUNC_ABORT]
--p----emv- OK (370 out of 1251, remaining: 24:13, took 2.0s, duration: 10:10)
test 0514...[First set options to POST and then to make HEAD]
--pd---emv- OK (371 out of 1251, remaining: 24:12, took 2.0s, duration: 10:12)
test 0515...[make a POSTFIELDS set to NULL with POSTFIELDSIZE set to zero]
--pd---emv- OK (372 out of 1251, remaining: 24:09, took 1.0s, duration: 10:13)
test 0516...[make a HTTPPOST set to NULL]
--pd---emv- OK (373 out of 1251, remaining: 24:06, took 1.0s, duration: 10:14)
test 0517...[curl_getdate() testing]
-------emv- OK (374 out of 1251, remaining: 24:02, took 0.8s, duration: 10:15)
test 0518...[HTTP GET with more than FD_SETSIZE descriptors open]
valgrind SKIPPED
--pd---em-- OK (375 out of 1251, remaining: 23:57, took 0.0s, duration: 10:15)
test 0519...[GET same URL twice with different users]
--pd---emv- OK (376 out of 1251, remaining: 23:54, took 1.1s, duration: 10:16)
test 0520...[FTP RETR with FILETIME]
--pd---emv- OK (377 out of 1251, remaining: 23:51, took 1.1s, duration: 10:17)
test 0521...[FTP dir list PASV with CURLOPT_PORT]
--pd---emv- OK (378 out of 1251, remaining: 23:48, took 1.1s, duration: 10:18)
test 0522...[HTTP GET with CURLOPT_PORT]
s-p----emv- OK (379 out of 1251, remaining: 23:45, took 1.0s, duration: 10:19)
test 0523...[HTTP GET with proxy and CURLOPT_PORT]
s-p----emv- OK (380 out of 1251, remaining: 23:42, took 1.0s, duration: 10:20)
test 0524...[FTP upload with target URL ending with slash]
--p----emv- OK (381 out of 1251, remaining: 23:39, took 1.0s, duration: 10:21)
test 0525...[FTP PORT upload using multi interface]
--p-u--emv- OK (382 out of 1251, remaining: 23:36, took 1.0s, duration: 10:22)
test 0526...[FTP RETR same file using different handles but same connection]
--pd---emv- OK (383 out of 1251, remaining: 23:40, took 4.2s, duration: 10:26)
test 0527...[FTP RETR same file using different handles but same connection]
--pd---emv- OK (384 out of 1251, remaining: 23:44, took 4.2s, duration: 10:30)
test 0528...[HTTP GET same file using different handles but same connection]
--pd---emv- OK (385 out of 1251, remaining: 23:48, took 4.1s, duration: 10:35)
test 0529...[FTP PORT upload using multi interface (weird cleanup function sequence)]
--p-u--emv- OK (386 out of 1251, remaining: 23:45, took 1.0s, duration: 10:36)
test 0531...[FTP PORT upload using multi interface and get 425 response]
Killed
--p----emv- OK (387 out of 1251, remaining: 23:42, took 1.0s, duration: 10:37)
test 0532...[FTP RETR same file using reset handles between each transfer]
--pd---emv- OK (388 out of 1251, remaining: 23:46, took 4.2s, duration: 10:41)
test 0533...[FTP RETR a non-existing file twice using the multi interface]
Killed
Killed
--p----emv- OK (389 out of 1251, remaining: 23:45, took 2.1s, duration: 10:43)
test 0534...[FTP RETR twice using multi: non-existing host and non-existing file]
Killed
--p----emv- OK (390 out of 1251, remaining: 23:45, took 2.1s, duration: 10:45)
test 0535...[HTTP GET multi two files with FAILONERROR]
--pd---emv- OK (391 out of 1251, remaining: 23:44, took 2.1s, duration: 10:47)
test 0537...[HTTP GET with a HUGE number of file descriptors open]
--pd---emv- OK (392 out of 1251, remaining: 23:42, took 1.5s, duration: 10:49)
test 0538...[FTP multi-interface download, failed login: PASS not valid]
--p----emv- OK (393 out of 1251, remaining: 23:39, took 1.0s, duration: 10:50)
test 0539...[Two FTP fetches using different CURLOPT_FTP_FILEMETHOD]
--pd---emv- OK (394 out of 1251, remaining: 23:36, took 1.1s, duration: 10:51)
test 0540...[HTTP proxy auth Digest multi API re-using connection]
--pd---emv- OK (395 out of 1251, remaining: 23:33, took 1.1s, duration: 10:52)
test 0541...[FTP upload and upload same file again without rewind]
--p----emv- OK (396 out of 1251, remaining: 23:30, took 1.1s, duration: 10:53)
test 0542...[FTP a file with NOBODY yes and HEADER no]
--pd---emv- OK (397 out of 1251, remaining: 23:27, took 1.0s, duration: 10:54)
test 0543...[curl_easy_escape]
s------emv- OK (398 out of 1251, remaining: 23:24, took 0.9s, duration: 10:55)
test 0544...[HTTP POST text data using CURLOPT_COPYPOSTFIELDS]
--pd---emv- OK (399 out of 1251, remaining: 23:21, took 1.0s, duration: 10:56)
test 0545...[HTTP POST binary with embedded zero and no trailing zero]
--pd---emv- OK (400 out of 1251, remaining: 23:18, took 1.0s, duration: 10:57)
test 0546...[FTP RETR a non-existing file then a found one using the multi interface]
Killed
s-p----emv- OK (401 out of 1251, remaining: 23:17, took 2.1s, duration: 10:59)
test 0547...[HTTP proxy auth NTLM with POST data from read callback]
--pd---emv- OK (402 out of 1251, remaining: 23:15, took 1.1s, duration: 11:00)
test 0548...[HTTP proxy auth NTLM with POST data from CURLOPT_POSTFIELDS]
--pd---emv- OK (403 out of 1251, remaining: 23:12, took 1.1s, duration: 11:01)
test 0549...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE]
s-p----emv- OK (404 out of 1251, remaining: 23:09, took 1.1s, duration: 11:02)
test 0550...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE and ASCII transfer]
s-p----emv- OK (405 out of 1251, remaining: 23:06, took 1.0s, duration: 11:03)
test 0551...[HTTP proxy auth Digest with POST data from read callback]
--pd---emv- OK (406 out of 1251, remaining: 23:03, took 1.1s, duration: 11:04)
test 0552...[HTTP proxy auth Digest with 70K POST data from read callback]
--pd---emv- OK (407 out of 1251, remaining: 23:08, took 4.5s, duration: 11:09)
test 0553...[HTTP post with huge request headers and post data from callback]
--pd---emv- OK (408 out of 1251, remaining: 23:05, took 1.1s, duration: 11:10)
test 0554...[HTTP multi-part formpost using read callback for the file part]
--pd---emv- OK (409 out of 1251, remaining: 23:02, took 1.2s, duration: 11:11)
test 0555...[HTTP proxy auth NTLM with POST data from read callback multi-if]
--pd---emv- OK (410 out of 1251, remaining: 22:59, took 1.1s, duration: 11:12)
test 0556...[send and recv HTTP]
--pd---emv- OK (411 out of 1251, remaining: 22:57, took 1.0s, duration: 11:13)
test 0557...[curl_mprintf() testing]
s------emv- OK (412 out of 1251, remaining: 22:53, took 0.9s, duration: 11:14)
test 0558...[libtest memory tracking operational]
------oemv- OK (413 out of 1251, remaining: 22:50, took 0.8s, duration: 11:15)
test 0559...[use tiny CURLOPT_BUFFERSIZE]
---d---emv- OK (414 out of 1251, remaining: 22:47, took 1.0s, duration: 11:16)
test 0560...[simple HTTPS GET with multi interface]
goto problem 23
valgrind ERROR ==20533== Invalid read of size 8
==20533== at 0x53325A5: check_free (dlerror.c:188)
==20533== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20533== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20533== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20533== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20533== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20533== by 0x4C49EB9: exit (exit.c:139)
==20533== by 0x4C340A1: (below main) (libc-start.c:342)
==20533== Address 0x5a9a540 is 0 bytes after a block of size 32 alloc'd
==20533== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20533== by 0x23655A: OPENSSL_malloc (mem.c:106)
==20533== by 0x249206: CRYPTO_set_thread_local (thread_pthread.c:182)
==20533== by 0x2253DC: err_get_state (err.c:210)
==20533== by 0x225FB2: ERR_put_error (err.c:636)
==20533== by 0x23AC52: PEM_read_bio (pem_lib.c:622)
==20533== by 0x3084E7: PEM_X509_INFO_read_bio (pem_info.c:166)
==20533== by 0x24AB1C: X509_load_cert_crl_file (by_file.c:255)
==20533== by 0x24A5FE: by_file_ctrl (by_file.c:111)
==20533== by 0x24E1B8: X509_LOOKUP_ctrl (x509_lu.c:123)
==20533== by 0x24D699: X509_STORE_load_locations (x509_d2.c:91)
==20533== by 0x1D161D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20533== by 0x1A1BA4: ossl_connect_step1 (openssl.c:2615)
==20533== by 0x1A4827: ossl_connect_common (openssl.c:3571)
==20533== by 0x1A4AA3: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20533== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==20533==
==20533== Invalid free() / delete / delete[] / realloc()
==20533== at 0x48369AB: free (vg_replace_malloc.c:540)
==20533== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20533== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20533== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20533== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20533== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20533== by 0x4C49EB9: exit (exit.c:139)
==20533== by 0x4C340A1: (below main) (libc-start.c:342)
==20533== Address 0x5a9a528 is 8 bytes inside a block of size 32 alloc'd
==20533== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20533== by 0x23655A: OPENSSL_malloc (mem.c:106)
==20533== by 0x249206: CRYPTO_set_thread_local (thread_pthread.c:182)
==20533== by 0x2253DC: err_get_state (err.c:210)
==20533== by 0x225FB2: ERR_put_error (err.c:636)
==20533== by 0x23AC52: PEM_read_bio (pem_lib.c:622)
==20533== by 0x3084E7: PEM_X509_INFO_read_bio (pem_info.c:166)
==20533== by 0x24AB1C: X509_load_cert_crl_file (by_file.c:255)
==20533== by 0x24A5FE: by_file_ctrl (by_file.c:111)
==20533== by 0x24E1B8: X509_LOOKUP_ctrl (x509_lu.c:123)
==20533== by 0x24D699: X509_STORE_load_locations (x509_d2.c:91)
==20533== by 0x1D161D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20533== by 0x1A1BA4: ossl_connect_step1 (openssl.c:2615)
==20533== by 0x1A4827: ossl_connect_common (openssl.c:3571)
==20533== by 0x1A4AA3: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20533== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==20533==
==20533== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20533== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20533== by 0x23655A: OPENSSL_malloc (mem.c:106)
==20533== by 0x249206: CRYPTO_set_thread_local (thread_pthread.c:182)
==20533== by 0x2253DC: err_get_state (err.c:210)
==20533== by 0x225FB2: ERR_put_error (err.c:636)
==20533== by 0x23AC52: PEM_read_bio (pem_lib.c:622)
==20533== by 0x3084E7: PEM_X509_INFO_read_bio (pem_info.c:166)
==20533== by 0x24AB1C: X509_load_cert_crl_file (by_file.c:255)
==20533== by 0x24A5FE: by_file_ctrl (by_file.c:111)
==20533== by 0x24E1B8: X509_LOOKUP_ctrl (x509_lu.c:123)
==20533== by 0x24D699: X509_STORE_load_locations (x509_d2.c:91)
==20533== by 0x1D161D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20533== by 0x1A1BA4: ossl_connect_step1 (openssl.c:2615)
==20533== by 0x1A4827: ossl_connect_common (openssl.c:3571)
==20533== by 0x1A4AA3: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20533== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==20533==
== Contents of files in the log/ dir after test 560
=== Start of file http_server.log
03:02:29.416145 ====> Client connect
03:02:29.416184 accept_connection 3 returned 4
03:02:29.416200 accept_connection 3 returned 0
03:02:29.494548 Read 56 bytes
03:02:29.494573 Process 56 bytes request
03:02:29.494585 Got request: GET /560 HTTP/1.1
03:02:29.494594 Requested test number 560 part 0
03:02:29.494617 - request found to be complete
03:02:29.494640 Wrote request (56 bytes) input to log/server.input
03:02:29.494661 Send response test560 section <data>
03:02:29.494733 Response sent (108 bytes) and written to log/server.response
03:02:29.494744 => persistent connection request ended, awaits new request
03:02:29.544236 Connection closed by client
03:02:29.544272 ====> 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
==20533== Invalid read of size 8
==20533== at 0x53325A5: check_free (dlerror.c:188)
==20533== by 0x5332AB1: free_key_mem (dlerror.c:221)
==20533== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==20533== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20533== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20533== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20533== by 0x4C49EB9: exit (exit.c:139)
==20533== by 0x4C340A1: (below main) (libc-start.c:342)
==20533== Address 0x5a9a540 is 0 bytes after a block of size 32 alloc'd
==20533== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20533== by 0x23655A: OPENSSL_malloc (mem.c:106)
==20533== by 0x249206: CRYPTO_set_thread_local (thread_pthread.c:182)
==20533== by 0x2253DC: err_get_state (err.c:210)
==20533== by 0x225FB2: ERR_put_error (err.c:636)
==20533== by 0x23AC52: PEM_read_bio (pem_lib.c:622)
==20533== by 0x3084E7: PEM_X509_INFO_read_bio (pem_info.c:166)
==20533== by 0x24AB1C: X509_load_cert_crl_file (by_file.c:255)
==20533== by 0x24A5FE: by_file_ctrl (by_file.c:111)
==20533== by 0x24E1B8: X509_LOOKUP_ctrl (x509_lu.c:123)
==20533== by 0x24D699: X509_STORE_load_locations (x509_d2.c:91)
==20533== by 0x1D161D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20533== by 0x1A1BA4: ossl_connect_step1 (openssl.c:2615)
==20533== by 0x1A4827: ossl_connect_common (openssl.c:3571)
==20533== by 0x1A4AA3: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20533== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==20533==
==20533== Invalid free() / delete / delete[] / realloc()
==20533== at 0x48369AB: free (vg_replace_malloc.c:540)
==20533== by 0x5332AB9: free_key_mem (dlerror.c:223)
==20533== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==20533== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20533== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20533== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==20533== by 0x4C49EB9: exit (exit.c:139)
==20533== by 0x4C340A1: (below main) (libc-start.c:342)
==20533== Address 0x5a9a528 is 8 bytes inside a block of size 32 alloc'd
==20533== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20533== by 0x23655A: OPENSSL_malloc (mem.c:106)
==20533== by 0x249206: CRYPTO_set_thread_local (thread_pthread.c:182)
==20533== by 0x2253DC: err_get_state (err.c:210)
==20533== by 0x225FB2: ERR_put_error (err.c:636)
==20533== by 0x23AC52: PEM_read_bio (pem_lib.c:622)
==20533== by 0x3084E7: PEM_X509_INFO_read_bio (pem_info.c:166)
==20533== by 0x24AB1C: X509_load_cert_crl_file (by_file.c:255)
==20533== by 0x24A5FE: by_file_ctrl (by_file.c:111)
==20533== by 0x24E1B8: X509_LOOKUP_ctrl (x509_lu.c:123)
==20533== by 0x24D699: X509_STORE_load_locations (x509_d2.c:91)
==20533== by 0x1D161D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20533== by 0x1A1BA4: ossl_connect_step1 (openssl.c:2615)
==20533== by 0x1A4827: ossl_connect_common (openssl.c:3571)
==20533== by 0x1A4AA3: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20533== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==20533==
==20533== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20533== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20533== by 0x23655A: OPENSSL_malloc (mem.c:106)
==20533== by 0x249206: CRYPTO_set_thread_local (thread_pthread.c:182)
==20533== by 0x2253DC: err_get_state (err.c:210)
==20533== by 0x225FB2: ERR_put_error (err.c:636)
==20533== by 0x23AC52: PEM_read_bio (pem_lib.c:622)
==20533== by 0x3084E7: PEM_X509_INFO_read_bio (pem_info.c:166)
==20533== by 0x24AB1C: X509_load_cert_crl_file (by_file.c:255)
==20533== by 0x24A5FE: by_file_ctrl (by_file.c:111)
==20533== by 0x24E1B8: X509_LOOKUP_ctrl (x509_lu.c:123)
==20533== by 0x24D699: X509_STORE_load_locations (x509_d2.c:91)
==20533== by 0x1D161D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20533== by 0x1A1BA4: ossl_connect_step1 (openssl.c:2615)
==20533== by 0x1A4827: ossl_connect_common (openssl.c:3571)
==20533== by 0x1A4AA3: Curl_ossl_connect_nonblocking (openssl.c:3657)
==20533== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==20533==
=== End of file valgrind560
test 0561...[FTP RETR with CURLOPT_PROXY_TRANSFER_MODE, ASCII transfer and type=i]
s-p----emv- OK (416 out of 1251, remaining: 22:46, took 1.0s, duration: 11:20)
test 0562...[FTP a type=A URL and CURLOPT_PORT set]
--pd---emv- OK (417 out of 1251, remaining: 22:43, took 1.0s, duration: 11:21)
test 0563...[FTP type=A URL and CURLOPT_PORT set and proxy]
--p----emv- OK (418 out of 1251, remaining: 22:40, took 1.0s, duration: 11:22)
test 0564...[FTP RETR a file over a SOCKS proxy using the multi interface]
s-pd---emv- OK (419 out of 1251, remaining: 22:39, took 2.1s, duration: 11:24)
test 0565...[send HTTP POST using read callback, chunked transfer-encoding and Digest]
--pd---emv- OK (420 out of 1251, remaining: 22:39, took 2.1s, duration: 11:26)
test 0566...[HTTP GET with CURLINFO_CONTENT_LENGTH_DOWNLOAD and 0 bytes transfer]
--pd--oemv- OK (421 out of 1251, remaining: 22:36, took 1.0s, duration: 11:27)
test 0567...[simple RTSP OPTIONS command]
--pd---emv- OK (422 out of 1251, remaining: 22:37, took 3.0s, duration: 11:30)
test 0568...[RTSP Announce (PUT and POST style) test]
--p----emv- OK (423 out of 1251, remaining: 22:34, took 1.1s, duration: 11:32)
test 0569...[RTSP Session ID parsing]
--p---oemv- OK (424 out of 1251, remaining: 22:31, took 1.1s, duration: 11:33)
test 0570...[RTSP CSeq and Session Mismatch checks]
--p----emv- OK (425 out of 1251, remaining: 22:29, took 1.0s, duration: 11:34)
test 0571...[RTSP RTP Interleaving Test]
s-----oemv- OK (426 out of 1251, remaining: 22:26, took 1.1s, duration: 11:35)
test 0572...[RTSP GET_PARAMETER (Put/Heartbeat/Post)]
--p----emv- OK (427 out of 1251, remaining: 22:23, took 1.1s, duration: 11:36)
test 0573...[verify connect time with multi interface]
--pd---emv- OK (428 out of 1251, remaining: 22:20, took 1.1s, duration: 11:37)
test 0574...[FTP wildcard download - changed fnmatch, 2x perform (Unix LIST response)]
s-p----emv- OK (429 out of 1251, remaining: 22:19, took 1.5s, duration: 11:38)
test 0575...[FTP wildcard download - dup_handle and multi interface]
s-p----emv- OK (430 out of 1251, remaining: 22:17, took 1.7s, duration: 11:40)
test 0576...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (Unix)]
s------emv- OK (431 out of 1251, remaining: 22:15, took 1.2s, duration: 11:41)
test 0577...[Funny RTSP version in response]
--p----emv- OK (432 out of 1251, remaining: 22:12, took 1.0s, duration: 11:42)
test 0578...[HTTP POST lower than MAX_INITIAL_POST_SIZE with progress callback]
---d--oemv- OK (433 out of 1251, remaining: 22:09, took 1.0s, duration: 11:43)
test 0579...[small chunked HTTP POSTs with digest auth. and progress callback]
---d--oemv- OK (434 out of 1251, remaining: 22:08, took 2.1s, duration: 11:45)
test 0580...[multi interface, multiple Location: headers]
--pd---emv- OK (435 out of 1251, remaining: 22:06, took 1.0s, duration: 11:46)
test 0581...[multi interface, multiple Content-Type: headers]
--pd---emv- OK (436 out of 1251, remaining: 22:03, took 1.0s, duration: 11:48)
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 (439 out of 1251, remaining: 21:51, took 1.1s, duration: 11:49)
test 0586...[FTP and open/close socket callbacks]
--pd---emv- OK (440 out of 1251, remaining: 21:49, took 1.1s, duration: 11:50)
test 0587...[HTTP multi-part formpost with aborted read callback]
--p----emv- OK (441 out of 1251, remaining: 21:46, took 1.0s, duration: 11:51)
test 0588...[FTP PORT upload using multi interface, EPRT doesn't work]
--p-u--emv- OK (442 out of 1251, remaining: 21:43, took 1.0s, duration: 11:52)
test 0589...[make a HTTP MIME POST set to NULL]
--pd---emv- OK (443 out of 1251, remaining: 21:41, took 1.0s, duration: 11:53)
test 0590...[HTTP proxy offers Negotiate+NTLM, use only NTLM]
--pd---emv- OK (444 out of 1251, remaining: 21:38, took 1.1s, duration: 11:54)
test 0591...[FTP multi PORT and 425 on upload]
--p----emv- OK (445 out of 1251, remaining: 21:35, took 1.0s, duration: 11:55)
test 0592...[FTP multi PORT and 421 on upload]
--p----emv- OK (446 out of 1251, remaining: 21:33, took 1.0s, duration: 11:56)
test 0593...[FTP multi PORT upload, no data conn and no transient neg. reply]
--p----emv- OK (447 out of 1251, remaining: 21:34, took 3.1s, duration: 11:59)
test 0595...[verify close callbacks with passive FTP]
--pd---emv- OK (448 out of 1251, remaining: 21:31, took 1.1s, duration: 12:00)
test 0596...[verify close callbacks with active FTP]
--pd---emv- OK (449 out of 1251, remaining: 21:29, took 1.1s, duration: 12:01)
test 0597...[FTP connect only option]
--p----emv- OK (450 out of 1251, remaining: 21:26, took 1.0s, duration: 12:02)
test 0598...[curl_easy_reset with referer and other strings set]
--pd---emv- OK (451 out of 1251, remaining: 21:24, took 1.0s, duration: 12:03)
test 0599...[HTTP GET with progress callback and redirects changing content sizes]
---d--oemv- OK (452 out of 1251, remaining: 21:21, took 1.1s, duration: 12:04)
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 (496 out of 1251, remaining: 18:25, took 1.2s, duration: 12:06)
test 0644...[HTTP multi-part formpost with aborted read callback]
--p----emv- OK (497 out of 1251, remaining: 18:23, took 1.0s, duration: 12:07)
test 0645...[HTTP multi-part chunked mimepost using read callback for the file part]
--pd---emv- OK (498 out of 1251, remaining: 18:24, took 3.2s, duration: 12:10)
test 0646...[SMTP multipart using mime API]
--p-u--emv- OK (499 out of 1251, remaining: 18:25, took 3.2s, duration: 12:13)
test 0647...[IMAP APPEND multipart using mime API]
--p-u--emv- OK (500 out of 1251, remaining: 18:26, took 3.2s, duration: 12:16)
test 0648...[SMTP multipart with transfer content encoders]
--p-u--emv- OK (501 out of 1251, remaining: 18:24, took 1.2s, duration: 12:18)
test 0649...[SMTP multipart with 7bit encoder error]
--p-u--emv- OK (502 out of 1251, remaining: 18:23, took 1.2s, duration: 12:19)
test 0650...[HTTP formpost using form API]
--pd---emv- OK (503 out of 1251, remaining: 18:22, took 2.1s, duration: 12:21)
test 0651...[curl_formadd with huge COPYCONTENTS]
--pd---emv- OK (504 out of 1251, remaining: 18:21, took 2.1s, duration: 12:23)
test 0652...[SMTP with encoded huge mime data contents]
--p-u--emv- OK (505 out of 1251, remaining: 18:19, took 1.1s, duration: 12:24)
test 0653...[Reuse of handle after altering mime data]
--pd---emv- OK (506 out of 1251, remaining: 18:17, took 1.1s, duration: 12:25)
test 0654...[HTTP duplicate easy handle with mime data]
--pd---emv- OK (507 out of 1251, remaining: 18:17, took 2.2s, duration: 12:27)
test 0655...[resolver start callback]
---d---emv- OK (508 out of 1251, remaining: 18:15, took 1.1s, duration: 12:29)
test 0658...[Pass URL to libcurl with CURLOPT_CURLU]
--p----emv- OK (510 out of 1251, remaining: 18:09, took 1.0s, duration: 12:30)
test 0659...[CURLOPT_CURLU without the path set - over proxy]
--p----emv- OK (511 out of 1251, remaining: 18:07, took 1.0s, duration: 12:31)
test 0660...[IMAP CONNECT_ONLY option]
--p----emv- OK (512 out of 1251, remaining: 18:05, took 1.0s, duration: 12:32)
test 0700...[HTTP GET via SOCKS4 proxy]
--pd---emv- OK (513 out of 1251, remaining: 18:03, took 1.2s, duration: 12:33)
test 0701...[HTTP GET via SOCKS5 proxy]
--pd---emv- OK (514 out of 1251, remaining: 18:01, took 1.2s, duration: 12:34)
test 0702...[Attempt connect to non-listening HTTP server via SOCKS4 proxy]
-------emv- OK (515 out of 1251, remaining: 17:59, took 1.1s, duration: 12:35)
test 0703...[Attempt connect to non-listening HTTP server via SOCKS5 proxy]
-------emv- OK (516 out of 1251, remaining: 17:57, took 1.1s, duration: 12:36)
test 0704...[Attempt connect to non-listening SOCKS4 proxy]
-------emv- OK (517 out of 1251, remaining: 17:55, took 1.1s, duration: 12:37)
test 0705...[Attempt connect to non-listening SOCKS5 proxy]
-------emv- OK (518 out of 1251, remaining: 17:53, took 1.1s, duration: 12:38)
test 0706...[FTP dir list PASV via SOCKS4]
--pd---emv- OK (519 out of 1251, remaining: 17:52, took 1.2s, duration: 12:40)
test 0707...[FTP dir list PASV via SOCKS5]
--pd---emv- OK (520 out of 1251, remaining: 17:50, took 1.2s, duration: 12:41)
test 0708...[HTTP GET via SOCKS4 proxy]
--pd---emv- OK (521 out of 1251, remaining: 17:48, took 1.2s, duration: 12:42)
test 0709...[HTTP GET via SOCKS5 set in http_proxy environment variable]
--pd---emv- OK (522 out of 1251, remaining: 17:46, took 1.2s, duration: 12:43)
test 0710...[HTTP GET via SOCKS5 set with --proxy]
--pd---emv- OK (523 out of 1251, remaining: 17:44, took 1.2s, duration: 12:44)
test 0711...[FTP fetch with all_proxy set to socks5]
--pd---emv- OK (524 out of 1251, remaining: 17:42, took 1.2s, duration: 12:46)
test 0712...[FTP fetch with --proxy set to socks5://]
--pd---emv- OK (525 out of 1251, remaining: 17:40, took 1.2s, duration: 12:47)
test 0713...[FTP fetch with --proxy set to socks5:// and with --connect-to]
--pd---emv- OK (526 out of 1251, remaining: 17:39, took 1.2s, duration: 12:48)
test 0714...[FTP fetch with --proxy set to http:// and with --connect-to]
--p----emv- OK (527 out of 1251, remaining: 17:39, took 2.7s, duration: 12:51)
test 0715...[FTP fetch with --preproxy, --proxy and --connect-to]
--p----emv- OK (528 out of 1251, remaining: 17:39, took 2.7s, duration: 12:53)
test 0716...[SOCKS5 proxy with too long user name]
-------emv- OK (529 out of 1251, remaining: 17:37, took 1.1s, duration: 12:54)
test 0717...[SOCKS5 proxy auth]
--pd---emv- OK (530 out of 1251, remaining: 17:35, took 1.2s, duration: 12:56)
test 0800...[IMAP FETCH message]
--pd---emv- OK (531 out of 1251, remaining: 17:34, took 1.2s, duration: 12:57)
test 0801...[IMAP FETCH message by MAILINDEX and SECTION]
--pd---emv- OK (532 out of 1251, remaining: 17:32, took 1.2s, duration: 12:58)
test 0802...[IMAP SELECT UIDVALIDITY Success]
--pd---emv- OK (533 out of 1251, remaining: 17:30, took 1.2s, duration: 12:59)
test 0803...[IMAP SELECT UIDVALIDITY Failure]
--p----emv- OK (534 out of 1251, remaining: 17:28, took 1.2s, duration: 13:00)
test 0804...[IMAP doesn't perform SELECT if re-using the same mailbox]
--pd---emv- OK (535 out of 1251, remaining: 17:26, took 1.2s, duration: 13:02)
test 0805...[IMAP APPEND message]
--p-u--emv- OK (536 out of 1251, remaining: 17:24, took 1.2s, duration: 13:03)
test 0806...[IMAP LIST mailbox]
--pd---emv- OK (537 out of 1251, remaining: 17:23, took 1.2s, duration: 13:04)
test 0807...[IMAP LSUB mailbox]
--pd---emv- OK (538 out of 1251, remaining: 17:21, took 1.2s, duration: 13:05)
test 0808...[IMAP EXAMINE mailbox (CUSTOMREQUEST)]
--pd---emv- OK (539 out of 1251, remaining: 17:19, took 1.2s, duration: 13:06)
test 0809...[IMAP mailbox STATUS (CUSTOMREQUEST)]
--pd---emv- OK (540 out of 1251, remaining: 17:17, took 1.2s, duration: 13:07)
test 0810...[IMAP SEARCH for NEW messages]
--pd---emv- OK (541 out of 1251, remaining: 17:15, took 1.2s, duration: 13:09)
test 0811...[IMAP CREATE mailbox (CUSTOMREQUEST)]
--p----emv- OK (542 out of 1251, remaining: 17:13, took 1.1s, duration: 13:10)
test 0812...[IMAP DELETE mailbox (CUSTOMREQUEST)]
--p----emv- OK (543 out of 1251, remaining: 17:11, took 1.2s, duration: 13:11)
test 0813...[IMAP RENAME mailbox (CUSTOMREQUEST)]
--p----emv- OK (544 out of 1251, remaining: 17:10, took 1.2s, duration: 13:12)
test 0814...[IMAP CHECK mailbox (CUSTOMREQUEST)]
--p----emv- OK (545 out of 1251, remaining: 17:08, took 1.2s, duration: 13:13)
test 0815...[IMAP STORE - delete message (CUSTOMREQUEST)]
--p----emv- OK (546 out of 1251, remaining: 17:06, took 1.2s, duration: 13:15)
test 0816...[IMAP STORE - delete message with confirmation (CUSTOMREQUEST)]
--p----emv- OK (547 out of 1251, remaining: 17:04, took 1.2s, duration: 13:16)
test 0817...[IMAP COPY message to mailbox (CUSTOMREQUEST)]
--p----emv- OK (548 out of 1251, remaining: 17:02, took 1.2s, duration: 13:17)
test 0818...[IMAP NOOP (CUSTOMREQUEST)]
--pd---emv- OK (549 out of 1251, remaining: 17:01, took 1.2s, duration: 13:18)
test 0819...[IMAP plain authentication]
--pd---emv- OK (550 out of 1251, remaining: 16:59, took 1.2s, duration: 13:19)
test 0820...[IMAP login authentication]
--pd---emv- OK (551 out of 1251, remaining: 16:57, took 1.2s, duration: 13:20)
test 0821...[IMAP CRAM-MD5 authentication]
--pd---emv- OK (552 out of 1251, remaining: 16:55, took 1.2s, duration: 13:22)
test 0822...[IMAP NTLM authentication]
--pd---emv- OK (553 out of 1251, remaining: 16:54, took 1.2s, duration: 13:23)
test 0823...[IMAP DIGEST-MD5 authentication]
--pd---emv- OK (554 out of 1251, remaining: 16:52, took 1.2s, duration: 13:24)
test 0824...[IMAP OAuth 2.0 (XOAUTH2) authentication]
--pd---emv- OK (555 out of 1251, remaining: 16:50, took 1.2s, duration: 13:25)
test 0825...[IMAP plain authentication with initial response]
--pd---emv- OK (556 out of 1251, remaining: 16:48, took 1.2s, duration: 13:26)
test 0826...[IMAP login authentication with initial response]
--pd---emv- OK (557 out of 1251, remaining: 16:46, took 1.2s, duration: 13:28)
test 0827...[IMAP NTLM authentication with initial response]
--pd---emv- OK (558 out of 1251, remaining: 16:45, took 1.2s, duration: 13:29)
test 0828...[IMAP OAuth 2.0 (XOAUTH2) authentication with initial response]
--pd---emv- OK (559 out of 1251, remaining: 16:43, took 1.2s, duration: 13:30)
test 0829...[IMAP with URL-encoded CR LF in the URL]
-------emv- OK (560 out of 1251, remaining: 16:41, took 1.1s, duration: 13:31)
test 0830...[IMAP CRAM-MD5 graceful cancellation]
--p----emv- OK (561 out of 1251, remaining: 16:39, took 1.2s, duration: 13:32)
test 0831...[IMAP NTLM graceful cancellation]
--p----emv- OK (562 out of 1251, remaining: 16:38, took 1.2s, duration: 13:34)
test 0832...[IMAP DIGEST-MD5 graceful cancellation]
--p----emv- OK (563 out of 1251, remaining: 16:36, took 1.2s, duration: 13:35)
test 0833...[IMAP CRAM-MD5 authentication with SASL downgrade]
--pd---emv- OK (564 out of 1251, remaining: 16:34, took 1.2s, duration: 13:36)
test 0834...[IMAP NTLM authentication with SASL downgrade]
--pd---emv- OK (565 out of 1251, remaining: 16:32, took 1.2s, duration: 13:37)
test 0835...[IMAP DIGEST-MD5 authentication with SASL downgrade]
--pd---emv- OK (566 out of 1251, remaining: 16:31, took 1.2s, duration: 13:38)
test 0837...[IMAP external authentication]
--pd---emv- OK (567 out of 1251, remaining: 16:29, took 1.2s, duration: 13:40)
test 0838...[IMAP external authentication without credentials]
--pd---emv- OK (568 out of 1251, remaining: 16:27, took 1.2s, duration: 13:41)
test 0839...[IMAP external authentication with initial response]
--pd---emv- OK (569 out of 1251, remaining: 16:25, took 1.2s, duration: 13:42)
test 0840...[IMAP external authentication with initial response without credentials]
--pd---emv- OK (570 out of 1251, remaining: 16:23, took 1.2s, duration: 13:43)
test 0841...[IMAP custom request doesn't check continuation data]
--pd---emv- OK (571 out of 1251, remaining: 16:22, took 1.2s, duration: 13:44)
test 0842...[IMAP OAuth 2.0 (OAUTHBEARER) authentication]
--pd---emv- OK (572 out of 1251, remaining: 16:20, took 1.2s, duration: 13:45)
test 0843...[IMAP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--pd---emv- OK (573 out of 1251, remaining: 16:18, took 1.2s, duration: 13:47)
test 0844...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (574 out of 1251, remaining: 16:16, took 1.2s, duration: 13:48)
test 0845...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (575 out of 1251, remaining: 16:15, took 1.2s, duration: 13:49)
test 0846...[IMAP PREAUTH response]
--pd---emv- OK (576 out of 1251, remaining: 16:13, took 1.2s, duration: 13:50)
test 0847...[IMAP FETCH message]
--pd---emv- OK (577 out of 1251, remaining: 16:11, took 1.2s, duration: 13:51)
test 0848...[IMAP plain authentication with alternative authorization identity]
--pd---emv- OK (578 out of 1251, remaining: 16:09, took 1.2s, duration: 13:53)
test 0849...[IMAP plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (579 out of 1251, remaining: 16:08, took 1.2s, duration: 13:54)
test 0850...[POP3 RETR message]
--pd---emv- OK (580 out of 1251, remaining: 16:08, took 3.2s, duration: 13:57)
test 0851...[POP3 LIST one message]
--p----emv- OK (581 out of 1251, remaining: 16:07, took 1.2s, duration: 13:58)
test 0852...[POP3 LIST invalid message]
--p----emv- OK (582 out of 1251, remaining: 16:05, took 1.2s, duration: 13:59)
test 0853...[POP3 LIST messages from *SLOW* server]
--pd---emv- OK (583 out of 1251, remaining: 16:07, took 4.3s, duration: 14:04)
test 0854...[POP3 LIST no messages available]
--p----emv- OK (584 out of 1251, remaining: 16:05, took 1.2s, duration: 14:05)
test 0855...[POP3 RETR invalid message]
--p----emv- OK (585 out of 1251, remaining: 16:03, took 1.1s, duration: 14:06)
test 0856...[POP3 invalid login]
--p----emv- OK (586 out of 1251, remaining: 16:01, took 1.1s, duration: 14:07)
test 0857...[POP3 RETR message with dot-prefixed line]
--pd---emv- OK (587 out of 1251, remaining: 16:00, took 1.2s, duration: 14:08)
test 0858...[POP3 DELE message (CUSTOMREQUEST)]
--p----emv- OK (588 out of 1251, remaining: 15:58, took 1.2s, duration: 14:09)
test 0859...[POP3 STAT (CUSTOMREQUEST)]
--p----emv- OK (589 out of 1251, remaining: 15:56, took 1.2s, duration: 14:10)
test 0860...[POP3 NOOP (CUSTOMREQUEST)]
--p----emv- OK (590 out of 1251, remaining: 15:54, took 1.2s, duration: 14:12)
test 0861...[POP3 UIDL (CUSTOMREQUEST)]
--pd---emv- OK (591 out of 1251, remaining: 15:52, took 1.2s, duration: 14:13)
test 0862...[POP3 retrieve message header (CUSTOMREQUEST)]
--pd---emv- OK (592 out of 1251, remaining: 15:51, took 1.2s, duration: 14:14)
test 0863...[POP3 RSET (CUSTOMREQUEST)]
--p----emv- OK (593 out of 1251, remaining: 15:49, took 1.1s, duration: 14:15)
test 0864...[POP3 APOP authentication]
--pd---emv- OK (594 out of 1251, remaining: 15:47, took 1.2s, duration: 14:16)
test 0865...[POP3 plain authentication]
--pd---emv- OK (595 out of 1251, remaining: 15:45, took 1.2s, duration: 14:17)
test 0866...[POP3 login authentication]
--pd---emv- OK (596 out of 1251, remaining: 15:44, took 1.2s, duration: 14:19)
test 0867...[POP3 CRAM-MD5 authentication]
--pd---emv- OK (597 out of 1251, remaining: 15:42, took 1.2s, duration: 14:20)
test 0868...[POP3 NTLM authentication]
--pd---emv- OK (598 out of 1251, remaining: 15:40, took 1.2s, duration: 14:21)
test 0869...[POP3 DIGEST-MD5 authentication]
--pd---emv- OK (599 out of 1251, remaining: 15:39, took 1.2s, duration: 14:22)
test 0870...[POP3 OAuth 2.0 (XOAUTH2) authentication]
--pd---emv- OK (600 out of 1251, remaining: 15:37, took 1.2s, duration: 14:23)
test 0871...[POP3 plain authentication with initial response]
--pd---emv- OK (601 out of 1251, remaining: 15:35, took 1.2s, duration: 14:25)
test 0872...[POP3 login authentication with initial response]
--pd---emv- OK (602 out of 1251, remaining: 15:33, took 1.2s, duration: 14:26)
test 0873...[POP3 NTLM authentication with initial response]
--pd---emv- OK (603 out of 1251, remaining: 15:32, took 1.2s, duration: 14:27)
test 0874...[POP3 OAuth 2.0 (XOAUTH2) authentication with initial response]
--pd---emv- OK (604 out of 1251, remaining: 15:30, took 1.2s, duration: 14:28)
test 0875...[POP3 with URL-encoded CR LF in the URL]
-------emv- OK (605 out of 1251, remaining: 15:28, took 1.1s, duration: 14:29)
test 0876...[POP3 CRAM-MD5 graceful cancellation]
--p----emv- OK (606 out of 1251, remaining: 15:27, took 1.1s, duration: 14:30)
test 0877...[POP3 NTLM graceful cancellation]
--p----emv- OK (607 out of 1251, remaining: 15:25, took 1.2s, duration: 14:32)
test 0878...[POP3 DIGEST-MD5 graceful cancellation]
--p----emv- OK (608 out of 1251, remaining: 15:23, took 1.2s, duration: 14:33)
test 0879...[POP3 CRAM-MD5 authentication with SASL downgrade]
--pd---emv- OK (609 out of 1251, remaining: 15:21, took 1.2s, duration: 14:34)
test 0880...[POP3 NTLM authentication with SASL downgrade]
--pd---emv- OK (610 out of 1251, remaining: 15:20, took 1.2s, duration: 14:35)
test 0881...[POP3 DIGEST-MD5 authentication with SASL downgrade]
--pd---emv- OK (611 out of 1251, remaining: 15:18, took 1.2s, duration: 14:36)
test 0883...[POP3 external authentication]
--pd---emv- OK (612 out of 1251, remaining: 15:16, took 1.2s, duration: 14:38)
test 0884...[POP3 external authentication without credentials]
--pd---emv- OK (613 out of 1251, remaining: 15:15, took 1.2s, duration: 14:39)
test 0885...[POP3 external authentication with initial response]
--pd---emv- OK (614 out of 1251, remaining: 15:13, took 1.2s, duration: 14:40)
test 0886...[POP3 external authentication with initial response without credentials]
--pd---emv- OK (615 out of 1251, remaining: 15:11, took 1.2s, duration: 14:41)
test 0887...[POP3 OAuth 2.0 (OAUTHBEARER) authentication]
--pd---emv- OK (616 out of 1251, remaining: 15:09, took 1.2s, duration: 14:42)
test 0888...[POP3 OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--pd---emv- OK (617 out of 1251, remaining: 15:08, took 1.2s, duration: 14:43)
test 0889...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (618 out of 1251, remaining: 15:06, took 1.2s, duration: 14:45)
test 0890...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (619 out of 1251, remaining: 15:04, took 1.2s, duration: 14:46)
test 0891...[POP3 with short authentication response]
--p----emv- OK (620 out of 1251, remaining: 15:03, took 1.2s, duration: 14:47)
test 0892...[POP3 plain authentication with alternative authorization identity]
--pd---emv- OK (621 out of 1251, remaining: 15:01, took 1.2s, duration: 14:48)
test 0893...[POP3 plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (622 out of 1251, remaining: 14:59, took 1.1s, duration: 14:49)
test 0900...[SMTP]
--p-u--emv- OK (623 out of 1251, remaining: 14:58, took 1.2s, duration: 14:50)
test 0901...[SMTP with CRLF-dot-CRLF in data]
--p-u--emv- OK (624 out of 1251, remaining: 14:56, took 1.2s, duration: 14:52)
test 0902...[RFC821-only SMTP server (EHLO not supported)]
--p-u--emv- OK (625 out of 1251, remaining: 14:54, took 1.2s, duration: 14:53)
test 0903...[SMTP plain authentication]
--p-u--emv- OK (626 out of 1251, remaining: 14:52, took 1.2s, duration: 14:54)
test 0904...[SMTP login authentication]
--p-u--emv- OK (627 out of 1251, remaining: 14:51, took 1.2s, duration: 14:55)
test 0905...[SMTP CRAM-MD5 authentication]
--p-u--emv- OK (628 out of 1251, remaining: 14:49, took 1.2s, duration: 14:56)
test 0906...[SMTP NTLM authentication]
--p-u--emv- OK (629 out of 1251, remaining: 14:48, took 1.2s, duration: 14:58)
test 0907...[SMTP DIGEST-MD5 authentication]
--p-u--emv- OK (630 out of 1251, remaining: 14:46, took 1.2s, duration: 14:59)
test 0908...[SMTP OAuth 2.0 (XOAUTH2) authentication]
--p-u--emv- OK (631 out of 1251, remaining: 14:44, took 1.2s, duration: 15:00)
test 0909...[SMTP without SIZE support]
--p-u--emv- OK (632 out of 1251, remaining: 14:43, took 1.2s, duration: 15:01)
test 0910...[SMTP without terminating CRLF]
--p-u--emv- OK (633 out of 1251, remaining: 14:41, took 1.2s, duration: 15:02)
test 0911...[SMTP with no mail data]
--p-u--emv- OK (634 out of 1251, remaining: 14:39, took 1.2s, duration: 15:03)
test 0912...[SMTP with SIZE support]
--p-u--emv- OK (635 out of 1251, remaining: 14:38, took 1.2s, duration: 15:05)
test 0913...[SMTP with large message SIZE]
--p----emv- OK (636 out of 1251, remaining: 14:36, took 1.2s, duration: 15:06)
test 0914...[SMTP invalid --mail-from]
--p----emv- OK (637 out of 1251, remaining: 14:34, took 1.2s, duration: 15:07)
test 0915...[SMTP without --mail-from]
--p-u--emv- OK (638 out of 1251, remaining: 14:32, took 1.2s, duration: 15:08)
test 0916...[SMTP with invalid --mail-rcpt]
--p----emv- OK (639 out of 1251, remaining: 14:31, took 1.1s, duration: 15:09)
test 0917...[SMTP with multiple --mail-rcpt]
--p-u--emv- OK (640 out of 1251, remaining: 14:29, took 1.2s, duration: 15:10)
test 0918...[SMTP with multiple and invalid --mail-rcpt]
--p----emv- OK (641 out of 1251, remaining: 14:27, took 1.2s, duration: 15:12)
test 0919...[SMTP plain authentication with initial response]
--p-u--emv- OK (642 out of 1251, remaining: 14:26, took 1.2s, duration: 15:13)
test 0920...[SMTP login authentication with initial response]
--p-u--emv- OK (643 out of 1251, remaining: 14:24, took 1.2s, duration: 15:14)
test 0921...[SMTP NTLM authentication with initial response]
--p-u--emv- OK (644 out of 1251, remaining: 14:23, took 1.2s, duration: 15:15)
test 0922...[SMTP OAuth 2.0 (XOAUTH2) authentication with initial response]
--p-u--emv- OK (645 out of 1251, remaining: 14:21, took 1.2s, duration: 15:16)
test 0923...[SMTP VRFY]
--pd---emv- OK (646 out of 1251, remaining: 14:19, took 1.2s, duration: 15:18)
test 0924...[SMTP ambiguous VRFY]
--pd---emv- OK (647 out of 1251, remaining: 14:18, took 1.1s, duration: 15:19)
test 0925...[SMTP external VRFY]
--pd---emv- OK (648 out of 1251, remaining: 14:16, took 1.1s, duration: 15:20)
test 0926...[SMTP unknown user VRFY]
--p----emv- OK (649 out of 1251, remaining: 14:14, took 1.2s, duration: 15:21)
test 0927...[SMTP mailing list EXPN (CUSTOMREQUEST)]
--pd---emv- OK (650 out of 1251, remaining: 14:13, took 1.1s, duration: 15:22)
test 0928...[SMTP HELP]
--pd---emv- OK (651 out of 1251, remaining: 14:11, took 1.1s, duration: 15:23)
test 0929...[SMTP NOOP (CUSTOMREQUEST)]
--p----emv- OK (652 out of 1251, remaining: 14:09, took 1.1s, duration: 15:24)
test 0930...[SMTP RSET (CUSTOMREQUEST)]
--p----emv- OK (653 out of 1251, remaining: 14:08, took 1.1s, duration: 15:26)
test 0931...[SMTP with URL-encoded CR LF in the URL]
-------emv- OK (654 out of 1251, remaining: 14:06, took 1.1s, duration: 15:27)
test 0932...[SMTP CRAM-MD5 graceful cancellation]
--p----emv- OK (655 out of 1251, remaining: 14:04, took 1.2s, duration: 15:28)
test 0933...[SMTP NTLM graceful cancellation]
--p----emv- OK (656 out of 1251, remaining: 14:03, took 1.2s, duration: 15:29)
test 0934...[SMTP DIGEST-MD5 graceful cancellation]
--p----emv- OK (657 out of 1251, remaining: 14:01, took 1.2s, duration: 15:30)
test 0935...[SMTP CRAM-MD5 authentication with SASL downgrade]
--p-u--emv- OK (658 out of 1251, remaining: 13:59, took 1.2s, duration: 15:31)
test 0936...[SMTP NTLM authentication with SASL downgrade]
--p-u--emv- OK (659 out of 1251, remaining: 13:58, took 1.2s, duration: 15:33)
test 0937...[SMTP DIGEST-MD5 authentication with SASL downgrade]
--p-u--emv- OK (660 out of 1251, remaining: 13:56, took 1.2s, duration: 15:34)
test 0939...[RFC821-only SMTP with username and password]
--p-u--emv- OK (661 out of 1251, remaining: 13:54, took 1.2s, duration: 15:35)
test 0940...[SMTP with username and password but no AUTH capability]
--p-u--emv- OK (662 out of 1251, remaining: 13:53, took 1.2s, duration: 15:36)
test 0941...[SMTP with --crlf]
--p-u--emv- OK (663 out of 1251, remaining: 13:51, took 1.2s, duration: 15:37)
test 0942...[SMTP external authentication]
--p-u--emv- OK (664 out of 1251, remaining: 13:50, took 1.2s, duration: 15:38)
test 0943...[SMTP external authentication without credentials]
--p-u--emv- OK (665 out of 1251, remaining: 13:48, took 1.2s, duration: 15:40)
test 0944...[SMTP external authentication with initial response]
--p-u--emv- OK (666 out of 1251, remaining: 13:46, took 1.2s, duration: 15:41)
test 0945...[SMTP external authentication with initial response without credentials]
--p-u--emv- OK (667 out of 1251, remaining: 13:45, took 1.2s, duration: 15:42)
test 0946...[SMTP OAuth 2.0 (OAUTHBEARER) authentication]
--p-u--emv- OK (668 out of 1251, remaining: 13:43, took 1.2s, duration: 15:43)
test 0947...[SMTP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--p-u--emv- OK (669 out of 1251, remaining: 13:41, took 1.2s, duration: 15:44)
test 0948...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (670 out of 1251, remaining: 13:40, took 1.2s, duration: 15:45)
test 0949...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (671 out of 1251, remaining: 13:38, took 1.2s, duration: 15:47)
test 0950...[SMTP VRFY with custom request]
--pd---emv- OK (672 out of 1251, remaining: 13:37, took 1.2s, duration: 15:48)
test 0951...[SMTP data with dot as first character]
--p-u--emv- OK (673 out of 1251, remaining: 13:35, took 1.2s, duration: 15:49)
test 0952...[SMTP data with single dot-only line]
--p-u--emv- OK (674 out of 1251, remaining: 13:33, took 1.2s, duration: 15:50)
test 0953...[SMTP plain authentication with alternative authorization identity]
--p-u--emv- OK (675 out of 1251, remaining: 13:32, took 1.2s, duration: 15:51)
test 0954...[SMTP plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (676 out of 1251, remaining: 13:30, took 1.2s, duration: 15:53)
test 1000...[FTP dir list PASV with -I]
--p----emv- OK (677 out of 1251, remaining: 13:29, took 1.2s, duration: 15:54)
test 1001...[HTTP POST --digest with PUT and resumed upload and modified method]
--pd---emv- OK (678 out of 1251, remaining: 13:28, took 2.3s, duration: 15:56)
test 1002...[HTTP PUT with Digest auth, resumed upload and modified method, twice]
--pd---emv- OK (679 out of 1251, remaining: 13:28, took 3.3s, duration: 15:59)
test 1003...[FTP with excessively large server command response line]
--pd---emv- OK (680 out of 1251, remaining: 13:27, took 1.3s, duration: 16:01)
test 1004...[HTTP GET with empty proxy]
valgrind SKIPPED
--pd---em-- OK (681 out of 1251, remaining: 13:24, took 0.0s, duration: 16:01)
test 1005...[FTP with excessively large number of server command response lines]
--pd---emv- OK (682 out of 1251, remaining: 13:22, took 1.3s, duration: 16:02)
test 1006...[FTP with excessively large number of server command response lines (boundary condition)]
--pd---emv- OK (683 out of 1251, remaining: 13:21, took 1.3s, duration: 16:03)
test 1007...[TFTP send with invalid permission on server]
--p----emv- OK (684 out of 1251, remaining: 13:19, took 1.1s, duration: 16:04)
test 1008...[HTTP proxy CONNECT auth NTLM with chunked-encoded 407 response]
--pd---emv- OK (685 out of 1251, remaining: 13:18, took 1.4s, duration: 16:06)
test 1009...[TFTP retrieve with --local-port]
--pd---emv- OK (686 out of 1251, remaining: 13:16, took 1.1s, duration: 16:07)
test 1010...[FTP dir list nocwd]
--pd---emv- OK (687 out of 1251, remaining: 13:15, took 1.2s, duration: 16:08)
test 1011...[HTTP POST with 301 redirect]
--pd---emv- OK (688 out of 1251, remaining: 13:13, took 1.2s, duration: 16:09)
test 1012...[HTTP POST with 301 redirect and --post301]
--pd---emv- OK (689 out of 1251, remaining: 13:12, took 1.3s, duration: 16:11)
test 1013...[Compare curl --version with curl-config --protocols]
-------emv- OK (690 out of 1251, remaining: 13:10, took 0.9s, duration: 16:11)
test 1014...[Compare curl --version with curl-config --features]
-------emv- OK (691 out of 1251, remaining: 13:08, took 0.9s, duration: 16:12)
test 1015...[--data-urlencode]
--pd---emv- OK (692 out of 1251, remaining: 13:06, took 1.2s, duration: 16:13)
test 1016...[X-Y range on a file:// URL to stdout]
s------emv- OK (693 out of 1251, remaining: 13:05, took 1.1s, duration: 16:15)
test 1017...[0-Y range on a file:// URL to stdout]
s------emv- OK (694 out of 1251, remaining: 13:03, took 1.1s, duration: 16:16)
test 1018...[X-X range on a file:// URL to stdout]
s------emv- OK (695 out of 1251, remaining: 13:01, took 1.1s, duration: 16:17)
test 1019...[X- range on a file:// URL to stdout]
s------emv- OK (696 out of 1251, remaining: 13:00, took 1.1s, duration: 16:18)
test 1020...[-Y range on a file:// URL to stdout]
s------emv- OK (697 out of 1251, remaining: 12:58, took 1.1s, duration: 16:19)
test 1021...[HTTP proxy CONNECT with any proxyauth and proxy offers NTLM and close]
--pd---emv- OK (698 out of 1251, remaining: 12:56, took 1.3s, duration: 16:20)
test 1022...[Compare curl --version with curl-config --version]
-------emv- OK (699 out of 1251, remaining: 12:55, took 0.9s, duration: 16:21)
test 1023...[Compare curl --version with curl-config --vernum]
-------emv- OK (700 out of 1251, remaining: 12:53, took 0.9s, duration: 16:22)
test 1024...[HTTP Location: following with cookies]
--pd---emv- OK (701 out of 1251, remaining: 12:51, took 1.2s, duration: 16:23)
test 1025...[HTTP Location: following with command-line and server cookies]
--pd---emv- OK (702 out of 1251, remaining: 12:50, took 1.2s, duration: 16:24)
test 1026...[curl --manual ]
-------emv- OK (703 out of 1251, remaining: 12:48, took 0.9s, duration: 16:25)
test 1027...[curl --help]
-------emv- OK (704 out of 1251, remaining: 12:46, took 0.9s, duration: 16:26)
test 1028...[HTTP Location: redirect to FTP URL]
s-p----emv- OK (705 out of 1251, remaining: 12:45, took 1.2s, duration: 16:27)
test 1029...[HTTP Location: and 'redirect_url' check]
s-p----emv- OK (706 out of 1251, remaining: 12:43, took 1.2s, duration: 16:29)
test 1030...[HTTP PUT with --anyauth authorization (picking Digest)]
--pd---emv- OK (707 out of 1251, remaining: 12:43, took 3.2s, duration: 16:32)
test 1031...[HTTP Location: following to a query string]
--pd---emv- OK (708 out of 1251, remaining: 12:41, took 1.2s, duration: 16:33)
test 1032...[HTTP HEAD with --range]
--pd---emv- OK (709 out of 1251, remaining: 12:40, took 1.2s, duration: 16:34)
test 1033...[HTTP GET with 102 response!]
--pd---emv- OK (710 out of 1251, remaining: 12:38, took 1.2s, duration: 16:35)
test 1034...[HTTP over proxy with malformatted IDN host name]
-------emv- OK (711 out of 1251, remaining: 12:37, took 1.1s, duration: 16:36)
test 1035...[HTTP over proxy with too long IDN host name]
-------emv- OK (712 out of 1251, remaining: 12:35, took 1.1s, duration: 16:38)
test 1036...[FTP download resume from end of file]
--p---oemv- OK (713 out of 1251, remaining: 12:33, took 1.2s, duration: 16:39)
test 1037...[FTP download resume from end of empty file]
--p----emv- OK (714 out of 1251, remaining: 12:32, took 1.2s, duration: 16:40)
test 1038...[FTP PASV upload resume from end of file]
--p-u--emv- OK (715 out of 1251, remaining: 12:30, took 1.2s, duration: 16:41)
test 1039...[FTP PASV upload resume from end of empty file]
--p-u--emv- OK (716 out of 1251, remaining: 12:29, took 1.2s, duration: 16:42)
test 1040...[HTTP GET with resume from end of entirely-downloaded file]
--pd---emv- OK (717 out of 1251, remaining: 12:27, took 1.2s, duration: 16:43)
test 1041...[HTTP PUT with resume from end of already-uploaded file]
--pd---emv- OK (718 out of 1251, remaining: 12:26, took 2.2s, duration: 16:46)
test 1042...[HTTP GET beyond end of entirely-downloaded file, no server resume]
--pd---emv- OK (719 out of 1251, remaining: 12:25, took 1.2s, duration: 16:47)
test 1043...[HTTP GET with resume from end of file]
--pd---emv- OK (720 out of 1251, remaining: 12:23, took 1.2s, duration: 16:48)
test 1044...[FTP download large file info with -I]
s-p----emv- OK (721 out of 1251, remaining: 12:22, took 1.2s, duration: 16:49)
test 1045...[HTTP GET with numeric localhost --interface]
--pd---emv- OK (722 out of 1251, remaining: 12:20, took 1.2s, duration: 16:50)
test 1046...[HTTP-IPv6 GET with numeric localhost --interface]
--pd---emv- OK (723 out of 1251, remaining: 12:19, took 1.2s, duration: 16:51)
test 1047...[FTP dir list PASV with localhost --interface]
--pd---emv- OK (724 out of 1251, remaining: 12:17, took 1.2s, duration: 16:53)
test 1048...[FTP-IPv6 dir list PASV with localhost --interface]
--pd---emv- OK (725 out of 1251, remaining: 12:15, took 1.2s, duration: 16:54)
test 1049...[TFTP retrieve with localhost --interface]
--pd---emv- OK (726 out of 1251, remaining: 12:14, took 1.1s, duration: 16:55)
test 1050...[FTP-IPv6 dir list, EPRT with specified IP]
--pd---emv- OK (727 out of 1251, remaining: 12:12, took 1.2s, duration: 16:56)
test 1051...[HTTP PUT with Location: following]
--pd---emv- OK (728 out of 1251, remaining: 12:12, took 3.2s, duration: 16:59)
test 1052...[HTTP 1.0 PUT with Location: following]
--pd---emv- OK (729 out of 1251, remaining: 12:11, took 1.2s, duration: 17:01)
test 1053...[HTTP RFC1867-type formposting from file with Location: following]
--pd---emv- OK (730 out of 1251, remaining: 12:09, took 1.3s, duration: 17:02)
test 1054...[HTTP POST from file with 301 redirect and --post301]
--pd---emv- OK (731 out of 1251, remaining: 12:08, took 1.3s, duration: 17:03)
test 1055...[HTTP PUT Location: redirect to FTP URL]
--pdu--emv- OK (732 out of 1251, remaining: 12:07, took 2.2s, duration: 17:05)
test 1056...[HTTP follow redirect from IPv4 to IPv6 with scope]
--pd---emv- OK (733 out of 1251, remaining: 12:05, took 1.3s, duration: 17:07)
test 1057...[FTP retrieve a byte-range relative to end of file]
--pd---emv- OK (734 out of 1251, remaining: 12:04, took 1.2s, duration: 17:08)
test 1058...[HTTP range relative to end of file]
--pd---emv- OK (735 out of 1251, remaining: 12:02, took 1.2s, duration: 17:09)
test 1059...[HTTP CONNECT with proxytunnel to unsupported FTP URL]
--p----emv- OK (736 out of 1251, remaining: 12:01, took 1.1s, duration: 17:10)
test 1060...[HTTP proxy CONNECT auth Digest, large headers and data]
--pd---emv- OK (737 out of 1251, remaining: 12:01, took 3.4s, duration: 17:14)
test 1061...[HTTP proxy CONNECT auth Digest, large headers and chunked data]
--pd---emv- OK (738 out of 1251, remaining: 12:01, took 3.4s, duration: 17:17)
test 1062...[FTP with excessively long server command response lines, boundary condition]
--pd---emv- OK (739 out of 1251, remaining: 11:59, took 1.3s, duration: 17:18)
test 1063...[Invalid large X- range on a file://]
-------emv- OK (740 out of 1251, remaining: 11:58, took 1.1s, duration: 17:19)
test 1064...[HTTP PUT twice]
s-p----emv- OK (741 out of 1251, remaining: 11:56, took 1.2s, duration: 17:21)
test 1065...[HTTP PUT with one file but two URLs]
s-p----emv- OK (742 out of 1251, remaining: 11:55, took 1.2s, duration: 17:22)
test 1066...[HTTP --dump-header - with two URLs]
s-p----emv- OK (743 out of 1251, remaining: 11:53, took 1.2s, duration: 17:23)
test 1067...[HTTP Location: following with auto-referer]
--pd---emv- OK (744 out of 1251, remaining: 11:51, took 1.2s, duration: 17:24)
test 1068...[HTTP PUT from stdin]
--pd---emv- OK (745 out of 1251, remaining: 11:51, took 2.2s, duration: 17:26)
test 1069...[HTTP 1.0 PUT from stdin with no content length]
-------emv- OK (746 out of 1251, remaining: 11:49, took 1.1s, duration: 17:28)
test 1070...[HTTP POST with server closing connection before (all) data is received]
--pd---emv- OK (747 out of 1251, remaining: 11:48, took 2.2s, duration: 17:30)
test 1071...[Downgraded HTTP PUT to HTTP 1.0 with authorization]
--pd---emv- OK (748 out of 1251, remaining: 11:47, took 2.2s, duration: 17:32)
test 1072...[HTTP chunked PUT to HTTP 1.0 server with authorization]
--pd---emv- OK (749 out of 1251, remaining: 11:46, took 2.3s, duration: 17:34)
test 1073...[HTTP chunked PUT to HTTP 1.0 server with redirect]
--pd---emv- OK (750 out of 1251, remaining: 11:46, took 2.2s, duration: 17:36)
test 1074...[HTTP downgrade to HTTP/1.0 on second request]
s-p----emv- OK (751 out of 1251, remaining: 11:45, took 3.2s, duration: 17:40)
test 1075...[HTTP PUT with --anyauth authorization (picking Basic)]
--pd---emv- OK (752 out of 1251, remaining: 11:45, took 3.2s, duration: 17:43)
test 1076...[HTTP POST with 302 redirect and --post302]
--pd---emv- OK (753 out of 1251, remaining: 11:44, took 1.3s, duration: 17:44)
test 1077...[FTP over HTTP proxy with downgrade to HTTP 1.0]
--pd---emv- OK (754 out of 1251, remaining: 11:42, took 1.2s, duration: 17:45)
test 1078...[HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0]
s-p--P-emv- OK (755 out of 1251, remaining: 11:41, took 1.7s, duration: 17:47)
test 1079...[HTTP retry after closed connection and empty response]
--pd---emv- OK (756 out of 1251, remaining: 11:39, took 1.3s, duration: 17:48)
test 1080...[HTTP Location: on two URLs 'redirect_url' check]
s-p----emv- OK (757 out of 1251, remaining: 11:38, took 1.2s, duration: 17:49)
test 1081...[HTTP no Location: on second URL 'redirect_url' check]
s-p----emv- OK (758 out of 1251, remaining: 11:36, took 1.2s, duration: 17:51)
test 1082...[HTTP GET with localhost --interface]
--pd---emv- OK (759 out of 1251, remaining: 11:35, took 1.2s, duration: 17:52)
test 1083...[HTTP-IPv6 GET with ip6-localhost --interface]
--pd---emv- OK (760 out of 1251, remaining: 11:33, took 1.2s, duration: 17:53)
test 1084...[HTTP GET with invalid --interface]
-------emv- OK (761 out of 1251, remaining: 11:31, took 1.1s, duration: 17:54)
test 1085...[HTTP-IPv6 GET with invalid --interface]
-------emv- OK (762 out of 1251, remaining: 11:30, took 1.1s, duration: 17:55)
test 1086...[FTP download with strict timeout and slow data transfer]
Killed
Killed
--p----emv- OK (763 out of 1251, remaining: 11:37, took 14.1s, duration: 18:09)
test 1087...[HTTP, proxy with --anyauth and Location: to new host]
--pd---emv- OK (764 out of 1251, remaining: 11:35, took 1.3s, duration: 18:11)
test 1088...[HTTP, proxy with --anyauth and Location: to new host using location-trusted]
--pd---emv- OK (765 out of 1251, remaining: 11:34, took 1.3s, duration: 18:12)
test 1089...[HTTP GET --write-out with redirected fetch]
s-p----emv- OK (766 out of 1251, remaining: 11:32, took 1.2s, duration: 18:13)
test 1090...[HTTP GET --write-out with redirected fetch and chunked reply]
s-p----emv- OK (767 out of 1251, remaining: 11:30, took 1.2s, duration: 18:14)
test 1091...[FTP URL with type=i]
--pd---emv- OK (768 out of 1251, remaining: 11:30, took 3.3s, duration: 18:18)
test 1092...[FTP with type=i over HTTP proxy]
--pd---emv- OK (769 out of 1251, remaining: 11:29, took 1.2s, duration: 18:19)
test 1093...[TFTP retrieve with mode=i]
--pd---emv- OK (770 out of 1251, remaining: 11:27, took 1.1s, duration: 18:20)
test 1094...[TFTP retrieve with mode=netascii]
--pd---emv- OK (771 out of 1251, remaining: 11:25, took 1.1s, duration: 18:21)
test 1095...[HTTP with Digest and realm with quoted quotes]
--pd---emv- OK (772 out of 1251, remaining: 11:24, took 1.2s, duration: 18:22)
test 1096...[Two FTP downloads, with failed RETR but re-used control connection]
Killed
Killed
--p----emv- OK (773 out of 1251, remaining: 11:22, took 1.2s, duration: 18:24)
test 1097...[HTTP POST using CONNECT with --proxy-ntlm but no auth is required]
--pd---emv- OK (774 out of 1251, remaining: 11:21, took 1.2s, duration: 18:25)
test 1098...[FTP RETR twice over proxy confirming persistent connection]
s-p----emv- OK (775 out of 1251, remaining: 11:19, took 1.2s, duration: 18:26)
test 1099...[TFTP get first a non-existing file then an existing]
s-p----emv- OK (776 out of 1251, remaining: 11:17, took 1.2s, duration: 18:27)
test 1100...[HTTP POST with NTLM authorization and following a 302 redirect]
--pd---emv- OK (777 out of 1251, remaining: 11:16, took 1.3s, duration: 18:28)
test 1101...[NO_PROXY test, with user name in URL]
--pd---emv- OK (778 out of 1251, remaining: 11:14, took 1.2s, duration: 18:30)
test 1102...[FTP OS/400 server name format check]
--p----emv- OK (779 out of 1251, remaining: 11:13, took 1.2s, duration: 18:31)
test 1103...[FTP non-OS/400 server]
--p----emv- OK (780 out of 1251, remaining: 11:11, took 1.2s, duration: 18:32)
test 1104...[HTTP cookie expiry date at Jan 1 00:00:00 GMT 1970]
--pd---emv- OK (781 out of 1251, remaining: 11:10, took 1.2s, duration: 18:33)
test 1105...[HTTP with cookie parser and header recording]
--pd--oemv- OK (782 out of 1251, remaining: 11:08, took 1.2s, duration: 18:34)
test 1106...[FTP URL and with ftp_proxy environment variable set]
--p----emv- OK (783 out of 1251, remaining: 11:07, took 1.2s, duration: 18:36)
test 1107...[FTP RETR PASV with PRET]
--pd---emv- OK (784 out of 1251, remaining: 11:05, took 1.2s, duration: 18:37)
test 1108...[FTP RETR PASV with PRET not supported]
--p----emv- OK (785 out of 1251, remaining: 11:03, took 1.1s, duration: 18:38)
test 1109...[HTTP GET with URL that contains fragment after the path]
--pd---emv- OK (786 out of 1251, remaining: 11:02, took 1.2s, duration: 18:39)
test 1110...[HTTP GET with URL that contains a fragment after the query part]
--pd---emv- OK (787 out of 1251, remaining: 11:00, took 1.1s, duration: 18:40)
test 1111...[HTTP GET with URL whose fragment contains a # (which is illegal)]
--pd---emv- OK (788 out of 1251, remaining: 10:59, took 1.2s, duration: 18:41)
test 1112...[FTPS download with strict timeout and slow data transfer]
Killed
Killed
goto problem 24
valgrind ERROR ==21923== Invalid read of size 8
==21923== at 0x53325A5: check_free (dlerror.c:188)
==21923== by 0x5332AB1: free_key_mem (dlerror.c:221)
==21923== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==21923== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==21923== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==21923== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==21923== by 0x4C49EB9: exit (exit.c:139)
==21923== by 0x4C340A1: (below main) (libc-start.c:342)
==21923== Address 0x5af6de0 is 0 bytes after a block of size 32 alloc'd
==21923== at 0x483577F: malloc (vg_replace_malloc.c:309)
==21923== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==21923== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==21923== by 0x24AE36: err_get_state (err.c:210)
==21923== by 0x24BA0C: ERR_put_error (err.c:636)
==21923== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==21923== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==21923== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==21923== by 0x270058: by_file_ctrl (by_file.c:111)
==21923== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==21923== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==21923== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==21923== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==21923== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==21923== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==21923== by 0x182153: Curl_ssl_connect (vtls.c:251)
==21923==
==21923== Invalid free() / delete / delete[] / realloc()
==21923== at 0x48369AB: free (vg_replace_malloc.c:540)
==21923== by 0x5332AB9: free_key_mem (dlerror.c:223)
==21923== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==21923== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==21923== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==21923== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==21923== by 0x4C49EB9: exit (exit.c:139)
==21923== by 0x4C340A1: (below main) (libc-start.c:342)
==21923== Address 0x5af6dc8 is 8 bytes inside a block of size 32 alloc'd
==21923== at 0x483577F: malloc (vg_replace_malloc.c:309)
==21923== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==21923== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==21923== by 0x24AE36: err_get_state (err.c:210)
==21923== by 0x24BA0C: ERR_put_error (err.c:636)
==21923== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==21923== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==21923== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==21923== by 0x270058: by_file_ctrl (by_file.c:111)
==21923== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==21923== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==21923== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==21923== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==21923== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==21923== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==21923== by 0x182153: Curl_ssl_connect (vtls.c:251)
==21923==
==21923== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==21923== at 0x483577F: malloc (vg_replace_malloc.c:309)
==21923== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==21923== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==21923== by 0x24AE36: err_get_state (err.c:210)
==21923== by 0x24BA0C: ERR_put_error (err.c:636)
==21923== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==21923== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==21923== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==21923== by 0x270058: by_file_ctrl (by_file.c:111)
==21923== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==21923== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==21923== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==21923== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==21923== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==21923== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==21923== by 0x182153: Curl_ssl_connect (vtls.c:251)
==21923==
== 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:09:53.103368 ====> Client connect
03:09:53.103503 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:09:53.104006 < "USER anonymous"
03:09:53.104105 > "331 We are happy you popped in![CR][LF]"
03:09:53.104778 < "PASS ftp@example.com"
03:09:53.104870 > "230 Welcome you silly person[CR][LF]"
03:09:53.105540 < "PBSZ 0"
03:09:53.105632 > "500 PBSZ not implemented[CR][LF]"
03:09:53.106293 < "PROT C"
03:09:53.106365 > "500 PROT not implemented[CR][LF]"
03:09:53.106960 < "PWD"
03:09:53.107046 > "257 "/" is current directory[CR][LF]"
03:09:53.107563 < "EPSV"
03:09:53.107639 ====> Passive DATA channel requested by client
03:09:53.107672 DATA sockfilt for passive data channel starting...
03:09:53.110120 DATA sockfilt for passive data channel started (pid 21920)
03:09:53.110404 DATA sockfilt for passive data channel listens on port 40927
03:09:53.110503 > "229 Entering Passive Mode (|||40927|)[LF]"
03:09:53.110548 Client has been notified that DATA conn will be accepted on port 40927
03:09:53.110956 Client connects to port 40927
03:09:53.110987 ====> Client established passive DATA connection on port 40927
03:09:53.111103 < "TYPE I"
03:09:53.111176 > "200 I modify TYPE as you wanted[CR][LF]"
03:09:53.111722 < "SIZE verifiedserver"
03:09:53.111809 > "213 17[CR][LF]"
03:09:53.112333 < "RETR verifiedserver"
03:09:53.112434 > "150 Binary junk (17 bytes).[CR][LF]"
03:09:53.112542 =====> Closing passive DATA connection...
03:09:53.112581 Server disconnects passive DATA connection
03:09:53.112715 DATA sockfilt for passive data channel quits (pid 21921)
03:09:53.112745 =====> Closed passive DATA connection
03:09:53.112782 > "226 File transfer complete[CR][LF]"
03:09:53.113789 < "QUIT"
03:09:53.113862 > "221 bye bye baby[CR][LF]"
03:09:53.114263 MAIN sockfilt said DISC
03:09:53.114330 ====> Client disconnected
03:09:53.114420 Awaiting input
03:09:57.105134 ====> Client connect
03:09:57.105213 FTPD: Getting commands from log/ftpserver.cmd
03:09:57.105237 FTPD: send response with 0.01 sec delay between each byte
03:09:57.105305 FTPD: set custom reply for USER command
03:09:57.105339 FTPD: set custom reply for PASS command
03:09:57.105373 FTPD: set custom reply for PWD command
03:09:57.105403 FTPD: set custom reply for TYPE command
03:09:58.719456 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:09:58.727681 < "USER anonymous"
03:09:58.808487 > "331 OK[CR][LF]"
03:09:58.808677 < "PASS ftp@example.com"
03:09:58.889442 > "230 OK[CR][LF]"
03:09:58.889634 < "PBSZ 0"
03:09:59.151615 > "500 PBSZ not implemented[CR][LF]"
03:09:59.151854 < "PROT C"
03:09:59.414393 > "500 PROT not implemented[CR][LF]"
03:09:59.414597 < "PWD"
03:09:59.505518 > "257 "/"[CR][LF]"
03:09:59.512607 < "EPSV"
03:09:59.512639 ====> Passive DATA channel requested by client
03:09:59.512652 DATA sockfilt for passive data channel starting...
03:09:59.514331 DATA sockfilt for passive data channel started (pid 21925)
03:09:59.514428 DATA sockfilt for passive data channel listens on port 35743
03:09:59.898052 > "229 Entering Passive Mode (|||35743|)[LF]"
03:09:59.898147 Client has been notified that DATA conn will be accepted on port 35743
03:09:59.903932 Client connects to port 35743
03:09:59.903973 ====> Client established passive DATA connection on port 35743
03:09:59.909866 < "TYPE I"
03:09:59.990677 > "200 OK[CR][LF]"
03:09:59.990864 < "SIZE 1112"
03:10:00.092478 > "213 3600[CR][LF]"
03:10:00.092686 < "RETR 1112"
03:10:00.638354 > "150 Binary data connection for 1112 () (3600 bytes).[CR][LF]"
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:09:53.963983 ====> Client connect
03:09:53.964220 Received DATA (on stdin)
03:09:53.964243 > 160 bytes data, server => client
03:09:53.964268 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:09:53.964290 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:09:53.964306 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:09:53.964558 < 16 bytes data, client => server
03:09:53.964604 'USER anonymous\r\n'
03:09:53.964838 Received DATA (on stdin)
03:09:53.964892 > 33 bytes data, server => client
03:09:53.964916 '331 We are happy you popped in!\r\n'
03:09:53.965354 < 22 bytes data, client => server
03:09:53.965394 'PASS ftp@example.com\r\n'
03:09:53.965604 Received DATA (on stdin)
03:09:53.965658 > 30 bytes data, server => client
03:09:53.965682 '230 Welcome you silly person\r\n'
03:09:53.966116 < 8 bytes data, client => server
03:09:53.966154 'PBSZ 0\r\n'
03:09:53.966366 Received DATA (on stdin)
03:09:53.966420 > 26 bytes data, server => client
03:09:53.966444 '500 PBSZ not implemented\r\n'
03:09:53.966881 < 8 bytes data, client => server
03:09:53.966919 'PROT C\r\n'
03:09:53.967128 Received DATA (on stdin)
03:09:53.967169 > 26 bytes data, server => client
03:09:53.967192 '500 PROT not implemented\r\n'
03:09:53.967536 < 5 bytes data, client => server
03:09:53.967593 'PWD\r\n'
03:09:53.967781 Received DATA (on stdin)
03:09:53.967835 > 30 bytes data, server => client
03:09:53.967859 '257 "/" is current directory\r\n'
03:09:53.968195 < 6 bytes data, client => server
03:09:53.968242 'EPSV\r\n'
03:09:53.971236 Received DATA (on stdin)
03:09:53.971291 > 38 bytes data, server => client
03:09:53.971316 '229 Entering Passive Mode (|||40927|)\n'
03:09:53.971731 < 8 bytes data, client => server
03:09:53.971772 'TYPE I\r\n'
03:09:53.971895 Received DATA (on stdin)
03:09:53.971935 > 33 bytes data, server => client
03:09:53.971961 '200 I modify TYPE as you wanted\r\n'
03:09:53.972350 < 21 bytes data, client => server
03:09:53.972388 'SIZE verifiedserver\r\n'
03:09:53.972529 Received DATA (on stdin)
03:09:53.972570 > 8 bytes data, server => client
03:09:53.972592 '213 17\r\n'
03:09:53.972949 < 21 bytes data, client => server
03:09:53.972976 'RETR verifiedserver\r\n'
03:09:53.973154 Received DATA (on stdin)
03:09:53.973194 > 29 bytes data, server => client
03:09:53.973218 '150 Binary junk (17 bytes).\r\n'
03:09:53.973501 Received DATA (on stdin)
03:09:53.973526 > 28 bytes data, server => client
03:09:53.973551 '226 File transfer complete\r\n'
03:09:53.974414 < 6 bytes data, client => server
03:09:53.974452 'QUIT\r\n'
03:09:53.974582 Received DATA (on stdin)
03:09:53.974621 > 18 bytes data, server => client
03:09:53.974645 '221 bye bye baby\r\n'
03:09:53.974915 ====> Client disconnect
03:09:57.965782 ====> Client connect
03:09:57.966163 Received DATA (on stdin)
03:09:57.966182 > 1 bytes data, server => client
03:09:57.966193 '2'
03:09:57.976238 Received DATA (on stdin)
03:09:57.976266 > 1 bytes data, server => client
03:09:57.976279 '2'
03:09:57.986301 Received DATA (on stdin)
03:09:57.986325 > 1 bytes data, server => client
03:09:57.986335 '0'
03:09:57.996363 Received DATA (on stdin)
03:09:57.996379 > 1 bytes data, server => client
03:09:57.996388 '-'
03:09:58.006443 Received DATA (on stdin)
03:09:58.006480 > 1 bytes data, server => client
03:09:58.006491 ' '
03:09:58.016506 Received DATA (on stdin)
03:09:58.016531 > 1 bytes data, server => client
03:09:58.016542 ' '
03:09:58.026599 Received DATA (on stdin)
03:09:58.026646 > 1 bytes data, server => client
03:09:58.026656 ' '
03:09:58.036678 Received DATA (on stdin)
03:09:58.036716 > 1 bytes data, server => client
03:09:58.036730 ' '
03:09:58.046744 Received DATA (on stdin)
03:09:58.046773 > 1 bytes data, server => client
03:09:58.046782 ' '
03:09:58.056834 Received DATA (on stdin)
03:09:58.056865 > 1 bytes data, server => client
03:09:58.056879 ' '
03:09:58.066895 Received DATA (on stdin)
03:09:58.066931 > 1 bytes data, server => client
03:09:58.066947 ' '
03:09:58.077008 Received DATA (on stdin)
03:09:58.077061 > 1 bytes data, server => client
03:09:58.077085 ' '
03:09:58.087125 Received DATA (on stdin)
03:09:58.087183 > 1 bytes data, server => client
03:09:58.087206 '_'
03:09:58.097181 Received DATA (on stdin)
03:09:58.097233 > 1 bytes data, server => client
03:09:58.097257 ' '
03:09:58.107291 Received DATA (on stdin)
03:09:58.107356 > 1 bytes data, server => client
03:09:58.107384 ' '
03:09:58.117370 Received DATA (on stdin)
03:09:58.117429 > 1 bytes data, server => client
03:09:58.117457 ' '
03:09:58.127447 Received DATA (on stdin)
03:09:58.127506 > 1 bytes data, server => client
03:09:58.127534 '_'
03:09:58.137524 Received DATA (on stdin)
03:09:58.137584 > 1 bytes data, server => client
03:09:58.137612 ' '
03:09:58.147594 Received DATA (on stdin)
03:09:58.147649 > 1 bytes data, server => client
03:09:58.147675 '_'
03:09:58.157680 Received DATA (on stdin)
03:09:58.157737 > 1 bytes data, server => client
03:09:58.157762 '_'
03:09:58.167783 Received DATA (on stdin)
03:09:58.167843 > 1 bytes data, server => client
03:09:58.167871 '_'
03:09:58.177871 Received DATA (on stdin)
03:09:58.177921 > 1 bytes data, server => client
03:09:58.177946 '_'
03:09:58.187934 Received DATA (on stdin)
03:09:58.187995 > 1 bytes data, server => client
03:09:58.188041 ' '
03:09:58.198077 Received DATA (on stdin)
03:09:58.198140 > 1 bytes data, server => client
03:09:58.198168 ' '
03:09:58.208144 Received DATA (on stdin)
03:09:58.208215 > 1 bytes data, server => client
03:09:58.208242 '_'
03:09:58.218230 Received DATA (on stdin)
03:09:58.218284 > 1 bytes data, server => client
03:09:58.218312 ' '
03:09:58.228314 Received DATA (on stdin)
03:09:58.228368 > 1 bytes data, server => client
03:09:58.228395 ' '
03:09:58.238402 Received DATA (on stdin)
03:09:58.238459 > 1 bytes data, server => client
03:09:58.238485 ' '
03:09:58.248479 Received DATA (on stdin)
03:09:58.248540 > 1 bytes data, server => client
03:09:58.248567 ' '
03:09:58.258563 Received DATA (on stdin)
03:09:58.258628 > 1 bytes data, server => client
03:09:58.258656 ' '
03:09:58.268645 Received DATA (on stdin)
03:09:58.268705 > 1 bytes data, server => client
03:09:58.268733 '\r'
03:09:58.278738 Received DATA (on stdin)
03:09:58.278801 > 1 bytes data, server => client
03:09:58.278834 '\n'
03:09:58.288854 Received DATA (on stdin)
03:09:58.288914 > 1 bytes data, server => client
03:09:58.288942 '2'
03:09:58.298927 Received DATA (on stdin)
03:09:58.298987 > 1 bytes data, server => client
03:09:58.299015 '2'
03:09:58.309045 Received DATA (on stdin)
03:09:58.309162 > 1 bytes data, server => client
03:09:58.309227 '0'
03:09:58.319139 Received DATA (on stdin)
03:09:58.319205 > 1 bytes data, server => client
03:09:58.319231 '-'
03:09:58.329218 Received DATA (on stdin)
03:09:58.329273 > 1 bytes data, server => client
03:09:58.329299 ' '
03:09:58.339326 Received DATA (on stdin)
03:09:58.339383 > 1 bytes data, server => client
03:09:58.339412 ' '
03:09:58.349414 Received DATA (on stdin)
03:09:58.349474 > 1 bytes data, server => client
03:09:58.349504 ' '
03:09:58.359498 Received DATA (on stdin)
03:09:58.359560 > 1 bytes data, server => client
03:09:58.359589 ' '
03:09:58.369585 Received DATA (on stdin)
03:09:58.369643 > 1 bytes data, server => client
03:09:58.369668 '_'
03:09:58.379678 Received DATA (on stdin)
03:09:58.379747 > 1 bytes data, server => client
03:09:58.379790 '_'
03:09:58.389781 Received DATA (on stdin)
03:09:58.389840 > 1 bytes data, server => client
03:09:58.389868 '_'
03:09:58.399848 Received DATA (on stdin)
03:09:58.399902 > 1 bytes data, server => client
03:09:58.399928 '|'
03:09:58.409957 Received DATA (on stdin)
03:09:58.410019 > 1 bytes data, server => client
03:09:58.410046 ' '
03:09:58.420021 Received DATA (on stdin)
03:09:58.420083 > 1 bytes data, server => client
03:09:58.420125 '|'
03:09:58.430111 Received DATA (on stdin)
03:09:58.430164 > 1 bytes data, server => client
03:09:58.430206 ' '
03:09:58.440190 Received DATA (on stdin)
03:09:58.440248 > 1 bytes data, server => client
03:09:58.440276 '|'
03:09:58.450272 Received DATA (on stdin)
03:09:58.450330 > 1 bytes data, server => client
03:09:58.450363 ' '
03:09:58.460358 Received DATA (on stdin)
03:09:58.460445 > 1 bytes data, server => client
03:09:58.460478 '|'
03:09:58.470442 Received DATA (on stdin)
03:09:58.470495 > 1 bytes data, server => client
03:09:58.470523 ' '
03:09:58.480530 Received DATA (on stdin)
03:09:58.480592 > 1 bytes data, server => client
03:09:58.480636 ' '
03:09:58.490618 Received DATA (on stdin)
03:09:58.490664 > 1 bytes data, server => client
03:09:58.490689 '_'
03:09:58.500705 Received DATA (on stdin)
03:09:58.500742 > 1 bytes data, server => client
03:09:58.500765 ' '
03:09:58.510794 Received DATA (on stdin)
03:09:58.510833 > 1 bytes data, server => client
03:09:58.510856 '\'
03:09:58.520889 Received DATA (on stdin)
03:09:58.520945 > 1 bytes data, server => client
03:09:58.520975 '|'
03:09:58.530966 Received DATA (on stdin)
03:09:58.531016 > 1 bytes data, server => client
03:09:58.531047 ' '
03:09:58.541044 Received DATA (on stdin)
03:09:58.541104 > 1 bytes data, server => client
03:09:58.541134 '|'
03:09:58.551125 Received DATA (on stdin)
03:09:58.551172 > 1 bytes data, server => client
03:09:58.551203 ' '
03:09:58.561208 Received DATA (on stdin)
03:09:58.561256 > 1 bytes data, server => client
03:09:58.561285 ' '
03:09:58.571284 Received DATA (on stdin)
03:09:58.571333 > 1 bytes data, server => client
03:09:58.571359 ' '
03:09:58.581388 Received DATA (on stdin)
03:09:58.581447 > 1 bytes data, server => client
03:09:58.581475 ' '
03:09:58.591468 Received DATA (on stdin)
03:09:58.591535 > 1 bytes data, server => client
03:09:58.591562 '\r'
03:09:58.601546 Received DATA (on stdin)
03:09:58.601605 > 1 bytes data, server => client
03:09:58.601632 '\n'
03:09:58.611613 Received DATA (on stdin)
03:09:58.611674 > 1 bytes data, server => client
03:09:58.611703 '2'
03:09:58.621684 Received DATA (on stdin)
03:09:58.621726 > 1 bytes data, server => client
03:09:58.621753 '2'
03:09:58.631777 Received DATA (on stdin)
03:09:58.631822 > 1 bytes data, server => client
03:09:58.631853 '0'
03:09:58.641845 Received DATA (on stdin)
03:09:58.641884 > 1 bytes data, server => client
03:09:58.641906 '-'
03:09:58.651938 Received DATA (on stdin)
03:09:58.651985 > 1 bytes data, server => client
03:09:58.652015 ' '
03:09:58.662008 Received DATA (on stdin)
03:09:58.662071 > 1 bytes data, server => client
03:09:58.662114 ' '
03:09:58.672083 Received DATA (on stdin)
03:09:58.672125 > 1 bytes data, server => client
03:09:58.672169 ' '
03:09:58.682161 Received DATA (on stdin)
03:09:58.682209 > 1 bytes data, server => client
03:09:58.682237 '/'
03:09:58.692262 Received DATA (on stdin)
03:09:58.692323 > 1 bytes data, server => client
03:09:58.692351 ' '
03:09:58.702338 Received DATA (on stdin)
03:09:58.702397 > 1 bytes data, server => client
03:09:58.702425 '_'
03:09:58.712393 Received DATA (on stdin)
03:09:58.712467 > 1 bytes data, server => client
03:09:58.712504 '_'
03:09:58.722491 Received DATA (on stdin)
03:09:58.722550 > 1 bytes data, server => client
03:09:58.722577 '|'
03:09:58.732557 Received DATA (on stdin)
03:09:58.732636 > 1 bytes data, server => client
03:09:58.732666 ' '
03:09:58.742635 Received DATA (on stdin)
03:09:58.742686 > 1 bytes data, server => client
03:09:58.742716 '|'
03:09:58.752721 Received DATA (on stdin)
03:09:58.752766 > 1 bytes data, server => client
03:09:58.752797 ' '
03:09:58.762823 Received DATA (on stdin)
03:09:58.762873 > 1 bytes data, server => client
03:09:58.762902 '|'
03:09:58.772910 Received DATA (on stdin)
03:09:58.772953 > 1 bytes data, server => client
03:09:58.772977 ' '
03:09:58.782998 Received DATA (on stdin)
03:09:58.783036 > 1 bytes data, server => client
03:09:58.783059 '|'
03:09:58.793101 Received DATA (on stdin)
03:09:58.793142 > 1 bytes data, server => client
03:09:58.793173 ' '
03:09:58.803189 Received DATA (on stdin)
03:09:58.803231 > 1 bytes data, server => client
03:09:58.803262 '|'
03:09:58.813271 Received DATA (on stdin)
03:09:58.813315 > 1 bytes data, server => client
03:09:58.813342 '_'
03:09:58.823363 Received DATA (on stdin)
03:09:58.823405 > 1 bytes data, server => client
03:09:58.823436 ')'
03:09:58.833446 Received DATA (on stdin)
03:09:58.833503 > 1 bytes data, server => client
03:09:58.833531 ' '
03:09:58.843539 Received DATA (on stdin)
03:09:58.843587 > 1 bytes data, server => client
03:09:58.843630 '|'
03:09:58.853622 Received DATA (on stdin)
03:09:58.853664 > 1 bytes data, server => client
03:09:58.853703 ' '
03:09:58.863703 Received DATA (on stdin)
03:09:58.863754 > 1 bytes data, server => client
03:09:58.863782 '|'
03:09:58.873794 Received DATA (on stdin)
03:09:58.873838 > 1 bytes data, server => client
03:09:58.873868 ' '
03:09:58.883869 Received DATA (on stdin)
03:09:58.883920 > 1 bytes data, server => client
03:09:58.883946 ' '
03:09:58.893948 Received DATA (on stdin)
03:09:58.893998 > 1 bytes data, server => client
03:09:58.894027 ' '
03:09:58.904031 Received DATA (on stdin)
03:09:58.904070 > 1 bytes data, server => client
03:09:58.904092 ' '
03:09:58.914106 Received DATA (on stdin)
03:09:58.914142 > 1 bytes data, server => client
03:09:58.914164 '\r'
03:09:58.924190 Received DATA (on stdin)
03:09:58.924229 > 1 bytes data, server => client
03:09:58.924252 '\n'
03:09:58.934313 Received DATA (on stdin)
03:09:58.934373 > 1 bytes data, server => client
03:09:58.934400 '2'
03:09:58.944396 Received DATA (on stdin)
03:09:58.944466 > 1 bytes data, server => client
03:09:58.944492 '2'
03:09:58.954476 Received DATA (on stdin)
03:09:58.954537 > 1 bytes data, server => client
03:09:58.954564 '0'
03:09:58.964538 Received DATA (on stdin)
03:09:58.964595 > 1 bytes data, server => client
03:09:58.964621 '-'
03:09:58.974620 Received DATA (on stdin)
03:09:58.974673 > 1 bytes data, server => client
03:09:58.974699 ' '
03:09:58.984701 Received DATA (on stdin)
03:09:58.984759 > 1 bytes data, server => client
03:09:58.984785 ' '
03:09:58.994782 Received DATA (on stdin)
03:09:58.994836 > 1 bytes data, server => client
03:09:58.994862 '|'
03:09:59.004883 Received DATA (on stdin)
03:09:59.004967 > 1 bytes data, server => client
03:09:59.005014 ' '
03:09:59.014977 Received DATA (on stdin)
03:09:59.015038 > 1 bytes data, server => client
03:09:59.015065 '('
03:09:59.025057 Received DATA (on stdin)
03:09:59.025098 > 1 bytes data, server => client
03:09:59.025121 '_'
03:09:59.035158 Received DATA (on stdin)
03:09:59.035217 > 1 bytes data, server => client
03:09:59.035256 '_'
03:09:59.045257 Received DATA (on stdin)
03:09:59.045315 > 1 bytes data, server => client
03:09:59.045344 '|'
03:09:59.055351 Received DATA (on stdin)
03:09:59.055410 > 1 bytes data, server => client
03:09:59.055439 ' '
03:09:59.065439 Received DATA (on stdin)
03:09:59.065499 > 1 bytes data, server => client
03:09:59.065526 '|'
03:09:59.075529 Received DATA (on stdin)
03:09:59.075587 > 1 bytes data, server => client
03:09:59.075615 '_'
03:09:59.085623 Received DATA (on stdin)
03:09:59.085681 > 1 bytes data, server => client
03:09:59.085708 '|'
03:09:59.095716 Received DATA (on stdin)
03:09:59.095774 > 1 bytes data, server => client
03:09:59.095802 ' '
03:09:59.105809 Received DATA (on stdin)
03:09:59.105867 > 1 bytes data, server => client
03:09:59.105895 '|'
03:09:59.115902 Received DATA (on stdin)
03:09:59.115960 > 1 bytes data, server => client
03:09:59.115988 ' '
03:09:59.125995 Received DATA (on stdin)
03:09:59.126053 > 1 bytes data, server => client
03:09:59.126081 ' '
03:09:59.136090 Received DATA (on stdin)
03:09:59.136149 > 1 bytes data, server => client
03:09:59.136176 '_'
03:09:59.146183 Received DATA (on stdin)
03:09:59.146241 > 1 bytes data, server => client
03:09:59.146269 ' '
03:09:59.156277 Received DATA (on stdin)
03:09:59.156335 > 1 bytes data, server => client
03:09:59.156363 '{'
03:09:59.166372 Received DATA (on stdin)
03:09:59.166430 > 1 bytes data, server => client
03:09:59.166458 '|'
03:09:59.176477 Received DATA (on stdin)
03:09:59.176535 > 1 bytes data, server => client
03:09:59.176563 ' '
03:09:59.186570 Received DATA (on stdin)
03:09:59.186628 > 1 bytes data, server => client
03:09:59.186656 '|'
03:09:59.196651 Received DATA (on stdin)
03:09:59.196709 > 1 bytes data, server => client
03:09:59.196737 '_'
03:09:59.206726 Received DATA (on stdin)
03:09:59.206785 > 1 bytes data, server => client
03:09:59.206826 '_'
03:09:59.216795 Received DATA (on stdin)
03:09:59.216853 > 1 bytes data, server => client
03:09:59.216881 '_'
03:09:59.226872 Received DATA (on stdin)
03:09:59.226931 > 1 bytes data, server => client
03:09:59.226959 ' '
03:09:59.236979 Received DATA (on stdin)
03:09:59.237059 > 1 bytes data, server => client
03:09:59.237085 '\r'
03:09:59.247079 Received DATA (on stdin)
03:09:59.247140 > 1 bytes data, server => client
03:09:59.247168 '\n'
03:09:59.257180 Received DATA (on stdin)
03:09:59.257241 > 1 bytes data, server => client
03:09:59.257269 '2'
03:09:59.267277 Received DATA (on stdin)
03:09:59.267339 > 1 bytes data, server => client
03:09:59.267366 '2'
03:09:59.277347 Received DATA (on stdin)
03:09:59.277407 > 1 bytes data, server => client
03:09:59.277433 '0'
03:09:59.287429 Received DATA (on stdin)
03:09:59.287467 > 1 bytes data, server => client
03:09:59.287490 ' '
03:09:59.297523 Received DATA (on stdin)
03:09:59.297558 > 1 bytes data, server => client
03:09:59.297581 ' '
03:09:59.307619 Received DATA (on stdin)
03:09:59.307658 > 1 bytes data, server => client
03:09:59.307682 ' '
03:09:59.317712 Received DATA (on stdin)
03:09:59.317748 > 1 bytes data, server => client
03:09:59.317770 ' '
03:09:59.327805 Received DATA (on stdin)
03:09:59.327846 > 1 bytes data, server => client
03:09:59.327868 '\'
03:09:59.337900 Received DATA (on stdin)
03:09:59.337935 > 1 bytes data, server => client
03:09:59.337962 '_'
03:09:59.347995 Received DATA (on stdin)
03:09:59.348028 > 1 bytes data, server => client
03:09:59.348050 '_'
03:09:59.358089 Received DATA (on stdin)
03:09:59.358129 > 1 bytes data, server => client
03:09:59.358151 '_'
03:09:59.368182 Received DATA (on stdin)
03:09:59.368215 > 1 bytes data, server => client
03:09:59.368237 '|'
03:09:59.378279 Received DATA (on stdin)
03:09:59.378338 > 1 bytes data, server => client
03:09:59.378365 '\'
03:09:59.388371 Received DATA (on stdin)
03:09:59.388413 > 1 bytes data, server => client
03:09:59.388439 '_'
03:09:59.398467 Received DATA (on stdin)
03:09:59.398500 > 1 bytes data, server => client
03:09:59.398522 '_'
03:09:59.408551 Received DATA (on stdin)
03:09:59.408587 > 1 bytes data, server => client
03:09:59.408609 '_'
03:09:59.418642 Received DATA (on stdin)
03:09:59.418676 > 1 bytes data, server => client
03:09:59.418699 '/'
03:09:59.428756 Received DATA (on stdin)
03:09:59.428815 > 1 bytes data, server => client
03:09:59.428843 '|'
03:09:59.438825 Received DATA (on stdin)
03:09:59.438882 > 1 bytes data, server => client
03:09:59.438915 '_'
03:09:59.448915 Received DATA (on stdin)
03:09:59.448955 > 1 bytes data, server => client
03:09:59.448978 '|'
03:09:59.459014 Received DATA (on stdin)
03:09:59.459067 > 1 bytes data, server => client
03:09:59.459093 ' '
03:09:59.469102 Received DATA (on stdin)
03:09:59.469140 > 1 bytes data, server => client
03:09:59.469162 '\'
03:09:59.479199 Received DATA (on stdin)
03:09:59.479253 > 1 bytes data, server => client
03:09:59.479278 '_'
03:09:59.489291 Received DATA (on stdin)
03:09:59.489331 > 1 bytes data, server => client
03:09:59.489354 '\'
03:09:59.499391 Received DATA (on stdin)
03:09:59.499444 > 1 bytes data, server => client
03:09:59.499470 '_'
03:09:59.509508 Received DATA (on stdin)
03:09:59.509570 > 1 bytes data, server => client
03:09:59.509598 '_'
03:09:59.519578 Received DATA (on stdin)
03:09:59.519633 > 1 bytes data, server => client
03:09:59.519658 '_'
03:09:59.529697 Received DATA (on stdin)
03:09:59.529756 > 1 bytes data, server => client
03:09:59.529784 '_'
03:09:59.539793 Received DATA (on stdin)
03:09:59.539853 > 1 bytes data, server => client
03:09:59.539882 '_'
03:09:59.549886 Received DATA (on stdin)
03:09:59.549946 > 1 bytes data, server => client
03:09:59.549974 '|'
03:09:59.559956 Received DATA (on stdin)
03:09:59.560010 > 1 bytes data, server => client
03:09:59.560042 '\r'
03:09:59.570047 Received DATA (on stdin)
03:09:59.570081 > 1 bytes data, server => client
03:09:59.570103 '\n'
03:09:59.588261 < 16 bytes data, client => server
03:09:59.588284 'USER anonymous\r\n'
03:09:59.588456 Received DATA (on stdin)
03:09:59.588479 > 1 bytes data, server => client
03:09:59.588492 '3'
03:09:59.598553 Received DATA (on stdin)
03:09:59.598603 > 1 bytes data, server => client
03:09:59.598623 '3'
03:09:59.608660 Received DATA (on stdin)
03:09:59.608722 > 1 bytes data, server => client
03:09:59.608747 '1'
03:09:59.618751 Received DATA (on stdin)
03:09:59.618813 > 1 bytes data, server => client
03:09:59.618838 ' '
03:09:59.628845 Received DATA (on stdin)
03:09:59.628904 > 1 bytes data, server => client
03:09:59.628932 'O'
03:09:59.638941 Received DATA (on stdin)
03:09:59.638999 > 1 bytes data, server => client
03:09:59.639027 'K'
03:09:59.649036 Received DATA (on stdin)
03:09:59.649095 > 1 bytes data, server => client
03:09:59.649123 '\r'
03:09:59.659132 Received DATA (on stdin)
03:09:59.659191 > 1 bytes data, server => client
03:09:59.659219 '\n'
03:09:59.663520 < 22 bytes data, client => server
03:09:59.663580 'PASS ftp@example.com\r\n'
03:09:59.669482 Received DATA (on stdin)
03:09:59.669541 > 1 bytes data, server => client
03:09:59.669569 '2'
03:09:59.679571 Received DATA (on stdin)
03:09:59.679630 > 1 bytes data, server => client
03:09:59.679658 '3'
03:09:59.689664 Received DATA (on stdin)
03:09:59.689723 > 1 bytes data, server => client
03:09:59.689751 '0'
03:09:59.699760 Received DATA (on stdin)
03:09:59.699819 > 1 bytes data, server => client
03:09:59.699846 ' '
03:09:59.709852 Received DATA (on stdin)
03:09:59.709912 > 1 bytes data, server => client
03:09:59.709940 'O'
03:09:59.719945 Received DATA (on stdin)
03:09:59.720004 > 1 bytes data, server => client
03:09:59.720032 'K'
03:09:59.730031 Received DATA (on stdin)
03:09:59.730090 > 1 bytes data, server => client
03:09:59.730117 '\r'
03:09:59.740109 Received DATA (on stdin)
03:09:59.740168 > 1 bytes data, server => client
03:09:59.740195 '\n'
03:09:59.743047 < 8 bytes data, client => server
03:09:59.743103 'PBSZ 0\r\n'
03:09:59.750451 Received DATA (on stdin)
03:09:59.750513 > 1 bytes data, server => client
03:09:59.750540 '5'
03:09:59.760524 Received DATA (on stdin)
03:09:59.760585 > 1 bytes data, server => client
03:09:59.760612 '0'
03:09:59.770595 Received DATA (on stdin)
03:09:59.770654 > 1 bytes data, server => client
03:09:59.770682 '0'
03:09:59.780666 Received DATA (on stdin)
03:09:59.780725 > 1 bytes data, server => client
03:09:59.780753 ' '
03:09:59.790738 Received DATA (on stdin)
03:09:59.790797 > 1 bytes data, server => client
03:09:59.790826 'P'
03:09:59.800807 Received DATA (on stdin)
03:09:59.800868 > 1 bytes data, server => client
03:09:59.800896 'B'
03:09:59.810881 Received DATA (on stdin)
03:09:59.810941 > 1 bytes data, server => client
03:09:59.810969 'S'
03:09:59.820951 Received DATA (on stdin)
03:09:59.821012 > 1 bytes data, server => client
03:09:59.821040 'Z'
03:09:59.831022 Received DATA (on stdin)
03:09:59.831082 > 1 bytes data, server => client
03:09:59.831110 ' '
03:09:59.841096 Received DATA (on stdin)
03:09:59.841157 > 1 bytes data, server => client
03:09:59.841185 'n'
03:09:59.851168 Received DATA (on stdin)
03:09:59.851229 > 1 bytes data, server => client
03:09:59.851257 'o'
03:09:59.861242 Received DATA (on stdin)
03:09:59.861303 > 1 bytes data, server => client
03:09:59.861331 't'
03:09:59.871315 Received DATA (on stdin)
03:09:59.871376 > 1 bytes data, server => client
03:09:59.871404 ' '
03:09:59.881388 Received DATA (on stdin)
03:09:59.881450 > 1 bytes data, server => client
03:09:59.881477 'i'
03:09:59.891460 Received DATA (on stdin)
03:09:59.891520 > 1 bytes data, server => client
03:09:59.891548 'm'
03:09:59.901531 Received DATA (on stdin)
03:09:59.901590 > 1 bytes data, server => client
03:09:59.901618 'p'
03:09:59.911605 Received DATA (on stdin)
03:09:59.911665 > 1 bytes data, server => client
03:09:59.911693 'l'
03:09:59.921681 Received DATA (on stdin)
03:09:59.921740 > 1 bytes data, server => client
03:09:59.921768 'e'
03:09:59.931753 Received DATA (on stdin)
03:09:59.931812 > 1 bytes data, server => client
03:09:59.931841 'm'
03:09:59.941824 Received DATA (on stdin)
03:09:59.941883 > 1 bytes data, server => client
03:09:59.941924 'e'
03:09:59.951894 Received DATA (on stdin)
03:09:59.951953 > 1 bytes data, server => client
03:09:59.951981 'n'
03:09:59.961967 Received DATA (on stdin)
03:09:59.962026 > 1 bytes data, server => client
03:09:59.962054 't'
03:09:59.972037 Received DATA (on stdin)
03:09:59.972097 > 1 bytes data, server => client
03:09:59.972125 'e'
03:09:59.982109 Received DATA (on stdin)
03:09:59.982168 > 1 bytes data, server => client
03:09:59.982196 'd'
03:09:59.992180 Received DATA (on stdin)
03:09:59.992239 > 1 bytes data, server => client
03:09:59.992266 '\r'
03:10:00.002253 Received DATA (on stdin)
03:10:00.002316 > 1 bytes data, server => client
03:10:00.002343 '\n'
03:10:00.005166 < 8 bytes data, client => server
03:10:00.005226 'PROT C\r\n'
03:10:00.012662 Received DATA (on stdin)
03:10:00.012724 > 1 bytes data, server => client
03:10:00.012752 '5'
03:10:00.022763 Received DATA (on stdin)
03:10:00.022823 > 1 bytes data, server => client
03:10:00.022851 '0'
03:10:00.032850 Received DATA (on stdin)
03:10:00.032910 > 1 bytes data, server => client
03:10:00.032938 '0'
03:10:00.042942 Received DATA (on stdin)
03:10:00.043002 > 1 bytes data, server => client
03:10:00.043030 ' '
03:10:00.053027 Received DATA (on stdin)
03:10:00.053086 > 1 bytes data, server => client
03:10:00.053114 'P'
03:10:00.063119 Received DATA (on stdin)
03:10:00.063179 > 1 bytes data, server => client
03:10:00.063207 'R'
03:10:00.073214 Received DATA (on stdin)
03:10:00.073275 > 1 bytes data, server => client
03:10:00.073303 'O'
03:10:00.083309 Received DATA (on stdin)
03:10:00.083368 > 1 bytes data, server => client
03:10:00.083396 'T'
03:10:00.093405 Received DATA (on stdin)
03:10:00.093463 > 1 bytes data, server => client
03:10:00.093492 ' '
03:10:00.103501 Received DATA (on stdin)
03:10:00.103559 > 1 bytes data, server => client
03:10:00.103588 'n'
03:10:00.113597 Received DATA (on stdin)
03:10:00.113655 > 1 bytes data, server => client
03:10:00.113683 'o'
03:10:00.123692 Received DATA (on stdin)
03:10:00.123750 > 1 bytes data, server => client
03:10:00.123778 't'
03:10:00.133787 Received DATA (on stdin)
03:10:00.133845 > 1 bytes data, server => client
03:10:00.133874 ' '
03:10:00.143883 Received DATA (on stdin)
03:10:00.143941 > 1 bytes data, server => client
03:10:00.143970 'i'
03:10:00.153979 Received DATA (on stdin)
03:10:00.154037 > 1 bytes data, server => client
03:10:00.154065 'm'
03:10:00.164073 Received DATA (on stdin)
03:10:00.164131 > 1 bytes data, server => client
03:10:00.164159 'p'
03:10:00.174165 Received DATA (on stdin)
03:10:00.174223 > 1 bytes data, server => client
03:10:00.174251 'l'
03:10:00.184260 Received DATA (on stdin)
03:10:00.184318 > 1 bytes data, server => client
03:10:00.184346 'e'
03:10:00.194353 Received DATA (on stdin)
03:10:00.194411 > 1 bytes data, server => client
03:10:00.194439 'm'
03:10:00.204443 Received DATA (on stdin)
03:10:00.204500 > 1 bytes data, server => client
03:10:00.204526 'e'
03:10:00.214554 Received DATA (on stdin)
03:10:00.214612 > 1 bytes data, server => client
03:10:00.214640 'n'
03:10:00.224650 Received DATA (on stdin)
03:10:00.224708 > 1 bytes data, server => client
03:10:00.224736 't'
03:10:00.234745 Received DATA (on stdin)
03:10:00.234804 > 1 bytes data, server => client
03:10:00.234832 'e'
03:10:00.244841 Received DATA (on stdin)
03:10:00.244899 > 1 bytes data, server => client
03:10:00.244927 'd'
03:10:00.254937 Received DATA (on stdin)
03:10:00.254995 > 1 bytes data, server => client
03:10:00.255023 '\r'
03:10:00.265033 Received DATA (on stdin)
03:10:00.265091 > 1 bytes data, server => client
03:10:00.265119 '\n'
03:10:00.268189 < 5 bytes data, client => server
03:10:00.268242 'PWD\r\n'
03:10:00.275402 Received DATA (on stdin)
03:10:00.275462 > 1 bytes data, server => client
03:10:00.275490 '2'
03:10:00.285492 Received DATA (on stdin)
03:10:00.285552 > 1 bytes data, server => client
03:10:00.285580 '5'
03:10:00.295585 Received DATA (on stdin)
03:10:00.295644 > 1 bytes data, server => client
03:10:00.295672 '7'
03:10:00.305681 Received DATA (on stdin)
03:10:00.305740 > 1 bytes data, server => client
03:10:00.305782 ' '
03:10:00.315776 Received DATA (on stdin)
03:10:00.315836 > 1 bytes data, server => client
03:10:00.315864 '"'
03:10:00.325872 Received DATA (on stdin)
03:10:00.325931 > 1 bytes data, server => client
03:10:00.325959 '/'
03:10:00.335968 Received DATA (on stdin)
03:10:00.336027 > 1 bytes data, server => client
03:10:00.336054 '"'
03:10:00.346049 Received DATA (on stdin)
03:10:00.346119 > 1 bytes data, server => client
03:10:00.346157 '\r'
03:10:00.356163 Received DATA (on stdin)
03:10:00.356221 > 1 bytes data, server => client
03:10:00.356249 '\n'
03:10:00.373229 < 6 bytes data, client => server
03:10:00.373251 'EPSV\r\n'
03:10:00.375202 Received DATA (on stdin)
03:10:00.375226 > 1 bytes data, server => client
03:10:00.375239 '2'
03:10:00.385295 Received DATA (on stdin)
03:10:00.385353 > 1 bytes data, server => client
03:10:00.385380 '2'
03:10:00.395400 Received DATA (on stdin)
03:10:00.395462 > 1 bytes data, server => client
03:10:00.395487 '9'
03:10:00.405493 Received DATA (on stdin)
03:10:00.405551 > 1 bytes data, server => client
03:10:00.405579 ' '
03:10:00.415589 Received DATA (on stdin)
03:10:00.415647 > 1 bytes data, server => client
03:10:00.415675 'E'
03:10:00.425685 Received DATA (on stdin)
03:10:00.425745 > 1 bytes data, server => client
03:10:00.425772 'n'
03:10:00.435781 Received DATA (on stdin)
03:10:00.435841 > 1 bytes data, server => client
03:10:00.435868 't'
03:10:00.445864 Received DATA (on stdin)
03:10:00.445923 > 1 bytes data, server => client
03:10:00.445951 'e'
03:10:00.455958 Received DATA (on stdin)
03:10:00.456016 > 1 bytes data, server => client
03:10:00.456044 'r'
03:10:00.466053 Received DATA (on stdin)
03:10:00.466111 > 1 bytes data, server => client
03:10:00.466139 'i'
03:10:00.476149 Received DATA (on stdin)
03:10:00.476207 > 1 bytes data, server => client
03:10:00.476235 'n'
03:10:00.486245 Received DATA (on stdin)
03:10:00.486303 > 1 bytes data, server => client
03:10:00.486331 'g'
03:10:00.496341 Received DATA (on stdin)
03:10:00.496399 > 1 bytes data, server => client
03:10:00.496440 ' '
03:10:00.506436 Received DATA (on stdin)
03:10:00.506494 > 1 bytes data, server => client
03:10:00.506521 'P'
03:10:00.516523 Received DATA (on stdin)
03:10:00.516582 > 1 bytes data, server => client
03:10:00.516609 'a'
03:10:00.526603 Received DATA (on stdin)
03:10:00.526661 > 1 bytes data, server => client
03:10:00.526688 's'
03:10:00.536695 Received DATA (on stdin)
03:10:00.536753 > 1 bytes data, server => client
03:10:00.536781 's'
03:10:00.546790 Received DATA (on stdin)
03:10:00.546848 > 1 bytes data, server => client
03:10:00.546876 'i'
03:10:00.556886 Received DATA (on stdin)
03:10:00.556944 > 1 bytes data, server => client
03:10:00.556972 'v'
03:10:00.566983 Received DATA (on stdin)
03:10:00.567041 > 1 bytes data, server => client
03:10:00.567069 'e'
03:10:00.577074 Received DATA (on stdin)
03:10:00.577132 > 1 bytes data, server => client
03:10:00.577160 ' '
03:10:00.587170 Received DATA (on stdin)
03:10:00.587229 > 1 bytes data, server => client
03:10:00.587256 'M'
03:10:00.597266 Received DATA (on stdin)
03:10:00.597325 > 1 bytes data, server => client
03:10:00.597352 'o'
03:10:00.607362 Received DATA (on stdin)
03:10:00.607421 > 1 bytes data, server => client
03:10:00.607448 'd'
03:10:00.617458 Received DATA (on stdin)
03:10:00.617516 > 1 bytes data, server => client
03:10:00.617544 'e'
03:10:00.627550 Received DATA (on stdin)
03:10:00.627608 > 1 bytes data, server => client
03:10:00.627636 ' '
03:10:00.637646 Received DATA (on stdin)
03:10:00.637705 > 1 bytes data, server => client
03:10:00.637732 '('
03:10:00.647742 Received DATA (on stdin)
03:10:00.647800 > 1 bytes data, server => client
03:10:00.647827 '|'
03:10:00.657838 Received DATA (on stdin)
03:10:00.657896 > 1 bytes data, server => client
03:10:00.657924 '|'
03:10:00.667933 Received DATA (on stdin)
03:10:00.667992 > 1 bytes data, server => client
03:10:00.668019 '|'
03:10:00.678026 Received DATA (on stdin)
03:10:00.678084 > 1 bytes data, server => client
03:10:00.678112 '3'
03:10:00.688122 Received DATA (on stdin)
03:10:00.688181 > 1 bytes data, server => client
03:10:00.688208 '5'
03:10:00.698218 Received DATA (on stdin)
03:10:00.698276 > 1 bytes data, server => client
03:10:00.698304 '7'
03:10:00.708314 Received DATA (on stdin)
03:10:00.708372 > 1 bytes data, server => client
03:10:00.708400 '4'
03:10:00.718409 Received DATA (on stdin)
03:10:00.718468 > 1 bytes data, server => client
03:10:00.718495 '3'
03:10:00.728483 Received DATA (on stdin)
03:10:00.728542 > 1 bytes data, server => client
03:10:00.728569 '|'
03:10:00.738578 Received DATA (on stdin)
03:10:00.738636 > 1 bytes data, server => client
03:10:00.738664 ')'
03:10:00.748673 Received DATA (on stdin)
03:10:00.748732 > 1 bytes data, server => client
03:10:00.748759 '\n'
03:10:00.770487 < 8 bytes data, client => server
03:10:00.770510 'TYPE I\r\n'
03:10:00.770643 Received DATA (on stdin)
03:10:00.770667 > 1 bytes data, server => client
03:10:00.770680 '2'
03:10:00.780739 Received DATA (on stdin)
03:10:00.780789 > 1 bytes data, server => client
03:10:00.780809 '0'
03:10:00.790842 Received DATA (on stdin)
03:10:00.790905 > 1 bytes data, server => client
03:10:00.790930 '0'
03:10:00.800940 Received DATA (on stdin)
03:10:00.800998 > 1 bytes data, server => client
03:10:00.801025 ' '
03:10:00.811035 Received DATA (on stdin)
03:10:00.811094 > 1 bytes data, server => client
03:10:00.811122 'O'
03:10:00.821110 Received DATA (on stdin)
03:10:00.821168 > 1 bytes data, server => client
03:10:00.821194 'K'
03:10:00.831222 Received DATA (on stdin)
03:10:00.831281 > 1 bytes data, server => client
03:10:00.831309 '\r'
03:10:00.841318 Received DATA (on stdin)
03:10:00.841384 > 1 bytes data, server => client
03:10:00.841423 '\n'
03:10:00.845324 < 11 bytes data, client => server
03:10:00.845382 'SIZE 1112\r\n'
03:10:00.852306 Received DATA (on stdin)
03:10:00.852367 > 1 bytes data, server => client
03:10:00.852395 '2'
03:10:00.862396 Received DATA (on stdin)
03:10:00.862456 > 1 bytes data, server => client
03:10:00.862484 '1'
03:10:00.872480 Received DATA (on stdin)
03:10:00.872539 > 1 bytes data, server => client
03:10:00.872567 '3'
03:10:00.882564 Received DATA (on stdin)
03:10:00.882624 > 1 bytes data, server => client
03:10:00.882652 ' '
03:10:00.892656 Received DATA (on stdin)
03:10:00.892715 > 1 bytes data, server => client
03:10:00.892743 '3'
03:10:00.902751 Received DATA (on stdin)
03:10:00.902810 > 1 bytes data, server => client
03:10:00.902838 '6'
03:10:00.912847 Received DATA (on stdin)
03:10:00.912906 > 1 bytes data, server => client
03:10:00.912934 '0'
03:10:00.922940 Received DATA (on stdin)
03:10:00.922999 > 1 bytes data, server => client
03:10:00.923027 '0'
03:10:00.933036 Received DATA (on stdin)
03:10:00.933095 > 1 bytes data, server => client
03:10:00.933122 '\r'
03:10:00.943122 Received DATA (on stdin)
03:10:00.943182 > 1 bytes data, server => client
03:10:00.943210 '\n'
03:10:00.948754 < 11 bytes data, client => server
03:10:00.948812 'RETR 1112\r\n'
03:10:00.953964 Received DATA (on stdin)
03:10:00.954022 > 1 bytes data, server => client
03:10:00.954051 '1'
03:10:00.964046 Received DATA (on stdin)
03:10:00.964107 > 1 bytes data, server => client
03:10:00.964135 '5'
03:10:00.974138 Received DATA (on stdin)
03:10:00.974197 > 1 bytes data, server => client
03:10:00.974225 '0'
03:10:00.984231 Received DATA (on stdin)
03:10:00.984290 > 1 bytes data, server => client
03:10:00.984318 ' '
03:10:00.994324 Received DATA (on stdin)
03:10:00.994383 > 1 bytes data, server => client
03:10:00.994411 'B'
03:10:01.004397 Received DATA (on stdin)
03:10:01.004472 > 1 bytes data, server => client
03:10:01.004512 'i'
03:10:01.014519 Received DATA (on stdin)
03:10:01.014585 > 1 bytes data, server => client
03:10:01.014613 'n'
03:10:01.024606 Received DATA (on stdin)
03:10:01.024667 > 1 bytes data, server => client
03:10:01.024695 'a'
03:10:01.034701 Received DATA (on stdin)
03:10:01.034761 > 1 bytes data, server => client
03:10:01.034790 'r'
03:10:01.044799 Received DATA (on stdin)
03:10:01.044858 > 1 bytes data, server => client
03:10:01.044887 'y'
03:10:01.054895 Received DATA (on stdin)
03:10:01.054955 > 1 bytes data, server => client
03:10:01.054983 ' '
03:10:01.064991 Received DATA (on stdin)
03:10:01.065050 > 1 bytes data, server => client
03:10:01.065078 'd'
03:10:01.075087 Received DATA (on stdin)
03:10:01.075146 > 1 bytes data, server => client
03:10:01.075174 'a'
03:10:01.085184 Received DATA (on stdin)
03:10:01.085243 > 1 bytes data, server => client
03:10:01.085271 't'
03:10:01.095279 Received DATA (on stdin)
03:10:01.095337 > 1 bytes data, server => client
03:10:01.095366 'a'
03:10:01.105376 Received DATA (on stdin)
03:10:01.105435 > 1 bytes data, server => client
03:10:01.105463 ' '
03:10:01.115472 Received DATA (on stdin)
03:10:01.115531 > 1 bytes data, server => client
03:10:01.115559 'c'
03:10:01.125567 Received DATA (on stdin)
03:10:01.125626 > 1 bytes data, server => client
03:10:01.125654 'o'
03:10:01.135662 Received DATA (on stdin)
03:10:01.135721 > 1 bytes data, server => client
03:10:01.135749 'n'
03:10:01.145758 Received DATA (on stdin)
03:10:01.145817 > 1 bytes data, server => client
03:10:01.145845 'n'
03:10:01.155854 Received DATA (on stdin)
03:10:01.155913 > 1 bytes data, server => client
03:10:01.155941 'e'
03:10:01.165950 Received DATA (on stdin)
03:10:01.166009 > 1 bytes data, server => client
03:10:01.166037 'c'
03:10:01.176046 Received DATA (on stdin)
03:10:01.176105 > 1 bytes data, server => client
03:10:01.176133 't'
03:10:01.186142 Received DATA (on stdin)
03:10:01.186201 > 1 bytes data, server => client
03:10:01.186229 'i'
03:10:01.196238 Received DATA (on stdin)
03:10:01.196297 > 1 bytes data, server => client
03:10:01.196325 'o'
03:10:01.206334 Received DATA (on stdin)
03:10:01.206393 > 1 bytes data, server => client
03:10:01.206421 'n'
03:10:01.216426 Received DATA (on stdin)
03:10:01.216485 > 1 bytes data, server => client
03:10:01.216511 ' '
03:10:01.226526 Received DATA (on stdin)
03:10:01.226588 > 1 bytes data, server => client
03:10:01.226627 'f'
03:10:01.236614 Received DATA (on stdin)
03:10:01.236673 > 1 bytes data, server => client
03:10:01.236701 'o'
03:10:01.246709 Received DATA (on stdin)
03:10:01.246768 > 1 bytes data, server => client
03:10:01.246796 'r'
03:10:01.256805 Received DATA (on stdin)
03:10:01.256864 > 1 bytes data, server => client
03:10:01.256892 ' '
03:10:01.266898 Received DATA (on stdin)
03:10:01.266957 > 1 bytes data, server => client
03:10:01.266985 '1'
03:10:01.276994 Received DATA (on stdin)
03:10:01.277053 > 1 bytes data, server => client
03:10:01.277081 '1'
03:10:01.287089 Received DATA (on stdin)
03:10:01.287147 > 1 bytes data, server => client
03:10:01.287176 '1'
03:10:01.297185 Received DATA (on stdin)
03:10:01.297244 > 1 bytes data, server => client
03:10:01.297272 '2'
03:10:01.307281 Received DATA (on stdin)
03:10:01.307340 > 1 bytes data, server => client
03:10:01.307381 ' '
03:10:01.317376 Received DATA (on stdin)
03:10:01.317436 > 1 bytes data, server => client
03:10:01.317464 '('
03:10:01.327472 Received DATA (on stdin)
03:10:01.327531 > 1 bytes data, server => client
03:10:01.327559 ')'
03:10:01.337568 Received DATA (on stdin)
03:10:01.337627 > 1 bytes data, server => client
03:10:01.337656 ' '
03:10:01.347663 Received DATA (on stdin)
03:10:01.347722 > 1 bytes data, server => client
03:10:01.347751 '('
03:10:01.357759 Received DATA (on stdin)
03:10:01.357818 > 1 bytes data, server => client
03:10:01.357846 '3'
03:10:01.367855 Received DATA (on stdin)
03:10:01.367913 > 1 bytes data, server => client
03:10:01.367941 '6'
03:10:01.377950 Received DATA (on stdin)
03:10:01.378009 > 1 bytes data, server => client
03:10:01.378037 '0'
03:10:01.388046 Received DATA (on stdin)
03:10:01.388104 > 1 bytes data, server => client
03:10:01.388132 '0'
03:10:01.398141 Received DATA (on stdin)
03:10:01.398200 > 1 bytes data, server => client
03:10:01.398228 ' '
03:10:01.408236 Received DATA (on stdin)
03:10:01.408296 > 1 bytes data, server => client
03:10:01.408323 'b'
03:10:01.418332 Received DATA (on stdin)
03:10:01.418391 > 1 bytes data, server => client
03:10:01.418419 'y'
03:10:01.428397 Received DATA (on stdin)
03:10:01.428474 > 1 bytes data, server => client
03:10:01.428501 't'
03:10:01.438515 Received DATA (on stdin)
03:10:01.438574 > 1 bytes data, server => client
03:10:01.438602 'e'
03:10:01.448603 Received DATA (on stdin)
03:10:01.448661 > 1 bytes data, server => client
03:10:01.448690 's'
03:10:01.458697 Received DATA (on stdin)
03:10:01.458755 > 1 bytes data, server => client
03:10:01.458783 ')'
03:10:01.468792 Received DATA (on stdin)
03:10:01.468851 > 1 bytes data, server => client
03:10:01.468879 '.'
03:10:01.478879 Received DATA (on stdin)
03:10:01.478938 > 1 bytes data, server => client
03:10:01.478965 '\r'
03:10:01.488975 Received DATA (on stdin)
03:10:01.489034 > 1 bytes data, server => client
03:10:01.489062 '\n'
03:10:11.938694 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:09:53.970576 Running IPv4 version
03:09:53.970695 Listening on port 40927
03:09:53.970739 Wrote pid 21921 to ./.ftp_sockdata.pid
03:09:53.970764 Received PING (on stdin)
03:09:53.970949 Received PORT (on stdin)
03:09:53.971630 ====> Client connect
03:09:53.973231 Received DATA (on stdin)
03:09:53.973274 > 17 bytes data, server => client
03:09:53.973298 'WE ROOLZ: 21822\r\n'
03:09:53.973341 Received DISC (on stdin)
03:09:53.973365 ====> Client forcibly disconnected
03:09:53.973406 Received QUIT (on stdin)
03:09:53.973427 quits
03:09:53.973451 ============> sockfilt quits
03:09:59.374893 Running IPv4 version
03:09:59.374957 Listening on port 35743
03:09:59.374996 Wrote pid 21926 to ./.ftp_sockdata.pid
03:09:59.375011 Received PING (on stdin)
03:09:59.375075 Received PORT (on stdin)
03:09:59.764603 ====> Client connect
03:10:00.499259 Received DATA (on stdin)
03:10:00.499328 > 1 bytes data, server => client
03:10:00.499356 'L'
03:10:00.509323 Received DATA (on stdin)
03:10:00.509351 > 1 bytes data, server => client
03:10:00.509365 'o'
03:10:00.519419 Received DATA (on stdin)
03:10:00.519461 > 1 bytes data, server => client
03:10:00.519484 'n'
03:10:00.529518 Received DATA (on stdin)
03:10:00.529575 > 1 bytes data, server => client
03:10:00.529597 'g'
03:10:00.539614 Received DATA (on stdin)
03:10:00.539681 > 1 bytes data, server => client
03:10:00.539707 ' '
03:10:00.549710 Received DATA (on stdin)
03:10:00.549770 > 1 bytes data, server => client
03:10:00.549798 'c'
03:10:00.559806 Received DATA (on stdin)
03:10:00.559865 > 1 bytes data, server => client
03:10:00.559893 'h'
03:10:00.569901 Received DATA (on stdin)
03:10:00.569961 > 1 bytes data, server => client
03:10:00.569990 'u'
03:10:00.579994 Received DATA (on stdin)
03:10:00.580054 > 1 bytes data, server => client
03:10:00.580082 'n'
03:10:00.590091 Received DATA (on stdin)
03:10:00.590150 > 1 bytes data, server => client
03:10:00.590178 'k'
03:10:00.600185 Received DATA (on stdin)
03:10:00.600245 > 1 bytes data, server => client
03:10:00.600273 ' '
03:10:00.610281 Received DATA (on stdin)
03:10:00.610350 > 1 bytes data, server => client
03:10:00.610378 'o'
03:10:00.620376 Received DATA (on stdin)
03:10:00.620447 > 1 bytes data, server => client
03:10:00.620475 'f'
03:10:00.630469 Received DATA (on stdin)
03:10:00.630528 > 1 bytes data, server => client
03:10:00.630557 ' '
03:10:00.640565 Received DATA (on stdin)
03:10:00.640625 > 1 bytes data, server => client
03:10:00.640653 'd'
03:10:00.650660 Received DATA (on stdin)
03:10:00.650719 > 1 bytes data, server => client
03:10:00.650748 'a'
03:10:00.660745 Received DATA (on stdin)
03:10:00.660804 > 1 bytes data, server => client
03:10:00.660832 't'
03:10:00.670840 Received DATA (on stdin)
03:10:00.670900 > 1 bytes data, server => client
03:10:00.670928 'a'
03:10:00.680928 Received DATA (on stdin)
03:10:00.680988 > 1 bytes data, server => client
03:10:00.681016 ' '
03:10:00.691024 Received DATA (on stdin)
03:10:00.691084 > 1 bytes data, server => client
03:10:00.691112 't'
03:10:00.701119 Received DATA (on stdin)
03:10:00.701180 > 1 bytes data, server => client
03:10:00.701208 'h'
03:10:00.711215 Received DATA (on stdin)
03:10:00.711275 > 1 bytes data, server => client
03:10:00.711303 'a'
03:10:00.721310 Received DATA (on stdin)
03:10:00.721369 > 1 bytes data, server => client
03:10:00.721397 't'
03:10:00.731403 Received DATA (on stdin)
03:10:00.731462 > 1 bytes data, server => client
03:10:00.731491 ' '
03:10:00.741498 Received DATA (on stdin)
03:10:00.741558 > 1 bytes data, server => client
03:10:00.741586 'c'
03:10:00.751593 Received DATA (on stdin)
03:10:00.751653 > 1 bytes data, server => client
03:10:00.751681 'o'
03:10:00.761689 Received DATA (on stdin)
03:10:00.761749 > 1 bytes data, server => client
03:10:00.761777 'u'
03:10:00.771784 Received DATA (on stdin)
03:10:00.771844 > 1 bytes data, server => client
03:10:00.771872 'l'
03:10:00.781880 Received DATA (on stdin)
03:10:00.781940 > 1 bytes data, server => client
03:10:00.781968 'd'
03:10:00.791976 Received DATA (on stdin)
03:10:00.792036 > 1 bytes data, server => client
03:10:00.792077 'n'
03:10:00.802071 Received DATA (on stdin)
03:10:00.802131 > 1 bytes data, server => client
03:10:00.802158 '''
03:10:00.812168 Received DATA (on stdin)
03:10:00.812227 > 1 bytes data, server => client
03:10:00.812255 't'
03:10:00.822263 Received DATA (on stdin)
03:10:00.822322 > 1 bytes data, server => client
03:10:00.822350 ' '
03:10:00.832356 Received DATA (on stdin)
03:10:00.832427 > 1 bytes data, server => client
03:10:00.832456 'p'
03:10:00.842452 Received DATA (on stdin)
03:10:00.842511 > 1 bytes data, server => client
03:10:00.842539 'o'
03:10:00.852547 Received DATA (on stdin)
03:10:00.852605 > 1 bytes data, server => client
03:10:00.852633 's'
03:10:00.862643 Received DATA (on stdin)
03:10:00.862702 > 1 bytes data, server => client
03:10:00.862729 's'
03:10:00.872738 Received DATA (on stdin)
03:10:00.872797 > 1 bytes data, server => client
03:10:00.872825 'i'
03:10:00.882822 Received DATA (on stdin)
03:10:00.882884 > 1 bytes data, server => client
03:10:00.882911 'b'
03:10:00.892906 Received DATA (on stdin)
03:10:00.892966 > 1 bytes data, server => client
03:10:00.892994 'l'
03:10:00.902998 Received DATA (on stdin)
03:10:00.903057 > 1 bytes data, server => client
03:10:00.903084 'y'
03:10:00.913094 Received DATA (on stdin)
03:10:00.913153 > 1 bytes data, server => client
03:10:00.913180 ' '
03:10:00.923189 Received DATA (on stdin)
03:10:00.923248 > 1 bytes data, server => client
03:10:00.923276 'b'
03:10:00.933282 Received DATA (on stdin)
03:10:00.933341 > 1 bytes data, server => client
03:10:00.933369 'e'
03:10:00.943368 Received DATA (on stdin)
03:10:00.943428 > 1 bytes data, server => client
03:10:00.943456 ' '
03:10:00.953462 Received DATA (on stdin)
03:10:00.953521 > 1 bytes data, server => client
03:10:00.953549 's'
03:10:00.963557 Received DATA (on stdin)
03:10:00.963616 > 1 bytes data, server => client
03:10:00.963644 'e'
03:10:00.973653 Received DATA (on stdin)
03:10:00.973712 > 1 bytes data, server => client
03:10:00.973740 'n'
03:10:00.983747 Received DATA (on stdin)
03:10:00.983806 > 1 bytes data, server => client
03:10:00.983833 't'
03:10:00.993841 Received DATA (on stdin)
03:10:00.993900 > 1 bytes data, server => client
03:10:00.993928 ' '
03:10:01.003921 Received DATA (on stdin)
03:10:01.003981 > 1 bytes data, server => client
03:10:01.004006 'i'
03:10:01.014031 Received DATA (on stdin)
03:10:01.014099 > 1 bytes data, server => client
03:10:01.014126 'n'
03:10:01.024114 Received DATA (on stdin)
03:10:01.024175 > 1 bytes data, server => client
03:10:01.024203 ' '
03:10:01.034211 Received DATA (on stdin)
03:10:01.034271 > 1 bytes data, server => client
03:10:01.034318 't'
03:10:01.044308 Received DATA (on stdin)
03:10:01.044370 > 1 bytes data, server => client
03:10:01.044397 'h'
03:10:01.054404 Received DATA (on stdin)
03:10:01.054469 > 1 bytes data, server => client
03:10:01.054496 'e'
03:10:01.064443 Received DATA (on stdin)
03:10:01.064478 > 1 bytes data, server => client
03:10:01.064500 ' '
03:10:01.074549 Received DATA (on stdin)
03:10:01.074608 > 1 bytes data, server => client
03:10:01.074636 't'
03:10:01.084625 Received DATA (on stdin)
03:10:01.084684 > 1 bytes data, server => client
03:10:01.084712 'i'
03:10:01.094696 Received DATA (on stdin)
03:10:01.094755 > 1 bytes data, server => client
03:10:01.094783 'm'
03:10:01.104769 Received DATA (on stdin)
03:10:01.104828 > 1 bytes data, server => client
03:10:01.104855 'e'
03:10:01.114842 Received DATA (on stdin)
03:10:01.114901 > 1 bytes data, server => client
03:10:01.114928 ' '
03:10:01.124914 Received DATA (on stdin)
03:10:01.124973 > 1 bytes data, server => client
03:10:01.125000 'a'
03:10:01.134989 Received DATA (on stdin)
03:10:01.135048 > 1 bytes data, server => client
03:10:01.135076 'l'
03:10:01.145062 Received DATA (on stdin)
03:10:01.145121 > 1 bytes data, server => client
03:10:01.145149 'l'
03:10:01.155136 Received DATA (on stdin)
03:10:01.155195 > 1 bytes data, server => client
03:10:01.155223 'o'
03:10:01.165204 Received DATA (on stdin)
03:10:01.165264 > 1 bytes data, server => client
03:10:01.165290 't'
03:10:01.175318 Received DATA (on stdin)
03:10:01.175377 > 1 bytes data, server => client
03:10:01.175405 't'
03:10:01.185396 Received DATA (on stdin)
03:10:01.185455 > 1 bytes data, server => client
03:10:01.185483 'e'
03:10:01.195471 Received DATA (on stdin)
03:10:01.195530 > 1 bytes data, server => client
03:10:01.195557 'd'
03:10:01.205547 Received DATA (on stdin)
03:10:01.205606 > 1 bytes data, server => client
03:10:01.205634 '.'
03:10:01.215624 Received DATA (on stdin)
03:10:01.215683 > 1 bytes data, server => client
03:10:01.215710 '\n'
03:10:01.225730 Received DATA (on stdin)
03:10:01.225790 > 1 bytes data, server => client
03:10:01.225817 'L'
03:10:01.235804 Received DATA (on stdin)
03:10:01.235863 > 1 bytes data, server => client
03:10:01.235891 'o'
03:10:01.245875 Received DATA (on stdin)
03:10:01.245935 > 1 bytes data, server => client
03:10:01.245962 'n'
03:10:01.255950 Received DATA (on stdin)
03:10:01.256009 > 1 bytes data, server => client
03:10:01.256037 'g'
03:10:01.266022 Received DATA (on stdin)
03:10:01.266081 > 1 bytes data, server => client
03:10:01.266109 ' '
03:10:01.276097 Received DATA (on stdin)
03:10:01.276156 > 1 bytes data, server => client
03:10:01.276183 'c'
03:10:01.286170 Received DATA (on stdin)
03:10:01.286229 > 1 bytes data, server => client
03:10:01.286257 'h'
03:10:01.296240 Received DATA (on stdin)
03:10:01.296299 > 1 bytes data, server => client
03:10:01.296327 'u'
03:10:01.306341 Received DATA (on stdin)
03:10:01.306461 > 1 bytes data, server => client
03:10:01.306489 'n'
03:10:01.316438 Received DATA (on stdin)
03:10:01.316510 > 1 bytes data, server => client
03:10:01.316535 'k'
03:10:01.326509 Received DATA (on stdin)
03:10:01.326542 > 1 bytes data, server => client
03:10:01.326564 ' '
03:10:01.336607 Received DATA (on stdin)
03:10:01.336665 > 1 bytes data, server => client
03:10:01.336693 'o'
03:10:01.346678 Received DATA (on stdin)
03:10:01.346737 > 1 bytes data, server => client
03:10:01.346764 'f'
03:10:01.356754 Received DATA (on stdin)
03:10:01.356812 > 1 bytes data, server => client
03:10:01.356840 ' '
03:10:01.366827 Received DATA (on stdin)
03:10:01.366886 > 1 bytes data, server => client
03:10:01.366913 'd'
03:10:01.376899 Received DATA (on stdin)
03:10:01.376957 > 1 bytes data, server => client
03:10:01.376985 'a'
03:10:01.386970 Received DATA (on stdin)
03:10:01.387028 > 1 bytes data, server => client
03:10:01.387056 't'
03:10:01.397045 Received DATA (on stdin)
03:10:01.397103 > 1 bytes data, server => client
03:10:01.397130 'a'
03:10:01.407120 Received DATA (on stdin)
03:10:01.407178 > 1 bytes data, server => client
03:10:01.407206 ' '
03:10:01.417192 Received DATA (on stdin)
03:10:01.417250 > 1 bytes data, server => client
03:10:01.417277 't'
03:10:01.427262 Received DATA (on stdin)
03:10:01.427321 > 1 bytes data, server => client
03:10:01.427348 'h'
03:10:01.437335 Received DATA (on stdin)
03:10:01.437392 > 1 bytes data, server => client
03:10:01.437420 'a'
03:10:01.447404 Received DATA (on stdin)
03:10:01.447458 > 1 bytes data, server => client
03:10:01.447483 't'
03:10:01.457522 Received DATA (on stdin)
03:10:01.457581 > 1 bytes data, server => client
03:10:01.457608 ' '
03:10:01.467620 Received DATA (on stdin)
03:10:01.467678 > 1 bytes data, server => client
03:10:01.467705 'c'
03:10:01.477715 Received DATA (on stdin)
03:10:01.477773 > 1 bytes data, server => client
03:10:01.477801 'o'
03:10:01.487811 Received DATA (on stdin)
03:10:01.487869 > 1 bytes data, server => client
03:10:01.487897 'u'
03:10:01.497910 Received DATA (on stdin)
03:10:01.497968 > 1 bytes data, server => client
03:10:01.497996 'l'
03:10:01.508000 Received DATA (on stdin)
03:10:01.508062 > 1 bytes data, server => client
03:10:01.508089 'd'
03:10:01.518097 Received DATA (on stdin)
03:10:01.518157 > 1 bytes data, server => client
03:10:01.518184 'n'
03:10:01.528192 Received DATA (on stdin)
03:10:01.528252 > 1 bytes data, server => client
03:10:01.528280 '''
03:10:01.538290 Received DATA (on stdin)
03:10:01.538379 > 1 bytes data, server => client
03:10:01.538399 't'
03:10:01.548404 Received DATA (on stdin)
03:10:01.548488 > 1 bytes data, server => client
03:10:01.548508 ' '
03:10:01.558481 Received DATA (on stdin)
03:10:01.558542 > 1 bytes data, server => client
03:10:01.558564 'p'
03:10:01.568575 Received DATA (on stdin)
03:10:01.568616 > 1 bytes data, server => client
03:10:01.568639 'o'
03:10:01.578671 Received DATA (on stdin)
03:10:01.578706 > 1 bytes data, server => client
03:10:01.578738 's'
03:10:01.588768 Received DATA (on stdin)
03:10:01.588806 > 1 bytes data, server => client
03:10:01.588836 's'
03:10:01.598865 Received DATA (on stdin)
03:10:01.598901 > 1 bytes data, server => client
03:10:01.598933 'i'
03:10:01.608965 Received DATA (on stdin)
03:10:01.609001 > 1 bytes data, server => client
03:10:01.609023 'b'
03:10:01.619060 Received DATA (on stdin)
03:10:01.619100 > 1 bytes data, server => client
03:10:01.619122 'l'
03:10:01.629156 Received DATA (on stdin)
03:10:01.629198 > 1 bytes data, server => client
03:10:01.629220 'y'
03:10:01.639253 Received DATA (on stdin)
03:10:01.639295 > 1 bytes data, server => client
03:10:01.639318 ' '
03:10:01.649349 Received DATA (on stdin)
03:10:01.649392 > 1 bytes data, server => client
03:10:01.649416 'b'
03:10:01.659446 Received DATA (on stdin)
03:10:01.659482 > 1 bytes data, server => client
03:10:01.659504 'e'
03:10:01.669542 Received DATA (on stdin)
03:10:01.669576 > 1 bytes data, server => client
03:10:01.669598 ' '
03:10:01.679639 Received DATA (on stdin)
03:10:01.679680 > 1 bytes data, server => client
03:10:01.679704 's'
03:10:01.689736 Received DATA (on stdin)
03:10:01.689778 > 1 bytes data, server => client
03:10:01.689802 'e'
03:10:01.699832 Received DATA (on stdin)
03:10:01.699873 > 1 bytes data, server => client
03:10:01.699897 'n'
03:10:01.709931 Received DATA (on stdin)
03:10:01.709974 > 1 bytes data, server => client
03:10:01.709999 't'
03:10:01.720027 Received DATA (on stdin)
03:10:01.720067 > 1 bytes data, server => client
03:10:01.720095 ' '
03:10:01.730124 Received DATA (on stdin)
03:10:01.730160 > 1 bytes data, server => client
03:10:01.730191 'i'
03:10:01.740221 Received DATA (on stdin)
03:10:01.740256 > 1 bytes data, server => client
03:10:01.740277 'n'
03:10:01.750317 Received DATA (on stdin)
03:10:01.750352 > 1 bytes data, server => client
03:10:01.750373 ' '
03:10:01.760422 Received DATA (on stdin)
03:10:01.760459 > 1 bytes data, server => client
03:10:01.760480 't'
03:10:01.770523 Received DATA (on stdin)
03:10:01.770558 > 1 bytes data, server => client
03:10:01.770579 'h'
03:10:01.780620 Received DATA (on stdin)
03:10:01.780655 > 1 bytes data, server => client
03:10:01.780676 'e'
03:10:01.790717 Received DATA (on stdin)
03:10:01.790751 > 1 bytes data, server => client
03:10:01.790773 ' '
03:10:01.800814 Received DATA (on stdin)
03:10:01.800848 > 1 bytes data, server => client
03:10:01.800870 't'
03:10:01.810936 Received DATA (on stdin)
03:10:01.810995 > 1 bytes data, server => client
03:10:01.811023 'i'
03:10:01.821023 Received DATA (on stdin)
03:10:01.821082 > 1 bytes data, server => client
03:10:01.821110 'm'
03:10:01.831103 Received DATA (on stdin)
03:10:01.831162 > 1 bytes data, server => client
03:10:01.831189 'e'
03:10:01.841176 Received DATA (on stdin)
03:10:01.841236 > 1 bytes data, server => client
03:10:01.841263 ' '
03:10:01.851248 Received DATA (on stdin)
03:10:01.851307 > 1 bytes data, server => client
03:10:01.851335 'a'
03:10:01.861323 Received DATA (on stdin)
03:10:01.861383 > 1 bytes data, server => client
03:10:01.861410 'l'
03:10:01.871397 Received DATA (on stdin)
03:10:01.871456 > 1 bytes data, server => client
03:10:01.871484 'l'
03:10:01.881472 Received DATA (on stdin)
03:10:01.881532 > 1 bytes data, server => client
03:10:01.881568 'o'
03:10:01.891545 Received DATA (on stdin)
03:10:01.891604 > 1 bytes data, server => client
03:10:01.891631 't'
03:10:01.901616 Received DATA (on stdin)
03:10:01.901675 > 1 bytes data, server => client
03:10:01.901703 't'
03:10:01.911693 Received DATA (on stdin)
03:10:01.911753 > 1 bytes data, server => client
03:10:01.911780 'e'
03:10:01.921765 Received DATA (on stdin)
03:10:01.921824 > 1 bytes data, server => client
03:10:01.921863 'd'
03:10:01.931836 Received DATA (on stdin)
03:10:01.931895 > 1 bytes data, server => client
03:10:01.931922 '.'
03:10:01.941907 Received DATA (on stdin)
03:10:01.941966 > 1 bytes data, server => client
03:10:01.941993 '\n'
03:10:01.952005 Received DATA (on stdin)
03:10:01.952064 > 1 bytes data, server => client
03:10:01.952091 'L'
03:10:01.962076 Received DATA (on stdin)
03:10:01.962136 > 1 bytes data, server => client
03:10:01.962163 'o'
03:10:01.972149 Received DATA (on stdin)
03:10:01.972209 > 1 bytes data, server => client
03:10:01.972236 'n'
03:10:01.982222 Received DATA (on stdin)
03:10:01.982281 > 1 bytes data, server => client
03:10:01.982309 'g'
03:10:01.992291 Received DATA (on stdin)
03:10:01.992351 > 1 bytes data, server => client
03:10:01.992378 ' '
03:10:02.002366 Received DATA (on stdin)
03:10:02.002425 > 1 bytes data, server => client
03:10:02.002451 'c'
03:10:02.012490 Received DATA (on stdin)
03:10:02.012564 > 1 bytes data, server => client
03:10:02.012591 'h'
03:10:02.022591 Received DATA (on stdin)
03:10:02.022651 > 1 bytes data, server => client
03:10:02.022679 'u'
03:10:02.032681 Received DATA (on stdin)
03:10:02.032740 > 1 bytes data, server => client
03:10:02.032768 'n'
03:10:02.042775 Received DATA (on stdin)
03:10:02.042834 > 1 bytes data, server => client
03:10:02.042862 'k'
03:10:02.052870 Received DATA (on stdin)
03:10:02.052929 > 1 bytes data, server => client
03:10:02.052957 ' '
03:10:02.062967 Received DATA (on stdin)
03:10:02.063027 > 1 bytes data, server => client
03:10:02.063054 'o'
03:10:02.073064 Received DATA (on stdin)
03:10:02.073123 > 1 bytes data, server => client
03:10:02.073151 'f'
03:10:02.083149 Received DATA (on stdin)
03:10:02.083209 > 1 bytes data, server => client
03:10:02.083237 ' '
03:10:02.093241 Received DATA (on stdin)
03:10:02.093300 > 1 bytes data, server => client
03:10:02.093328 'd'
03:10:02.103337 Received DATA (on stdin)
03:10:02.103396 > 1 bytes data, server => client
03:10:02.103424 'a'
03:10:02.113430 Received DATA (on stdin)
03:10:02.113489 > 1 bytes data, server => client
03:10:02.113517 't'
03:10:02.123528 Received DATA (on stdin)
03:10:02.123587 > 1 bytes data, server => client
03:10:02.123614 'a'
03:10:02.133624 Received DATA (on stdin)
03:10:02.133683 > 1 bytes data, server => client
03:10:02.133711 ' '
03:10:02.143718 Received DATA (on stdin)
03:10:02.143777 > 1 bytes data, server => client
03:10:02.143805 't'
03:10:02.153815 Received DATA (on stdin)
03:10:02.153874 > 1 bytes data, server => client
03:10:02.153902 'h'
03:10:02.163912 Received DATA (on stdin)
03:10:02.163970 > 1 bytes data, server => client
03:10:02.163998 'a'
03:10:02.174009 Received DATA (on stdin)
03:10:02.174068 > 1 bytes data, server => client
03:10:02.174096 't'
03:10:02.184104 Received DATA (on stdin)
03:10:02.184164 > 1 bytes data, server => client
03:10:02.184191 ' '
03:10:02.194198 Received DATA (on stdin)
03:10:02.194257 > 1 bytes data, server => client
03:10:02.194285 'c'
03:10:02.204295 Received DATA (on stdin)
03:10:02.204354 > 1 bytes data, server => client
03:10:02.204382 'o'
03:10:02.214392 Received DATA (on stdin)
03:10:02.214451 > 1 bytes data, server => client
03:10:02.214478 'u'
03:10:02.224488 Received DATA (on stdin)
03:10:02.224547 > 1 bytes data, server => client
03:10:02.224574 'l'
03:10:02.234584 Received DATA (on stdin)
03:10:02.234643 > 1 bytes data, server => client
03:10:02.234670 'd'
03:10:02.244671 Received DATA (on stdin)
03:10:02.244730 > 1 bytes data, server => client
03:10:02.244758 'n'
03:10:02.254766 Received DATA (on stdin)
03:10:02.254825 > 1 bytes data, server => client
03:10:02.254853 '''
03:10:02.264857 Received DATA (on stdin)
03:10:02.264916 > 1 bytes data, server => client
03:10:02.264944 't'
03:10:02.274953 Received DATA (on stdin)
03:10:02.275013 > 1 bytes data, server => client
03:10:02.275040 ' '
03:10:02.285048 Received DATA (on stdin)
03:10:02.285108 > 1 bytes data, server => client
03:10:02.285135 'p'
03:10:02.295142 Received DATA (on stdin)
03:10:02.295202 > 1 bytes data, server => client
03:10:02.295244 'o'
03:10:02.305239 Received DATA (on stdin)
03:10:02.305297 > 1 bytes data, server => client
03:10:02.305325 's'
03:10:02.315334 Received DATA (on stdin)
03:10:02.315394 > 1 bytes data, server => client
03:10:02.315421 's'
03:10:02.325430 Received DATA (on stdin)
03:10:02.325489 > 1 bytes data, server => client
03:10:02.325517 'i'
03:10:02.335526 Received DATA (on stdin)
03:10:02.335585 > 1 bytes data, server => client
03:10:02.335612 'b'
03:10:02.345619 Received DATA (on stdin)
03:10:02.345678 > 1 bytes data, server => client
03:10:02.345706 'l'
03:10:02.355716 Received DATA (on stdin)
03:10:02.355775 > 1 bytes data, server => client
03:10:02.355803 'y'
03:10:02.365809 Received DATA (on stdin)
03:10:02.365868 > 1 bytes data, server => client
03:10:02.365896 ' '
03:10:02.375905 Received DATA (on stdin)
03:10:02.375964 > 1 bytes data, server => client
03:10:02.375992 'b'
03:10:02.386001 Received DATA (on stdin)
03:10:02.386061 > 1 bytes data, server => client
03:10:02.386088 'e'
03:10:02.396095 Received DATA (on stdin)
03:10:02.396154 > 1 bytes data, server => client
03:10:02.396181 ' '
03:10:02.406191 Received DATA (on stdin)
03:10:02.406250 > 1 bytes data, server => client
03:10:02.406277 's'
03:10:02.416284 Received DATA (on stdin)
03:10:02.416344 > 1 bytes data, server => client
03:10:02.416371 'e'
03:10:02.426381 Received DATA (on stdin)
03:10:02.426440 > 1 bytes data, server => client
03:10:02.426468 'n'
03:10:02.436459 Received DATA (on stdin)
03:10:02.436519 > 1 bytes data, server => client
03:10:02.436547 't'
03:10:02.446548 Received DATA (on stdin)
03:10:02.446602 > 1 bytes data, server => client
03:10:02.446627 ' '
03:10:02.456643 Received DATA (on stdin)
03:10:02.456689 > 1 bytes data, server => client
03:10:02.456718 'i'
03:10:02.466739 Received DATA (on stdin)
03:10:02.466774 > 1 bytes data, server => client
03:10:02.466800 'n'
03:10:02.476835 Received DATA (on stdin)
03:10:02.476870 > 1 bytes data, server => client
03:10:02.476892 ' '
03:10:02.486929 Received DATA (on stdin)
03:10:02.486963 > 1 bytes data, server => client
03:10:02.486985 't'
03:10:02.497023 Received DATA (on stdin)
03:10:02.497058 > 1 bytes data, server => client
03:10:02.497079 'h'
03:10:02.507121 Received DATA (on stdin)
03:10:02.507158 > 1 bytes data, server => client
03:10:02.507187 'e'
03:10:02.517217 Received DATA (on stdin)
03:10:02.517252 > 1 bytes data, server => client
03:10:02.517277 ' '
03:10:02.527313 Received DATA (on stdin)
03:10:02.527347 > 1 bytes data, server => client
03:10:02.527368 't'
03:10:02.537409 Received DATA (on stdin)
03:10:02.537443 > 1 bytes data, server => client
03:10:02.537465 'i'
03:10:02.547505 Received DATA (on stdin)
03:10:02.547539 > 1 bytes data, server => client
03:10:02.547561 'm'
03:10:02.557603 Received DATA (on stdin)
03:10:02.557639 > 1 bytes data, server => client
03:10:02.557661 'e'
03:10:02.567698 Received DATA (on stdin)
03:10:02.567733 > 1 bytes data, server => client
03:10:02.567754 ' '
03:10:02.577795 Received DATA (on stdin)
03:10:02.577829 > 1 bytes data, server => client
03:10:02.577850 'a'
03:10:02.587891 Received DATA (on stdin)
03:10:02.587925 > 1 bytes data, server => client
03:10:02.587947 'l'
03:10:02.597987 Received DATA (on stdin)
03:10:02.598021 > 1 bytes data, server => client
03:10:02.598043 'l'
03:10:02.608084 Received DATA (on stdin)
03:10:02.608120 > 1 bytes data, server => client
03:10:02.608142 'o'
03:10:02.618180 Received DATA (on stdin)
03:10:02.618215 > 1 bytes data, server => client
03:10:02.618236 't'
03:10:02.628277 Received DATA (on stdin)
03:10:02.628319 > 1 bytes data, server => client
03:10:02.628341 't'
03:10:02.638398 Received DATA (on stdin)
03:10:02.638457 > 1 bytes data, server => client
03:10:02.638485 'e'
03:10:02.648494 Received DATA (on stdin)
03:10:02.648553 > 1 bytes data, server => client
03:10:02.648580 'd'
03:10:02.658590 Received DATA (on stdin)
03:10:02.658649 > 1 bytes data, server => client
03:10:02.658676 '.'
03:10:02.668686 Received DATA (on stdin)
03:10:02.668745 > 1 bytes data, server => client
03:10:02.668772 '\n'
03:10:02.678807 Received DATA (on stdin)
03:10:02.678866 > 1 bytes data, server => client
03:10:02.678894 'L'
03:10:02.688901 Received DATA (on stdin)
03:10:02.688960 > 1 bytes data, server => client
03:10:02.688988 'o'
03:10:02.698997 Received DATA (on stdin)
03:10:02.699057 > 1 bytes data, server => client
03:10:02.699084 'n'
03:10:02.709094 Received DATA (on stdin)
03:10:02.709153 > 1 bytes data, server => client
03:10:02.709180 'g'
03:10:02.719189 Received DATA (on stdin)
03:10:02.719249 > 1 bytes data, server => client
03:10:02.719276 ' '
03:10:02.729286 Received DATA (on stdin)
03:10:02.729345 > 1 bytes data, server => client
03:10:02.729373 'c'
03:10:02.739382 Received DATA (on stdin)
03:10:02.739441 > 1 bytes data, server => client
03:10:02.739469 'h'
03:10:02.749478 Received DATA (on stdin)
03:10:02.749537 > 1 bytes data, server => client
03:10:02.749564 'u'
03:10:02.759574 Received DATA (on stdin)
03:10:02.759634 > 1 bytes data, server => client
03:10:02.759661 'n'
03:10:02.769670 Received DATA (on stdin)
03:10:02.769729 > 1 bytes data, server => client
03:10:02.769757 'k'
03:10:02.779766 Received DATA (on stdin)
03:10:02.779826 > 1 bytes data, server => client
03:10:02.779853 ' '
03:10:02.789862 Received DATA (on stdin)
03:10:02.789921 > 1 bytes data, server => client
03:10:02.789949 'o'
03:10:02.799958 Received DATA (on stdin)
03:10:02.800017 > 1 bytes data, server => client
03:10:02.800045 'f'
03:10:02.810055 Received DATA (on stdin)
03:10:02.810114 > 1 bytes data, server => client
03:10:02.810142 ' '
03:10:02.820151 Received DATA (on stdin)
03:10:02.820210 > 1 bytes data, server => client
03:10:02.820237 'd'
03:10:02.830247 Received DATA (on stdin)
03:10:02.830306 > 1 bytes data, server => client
03:10:02.830334 'a'
03:10:02.840343 Received DATA (on stdin)
03:10:02.840404 > 1 bytes data, server => client
03:10:02.840445 't'
03:10:02.850439 Received DATA (on stdin)
03:10:02.850498 > 1 bytes data, server => client
03:10:02.850526 'a'
03:10:02.860535 Received DATA (on stdin)
03:10:02.860593 > 1 bytes data, server => client
03:10:02.860621 ' '
03:10:02.870631 Received DATA (on stdin)
03:10:02.870690 > 1 bytes data, server => client
03:10:02.870717 't'
03:10:02.880713 Received DATA (on stdin)
03:10:02.880777 > 1 bytes data, server => client
03:10:02.880804 'h'
03:10:02.890805 Received DATA (on stdin)
03:10:02.890843 > 1 bytes data, server => client
03:10:02.890865 'a'
03:10:02.900901 Received DATA (on stdin)
03:10:02.900935 > 1 bytes data, server => client
03:10:02.900957 't'
03:10:02.910998 Received DATA (on stdin)
03:10:02.911035 > 1 bytes data, server => client
03:10:02.911057 ' '
03:10:02.921092 Received DATA (on stdin)
03:10:02.921126 > 1 bytes data, server => client
03:10:02.921148 'c'
03:10:02.931218 Received DATA (on stdin)
03:10:02.931281 > 1 bytes data, server => client
03:10:02.931308 'o'
03:10:02.941312 Received DATA (on stdin)
03:10:02.941373 > 1 bytes data, server => client
03:10:02.941400 'u'
03:10:02.951408 Received DATA (on stdin)
03:10:02.951468 > 1 bytes data, server => client
03:10:02.951495 'l'
03:10:02.961501 Received DATA (on stdin)
03:10:02.961562 > 1 bytes data, server => client
03:10:02.961590 'd'
03:10:02.971598 Received DATA (on stdin)
03:10:02.971658 > 1 bytes data, server => client
03:10:02.971686 'n'
03:10:02.981691 Received DATA (on stdin)
03:10:02.981752 > 1 bytes data, server => client
03:10:02.981779 '''
03:10:02.991788 Received DATA (on stdin)
03:10:02.991848 > 1 bytes data, server => client
03:10:02.991876 't'
03:10:03.001862 Received DATA (on stdin)
03:10:03.001918 > 1 bytes data, server => client
03:10:03.001943 ' '
03:10:03.011989 Received DATA (on stdin)
03:10:03.012055 > 1 bytes data, server => client
03:10:03.012082 'p'
03:10:03.022083 Received DATA (on stdin)
03:10:03.022142 > 1 bytes data, server => client
03:10:03.022170 'o'
03:10:03.032179 Received DATA (on stdin)
03:10:03.032238 > 1 bytes data, server => client
03:10:03.032265 's'
03:10:03.042275 Received DATA (on stdin)
03:10:03.042334 > 1 bytes data, server => client
03:10:03.042362 's'
03:10:03.052371 Received DATA (on stdin)
03:10:03.052480 > 1 bytes data, server => client
03:10:03.052510 'i'
03:10:03.062468 Received DATA (on stdin)
03:10:03.062528 > 1 bytes data, server => client
03:10:03.062556 'b'
03:10:03.072565 Received DATA (on stdin)
03:10:03.072624 > 1 bytes data, server => client
03:10:03.072652 'l'
03:10:03.082662 Received DATA (on stdin)
03:10:03.082721 > 1 bytes data, server => client
03:10:03.082748 'y'
03:10:03.092757 Received DATA (on stdin)
03:10:03.092817 > 1 bytes data, server => client
03:10:03.092844 ' '
03:10:03.102854 Received DATA (on stdin)
03:10:03.102913 > 1 bytes data, server => client
03:10:03.102940 'b'
03:10:03.112934 Received DATA (on stdin)
03:10:03.112990 > 1 bytes data, server => client
03:10:03.113027 'e'
03:10:03.123025 Received DATA (on stdin)
03:10:03.123060 > 1 bytes data, server => client
03:10:03.123082 ' '
03:10:03.133122 Received DATA (on stdin)
03:10:03.133159 > 1 bytes data, server => client
03:10:03.133181 's'
03:10:03.143218 Received DATA (on stdin)
03:10:03.143253 > 1 bytes data, server => client
03:10:03.143275 'e'
03:10:03.153318 Received DATA (on stdin)
03:10:03.153365 > 1 bytes data, server => client
03:10:03.153398 'n'
03:10:03.163411 Received DATA (on stdin)
03:10:03.163448 > 1 bytes data, server => client
03:10:03.163470 't'
03:10:03.173508 Received DATA (on stdin)
03:10:03.173542 > 1 bytes data, server => client
03:10:03.173563 ' '
03:10:03.183604 Received DATA (on stdin)
03:10:03.183638 > 1 bytes data, server => client
03:10:03.183659 'i'
03:10:03.193701 Received DATA (on stdin)
03:10:03.193736 > 1 bytes data, server => client
03:10:03.193757 'n'
03:10:03.203796 Received DATA (on stdin)
03:10:03.203841 > 1 bytes data, server => client
03:10:03.203867 ' '
03:10:03.213888 Received DATA (on stdin)
03:10:03.213929 > 1 bytes data, server => client
03:10:03.213953 't'
03:10:03.223985 Received DATA (on stdin)
03:10:03.224019 > 1 bytes data, server => client
03:10:03.224041 'h'
03:10:03.234106 Received DATA (on stdin)
03:10:03.234164 > 1 bytes data, server => client
03:10:03.234191 'e'
03:10:03.244165 Received DATA (on stdin)
03:10:03.244202 > 1 bytes data, server => client
03:10:03.244224 ' '
03:10:03.254261 Received DATA (on stdin)
03:10:03.254306 > 1 bytes data, server => client
03:10:03.254330 't'
03:10:03.264357 Received DATA (on stdin)
03:10:03.264391 > 1 bytes data, server => client
03:10:03.264427 'i'
03:10:03.274478 Received DATA (on stdin)
03:10:03.274536 > 1 bytes data, server => client
03:10:03.274564 'm'
03:10:03.284546 Received DATA (on stdin)
03:10:03.284605 > 1 bytes data, server => client
03:10:03.284639 'e'
03:10:03.294634 Received DATA (on stdin)
03:10:03.294669 > 1 bytes data, server => client
03:10:03.294691 ' '
03:10:03.304731 Received DATA (on stdin)
03:10:03.304769 > 1 bytes data, server => client
03:10:03.304791 'a'
03:10:03.314826 Received DATA (on stdin)
03:10:03.314868 > 1 bytes data, server => client
03:10:03.314891 'l'
03:10:03.324922 Received DATA (on stdin)
03:10:03.324959 > 1 bytes data, server => client
03:10:03.324991 'l'
03:10:03.335014 Received DATA (on stdin)
03:10:03.335051 > 1 bytes data, server => client
03:10:03.335079 'o'
03:10:03.345107 Received DATA (on stdin)
03:10:03.345141 > 1 bytes data, server => client
03:10:03.345168 't'
03:10:03.355204 Received DATA (on stdin)
03:10:03.355240 > 1 bytes data, server => client
03:10:03.355263 't'
03:10:03.365300 Received DATA (on stdin)
03:10:03.365334 > 1 bytes data, server => client
03:10:03.365356 'e'
03:10:03.375397 Received DATA (on stdin)
03:10:03.375431 > 1 bytes data, server => client
03:10:03.375452 'd'
03:10:03.385493 Received DATA (on stdin)
03:10:03.385529 > 1 bytes data, server => client
03:10:03.385550 '.'
03:10:03.395587 Received DATA (on stdin)
03:10:03.395621 > 1 bytes data, server => client
03:10:03.395642 '\n'
03:10:03.405710 Received DATA (on stdin)
03:10:03.405746 > 1 bytes data, server => client
03:10:03.405768 'L'
03:10:03.415804 Received DATA (on stdin)
03:10:03.415838 > 1 bytes data, server => client
03:10:03.415859 'o'
03:10:03.425901 Received DATA (on stdin)
03:10:03.425945 > 1 bytes data, server => client
03:10:03.425969 'n'
03:10:03.435998 Received DATA (on stdin)
03:10:03.436034 > 1 bytes data, server => client
03:10:03.436055 'g'
03:10:03.446094 Received DATA (on stdin)
03:10:03.446132 > 1 bytes data, server => client
03:10:03.446154 ' '
03:10:03.456190 Received DATA (on stdin)
03:10:03.456226 > 1 bytes data, server => client
03:10:03.456248 'c'
03:10:03.466284 Received DATA (on stdin)
03:10:03.466318 > 1 bytes data, server => client
03:10:03.466339 'h'
03:10:03.476382 Received DATA (on stdin)
03:10:03.476426 > 1 bytes data, server => client
03:10:03.476450 'u'
03:10:03.486474 Received DATA (on stdin)
03:10:03.486515 > 1 bytes data, server => client
03:10:03.486537 'n'
03:10:03.496561 Received DATA (on stdin)
03:10:03.496603 > 1 bytes data, server => client
03:10:03.496626 'k'
03:10:03.506658 Received DATA (on stdin)
03:10:03.506696 > 1 bytes data, server => client
03:10:03.506718 ' '
03:10:03.516754 Received DATA (on stdin)
03:10:03.516789 > 1 bytes data, server => client
03:10:03.516811 'o'
03:10:03.526851 Received DATA (on stdin)
03:10:03.526886 > 1 bytes data, server => client
03:10:03.526907 'f'
03:10:03.536969 Received DATA (on stdin)
03:10:03.537027 > 1 bytes data, server => client
03:10:03.537055 ' '
03:10:03.547064 Received DATA (on stdin)
03:10:03.547122 > 1 bytes data, server => client
03:10:03.547149 'd'
03:10:03.557160 Received DATA (on stdin)
03:10:03.557218 > 1 bytes data, server => client
03:10:03.557246 'a'
03:10:03.567257 Received DATA (on stdin)
03:10:03.567315 > 1 bytes data, server => client
03:10:03.567343 't'
03:10:03.577352 Received DATA (on stdin)
03:10:03.577411 > 1 bytes data, server => client
03:10:03.577438 'a'
03:10:03.587446 Received DATA (on stdin)
03:10:03.587504 > 1 bytes data, server => client
03:10:03.587531 ' '
03:10:03.597540 Received DATA (on stdin)
03:10:03.597599 > 1 bytes data, server => client
03:10:03.597626 't'
03:10:03.607636 Received DATA (on stdin)
03:10:03.607694 > 1 bytes data, server => client
03:10:03.607722 'h'
03:10:03.617732 Received DATA (on stdin)
03:10:03.617791 > 1 bytes data, server => client
03:10:03.617818 'a'
03:10:03.627829 Received DATA (on stdin)
03:10:03.627887 > 1 bytes data, server => client
03:10:03.627915 't'
03:10:03.637922 Received DATA (on stdin)
03:10:03.637981 > 1 bytes data, server => client
03:10:03.638008 ' '
03:10:03.648016 Received DATA (on stdin)
03:10:03.648075 > 1 bytes data, server => client
03:10:03.648102 'c'
03:10:03.658113 Received DATA (on stdin)
03:10:03.658171 > 1 bytes data, server => client
03:10:03.658199 'o'
03:10:03.668209 Received DATA (on stdin)
03:10:03.668268 > 1 bytes data, server => client
03:10:03.668295 'u'
03:10:03.678305 Received DATA (on stdin)
03:10:03.678364 > 1 bytes data, server => client
03:10:03.678392 'l'
03:10:03.688399 Received DATA (on stdin)
03:10:03.688470 > 1 bytes data, server => client
03:10:03.688496 'd'
03:10:03.698493 Received DATA (on stdin)
03:10:03.698551 > 1 bytes data, server => client
03:10:03.698579 'n'
03:10:03.708589 Received DATA (on stdin)
03:10:03.708647 > 1 bytes data, server => client
03:10:03.708675 '''
03:10:03.718686 Received DATA (on stdin)
03:10:03.718744 > 1 bytes data, server => client
03:10:03.718771 't'
03:10:03.728782 Received DATA (on stdin)
03:10:03.728840 > 1 bytes data, server => client
03:10:03.728868 ' '
03:10:03.738879 Received DATA (on stdin)
03:10:03.738937 > 1 bytes data, server => client
03:10:03.738965 'p'
03:10:03.748972 Received DATA (on stdin)
03:10:03.749030 > 1 bytes data, server => client
03:10:03.749058 'o'
03:10:03.759069 Received DATA (on stdin)
03:10:03.759127 > 1 bytes data, server => client
03:10:03.759154 's'
03:10:03.769165 Received DATA (on stdin)
03:10:03.769224 > 1 bytes data, server => client
03:10:03.769251 's'
03:10:03.779261 Received DATA (on stdin)
03:10:03.779319 > 1 bytes data, server => client
03:10:03.779347 'i'
03:10:03.789357 Received DATA (on stdin)
03:10:03.789416 > 1 bytes data, server => client
03:10:03.789444 'b'
=== File too long: 2382 lines omitted here
03:10:11.590864 Received DATA (on stdin)
03:10:11.590923 > 1 bytes data, server => client
03:10:11.590951 't'
03:10:11.590970 *** We are disconnected
03:10:11.600960 Received DATA (on stdin)
03:10:11.601018 > 1 bytes data, server => client
03:10:11.601046 'h'
03:10:11.601064 *** We are disconnected
03:10:11.611056 Received DATA (on stdin)
03:10:11.611114 > 1 bytes data, server => client
03:10:11.611142 'a'
03:10:11.611161 *** We are disconnected
03:10:11.621152 Received DATA (on stdin)
03:10:11.621211 > 1 bytes data, server => client
03:10:11.621238 't'
03:10:11.621257 *** We are disconnected
03:10:11.631238 Received DATA (on stdin)
03:10:11.631298 > 1 bytes data, server => client
03:10:11.631325 ' '
03:10:11.631344 *** We are disconnected
03:10:11.641319 Received DATA (on stdin)
03:10:11.641378 > 1 bytes data, server => client
03:10:11.641406 'c'
03:10:11.641425 *** We are disconnected
03:10:11.651395 Received DATA (on stdin)
03:10:11.651455 > 1 bytes data, server => client
03:10:11.651482 'o'
03:10:11.651501 *** We are disconnected
03:10:11.661472 Received DATA (on stdin)
03:10:11.661531 > 1 bytes data, server => client
03:10:11.661559 'u'
03:10:11.661578 *** We are disconnected
03:10:11.671545 Received DATA (on stdin)
03:10:11.671604 > 1 bytes data, server => client
03:10:11.671631 'l'
03:10:11.671650 *** We are disconnected
03:10:11.681616 Received DATA (on stdin)
03:10:11.681675 > 1 bytes data, server => client
03:10:11.681703 'd'
03:10:11.681722 *** We are disconnected
03:10:11.691691 Received DATA (on stdin)
03:10:11.691750 > 1 bytes data, server => client
03:10:11.691778 'n'
03:10:11.691796 *** We are disconnected
03:10:11.701764 Received DATA (on stdin)
03:10:11.701823 > 1 bytes data, server => client
03:10:11.701852 '''
03:10:11.701881 *** We are disconnected
03:10:11.711840 Received DATA (on stdin)
03:10:11.711899 > 1 bytes data, server => client
03:10:11.711926 't'
03:10:11.711945 *** We are disconnected
03:10:11.721912 Received DATA (on stdin)
03:10:11.721972 > 1 bytes data, server => client
03:10:11.721999 ' '
03:10:11.722018 *** We are disconnected
03:10:11.731985 Received DATA (on stdin)
03:10:11.732044 > 1 bytes data, server => client
03:10:11.732071 'p'
03:10:11.732090 *** We are disconnected
03:10:11.742052 Received DATA (on stdin)
03:10:11.742119 > 1 bytes data, server => client
03:10:11.742147 'o'
03:10:11.742166 *** We are disconnected
03:10:11.752135 Received DATA (on stdin)
03:10:11.752194 > 1 bytes data, server => client
03:10:11.752222 's'
03:10:11.752241 *** We are disconnected
03:10:11.762206 Received DATA (on stdin)
03:10:11.762265 > 1 bytes data, server => client
03:10:11.762293 's'
03:10:11.762311 *** We are disconnected
03:10:11.772279 Received DATA (on stdin)
03:10:11.772337 > 1 bytes data, server => client
03:10:11.772365 'i'
03:10:11.772384 *** We are disconnected
03:10:11.782350 Received DATA (on stdin)
03:10:11.782409 > 1 bytes data, server => client
03:10:11.782437 'b'
03:10:11.782455 *** We are disconnected
03:10:11.792428 Received DATA (on stdin)
03:10:11.792486 > 1 bytes data, server => client
03:10:11.792512 'l'
03:10:11.792531 *** We are disconnected
03:10:11.802490 Received DATA (on stdin)
03:10:11.802549 > 1 bytes data, server => client
03:10:11.802577 'y'
03:10:11.802595 *** We are disconnected
03:10:11.812565 Received DATA (on stdin)
03:10:11.812624 > 1 bytes data, server => client
03:10:11.812652 ' '
03:10:11.812671 *** We are disconnected
03:10:11.822637 Received DATA (on stdin)
03:10:11.822696 > 1 bytes data, server => client
03:10:11.822723 'b'
03:10:11.822742 *** We are disconnected
03:10:11.832706 Received DATA (on stdin)
03:10:11.832765 > 1 bytes data, server => client
03:10:11.832793 'e'
03:10:11.832811 *** We are disconnected
03:10:11.842781 Received DATA (on stdin)
03:10:11.842840 > 1 bytes data, server => client
03:10:11.842868 ' '
03:10:11.842887 *** We are disconnected
03:10:11.852858 Received DATA (on stdin)
03:10:11.852916 > 1 bytes data, server => client
03:10:11.852944 's'
03:10:11.852963 *** We are disconnected
03:10:11.862932 Received DATA (on stdin)
03:10:11.862992 > 1 bytes data, server => client
03:10:11.863019 'e'
03:10:11.863038 *** We are disconnected
03:10:11.873004 Received DATA (on stdin)
03:10:11.873063 > 1 bytes data, server => client
03:10:11.873091 'n'
03:10:11.873109 *** We are disconnected
03:10:11.883076 Received DATA (on stdin)
03:10:11.883134 > 1 bytes data, server => client
03:10:11.883162 't'
03:10:11.883181 *** We are disconnected
03:10:11.893148 Received DATA (on stdin)
03:10:11.893208 > 1 bytes data, server => client
03:10:11.893235 ' '
03:10:11.893254 *** We are disconnected
03:10:11.903230 Received DATA (on stdin)
03:10:11.903289 > 1 bytes data, server => client
03:10:11.903316 'i'
03:10:11.903335 *** We are disconnected
03:10:11.913305 Received DATA (on stdin)
03:10:11.913364 > 1 bytes data, server => client
03:10:11.913392 'n'
03:10:11.913410 *** We are disconnected
03:10:11.923376 Received DATA (on stdin)
03:10:11.923435 > 1 bytes data, server => client
03:10:11.923463 ' '
03:10:11.923481 *** We are disconnected
03:10:11.933447 Received DATA (on stdin)
03:10:11.933506 > 1 bytes data, server => client
03:10:11.933534 't'
03:10:11.933553 *** We are disconnected
03:10:11.943520 Received DATA (on stdin)
03:10:11.943579 > 1 bytes data, server => client
03:10:11.943607 'h'
03:10:11.943625 *** We are disconnected
03:10:11.953604 Received DATA (on stdin)
03:10:11.953664 > 1 bytes data, server => client
03:10:11.953692 'e'
03:10:11.953710 *** We are disconnected
03:10:11.963680 Received DATA (on stdin)
03:10:11.963739 > 1 bytes data, server => client
03:10:11.963767 ' '
03:10:11.963785 *** We are disconnected
03:10:11.973771 Received DATA (on stdin)
03:10:11.973830 > 1 bytes data, server => client
03:10:11.973858 't'
03:10:11.973877 *** We are disconnected
03:10:11.983867 Received DATA (on stdin)
03:10:11.983925 > 1 bytes data, server => client
03:10:11.983953 'i'
03:10:11.983972 *** We are disconnected
03:10:11.993963 Received DATA (on stdin)
03:10:11.994022 > 1 bytes data, server => client
03:10:11.994050 'm'
03:10:11.994069 *** We are disconnected
03:10:12.004055 Received DATA (on stdin)
03:10:12.004149 > 1 bytes data, server => client
03:10:12.004178 'e'
03:10:12.004197 *** We are disconnected
03:10:12.014208 Received DATA (on stdin)
03:10:12.014300 > 1 bytes data, server => client
03:10:12.014326 ' '
03:10:12.014345 *** We are disconnected
03:10:12.024317 Received DATA (on stdin)
03:10:12.024385 > 1 bytes data, server => client
03:10:12.024443 'a'
03:10:12.024464 *** We are disconnected
03:10:12.034378 Received DATA (on stdin)
03:10:12.034445 > 1 bytes data, server => client
03:10:12.034473 'l'
03:10:12.034491 *** We are disconnected
03:10:12.044487 Received DATA (on stdin)
03:10:12.044561 > 1 bytes data, server => client
03:10:12.044588 'l'
03:10:12.044606 *** We are disconnected
03:10:12.054577 Received DATA (on stdin)
03:10:12.054635 > 1 bytes data, server => client
03:10:12.054648 'o'
03:10:12.054657 *** We are disconnected
03:10:12.064689 Received DATA (on stdin)
03:10:12.064765 > 1 bytes data, server => client
03:10:12.064782 't'
03:10:12.064794 *** We are disconnected
03:10:12.074767 Received DATA (on stdin)
03:10:12.074811 > 1 bytes data, server => client
03:10:12.074843 't'
03:10:12.074857 *** We are disconnected
03:10:12.084849 Received DATA (on stdin)
03:10:12.084912 > 1 bytes data, server => client
03:10:12.084938 'e'
03:10:12.084955 *** We are disconnected
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.09.07 03:09:52 LOG5[21916]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.07 03:09:52 LOG5[21916]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.07 03:09:52 LOG5[21916]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.07 03:09:52 LOG5[21916]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.07 03:09:52 LOG5[21916]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.07 03:09:52 LOG5[21916]: Reading configuration from file /build-18252/tests/ftps_stunnel.conf
2019.09.07 03:09:52 LOG5[21916]: FIPS mode disabled
2019.09.07 03:09:52 LOG5[21916]: Configuration successful
2019.09.07 03:09:53 LOG5[21919]: Service [curltest] accepted connection from 127.0.0.1:40202
2019.09.07 03:09:53 LOG5[21919]: s_connect: connected 127.0.0.1:8992
2019.09.07 03:09:53 LOG5[21919]: Service [curltest] connected remote server from 127.0.0.1:34848
2019.09.07 03:09:53 LOG5[21919]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.09.07 03:09:55 LOG5[21924]: Service [curltest] accepted connection from 127.0.0.1:40208
2019.09.07 03:09:57 LOG5[21924]: s_connect: connected 127.0.0.1:8992
2019.09.07 03:09:57 LOG5[21924]: Service [curltest] connected remote server from 127.0.0.1:34854
2019.09.07 03:10:11 LOG5[21924]: Connection closed: 347 byte(s) sent to SSL, 95 byte(s) sent to socket
2019.09.07 03:10:12 LOG5[21916]: Terminated
=== End of file ftps_stunnel.log
=== Start of file ftps_verify.log
* STATE: INIT => CONNECT handle 0x5626fe7067f8; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8993...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5626fe7067f8; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5626fe7067f8; line 1665 (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 0x5626fe71c3d0 (line 3092) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x5626fe7067f8; line 1682 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x5626fe71c3d0 (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 0x5626fe71c3d0 (line 2520) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x5626fe71c3d0 (line 2496) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x5626fe71c3d0 (line 2709) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x5626fe71c3d0 (line 804) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x5626fe71c3d0 (line 2844) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x5626fe7067f8; line 1701 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x5626fe71c3d0 (line 1330) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x5626fe7067f8; line 1743 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||40927|)
* Trying 127.0.0.1:40927...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 40927
* FTP 0x5626fe71c3d0 (line 1977) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x5626fe7067f8; line 1825 (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 0x5626fe71c3d0 (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 0x5626fe71c3d0 (line 1743) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x5626fe71c3d0 (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 0x5626fe71c3d0 (line 477) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x5626fe7067f8; line 1850 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5626fe7067f8; line 1877 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x5626fe7067f8; line 2067 (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 0x5626fe7067f8)
=== 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:03 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0
0 3600 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
1 3600 1 51 0 0 8 0 0:07:30 0:00:06 0:07:24 8
4 3600 4 150 0 0 21 0 0:02:51 0:00:07 0:02:44 30
6 3600 6 249 0 0 30 0 0:02:00 0:00:08 0:01:52 49
9 3600 9 348 0 0 38 0 0:01:34 0:00:09 0:01:25 69
12 3600 12 447 0 0 44 0 0:01:21 0:00:10 0:01:11 89
15 3600 15 546 0 0 49 0 0:01:13 0:00:11 0:01:02 99
17 3600 17 645 0 0 53 0 0:01:07 0:00:12 0:00:55 99
20 3600 20 745 0 0 56 0 0:01:04 0:00:13 0:00:51 99
23 3600 23 844 0 0 59 0 0:01:01 0:00:14 0:00:47 99
26 3600 26 943 0 0 62 0 0:00:58 0:00:15 0:00:43 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:09:55.902746 == Info: STATE: INIT => CONNECT handle 0x56c70b8; line 1491 (connection #-5000)
03:09:55.958352 == Info: Added connection 0. The cache now contains 1 members
03:09:55.975475 == Info: Trying 127.0.0.1:8993...
03:09:55.976077 == Info: TCP_NODELAY set
03:09:55.980630 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c70b8; line 1547 (connection #0)
03:09:55.992139 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:09:55.992701 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c70b8; line 1665 (connection #0)
03:09:55.993807 == Info: Marked for [keep alive]: FTP default
03:09:57.448335 == Info: successfully set certificate verify locations:
03:09:57.448599 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:09:57.563727 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:09:57.568891 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:09:57.568949 => Send SSL data, 126 bytes (0x7e)
0000: ...z....)9..g.e.(..jM..@..Rxo..d..........+./.,.0...............
0040: ../.5.....3...................................................
03:09:57.585710 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:09:57.591229 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:09:57.591284 <= Recv SSL data, 89 bytes (0x59)
0000: ...U......} ..].......c...f?$.7^.?.... .BBa x.....~.m.+6..B.5..
0040: K..aGk../................
03:09:57.634711 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:57.635054 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:09:57.635108 <= 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:09:57.733360 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:09:57.733568 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:09:57.733623 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.F...0\....h.>+.......+...m-c..l.) {.d..4......C].AXj.^.
0040: .....~';.....T......p....[7F]..&........Su....#...t...x.N.&u.K.....
0080: ..Q.%W.Fw...1.|.!..1..Bh?.^..^ju.(EE.?.....L.BM/............RJYH
00c0: 9...$*.}...........o._..........e.l......{...ib~{....T.(.L...W.W
0100: ..?..?..$T._.a..2 k.E...\i.j1.......(b.....s.!C..P...|r.7.Q...JG
0140: ..;<i..N+_...
03:09:57.803030 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:57.803224 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:09:57.803278 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:09:57.918348 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:09:57.918540 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:09:57.918594 => Send SSL data, 70 bytes (0x46)
0000: ...BA.u&.7.J{.i..j.k7.^3Av\lZ.......OK.R.."....j.[.-R....Fp..C..
0040: ....u.
03:09:57.930528 => Send SSL data, 5 bytes (0x5)
0000: .....
03:09:57.931109 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:09:57.931165 => Send SSL data, 1 bytes (0x1)
0000: .
03:09:57.952486 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:09:57.952542 => Send SSL data, 16 bytes (0x10)
0000: ....W..l.i...{s.
03:09:57.964979 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:09:57.967527 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:57.968619 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:09:57.968676 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:09:57.971137 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:09:57.976812 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:09:57.976868 <= Recv SSL data, 16 bytes (0x10)
0000: ......;..q....2v
03:09:58.005518 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:09:58.007752 == Info: Server certificate:
03:09:58.015424 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:09:58.021645 == Info: start date: Aug 31 23:39:18 2018 GMT
03:09:58.022614 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:09:58.023563 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:09:58.024450 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:09:58.025948 == Info: FTP 0x5742ee0 (line 3092) state change from STOP to WAIT220
03:09:58.032207 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.035631 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.035901 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.036129 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.036353 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.036589 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.036812 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.037038 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.040299 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c70b8; line 1682 (connection #0)
03:09:58.047483 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.057099 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.067315 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.077489 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.087655 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.097691 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.107891 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.117991 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.128027 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.138115 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.148172 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.158229 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.168373 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.178395 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.188598 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.198653 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.208770 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.218808 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.228900 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.238970 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.249082 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.259186 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.269214 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.279347 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.280352 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:09:58.290281 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.299352 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.309688 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.319670 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.329794 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.339879 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.350038 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.360103 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.370176 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.380337 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.390339 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.400499 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.410541 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.420640 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.430765 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.440737 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.450829 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.460942 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.470986 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.481232 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.491133 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.501219 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.511317 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.521447 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.531504 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.541598 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.551782 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.561741 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.571839 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.581934 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.592045 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.602075 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.602417 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:09:58.612133 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.622268 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.632285 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.642348 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.652482 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.662631 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.672747 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.682740 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.692880 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.702916 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.712994 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.723073 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.733157 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.743379 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.753291 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.763508 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.773465 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.783524 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.793626 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.803688 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.813821 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.823879 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.834004 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.844120 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.854168 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.864243 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.874324 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.884445 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.894507 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.904565 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.914612 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.924709 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.925065 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:09:58.934913 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.944987 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.955059 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.965107 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.975195 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.985351 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:58.995338 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.005585 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.015548 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.025603 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.035778 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.045842 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.055947 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.066026 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.076113 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.086205 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.096299 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.106391 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.116500 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.126580 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.136693 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.146767 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.156867 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.166955 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.177058 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.187153 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.197230 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.207325 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.217378 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.227456 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.237633 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.247672 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.248030 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:09:59.257762 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.267845 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.277918 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.287981 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.298074 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.308174 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.318264 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.328334 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.338437 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.348553 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.358618 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.368755 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.378838 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.388942 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.398989 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.409102 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.419200 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.429314 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.439357 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.449466 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.459583 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.469626 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.479782 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.489821 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.499977 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.510092 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.520161 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.530256 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.540329 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.550413 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.560532 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.570594 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.570948 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:09:59.586633 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:09:59.589587 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:09:59.590368 == Info: FTP 0x5742ee0 (line 792) state change from WAIT220 to USER
03:09:59.590740 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.598954 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.609111 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.619262 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.629346 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.639495 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.649621 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.659718 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.660071 <= Recv header, 8 bytes (0x8)
0000: 331 OK
03:09:59.663133 => Send SSL data, 5 bytes (0x5)
0000: .....
03:09:59.663448 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:09:59.664468 == Info: FTP 0x5742ee0 (line 2520) state change from USER to PASS
03:09:59.670068 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.680062 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.690157 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.700299 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.710429 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.720541 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.730616 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.740708 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.741060 <= Recv header, 8 bytes (0x8)
0000: 230 OK
03:09:59.742652 => Send SSL data, 5 bytes (0x5)
0000: ....
03:09:59.742957 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:09:59.743818 == Info: FTP 0x5742ee0 (line 2496) state change from PASS to PBSZ
03:09:59.751014 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.792920 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.801389 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.811467 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.821537 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.831620 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.841681 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.851758 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.861830 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.871901 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.881976 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.892046 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.902112 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.912189 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.922263 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.932335 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.942425 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.952489 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.962551 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.972635 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.982695 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:09:59.992776 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.002905 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.003269 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:10:00.004778 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:00.005082 => Send header, 8 bytes (0x8)
0000: PROT C
03:10:00.005990 == Info: FTP 0x5742ee0 (line 2709) state change from PBSZ to PROT
03:10:00.013319 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.023364 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.033463 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.043554 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.053639 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.063733 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.073827 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.083901 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.094017 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.104113 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.114208 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.124304 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.134399 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.144508 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.154591 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.164698 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.174777 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.184849 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.194964 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.205050 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.215164 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.225261 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.235357 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.245450 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.255557 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.265643 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.265996 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:10:00.267789 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:00.268090 => Send header, 5 bytes (0x5)
0000: PWD
03:10:00.268921 == Info: FTP 0x5742ee0 (line 804) state change from PROT to PWD
03:10:00.276020 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.286105 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.296187 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.306308 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.316389 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.326465 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.336594 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.346695 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.356785 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.357139 <= Recv header, 9 bytes (0x9)
0000: 257 "/"
03:10:00.359928 == Info: Entry path is '/'
03:10:00.360507 == Info: FTP 0x5742ee0 (line 2844) state change from PWD to STOP
03:10:00.360931 == Info: protocol connect phase DONE
03:10:00.361563 == Info: STATE: PROTOCONNECT => DO handle 0x56c70b8; line 1701 (connection #0)
03:10:00.368244 == Info: DO phase starts
03:10:00.373041 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:00.373162 => Send header, 6 bytes (0x6)
0000: EPSV
03:10:00.373497 == Info: FTP 0x5742ee0 (line 1330) state change from STOP to PASV
03:10:00.373672 == Info: Connect data stream passively
03:10:00.374335 == Info: ftp_perform ends with SECONDARY: 0
03:10:00.375050 == Info: STATE: DO => DOING handle 0x56c70b8; line 1743 (connection #0)
03:10:00.376104 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.416917 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.426347 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.436395 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.446452 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.456560 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.466671 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.476755 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.486856 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.496965 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.507096 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.517134 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.527213 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.537303 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.547400 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.557497 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.567593 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.577684 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.587824 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.597876 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.607971 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.618069 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.628159 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.638258 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.648352 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.658449 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.668559 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.678649 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.688746 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.698829 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.708939 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.719021 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.729090 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.739190 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.749284 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.749637 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||35743|).
03:10:00.764233 == Info: Trying 127.0.0.1:35743...
03:10:00.764387 == Info: TCP_NODELAY set
03:10:00.766096 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 35743
03:10:00.767197 == Info: FTP 0x5742ee0 (line 1977) state change from PASV to STOP
03:10:00.767745 == Info: DO phase is complete2
03:10:00.768005 == Info: STATE: DOING => DO_MORE handle 0x56c70b8; line 1825 (connection #0)
03:10:00.768727 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:10:00.768943 == Info: DO-MORE connected phase starts
03:10:00.770292 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:00.770418 => Send header, 8 bytes (0x8)
0000: TYPE I
03:10:00.770804 == Info: FTP 0x5742ee0 (line 3418) state change from STOP to RETR_TYPE
03:10:00.771192 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.781383 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.791308 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.801408 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.811552 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.821677 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.831790 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.841916 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.842249 <= Recv header, 8 bytes (0x8)
0000: 200 OK
03:10:00.844920 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:10:00.845224 => Send header, 11 bytes (0xb)
0000: SIZE 1112
03:10:00.846085 == Info: FTP 0x5742ee0 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:10:00.852941 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.863010 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.873094 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.883153 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.893267 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.903363 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.913461 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.923554 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.933648 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.943713 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.944067 <= Recv header, 10 bytes (0xa)
0000: 213 3600
03:10:00.948338 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:10:00.948653 => Send header, 11 bytes (0xb)
0000: RETR 1112
03:10:00.949512 == Info: FTP 0x5742ee0 (line 2229) state change from RETR_SIZE to RETR
03:10:00.954550 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:00.996950 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.005074 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.015274 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.025194 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.035315 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.045426 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.055506 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.065576 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.075667 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.085752 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.095847 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.105949 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.116041 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.126137 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.136273 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.146371 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.156489 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.166562 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.176670 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.186756 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.196861 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.206947 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.217034 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.227165 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.237228 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.247332 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.257417 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.267510 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.277606 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.287700 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.297798 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.307888 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.317947 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.328024 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.338181 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.348275 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.358372 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.368490 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.378580 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.388670 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.398753 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.408863 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.418914 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.428980 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.439083 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.449164 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.459249 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.469405 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.479503 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.489597 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:01.489949 <= Recv header, 54 bytes (0x36)
0000: 150 Binary data connection for 1112 () (3600 bytes).
03:10:01.492273 == Info: Maxdownload = -1
03:10:01.492826 == Info: Getting file with size: 3600
03:10:01.496372 == Info: FTP 0x5742ee0 (line 477) state change from RETR to STOP
03:10:01.497815 == Info: STATE: DO_MORE => DO_DONE handle 0x56c70b8; line 1850 (connection #0)
03:10:01.498813 == Info: STATE: DO_DONE => PERFORM handle 0x56c70b8; line 1877 (connection #0)
03:10:01.505800 <= Recv data, 1 bytes (0x1)
0000: L
03:10:01.511140 <= Recv data, 1 bytes (0x1)
0000: o
03:10:01.519660 <= Recv data, 1 bytes (0x1)
0000: n
03:10:01.529781 <= Recv data, 1 bytes (0x1)
0000: g
03:10:01.539915 <= Recv data, 1 bytes (0x1)
0000:
03:10:01.550004 <= Recv data, 1 bytes (0x1)
0000: c
03:10:01.560100 <= Recv data, 1 bytes (0x1)
0000: h
03:10:01.570196 <= Recv data, 1 bytes (0x1)
0000: u
03:10:01.580322 <= Recv data, 1 bytes (0x1)
0000: n
03:10:01.590409 <= Recv data, 1 bytes (0x1)
0000: k
03:10:01.600513 <= Recv data, 1 bytes (0x1)
0000:
03:10:01.610637 <= Recv data, 1 bytes (0x1)
0000: o
03:10:01.620727 <= Recv data, 1 bytes (0x1)
0000: f
03:10:01.630817 <= Recv data, 1 bytes (0x1)
0000:
03:10:01.640915 <= Recv data, 1 bytes (0x1)
0000: d
03:10:01.651016 <= Recv data, 1 bytes (0x1)
0000: a
03:10:01.661110 <= Recv data, 1 bytes (0x1)
0000: t
03:10:01.671204 <= Recv data, 1 bytes (0x1)
0000: a
03:10:01.681300 <= Recv data, 1 bytes (0x1)
0000:
03:10:01.691388 <= Recv data, 1 bytes (0x1)
0000: t
03:10:01.701484 <= Recv data, 1 bytes (0x1)
0000: h
03:10:01.711579 <= Recv data, 1 bytes (0x1)
0000: a
03:10:01.721681 <= Recv data, 1 bytes (0x1)
0000: t
03:10:01.731767 <= Recv data, 1 bytes (0x1)
0000:
03:10:01.741863 <= Recv data, 1 bytes (0x1)
0000: c
03:10:01.751965 <= Recv data, 1 bytes (0x1)
0000: o
03:10:01.762108 <= Recv data, 1 bytes (0x1)
0000: u
03:10:01.772148 <= Recv data, 1 bytes (0x1)
0000: l
03:10:01.782244 <= Recv data, 1 bytes (0x1)
0000: d
03:10:01.792362 <= Recv data, 1 bytes (0x1)
0000: n
03:10:01.802433 <= Recv data, 1 bytes (0x1)
0000: '
03:10:01.812546 <= Recv data, 1 bytes (0x1)
0000: t
03:10:01.822633 <= Recv data, 1 bytes (0x1)
0000:
03:10:01.832732 <= Recv data, 1 bytes (0x1)
0000: p
03:10:01.842815 <= Recv data, 1 bytes (0x1)
0000: o
03:10:01.852909 <= Recv data, 1 bytes (0x1)
0000: s
03:10:01.863012 <= Recv data, 1 bytes (0x1)
0000: s
03:10:01.873101 <= Recv data, 1 bytes (0x1)
0000: i
03:10:01.883165 <= Recv data, 1 bytes (0x1)
0000: b
03:10:01.893224 <= Recv data, 1 bytes (0x1)
0000: l
03:10:01.903360 <= Recv data, 1 bytes (0x1)
0000: y
03:10:01.913456 <= Recv data, 1 bytes (0x1)
0000:
03:10:01.923552 <= Recv data, 1 bytes (0x1)
0000: b
03:10:01.933652 <= Recv data, 1 bytes (0x1)
0000: e
03:10:01.943709 <= Recv data, 1 bytes (0x1)
0000:
03:10:01.953824 <= Recv data, 1 bytes (0x1)
0000: s
03:10:01.963933 <= Recv data, 1 bytes (0x1)
0000: e
03:10:01.974016 <= Recv data, 1 bytes (0x1)
0000: n
03:10:01.984110 <= Recv data, 1 bytes (0x1)
0000: t
03:10:01.994205 <= Recv data, 1 bytes (0x1)
0000:
03:10:02.004310 <= Recv data, 1 bytes (0x1)
0000: i
03:10:02.014361 <= Recv data, 1 bytes (0x1)
0000: n
03:10:02.024415 <= Recv data, 1 bytes (0x1)
0000:
03:10:02.034615 <= Recv data, 1 bytes (0x1)
0000: t
03:10:02.044701 <= Recv data, 1 bytes (0x1)
0000: h
03:10:02.054782 <= Recv data, 1 bytes (0x1)
0000: e
03:10:02.064787 <= Recv data, 1 bytes (0x1)
0000:
03:10:02.074919 <= Recv data, 1 bytes (0x1)
0000: t
03:10:02.084987 <= Recv data, 1 bytes (0x1)
0000: i
03:10:02.095059 <= Recv data, 1 bytes (0x1)
0000: m
03:10:02.105138 <= Recv data, 1 bytes (0x1)
0000: e
03:10:02.115204 <= Recv data, 1 bytes (0x1)
0000:
03:10:02.125275 <= Recv data, 1 bytes (0x1)
0000: a
03:10:02.135352 <= Recv data, 1 bytes (0x1)
0000: l
03:10:02.145432 <= Recv data, 1 bytes (0x1)
0000: l
03:10:02.155499 <= Recv data, 1 bytes (0x1)
0000: o
03:10:02.165579 <= Recv data, 1 bytes (0x1)
0000: t
03:10:02.175688 <= Recv data, 1 bytes (0x1)
=== File too long: 1742 lines omitted here
0000: n
03:10:10.977026 <= Recv data, 1 bytes (0x1)
0000: g
03:10:10.987121 <= Recv data, 1 bytes (0x1)
0000:
03:10:10.997228 <= Recv data, 1 bytes (0x1)
0000: c
03:10:11.007396 <= Recv data, 1 bytes (0x1)
0000: h
03:10:11.017416 <= Recv data, 1 bytes (0x1)
0000: u
03:10:11.027525 <= Recv data, 1 bytes (0x1)
0000: n
03:10:11.037607 <= Recv data, 1 bytes (0x1)
0000: k
03:10:11.047714 <= Recv data, 1 bytes (0x1)
0000:
03:10:11.057813 <= Recv data, 1 bytes (0x1)
0000: o
03:10:11.067901 <= Recv data, 1 bytes (0x1)
0000: f
03:10:11.077990 <= Recv data, 1 bytes (0x1)
0000:
03:10:11.088085 <= Recv data, 1 bytes (0x1)
0000: d
03:10:11.098237 <= Recv data, 1 bytes (0x1)
0000: a
03:10:11.108263 <= Recv data, 1 bytes (0x1)
0000: t
03:10:11.118342 <= Recv data, 1 bytes (0x1)
0000: a
03:10:11.128402 <= Recv data, 1 bytes (0x1)
0000:
03:10:11.138502 <= Recv data, 1 bytes (0x1)
0000: t
03:10:11.148599 <= Recv data, 1 bytes (0x1)
0000: h
03:10:11.158735 <= Recv data, 1 bytes (0x1)
0000: a
03:10:11.168767 <= Recv data, 1 bytes (0x1)
0000: t
03:10:11.178846 <= Recv data, 1 bytes (0x1)
0000:
03:10:11.188961 <= Recv data, 1 bytes (0x1)
0000: c
03:10:11.199069 <= Recv data, 1 bytes (0x1)
0000: o
03:10:11.209145 <= Recv data, 1 bytes (0x1)
0000: u
03:10:11.219296 <= Recv data, 1 bytes (0x1)
0000: l
03:10:11.229393 <= Recv data, 1 bytes (0x1)
0000: d
03:10:11.239525 <= Recv data, 1 bytes (0x1)
0000: n
03:10:11.249552 <= Recv data, 1 bytes (0x1)
0000: '
03:10:11.259700 <= Recv data, 1 bytes (0x1)
0000: t
03:10:11.269777 <= Recv data, 1 bytes (0x1)
0000:
03:10:11.279899 <= Recv data, 1 bytes (0x1)
0000: p
03:10:11.289984 <= Recv data, 1 bytes (0x1)
0000: o
03:10:11.300025 <= Recv data, 1 bytes (0x1)
0000: s
03:10:11.310152 <= Recv data, 1 bytes (0x1)
0000: s
03:10:11.320242 <= Recv data, 1 bytes (0x1)
0000: i
03:10:11.330337 <= Recv data, 1 bytes (0x1)
0000: b
03:10:11.340490 <= Recv data, 1 bytes (0x1)
0000: l
03:10:11.350533 <= Recv data, 1 bytes (0x1)
0000: y
03:10:11.360648 <= Recv data, 1 bytes (0x1)
0000:
03:10:11.370760 <= Recv data, 1 bytes (0x1)
0000: b
03:10:11.380855 <= Recv data, 1 bytes (0x1)
0000: e
03:10:11.390940 <= Recv data, 1 bytes (0x1)
0000:
03:10:11.401025 <= Recv data, 1 bytes (0x1)
0000: s
03:10:11.411121 <= Recv data, 1 bytes (0x1)
0000: e
03:10:11.421224 <= Recv data, 1 bytes (0x1)
0000: n
03:10:11.431312 <= Recv data, 1 bytes (0x1)
0000: t
03:10:11.441434 <= Recv data, 1 bytes (0x1)
0000:
03:10:11.451484 <= Recv data, 1 bytes (0x1)
0000: i
03:10:11.461551 <= Recv data, 1 bytes (0x1)
0000: n
03:10:11.471642 <= Recv data, 1 bytes (0x1)
0000:
03:10:11.481734 <= Recv data, 1 bytes (0x1)
0000: t
03:10:11.491894 <= Recv data, 1 bytes (0x1)
0000: h
03:10:11.501927 <= Recv data, 1 bytes (0x1)
0000: e
03:10:11.512013 <= Recv data, 1 bytes (0x1)
0000:
03:10:11.522113 <= Recv data, 1 bytes (0x1)
0000: t
03:10:11.532199 <= Recv data, 1 bytes (0x1)
0000: i
03:10:11.542285 <= Recv data, 1 bytes (0x1)
0000: m
03:10:11.552383 <= Recv data, 1 bytes (0x1)
0000: e
03:10:11.562505 <= Recv data, 1 bytes (0x1)
0000:
03:10:11.572588 <= Recv data, 1 bytes (0x1)
0000: a
03:10:11.582679 <= Recv data, 1 bytes (0x1)
0000: l
03:10:11.592795 <= Recv data, 1 bytes (0x1)
0000: l
03:10:11.602870 <= Recv data, 1 bytes (0x1)
0000: o
03:10:11.612957 <= Recv data, 1 bytes (0x1)
0000: t
03:10:11.623059 <= Recv data, 1 bytes (0x1)
0000: t
03:10:11.633165 <= Recv data, 1 bytes (0x1)
0000: e
03:10:11.643217 <= Recv data, 1 bytes (0x1)
0000: d
03:10:11.653387 <= Recv data, 1 bytes (0x1)
0000: .
03:10:11.663461 <= Recv data, 1 bytes (0x1)
0000: .
03:10:11.673533 <= Recv data, 1 bytes (0x1)
0000: L
03:10:11.683623 <= Recv data, 1 bytes (0x1)
0000: o
03:10:11.693720 <= Recv data, 1 bytes (0x1)
0000: n
03:10:11.703864 <= Recv data, 1 bytes (0x1)
0000: g
03:10:11.713922 <= Recv data, 1 bytes (0x1)
0000:
03:10:11.724007 <= Recv data, 1 bytes (0x1)
0000: c
03:10:11.734111 <= Recv data, 1 bytes (0x1)
0000: h
03:10:11.744202 <= Recv data, 1 bytes (0x1)
0000: u
03:10:11.754300 <= Recv data, 1 bytes (0x1)
0000: n
03:10:11.764401 <= Recv data, 1 bytes (0x1)
0000: k
03:10:11.774509 <= Recv data, 1 bytes (0x1)
0000:
03:10:11.784605 <= Recv data, 1 bytes (0x1)
0000: o
03:10:11.794693 <= Recv data, 1 bytes (0x1)
0000: f
03:10:11.804835 <= Recv data, 1 bytes (0x1)
0000:
03:10:11.814868 <= Recv data, 1 bytes (0x1)
0000: d
03:10:11.824964 <= Recv data, 1 bytes (0x1)
0000: a
03:10:11.835060 <= Recv data, 1 bytes (0x1)
0000: t
03:10:11.845166 <= Recv data, 1 bytes (0x1)
0000: a
03:10:11.855255 <= Recv data, 1 bytes (0x1)
0000:
03:10:11.865352 <= Recv data, 1 bytes (0x1)
0000: t
03:10:11.875462 <= Recv data, 1 bytes (0x1)
0000: h
03:10:11.885549 <= Recv data, 1 bytes (0x1)
0000: a
03:10:11.895676 <= Recv data, 1 bytes (0x1)
0000: t
03:10:11.905753 <= Recv data, 1 bytes (0x1)
0000:
03:10:11.915860 <= Recv data, 1 bytes (0x1)
0000: c
03:10:11.920829 == Info: Operation timed out after 16000 milliseconds with 1033 out of 3600 bytes received
03:10:11.921758 == Info: Marked for [closure]: Disconnected with pending data
03:10:11.922253 == Info: multi_done
03:10:11.936879 == Info: Closing connection 0
03:10:11.938506 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:11.939436 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
03:10:11.939492 => Send SSL data, 2 bytes (0x2)
0000: ..
03:10:12.010360 == Info: The cache now contains 0 members
03:10:12.017233 == Info: Expire cleared (transfer 0x56c70b8)
=== End of file trace1112
=== Start of file valgrind1112
==21923== Invalid read of size 8
==21923== at 0x53325A5: check_free (dlerror.c:188)
==21923== by 0x5332AB1: free_key_mem (dlerror.c:221)
==21923== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==21923== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==21923== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==21923== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==21923== by 0x4C49EB9: exit (exit.c:139)
==21923== by 0x4C340A1: (below main) (libc-start.c:342)
==21923== Address 0x5af6de0 is 0 bytes after a block of size 32 alloc'd
==21923== at 0x483577F: malloc (vg_replace_malloc.c:309)
==21923== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==21923== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==21923== by 0x24AE36: err_get_state (err.c:210)
==21923== by 0x24BA0C: ERR_put_error (err.c:636)
==21923== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==21923== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==21923== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==21923== by 0x270058: by_file_ctrl (by_file.c:111)
==21923== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==21923== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==21923== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==21923== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==21923== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==21923== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==21923== by 0x182153: Curl_ssl_connect (vtls.c:251)
==21923==
==21923== Invalid free() / delete / delete[] / realloc()
==21923== at 0x48369AB: free (vg_replace_malloc.c:540)
==21923== by 0x5332AB9: free_key_mem (dlerror.c:223)
==21923== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==21923== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==21923== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==21923== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==21923== by 0x4C49EB9: exit (exit.c:139)
==21923== by 0x4C340A1: (below main) (libc-start.c:342)
==21923== Address 0x5af6dc8 is 8 bytes inside a block of size 32 alloc'd
==21923== at 0x483577F: malloc (vg_replace_malloc.c:309)
==21923== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==21923== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==21923== by 0x24AE36: err_get_state (err.c:210)
==21923== by 0x24BA0C: ERR_put_error (err.c:636)
==21923== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==21923== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==21923== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==21923== by 0x270058: by_file_ctrl (by_file.c:111)
==21923== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==21923== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==21923== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==21923== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==21923== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==21923== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==21923== by 0x182153: Curl_ssl_connect (vtls.c:251)
==21923==
==21923== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==21923== at 0x483577F: malloc (vg_replace_malloc.c:309)
==21923== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==21923== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==21923== by 0x24AE36: err_get_state (err.c:210)
==21923== by 0x24BA0C: ERR_put_error (err.c:636)
==21923== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==21923== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==21923== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==21923== by 0x270058: by_file_ctrl (by_file.c:111)
==21923== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==21923== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==21923== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==21923== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==21923== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==21923== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==21923== by 0x182153: Curl_ssl_connect (vtls.c:251)
==21923==
=== End of file valgrind1112
test 1113...[FTP wildcard download - changed fnmatch, 2x perform (DOS LIST response)]
s-p----emv- OK (790 out of 1251, remaining: 11:11, took 3.5s, duration: 19:10)
test 1114...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (DOS)]
s------emv- OK (791 out of 1251, remaining: 11:09, took 1.2s, duration: 19:11)
test 1115...[HTTP GET with unexpected 1xx response]
--pd---emv- OK (792 out of 1251, remaining: 11:08, took 1.2s, duration: 19:12)
test 1116...[HTTP GET with chunked trailer without Trailer:]
--pd--oemv- OK (793 out of 1251, remaining: 11:06, took 1.2s, duration: 19:14)
test 1117...[HTTP with invalid range then another URL]
s-p----emv- OK (794 out of 1251, remaining: 11:18, took 24.1s, duration: 19:38)
test 1118...[URL without slash and @-letter in query]
--pd---emv- OK (795 out of 1251, remaining: 11:16, took 1.2s, duration: 19:39)
test 1119...[Verify that symbols-in-versions and headers are in sync]
-------e-- OK (796 out of 1251, remaining: 11:14, took 0.0s, duration: 19:39)
test 1120...[FTP with 421 timeout response]
--p----emv- OK (797 out of 1251, remaining: 11:12, took 1.1s, duration: 19:40)
test 1121...[HTTP multiple provided Host: headers]
--pd---emv- OK (798 out of 1251, remaining: 11:10, took 1.2s, duration: 19:41)
test 1122...[HTTP GET gzip transfer-encoded content]
--pd---emv- OK (799 out of 1251, remaining: 11:09, took 1.2s, duration: 19:42)
test 1123...[HTTP GET deflate transfer-encoded content]
--pd---emv- OK (800 out of 1251, remaining: 11:07, took 1.2s, duration: 19:44)
test 1124...[HTTP GET gzip+chunked transfer-encoded content]
--pd---emv- OK (801 out of 1251, remaining: 11:05, took 1.2s, duration: 19:45)
test 1125...[HTTP GET transfer-encoding with custom Connection:]
--pd---emv- OK (802 out of 1251, remaining: 11:04, took 1.2s, duration: 19:46)
test 1126...[HTTP 200 If-Modified-Since with newer document]
--pd---emv- OK (803 out of 1251, remaining: 11:02, took 1.2s, duration: 19:47)
test 1127...[HTTP 200 If-Modified-Since with older document]
--pd---emv- OK (804 out of 1251, remaining: 11:00, took 1.2s, duration: 19:48)
test 1128...[HTTP 200 If-Modified-Since with old+new documents]
s-p----emv- OK (805 out of 1251, remaining: 10:59, took 1.2s, duration: 19:50)
test 1129...[HTTP POST expect 100-continue with a 404]
s-p----emv- OK (806 out of 1251, remaining: 10:57, took 1.2s, duration: 19:51)
test 1130...[HTTP POST forced expect 100-continue with a 404]
s-p----emv- OK (807 out of 1251, remaining: 10:56, took 1.2s, duration: 19:52)
test 1131...[HTTP PUT expect 100-continue with a 400]
s-p----emv- OK (808 out of 1251, remaining: 10:54, took 1.2s, duration: 19:53)
test 1132...[Verify memory #include files in libcurl's C source files]
-------e-- OK (809 out of 1251, remaining: 10:52, took 0.0s, duration: 19:53)
test 1133...[HTTP RFC1867-type formposting with filename/data contains ',', ';', '"']
--pd---emv- OK (810 out of 1251, remaining: 10:51, took 2.2s, duration: 19:55)
test 1134...[HTTP connection re-use with different credentials]
--pd---emv- OK (811 out of 1251, remaining: 10:49, took 1.2s, duration: 19:57)
test 1135...[Verify CURL_EXTERN order]
s------e-- OK (812 out of 1251, remaining: 10:47, took 0.0s, duration: 19:57)
test 1136...[Check cookies against PSL]
---d--oemv- OK (813 out of 1251, remaining: 10:45, took 1.3s, duration: 19:58)
test 1137...[FTP RETR --ignore-content-length]
--pd---emv- OK (814 out of 1251, remaining: 10:44, took 1.2s, duration: 19:59)
test 1138...[HTTP redirect with UTF-8 characters]
--pd---emv- OK (815 out of 1251, remaining: 10:42, took 1.3s, duration: 20:00)
test 1139...[Verify that all libcurl options have man pages]
-------e-- OK (816 out of 1251, remaining: 10:40, took 0.1s, duration: 20:00)
test 1140...[Verify the nroff of man pages]
-------e-- OK (817 out of 1251, remaining: 10:37, took 0.0s, duration: 20:00)
test 1141...[HTTP redirect to http:/// (three slashes!)]
--pd---emv- OK (818 out of 1251, remaining: 10:36, took 1.2s, duration: 20:02)
test 1142...[HTTP redirect to http://// (four slashes!)]
--pd---emv- OK (819 out of 1251, remaining: 10:34, took 1.2s, duration: 20:03)
test 1143...[HTTP URL with http:/ (one slash!)]
--pd---emv- OK (820 out of 1251, remaining: 10:33, took 1.2s, duration: 20:04)
test 1144...[HTTP HEAD, receive no headers only body]
--pd---emv- OK (821 out of 1251, remaining: 10:31, took 1.2s, duration: 20:05)
test 1145...[file:// bad host]
-------emv- OK (822 out of 1251, remaining: 10:29, took 1.0s, duration: 20:06)
test 1146...[--proto-default file]
---d---emv- OK (823 out of 1251, remaining: 10:28, took 1.1s, duration: 20:07)
test 1147...[Get -H headers from a file]
--pd---emv- OK (824 out of 1251, remaining: 10:26, took 1.2s, duration: 20:08)
test 1148...[progress-bar]
--pd--oemv- OK (825 out of 1251, remaining: 10:24, took 1.2s, duration: 20:10)
test 1149...[FTP dir list multicwd then again nocwd]
--pd---emv- OK (826 out of 1251, remaining: 10:23, took 1.3s, duration: 20:11)
test 1150...[HTTP proxy with URLs using different ports]
--pd---emv- OK (827 out of 1251, remaining: 10:21, took 1.2s, duration: 20:12)
test 1151...[HTTP with too long cookies]
--pd--oemv- OK (828 out of 1251, remaining: 10:20, took 1.2s, duration: 20:13)
test 1152...[FTP with uneven quote in PWD response]
--pd---emv- OK (829 out of 1251, remaining: 10:18, took 1.2s, duration: 20:15)
test 1153...[FTP with quoted double quotes]
--pd---emv- OK (830 out of 1251, remaining: 10:16, took 1.2s, duration: 20:16)
test 1154...[HTTP GET]
--p----emv- OK (831 out of 1251, remaining: 10:15, took 1.2s, duration: 20:17)
test 1155...[HTTP cookie with parameter word as name]
--pd--oemv- OK (832 out of 1251, remaining: 10:13, took 1.2s, duration: 20:18)
test 1156...[HTTP resume/range fail range-error content-range combinations]
-------emv- OK (833 out of 1251, remaining: 10:12, took 1.1s, duration: 20:19)
test 1157...[Get -H headers from empty file]
--pd---emv- OK (834 out of 1251, remaining: 10:10, took 1.2s, duration: 20:21)
test 1158...[HTTP RFC1867-type formposting with filename containing '"']
--pd---emv- OK (835 out of 1251, remaining: 10:08, took 1.2s, duration: 20:22)
test 1159...[HTTP Location: and 'redirect_url' with non-supported scheme]
s-p----emv- OK (836 out of 1251, remaining: 10:07, took 1.2s, duration: 20:23)
test 1160...[HTTP with long funny format cookie]
--pd--oemv- OK (837 out of 1251, remaining: 10:05, took 1.2s, duration: 20:24)
test 1161...[HTTP cookie with path set twice]
--pd--oemv- OK (838 out of 1251, remaining: 10:04, took 1.2s, duration: 20:25)
test 1162...[FTP wildcard with crazy pattern]
--p----emv- OK (839 out of 1251, remaining: 10:02, took 1.1s, duration: 20:26)
test 1163...[FTP wildcard with pattern ending with an open-bracket]
--p----emv- OK (840 out of 1251, remaining: 10:00, took 1.1s, duration: 20:27)
test 1164...[HTTP/0.9 GET and all zeroes]
s-p----emv- OK (841 out of 1251, remaining: 09:59, took 1.2s, duration: 20:29)
test 1165...[Verify configure.ac and source code CURL_DISABLE_-sync]
-------e-- OK (842 out of 1251, remaining: 09:57, took 0.0s, duration: 20:29)
test 1170...[HTTP GET transfer-encoding with removed Connection:]
--pd---emv- OK (843 out of 1251, remaining: 09:55, took 1.2s, duration: 20:30)
test 1171...[HTTP GET transfer-encoding with blanked Connection:]
--pd---emv- OK (844 out of 1251, remaining: 09:53, took 1.2s, duration: 20:31)
test 1172...[HTTP/0.9 GET response denied]
--p----emv- OK (845 out of 1251, remaining: 09:52, took 1.2s, duration: 20:32)
test 1173...[Basic man page syntax check]
-------e-- OK (846 out of 1251, remaining: 09:50, took 0.0s, duration: 20:32)
test 1174...[HTTP/0.9 GET response denied by default]
--p----emv- OK (847 out of 1251, remaining: 09:48, took 1.1s, duration: 20:33)
test 1200...[Gopher index]
--pd---emv- OK (848 out of 1251, remaining: 09:47, took 3.2s, duration: 20:37)
test 1201...[Gopher selector]
--pd---emv- OK (849 out of 1251, remaining: 09:46, took 1.2s, duration: 20:38)
test 1202...[Gopher query]
--pd---emv- OK (850 out of 1251, remaining: 09:44, took 1.2s, duration: 20:39)
test 1203...[Gopher IPv6 index]
--pd---emv- OK (851 out of 1251, remaining: 09:44, took 3.2s, duration: 20:42)
test 1204...[HTTP with WWW-Authenticate and multiple auths in a single line]
--pd---emv- OK (852 out of 1251, remaining: 09:42, took 1.2s, duration: 20:43)
test 1205...[HTTP GET with 18K HTTP header]
--pd---emv- OK (853 out of 1251, remaining: 09:40, took 1.2s, duration: 20:45)
test 1206...[FTP PORT and 425 on download]
--p----emv- OK (854 out of 1251, remaining: 09:39, took 1.2s, duration: 20:46)
test 1207...[FTP PORT and 421 on download]
--p----emv- OK (855 out of 1251, remaining: 09:37, took 1.2s, duration: 20:47)
test 1208...[FTP PORT download, no data conn and no transient negative reply]
--p----emv- OK (856 out of 1251, remaining: 09:37, took 3.1s, duration: 20:50)
test 1210...[HTTP GET with -J without Content-Disposition]
--p---oemv- OK (857 out of 1251, remaining: 09:35, took 1.2s, duration: 20:51)
test 1212...[noproxy setting together with socks proxy]
--pd---emv- OK (858 out of 1251, remaining: 09:33, took 1.2s, duration: 20:52)
test 1213...[HTTP with proxy and host-only URL]
--pd---emv- OK (859 out of 1251, remaining: 09:32, took 1.2s, duration: 20:53)
test 1214...[HTTP with proxy and URL with ? and no slash separator]
--pd---emv- OK (860 out of 1251, remaining: 09:30, took 1.2s, duration: 20:55)
test 1215...[HTTP with server NTLM authorization using a proxy]
--pd---emv- OK (861 out of 1251, remaining: 09:29, took 1.3s, duration: 20:56)
test 1216...[HTTP cookie domains tailmatching the host name]
--pd---emv- OK (862 out of 1251, remaining: 09:27, took 1.2s, duration: 20:57)
test 1217...[FTP with rubbish before name in 257-response]
--pd---emv- OK (863 out of 1251, remaining: 09:25, took 1.2s, duration: 20:58)
test 1218...[HTTP cookies and domains with same prefix]
--pd---emv- OK (864 out of 1251, remaining: 09:24, took 1.2s, duration: 21:00)
test 1219...[FTP with no user+password required (230 response)]
--pd---emv- OK (865 out of 1251, remaining: 09:22, took 1.2s, duration: 21:01)
test 1220...[file:// URLs with query string]
s------emv- OK (866 out of 1251, remaining: 09:21, took 1.1s, duration: 21:02)
test 1221...[10 chars object name generation testing]
------oe-- OK (867 out of 1251, remaining: 09:19, took 0.4s, duration: 21:02)
test 1222...[8 chars object name generation testing]
------oe-- OK (868 out of 1251, remaining: 09:17, took 0.4s, duration: 21:03)
test 1223...[HTTP GET -w remote_ip and -w remote_port]
s-p----emv- OK (869 out of 1251, remaining: 09:15, took 1.2s, duration: 21:04)
test 1224...[FTP fetch a file from the root directory]
--pd---emv- OK (870 out of 1251, remaining: 09:14, took 1.2s, duration: 21:05)
test 1225...[FTP fetch two files using absolute paths]
--pd---emv- OK (871 out of 1251, remaining: 09:12, took 1.2s, duration: 21:06)
test 1226...[FTP fetch a file from the root directory with singlecwd]
--pd---emv- OK (872 out of 1251, remaining: 09:11, took 1.2s, duration: 21:07)
test 1227...[FTP fetch a file from the root directory with nocwd]
--pd---emv- OK (873 out of 1251, remaining: 09:09, took 1.2s, duration: 21:09)
test 1228...[HTTP cookie path match]
--pd---emv- OK (874 out of 1251, remaining: 09:07, took 1.2s, duration: 21:10)
test 1229...[HTTP with Digest authorization with user name needing escape]
--pd---emv- OK (875 out of 1251, remaining: 09:06, took 1.2s, duration: 21:11)
test 1230...[HTTP CONNECT to IPv6 numerical address]
--pd---emv- OK (876 out of 1251, remaining: 09:04, took 1.2s, duration: 21:12)
test 1231...[HTTP URL with dotdot removal from path]
--pd---emv- OK (877 out of 1251, remaining: 09:03, took 1.2s, duration: 21:13)
test 1232...[HTTP URL with dotdot removal from path using an HTTP proxy]
--pd---emv- OK (878 out of 1251, remaining: 09:01, took 1.2s, duration: 21:15)
test 1233...[FTP failing to connect to EPSV port, switching to PASV]
--pd---emv- OK (879 out of 1251, remaining: 09:00, took 1.2s, duration: 21:16)
test 1234...[abusing {}-globbing]
-------emv- OK (880 out of 1251, remaining: 08:58, took 0.9s, duration: 21:17)
test 1235...[multiple requests using {}{} in the URL]
s-p----emv- OK (881 out of 1251, remaining: 08:56, took 1.3s, duration: 21:18)
test 1236...[[] globbing overflowing the range counter]
-------emv- OK (882 out of 1251, remaining: 08:55, took 0.9s, duration: 21:19)
test 1237...[URL with 1000+ letter user name + password]
--pd---emv- OK (883 out of 1251, remaining: 08:53, took 1.2s, duration: 21:20)
test 1238...[slow TFTP retrieve cancel due to -Y and -y]
--p----emv- OK (884 out of 1251, remaining: 08:53, took 5.1s, duration: 21:25)
test 1239...[HTTP with -z + -w response_code and simulated 304]
s-p----emv- OK (885 out of 1251, remaining: 08:52, took 1.2s, duration: 21:26)
test 1240...[glob [0-1] with stuff after range (7.33.0 regression)]
--pd---emv- OK (886 out of 1251, remaining: 08:50, took 1.2s, duration: 21:28)
test 1241...[HTTP _without_ dotdot removal]
--pd---emv- OK (887 out of 1251, remaining: 08:49, took 1.2s, duration: 21:29)
test 1242...[TFTP retrieve without TFTP options requests]
--pd---emv- OK (888 out of 1251, remaining: 08:47, took 1.1s, duration: 21:30)
test 1243...[TFTP send without TFTP options requests]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (889 out of 1251, remaining: 08:46, took 3.1s, duration: 21:33)
test 1244...[HTTP GET same URL - different proxy ports]
--pd---emv- OK (890 out of 1251, remaining: 08:45, took 1.2s, duration: 21:34)
test 1245...[--proto deny must override --proto-redir allow]
--pd---emv- OK (891 out of 1251, remaining: 08:43, took 1.2s, duration: 21:35)
test 1246...[URL with '#' at end of host name instead of '/']
--pd---emv- OK (892 out of 1251, remaining: 08:42, took 1.2s, duration: 21:37)
test 1247...[--fail-early]
-------emv- OK (893 out of 1251, remaining: 08:40, took 1.1s, duration: 21:38)
test 1248...[Access a non-proxied host with using the combination of --proxy option and --noproxy option]
--pd---emv- OK (894 out of 1251, remaining: 08:38, took 1.2s, duration: 21:39)
test 1249...[Access a non-proxied host with using the combination of --proxy option and NO_PROXY env var]
--pd---emv- OK (895 out of 1251, remaining: 08:37, took 1.2s, duration: 21:40)
test 1250...[Access a non-proxied host with using the combination of http_proxy env var and --noproxy option]
--pd---emv- OK (896 out of 1251, remaining: 08:35, took 1.2s, duration: 21:41)
test 1251...[Access a non-proxied host with using the combination of http_proxy env var and NO_PROXY env var]
--pd---emv- OK (897 out of 1251, remaining: 08:34, took 1.2s, duration: 21:42)
test 1252...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL directly]
--pd---emv- OK (898 out of 1251, remaining: 08:32, took 1.2s, duration: 21:44)
test 1253...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (899 out of 1251, remaining: 08:31, took 1.2s, duration: 21:45)
test 1254...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (900 out of 1251, remaining: 08:29, took 1.2s, duration: 21:46)
test 1255...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL directly]
--pd---emv- OK (901 out of 1251, remaining: 08:27, took 1.2s, duration: 21:47)
test 1256...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (902 out of 1251, remaining: 08:26, took 1.2s, duration: 21:48)
test 1257...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (903 out of 1251, remaining: 08:24, took 1.2s, duration: 21:49)
test 1258...[HTTP, use cookies with localhost]
--pd---emv- OK (904 out of 1251, remaining: 08:23, took 1.2s, duration: 21:51)
test 1259...[HTTP URL with semicolon in password]
--pd---emv- OK (905 out of 1251, remaining: 08:21, took 1.2s, duration: 21:52)
test 1260...[HTTP URL with rubbish after port number]
-------emv- OK (906 out of 1251, remaining: 08:20, took 1.1s, duration: 21:53)
test 1261...['redirect_url' with --location and --max-redir]
s-p----emv- OK (907 out of 1251, remaining: 08:18, took 1.2s, duration: 21:54)
test 1262...[FTP request and denied to download an older file with -z]
--p----emv- OK (908 out of 1251, remaining: 08:17, took 1.2s, duration: 21:55)
test 1263...[HTTP URL with rubbish after IPv6 bracket]
-------emv- OK (909 out of 1251, remaining: 08:15, took 1.1s, duration: 21:56)
test 1264...[HTTP URL with space in host name]
-------emv- OK (910 out of 1251, remaining: 08:13, took 1.0s, duration: 21:57)
test 1265...[NO_PROXY with IPv6 numerical address]
--pd---emv- OK (911 out of 1251, remaining: 08:12, took 1.2s, duration: 21:59)
test 1266...[HTTP GET with a single-byte HTTP/0.9 response]
--pd---emv- OK (912 out of 1251, remaining: 08:10, took 1.2s, duration: 22:00)
test 1267...[HTTP GET with a invalid HTTP/1 response line start]
--pd---emv- OK (913 out of 1251, remaining: 08:09, took 1.2s, duration: 22:01)
test 1268...[file name argument looks like a flag]
------oemv- OK (914 out of 1251, remaining: 08:07, took 1.0s, duration: 22:02)
test 1269...[too large --retry-delay value]
-------emv- OK (915 out of 1251, remaining: 08:05, took 0.9s, duration: 22:03)
test 1280...[simple [a-d] globbing]
--pd---emv- OK (916 out of 1251, remaining: 08:04, took 1.2s, duration: 22:04)
test 1281...[reject non-numerical port number in URL]
-------emv- OK (917 out of 1251, remaining: 08:02, took 1.0s, duration: 22:05)
test 1282...[FTP with 633 response before gss initialized]
--p----emv- OK (918 out of 1251, remaining: 08:01, took 1.1s, duration: 22:06)
test 1283...[globbing range with same start and stop]
--p---oemv- OK (919 out of 1251, remaining: 07:59, took 1.2s, duration: 22:07)
test 1284...[HTTP POST --digest with user-specified Content-Length header]
--pd---emv- OK (920 out of 1251, remaining: 07:58, took 1.2s, duration: 22:09)
test 1285...[HTTP PUT --digest with user-specified Content-Length header]
--pd---emv- OK (921 out of 1251, remaining: 07:57, took 2.2s, duration: 22:11)
test 1286...[HTTP GET --digest increasing nonce-count]
--pd---emv- OK (922 out of 1251, remaining: 07:55, took 1.3s, duration: 22:12)
test 1287...[HTTP over proxy-tunnel ignore TE and CL in CONNECT 2xx responses]
--pd-Poemv- OK (923 out of 1251, remaining: 07:54, took 1.7s, duration: 22:14)
test 1288...[Suppress proxy CONNECT response headers]
s-p--P-emv- OK (924 out of 1251, remaining: 07:52, took 1.7s, duration: 22:16)
test 1289...[globbing with overflow and bad syntxx]
-------emv- OK (925 out of 1251, remaining: 07:51, took 0.9s, duration: 22:16)
test 1290...[Verify URL globbing ignores []]
--pd---emv- OK (926 out of 1251, remaining: 07:49, took 1.2s, duration: 22:18)
test 1291...[Attempt to upload 1000 files but fail immediately]
-------emv- OK (927 out of 1251, remaining: 07:52, took 13.3s, duration: 22:31)
test 1292...[Replaced internal headers with a blank one]
--pd---emv- OK (928 out of 1251, remaining: 07:50, took 1.2s, duration: 22:32)
test 1298...[HTTP GET special path with --request-target]
--pd---emv- OK (929 out of 1251, remaining: 07:49, took 1.2s, duration: 22:33)
test 1299...[Send "OPTIONS *" with --request-target]
--pd---emv- OK (930 out of 1251, remaining: 07:47, took 1.2s, duration: 22:34)
test 1300...[llist unit tests]
-------emv- OK (931 out of 1251, remaining: 07:45, took 0.8s, duration: 22:35)
test 1301...[curl_strcasecompare unit tests]
-------emv- OK (932 out of 1251, remaining: 07:44, took 0.8s, duration: 22:36)
test 1302...[base64 encode/decode unit tests]
-------emv- OK (933 out of 1251, remaining: 07:42, took 0.9s, duration: 22:37)
test 1303...[Curl_timeleft unit tests]
-------emv- OK (934 out of 1251, remaining: 07:41, took 0.9s, duration: 22:38)
test 1304...[netrc parsing unit tests]
-------emv- OK (935 out of 1251, remaining: 07:39, took 0.8s, duration: 22:39)
test 1305...[internal hash create/destroy testing]
-------emv- OK (936 out of 1251, remaining: 07:37, took 0.9s, duration: 22:39)
test 1306...[internal hash create/add/destroy testing]
-------emv- OK (937 out of 1251, remaining: 07:36, took 0.9s, duration: 22:40)
test 1308...[formpost unit tests]
-------emv- OK (938 out of 1251, remaining: 07:34, took 0.9s, duration: 22:41)
test 1309...[splay unit tests]
s------emv- OK (939 out of 1251, remaining: 07:32, took 0.9s, duration: 22:42)
test 1310...[HTTP with NTLM delegation to winbind helper]
--pd---emv- OK (940 out of 1251, remaining: 07:31, took 1.2s, duration: 22:43)
test 1311...[HTTP GET with -J and Content-Disposition]
--p---oemv- OK (941 out of 1251, remaining: 07:29, took 1.2s, duration: 22:45)
test 1312...[HTTP GET with -J, Content-Disposition and ; in filename]
--p---oemv- OK (942 out of 1251, remaining: 07:28, took 1.2s, duration: 22:46)
test 1313...[HTTP GET with -J, Content-Disposition, uneven quotes]
--p---oemv- OK (943 out of 1251, remaining: 07:26, took 1.2s, duration: 22:47)
test 1314...[HTTP Location: following a // prefixed url]
--pd---emv- OK (944 out of 1251, remaining: 07:25, took 1.2s, duration: 22:48)
test 1315...[HTTP RFC1867-type formposting - -F with three files, one with explicit type]
--pd---emv- OK (945 out of 1251, remaining: 07:23, took 1.2s, duration: 22:49)
test 1317...[HTTP with --resolve]
--pd---emv- OK (946 out of 1251, remaining: 07:22, took 1.2s, duration: 22:50)
test 1318...[HTTP with --resolve and same host name using different cases]
--pd---emv- OK (947 out of 1251, remaining: 07:20, took 1.2s, duration: 22:52)
test 1319...[POP3 fetch tunneled through HTTP proxy]
--pd-P-emv- OK (948 out of 1251, remaining: 07:19, took 1.7s, duration: 22:53)
test 1320...[SMTP send tunneled through HTTP proxy]
--p-uP-emv- OK (949 out of 1251, remaining: 07:17, took 1.7s, duration: 22:55)
test 1321...[IMAP FETCH tunneled through HTTP proxy]
--pd-P-emv- OK (950 out of 1251, remaining: 07:16, took 1.7s, duration: 22:57)
test 1322...[HTTP with --resolve and hostname with trailing dot]
--pd---emv- OK (951 out of 1251, remaining: 07:14, took 1.2s, duration: 22:58)
test 1323...[curlx_tvdiff]
-------emv- OK (952 out of 1251, remaining: 07:13, took 0.8s, duration: 22:59)
test 1324...[HTTP with --resolve and [ipv6address]]
--pd---emv- OK (953 out of 1251, remaining: 07:11, took 1.2s, duration: 23:00)
test 1325...[HTTP 308-redirect with POST]
--pd---emv- OK (954 out of 1251, remaining: 07:10, took 1.3s, duration: 23:01)
test 1326...[TELNET to HTTP server]
--pd---emv- OK (955 out of 1251, remaining: 07:08, took 1.3s, duration: 23:02)
test 1327...[TELNET check of upload with stdout redirected]
--p----emv- OK (956 out of 1251, remaining: 07:07, took 1.3s, duration: 23:04)
test 1328...[HTTP GET a globbed range with -f]
--pd---emv- OK (957 out of 1251, remaining: 07:05, took 1.2s, duration: 23:05)
test 1329...[/-prefixed proxy name]
-------emv- OK (958 out of 1251, remaining: 07:04, took 1.1s, duration: 23:06)
test 1330...[unit tests memory tracking operational]
------oemv- OK (959 out of 1251, remaining: 07:02, took 0.8s, duration: 23:07)
test 1331...[HTTP --proxy-anyauth and 407 with cookies]
--pd---emv- OK (960 out of 1251, remaining: 07:00, took 1.2s, duration: 23:08)
test 1332...[HTTP POST with 303 redirect and --post303]
--pd---emv- OK (961 out of 1251, remaining: 06:59, took 1.3s, duration: 23:09)
test 1333...[HTTP POST zero length, chunked-encoded]
--pd---emv- OK (962 out of 1251, remaining: 06:57, took 1.2s, duration: 23:10)
test 1334...[HTTP GET with -O without Content-Disposition, -D file]
--p---oemv- OK (963 out of 1251, remaining: 06:56, took 1.2s, duration: 23:12)
test 1335...[HTTP GET with -O without Content-Disposition, -D stdout]
--p---oemv- OK (964 out of 1251, remaining: 06:54, took 1.2s, duration: 23:13)
test 1336...[HTTP GET with -O and Content-Disposition, -D file]
--p---oemv- OK (965 out of 1251, remaining: 06:53, took 1.2s, duration: 23:14)
test 1337...[HTTP GET with -O and Content-Disposition, -D stdout]
--p---oemv- OK (966 out of 1251, remaining: 06:51, took 1.2s, duration: 23:15)
test 1338...[HTTP GET with -O -J without Content-Disposition, -D file]
--p---oemv- OK (967 out of 1251, remaining: 06:50, took 1.2s, duration: 23:16)
test 1339...[HTTP GET with -O -J without Content-Disposition, -D stdout]
--p---oemv- OK (968 out of 1251, remaining: 06:48, took 1.2s, duration: 23:17)
test 1340...[HTTP GET with -O -J and Content-Disposition, -D file]
--p---oemv- OK (969 out of 1251, remaining: 06:47, took 1.2s, duration: 23:19)
test 1341...[HTTP GET with -O -J and Content-Disposition, -D stdout]
--p---oemv- OK (970 out of 1251, remaining: 06:45, took 1.2s, duration: 23:20)
test 1342...[HTTP GET with -O -i without Content-Disposition, -D file]
--p---oemv- OK (971 out of 1251, remaining: 06:44, took 1.2s, duration: 23:21)
test 1343...[HTTP GET with -O -i without Content-Disposition, -D stdout]
--p---oemv- OK (972 out of 1251, remaining: 06:42, took 1.2s, duration: 23:22)
test 1344...[HTTP GET with -O -i and Content-Disposition, -D file]
--p---oemv- OK (973 out of 1251, remaining: 06:41, took 1.2s, duration: 23:23)
test 1345...[HTTP GET with -O -i and Content-Disposition, -D stdout]
--p---oemv- OK (974 out of 1251, remaining: 06:39, took 1.2s, duration: 23:24)
test 1346...[HTTP GET with -O -i without Content-Disposition, without -D]
--p---oemv- OK (975 out of 1251, remaining: 06:38, took 1.2s, duration: 23:26)
test 1347...[HTTP GET with -O -i and Content-Disposition, without -D]
--p---oemv- OK (976 out of 1251, remaining: 06:36, took 1.2s, duration: 23:27)
test 1348...[FTP download, file without Content-Disposition inside, using -O]
--p---oemv- OK (977 out of 1251, remaining: 06:35, took 1.2s, duration: 23:28)
test 1349...[FTP download, file without C-D inside, using -O -D file]
--p---oemv- OK (978 out of 1251, remaining: 06:33, took 1.2s, duration: 23:29)
test 1350...[FTP download, file without C-D inside, using -O -D stdout]
--p---oemv- OK (979 out of 1251, remaining: 06:31, took 1.2s, duration: 23:30)
test 1351...[FTP download, file without C-D inside, using -O -J -D file]
--p---oemv- OK (980 out of 1251, remaining: 06:30, took 1.2s, duration: 23:32)
test 1352...[FTP download, file without C-D inside, using -O -J -D stdout]
--p---oemv- OK (981 out of 1251, remaining: 06:28, took 1.2s, duration: 23:33)
test 1353...[FTP download, file without C-D inside, using -O -i -D file]
--p---oemv- OK (982 out of 1251, remaining: 06:27, took 1.2s, duration: 23:34)
test 1354...[FTP download, file without C-D inside, using -O -i -D stdout]
--p---oemv- OK (983 out of 1251, remaining: 06:25, took 1.2s, duration: 23:35)
test 1355...[FTP download, file without C-D inside, using -O -i, without -D]
--p---oemv- OK (984 out of 1251, remaining: 06:24, took 1.2s, duration: 23:36)
test 1356...[FTP download, file with Content-Disposition inside, using -O]
--p---oemv- OK (985 out of 1251, remaining: 06:22, took 1.2s, duration: 23:38)
test 1357...[FTP download, file with C-D inside, using -O -D file]
--p---oemv- OK (986 out of 1251, remaining: 06:21, took 1.2s, duration: 23:39)
test 1358...[FTP download, file with C-D inside, using -O -D stdout]
--p---oemv- OK (987 out of 1251, remaining: 06:19, took 1.2s, duration: 23:40)
test 1359...[FTP download, file with C-D inside, using -O -J -D file]
--p---oemv- OK (988 out of 1251, remaining: 06:18, took 1.2s, duration: 23:41)
test 1360...[FTP download, file with C-D inside, using -O -J -D stdout]
--p---oemv- OK (989 out of 1251, remaining: 06:16, took 1.2s, duration: 23:42)
test 1361...[FTP download, file with C-D inside, using -O -i -D file]
--p---oemv- OK (990 out of 1251, remaining: 06:15, took 1.2s, duration: 23:43)
test 1362...[FTP download, file with C-D inside, using -O -i -D stdout]
--p---oemv- OK (991 out of 1251, remaining: 06:13, took 1.2s, duration: 23:45)
test 1363...[FTP download, file with C-D inside, using -O -i, without -D]
--p---oemv- OK (992 out of 1251, remaining: 06:12, took 1.2s, duration: 23:46)
test 1364...[HTTP GET -o fname without Content-Disposition, -D file]
--p---oemv- OK (993 out of 1251, remaining: 06:10, took 1.2s, duration: 23:47)
test 1365...[HTTP GET -o fname without Content-Disposition, -D stdout]
--p---oemv- OK (994 out of 1251, remaining: 06:09, took 1.2s, duration: 23:48)
test 1366...[HTTP GET -o fname and Content-Disposition, -D file]
--p---oemv- OK (995 out of 1251, remaining: 06:07, took 1.2s, duration: 23:49)
test 1367...[HTTP GET -o fname and Content-Disposition, -D stdout]
--p---oemv- OK (996 out of 1251, remaining: 06:06, took 1.2s, duration: 23:51)
test 1368...[HTTP GET -o fname -J without Content-Disposition, -D file]
--p---oemv- OK (997 out of 1251, remaining: 06:04, took 1.2s, duration: 23:52)
test 1369...[HTTP GET -o fname -J without Content-Disposition, -D stdout]
--p---oemv- OK (998 out of 1251, remaining: 06:03, took 1.2s, duration: 23:53)
test 1370...[HTTP GET -o fname -J and Content-Disposition, -D file]
--p---oemv- OK (999 out of 1251, remaining: 06:01, took 1.2s, duration: 23:54)
test 1371...[HTTP GET -o fname -J and Content-Disposition, -D stdout]
--p---oemv- OK (1000 out of 1251, remaining: 06:00, took 1.2s, duration: 23:55)
test 1372...[HTTP GET -o fname -i without Content-Disposition, -D file]
--p---oemv- OK (1001 out of 1251, remaining: 05:58, took 1.2s, duration: 23:56)
test 1373...[HTTP GET -o fname -i without Content-Disposition, -D stdout]
--p---oemv- OK (1002 out of 1251, remaining: 05:57, took 1.2s, duration: 23:58)
test 1374...[HTTP GET -o fname -i and Content-Disposition, -D file]
--p---oemv- OK (1003 out of 1251, remaining: 05:55, took 1.2s, duration: 23:59)
test 1375...[HTTP GET -o fname -i and Content-Disposition, -D stdout]
--p---oemv- OK (1004 out of 1251, remaining: 05:54, took 1.2s, duration: 24:00)
test 1376...[HTTP GET -o fname -i without Content-Disposition, without -D]
--p---oemv- OK (1005 out of 1251, remaining: 05:52, took 1.2s, duration: 24:01)
test 1377...[HTTP GET -o fname -i and Content-Disposition, without -D]
--p---oemv- OK (1006 out of 1251, remaining: 05:51, took 1.2s, duration: 24:02)
test 1378...[FTP DL, file without Content-Disposition inside, using -o fname]
--p---oemv- OK (1007 out of 1251, remaining: 05:49, took 1.2s, duration: 24:03)
test 1379...[FTP DL, file without C-D inside, using -o fname -D file]
--p---oemv- OK (1008 out of 1251, remaining: 05:48, took 1.2s, duration: 24:05)
test 1380...[FTP DL, file without C-D inside, using -o fname -D stdout]
--p---oemv- OK (1009 out of 1251, remaining: 05:46, took 1.2s, duration: 24:06)
test 1381...[FTP DL, file without C-D inside, using -o fname -J -D file]
--p---oemv- OK (1010 out of 1251, remaining: 05:45, took 1.2s, duration: 24:07)
test 1382...[FTP DL, file without C-D inside, using -o fname -J -D stdout]
--p---oemv- OK (1011 out of 1251, remaining: 05:43, took 1.2s, duration: 24:08)
test 1383...[FTP DL, file without C-D inside, using -o fname -i -D file]
--p---oemv- OK (1012 out of 1251, remaining: 05:42, took 1.2s, duration: 24:09)
test 1384...[FTP DL, file without C-D inside, using -o fname -i -D stdout]
--p---oemv- OK (1013 out of 1251, remaining: 05:40, took 1.2s, duration: 24:11)
test 1385...[FTP DL, file without C-D inside, using -o fname -i, without -D]
--p---oemv- OK (1014 out of 1251, remaining: 05:39, took 1.2s, duration: 24:12)
test 1386...[FTP DL, file with Content-Disposition inside, using -o fname]
--p---oemv- OK (1015 out of 1251, remaining: 05:37, took 1.2s, duration: 24:13)
test 1387...[FTP DL, file with C-D inside, using -o fname -D file]
--p---oemv- OK (1016 out of 1251, remaining: 05:36, took 1.2s, duration: 24:14)
test 1388...[FTP DL, file with C-D inside, using -o fname -D stdout]
--p---oemv- OK (1017 out of 1251, remaining: 05:34, took 1.2s, duration: 24:15)
test 1389...[FTP DL, file with C-D inside, using -o fname -J -D file]
--p---oemv- OK (1018 out of 1251, remaining: 05:33, took 1.2s, duration: 24:17)
test 1390...[FTP DL, file with C-D inside, using -o fname -J -D stdout]
--p---oemv- OK (1019 out of 1251, remaining: 05:32, took 1.2s, duration: 24:18)
test 1391...[FTP DL, file with C-D inside, using -o fname -i -D file]
--p---oemv- OK (1020 out of 1251, remaining: 05:30, took 1.2s, duration: 24:19)
test 1392...[FTP DL, file with C-D inside, using -o fname -i -D stdout]
--p---oemv- OK (1021 out of 1251, remaining: 05:29, took 1.2s, duration: 24:20)
test 1393...[FTP DL, file with C-D inside, using -o fname -i, without -D]
--p---oemv- OK (1022 out of 1251, remaining: 05:27, took 1.2s, duration: 24:21)
test 1394...[unit test for parse_cert_parameter()]
-------emv- OK (1023 out of 1251, remaining: 05:25, took 0.8s, duration: 24:22)
test 1395...[Curl_dedotdotify]
-------emv- OK (1024 out of 1251, remaining: 05:24, took 0.8s, duration: 24:23)
test 1396...[curl_easy_escape and curl_easy_unescape]
-------emv- OK (1025 out of 1251, remaining: 05:22, took 0.9s, duration: 24:24)
test 1397...[Check wildcard certificate matching function Curl_cert_hostcheck]
-------emv- OK (1026 out of 1251, remaining: 05:21, took 0.8s, duration: 24:25)
test 1398...[curl_msnprintf unit tests]
-------emv- OK (1027 out of 1251, remaining: 05:19, took 0.8s, duration: 24:25)
test 1399...[Curl_pgrsTime unit tests]
-------emv- OK (1028 out of 1251, remaining: 05:18, took 0.8s, duration: 24:26)
test 1400...[--libcurl for simple HTTP GET]
--pd--oemv- OK (1029 out of 1251, remaining: 05:16, took 1.2s, duration: 24:27)
test 1401...[--libcurl for GET with various options]
--pd--oemv- OK (1030 out of 1251, remaining: 05:15, took 1.2s, duration: 24:29)
test 1402...[--libcurl for simple POST]
--pd--oemv- OK (1031 out of 1251, remaining: 05:13, took 1.2s, duration: 24:30)
test 1403...[--libcurl for GET with query]
--pd--oemv- OK (1032 out of 1251, remaining: 05:12, took 1.2s, duration: 24:31)
test 1404...[--libcurl for HTTP RFC1867-type formposting - -F with 3 files, one with explicit type & encoder]
--pd--oemv- OK (1033 out of 1251, remaining: 05:10, took 1.3s, duration: 24:32)
test 1405...[--libcurl for FTP with quote ops]
--pd--oemv- OK (1034 out of 1251, remaining: 05:09, took 1.2s, duration: 24:34)
test 1406...[--libcurl for SMTP]
--p-u-oemv- OK (1035 out of 1251, remaining: 05:07, took 1.2s, duration: 24:35)
test 1407...[--libcurl for POP3 LIST one message]
--p---oemv- OK (1036 out of 1251, remaining: 05:06, took 1.2s, duration: 24:36)
test 1408...[HTTP receive cookies over IPV6]
--p----emv- OK (1037 out of 1251, remaining: 05:04, took 1.2s, duration: 24:37)
test 1409...[Pass in string to -C]
-------emv- OK (1038 out of 1251, remaining: 05:03, took 0.9s, duration: 24:38)
test 1410...[Pass in negative number to --max-time]
-------emv- OK (1039 out of 1251, remaining: 05:01, took 0.9s, duration: 24:39)
test 1411...[HTTP with zero size file PUT]
--pd---emv- OK (1040 out of 1251, remaining: 05:00, took 1.2s, duration: 24:40)
test 1412...[HTTP GET with --anyauth with two URLs (picking Digest) ]
--pd---emv- OK (1041 out of 1251, remaining: 04:58, took 1.3s, duration: 24:41)
test 1413...[HTTP redirect with fragment in new URL]
--pd---emv- OK (1042 out of 1251, remaining: 04:57, took 1.3s, duration: 24:43)
test 1414...[FTP PORT without SIZE or EPRT support]
--pd---emv- OK (1043 out of 1251, remaining: 04:56, took 1.2s, duration: 24:44)
test 1415...[Delete expired cookies]
--pd--oemv- OK (1044 out of 1251, remaining: 04:54, took 1.2s, duration: 24:45)
test 1416...[HTTP GET with chunked Transfer-Encoding overflowed chunked size]
--p----emv- OK (1045 out of 1251, remaining: 04:53, took 1.2s, duration: 24:46)
test 1417...[HTTP GET with chunked encoding and chunked trailer without CRs]
--pd--oemv- OK (1046 out of 1251, remaining: 04:51, took 1.2s, duration: 24:47)
test 1418...[HTTP with --anyauth and connection re-use]
--pd---emv- OK (1047 out of 1251, remaining: 04:50, took 1.2s, duration: 24:49)
test 1419...[HTTP with --anyauth (but no auth!) and connection re-use]
--pd---emv- OK (1048 out of 1251, remaining: 04:48, took 1.2s, duration: 24:50)
test 1420...[--libcurl for IMAP FETCH message]
--pd--oemv- OK (1049 out of 1251, remaining: 04:47, took 1.2s, duration: 24:51)
test 1421...[Re-using HTTP proxy connection for two different host names]
s-p----emv- OK (1050 out of 1251, remaining: 04:45, took 1.2s, duration: 24:52)
test 1422...[HTTP GET with -O -J and Content-Disposition (empty file)]
--p---oemv- OK (1051 out of 1251, remaining: 04:44, took 1.2s, duration: 24:53)
test 1423...[HTTP GET -o fname without Content-Disposition (empty file)]
--p---oemv- OK (1052 out of 1251, remaining: 04:42, took 1.2s, duration: 24:55)
test 1424...[HTTP GET -o fname without Content-Disposition (unmet time condition)]
--p---oemv- OK (1053 out of 1251, remaining: 04:41, took 1.2s, duration: 24:56)
test 1425...[Refuse binary output to terminal]
s-p----emv- OK (1054 out of 1251, remaining: 04:39, took 1.2s, duration: 24:57)
test 1426...[Okay binary output to terminal]
s-p----emv- OK (1055 out of 1251, remaining: 04:38, took 1.2s, duration: 24:58)
test 1427...[too large -m timeout value]
-------emv- OK (1056 out of 1251, remaining: 04:36, took 0.9s, duration: 24:59)
test 1428...[HTTP over proxy-tunnel with --proxy-header and --header]
--pd-P-emv- OK (1057 out of 1251, remaining: 04:35, took 1.7s, duration: 25:01)
test 1429...[HTTP GET with 4-digit response code]
s-p----emv- OK (1058 out of 1251, remaining: 04:34, took 1.2s, duration: 25:02)
test 1430...[HTTP GET with negative response code]
--pd---emv- OK (1059 out of 1251, remaining: 04:32, took 1.2s, duration: 25:03)
test 1431...[HTTP GET with single-digit response code]
--pd---emv- OK (1060 out of 1251, remaining: 04:31, took 1.2s, duration: 25:04)
test 1432...[HTTP GET with 100-digit response code and survive]
--p----emv- OK (1061 out of 1251, remaining: 04:29, took 1.2s, duration: 25:05)
test 1433...[HTTP GET with 100-digit subversion number in response]
--p----emv- OK (1062 out of 1251, remaining: 04:28, took 1.1s, duration: 25:06)
test 1434...[HTTP GET resume at exactly the existing file size is fine]
--pd---emv- OK (1063 out of 1251, remaining: 04:26, took 1.2s, duration: 25:08)
test 1435...[simple HTTP GET over Unix socket]
--pd---emv- OK (1064 out of 1251, remaining: 04:25, took 3.2s, duration: 25:11)
test 1436...[HTTP requests with multiple connections over Unix socket]
s-p----emv- OK (1065 out of 1251, remaining: 04:24, took 1.2s, duration: 25:12)
test 1437...[HTTP with duplicated WWW-Authenticate parameters]
--pd---emv- OK (1066 out of 1251, remaining: 04:22, took 1.2s, duration: 25:13)
test 1438...[Check if %{scheme} returns HTTP]
s-p----emv- OK (1067 out of 1251, remaining: 04:21, took 1.2s, duration: 25:14)
test 1439...[Check if %{scheme} returns HTTP]
s-p----emv- OK (1068 out of 1251, remaining: 04:19, took 1.2s, duration: 25:16)
test 1440...[Check --write-out with trailing %{]
s------emv- OK (1069 out of 1251, remaining: 04:18, took 1.1s, duration: 25:17)
test 1441...[Check --write-out with trailing %]
s------emv- OK (1070 out of 1251, remaining: 04:16, took 1.1s, duration: 25:18)
test 1442...[Check --write-out with trailing \]
s------emv- OK (1071 out of 1251, remaining: 04:15, took 1.1s, duration: 25:19)
test 1443...[HTTP GET with -O and --remote-time]
--p---oemv- OK (1072 out of 1251, remaining: 04:13, took 1.2s, duration: 25:20)
test 1444...[FTP with --remote-time]
--pd---emv- OK (1073 out of 1251, remaining: 04:12, took 1.2s, duration: 25:21)
test 1445...[file:// with --remote-time]
-------emv- OK (1074 out of 1251, remaining: 04:10, took 1.1s, duration: 25:22)
test 1447...[Provide illegal proxy name ]
-------emv- OK (1076 out of 1251, remaining: 04:07, took 1.1s, duration: 25:23)
test 1448...[Redirect following to UTF-8 IDN host name]
s-p----emv- OK (1077 out of 1251, remaining: 04:06, took 1.2s, duration: 25:25)
test 1449...[FTP download range with integer overflow]
Killed
--p----emv- OK (1078 out of 1251, remaining: 04:04, took 1.2s, duration: 25:26)
test 1450...[Basic DICT lookup]
-------emv- OK (1079 out of 1251, remaining: 04:03, took 3.1s, duration: 25:29)
test 1451...[Basic SMB request]
-------emv- OK (1080 out of 1251, remaining: 04:02, took 3.2s, duration: 25:32)
test 1452...[Basic TELNET negotiation]
-------emv- OK (1081 out of 1251, remaining: 04:01, took 3.2s, duration: 25:35)
test 1453...[Too long tftp filename]
-------emv- OK (1082 out of 1251, remaining: 04:00, took 1.1s, duration: 25:36)
test 1454 SKIPPED: curl has ipv6 support
test 1455...[HTTP GET when PROXY Protocol enabled]
--p----emv- OK (1084 out of 1251, remaining: 03:56, took 1.2s, duration: 25:38)
test 1456...[HTTP-IPv6 GET with PROXY protocol]
--p----emv- OK (1085 out of 1251, remaining: 03:55, took 1.2s, duration: 25:39)
test 1457...[Check if %{stderr} and %{stdout} switch between stdout and stderr.]
srp----emv- OK (1086 out of 1251, remaining: 03:54, took 1.2s, duration: 25:40)
test 1458...[HTTP with wildcard --resolve]
--pd---emv- OK (1087 out of 1251, remaining: 03:52, took 1.2s, duration: 25:41)
test 1500...[curl_multi_wait]
---d---emv- OK (1088 out of 1251, remaining: 03:51, took 1.0s, duration: 25:42)
test 1501...[FTP with multi interface and slow LIST response ]
--p----emv- OK (1089 out of 1251, remaining: 03:50, took 5.1s, duration: 25:47)
test 1502...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence UA]
--pd---emv- OK (1090 out of 1251, remaining: 03:48, took 1.1s, duration: 25:48)
test 1503...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence PA]
--pd---emv- OK (1091 out of 1251, remaining: 03:47, took 1.0s, duration: 25:49)
test 1504...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence UB]
--pd---emv- OK (1092 out of 1251, remaining: 03:45, took 1.0s, duration: 25:50)
test 1505...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence PB]
--pd---emv- OK (1093 out of 1251, remaining: 03:44, took 1.0s, duration: 25:51)
test 1506...[HTTP GET connection cache limit (CURLMOPT_MAXCONNECTS)]
--p---oemv- OK (1094 out of 1251, remaining: 03:42, took 1.1s, duration: 25:52)
test 1507...[SMTP with multi interface and CURLE_ABORTED_BY_CALLBACK]
--p----emv- OK (1095 out of 1251, remaining: 03:41, took 1.0s, duration: 25:53)
test 1508...[Close a multi handle without using it]
------oemv- OK (1096 out of 1251, remaining: 03:39, took 0.9s, duration: 25:54)
test 1509...[simple multi http:// through proxytunnel with authentication info]
--pd-P-emv- OK (1097 out of 1251, remaining: 03:38, took 1.6s, duration: 25:56)
test 1511...[HTTP GET time conditions in repeated requests]
---d---emv- OK (1098 out of 1251, remaining: 03:36, took 1.1s, duration: 25:57)
test 1513...[return failure immediately from progress callback]
s------emv- OK (1099 out of 1251, remaining: 03:35, took 1.0s, duration: 25:58)
test 1514...[HTTP POST with read callback and unknown data size]
--p----emv- OK (1100 out of 1251, remaining: 03:34, took 2.1s, duration: 26:00)
test 1515...[caching of manual libcurl DNS entries after DNS cache timeout]
---d---emv- OK (1101 out of 1251, remaining: 03:33, took 3.1s, duration: 26:03)
test 1516...[caching of manual libcurl DNS entries after dead connection]
-------emv- OK (1102 out of 1251, remaining: 03:31, took 3.1s, duration: 26:06)
test 1517...[HTTP POST, server responds before completed send]
--pd---emv- OK (1103 out of 1251, remaining: 03:30, took 1.0s, duration: 26:07)
test 1518...[Extract Location: with broken URL]
s------emv- OK (1104 out of 1251, remaining: 03:28, took 1.0s, duration: 26:08)
test 1519...[Extract Location: with broken absolute URL]
s------emv- OK (1105 out of 1251, remaining: 03:27, took 1.0s, duration: 26:09)
test 1520...[SMTP with CRLF-dot-CRLF in data]
--p-u--emv- OK (1106 out of 1251, remaining: 03:25, took 1.0s, duration: 26:10)
test 1521...[Test all curl_easy_setopt and curl_easy_getinfo options]
-------emv- OK (1107 out of 1251, remaining: 03:24, took 1.1s, duration: 26:11)
test 1522...[CURLINFO_SIZE_UPLOAD with small SO_SNDBUF]
s------emv- OK (1108 out of 1251, remaining: 03:22, took 1.0s, duration: 26:12)
test 1523...[CURLINFO_LOW_SPEED_LIMIT]
-------emv- OK (1109 out of 1251, remaining: 03:22, took 11.1s, duration: 26:23)
test 1525...[CURLOPT_PROXYHEADER is ignored CURLHEADER_UNIFIED]
--pd-P-emv- OK (1110 out of 1251, remaining: 03:21, took 4.1s, duration: 26:27)
test 1526...[CURLOPT_PROXYHEADER: separate host/proxy headers]
--pd-P-emv- OK (1111 out of 1251, remaining: 03:20, took 2.1s, duration: 26:30)
test 1527...[Check same headers are generated with CURLOPT_HEADEROPT == CURLHEADER_UNIFIED]
--pd-P-emv- OK (1112 out of 1251, remaining: 03:19, took 2.1s, duration: 26:32)
test 1528...[Separately specified proxy/server headers sent in a proxy GET]
---d-P-emv- OK (1113 out of 1251, remaining: 03:17, took 1.1s, duration: 26:33)
test 1529...[HTTP request-injection in URL sent over proxy]
-------emv- OK (1114 out of 1251, remaining: 03:16, took 0.9s, duration: 26:34)
test 1530...[CURLOPT_OPENSOCKETFUNCTION returns bad socket]
-------emv- OK (1115 out of 1251, remaining: 03:14, took 1.0s, duration: 26:35)
test 1531...[CURLOPT_POSTFIELDS with binary data set after multi_add_handle]
--p----emv- OK (1116 out of 1251, remaining: 03:13, took 1.0s, duration: 26:36)
test 1532...[Test CURLINFO_RESPONSE_CODE]
--p----emv- OK (1117 out of 1251, remaining: 03:11, took 1.0s, duration: 26:37)
test 1533...[HTTP with CURLOPT_KEEP_SENDING_ON_ERROR and an early error response]
--p----emv- OK (1118 out of 1251, remaining: 03:10, took 1.1s, duration: 26:38)
test 1534...[CURLINFO_FILETIME init and reset]
--p----emv- OK (1119 out of 1251, remaining: 03:08, took 1.0s, duration: 26:39)
test 1535...[Test CURLINFO_RESPONSE_CODE CURLINFO_PROTOCOL]
--p----emv- OK (1120 out of 1251, remaining: 03:07, took 1.0s, duration: 26:40)
test 1536...[Test CURLINFO_RESPONSE_CODE CURLINFO_SCHEME]
--p----emv- OK (1121 out of 1251, remaining: 03:05, took 1.0s, duration: 26:41)
test 1537...[libcurl URL escape/unescape tests]
s------emv- OK (1122 out of 1251, remaining: 03:04, took 0.8s, duration: 26:42)
test 1538...[libcurl strerror API call tests]
s------emv- OK (1123 out of 1251, remaining: 03:02, took 0.8s, duration: 26:43)
test 1540...[chunked with trailers and pausing the receive]
--pd---emv- OK (1124 out of 1251, remaining: 03:01, took 1.0s, duration: 26:44)
test 1541...[connection sharing using 67 parallel threads for 7 seconds]
-------emv- OK (1125 out of 1251, remaining: 02:59, took 0.8s, duration: 26:44)
test 1550...[verify setting pipeling blacklisting options]
-------emv- OK (1126 out of 1251, remaining: 02:58, took 0.9s, duration: 26:45)
test 1551...[re-run redirected transfer without setting URL again]
--pd---emv- OK (1127 out of 1251, remaining: 02:56, took 1.1s, duration: 26:46)
test 1552...[IMAP multi transfer error without curl_multi_remove_handle]
-------emv- OK (1128 out of 1251, remaining: 02:55, took 1.1s, duration: 26:47)
test 1553...[IMAP cleanup before a connection was created]
-------emv- OK (1129 out of 1251, remaining: 02:53, took 1.0s, duration: 26:48)
test 1554...[HTTP with shared connection cache]
---d---emv- OK (1130 out of 1251, remaining: 02:52, took 1.1s, duration: 26:49)
test 1555...[verify api is protected against calls from callbacks]
s------emv- OK (1131 out of 1251, remaining: 02:50, took 1.0s, duration: 26:50)
test 1556...[send long HTTP headers to header callback]
s-p----emv- OK (1132 out of 1251, remaining: 02:49, took 1.0s, duration: 26:51)
test 1557...[Removing easy handle that's in the pending connections list doesn't leave behind a dangling entry]
-------emv- OK (1133 out of 1251, remaining: 02:47, took 1.0s, duration: 26:52)
test 1558...[CURLINFO_PROTOCOL for file:// transfer]
s------emv- OK (1134 out of 1251, remaining: 02:46, took 1.0s, duration: 26:53)
test 1559...[Set excessive URL lengths]
s------emv- OK (1135 out of 1251, remaining: 02:45, took 1.1s, duration: 26:55)
test 1560...[URL API]
s------emv- OK (1136 out of 1251, remaining: 02:43, took 1.1s, duration: 26:56)
test 1561...[Cookies set over HTTP can't override secure ones]
goto problem 25
valgrind ERROR ==24338== Invalid read of size 8
==24338== at 0x53325A5: check_free (dlerror.c:188)
==24338== by 0x5332AB1: free_key_mem (dlerror.c:221)
==24338== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==24338== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24338== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24338== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==24338== by 0x4C49EB9: exit (exit.c:139)
==24338== by 0x4C340A1: (below main) (libc-start.c:342)
==24338== Address 0x5b547a0 is 0 bytes after a block of size 32 alloc'd
==24338== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24338== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24338== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24338== by 0x24AE36: err_get_state (err.c:210)
==24338== by 0x24BA0C: ERR_put_error (err.c:636)
==24338== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24338== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24338== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24338== by 0x270058: by_file_ctrl (by_file.c:111)
==24338== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24338== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24338== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24338== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24338== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24338== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24338== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24338==
==24338== Invalid free() / delete / delete[] / realloc()
==24338== at 0x48369AB: free (vg_replace_malloc.c:540)
==24338== by 0x5332AB9: free_key_mem (dlerror.c:223)
==24338== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==24338== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24338== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24338== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==24338== by 0x4C49EB9: exit (exit.c:139)
==24338== by 0x4C340A1: (below main) (libc-start.c:342)
==24338== Address 0x5b54788 is 8 bytes inside a block of size 32 alloc'd
==24338== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24338== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24338== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24338== by 0x24AE36: err_get_state (err.c:210)
==24338== by 0x24BA0C: ERR_put_error (err.c:636)
==24338== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24338== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24338== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24338== by 0x270058: by_file_ctrl (by_file.c:111)
==24338== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24338== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24338== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24338== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24338== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24338== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24338== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24338==
==24338== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==24338== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24338== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24338== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24338== by 0x24AE36: err_get_state (err.c:210)
==24338== by 0x24BA0C: ERR_put_error (err.c:636)
==24338== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24338== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24338== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24338== by 0x270058: by_file_ctrl (by_file.c:111)
==24338== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24338== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24338== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24338== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24338== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24338== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24338== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24338==
== 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:08.206133 ====> Client connect
03:18:08.206168 accept_connection 3 returned 4
03:18:08.206183 accept_connection 3 returned 0
03:18:08.206330 Read 96 bytes
03:18:08.206369 Process 96 bytes request
03:18:08.206392 Got request: GET /verifiedserver HTTP/1.1
03:18:08.206406 Are-we-friendly question received
03:18:08.206429 Wrote request (96 bytes) input to log/server.input
03:18:08.206451 Identifying ourselves as friends
03:18:08.206519 Response sent (56 bytes) and written to log/server.response
03:18:08.206534 special request received, no persistency
03:18:08.206545 ====> Client disconnect 0
03:18:12.186584 ====> Client connect
03:18:12.186606 accept_connection 3 returned 4
03:18:12.186619 accept_connection 3 returned 0
03:18:12.272706 Read 91 bytes
03:18:12.272742 Process 91 bytes request
03:18:12.272759 Got request: GET /15610001 HTTP/1.1
03:18:12.272770 Requested test number 1561 part 1
03:18:12.272797 - request found to be complete
03:18:12.272823 Wrote request (91 bytes) input to log/server.input
03:18:12.272846 Send response test1561 section <data1>
03:18:12.273002 Response sent (722 bytes) and written to log/server.response
03:18:12.273013 => persistent connection request ended, awaits new request
03:18:12.394736 ====> Client connect
03:18:12.394769 accept_connection 3 returned 5
03:18:12.394786 accept_connection 3 returned 0
03:18:12.398454 Read 91 bytes
03:18:12.398477 Process 91 bytes request
03:18:12.398494 Got request: GET /15610002 HTTP/1.1
03:18:12.398506 Requested test number 1561 part 2
03:18:12.398537 - request found to be complete
03:18:12.398549 Wrote request (91 bytes) input to log/server.input
03:18:12.398561 Send response test1561 section <data2>
03:18:12.398695 Response sent (966 bytes) and written to log/server.response
03:18:12.398705 => persistent connection request ended, awaits new request
03:18:12.429708 Connection closed by client
03:18:12.429737 ====> Client disconnect 0
03:18:12.494323 Connection closed by client
03:18:12.494360 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.09.07 03:18:06 LOG5[24332]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.07 03:18:06 LOG5[24332]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.07 03:18:06 LOG5[24332]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.07 03:18:06 LOG5[24332]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.07 03:18:06 LOG5[24332]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.07 03:18:06 LOG5[24332]: Reading configuration from file /build-18252/tests/https_stunnel.conf
2019.09.07 03:18:06 LOG5[24332]: FIPS mode disabled
2019.09.07 03:18:06 LOG5[24332]: Configuration successful
2019.09.07 03:18:07 LOG5[24335]: Service [curltest] accepted connection from 127.0.0.1:59804
2019.09.07 03:18:07 LOG5[24335]: s_connect: connected 127.0.0.1:8990
2019.09.07 03:18:07 LOG5[24335]: Service [curltest] connected remote server from 127.0.0.1:38656
2019.09.07 03:18:07 LOG5[24335]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.07 03:18:09 LOG5[24339]: Service [curltest] accepted connection from 127.0.0.1:59808
2019.09.07 03:18:11 LOG5[24339]: s_connect: connected 127.0.0.1:8990
2019.09.07 03:18:11 LOG5[24339]: Service [curltest] connected remote server from 127.0.0.1:38660
2019.09.07 03:18:11 LOG5[24339]: 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 0x55f3faafd828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55f3faafd828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55f3faafd828; line 1665 (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 0x55f3faafd828; line 1682 (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 0x55f3faafd828; line 1701 (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 0x55f3faafd828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55f3faafd828; line 1877 (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 0x55f3faafd828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55f3faafd828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 24241
=== 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: 24241
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 280 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:09.134619 == Info: STATE: INIT => CONNECT handle 0x56c9a48; line 1491 (connection #-5000)
03:18:09.189202 == Info: Added connection 0. The cache now contains 1 members
03:18:09.206331 == Info: Trying 127.0.0.1:8991...
03:18:09.206934 == Info: TCP_NODELAY set
03:18:09.212026 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c9a48; line 1547 (connection #0)
03:18:09.223580 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:18:09.224142 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c9a48; line 1665 (connection #0)
03:18:09.225281 == Info: Marked for [keep alive]: HTTP default
03:18:09.275744 == Info: ALPN, offering h2
03:18:09.276018 == Info: ALPN, offering http/1.1
03:18:10.668765 == Info: successfully set certificate verify locations:
03:18:10.669022 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:18:10.781651 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:10.786715 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:18:10.786772 => Send SSL data, 148 bytes (0x94)
0000: ........w;K.Z........1 ..N..../C.}[7F].o.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:18:10.803648 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:18:10.808993 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:18:10.809048 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..........0c...T....8.....VE.).... ..]...{.p...8..!g.T/.,. .
0040: ..A...|./................
03:18:10.852462 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:10.852816 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:18:10.852896 <= 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:10.950740 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:18:10.950955 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:18:10.951010 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..g?2...&>....,.NG?6.j4.5..&HL.....@.....!.\i........p..
0040: .1..M.o_:......../...g..!../......\..........B....1.Y....?Y{m{..
0080: ..?..oc...:......G......|.Vc.......K...g(..P.b.z.....<...[7F]#=....
00c0: ...s..2q6:_u..I.o....M.......oe.C..^Nv...V[..3re...9WQ...s..7MH.
0100: .4.[7F]...P$.;QR..w0.h9oG_1`.F..;.....{..../....v'......P4.."[..~..
0140: ..\....*3....
03:18:11.020687 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:11.020924 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:18:11.020979 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:18:11.137716 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:18:11.137933 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:18:11.137987 => Send SSL data, 70 bytes (0x46)
0000: ...BA.?[`..4.5[7F]...q....F..[..#sa.>.B...PxEw:..QE..{....B3[DT....
0040: ......
03:18:11.150339 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:11.150933 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:18:11.150992 => Send SSL data, 1 bytes (0x1)
0000: .
03:18:11.173211 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:18:11.173269 => Send SSL data, 16 bytes (0x10)
0000: ........v..~..._
03:18:11.185698 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:18:11.188212 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:11.189302 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:18:11.189358 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:18:11.191800 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:18:11.197459 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:18:11.197514 <= Recv SSL data, 16 bytes (0x10)
0000: ......A...}OB".O
03:18:11.225841 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:18:11.226501 == Info: ALPN, server did not agree to a protocol
03:18:11.229145 == Info: Server certificate:
03:18:11.236644 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:18:11.242773 == Info: start date: Aug 31 23:39:18 2018 GMT
03:18:11.243718 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:18:11.244648 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:18:11.245514 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:18:11.247011 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c9a48; line 1685 (connection #0)
03:18:11.271018 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:18:11.273911 => 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:11.276830 == Info: STATE: DO => DO_DONE handle 0x56c9a48; line 1756 (connection #0)
03:18:11.277298 == Info: STATE: DO_DONE => PERFORM handle 0x56c9a48; line 1877 (connection #0)
03:18:11.281714 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:11.294609 == Info: Mark bundle as not supporting multiuse
03:18:11.295197 == Info: HTTP 1.1 or later with persistent connection
03:18:11.297880 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:11.301734 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:11.301960 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:11.309336 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:11.328354 == Info: Added cookie super="secret" for domain example.com, path /1561, expire 0
03:18:11.328753 <= Recv header, 66 bytes (0x42)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561; secure
0040: ;.
03:18:11.329907 == Info: Added cookie supersuper="secret" for domain example.com, path /1561/login/, expire 0
03:18:11.330054 <= Recv header, 78 bytes (0x4e)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin/; secure;.
03:18:11.332655 <= Recv header, 51 bytes (0x33)
0000: Set-Cookie: __Secure-SID=12345; Domain=example.com.
03:18:11.333306 == Info: Added cookie __Secure-SID="12346" for domain example.com, path /, expire 0
03:18:11.333362 <= Recv header, 59 bytes (0x3b)
0000: Set-Cookie: __Secure-SID=12346; Secure; Domain=example.com.
03:18:11.334337 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:11.335571 == Info: Added cookie supersupersuper="secret" for domain example.com, path /, expire 0
03:18:11.335628 <= Recv header, 83 bytes (0x53)
0000: Set-Cookie: supersupersuper=secret; __Secure-SID=12346; Secure;
0040: Domain=example.com.
03:18:11.337073 <= Recv header, 29 bytes (0x1d)
0000: Set-Cookie: __Host-SID=22345.
03:18:11.338124 == Info: Added cookie __Host-SID="22346" for domain www.example.com, path /, expire 0
03:18:11.338182 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: __Host-SID=22346; Secure.
03:18:11.338533 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:11.339230 <= Recv header, 49 bytes (0x31)
0000: Set-Cookie: __Host-SID=22347; Domain=example.com.
03:18:11.340080 <= Recv header, 57 bytes (0x39)
0000: Set-Cookie: __Host-SID=22348; Domain=example.com; Path=/.
03:18:11.340965 <= Recv header, 65 bytes (0x41)
0000: Set-Cookie: __Host-SID=22349; Secure; Domain=example.com; Path=/
0040: .
03:18:11.341424 <= Recv SSL data, 5 bytes (0x5)
0000: ....V
03:18:11.344101 == Info: Replaced cookie __Host-SID="12346" for domain www.example.com, path /, expire 0
03:18:11.344214 <= Recv header, 45 bytes (0x2d)
0000: Set-Cookie: __Host-SID=12346; Secure; Path=/.
03:18:11.345366 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:11.347823 <= Recv header, 1 bytes (0x1)
0000: .
03:18:11.348469 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:11.352078 == Info: STATE: PERFORM => DONE handle 0x56c9a48; line 2067 (connection #0)
03:18:11.352402 == Info: multi_done
03:18:11.361348 == Info: Connection #0 to host 127.0.0.1 left intact
03:18:11.390339 == Info: STATE: INIT => CONNECT handle 0x5724778; line 1491 (connection #-5000)
03:18:11.393946 == Info: Added connection 1. The cache now contains 2 members
03:18:11.394537 == Info: Trying 127.0.0.1:8990...
03:18:11.394595 == Info: TCP_NODELAY set
03:18:11.394746 == Info: STATE: CONNECT => WAITCONNECT handle 0x5724778; line 1547 (connection #1)
03:18:11.396087 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#1)
03:18:11.396169 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5724778; line 1665 (connection #1)
03:18:11.396241 == Info: Marked for [keep alive]: HTTP default
03:18:11.396376 == Info: STATE: SENDPROTOCONNECT => DO handle 0x5724778; line 1685 (connection #1)
03:18:11.398787 => 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:11.399270 == Info: STATE: DO => DO_DONE handle 0x5724778; line 1756 (connection #1)
03:18:11.399355 == Info: STATE: DO_DONE => PERFORM handle 0x5724778; line 1877 (connection #1)
03:18:11.400396 == Info: Mark bundle as not supporting multiuse
03:18:11.400465 == Info: HTTP 1.1 or later with persistent connection
03:18:11.400527 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:11.400688 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:11.400904 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:11.402352 <= Recv header, 68 bytes (0x44)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561; httpon
0040: ly;.
03:18:11.403337 <= Recv header, 69 bytes (0x45)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561/; httpo
0040: nly;.
03:18:11.404506 == Info: Replaced cookie super="secret" for domain example.com, path /15, expire 0
03:18:11.404563 <= Recv header, 66 bytes (0x42)
0000: Set-Cookie: super=secret; domain=example.com; path=/15; httponly
0040: ;.
03:18:11.405308 == Info: Added cookie public="yes" for domain example.com, path /foo, expire 0
03:18:11.405363 <= Recv header, 55 bytes (0x37)
0000: Set-Cookie: public=yes; domain=example.com; path=/foo;.
03:18:11.406415 <= Recv header, 72 bytes (0x48)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin/en;.
03:18:11.407401 <= Recv header, 69 bytes (0x45)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin;.
03:18:11.409104 <= Recv header, 72 bytes (0x48)
0000: Set-Cookie: secureoverhttp=yes; domain=example.com; path=/1561;
0040: secure;.
03:18:11.409990 <= Recv header, 51 bytes (0x33)
0000: Set-Cookie: __Secure-SID=22345; Domain=example.com.
03:18:11.410625 <= Recv header, 59 bytes (0x3b)
0000: Set-Cookie: __Secure-SID=22346; Secure; Domain=example.com.
03:18:11.411405 <= Recv header, 29 bytes (0x1d)
0000: Set-Cookie: __Host-SID=32345.
03:18:11.411964 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: __Host-SID=32346; Secure.
03:18:11.412706 <= Recv header, 49 bytes (0x31)
0000: Set-Cookie: __Host-SID=32347; Domain=example.com.
03:18:11.413543 <= Recv header, 57 bytes (0x39)
0000: Set-Cookie: __Host-SID=32348; Domain=example.com; Path=/.
03:18:11.414216 <= Recv header, 65 bytes (0x41)
0000: Set-Cookie: __Host-SID=32349; Secure; Domain=example.com; Path=/
0040: .
03:18:11.414902 <= Recv header, 45 bytes (0x2d)
0000: Set-Cookie: __Host-SID=32350; Secure; Path=/.
03:18:11.415144 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:11.415295 <= Recv header, 1 bytes (0x1)
0000: .
03:18:11.415369 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:11.415760 == Info: STATE: PERFORM => DONE handle 0x5724778; line 2067 (connection #1)
03:18:11.415823 == Info: multi_done
03:18:11.416593 == Info: Connection #1 to host 127.0.0.1 left intact
03:18:11.417770 == Info: Expire cleared (transfer 0x5724778)
=== End of file trace1561
=== Start of file valgrind1561
==24338== Invalid read of size 8
==24338== at 0x53325A5: check_free (dlerror.c:188)
==24338== by 0x5332AB1: free_key_mem (dlerror.c:221)
==24338== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==24338== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24338== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24338== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==24338== by 0x4C49EB9: exit (exit.c:139)
==24338== by 0x4C340A1: (below main) (libc-start.c:342)
==24338== Address 0x5b547a0 is 0 bytes after a block of size 32 alloc'd
==24338== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24338== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24338== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24338== by 0x24AE36: err_get_state (err.c:210)
==24338== by 0x24BA0C: ERR_put_error (err.c:636)
==24338== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24338== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24338== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24338== by 0x270058: by_file_ctrl (by_file.c:111)
==24338== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24338== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24338== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24338== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24338== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24338== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24338== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24338==
==24338== Invalid free() / delete / delete[] / realloc()
==24338== at 0x48369AB: free (vg_replace_malloc.c:540)
==24338== by 0x5332AB9: free_key_mem (dlerror.c:223)
==24338== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==24338== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24338== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24338== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==24338== by 0x4C49EB9: exit (exit.c:139)
==24338== by 0x4C340A1: (below main) (libc-start.c:342)
==24338== Address 0x5b54788 is 8 bytes inside a block of size 32 alloc'd
==24338== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24338== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24338== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24338== by 0x24AE36: err_get_state (err.c:210)
==24338== by 0x24BA0C: ERR_put_error (err.c:636)
==24338== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24338== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24338== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24338== by 0x270058: by_file_ctrl (by_file.c:111)
==24338== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24338== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24338== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24338== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24338== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24338== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24338== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24338==
==24338== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==24338== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24338== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24338== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24338== by 0x24AE36: err_get_state (err.c:210)
==24338== by 0x24BA0C: ERR_put_error (err.c:636)
==24338== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24338== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24338== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24338== by 0x270058: by_file_ctrl (by_file.c:111)
==24338== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24338== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24338== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24338== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24338== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24338== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24338== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24338==
=== End of file valgrind1561
test 1562...[Expire secure cookies over HTTPS]
goto problem 26
valgrind ERROR ==24342== Invalid read of size 8
==24342== at 0x53325A5: check_free (dlerror.c:188)
==24342== by 0x5332AB1: free_key_mem (dlerror.c:221)
==24342== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==24342== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24342== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24342== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==24342== by 0x4C49EB9: exit (exit.c:139)
==24342== by 0x4C340A1: (below main) (libc-start.c:342)
==24342== Address 0x5baeec0 is 0 bytes after a block of size 32 alloc'd
==24342== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24342== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24342== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24342== by 0x24AE36: err_get_state (err.c:210)
==24342== by 0x24BA0C: ERR_put_error (err.c:636)
==24342== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24342== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24342== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24342== by 0x270058: by_file_ctrl (by_file.c:111)
==24342== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24342== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24342== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24342== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24342== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24342== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24342== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24342==
==24342== Invalid free() / delete / delete[] / realloc()
==24342== at 0x48369AB: free (vg_replace_malloc.c:540)
==24342== by 0x5332AB9: free_key_mem (dlerror.c:223)
==24342== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==24342== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24342== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24342== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==24342== by 0x4C49EB9: exit (exit.c:139)
==24342== by 0x4C340A1: (below main) (libc-start.c:342)
==24342== Address 0x5baeea8 is 8 bytes inside a block of size 32 alloc'd
==24342== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24342== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24342== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24342== by 0x24AE36: err_get_state (err.c:210)
==24342== by 0x24BA0C: ERR_put_error (err.c:636)
==24342== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24342== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24342== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24342== by 0x270058: by_file_ctrl (by_file.c:111)
==24342== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24342== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24342== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24342== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24342== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24342== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24342== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24342==
==24342== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==24342== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24342== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24342== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24342== by 0x24AE36: err_get_state (err.c:210)
==24342== by 0x24BA0C: ERR_put_error (err.c:636)
==24342== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24342== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24342== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24342== by 0x270058: by_file_ctrl (by_file.c:111)
==24342== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24342== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24342== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24342== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24342== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24342== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24342== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24342==
== 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:15.609162 ====> Client connect
03:18:15.609197 accept_connection 3 returned 4
03:18:15.609211 accept_connection 3 returned 0
03:18:15.694776 Read 91 bytes
03:18:15.694809 Process 91 bytes request
03:18:15.694826 Got request: GET /15620001 HTTP/1.1
03:18:15.694837 Requested test number 1562 part 1
03:18:15.694864 - request found to be complete
03:18:15.694887 Wrote request (91 bytes) input to log/server.input
03:18:15.694907 Send response test1562 section <data1>
03:18:15.694981 Response sent (140 bytes) and written to log/server.response
03:18:15.694992 => persistent connection request ended, awaits new request
03:18:15.806390 Read 108 bytes
03:18:15.806427 Process 108 bytes request
03:18:15.806444 Got request: GET /15620002 HTTP/1.1
03:18:15.806455 Requested test number 1562 part 2
03:18:15.806481 - request found to be complete
03:18:15.806494 Wrote request (108 bytes) input to log/server.input
03:18:15.806506 Send response test1562 section <data2>
03:18:15.806577 Response sent (178 bytes) and written to log/server.response
03:18:15.806588 => persistent connection request ended, awaits new request
03:18:15.826910 Read 91 bytes
03:18:15.826935 Process 91 bytes request
03:18:15.826950 Got request: GET /15620001 HTTP/1.1
03:18:15.826962 Requested test number 1562 part 1
03:18:15.826986 - request found to be complete
03:18:15.826998 Wrote request (91 bytes) input to log/server.input
03:18:15.827010 Send response test1562 section <data1>
03:18:15.827065 Response sent (140 bytes) and written to log/server.response
03:18:15.827075 => persistent connection request ended, awaits new request
03:18:15.844870 Connection closed by client
03:18:15.844894 ====> 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
100 7 100 7 0 0 233 0 --:--:-- --:--:-- --:--:-- 466
% 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 583 0 --:--:-- --:--:-- --:--:-- 777
=== 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:12.514490 == Info: STATE: INIT => CONNECT handle 0x56c9188; line 1491 (connection #-5000)
03:18:12.569159 == Info: Added connection 0. The cache now contains 1 members
03:18:12.586214 == Info: Trying 127.0.0.1:8991...
03:18:12.586824 == Info: TCP_NODELAY set
03:18:12.591919 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c9188; line 1547 (connection #0)
03:18:12.603451 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:18:12.604021 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c9188; line 1665 (connection #0)
03:18:12.605151 == Info: Marked for [keep alive]: HTTP default
03:18:12.655595 == Info: ALPN, offering h2
03:18:12.655882 == Info: ALPN, offering http/1.1
03:18:14.095773 == Info: successfully set certificate verify locations:
03:18:14.096031 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:18:14.208781 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:14.213866 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:18:14.213923 => Send SSL data, 148 bytes (0x94)
0000: ......."/..M==P.].....r}.k...a.Z?...w.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:18:14.230832 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:18:14.236170 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:18:14.236225 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..n~.B....j.;+..-I..w.Q:...p...... e..e...."R.$gu..._..}m...
0040: .f7...../................
03:18:14.279800 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:14.280162 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:18:14.280216 <= 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:14.378121 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:18:14.378331 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:18:14.378385 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..g?2...&>....,.NG?6.j4.5..&HL.....@.....!.\i........p..
0040: .1..M.o_:.......FR..b.U!%.!.R..V,!%.5a.|.`..w.(....P...e...l..x.
0080: ..K....;s.0>...o7......O.2..uQ..S.......n.g?........u..Qh.C.*fu.
00c0: S..'.G.r..&.h.......YB.16............... ......%..J.............
0100: 3.BG....|S)9Cw..8[...h..>. ......{w?.[.~l.l.)N.W.(.Q.I..@ l..;..
0140: o.{{!.a.XYo..
03:18:14.446947 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:14.447143 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:18:14.447196 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:18:14.561942 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:18:14.562148 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:18:14.562203 => Send SSL data, 70 bytes (0x46)
0000: ...BA..{g....d....R..?.L.V8.O...v/.....[7F]o`C......gz..n..F.....R.
0040: .e..."
03:18:14.574022 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:14.574597 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:18:14.574653 => Send SSL data, 1 bytes (0x1)
0000: .
03:18:14.595867 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:18:14.595923 => Send SSL data, 16 bytes (0x10)
0000: ......G...U.wbo.
03:18:14.608272 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:18:14.610764 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:14.611846 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:18:14.611902 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:18:14.614331 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:18:14.619961 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:18:14.620017 <= Recv SSL data, 16 bytes (0x10)
0000: ....%...ZM.....U
03:18:14.648218 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:18:14.648878 == Info: ALPN, server did not agree to a protocol
03:18:14.651498 == Info: Server certificate:
03:18:14.658942 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:18:14.665046 == Info: start date: Aug 31 23:39:18 2018 GMT
03:18:14.665983 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:18:14.666906 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:18:14.667763 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:18:14.669258 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c9188; line 1685 (connection #0)
03:18:14.693112 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:18:14.695978 => 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:14.698892 == Info: STATE: DO => DO_DONE handle 0x56c9188; line 1756 (connection #0)
03:18:14.699354 == Info: STATE: DO_DONE => PERFORM handle 0x56c9188; line 1877 (connection #0)
03:18:14.703749 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:14.716569 == Info: Mark bundle as not supporting multiuse
03:18:14.717153 == Info: HTTP 1.1 or later with persistent connection
03:18:14.719804 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:14.723647 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:14.723877 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:14.737047 == Info: Added cookie foo="123" for domain www.example.com, path /, expire 0
03:18:14.737442 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: foo=123; path=/; secure;.
03:18:14.738552 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:14.740998 <= Recv header, 1 bytes (0x1)
0000: .
03:18:14.741815 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:14.747464 == Info: STATE: PERFORM => DONE handle 0x56c9188; line 2067 (connection #0)
03:18:14.747788 == Info: multi_done
03:18:14.756910 == Info: Connection #0 to host 127.0.0.1 left intact
03:18:14.758933 == Info: Expire cleared (transfer 0x56c9188)
03:18:14.782485 == Info: STATE: INIT => CONNECT handle 0x5723f18; line 1491 (connection #-5000)
03:18:14.788438 == Info: Found bundle for host 127.0.0.1: 0x5808f28 [serially]
03:18:14.788764 == Info: Can not multiplex, even if we wanted to
03:18:14.796950 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:18:14.797732 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:18:14.797937 == Info: STATE: CONNECT => DO handle 0x5723f18; line 1540 (connection #0)
03:18:14.806162 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:14.806311 => 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:14.806854 == Info: STATE: DO => DO_DONE handle 0x5723f18; line 1756 (connection #0)
03:18:14.806938 == Info: STATE: DO_DONE => PERFORM handle 0x5723f18; line 1877 (connection #0)
03:18:14.807115 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:14.807558 == Info: Mark bundle as not supporting multiuse
03:18:14.807623 == Info: HTTP 1.1 or later with persistent connection
03:18:14.807684 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:14.807848 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:14.808066 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:14.811810 == Info: Replaced cookie foo="" for domain www.example.com, path /, expire 1
03:18:14.811918 <= 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:14.812289 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:14.812444 <= Recv header, 1 bytes (0x1)
0000: .
03:18:14.812519 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:14.812898 == Info: STATE: PERFORM => DONE handle 0x5723f18; line 2067 (connection #0)
03:18:14.812962 == Info: multi_done
03:18:14.813801 == Info: Connection #0 to host 127.0.0.1 left intact
03:18:14.813920 == Info: Expire cleared (transfer 0x5723f18)
03:18:14.821098 == Info: STATE: INIT => CONNECT handle 0x577df08; line 1491 (connection #-5000)
03:18:14.822869 == Info: Found bundle for host 127.0.0.1: 0x5808f28 [serially]
03:18:14.822934 == Info: Can not multiplex, even if we wanted to
03:18:14.823798 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:18:14.823959 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:18:14.824038 == Info: STATE: CONNECT => DO handle 0x577df08; line 1540 (connection #0)
03:18:14.826738 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:18:14.826862 => 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:14.827338 == Info: STATE: DO => DO_DONE handle 0x577df08; line 1756 (connection #0)
03:18:14.827421 == Info: STATE: DO_DONE => PERFORM handle 0x577df08; line 1877 (connection #0)
03:18:14.827588 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:18:14.827762 == Info: Mark bundle as not supporting multiuse
03:18:14.827823 == Info: HTTP 1.1 or later with persistent connection
03:18:14.827882 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:14.828028 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:14.832277 <= Recv SSL data, 5 bytes (0x5)
0000: ....h
03:18:14.832481 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:14.833056 == Info: Added cookie foo="123" for domain www.example.com, path /, expire 0
03:18:14.833111 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: foo=123; path=/; secure;.
03:18:14.833328 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:14.833477 <= Recv header, 1 bytes (0x1)
0000: .
03:18:14.833550 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:14.833688 == Info: STATE: PERFORM => DONE handle 0x577df08; line 2067 (connection #0)
03:18:14.833749 == Info: multi_done
03:18:14.834479 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace1562
=== Start of file valgrind1562
==24342== Invalid read of size 8
==24342== at 0x53325A5: check_free (dlerror.c:188)
==24342== by 0x5332AB1: free_key_mem (dlerror.c:221)
==24342== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==24342== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24342== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24342== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==24342== by 0x4C49EB9: exit (exit.c:139)
==24342== by 0x4C340A1: (below main) (libc-start.c:342)
==24342== Address 0x5baeec0 is 0 bytes after a block of size 32 alloc'd
==24342== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24342== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24342== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24342== by 0x24AE36: err_get_state (err.c:210)
==24342== by 0x24BA0C: ERR_put_error (err.c:636)
==24342== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24342== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24342== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24342== by 0x270058: by_file_ctrl (by_file.c:111)
==24342== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24342== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24342== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24342== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24342== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24342== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24342== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24342==
==24342== Invalid free() / delete / delete[] / realloc()
==24342== at 0x48369AB: free (vg_replace_malloc.c:540)
==24342== by 0x5332AB9: free_key_mem (dlerror.c:223)
==24342== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==24342== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24342== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24342== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==24342== by 0x4C49EB9: exit (exit.c:139)
==24342== by 0x4C340A1: (below main) (libc-start.c:342)
==24342== Address 0x5baeea8 is 8 bytes inside a block of size 32 alloc'd
==24342== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24342== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24342== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24342== by 0x24AE36: err_get_state (err.c:210)
==24342== by 0x24BA0C: ERR_put_error (err.c:636)
==24342== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24342== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24342== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24342== by 0x270058: by_file_ctrl (by_file.c:111)
==24342== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24342== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24342== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24342== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24342== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24342== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24342== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24342==
==24342== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==24342== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24342== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24342== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24342== by 0x24AE36: err_get_state (err.c:210)
==24342== by 0x24BA0C: ERR_put_error (err.c:636)
==24342== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24342== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24342== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24342== by 0x270058: by_file_ctrl (by_file.c:111)
==24342== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24342== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24342== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24342== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24342== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24342== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24342== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24342==
=== End of file valgrind1562
test 1563...[Make sure redirects to CURLPROTO_GOPHER are forbidden by default]
--p----emv- OK (1139 out of 1251, remaining: 02:39, took 1.2s, duration: 27:06)
test 1590...[IMAP cleanup before a connection was created]
-------emv- OK (1140 out of 1251, remaining: 02:38, took 1.1s, duration: 27:07)
test 1591 SKIPPED: curl lacks HTTP support
test 1592...[HTTP request, remove handle while resolving, don't block]
valgrind SKIPPED
-------em-- OK (1142 out of 1251, remaining: 02:35, took 0.0s, duration: 27:07)
test 1593...[HTTP custom header overrides CURLOPT_TIMECONDITION]
--p----emv- OK (1143 out of 1251, remaining: 02:33, took 1.0s, duration: 27:08)
test 1594...[HTTP Retry-After header parsing and extraction]
s-p----emv- OK (1144 out of 1251, remaining: 02:32, took 1.0s, duration: 27:09)
Warning: test1595 not present in tests/data/Makefile.inc
test 1595...[HTTP Retry-After header extraction (without header)]
s-p----emv- OK (1145 out of 1251, remaining: 02:30, took 1.1s, duration: 27:10)
Warning: test1596 not present in tests/data/Makefile.inc
test 1596...[HTTP Retry-After header parsing using a date]
s-p----emv- OK (1146 out of 1251, remaining: 02:29, took 1.0s, duration: 27:11)
test 1600...[NTLM unit tests]
-------emv- OK (1147 out of 1251, remaining: 02:27, took 0.9s, duration: 27:12)
test 1601...[MD5 unit tests]
-------emv- OK (1148 out of 1251, remaining: 02:26, took 0.8s, duration: 27:13)
test 1602...[Internal hash create/add/destroy testing, exercising clean functions]
-------emv- OK (1149 out of 1251, remaining: 02:25, took 0.8s, duration: 27:13)
test 1603...[Internal hash add, retrieval, deletion testing]
-------emv- OK (1150 out of 1251, remaining: 02:23, took 0.8s, duration: 27:14)
test 1604...[Test WIN32/MSDOS filename sanitization]
-------emv- OK (1151 out of 1251, remaining: 02:22, took 0.8s, duration: 27:15)
test 1605...[Test negative data lengths as input to libcurl functions]
-------emv- OK (1152 out of 1251, remaining: 02:20, took 0.9s, duration: 27:16)
test 1606...[verify speedcheck]
-------emv- OK (1153 out of 1251, remaining: 02:19, took 0.9s, duration: 27:17)
test 1607...[CURLOPT_RESOLVE parsing]
-------emv- OK (1154 out of 1251, remaining: 02:17, took 1.0s, duration: 27:18)
test 1608...[verify DNS shuffling]
-------emv- OK (1155 out of 1251, remaining: 02:16, took 0.9s, duration: 27:19)
test 1609...[CURLOPT_RESOLVE parsing]
-------emv- OK (1156 out of 1251, remaining: 02:14, took 0.9s, duration: 27:19)
test 1620...[unit tests for url.c]
-------emv- OK (1157 out of 1251, remaining: 02:13, took 0.9s, duration: 27:20)
test 1621...[unit tests for stripcredentials from URL]
-------emv- OK (1158 out of 1251, remaining: 02:11, took 0.8s, duration: 27:21)
test 1650...[DOH]
-------emv- OK (1159 out of 1251, remaining: 02:10, took 0.8s, duration: 27:22)
test 1651...[x509 parsing]
-------emv- OK (1160 out of 1251, remaining: 02:08, took 0.8s, duration: 27:23)
test 1652...[infof]
-------emv- OK (1161 out of 1251, remaining: 02:07, took 0.9s, duration: 27:24)
test 1653...[urlapi]
-------emv- OK (1162 out of 1251, remaining: 02:05, took 0.8s, duration: 27:25)
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 (1167 out of 1251, remaining: 01:58, took 1.2s, duration: 27:31)
test 1904...[HTTP CONNECT with 204 response]
--pd-P-emv- OK (1168 out of 1251, remaining: 01:57, took 1.7s, duration: 27:32)
test 1905...[CURLOPT_COOKIELIST set to "FLUSH" of a shared cookie object]
--p---oemv- OK (1169 out of 1251, remaining: 01:56, took 1.1s, duration: 27:33)
test 1906...[CURLOPT_CURLU and CURLOPT_PORT]
--p----emv- OK (1170 out of 1251, remaining: 01:54, took 1.1s, duration: 27:35)
test 2000...[FTP RETR followed by FILE]
s-p----emv- OK (1171 out of 1251, remaining: 01:53, took 1.2s, duration: 27:36)
test 2001...[HTTP GET followed by FTP RETR followed by FILE]
s-p----emv- OK (1172 out of 1251, remaining: 01:51, took 1.3s, duration: 27:37)
test 2002...[HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ]
s-p----emv- OK (1173 out of 1251, remaining: 01:50, took 1.3s, duration: 27:38)
test 2003...[HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ then again in reverse order]
s-p----emv- OK (1174 out of 1251, remaining: 01:48, took 1.4s, duration: 27:40)
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 (1194 out of 1251, remaining: 01:19, took 1.1s, duration: 27:41)
test 2024...[HTTP authorization retry (Basic switching to Digest)]
--pd---emv- OK (1195 out of 1251, remaining: 01:17, took 1.1s, duration: 27:42)
test 2025...[HTTP authorization retry (Basic switching to NTLM)]
--pd---emv- OK (1196 out of 1251, remaining: 01:16, took 1.2s, duration: 27:43)
test 2026...[HTTP authorization retry (Digest switching to Basic)]
--pd---emv- OK (1197 out of 1251, remaining: 01:15, took 1.1s, duration: 27:44)
test 2027...[HTTP authorization retry (Digest)]
--pd---emv- OK (1198 out of 1251, remaining: 01:13, took 1.2s, duration: 27:45)
test 2028...[HTTP authorization retry (Digest switching to NTLM)]
--pd---emv- OK (1199 out of 1251, remaining: 01:12, took 1.2s, duration: 27:47)
test 2029...[HTTP authorization retry (NTLM switching to Basic)]
--pd---emv- OK (1200 out of 1251, remaining: 01:10, took 1.2s, duration: 27:48)
test 2030...[HTTP authorization retry (NTLM switching to Digest)]
--pd---emv- OK (1201 out of 1251, remaining: 01:09, took 1.2s, duration: 27:49)
test 2031...[HTTP authorization retry (NTLM)]
--pd---emv- OK (1202 out of 1251, remaining: 01:08, took 1.2s, duration: 27:50)
test 2032...[NTLM connection mapping]
--pd---emv- OK (1203 out of 1251, remaining: 01:06, took 1.1s, duration: 27:51)
test 2034...[simple HTTPS GET with DER public key pinning]
goto problem 27
valgrind ERROR ==24519== Invalid read of size 8
==24519== at 0x53325A5: check_free (dlerror.c:188)
==24519== by 0x5332AB1: free_key_mem (dlerror.c:221)
==24519== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==24519== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24519== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24519== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==24519== by 0x4C49EB9: exit (exit.c:139)
==24519== by 0x4C340A1: (below main) (libc-start.c:342)
==24519== Address 0x57662c0 is 0 bytes after a block of size 32 alloc'd
==24519== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24519== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24519== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24519== by 0x24AE36: err_get_state (err.c:210)
==24519== by 0x24BA0C: ERR_put_error (err.c:636)
==24519== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24519== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24519== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24519== by 0x270058: by_file_ctrl (by_file.c:111)
==24519== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24519== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24519== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24519== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24519== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24519== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24519== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24519==
==24519== Invalid free() / delete / delete[] / realloc()
==24519== at 0x48369AB: free (vg_replace_malloc.c:540)
==24519== by 0x5332AB9: free_key_mem (dlerror.c:223)
==24519== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==24519== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24519== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24519== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==24519== by 0x4C49EB9: exit (exit.c:139)
==24519== by 0x4C340A1: (below main) (libc-start.c:342)
==24519== Address 0x57662a8 is 8 bytes inside a block of size 32 alloc'd
==24519== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24519== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24519== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24519== by 0x24AE36: err_get_state (err.c:210)
==24519== by 0x24BA0C: ERR_put_error (err.c:636)
==24519== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24519== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24519== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24519== by 0x270058: by_file_ctrl (by_file.c:111)
==24519== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24519== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24519== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24519== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24519== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24519== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24519== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24519==
==24519== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==24519== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24519== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24519== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24519== by 0x24AE36: err_get_state (err.c:210)
==24519== by 0x24BA0C: ERR_put_error (err.c:636)
==24519== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24519== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24519== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24519== by 0x270058: by_file_ctrl (by_file.c:111)
==24519== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24519== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24519== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24519== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24519== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24519== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24519== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24519==
== 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:02.946841 signalled to die
03:19:02.946935 ========> IPv4 sws (port 8990 pid: 24241) exits with signal (15)
03:19:07.971205 Running HTTP IPv4 version on port 8990
03:19:07.971646 Wrote pid 24506 to .http_server.pid
03:19:08.966897 ====> Client connect
03:19:08.966945 accept_connection 3 returned 4
03:19:08.966975 accept_connection 3 returned 0
03:19:08.967008 Read 96 bytes
03:19:08.967031 Process 96 bytes request
03:19:08.967068 Got request: GET /verifiedserver HTTP/1.1
03:19:08.967095 Are-we-friendly question received
03:19:08.967132 Wrote request (96 bytes) input to log/server.input
03:19:08.967178 Identifying ourselves as friends
03:19:08.967303 Response sent (56 bytes) and written to log/server.response
03:19:08.967331 special request received, no persistency
03:19:08.967351 ====> Client disconnect 0
03:19:11.013466 ====> Client connect
03:19:11.013490 accept_connection 3 returned 4
03:19:11.013503 accept_connection 3 returned 0
03:19:11.013631 Read 96 bytes
03:19:11.013669 Process 96 bytes request
03:19:11.013693 Got request: GET /verifiedserver HTTP/1.1
03:19:11.013708 Are-we-friendly question received
03:19:11.013722 Wrote request (96 bytes) input to log/server.input
03:19:11.013737 Identifying ourselves as friends
03:19:11.013797 Response sent (56 bytes) and written to log/server.response
03:19:11.013818 special request received, no persistency
03:19:11.013835 ====> Client disconnect 0
03:19:13.772427 ====> Client connect
03:19:13.772449 accept_connection 3 returned 4
03:19:13.772461 accept_connection 3 returned 0
03:19:13.864574 Read 86 bytes
03:19:13.864605 Process 86 bytes request
03:19:13.864623 Got request: GET /2034 HTTP/1.1
03:19:13.864635 Requested test number 2034 part 0
03:19:13.864666 - request found to be complete
03:19:13.864693 Wrote request (86 bytes) input to log/server.input
03:19:13.864714 Send response test2034 section <data>
03:19:13.864795 Response sent (103 bytes) and written to log/server.response
03:19:13.864807 => persistent connection request ended, awaits new request
03:19:13.940564 Connection closed by client
03:19:13.940601 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55f165d52828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55f165d52828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55f165d52828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55f165d52828; line 1685 (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 0x55f165d52828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55f165d52828; line 1877 (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 0x55f165d52828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55f165d52828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 24506
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.07 03:19:09 LOG5[24512]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.07 03:19:09 LOG5[24512]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.07 03:19:09 LOG5[24512]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.07 03:19:09 LOG5[24512]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.07 03:19:09 LOG5[24512]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.07 03:19:09 LOG5[24512]: Reading configuration from file /build-18252/tests/https_stunnel.conf
2019.09.07 03:19:09 LOG5[24512]: FIPS mode disabled
2019.09.07 03:19:09 LOG5[24512]: Configuration successful
2019.09.07 03:19:10 LOG5[24515]: Service [curltest] accepted connection from 127.0.0.1:59926
2019.09.07 03:19:10 LOG5[24515]: s_connect: connected 127.0.0.1:8990
2019.09.07 03:19:10 LOG5[24515]: Service [curltest] connected remote server from 127.0.0.1:38778
2019.09.07 03:19:10 LOG5[24515]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.07 03:19:12 LOG5[24520]: Service [curltest] accepted connection from 127.0.0.1:59932
2019.09.07 03:19:12 LOG5[24520]: s_connect: connected 127.0.0.1:8990
2019.09.07 03:19:12 LOG5[24520]: Service [curltest] connected remote server from 127.0.0.1:38784
2019.09.07 03:19:13 LOG5[24520]: 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 0x55715429a828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55715429a828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55715429a828; line 1665 (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 0x55715429a828; line 1682 (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 0x55715429a828; line 1701 (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 0x55715429a828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55715429a828; line 1877 (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 0x55715429a828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55715429a828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 24506
=== 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: 24506
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 24506
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
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:12.931135 == Info: STATE: INIT => CONNECT handle 0x56c7a68; line 1491 (connection #-5000)
03:19:12.986161 == Info: Added connection 0. The cache now contains 1 members
03:19:13.042238 == Info: Trying ::1:8991...
03:19:13.042902 == Info: TCP_NODELAY set
03:19:13.047836 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7a68; line 1547 (connection #0)
03:19:13.062527 == Info: connect to ::1 port 8991 failed: Connection refused
03:19:13.064878 == Info: Trying 127.0.0.1:8991...
03:19:13.064941 == Info: TCP_NODELAY set
03:19:13.073271 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:19:13.073798 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7a68; line 1665 (connection #0)
03:19:13.074888 == Info: Marked for [keep alive]: HTTP default
03:19:13.126400 == Info: ALPN, offering h2
03:19:13.126703 == Info: ALPN, offering http/1.1
03:19:13.217460 == Info: successfully set certificate verify locations:
03:19:13.217720 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:19:13.336750 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:13.342104 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:19:13.342164 => Send SSL data, 166 bytes (0xa6)
0000: .......6.w2h.anR..+...2..%.w.#.^....K.....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:19:13.359513 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:19:13.364993 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:19:13.365052 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y....|.....2....z......S..Q....p.N. .. .n.,h...m.!..l..*.*..S
0040: .e..C.../....................
03:19:13.410832 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:13.411204 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:19:13.411264 <= 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:13.591379 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:19:13.591612 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:19:13.591668 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A....7[7F]....e.D...c.|..s.....4...^..da.,Z.\...%......:J.4.
0040: z.H....a.....b.....H........28.6.....1p.....+....0...x..8..2(.e.
0080: ....w.......+c&I.e.~F.e..m.J6.'.-...uA......;.....5r#.R~..sv./..
00c0: ..P_...@:..z.HE...Sp............Bv...k..[7F].L..\.....`E..~;A.A....
0100: j'..iE......{/3....yF....._.E.z{G.N...l...3..b.:.B..@\?.1T..H7W.
0140: ..a.k......[.
03:19:13.606655 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:13.606869 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:19:13.606925 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:19:13.724022 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:19:13.724229 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:19:13.724285 => Send SSL data, 70 bytes (0x46)
0000: ...BA.R.u.v.......=.."..|.6W.kj..sI...9I.!...N......1T.!.m.T.~..
0040: f.z..;
03:19:13.736387 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:13.736980 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:19:13.737038 => Send SSL data, 1 bytes (0x1)
0000: .
03:19:13.758846 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:19:13.758920 => Send SSL data, 16 bytes (0x10)
0000: ....T.T.Y..]..C.
03:19:13.771579 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:19:13.774359 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:13.775487 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:19:13.775546 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:19:13.778051 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:19:13.783808 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:19:13.783867 <= Recv SSL data, 16 bytes (0x10)
0000: ....ZzD.KLC7...[
03:19:13.812161 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:19:13.812873 == Info: ALPN, server did not agree to a protocol
03:19:13.815440 == Info: Server certificate:
03:19:13.823626 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
03:19:13.828359 == Info: start date: Sep 19 07:13:14 2018 GMT
03:19:13.829782 == Info: expire date: Dec 6 07:13:14 2026 GMT
03:19:13.833025 == Info: subjectAltName: host "localhost" matched cert's "localhost"
03:19:13.835366 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
03:19:13.835954 == Info: SSL certificate verify ok.
03:19:13.842733 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c7a68; line 1685 (connection #0)
03:19:13.862889 => Send SSL data, 5 bytes (0x5)
0000: ....n
03:19:13.865862 => 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:13.868849 == Info: STATE: DO => DO_DONE handle 0x56c7a68; line 1756 (connection #0)
03:19:13.869325 == Info: STATE: DO_DONE => PERFORM handle 0x56c7a68; line 1877 (connection #0)
03:19:13.873804 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:19:13.883019 == Info: Mark bundle as not supporting multiuse
03:19:13.883613 == Info: HTTP 1.1 or later with persistent connection
03:19:13.886391 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:13.893835 <= Recv SSL data, 5 bytes (0x5)
0000: ....k
03:19:13.894103 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:13.894333 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:13.895549 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:13.898075 <= Recv header, 1 bytes (0x1)
0000: .
03:19:13.898721 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:19:13.902393 == Info: STATE: PERFORM => DONE handle 0x56c7a68; line 2067 (connection #0)
03:19:13.902721 == Info: multi_done
03:19:13.912331 == Info: Connection #0 to host localhost left intact
03:19:13.914243 == Info: Expire cleared (transfer 0x56c7a68)
=== End of file trace2034
=== Start of file valgrind2034
==24519== Invalid read of size 8
==24519== at 0x53325A5: check_free (dlerror.c:188)
==24519== by 0x5332AB1: free_key_mem (dlerror.c:221)
==24519== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==24519== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24519== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24519== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==24519== by 0x4C49EB9: exit (exit.c:139)
==24519== by 0x4C340A1: (below main) (libc-start.c:342)
==24519== Address 0x57662c0 is 0 bytes after a block of size 32 alloc'd
==24519== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24519== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24519== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24519== by 0x24AE36: err_get_state (err.c:210)
==24519== by 0x24BA0C: ERR_put_error (err.c:636)
==24519== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24519== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24519== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24519== by 0x270058: by_file_ctrl (by_file.c:111)
==24519== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24519== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24519== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24519== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24519== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24519== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24519== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24519==
==24519== Invalid free() / delete / delete[] / realloc()
==24519== at 0x48369AB: free (vg_replace_malloc.c:540)
==24519== by 0x5332AB9: free_key_mem (dlerror.c:223)
==24519== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==24519== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24519== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24519== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==24519== by 0x4C49EB9: exit (exit.c:139)
==24519== by 0x4C340A1: (below main) (libc-start.c:342)
==24519== Address 0x57662a8 is 8 bytes inside a block of size 32 alloc'd
==24519== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24519== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24519== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24519== by 0x24AE36: err_get_state (err.c:210)
==24519== by 0x24BA0C: ERR_put_error (err.c:636)
==24519== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24519== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24519== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24519== by 0x270058: by_file_ctrl (by_file.c:111)
==24519== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24519== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24519== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24519== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24519== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24519== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24519== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24519==
==24519== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==24519== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24519== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24519== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24519== by 0x24AE36: err_get_state (err.c:210)
==24519== by 0x24BA0C: ERR_put_error (err.c:636)
==24519== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24519== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24519== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24519== by 0x270058: by_file_ctrl (by_file.c:111)
==24519== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24519== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24519== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24519== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24519== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24519== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24519== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24519==
=== End of file valgrind2034
test 2035...[HTTPS wrong DER pinnedpubkey but right CN]
goto problem 28
valgrind ERROR ==24525== Invalid read of size 8
==24525== at 0x53325A5: check_free (dlerror.c:188)
==24525== by 0x5332AB1: free_key_mem (dlerror.c:221)
==24525== by 0x5332AB1: __dlerror_main_freeres (dlerror.c:239)
==24525== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24525== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24525== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==24525== by 0x4C49EB9: exit (exit.c:139)
==24525== by 0x4C340A1: (below main) (libc-start.c:342)
==24525== Address 0x57662c0 is 0 bytes after a block of size 32 alloc'd
==24525== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24525== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24525== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24525== by 0x24AE36: err_get_state (err.c:210)
==24525== by 0x24BA0C: ERR_put_error (err.c:636)
==24525== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24525== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24525== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24525== by 0x270058: by_file_ctrl (by_file.c:111)
==24525== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24525== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24525== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24525== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24525== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24525== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24525== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24525==
==24525== Invalid free() / delete / delete[] / realloc()
==24525== at 0x48369AB: free (vg_replace_malloc.c:540)
==24525== by 0x5332AB9: free_key_mem (dlerror.c:223)
==24525== by 0x5332AB9: __dlerror_main_freeres (dlerror.c:239)
==24525== by 0x4D78B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24525== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24525== by 0x4C49E89: __run_exit_handlers (exit.c:132)
==24525== by 0x4C49EB9: exit (exit.c:139)
==24525== by 0x4C340A1: (below main) (libc-start.c:342)
==24525== Address 0x57662a8 is 8 bytes inside a block of size 32 alloc'd
==24525== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24525== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24525== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24525== by 0x24AE36: err_get_state (err.c:210)
==24525== by 0x24BA0C: ERR_put_error (err.c:636)
==24525== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24525== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24525== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24525== by 0x270058: by_file_ctrl (by_file.c:111)
==24525== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24525== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24525== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24525== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24525== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24525== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24525== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24525==
==24525== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==24525== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24525== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==24525== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==24525== by 0x24AE36: err_get_state (err.c:210)
==24525== by 0x24BA0C: ERR_put_error (err.c:636)
==24525== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==24525== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==24525== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==24525== by 0x270058: by_file_ctrl (by_file.c:111)
==24525== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==24525== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==24525== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24525== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==24525== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==24525== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==24525== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==24525==
== Contents of files in the log/ dir after test 2035
=== Start of file http_server.log
03:19:15.767274 ====> Client connect
03:19:15.767305 accept_connection 3 returned 4
03:19:15.767319 accept_connection 3 returned 0
03:19:15.851964 Connection closed by client
03:19:15.851998 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file stderr2035
% 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: (90) SSL: public key does not match pinned public key
=== End of file stderr2035
=== Start of file trace2035
03:19:14.945105 == Info: STATE: INIT => CONNECT handle 0x56c7a68; line 1491 (connection #-5000)
03:19:14.999837 == Info: Added connection 0. The cache now contains 1 members
03:19:15.054860 == Info: Trying ::1:8991...
03:19:15.055513 == Info: TCP_NODELAY set
03:19:15.060404 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7a68; line 1547 (connection #0)
03:19:15.074924 == Info: connect to ::1 port 8991 failed: Connection refused
03:19:15.077247 == Info: Trying 127.0.0.1:8991...
03:19:15.077309 == Info: TCP_NODELAY set
03:19:15.085526 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:19:15.086043 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7a68; line 1665 (connection #0)
03:19:15.087128 == Info: Marked for [keep alive]: HTTP default
03:19:15.137921 == Info: ALPN, offering h2
03:19:15.138198 == Info: ALPN, offering http/1.1
03:19:15.227229 == Info: successfully set certificate verify locations:
03:19:15.227474 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:19:15.344090 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:15.349327 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:19:15.349385 => Send SSL data, 166 bytes (0xa6)
0000: .......c>~...w .].v.+r..P$.S.M..J.[7F]O.X....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:19:15.366355 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:19:15.371837 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:19:15.371894 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...AI2.c..P[.5.F.....Y......&.."/z .......5...h.J...._L..z.i
0040: ......../....................
03:19:15.416692 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:15.417038 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:19:15.417097 <= Recv SSL data, 977 bytes (0x3d1)
0000: ..........0...0............f..S0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&