curl / Autobuilds / Log From 2019-09-08

Log from 2019-09-08

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 = Sun Sep 8 00:47:51 2019 UTC
testcurl: ./ is verified to be a fine git source dir
testcurl: build dir build-25070 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-25070/lib'
make all-am
make[2]: Entering directory '/build-25070/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-25070/lib'
make[1]: Leaving directory '/build-25070/lib'
Making all in src
make[1]: Entering directory '/build-25070/src'
Making all in ../docs
make[2]: Entering directory '/build-25070/docs'
Making all in .
make[3]: Entering directory '/build-25070/docs'
if test "..x" != "x" -a -e "/docs/curl.1"; then \
/usr/bin/install -c -m 644 "/docs/curl.1" /build-25070/docs/curl.1; fi
cd cmdline-opts && make
make[4]: Entering directory '/build-25070/docs/cmdline-opts'
/usr/bin/perl /docs/cmdline-opts/gen.pl mainpage /docs/cmdline-opts > ../../docs/curl.1
make[4]: Leaving directory '/build-25070/docs/cmdline-opts'
make[3]: Leaving directory '/build-25070/docs'
Making all in cmdline-opts
make[3]: Entering directory '/build-25070/docs/cmdline-opts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-25070/docs/cmdline-opts'
make[2]: Leaving directory '/build-25070/docs'
make[2]: Entering directory '/build-25070/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-25070/src'
make[1]: Leaving directory '/build-25070/src'
make[1]: Entering directory '/build-25070'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/build-25070'
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-25070/tests'
Making all in certs
make[2]: Entering directory '/build-25070/tests/certs'
Making all in scripts
make[3]: Entering directory '/build-25070/tests/certs/scripts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-25070/tests/certs/scripts'
make[3]: Entering directory '/build-25070/tests/certs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build-25070/tests/certs'
make[2]: Leaving directory '/build-25070/tests/certs'
Making all in data
make[2]: Entering directory '/build-25070/tests/data'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build-25070/tests/data'
Making all in server
make[2]: Entering directory '/build-25070/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-25070/tests/server'
Making all in libtest
make[2]: Entering directory '/build-25070/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-25070/tests/libtest'
Making all in unit
make[2]: Entering directory '/build-25070/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-25070/tests/unit'
make[2]: Entering directory '/build-25070/tests'
cd libtest && make checksrc
make[3]: Entering directory '/build-25070/tests/libtest'
RUN checksrc
make[3]: Leaving directory '/build-25070/tests/libtest'
cd unit && make checksrc
make[3]: Entering directory '/build-25070/tests/unit'
RUN checksrc
make[3]: Leaving directory '/build-25070/tests/unit'
cd server && make checksrc
make[3]: Entering directory '/build-25070/tests/server'
RUN checksrc
make[3]: Leaving directory '/build-25070/tests/server'
make[2]: Leaving directory '/build-25070/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:43, took 3.2s, duration: 00:03)
test 0002...[HTTP GET with user and password]
--pd---emv- OK (2 out of 1251, remaining: 46:01, 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:53, took 1.2s, duration: 00:05)
test 0004...[Replaced internal and added custom HTTP headers]
--pd---emv- OK (4 out of 1251, remaining: 35:50, took 1.3s, duration: 00:06)
test 0005...[HTTP over proxy]
--pd---emv- OK (5 out of 1251, remaining: 33:40, took 1.2s, duration: 00:08)
test 0006...[HTTP with simple cookie send]
--pd---emv- OK (6 out of 1251, remaining: 32:13, took 1.2s, duration: 00:09)
test 0007...[HTTP with cookie parser and header recording]
--pd--oemv- OK (7 out of 1251, remaining: 31:08, took 1.2s, duration: 00:10)
test 0008...[HTTP with cookie parsing from header file]
--pd---emv- OK (8 out of 1251, remaining: 30:26, took 1.2s, duration: 00:11)
test 0009...[HTTP RFC1867-type formposting]
--pd---emv- OK (9 out of 1251, remaining: 29:54, took 1.2s, duration: 00:13)
test 0010...[simple HTTP PUT from file]
--pd---emv- OK (10 out of 1251, remaining: 31:30, took 2.2s, duration: 00:15)
test 0011...[simple HTTP Location: following]
--pd---emv- OK (11 out of 1251, remaining: 30:52, took 1.2s, duration: 00:16)
test 0012...[HTTP range support]
--pd---emv- OK (12 out of 1251, remaining: 30:17, took 1.2s, duration: 00:17)
test 0013...[HTTP custom request 'DELETE']
--pd---emv- OK (13 out of 1251, remaining: 29:51, took 1.2s, duration: 00:18)
test 0014...[HTTP HEAD with Connection: close]
--pd---emv- OK (14 out of 1251, remaining: 29:25, took 1.2s, duration: 00:19)
test 0015...[--write-out test]
s-p----emv- OK (15 out of 1251, remaining: 29:07, took 1.2s, duration: 00:21)
test 0016...[HTTP with proxy authorization]
--pd---emv- OK (16 out of 1251, remaining: 28:49, took 1.2s, duration: 00:22)
test 0017...[HTTP with config file on stdin]
--pd---emv- OK (17 out of 1251, remaining: 28:33, took 1.2s, duration: 00:23)
test 0018...[multiple requests using {} in URL]
s-p----emv- OK (18 out of 1251, remaining: 28:21, took 1.2s, duration: 00:24)
test 0019...[attempt connect to non-listening socket]
-------emv- OK (19 out of 1251, remaining: 28:04, took 1.1s, duration: 00:25)
test 0020...[attempt connect to non-existing host name]
-------emv- OK (20 out of 1251, remaining: 27:47, took 1.1s, duration: 00:27)
test 0021...[use curl with multiple request methods]
-------emv- OK (21 out of 1251, remaining: 27:18, took 0.9s, duration: 00:27)
test 0022...[get HTTP with URL > 10000 bytes]
--pd---emv- OK (22 out of 1251, remaining: 27:10, took 1.2s, duration: 00:29)
test 0023...[unsupported protocol:// URL]
-------emv- OK (23 out of 1251, remaining: 26:55, took 1.1s, duration: 00:30)
test 0024...[HTTP GET fail silently on HTTP error return]
--p---oemv- OK (24 out of 1251, remaining: 26:45, took 1.2s, duration: 00:31)
test 0025...[looping HTTP Location: following with --max-redirs]
--pd---emv- OK (25 out of 1251, remaining: 26:41, took 1.2s, duration: 00:32)
test 0026...[specify more -o than URLs]
--pd---emv- OK (26 out of 1251, remaining: 26:35, took 1.2s, duration: 00:33)
test 0027...[Get same cookie page several times]
--pd---emv- OK (27 out of 1251, remaining: 26:33, took 1.3s, duration: 00:35)
test 0028...[HTTP Location: following with extra spaces in header]
--pd---emv- OK (28 out of 1251, remaining: 26:28, took 1.2s, duration: 00:36)
test 0029...[HTTP with 2 secs timeout]
Warning: server logs lock timeout (2 seconds) expired
--pd---emv- OK (29 out of 1251, remaining: 29:05, took 5.1s, duration: 00:41)
test 0030...[HTTP with no data in server reply]
--p----emv- OK (30 out of 1251, remaining: 32:18, took 6.2s, duration: 00:47)
test 0031...[HTTP with weirdly formatted cookies and cookiejar storage]
--pd--oemv- OK (31 out of 1251, remaining: 32:04, took 1.3s, duration: 00:48)
test 0032...[HTTP with -d and -G]
--pd---emv- OK (32 out of 1251, remaining: 31:48, took 1.2s, duration: 00:50)
test 0033...[HTTP PUT with resume]
--pd---emv- OK (33 out of 1251, remaining: 32:10, took 2.2s, duration: 00:52)
test 0034...[HTTP GET with chunked Transfer-Encoding]
--pd---emv- OK (34 out of 1251, remaining: 31:54, took 1.2s, duration: 00:53)
test 0035...[HTTP POST binary data with embedded NUL]
--pd---emv- OK (35 out of 1251, remaining: 31:40, took 1.2s, duration: 00:54)
test 0036...[HTTP GET with bad chunked Transfer-Encoding]
--pd---emv- OK (36 out of 1251, remaining: 31:25, took 1.2s, duration: 00:55)
test 0037...[HTTP GET with nothing returned from server]
--p----emv- OK (37 out of 1251, remaining: 31:12, took 1.2s, duration: 00:57)
test 0038...[HTTP resume request without server supporting it]
--p---oemv- OK (38 out of 1251, remaining: 30:59, took 1.2s, duration: 00:58)
test 0039...[HTTP RFC1867-type formposting with filename= and type=]
--pd---emv- OK (39 out of 1251, remaining: 31:20, took 2.3s, duration: 01:00)
test 0040...[HTTP redirect with whitespace after ? (and conversion)]
--pd---emv- OK (40 out of 1251, remaining: 31:10, took 1.3s, duration: 01:01)
test 0041...[HTTP formpost with missing file]
-------emv- OK (41 out of 1251, remaining: 30:51, 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:43, took 1.3s, duration: 01:04)
test 0043...[HTTP Location: following over HTTP proxy]
--pd---emv- OK (43 out of 1251, remaining: 30:33, took 1.2s, duration: 01:05)
test 0044...[HTTP RFC1867-type formposting without Expect: header]
--pd---emv- OK (44 out of 1251, remaining: 30:24, took 1.2s, duration: 01:06)
test 0045...[simple HTTP Location: without protocol in initial URL]
--pd---emv- OK (45 out of 1251, remaining: 30:14, 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: 30:06, took 1.3s, duration: 01:08)
test 0047...[simple HTTP 1.0 GET]
--pd---emv- OK (47 out of 1251, remaining: 29:57, took 1.2s, duration: 01:10)
test 0048...[HTTP with -d and -G and -I]
--pd---emv- OK (48 out of 1251, remaining: 29:48, took 1.2s, duration: 01:11)
test 0049...[HTTP follow redirect with ../]
--pd---emv- OK (49 out of 1251, remaining: 29:42, took 1.3s, duration: 01:12)
test 0050...[HTTP follow redirect with ../../]
--pd---emv- OK (50 out of 1251, remaining: 29:35, took 1.3s, duration: 01:13)
test 0051...[HTTP follow redirect with excessive ../]
--pd---emv- OK (51 out of 1251, remaining: 29:29, took 1.3s, duration: 01:15)
test 0052...[HTTP follow redirect with ./-prefix]
--pd---emv- OK (52 out of 1251, remaining: 29:22, took 1.3s, duration: 01:16)
test 0053...[HTTP, junk session cookies]
--pd---emv- OK (53 out of 1251, remaining: 29:15, took 1.2s, duration: 01:17)
test 0054...[HTTP with blank Location:]
--pd---emv- OK (54 out of 1251, remaining: 29:08, took 1.2s, duration: 01:18)
test 0055...[HTTP follow redirect with single slash in path]
--pd---emv- OK (55 out of 1251, remaining: 29:02, took 1.3s, duration: 01:20)
test 0056...[HTTP POST with *HUGE* request and chunked transfer-encoding]
--pd---emv- OK (56 out of 1251, remaining: 29:05, took 1.6s, duration: 01:21)
test 0057...[HTTP content-type with spaces in]
s-p----emv- OK (57 out of 1251, remaining: 28:58, took 1.2s, duration: 01:22)
test 0058...[HTTP PUT from file with weird letters]
--pd---emv- OK (58 out of 1251, remaining: 29:12, took 2.2s, duration: 01:25)
test 0059...[HTTP URL with slash but with "parameter"]
--pd---emv- OK (59 out of 1251, remaining: 29:05, took 1.2s, duration: 01:26)
test 0060...[HTTP PUT from stdin with wrong content-length]
--pd---emv- OK (60 out of 1251, remaining: 29:19, took 2.2s, duration: 01:28)
test 0061...[HTTP with various cookies and custom Host:]
--pd--oemv- OK (61 out of 1251, remaining: 29:12, took 1.2s, duration: 01:29)
test 0062...[HTTP, send cookies when using custom Host:]
--pd---emv- OK (62 out of 1251, remaining: 29:07, took 1.3s, duration: 01:31)
test 0063...[HTTP with proxy authorization set in environment]
--pd---emv- OK (63 out of 1251, remaining: 29:00, took 1.2s, duration: 01:32)
test 0064...[HTTP with Digest authorization]
--pd---emv- OK (64 out of 1251, remaining: 28:55, took 1.3s, duration: 01:33)
test 0065...[HTTP with Digest authorization with bad password]
--pd---emv- OK (65 out of 1251, remaining: 28:50, took 1.2s, duration: 01:34)
test 0066...[HTTP GET without headers in the response]
--pd---emv- OK (66 out of 1251, remaining: 28:43, took 1.2s, duration: 01:36)
test 0067...[HTTP with NTLM authorization]
--pd---emv- OK (67 out of 1251, remaining: 28:38, took 1.3s, duration: 01:37)
test 0068...[HTTP with NTLM authorization and wrong password]
--pd---emv- OK (68 out of 1251, remaining: 28:34, took 1.3s, duration: 01:38)
test 0069...[HTTP with NTLM, Basic or Wild-and-crazy authorization]
--pd---emv- OK (69 out of 1251, remaining: 28:29, took 1.3s, duration: 01:39)
test 0070...[HTTP with Digest *OR* NTLM authorization]
--pd---emv- OK (70 out of 1251, remaining: 28:24, took 1.2s, duration: 01:41)
test 0071...[HTTP and -F upload in config file]
--pd---emv- OK (71 out of 1251, remaining: 28:19, took 1.2s, duration: 01:42)
test 0072...[HTTP with Digest *OR* Basic authorization]
--pd---emv- OK (72 out of 1251, remaining: 28:14, took 1.2s, duration: 01:43)
test 0073...[HTTP, receive cookies when using custom Host:, domain using only two dots]
--pd--oemv- OK (73 out of 1251, remaining: 28:09, took 1.2s, duration: 01:44)
test 0074...[HTTP, urlglob {}-retrieval and -o #[num] usage]
--p---oemv- OK (74 out of 1251, remaining: 28:05, took 1.3s, duration: 01:45)
test 0075...[HTTP, urlglob retrieval with bad range]
s------emv- OK (75 out of 1251, remaining: 27:56, took 0.9s, duration: 01:46)
test 0076...[HTTP, -O with no file name part in the URL]
-------emv- OK (76 out of 1251, remaining: 27:46, took 0.9s, duration: 01:47)
test 0077...[HTTP with -z "older date"]
--pd---emv- OK (77 out of 1251, remaining: 27:42, took 1.2s, duration: 01:49)
test 0078...[HTTP with -z "newer date"]
--pd---emv- OK (78 out of 1251, remaining: 27:37, took 1.2s, duration: 01:50)
test 0079...[FTP over HTTP proxy]
--pd---emv- OK (79 out of 1251, remaining: 27:32, took 1.2s, duration: 01:51)
test 0080...[HTTP 1.0 CONNECT with proxytunnel and proxy+host Basic authentication]
--pd-P-emv- OK (80 out of 1251, remaining: 28:04, took 3.7s, duration: 01:55)
test 0081...[HTTP with proxy using NTLM authorization]
--pd---emv- OK (81 out of 1251, remaining: 28:01, took 1.3s, duration: 01:56)
test 0082...[HTTP with proxy requiring NTLM, but we send Basic]
--pd---emv- OK (82 out of 1251, remaining: 27:56, took 1.2s, duration: 01:57)
test 0083...[HTTP over proxy-tunnel with site authentication]
--pd-P-emv- OK (83 out of 1251, remaining: 27:58, took 1.7s, duration: 01:59)
test 0084...[HTTP over proxy with site authentication]
--pd---emv- OK (84 out of 1251, remaining: 27:54, took 1.2s, duration: 02:00)
test 0085...[HTTP over proxy with site and proxy authentication]
--pd---emv- OK (85 out of 1251, remaining: 27:49, took 1.2s, duration: 02:01)
test 0086...[HTTP, urlglob []-retrieval and -o #[num] usage]
--p---oemv- OK (86 out of 1251, remaining: 27:47, took 1.4s, duration: 02:03)
test 0087...[urlglob with out of range -o #[num] usage]
------oemv- OK (87 out of 1251, remaining: 27:42, took 1.2s, duration: 02:04)
test 0088...[HTTP PUT with Digest authorization]
--pd---emv- OK (88 out of 1251, remaining: 27:52, took 2.3s, duration: 02:06)
test 0089...[HTTP with NTLM and follow-location]
--pd---emv- OK (89 out of 1251, remaining: 27:50, took 1.3s, duration: 02:07)
test 0090...[HTTP with NTLM via --anyauth, and then follow-location with NTLM again]
--pd---emv- OK (90 out of 1251, remaining: 27:49, took 1.5s, duration: 02:09)
test 0091...[HTTP with NTLM/Negotiate/Basic, anyauth and user with domain, with size 0]
--pd---emv- OK (91 out of 1251, remaining: 27:45, took 1.3s, duration: 02:10)
test 0092...[HTTP resume transfer with the whole file already downloaded]
--pd---emv- OK (92 out of 1251, remaining: 27:40, took 1.2s, duration: 02:11)
test 0093...[HTTP GET with failed proxy auth]
--pd---emv- OK (93 out of 1251, remaining: 27:36, took 1.2s, duration: 02:13)
test 0094...[HTTPS GET with failed proxy auth (CONNECT 1.0)]
--p----emv- OK (94 out of 1251, remaining: 27:31, took 1.2s, duration: 02:14)
test 0095...[HTTP over proxytunnel using POST]
--pd-P-emv- OK (95 out of 1251, remaining: 27:33, took 1.7s, duration: 02:15)
test 0096...[curl memory tracking operational]
------oemv- OK (96 out of 1251, remaining: 27:25, took 0.9s, duration: 02:16)
test 0097...[HTTP POST with custom content-type]
--pd---emv- OK (97 out of 1251, remaining: 27:21, took 1.2s, duration: 02:17)
test 0098...[HTTP PUT from stdin with set size, disabling chunked transfer-encoding]
--pd---emv- OK (98 out of 1251, remaining: 27:29, took 2.2s, duration: 02:20)
test 0099...[HTTP GET with large-file resume point and failed resume]
--pd---emv- OK (99 out of 1251, remaining: 27:24, took 1.2s, duration: 02:21)
test 0100...[FTP dir list PASV]
--pd---emv- OK (100 out of 1251, remaining: 27:43, took 3.2s, duration: 02:24)
test 0101...[FTP dir list, PORT with specified IP]
--pd---emv- OK (101 out of 1251, remaining: 27:40, took 1.2s, duration: 02:25)
test 0102...[FTP RETR PASV]
--pd---emv- OK (102 out of 1251, remaining: 27:36, took 1.2s, duration: 02:27)
test 0103...[FTP RETR PORT with CWD]
--pd---emv- OK (103 out of 1251, remaining: 27:32, took 1.2s, duration: 02:28)
test 0104...[FTP --head to get file size only]
--p----emv- OK (104 out of 1251, remaining: 27:27, took 1.2s, duration: 02:29)
test 0105...[FTP user+password in URL and ASCII transfer]
--pd---emv- OK (105 out of 1251, remaining: 27:23, took 1.2s, duration: 02:30)
test 0106...[FTP GET with type=A style ASCII URL using %20 codes]
--pd---emv- OK (106 out of 1251, remaining: 27:19, took 1.2s, duration: 02:31)
test 0107...[FTP PASV upload file]
--p-u--emv- OK (107 out of 1251, remaining: 27:15, took 1.2s, duration: 02:33)
test 0108...[FTP PORT upload with CWD]
--p-u--emv- OK (108 out of 1251, remaining: 27:12, took 1.2s, duration: 02:34)
test 0109...[FTP PASV upload append]
--p-u--emv- OK (109 out of 1251, remaining: 27:08, took 1.2s, duration: 02:35)
test 0110...[FTP download resume with set limit]
--pd---emv- OK (110 out of 1251, remaining: 27:04, took 1.2s, duration: 02:36)
test 0111...[FTP download resume beyond file size]
Killed
--p----emv- OK (111 out of 1251, remaining: 27:00, took 1.2s, duration: 02:37)
test 0112...[FTP PASV upload resume]
--p-u--emv- OK (112 out of 1251, remaining: 26:57, took 1.2s, duration: 02:39)
test 0113...[FTP download, failed login: USER not valid]
--p----emv- OK (113 out of 1251, remaining: 26:53, took 1.2s, duration: 02:40)
test 0114...[FTP download, failed login: PASS not valid]
--p----emv- OK (114 out of 1251, remaining: 26:49, took 1.1s, duration: 02:41)
test 0115...[FTP download, failed PASV]
--p----emv- OK (115 out of 1251, remaining: 26:45, took 1.2s, duration: 02:42)
test 0116...[FTP download, failed PORT]
--p----emv- OK (116 out of 1251, remaining: 26:41, took 1.2s, duration: 02:43)
test 0117...[FTP download, failed TYPE]
Killed
--p----emv- OK (117 out of 1251, remaining: 26:38, took 1.2s, duration: 02:44)
test 0118...[FTP download, failed RETR]
Killed
--p----emv- OK (118 out of 1251, remaining: 26:34, took 1.2s, duration: 02:46)
test 0119...[FTP download, failed RETR with PORT]
Killed
--p----emv- OK (119 out of 1251, remaining: 26:30, took 1.2s, duration: 02:47)
test 0120...[ftp download with post-quote delete operation]
--pd---emv- OK (120 out of 1251, remaining: 26:27, took 1.2s, duration: 02:48)
test 0121...[ftp download with post- and pre-transfer delete operations]
--pd---emv- OK (121 out of 1251, remaining: 26:24, took 1.2s, duration: 02:49)
test 0122...[FTP download resume with whole file already downloaded]
Killed
--p----emv- OK (122 out of 1251, remaining: 26:21, took 1.2s, duration: 02:50)
test 0123...[FTP upload resume with whole file already downloaded]
Killed
--p----emv- OK (123 out of 1251, remaining: 26:18, took 1.2s, duration: 02:52)
test 0124...[FTP download, failed PWD]
--pd---emv- OK (124 out of 1251, remaining: 26:14, took 1.2s, duration: 02:53)
test 0125...[FTP download, failed CWD]
--p----emv- OK (125 out of 1251, remaining: 26:11, took 1.2s, duration: 02:54)
test 0126...[FTP download with multiple replies at once in RETR]
--pd---emv- OK (126 out of 1251, remaining: 26:08, took 1.2s, duration: 02:55)
test 0127...[FTP --disable-epsv]
--pd---emv- OK (127 out of 1251, remaining: 26:04, took 1.2s, duration: 02:56)
test 0128...[FTP upload with --crlf]
--p-u--emv- OK (128 out of 1251, remaining: 26:02, took 1.2s, duration: 02:58)
test 0129...[FTP GET with type=A style ASCII URL and understated server SIZE]
--pd---emv- OK (129 out of 1251, remaining: 25:58, took 1.2s, duration: 02:59)
test 0130...[FTP (optional .netrc; no user/pass) dir list PASV]
--pd---emv- OK (130 out of 1251, remaining: 25:55, took 1.2s, duration: 03:00)
test 0131...[FTP (optional .netrc; user/no pass) dir list PASV]
--pd---emv- OK (131 out of 1251, remaining: 25:52, took 1.2s, duration: 03:01)
test 0132...[FTP (optional .netrc; user/passwd supplied) dir list PASV]
--pd---emv- OK (132 out of 1251, remaining: 25:49, took 1.2s, duration: 03:02)
test 0133...[FTP (compulsory .netrc; ignored user/passwd) dir list PASV]
--pd---emv- OK (133 out of 1251, remaining: 25:47, took 1.2s, duration: 03:04)
test 0134...[FTP (optional .netrc; programmatic user/passwd) dir list PASV]
--pd---emv- OK (134 out of 1251, remaining: 25:44, took 1.2s, duration: 03:05)
test 0135...[FTP retrieve a byte-range]
--pd---emv- OK (135 out of 1251, remaining: 25:41, took 1.2s, duration: 03:06)
test 0136...[FTP with user and no password]
--pd---emv- OK (136 out of 1251, remaining: 25:38, took 1.2s, duration: 03:07)
test 0137...[FTP download without size in RETR string]
--pd---emv- OK (137 out of 1251, remaining: 25:35, took 1.2s, duration: 03:08)
test 0138...[FTP download without size in RETR string and no SIZE command]
--pd---emv- OK (138 out of 1251, remaining: 25:33, took 1.2s, duration: 03:10)
test 0139...[FTP download a newer file with -z]
--pd---emv- OK (139 out of 1251, remaining: 25:30, took 1.2s, duration: 03:11)
test 0140...[FTP download file with -z, expected to not transfer]
--p----emv- OK (140 out of 1251, remaining: 25:27, took 1.2s, duration: 03:12)
test 0141...[FTP download info with -I]
s-p----emv- OK (141 out of 1251, remaining: 25:24, took 1.2s, duration: 03:13)
test 0142...[FTP URL with 150 dir levels]
--pd---emv- OK (142 out of 1251, remaining: 25:22, took 1.3s, duration: 03:14)
test 0143...[FTP URL with type=a]
--pd---emv- OK (143 out of 1251, remaining: 25:20, took 1.2s, duration: 03:16)
test 0144...[FTP NLST dir list without contents, using PORT]
Killed
--p----emv- OK (144 out of 1251, remaining: 25:17, took 1.2s, duration: 03:17)
test 0145...[FTP NLST dir list with weird reply code, using PORT]
Killed
--p----emv- OK (145 out of 1251, remaining: 25:14, took 1.2s, duration: 03:18)
test 0146...[persistent FTP with different paths]
--pd---emv- OK (146 out of 1251, remaining: 25:12, took 1.3s, duration: 03:19)
test 0147...[FTP with --ftp-create-dirs (failing CWD)]
--pd---emv- OK (147 out of 1251, remaining: 25:10, took 1.2s, duration: 03:21)
test 0148...[FTP with --ftp-create-dirs (failing MKD)]
--p----emv- OK (148 out of 1251, remaining: 25:07, took 1.2s, duration: 03:22)
test 0149...[FTP with multiple uploads]
--p---oemv- OK (149 out of 1251, remaining: 25:05, took 1.2s, duration: 03:23)
test 0150...[HTTP with NTLM authorization and --fail]
--pd---emv- OK (150 out of 1251, remaining: 25:02, took 1.3s, duration: 03:24)
test 0151...[HTTP GET with an error code that might trick authentication]
--pd---emv- OK (151 out of 1251, remaining: 25:00, took 1.2s, duration: 03:25)
test 0152...[HTTP GET with an error code that might trick authentication and --fail]
--p----emv- OK (152 out of 1251, remaining: 24:57, took 1.2s, duration: 03:27)
test 0153...[HTTP with Digest authorization with stale=true]
s-p----emv- OK (153 out of 1251, remaining: 24:56, took 1.4s, duration: 03:28)
test 0154...[HTTP PUT with --anyauth authorization (picking Digest)]
--pd---emv- OK (154 out of 1251, remaining: 25:01, took 2.3s, duration: 03:30)
test 0155...[HTTP PUT with --anyauth authorization (picking NTLM)]
--pd---emv- OK (155 out of 1251, remaining: 25:06, took 2.3s, duration: 03:33)
test 0156...[HTTP PUT with --anyauth (when the server requires none)]
--pd---emv- OK (156 out of 1251, remaining: 25:11, took 2.2s, duration: 03:35)
test 0157...[HTTP GET with --anyauth (when the server requires none)]
--pd---emv- OK (157 out of 1251, remaining: 25:08, took 1.2s, duration: 03:36)
test 0158...[HTTP multipart formpost with only a 100 reply]
--pd---emv- OK (158 out of 1251, remaining: 25:06, took 1.2s, duration: 03:37)
test 0159...[HTTP with NTLM authorization when talking HTTP/1.0 (known to fail)]
--pd---emv- OK (159 out of 1251, remaining: 25:03, took 1.2s, duration: 03:38)
test 0160...[HTTP with delayed close, conn reuse, connection reset and retry]
s-p----emv- OK (160 out of 1251, remaining: 25:15, took 3.3s, duration: 03:42)
test 0161...[FTP RETR PASV]
--pd---emv- OK (161 out of 1251, remaining: 25:12, took 1.2s, duration: 03:43)
test 0162...[HTTP GET asking for --proxy-ntlm when some other authentication is required]
--p----emv- OK (162 out of 1251, remaining: 25:09, took 1.2s, duration: 03:44)
test 0163...[HTTP multipart formpost with contents from a file]
--pd---emv- OK (163 out of 1251, remaining: 25:07, took 1.2s, duration: 03:45)
test 0164...[HTTP range with multiple ranges]
--pd---emv- OK (164 out of 1251, remaining: 25:04, took 1.2s, duration: 03:47)
test 0165...[HTTP over proxy with IDN host name]
--pd---emv- OK (165 out of 1251, remaining: 25:02, took 1.3s, duration: 03:48)
test 0166...[HTTP formpost a file with spaces in name]
--pd---emv- OK (166 out of 1251, remaining: 25:00, took 1.2s, duration: 03:49)
test 0167...[HTTP with proxy-requiring-Basic to site-requiring-Digest]
--pd---emv- OK (167 out of 1251, remaining: 24:58, took 1.3s, duration: 03:50)
test 0168...[HTTP with proxy-requiring-Digest to site-requiring-Digest]
--pd---emv- OK (168 out of 1251, remaining: 24:56, took 1.3s, duration: 03:52)
test 0169...[HTTP with proxy-requiring-NTLM to site-requiring-Digest]
--pd---emv- OK (169 out of 1251, remaining: 24:54, took 1.3s, duration: 03:53)
test 0170...[HTTP POST with --proxy-ntlm and no SSL with no response]
--p----emv- OK (170 out of 1251, remaining: 24:52, took 1.2s, duration: 03:54)
test 0171...[HTTP, get cookie with dot prefixed full domain]
--pd--oemv- OK (171 out of 1251, remaining: 24:49, took 1.2s, duration: 03:55)
test 0172...[HTTP with cookies file and custom added cookie]
--pd---emv- OK (172 out of 1251, remaining: 24:47, took 1.2s, duration: 03:57)
test 0173...[HTTP RFC1867-formpost a file from stdin with "faked" filename]
--pd---emv- OK (173 out of 1251, remaining: 24:44, took 1.2s, duration: 03:58)
test 0174...[HTTP POST --anyauth to server not requiring any auth at all]
--pd---emv- OK (174 out of 1251, remaining: 24:42, took 1.2s, duration: 03:59)
test 0175...[HTTP POST --digest to server not requiring any auth at all]
--pd---emv- OK (175 out of 1251, remaining: 24:39, took 1.2s, duration: 04:00)
test 0176...[HTTP POST --ntlm to server not requiring any auth at all]
--pd---emv- OK (176 out of 1251, remaining: 24:37, took 1.2s, duration: 04:01)
test 0177...[HTTP POST --digest to server doing a 302-location response]
--pd---emv- OK (177 out of 1251, remaining: 24:35, took 1.2s, duration: 04:03)
test 0178...[HTTP response with negative Content-Length]
--pd---emv- OK (178 out of 1251, remaining: 24:32, took 1.2s, duration: 04:04)
test 0179...[HTTP using proxy and cookies with path checks]
--pd---emv- OK (179 out of 1251, remaining: 24:30, took 1.2s, duration: 04:05)
test 0180...[HTTP 1.0 PUT]
--pd---emv- OK (180 out of 1251, remaining: 24:28, took 1.2s, duration: 04:06)
test 0181...[HTTP 1.0 POST]
--pd---emv- OK (181 out of 1251, remaining: 24:25, took 1.2s, duration: 04:07)
test 0182...[FTP download an empty file]
--pd---emv- OK (182 out of 1251, remaining: 24:23, took 1.2s, duration: 04:09)
test 0183...[HTTP GET two URLs over a single proxy with persistent connection]
--pd---emv- OK (183 out of 1251, remaining: 24:21, took 1.2s, duration: 04:10)
test 0184...[HTTP replace Host: when following Location: to new host]
--pd---emv- OK (184 out of 1251, remaining: 24:18, took 1.2s, duration: 04:11)
test 0185...[HTTP replace Host: when following Location: on the same host]
--pd---emv- OK (185 out of 1251, remaining: 24:16, took 1.2s, duration: 04:12)
test 0186...[HTTP RFC1867-type formposting with types on text fields]
--pd---emv- OK (186 out of 1251, remaining: 24:14, took 1.2s, duration: 04:13)
test 0187...[HTTP redirect with bad host name separation and slash in parameters]
--pd---emv- OK (187 out of 1251, remaining: 24:12, took 1.2s, duration: 04:15)
test 0188...[HTTP GET with resume and redirect]
--pd---emv- OK (188 out of 1251, remaining: 24:09, took 1.2s, duration: 04:16)
test 0189...[HTTP GET with resume and redirect (to a page that doesn't resume)]
--pd---emv- OK (189 out of 1251, remaining: 24:07, took 1.2s, duration: 04:17)
test 0190...[FTP download with strict timeout and slow CWD]
Killed
--p----emv- OK (190 out of 1251, remaining: 24:49, took 9.1s, duration: 04:26)
test 0191...[FTP URL with ?-letters in username and password ]
--pd---emv- OK (191 out of 1251, remaining: 24:58, took 3.2s, duration: 04:29)
test 0192...[HTTP GET -w num_connects with one simple connect]
s-p----emv- OK (192 out of 1251, remaining: 24:55, took 1.2s, duration: 04:31)
test 0193...[HTTP GET -w num_connects with redirected fetch (2 connects)]
s-p----emv- OK (193 out of 1251, remaining: 24:52, took 1.2s, duration: 04:32)
test 0194...[HTTP resume transfer with the whole file already downloaded and --fail]
--pd---emv- OK (194 out of 1251, remaining: 24:50, took 1.2s, duration: 04:33)
test 0195...[FTP response 530 after PASS, temporarily not allowed access]
--p----emv- OK (195 out of 1251, remaining: 24:47, took 1.2s, duration: 04:34)
test 0196...[FTP transient error, retry request once]
--p----emv- OK (196 out of 1251, remaining: 24:49, took 2.2s, duration: 04:36)
test 0197...[HTTP GET --retry on 503 error with output to stdout]
s-p----emv- OK (197 out of 1251, remaining: 24:52, took 2.2s, duration: 04:39)
test 0198...[HTTP GET --retry on 503 error with output to file]
--pd---emv- OK (198 out of 1251, remaining: 24:55, took 2.2s, duration: 04:41)
test 0199...[HTTP with -d, -G and {}]
--pd---emv- OK (199 out of 1251, remaining: 24:52, took 1.2s, duration: 04:42)
test 0200...[basic file:// file]
---d---emv- OK (200 out of 1251, remaining: 24:49, took 1.1s, duration: 04:43)
test 0201...[missing file:// file]
-------emv- OK (201 out of 1251, remaining: 24:46, took 1.1s, duration: 04:44)
test 0202...[two file:// URLs to stdout]
s------emv- OK (202 out of 1251, remaining: 24:43, took 1.1s, duration: 04:45)
test 0203...[file:/path URL with a single slash]
---d---emv- OK (203 out of 1251, remaining: 24:40, took 1.1s, duration: 04:46)
test 0204...["upload" with file://]
------oemv- OK (204 out of 1251, remaining: 24:37, took 1.1s, duration: 04:47)
test 0205...["upload" with file://]
-------emv- OK (205 out of 1251, remaining: 24:34, took 1.1s, duration: 04:49)
test 0206...[HTTP proxy CONNECT auth Digest]
--pd---emv- OK (206 out of 1251, remaining: 24:32, took 1.3s, duration: 04:50)
test 0207...[HTTP GET with chunked Transfer-Encoding closed prematurely]
--pd---emv- OK (207 out of 1251, remaining: 24:30, took 1.2s, duration: 04:51)
test 0208...[HTTP PUT to a FTP URL with username+password - over HTTP proxy]
--pd---emv- OK (208 out of 1251, remaining: 24:32, took 2.3s, duration: 04:53)
test 0209...[HTTP proxy CONNECT auth NTLM]
--pd---emv- OK (209 out of 1251, remaining: 24:30, took 1.3s, duration: 04:55)
test 0210...[Get two FTP files from the same remote dir: no second CWD]
--pd---emv- OK (210 out of 1251, remaining: 24:28, took 1.2s, duration: 04:56)
test 0211...[Get two FTP files with no remote EPSV support]
--pd---emv- OK (211 out of 1251, remaining: 24:26, took 1.2s, duration: 04:57)
test 0212...[Get two FTP files with no remote EPRT support]
--pd---emv- OK (212 out of 1251, remaining: 24:23, took 1.2s, duration: 04:58)
test 0213...[HTTP 1.0 proxy CONNECT auth NTLM and then POST]
--pd---emv- OK (213 out of 1251, remaining: 24:22, took 1.3s, duration: 05:00)
test 0214...[HTTP URL with escaped { and }]
--pd---emv- OK (214 out of 1251, remaining: 24:19, took 1.2s, duration: 05:01)
test 0215...[Get two FTP dir listings from the same remote dir: no second CWD]
--pd---emv- OK (215 out of 1251, remaining: 24:17, took 1.2s, duration: 05:02)
test 0216...[FTP upload two files to the same dir]
--p----emv- OK (216 out of 1251, remaining: 24:15, took 1.3s, duration: 05:03)
test 0217...[HTTP proxy CONNECT to proxy returning 405]
s-p----emv- OK (217 out of 1251, remaining: 24:12, took 1.2s, duration: 05:04)
test 0218...[HTTP PUT from a file but enforce chunked transfer-encoding]
--pd---emv- OK (218 out of 1251, remaining: 24:14, took 2.2s, duration: 05:07)
test 0219...[try using proxy with unsupported scheme]
-------emv- OK (219 out of 1251, remaining: 24:12, took 1.1s, duration: 05:08)
test 0220...[HTTP GET gzip compressed content]
--pd---emv- OK (220 out of 1251, remaining: 24:09, took 1.2s, duration: 05:09)
test 0221...[HTTP GET gzip compressed content with broken gzip header]
--pd---emv- OK (221 out of 1251, remaining: 24:07, took 1.2s, duration: 05:10)
test 0222...[HTTP GET deflate compressed content]
--pd---emv- OK (222 out of 1251, remaining: 24:04, took 1.2s, duration: 05:11)
test 0223...[HTTP GET deflate compressed content with broken deflate header]
--pd---emv- OK (223 out of 1251, remaining: 24:02, took 1.2s, duration: 05:12)
test 0224...[HTTP GET gzip compressed content with huge comment and extra field]
--pd---emv- OK (224 out of 1251, remaining: 24:00, took 1.2s, duration: 05:14)
test 0225...[FTP %0a-code in URL's name part]
-------emv- OK (225 out of 1251, remaining: 23:57, took 1.1s, duration: 05:15)
test 0226...[FTP %0d-code in URL's CWD part]
-------emv- OK (226 out of 1251, remaining: 23:54, took 1.2s, duration: 05:16)
test 0227...[FTP with quote ops]
--pd---emv- OK (227 out of 1251, remaining: 23:52, took 1.2s, duration: 05:17)
test 0228...[FTP RETR with ACCT]
--pd---emv- OK (228 out of 1251, remaining: 23:50, took 1.2s, duration: 05:18)
test 0229...[FTP RETR with bad ACCT]
--p----emv- OK (229 out of 1251, remaining: 23:47, took 1.2s, duration: 05:19)
test 0230...[HTTP GET multiply compressed content]
--pd---emv- OK (230 out of 1251, remaining: 23:45, took 1.2s, duration: 05:21)
test 0231...[file:// with resume]
---d---emv- OK (231 out of 1251, remaining: 23:42, took 1.1s, duration: 05:22)
test 0232...[HTTP GET deflate raw-compressed content]
--pd---emv- OK (232 out of 1251, remaining: 23:40, took 1.2s, duration: 05:23)
test 0233...[HTTP, proxy, site+proxy auth and Location: to new host]
--pd---emv- OK (233 out of 1251, remaining: 23:38, took 1.2s, duration: 05:24)
test 0234...[HTTP, proxy, site+proxy auth and Location: to new host using location-trusted]
--pd---emv- OK (234 out of 1251, remaining: 23:36, took 1.2s, duration: 05:25)
test 0235...[FTP resumed upload but no file present remotely]
--p-u--emv- OK (235 out of 1251, remaining: 23:34, took 1.2s, duration: 05:27)
test 0236...[FTP resume upload but denied access to remote file]
Killed
--p----emv- OK (236 out of 1251, remaining: 23:31, took 1.2s, duration: 05:28)
test 0237...[FTP getting bad host in 227-response to PASV]
--p----emv- OK (237 out of 1251, remaining: 23:29, took 1.2s, duration: 05:29)
test 0238...[FTP getting bad port in response to EPSV]
--p----emv- OK (238 out of 1251, remaining: 23:27, took 1.2s, duration: 05:30)
test 0239...[HTTP proxy-auth NTLM and then POST]
--pd---emv- OK (239 out of 1251, remaining: 23:25, took 1.3s, duration: 05:31)
test 0240...[HTTP-IPv6 GET]
--pd---emv- OK (240 out of 1251, remaining: 23:31, took 3.2s, duration: 05:35)
test 0241...[HTTP-IPv6 GET (using ip6-localhost)]
--pd---emv- OK (241 out of 1251, remaining: 23:29, took 1.2s, duration: 05:36)
test 0242...[HTTP-IPv6 GET with username+password in URL]
--pd---emv- OK (242 out of 1251, remaining: 23:27, took 1.2s, duration: 05:37)
test 0243...[HTTP POST with --proxy-anyauth, picking NTLM]
--pd---emv- OK (243 out of 1251, remaining: 23:25, took 1.3s, duration: 05:38)
test 0244...[FTP dir listing with nocwd and URL encoded path]
--pd---emv- OK (244 out of 1251, remaining: 23:23, took 1.2s, duration: 05:40)
test 0245...[HTTP POST --digest]
--pd---emv- OK (245 out of 1251, remaining: 23:21, took 1.2s, duration: 05:41)
test 0246...[HTTP POST --digest with server doing a 100 before 401 response]
--pd---emv- OK (246 out of 1251, remaining: 23:19, took 1.3s, duration: 05:42)
test 0247...[FTP upload time condition evaluates TRUE => skip upload]
--p----emv- OK (247 out of 1251, remaining: 23:17, took 1.2s, duration: 05:43)
test 0248...[FTP upload time condition evaluates FALSE => upload anyway]
--p-u--emv- OK (248 out of 1251, remaining: 23:14, took 1.2s, duration: 05:44)
test 0249...[HTTP 304 response with "illegal" Content-Length: header]
--pd---emv- OK (249 out of 1251, remaining: 23:12, took 1.2s, duration: 05:46)
test 0250...[FTP dir list PASV with slow response]
--pd---emv- OK (250 out of 1251, remaining: 23:51, took 11.4s, duration: 05:57)
test 0251...[FTP dir list, PORT with specified IP and slow response]
--pd---emv- OK (251 out of 1251, remaining: 24:30, took 11.6s, duration: 06:09)
test 0252...[FTP IPv6 dir list PASV]
--pd---emv- OK (252 out of 1251, remaining: 24:36, took 3.3s, duration: 06:12)
test 0253...[FTP IPv6 dir list with EPRT]
--pd---emv- OK (253 out of 1251, remaining: 24:33, took 1.2s, duration: 06:13)
test 0254...[FTP IPv6 dir list PASV and --disable-epsv]
--pd---emv- OK (254 out of 1251, remaining: 24:31, took 1.2s, duration: 06:14)
test 0255...[FTP IPv6 dir list with EPRT and --disable-eprt]
--pd---emv- OK (255 out of 1251, remaining: 24:28, took 1.2s, duration: 06:15)
test 0256...[HTTP resume request over proxy with auth without server supporting it]
--p---oemv- OK (256 out of 1251, remaining: 24:25, took 1.2s, duration: 06:17)
test 0257...[HTTP Location: following with --netrc-optional]
--pd---emv- OK (257 out of 1251, remaining: 24:23, took 1.3s, duration: 06:18)
test 0258...[HTTP POST multipart without Expect: header using proxy anyauth (Digest)]
--pd---emv- OK (258 out of 1251, remaining: 24:21, took 1.3s, duration: 06:19)
test 0259...[HTTP POST multipart with Expect: header using proxy anyauth (Digest)]
--pd---emv- OK (259 out of 1251, remaining: 24:27, took 3.3s, duration: 06:23)
test 0260...[HTTP GET URL without slash but with questionmark]
--pd---emv- OK (260 out of 1251, remaining: 24:24, took 1.2s, duration: 06:24)
test 0261...[FTP RETR with 226 response code to TYPE]
--pd---emv- OK (261 out of 1251, remaining: 24:22, took 1.2s, duration: 06:25)
test 0262...[HTTP GET with binary zeroes in header]
--pd---emv- OK (262 out of 1251, remaining: 24:19, took 1.2s, duration: 06:26)
test 0263...[HTTP-IPv6 GET with proxy specified using IPv6-numerical address]
--pd---emv- OK (263 out of 1251, remaining: 24:17, took 1.2s, duration: 06:27)
test 0264...[HTTP with proxy string including http:// and user+password]
--pd---emv- OK (264 out of 1251, remaining: 24:14, took 1.2s, duration: 06:29)
test 0265...[HTTP proxy CONNECT auth NTLM and then POST, response-body in the 407]
--pd---emv- OK (265 out of 1251, remaining: 24:12, took 1.4s, duration: 06:30)
test 0266...[HTTP GET with chunked Transfer-Encoding and chunked trailer]
--pd--oemv- OK (266 out of 1251, remaining: 24:10, took 1.2s, duration: 06:31)
test 0267...[HTTP POST with NTLM authorization and added custom headers]
--pd---emv- OK (267 out of 1251, remaining: 24:07, took 1.3s, duration: 06:32)
test 0268...[HTTP POST a non-existing file]
--pd---emv- OK (268 out of 1251, remaining: 24:05, took 1.2s, duration: 06:34)
test 0269...[HTTP --ignore-content-length]
--pd---emv- OK (269 out of 1251, remaining: 24:02, took 1.2s, duration: 06:35)
test 0270...[FTP RETR PASV --ftp-skip-pasv-ip]
--pd---emv- OK (270 out of 1251, remaining: 24:00, took 1.2s, duration: 06:36)
test 0271...[TFTP retrieve]
--pd---emv- OK (271 out of 1251, remaining: 24:05, took 3.2s, duration: 06:39)
test 0272...[FTP timed conditioned get file with identical time stamp ]
--p----emv- OK (272 out of 1251, remaining: 24:02, took 1.2s, duration: 06:40)
test 0273...[HTTP with two Digest authorization headers]
--pd---emv- OK (273 out of 1251, remaining: 24:00, took 1.2s, duration: 06:42)
test 0274...[HTTP Location: following with --max-redirs 0]
--pd---emv- OK (274 out of 1251, remaining: 23:57, took 1.2s, duration: 06:43)
test 0275...[HTTP CONNECT with proxytunnel getting two URLs from the same host]
--pd-P-emv- OK (275 out of 1251, remaining: 23:57, took 1.7s, duration: 06:44)
test 0276...[HTTP Location: following with multiple question marks in URLs]
--pd---emv- OK (276 out of 1251, remaining: 23:54, took 1.2s, duration: 06:46)
test 0277...[HTTP RFC1867-type formposting with custom Content-Type]
--pd---emv- OK (277 out of 1251, remaining: 23:52, took 1.2s, duration: 06:47)
test 0278...[HTTP with proxy string including http:// and user+empty password]
--pd---emv- OK (278 out of 1251, remaining: 23:50, took 1.2s, duration: 06:48)
test 0279...[HTTP with proxy string including http:// and user only]
--pd---emv- OK (279 out of 1251, remaining: 23:47, took 1.2s, duration: 06:49)
test 0280...[FTP --ftp-alternative-to-user on USER failure]
--pd---emv- OK (280 out of 1251, remaining: 23:45, took 1.2s, duration: 06:50)
test 0281...[HTTP PUT from file with 100 + 401 responses and -f without auth given]
--pd---emv- OK (281 out of 1251, remaining: 23:46, took 2.2s, duration: 06:53)
test 0282...[HTTP GET with no response body or headers]
--pd---emv- OK (282 out of 1251, remaining: 23:43, took 1.2s, duration: 06:54)
test 0283...[TFTP retrieve on invalid file]
--p----emv- OK (283 out of 1251, remaining: 23:41, took 1.1s, duration: 06:55)
test 0284...[TFTP retrieve of boundary case 512 byte file]
--pd---emv- OK (284 out of 1251, remaining: 23:38, took 1.2s, duration: 06:56)
test 0285...[TFTP send]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (285 out of 1251, remaining: 23:42, took 3.2s, duration: 06:59)
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:53, took 5.0s, duration: 07:04)
test 0287...[HTTP proxy CONNECT with custom User-Agent header]
s-p----emv- OK (287 out of 1251, remaining: 23:50, took 1.2s, duration: 07:06)
test 0288...[file:// with (unsupported) proxy, authentication and range]
---d---emv- OK (288 out of 1251, remaining: 23:48, took 1.1s, duration: 07:07)
test 0289...[FTP resume upload but denied access to local file]
-------emv- OK (289 out of 1251, remaining: 23:45, took 1.0s, duration: 07:08)
test 0290...[FTP download maximum filesize exceeded]
Killed
--p----emv- OK (290 out of 1251, remaining: 23:42, took 1.2s, duration: 07:09)
test 0291...[FTP download maximum filesize not exceeded]
--pd---emv- OK (291 out of 1251, remaining: 23:40, took 1.2s, duration: 07:10)
test 0292...[HTTP GET with maximum filesize not exceeded]
--pd---emv- OK (292 out of 1251, remaining: 23:37, took 1.2s, duration: 07:11)
test 0293...[HTTP GET with maximum filesize exceeded]
--p----emv- OK (293 out of 1251, remaining: 23:35, took 1.2s, duration: 07:12)
test 0294...[FTP --ftp-account on ACCT request]
--pd---emv- OK (294 out of 1251, remaining: 23:32, took 1.2s, duration: 07:14)
test 0295...[FTP ACCT request without --ftp-account]
--p----emv- OK (295 out of 1251, remaining: 23:30, took 1.1s, duration: 07:15)
test 0296...[FTP CWD with --ftp-method multicwd]
--pd---emv- OK (296 out of 1251, remaining: 23:27, took 1.2s, duration: 07:16)
test 0297...[FTP CWD with --ftp-method singlecwd]
--pd---emv- OK (297 out of 1251, remaining: 23:25, took 1.2s, duration: 07:17)
test 0298...[FTP CWD with --ftp-method nocwd]
--pd---emv- OK (298 out of 1251, remaining: 23:23, took 1.2s, duration: 07:18)
test 0299...[FTP over HTTP proxy with user:pass not in url]
--pd---emv- OK (299 out of 1251, remaining: 23:21, took 1.2s, duration: 07:20)
test 0300...[simple HTTPS GET]
goto problem 2
valgrind ERROR ==27337== Invalid read of size 8
==27337== at 0x53335A5: check_free (dlerror.c:188)
==27337== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27337== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27337== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27337== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27337== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27337== by 0x4C4AEB9: exit (exit.c:139)
==27337== by 0x4C350A1: (below main) (libc-start.c:342)
==27337== Address 0x5af8130 is 0 bytes after a block of size 32 alloc'd
==27337== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27337== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27337== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27337== by 0x24AE36: err_get_state (err.c:210)
==27337== by 0x24BA0C: ERR_put_error (err.c:636)
==27337== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27337== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27337== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27337== by 0x270058: by_file_ctrl (by_file.c:111)
==27337== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27337== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27337== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27337== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27337== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27337== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27337== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27337==
==27337== Invalid free() / delete / delete[] / realloc()
==27337== at 0x48369AB: free (vg_replace_malloc.c:540)
==27337== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27337== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27337== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27337== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27337== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27337== by 0x4C4AEB9: exit (exit.c:139)
==27337== by 0x4C350A1: (below main) (libc-start.c:342)
==27337== Address 0x5af8118 is 8 bytes inside a block of size 32 alloc'd
==27337== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27337== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27337== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27337== by 0x24AE36: err_get_state (err.c:210)
==27337== by 0x24BA0C: ERR_put_error (err.c:636)
==27337== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27337== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27337== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27337== by 0x270058: by_file_ctrl (by_file.c:111)
==27337== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27337== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27337== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27337== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27337== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27337== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27337== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27337==
==27337== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27337== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27337== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27337== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27337== by 0x24AE36: err_get_state (err.c:210)
==27337== by 0x24BA0C: ERR_put_error (err.c:636)
==27337== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27337== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27337== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27337== by 0x270058: by_file_ctrl (by_file.c:111)
==27337== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27337== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27337== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27337== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27337== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27337== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27337== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27337==
== 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:30.082172 ====> Client connect
02:58:30.082213 accept_connection 3 returned 4
02:58:30.082232 accept_connection 3 returned 0
02:58:30.082322 Read 96 bytes
02:58:30.082338 Process 96 bytes request
02:58:30.082354 Got request: GET /verifiedserver HTTP/1.1
02:58:30.082365 Are-we-friendly question received
02:58:30.082397 Wrote request (96 bytes) input to log/server.input
02:58:30.082426 Identifying ourselves as friends
02:58:30.082518 Response sent (56 bytes) and written to log/server.response
02:58:30.082541 special request received, no persistency
02:58:30.082557 ====> Client disconnect 0
02:58:34.130285 ====> Client connect
02:58:34.130313 accept_connection 3 returned 4
02:58:34.130331 accept_connection 3 returned 0
02:58:34.213896 Read 85 bytes
02:58:34.213930 Process 85 bytes request
02:58:34.213947 Got request: GET /300 HTTP/1.1
02:58:34.213958 Requested test number 300 part 0
02:58:34.213983 - request found to be complete
02:58:34.214011 Wrote request (85 bytes) input to log/server.input
02:58:34.214034 Send response test300 section <data>
02:58:34.214099 Response sent (103 bytes) and written to log/server.response
02:58:34.214110 => persistent connection request ended, awaits new request
02:58:34.292572 Connection closed by client
02:58:34.292603 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.09.08 02:58:29 LOG5[27332]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.08 02:58:29 LOG5[27332]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.08 02:58:29 LOG5[27332]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.08 02:58:29 LOG5[27332]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.08 02:58:29 LOG5[27332]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.08 02:58:29 LOG5[27332]: Reading configuration from file /build-25070/tests/https_stunnel.conf
2019.09.08 02:58:29 LOG5[27332]: FIPS mode disabled
2019.09.08 02:58:29 LOG5[27332]: Configuration successful
2019.09.08 02:58:30 LOG5[27335]: Service [curltest] accepted connection from 127.0.0.1:48106
2019.09.08 02:58:30 LOG5[27335]: s_connect: connected 127.0.0.1:8990
2019.09.08 02:58:30 LOG5[27335]: Service [curltest] connected remote server from 127.0.0.1:55190
2019.09.08 02:58:30 LOG5[27335]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.08 02:58:32 LOG5[27338]: Service [curltest] accepted connection from 127.0.0.1:48110
2019.09.08 02:58:34 LOG5[27338]: s_connect: connected 127.0.0.1:8990
2019.09.08 02:58:34 LOG5[27338]: Service [curltest] connected remote server from 127.0.0.1:55194
2019.09.08 02:58:34 LOG5[27338]: 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 0x56530620c828; 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 0x56530620c828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56530620c828; 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 0x56530620c828; 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 0x56530620c828; 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 0x56530620c828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x56530620c828; 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 0x56530620c828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x56530620c828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 26097
=== 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: 26097
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:32.016545 == Info: STATE: INIT => CONNECT handle 0x56c8098; line 1491 (connection #-5000)
02:58:32.072006 == Info: Added connection 0. The cache now contains 1 members
02:58:32.089928 == Info: Trying 127.0.0.1:8991...
02:58:32.090547 == Info: TCP_NODELAY set
02:58:32.095896 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8098; line 1547 (connection #0)
02:58:32.107665 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:32.108231 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8098; line 1665 (connection #0)
02:58:32.109367 == Info: Marked for [keep alive]: HTTP default
02:58:32.160206 == Info: ALPN, offering h2
02:58:32.160490 == Info: ALPN, offering http/1.1
02:58:33.608878 == Info: successfully set certificate verify locations:
02:58:33.609148 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:33.722977 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:33.728115 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:33.728181 => Send SSL data, 148 bytes (0x94)
0000: ......!..M..w.....7....w(x.ut...[b........+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:33.745280 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:33.750713 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:33.750774 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...}..8....&]^.eYSb..:.I.a.,hq.ht. ..[7F]...)@{2H.."..J.<......
0040: .J....../................
02:58:33.794658 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:33.795016 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:33.795078 <= 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:33.894329 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:33.894562 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:33.894625 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.p.......m....y)..H,.L.B.Q..<s..x.y.[:Z..|..a>f..Y....A.
0040: ;..]..vD..............'..Wz.........@....).Gw.%{.|.*.....~8%X..c
0080: ..N..)h..&.gz./l..E.3..X..[..)..N-d.Hfb...(........K..DW....}.Y"
00c0: ....X..Z..mf.b..9/2j.|.......3.u.].....T.......s.>..V..........u
0100: $......3...|..`..7Z.9sd..O.C<T......D.cc..BH.2~#.Q..Lp'3...i.~..
0140: {i...n....%..
02:58:33.965347 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:33.965559 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:58:33.965618 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:58:34.081655 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:58:34.081867 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:58:34.081927 => Send SSL data, 70 bytes (0x46)
0000: ...BA.KI....]h..n....F4...o.kr.O.O................g.gQ...D..i...
0040: xF.[7F]DZ
02:58:34.093939 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:34.094528 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:58:34.094588 => Send SSL data, 1 bytes (0x1)
0000: .
02:58:34.116352 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:58:34.116425 => Send SSL data, 16 bytes (0x10)
0000: ......7T.....2~.
02:58:34.129367 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:58:34.131990 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:34.133134 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:58:34.133193 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:58:34.135740 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:58:34.141637 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:58:34.141701 <= Recv SSL data, 16 bytes (0x10)
0000: ...........K....
02:58:34.170841 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:58:34.171505 == Info: ALPN, server did not agree to a protocol
02:58:34.174148 == Info: Server certificate:
02:58:34.181662 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:34.187824 == Info: start date: Aug 31 23:39:18 2018 GMT
02:58:34.188780 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:58:34.189719 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:34.190592 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:58:34.192100 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8098; line 1685 (connection #0)
02:58:34.212227 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:58:34.215130 => 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:34.218061 == Info: STATE: DO => DO_DONE handle 0x56c8098; line 1756 (connection #0)
02:58:34.218533 == Info: STATE: DO_DONE => PERFORM handle 0x56c8098; line 1877 (connection #0)
02:58:34.222963 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:58:34.232008 == Info: Mark bundle as not supporting multiuse
02:58:34.232605 == Info: HTTP 1.1 or later with persistent connection
02:58:34.235322 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:58:34.246324 <= Recv SSL data, 5 bytes (0x5)
0000: ....h
02:58:34.246572 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:58:34.246821 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:58:34.247998 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
02:58:34.250469 <= Recv header, 1 bytes (0x1)
0000: .
02:58:34.251113 <= Recv data, 4 bytes (0x4)
0000: MooM
02:58:34.254308 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:34.254486 <= Recv data, 3 bytes (0x3)
0000: oo.
02:58:34.255923 == Info: STATE: PERFORM => DONE handle 0x56c8098; line 2067 (connection #0)
02:58:34.256252 == Info: multi_done
02:58:34.265284 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace300
=== Start of file valgrind300
==27337== Invalid read of size 8
==27337== at 0x53335A5: check_free (dlerror.c:188)
==27337== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27337== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27337== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27337== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27337== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27337== by 0x4C4AEB9: exit (exit.c:139)
==27337== by 0x4C350A1: (below main) (libc-start.c:342)
==27337== Address 0x5af8130 is 0 bytes after a block of size 32 alloc'd
==27337== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27337== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27337== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27337== by 0x24AE36: err_get_state (err.c:210)
==27337== by 0x24BA0C: ERR_put_error (err.c:636)
==27337== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27337== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27337== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27337== by 0x270058: by_file_ctrl (by_file.c:111)
==27337== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27337== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27337== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27337== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27337== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27337== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27337== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27337==
==27337== Invalid free() / delete / delete[] / realloc()
==27337== at 0x48369AB: free (vg_replace_malloc.c:540)
==27337== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27337== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27337== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27337== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27337== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27337== by 0x4C4AEB9: exit (exit.c:139)
==27337== by 0x4C350A1: (below main) (libc-start.c:342)
==27337== Address 0x5af8118 is 8 bytes inside a block of size 32 alloc'd
==27337== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27337== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27337== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27337== by 0x24AE36: err_get_state (err.c:210)
==27337== by 0x24BA0C: ERR_put_error (err.c:636)
==27337== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27337== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27337== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27337== by 0x270058: by_file_ctrl (by_file.c:111)
==27337== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27337== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27337== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27337== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27337== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27337== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27337== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27337==
==27337== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27337== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27337== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27337== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27337== by 0x24AE36: err_get_state (err.c:210)
==27337== by 0x24BA0C: ERR_put_error (err.c:636)
==27337== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27337== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27337== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27337== by 0x270058: by_file_ctrl (by_file.c:111)
==27337== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27337== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27337== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27337== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27337== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27337== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27337== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27337==
=== End of file valgrind300
test 0301...[HTTPS GET with user and password]
goto problem 3
valgrind ERROR ==27341== Invalid read of size 8
==27341== at 0x53335A5: check_free (dlerror.c:188)
==27341== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27341== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27341== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27341== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27341== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27341== by 0x4C4AEB9: exit (exit.c:139)
==27341== by 0x4C350A1: (below main) (libc-start.c:342)
==27341== Address 0x5afb1c0 is 0 bytes after a block of size 32 alloc'd
==27341== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27341== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27341== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27341== by 0x24AE36: err_get_state (err.c:210)
==27341== by 0x24BA0C: ERR_put_error (err.c:636)
==27341== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27341== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27341== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27341== by 0x270058: by_file_ctrl (by_file.c:111)
==27341== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27341== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27341== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27341== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27341== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27341== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27341== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27341==
==27341== Invalid free() / delete / delete[] / realloc()
==27341== at 0x48369AB: free (vg_replace_malloc.c:540)
==27341== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27341== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27341== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27341== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27341== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27341== by 0x4C4AEB9: exit (exit.c:139)
==27341== by 0x4C350A1: (below main) (libc-start.c:342)
==27341== Address 0x5afb1a8 is 8 bytes inside a block of size 32 alloc'd
==27341== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27341== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27341== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27341== by 0x24AE36: err_get_state (err.c:210)
==27341== by 0x24BA0C: ERR_put_error (err.c:636)
==27341== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27341== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27341== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27341== by 0x270058: by_file_ctrl (by_file.c:111)
==27341== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27341== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27341== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27341== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27341== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27341== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27341== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27341==
==27341== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27341== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27341== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27341== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27341== by 0x24AE36: err_get_state (err.c:210)
==27341== by 0x24BA0C: ERR_put_error (err.c:636)
==27341== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27341== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27341== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27341== by 0x270058: by_file_ctrl (by_file.c:111)
==27341== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27341== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27341== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27341== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27341== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27341== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27341== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27341==
== 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:37.434309 ====> Client connect
02:58:37.434349 accept_connection 3 returned 4
02:58:37.434370 accept_connection 3 returned 0
02:58:37.521784 Read 120 bytes
02:58:37.521822 Process 120 bytes request
02:58:37.521842 Got request: GET /301 HTTP/1.1
02:58:37.521857 Requested test number 301 part 0
02:58:37.521892 - request found to be complete
02:58:37.521927 Wrote request (120 bytes) input to log/server.input
02:58:37.521955 Send response test301 section <data>
02:58:37.521992 connection close instruction "swsclose" found in response
02:58:37.522075 Response sent (130 bytes) and written to log/server.response
02:58:37.522092 instructed to close connection after server-reply
02:58:37.522104 ====> 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:35.348502 == Info: STATE: INIT => CONNECT handle 0x56c8538; line 1491 (connection #-5000)
02:58:35.405149 == Info: Added connection 0. The cache now contains 1 members
02:58:35.422402 == Info: Trying 127.0.0.1:8991...
02:58:35.423010 == Info: TCP_NODELAY set
02:58:35.428317 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8538; line 1547 (connection #0)
02:58:35.439975 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:35.440553 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8538; line 1665 (connection #0)
02:58:35.441704 == Info: Marked for [keep alive]: HTTP default
02:58:35.493154 == Info: ALPN, offering h2
02:58:35.493457 == Info: ALPN, offering http/1.1
02:58:36.915739 == Info: successfully set certificate verify locations:
02:58:36.916000 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:37.030063 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:37.035195 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:37.035258 => Send SSL data, 148 bytes (0x94)
0000: ..........4.9ix......7.....G?.?..g..m.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:37.052302 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:37.057706 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:37.057766 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..h........v...$.Fq...~.>.z.Y...6. [7F]Y..@...f}.....A3{mv.[7F].v;
0040: ...N..../................
02:58:37.101511 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:37.101894 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:37.101954 <= 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:37.200580 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:37.200810 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:37.200867 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.p.......m....y)..H,.L.B.Q..<s..x.y.[:Z..|..a>f..Y....A.
0040: ;..]..vD......X.....J..Et..../.....fk..N%..........bGX)>S...E.._
0080: :3Q.N..n...8$3....N.9P..j..Fh........q&...0.t.\$.T,..^\."a.....Q
00c0: c@...d.a..jk-......b..]l......J;..R..A.JC..L.PQj.$.YR...#`pKg...
0100: 6.!s .......x.T....j.`)..x5...[7F]....3\.2G`...M.1^C.#e1.U.]D.:..1?
0140: ...f...N]....
02:58:37.269969 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:37.270183 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:58:37.270239 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:58:37.386542 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:58:37.386754 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:58:37.386811 => Send SSL data, 70 bytes (0x46)
0000: ...BA...4ifH....k..\i.....00>}.......Dr..O...u7.o...Q.zJ.[..`...
0040: Hzb.Q
02:58:37.398747 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:37.399329 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:58:37.399387 => Send SSL data, 1 bytes (0x1)
0000: .
02:58:37.420874 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:58:37.420938 => Send SSL data, 16 bytes (0x10)
0000: ....m.....n.)..i
02:58:37.433447 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:58:37.436004 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:37.437111 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:58:37.437170 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:58:37.439625 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:58:37.445351 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:58:37.445409 <= Recv SSL data, 16 bytes (0x10)
0000: ........Zu.....V
02:58:37.473880 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:58:37.474547 == Info: ALPN, server did not agree to a protocol
02:58:37.477201 == Info: Server certificate:
02:58:37.484733 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:37.490883 == Info: start date: Aug 31 23:39:18 2018 GMT
02:58:37.491833 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:58:37.492779 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:37.493648 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:58:37.495221 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8538; line 1685 (connection #0)
02:58:37.502490 == Info: Server auth using Basic with user 'fake'
02:58:37.520126 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:37.523156 => 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:37.526210 == Info: STATE: DO => DO_DONE handle 0x56c8538; line 1756 (connection #0)
02:58:37.526684 == Info: STATE: DO_DONE => PERFORM handle 0x56c8538; line 1877 (connection #0)
02:58:37.531122 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:58:37.542764 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
02:58:37.548137 == Info: Mark bundle as not supporting multiuse
02:58:37.548819 == Info: HTTP 1.1 or later with persistent connection
02:58:37.551538 <= Recv header, 25 bytes (0x19)
0000: HTTP/1.1 200 OK swsclose.
02:58:37.556093 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
02:58:37.556311 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:58:37.556550 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:58:37.556862 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
02:58:37.558502 <= Recv header, 24 bytes (0x18)
0000: Content-Type: text/html.
02:58:37.558686 <= Recv header, 19 bytes (0x13)
0000: Funny-head: yesyes.
02:58:37.559431 == Info: no chunk, no close, no size. Assume close to signal end
02:58:37.559708 == Info: Marked for [closure]: HTTP: No end-of-message indicator
02:58:37.561954 <= Recv header, 1 bytes (0x1)
0000: .
02:58:37.572476 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:37.573407 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
02:58:37.573467 <= Recv SSL data, 2 bytes (0x2)
0000: ..
02:58:37.575303 <= Recv data, 0 bytes (0x0)
02:58:37.577871 == Info: STATE: PERFORM => DONE handle 0x56c8538; line 2067 (connection #0)
02:58:37.578262 == Info: multi_done
02:58:37.589040 == Info: Closing connection 0
02:58:37.590686 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:37.591233 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:58:37.591289 => Send SSL data, 2 bytes (0x2)
0000: ..
02:58:37.651643 == Info: The cache now contains 0 members
=== End of file trace301
=== Start of file valgrind301
==27341== Invalid read of size 8
==27341== at 0x53335A5: check_free (dlerror.c:188)
==27341== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27341== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27341== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27341== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27341== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27341== by 0x4C4AEB9: exit (exit.c:139)
==27341== by 0x4C350A1: (below main) (libc-start.c:342)
==27341== Address 0x5afb1c0 is 0 bytes after a block of size 32 alloc'd
==27341== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27341== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27341== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27341== by 0x24AE36: err_get_state (err.c:210)
==27341== by 0x24BA0C: ERR_put_error (err.c:636)
==27341== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27341== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27341== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27341== by 0x270058: by_file_ctrl (by_file.c:111)
==27341== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27341== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27341== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27341== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27341== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27341== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27341== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27341==
==27341== Invalid free() / delete / delete[] / realloc()
==27341== at 0x48369AB: free (vg_replace_malloc.c:540)
==27341== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27341== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27341== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27341== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27341== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27341== by 0x4C4AEB9: exit (exit.c:139)
==27341== by 0x4C350A1: (below main) (libc-start.c:342)
==27341== Address 0x5afb1a8 is 8 bytes inside a block of size 32 alloc'd
==27341== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27341== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27341== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27341== by 0x24AE36: err_get_state (err.c:210)
==27341== by 0x24BA0C: ERR_put_error (err.c:636)
==27341== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27341== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27341== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27341== by 0x270058: by_file_ctrl (by_file.c:111)
==27341== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27341== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27341== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27341== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27341== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27341== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27341== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27341==
==27341== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27341== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27341== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27341== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27341== by 0x24AE36: err_get_state (err.c:210)
==27341== by 0x24BA0C: ERR_put_error (err.c:636)
==27341== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27341== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27341== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27341== by 0x270058: by_file_ctrl (by_file.c:111)
==27341== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27341== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27341== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27341== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27341== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27341== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27341== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27341==
=== End of file valgrind301
test 0302...[HTTPS GET over HTTP proxy fails]
-------emv- OK (302 out of 1251, remaining: 23:33, took 1.2s, duration: 07:29)
test 0303...[HTTPS with 8 secs timeout]
Warning: server logs lock timeout (2 seconds) expired
goto problem 4
valgrind ERROR ==27348== Invalid read of size 8
==27348== at 0x53335A5: check_free (dlerror.c:188)
==27348== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27348== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27348== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27348== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27348== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27348== by 0x4C4AEB9: exit (exit.c:139)
==27348== by 0x4C350A1: (below main) (libc-start.c:342)
==27348== Address 0x5af8130 is 0 bytes after a block of size 32 alloc'd
==27348== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27348== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27348== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27348== by 0x24AE36: err_get_state (err.c:210)
==27348== by 0x24BA0C: ERR_put_error (err.c:636)
==27348== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27348== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27348== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27348== by 0x270058: by_file_ctrl (by_file.c:111)
==27348== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27348== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27348== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27348== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27348== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27348== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27348== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27348==
==27348== Invalid free() / delete / delete[] / realloc()
==27348== at 0x48369AB: free (vg_replace_malloc.c:540)
==27348== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27348== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27348== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27348== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27348== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27348== by 0x4C4AEB9: exit (exit.c:139)
==27348== by 0x4C350A1: (below main) (libc-start.c:342)
==27348== Address 0x5af8118 is 8 bytes inside a block of size 32 alloc'd
==27348== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27348== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27348== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27348== by 0x24AE36: err_get_state (err.c:210)
==27348== by 0x24BA0C: ERR_put_error (err.c:636)
==27348== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27348== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27348== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27348== by 0x270058: by_file_ctrl (by_file.c:111)
==27348== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27348== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27348== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27348== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27348== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27348== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27348== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27348==
==27348== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27348== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27348== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27348== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27348== by 0x24AE36: err_get_state (err.c:210)
==27348== by 0x24BA0C: ERR_put_error (err.c:636)
==27348== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27348== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27348== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27348== by 0x270058: by_file_ctrl (by_file.c:111)
==27348== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27348== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27348== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27348== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27348== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27348== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27348== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27348==
== 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:41.938296 ====> Client connect
02:58:41.938332 accept_connection 3 returned 4
02:58:41.938348 accept_connection 3 returned 0
02:58:42.021491 Read 90 bytes
02:58:42.021523 Process 90 bytes request
02:58:42.021537 Got request: GET /want/303 HTTP/1.1
02:58:42.021547 Requested test number 303 part 0
02:58:42.021582 - request found to be complete
02:58:42.021621 Wrote request (90 bytes) input to log/server.input
02:58:42.021651 Send response test303 section <data>
02:58:42.021726 Response sent (94 bytes) and written to log/server.response
02:58:42.021738 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
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 --:--:-- 4
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 8000 milliseconds with 19 bytes received
=== End of file stderr303
=== Start of file trace303
02:58:39.831755 == Info: STATE: INIT => CONNECT handle 0x56c8098; line 1491 (connection #-5000)
02:58:39.887933 == Info: Added connection 0. The cache now contains 1 members
02:58:39.905147 == Info: Trying 127.0.0.1:8991...
02:58:39.905758 == Info: TCP_NODELAY set
02:58:39.910345 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8098; line 1547 (connection #0)
02:58:39.922032 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:39.922595 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8098; line 1665 (connection #0)
02:58:39.923727 == Info: Marked for [keep alive]: HTTP default
02:58:39.974611 == Info: ALPN, offering h2
02:58:39.974888 == Info: ALPN, offering http/1.1
02:58:41.409382 == Info: successfully set certificate verify locations:
02:58:41.409642 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:41.523831 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:41.528996 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:41.529057 => Send SSL data, 148 bytes (0x94)
0000: .......42...#.Lp...[.J.c........v.^..)....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:41.546152 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:41.551548 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:41.551605 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..[.K..#.AZ...)......D<...j./n..ab *$...0'Q..6..Y|4.'m......
0040: ...r.c../................
02:58:41.595605 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:41.595965 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:41.596024 <= 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:41.694585 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:41.694807 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:41.694864 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.p.......m....y)..H,.L.B.Q..<s..x.y.[:Z..|..a>f..Y....A.
0040: ;..]..vD.....Q=....../bS.fN]z[7F]...1...q...V..n.|..Q...A....x.3wLl
0080: ..<k..hs..8...w.R4....E..;.1+.W.E.!/......KsG.\.f8..*...:TM.1[..
00c0: ..(...N..Q..........pu|.....NY..l..S...19..';R...0.Y..t<....[`.h
0100: 3....T..3...Y..e/..T..Y....../.1...@..9.....G........|.!mS..'=..
0140: .M.n1&.}..bP.
02:58:41.764054 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:41.764276 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:58:41.764334 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:58:41.890563 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:58:41.890777 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:58:41.890838 => Send SSL data, 70 bytes (0x46)
0000: ...BA...L......h....H....S34.&..GL.^[.%.... ).......m%uA....p!..
0040: !4....
02:58:41.902796 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:41.903381 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:58:41.903441 => Send SSL data, 1 bytes (0x1)
0000: .
02:58:41.924917 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:58:41.924978 => Send SSL data, 16 bytes (0x10)
0000: ..........u.M,.f
02:58:41.937440 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:58:41.939967 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:41.941079 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:58:41.941137 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:58:41.943588 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:58:41.949279 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:58:41.949336 <= Recv SSL data, 16 bytes (0x10)
0000: .....o..\.?1.[.Q
02:58:41.977832 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:58:41.978498 == Info: ALPN, server did not agree to a protocol
02:58:41.981153 == Info: Server certificate:
02:58:41.988681 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:41.994839 == Info: start date: Aug 31 23:39:18 2018 GMT
02:58:41.995788 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:58:41.996732 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:41.997601 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:58:41.999109 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8098; line 1685 (connection #0)
02:58:42.019754 => Send SSL data, 5 bytes (0x5)
0000: ....r
02:58:42.023203 => 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:42.027499 == Info: STATE: DO => DO_DONE handle 0x56c8098; line 1756 (connection #0)
02:58:42.029189 == Info: STATE: DO_DONE => PERFORM handle 0x56c8098; line 1877 (connection #0)
02:58:42.035617 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:58:42.046761 == Info: Mark bundle as not supporting multiuse
02:58:42.047377 == Info: HTTP 1.1 or later with persistent connection
02:58:42.050105 <= Recv header, 17 bytes (0x11)
0000: HTTP/1.1 200 OK
02:58:42.061250 <= Recv SSL data, 5 bytes (0x5)
0000: ....b
02:58:42.062010 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:58:42.063115 == Info: Marked for [closure]: Connection: close used
02:58:42.063240 <= Recv header, 19 bytes (0x13)
0000: Connection: close
02:58:42.065885 <= Recv header, 2 bytes (0x2)
0000:
02:58:42.066543 <= Recv data, 19 bytes (0x13)
0000: _data_result_data_.
02:58:47.851226 == Info: Operation timed out after 8000 milliseconds with 19 bytes received
02:58:47.852278 == Info: multi_done
02:58:47.865731 == Info: Closing connection 0
02:58:47.867914 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:47.868927 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:58:47.868983 => Send SSL data, 2 bytes (0x2)
0000: ..
02:58:47.930850 == Info: The cache now contains 0 members
02:58:47.938404 == Info: Expire cleared (transfer 0x56c8098)
=== End of file trace303
=== Start of file valgrind303
==27348== Invalid read of size 8
==27348== at 0x53335A5: check_free (dlerror.c:188)
==27348== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27348== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27348== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27348== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27348== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27348== by 0x4C4AEB9: exit (exit.c:139)
==27348== by 0x4C350A1: (below main) (libc-start.c:342)
==27348== Address 0x5af8130 is 0 bytes after a block of size 32 alloc'd
==27348== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27348== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27348== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27348== by 0x24AE36: err_get_state (err.c:210)
==27348== by 0x24BA0C: ERR_put_error (err.c:636)
==27348== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27348== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27348== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27348== by 0x270058: by_file_ctrl (by_file.c:111)
==27348== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27348== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27348== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27348== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27348== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27348== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27348== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27348==
==27348== Invalid free() / delete / delete[] / realloc()
==27348== at 0x48369AB: free (vg_replace_malloc.c:540)
==27348== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27348== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27348== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27348== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27348== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27348== by 0x4C4AEB9: exit (exit.c:139)
==27348== by 0x4C350A1: (below main) (libc-start.c:342)
==27348== Address 0x5af8118 is 8 bytes inside a block of size 32 alloc'd
==27348== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27348== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27348== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27348== by 0x24AE36: err_get_state (err.c:210)
==27348== by 0x24BA0C: ERR_put_error (err.c:636)
==27348== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27348== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27348== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27348== by 0x270058: by_file_ctrl (by_file.c:111)
==27348== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27348== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27348== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27348== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27348== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27348== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27348== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27348==
==27348== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27348== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27348== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27348== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27348== by 0x24AE36: err_get_state (err.c:210)
==27348== by 0x24BA0C: ERR_put_error (err.c:636)
==27348== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27348== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27348== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27348== by 0x270058: by_file_ctrl (by_file.c:111)
==27348== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27348== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27348== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27348== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27348== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27348== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27348== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27348==
=== End of file valgrind303
test 0304...[HTTPS multipart formpost]
goto problem 5
valgrind ERROR ==27353== Invalid read of size 8
==27353== at 0x53335A5: check_free (dlerror.c:188)
==27353== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27353== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27353== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27353== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27353== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27353== by 0x4C4AEB9: exit (exit.c:139)
==27353== by 0x4C350A1: (below main) (libc-start.c:342)
==27353== Address 0x5b033d0 is 0 bytes after a block of size 32 alloc'd
==27353== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27353== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27353== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27353== by 0x24AE36: err_get_state (err.c:210)
==27353== by 0x24BA0C: ERR_put_error (err.c:636)
==27353== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27353== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27353== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27353== by 0x270058: by_file_ctrl (by_file.c:111)
==27353== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27353== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27353== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27353== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27353== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27353== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27353== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27353==
==27353== Invalid free() / delete / delete[] / realloc()
==27353== at 0x48369AB: free (vg_replace_malloc.c:540)
==27353== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27353== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27353== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27353== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27353== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27353== by 0x4C4AEB9: exit (exit.c:139)
==27353== by 0x4C350A1: (below main) (libc-start.c:342)
==27353== Address 0x5b033b8 is 8 bytes inside a block of size 32 alloc'd
==27353== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27353== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27353== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27353== by 0x24AE36: err_get_state (err.c:210)
==27353== by 0x24BA0C: ERR_put_error (err.c:636)
==27353== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27353== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27353== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27353== by 0x270058: by_file_ctrl (by_file.c:111)
==27353== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27353== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27353== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27353== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27353== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27353== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27353== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27353==
==27353== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27353== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27353== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27353== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27353== by 0x24AE36: err_get_state (err.c:210)
==27353== by 0x24BA0C: ERR_put_error (err.c:636)
==27353== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27353== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27353== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27353== by 0x270058: by_file_ctrl (by_file.c:111)
==27353== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27353== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27353== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27353== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27353== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27353== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27353== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27353==
== Contents of files in the log/ dir after test 304
=== Start of file curl304.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 10
blablabla
=== End of file curl304.out
=== Start of file http_server.log
02:59:02.041259 Continuing after sleeping 20 seconds
02:59:02.041398 => persistent connection request ended, awaits new request
02:59:02.041431 Connection closed by client
02:59:02.041451 ====> Client disconnect 0
02:59:02.041533 Error removing lock file log/serverlogs.lock error: 2 No such file or directory
02:59:02.041597 ====> Client connect
02:59:02.041620 accept_connection 3 returned 4
02:59:02.041645 accept_connection 3 returned 0
02:59:02.041673 Read 1610 bytes
02:59:02.041694 Process 1610 bytes request
02:59:02.041722 Got request: POST /we/want/304 HTTP/1.1
02:59:02.041744 Requested test number 304 part 0
02:59:02.041807 - request found to be complete
02:59:02.041829 Found Content-Length: 1386 in the request
02:59:02.041868 Wrote request (1610 bytes) input to log/server.input
02:59:02.041907 Send response test304 section <data>
02:59:02.042082 Response sent (108 bytes) and written to log/server.response
02:59:02.042110 => persistent connection request ended, awaits new request
02:59:02.117503 Connection closed by client
02:59:02.117543 ====> 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 266 0:00:05 0:00:05 --:--:-- 270
100 1386 0 0 100 1386 0 223 0:00:06 0:00:06 --:--:-- 226
100 1386 0 0 100 1386 0 192 0:00:07 0:00:07 --:--:-- 272
100 1386 0 0 100 1386 0 168 0:00:08 0:00:08 --:--:-- 274
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 124 0:00:11 0:00:11 --:--:-- 0
100 1396 0 10 100 1386 0 124 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:51.983287 == Info: STATE: INIT => CONNECT handle 0x56ccb38; line 1491 (connection #-5000)
02:58:52.038468 == Info: Added connection 0. The cache now contains 1 members
02:58:52.055925 == Info: Trying 127.0.0.1:8991...
02:58:52.056542 == Info: TCP_NODELAY set
02:58:52.061700 == Info: STATE: CONNECT => WAITCONNECT handle 0x56ccb38; line 1547 (connection #0)
02:58:52.073366 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:52.073932 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56ccb38; line 1665 (connection #0)
02:58:52.075063 == Info: Marked for [keep alive]: HTTP default
02:58:52.125982 == Info: ALPN, offering h2
02:58:52.126275 == Info: ALPN, offering http/1.1
02:58:53.535583 == Info: successfully set certificate verify locations:
02:58:53.535841 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:53.649635 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:53.654759 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:53.654826 => Send SSL data, 148 bytes (0x94)
0000: ......y<_M......NK.1p~.2_....B0D.1........+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:53.671845 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:53.677233 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:53.677292 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..s$..i.[.=..|...~[7F]..3..z.....L.g% ....8].l.a..K.....a...9.2
0040: .,....../................
02:58:53.721035 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:53.721390 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:53.721446 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:58:53.819928 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:53.820149 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:53.820207 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.p.......m....y)..H,.L.B.Q..<s..x.y.[:Z..|..a>f..Y....A.
0040: ;..]..vD.......>c.......(.!..)i.@....}[7F]........1T..N...|....}v..
0080: ....Ya...y.......%............+Kb..mQ..`.FJ1.,.xT..&........k.o.
00c0: .=.%J.....u.iu...&.(...4.y.H.9J..l<..J..*...3n`..@.m..h..hr.6..+
0100: ...n...9.l....;I.....L..........Z..<..A......:\..Z<...:a9Pc..b..
0140: z..W+Z.......
02:58:53.889206 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:53.889427 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:58:53.889484 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:58:54.004871 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:58:54.005084 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:58:54.005141 => Send SSL data, 70 bytes (0x46)
0000: ...BA.c._....H|..6eG(..8.O$.E.W..V.~w.../...T....".....e._.....I
0040: ....m.
02:58:54.017141 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:54.017725 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:58:54.017782 => Send SSL data, 1 bytes (0x1)
0000: .
02:58:54.039225 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:58:54.039283 => Send SSL data, 16 bytes (0x10)
0000: .....S..f....&.{
02:58:54.051721 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:58:54.054257 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:54.055351 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:58:54.055408 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:58:54.057851 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:58:54.063517 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:58:54.063574 <= Recv SSL data, 16 bytes (0x10)
0000: .....b..?.nQL..H
02:58:54.092018 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:58:54.092694 == Info: ALPN, server did not agree to a protocol
02:58:54.095332 == Info: Server certificate:
02:58:54.102874 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:54.109039 == Info: start date: Aug 31 23:39:18 2018 GMT
02:58:54.109990 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:58:54.110921 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:54.111789 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:58:54.113296 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56ccb38; line 1685 (connection #0)
02:58:54.148881 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:54.151791 => 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:54.155646 == Info: STATE: DO => DO_DONE handle 0x56ccb38; line 1756 (connection #0)
02:58:54.156115 == Info: STATE: DO_DONE => PERFORM handle 0x56ccb38; line 1877 (connection #0)
02:58:55.158261 == Info: Done waiting for 100-continue
02:58:55.179857 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:55.180247 => 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:55.186015 == Info: We are completely uploaded and fine
02:59:03.051062 <= Recv SSL data, 5 bytes (0x5)
0000: ....h
02:59:03.063152 == Info: Mark bundle as not supporting multiuse
02:59:03.063746 == Info: HTTP 1.1 or later with persistent connection
02:59:03.066430 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:59:03.070311 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:03.070545 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:03.073033 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
02:59:03.074540 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 10
02:59:03.077032 <= Recv header, 1 bytes (0x1)
0000: .
02:59:03.077678 <= Recv data, 10 bytes (0xa)
0000: blablabla.
02:59:03.081297 == Info: STATE: PERFORM => DONE handle 0x56ccb38; line 2067 (connection #0)
02:59:03.081655 == Info: multi_done
02:59:03.089903 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace304
=== Start of file valgrind304
==27353== Invalid read of size 8
==27353== at 0x53335A5: check_free (dlerror.c:188)
==27353== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27353== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27353== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27353== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27353== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27353== by 0x4C4AEB9: exit (exit.c:139)
==27353== by 0x4C350A1: (below main) (libc-start.c:342)
==27353== Address 0x5b033d0 is 0 bytes after a block of size 32 alloc'd
==27353== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27353== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27353== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27353== by 0x24AE36: err_get_state (err.c:210)
==27353== by 0x24BA0C: ERR_put_error (err.c:636)
==27353== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27353== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27353== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27353== by 0x270058: by_file_ctrl (by_file.c:111)
==27353== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27353== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27353== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27353== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27353== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27353== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27353== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27353==
==27353== Invalid free() / delete / delete[] / realloc()
==27353== at 0x48369AB: free (vg_replace_malloc.c:540)
==27353== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27353== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27353== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27353== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27353== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27353== by 0x4C4AEB9: exit (exit.c:139)
==27353== by 0x4C350A1: (below main) (libc-start.c:342)
==27353== Address 0x5b033b8 is 8 bytes inside a block of size 32 alloc'd
==27353== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27353== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27353== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27353== by 0x24AE36: err_get_state (err.c:210)
==27353== by 0x24BA0C: ERR_put_error (err.c:636)
==27353== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27353== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27353== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27353== by 0x270058: by_file_ctrl (by_file.c:111)
==27353== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27353== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27353== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27353== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27353== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27353== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27353== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27353==
==27353== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27353== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27353== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27353== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27353== by 0x24AE36: err_get_state (err.c:210)
==27353== by 0x24BA0C: ERR_put_error (err.c:636)
==27353== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27353== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27353== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27353== by 0x270058: by_file_ctrl (by_file.c:111)
==27353== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27353== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27353== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27353== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27353== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27353== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27353== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27353==
=== End of file valgrind304
test 0305...[insecure HTTPS without permission]
goto problem 6
valgrind ERROR ==27359== Invalid read of size 8
==27359== at 0x53335A5: check_free (dlerror.c:188)
==27359== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27359== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27359== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27359== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27359== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27359== by 0x4C4AEB9: exit (exit.c:139)
==27359== by 0x4C350A1: (below main) (libc-start.c:342)
==27359== Address 0x5758ea0 is 0 bytes after a block of size 32 alloc'd
==27359== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27359== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27359== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27359== by 0x24AE36: err_get_state (err.c:210)
==27359== by 0x24BA0C: ERR_put_error (err.c:636)
==27359== by 0x23B2DD: BIO_new_file (file.c:99)
==27359== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==27359== by 0x270058: by_file_ctrl (by_file.c:111)
==27359== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27359== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27359== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27359== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27359== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27359== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27359== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27359== by 0x18D4F2: https_connecting (http.c:1574)
==27359==
==27359== Invalid free() / delete / delete[] / realloc()
==27359== at 0x48369AB: free (vg_replace_malloc.c:540)
==27359== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27359== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27359== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27359== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27359== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27359== by 0x4C4AEB9: exit (exit.c:139)
==27359== by 0x4C350A1: (below main) (libc-start.c:342)
==27359== Address 0x5758e88 is 8 bytes inside a block of size 32 alloc'd
==27359== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27359== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27359== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27359== by 0x24AE36: err_get_state (err.c:210)
==27359== by 0x24BA0C: ERR_put_error (err.c:636)
==27359== by 0x23B2DD: BIO_new_file (file.c:99)
==27359== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==27359== by 0x270058: by_file_ctrl (by_file.c:111)
==27359== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27359== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27359== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27359== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27359== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27359== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27359== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27359== by 0x18D4F2: https_connecting (http.c:1574)
==27359==
==27359== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==27359== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27359== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27359== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27359== by 0x24AE36: err_get_state (err.c:210)
==27359== by 0x24BA0C: ERR_put_error (err.c:636)
==27359== by 0x23B2DD: BIO_new_file (file.c:99)
==27359== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==27359== by 0x270058: by_file_ctrl (by_file.c:111)
==27359== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27359== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27359== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27359== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27359== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27359== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27359== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27359== by 0x18D4F2: https_connecting (http.c:1574)
==27359==
== 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:03.169648 == Info: STATE: INIT => CONNECT handle 0x56c8538; line 1491 (connection #-5000)
02:59:03.224805 == Info: Added connection 0. The cache now contains 1 members
02:59:03.242021 == Info: Trying 127.0.0.1:8991...
02:59:03.242629 == Info: TCP_NODELAY set
02:59:03.247759 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8538; line 1547 (connection #0)
02:59:03.259406 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:03.259969 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8538; line 1665 (connection #0)
02:59:03.261103 == Info: Marked for [keep alive]: HTTP default
02:59:03.312066 == Info: ALPN, offering h2
02:59:03.312346 == Info: ALPN, offering http/1.1
02:59:03.322939 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
02:59:03.323416 == Info: Marked for [closure]: Failed HTTPS connection
02:59:03.323958 == Info: multi_done
02:59:03.333223 == Info: Closing connection 0
02:59:03.352747 == Info: The cache now contains 0 members
02:59:03.360473 == Info: Expire cleared (transfer 0x56c8538)
=== End of file trace305
=== Start of file valgrind305
==27359== Invalid read of size 8
==27359== at 0x53335A5: check_free (dlerror.c:188)
==27359== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27359== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27359== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27359== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27359== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27359== by 0x4C4AEB9: exit (exit.c:139)
==27359== by 0x4C350A1: (below main) (libc-start.c:342)
==27359== Address 0x5758ea0 is 0 bytes after a block of size 32 alloc'd
==27359== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27359== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27359== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27359== by 0x24AE36: err_get_state (err.c:210)
==27359== by 0x24BA0C: ERR_put_error (err.c:636)
==27359== by 0x23B2DD: BIO_new_file (file.c:99)
==27359== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==27359== by 0x270058: by_file_ctrl (by_file.c:111)
==27359== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27359== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27359== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27359== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27359== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27359== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27359== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27359== by 0x18D4F2: https_connecting (http.c:1574)
==27359==
==27359== Invalid free() / delete / delete[] / realloc()
==27359== at 0x48369AB: free (vg_replace_malloc.c:540)
==27359== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27359== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27359== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27359== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27359== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27359== by 0x4C4AEB9: exit (exit.c:139)
==27359== by 0x4C350A1: (below main) (libc-start.c:342)
==27359== Address 0x5758e88 is 8 bytes inside a block of size 32 alloc'd
==27359== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27359== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27359== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27359== by 0x24AE36: err_get_state (err.c:210)
==27359== by 0x24BA0C: ERR_put_error (err.c:636)
==27359== by 0x23B2DD: BIO_new_file (file.c:99)
==27359== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==27359== by 0x270058: by_file_ctrl (by_file.c:111)
==27359== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27359== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27359== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27359== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27359== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27359== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27359== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27359== by 0x18D4F2: https_connecting (http.c:1574)
==27359==
==27359== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==27359== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27359== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27359== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27359== by 0x24AE36: err_get_state (err.c:210)
==27359== by 0x24BA0C: ERR_put_error (err.c:636)
==27359== by 0x23B2DD: BIO_new_file (file.c:99)
==27359== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==27359== by 0x270058: by_file_ctrl (by_file.c:111)
==27359== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27359== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27359== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27359== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27359== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27359== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27359== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27359== by 0x18D4F2: https_connecting (http.c:1574)
==27359==
=== End of file valgrind305
test 0306...[HTTPS GET, receive no headers only data!]
goto problem 7
valgrind ERROR ==27363== Invalid read of size 8
==27363== at 0x53335A5: check_free (dlerror.c:188)
==27363== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27363== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27363== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27363== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27363== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27363== by 0x4C4AEB9: exit (exit.c:139)
==27363== by 0x4C350A1: (below main) (libc-start.c:342)
==27363== Address 0x5af8130 is 0 bytes after a block of size 32 alloc'd
==27363== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27363== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27363== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27363== by 0x24AE36: err_get_state (err.c:210)
==27363== by 0x24BA0C: ERR_put_error (err.c:636)
==27363== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27363== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27363== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27363== by 0x270058: by_file_ctrl (by_file.c:111)
==27363== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27363== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27363== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27363== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27363== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27363== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27363== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27363==
==27363== Invalid free() / delete / delete[] / realloc()
==27363== at 0x48369AB: free (vg_replace_malloc.c:540)
==27363== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27363== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27363== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27363== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27363== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27363== by 0x4C4AEB9: exit (exit.c:139)
==27363== by 0x4C350A1: (below main) (libc-start.c:342)
==27363== Address 0x5af8118 is 8 bytes inside a block of size 32 alloc'd
==27363== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27363== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27363== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27363== by 0x24AE36: err_get_state (err.c:210)
==27363== by 0x24BA0C: ERR_put_error (err.c:636)
==27363== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27363== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27363== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27363== by 0x270058: by_file_ctrl (by_file.c:111)
==27363== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27363== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27363== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27363== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27363== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27363== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27363== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27363==
==27363== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27363== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27363== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27363== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27363== by 0x24AE36: err_get_state (err.c:210)
==27363== by 0x24BA0C: ERR_put_error (err.c:636)
==27363== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27363== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27363== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27363== by 0x270058: by_file_ctrl (by_file.c:111)
==27363== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27363== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27363== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27363== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27363== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27363== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27363== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27363==
== 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:06.456308 ====> Client connect
02:59:06.456344 accept_connection 3 returned 4
02:59:06.456360 accept_connection 3 returned 0
02:59:06.542627 Read 85 bytes
02:59:06.542662 Process 85 bytes request
02:59:06.542679 Got request: GET /306 HTTP/1.1
02:59:06.542690 Requested test number 306 part 0
02:59:06.542715 - request found to be complete
02:59:06.542740 Wrote request (85 bytes) input to log/server.input
02:59:06.542762 Send response test306 section <data>
02:59:06.542785 connection close instruction "swsclose" found in response
02:59:06.542842 Response sent (107 bytes) and written to log/server.response
02:59:06.542853 instructed to close connection after server-reply
02:59:06.542861 ====> 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 47 0 --:--:-- 0:00:02 --:--:-- 49
=== End of file stderr306
=== Start of file trace306
02:59:04.357235 == Info: STATE: INIT => CONNECT handle 0x56c8098; line 1491 (connection #-5000)
02:59:04.412388 == Info: Added connection 0. The cache now contains 1 members
02:59:04.429866 == Info: Trying 127.0.0.1:8991...
02:59:04.430480 == Info: TCP_NODELAY set
02:59:04.435813 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8098; line 1547 (connection #0)
02:59:04.447519 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:04.448092 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8098; line 1665 (connection #0)
02:59:04.449238 == Info: Marked for [keep alive]: HTTP default
02:59:04.500191 == Info: ALPN, offering h2
02:59:04.500490 == Info: ALPN, offering http/1.1
02:59:05.921903 == Info: successfully set certificate verify locations:
02:59:05.922178 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:06.039404 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:06.044552 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:06.044619 => Send SSL data, 148 bytes (0x94)
0000: ..........g3T^P~..-@Z2r...X%.F.6..^.T.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:06.061684 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:06.067074 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:06.067135 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..........m....C.4...v..=d..5..dG. O.Z.M...%}p+"A9[7F]..CN ....
0040: '.;/~.../................
02:59:06.116659 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:06.117059 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:06.117125 <= 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.218304 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:06.218535 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:06.218596 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.p.......m....y)..H,.L.B.Q..<s..x.y.[:Z..|..a>f..Y....A.
0040: ;..]..vD......(....;...3}_y^.~.|...M.E.g..q....N..xs..._....$..^
0080: ....a...E.6..w5....]...-l.....HKr3...6Vi{.@.e........?`.?..k_...
00c0: .2..h..Qp...^.:..}_...c.r..<..^.2...s.C..b|2I.0=ok....x.U.'[..T.
0100: .K}[7F][7F]....3.D...u......... I.#ryf.YG.....3..$.L......dL@.To.Vl.R.
0140: .....;...eN]$
02:59:06.289470 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:06.289680 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:06.289740 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:06.407417 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:06.407637 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:06.407701 => Send SSL data, 70 bytes (0x46)
0000: ...BA.t.....s...u.E..n...K..2..k.....u..i..............].,.Ay...
0040: ..=...
02:59:06.419892 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:06.420484 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:06.420546 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:06.442384 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:06.442451 => Send SSL data, 16 bytes (0x10)
0000: ....I1z.U.DB. .:
02:59:06.455408 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:06.458061 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:06.459200 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:06.459266 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:06.461824 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:06.467723 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:06.467787 <= Recv SSL data, 16 bytes (0x10)
0000: ..............k.
02:59:06.497389 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:06.498079 == Info: ALPN, server did not agree to a protocol
02:59:06.500851 == Info: Server certificate:
02:59:06.509118 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:06.515532 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:06.516524 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:06.517504 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:06.518409 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:06.519983 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8098; line 1685 (connection #0)
02:59:06.540877 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:59:06.543891 => 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:06.546922 == Info: STATE: DO => DO_DONE handle 0x56c8098; line 1756 (connection #0)
02:59:06.547414 == Info: STATE: DO_DONE => PERFORM handle 0x56c8098; line 1877 (connection #0)
02:59:06.552015 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:06.557542 == Info: Marked for [closure]: bad HTTP: No end-of-message indicator
02:59:06.558514 <= Recv data, 38 bytes (0x26)
0000: No headers at all, just data swsclose.
02:59:06.559004 <= Recv data, 69 bytes (0x45)
0000: .Let's get..a little..so that..we..have..some..test..data to..ve
0040: rify.
02:59:06.559626 == Info: Increasing bytecount by 38 from hbuflen
02:59:06.593990 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:06.595536 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
02:59:06.595639 <= Recv SSL data, 2 bytes (0x2)
0000: ..
02:59:06.598252 == Info: nread <= 0, server closed connection, bailing
02:59:06.600304 == Info: STATE: PERFORM => DONE handle 0x56c8098; line 2067 (connection #0)
02:59:06.600876 == Info: multi_done
02:59:06.612260 == Info: Closing connection 0
02:59:06.613977 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:06.614644 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:06.614707 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:06.677651 == Info: The cache now contains 0 members
=== End of file trace306
=== Start of file valgrind306
==27363== Invalid read of size 8
==27363== at 0x53335A5: check_free (dlerror.c:188)
==27363== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27363== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27363== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27363== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27363== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27363== by 0x4C4AEB9: exit (exit.c:139)
==27363== by 0x4C350A1: (below main) (libc-start.c:342)
==27363== Address 0x5af8130 is 0 bytes after a block of size 32 alloc'd
==27363== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27363== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27363== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27363== by 0x24AE36: err_get_state (err.c:210)
==27363== by 0x24BA0C: ERR_put_error (err.c:636)
==27363== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27363== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27363== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27363== by 0x270058: by_file_ctrl (by_file.c:111)
==27363== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27363== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27363== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27363== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27363== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27363== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27363== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27363==
==27363== Invalid free() / delete / delete[] / realloc()
==27363== at 0x48369AB: free (vg_replace_malloc.c:540)
==27363== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27363== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27363== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27363== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27363== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27363== by 0x4C4AEB9: exit (exit.c:139)
==27363== by 0x4C350A1: (below main) (libc-start.c:342)
==27363== Address 0x5af8118 is 8 bytes inside a block of size 32 alloc'd
==27363== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27363== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27363== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27363== by 0x24AE36: err_get_state (err.c:210)
==27363== by 0x24BA0C: ERR_put_error (err.c:636)
==27363== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27363== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27363== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27363== by 0x270058: by_file_ctrl (by_file.c:111)
==27363== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27363== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27363== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27363== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27363== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27363== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27363== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27363==
==27363== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27363== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27363== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27363== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27363== by 0x24AE36: err_get_state (err.c:210)
==27363== by 0x24BA0C: ERR_put_error (err.c:636)
==27363== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27363== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27363== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27363== by 0x270058: by_file_ctrl (by_file.c:111)
==27363== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27363== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27363== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27363== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27363== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27363== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27363== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27363==
=== 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 ==27369== Invalid read of size 8
==27369== at 0x53335A5: check_free (dlerror.c:188)
==27369== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27369== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27369== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27369== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27369== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27369== by 0x4C4AEB9: exit (exit.c:139)
==27369== by 0x4C350A1: (below main) (libc-start.c:342)
==27369== Address 0x5b31ca0 is 0 bytes after a block of size 32 alloc'd
==27369== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27369== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27369== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27369== by 0x24AE36: err_get_state (err.c:210)
==27369== by 0x24BA0C: ERR_put_error (err.c:636)
==27369== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27369== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27369== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27369== by 0x270058: by_file_ctrl (by_file.c:111)
==27369== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27369== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27369== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27369== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27369== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27369== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27369== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27369==
==27369== Invalid free() / delete / delete[] / realloc()
==27369== at 0x48369AB: free (vg_replace_malloc.c:540)
==27369== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27369== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27369== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27369== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27369== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27369== by 0x4C4AEB9: exit (exit.c:139)
==27369== by 0x4C350A1: (below main) (libc-start.c:342)
==27369== Address 0x5b31c88 is 8 bytes inside a block of size 32 alloc'd
==27369== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27369== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27369== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27369== by 0x24AE36: err_get_state (err.c:210)
==27369== by 0x24BA0C: ERR_put_error (err.c:636)
==27369== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27369== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27369== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27369== by 0x270058: by_file_ctrl (by_file.c:111)
==27369== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27369== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27369== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27369== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27369== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27369== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27369== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27369==
==27369== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27369== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27369== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27369== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27369== by 0x24AE36: err_get_state (err.c:210)
==27369== by 0x24BA0C: ERR_put_error (err.c:636)
==27369== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27369== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27369== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27369== by 0x270058: by_file_ctrl (by_file.c:111)
==27369== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27369== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27369== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27369== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27369== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27369== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27369== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27369==
== 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:07.774295 ====> Client connect
02:59:07.774335 accept_connection 3 returned 4
02:59:07.774349 accept_connection 3 returned 0
02:59:07.803083 Read 90 bytes
02:59:07.803108 Process 90 bytes request
02:59:07.803125 Got request: GET /want/309 HTTP/1.1
02:59:07.803138 Requested test number 309 part 0
02:59:07.803165 - request found to be complete
02:59:07.803184 Wrote request (90 bytes) input to log/server.input
02:59:07.803202 Send response test309 section <data>
02:59:07.803226 connection close instruction "swsclose" found in response
02:59:07.803308 Response sent (277 bytes) and written to log/server.response
02:59:07.803319 instructed to close connection after server-reply
02:59:07.803326 ====> Client disconnect 0
02:59:09.831035 ====> Client connect
02:59:09.831058 accept_connection 3 returned 4
02:59:09.831073 accept_connection 3 returned 0
02:59:09.903751 Read 111 bytes
02:59:09.903783 Process 111 bytes request
02:59:09.903801 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
02:59:09.903812 Requested test number 309 part 2
02:59:09.903840 - request found to be complete
02:59:09.903852 Wrote request (111 bytes) input to log/server.input
02:59:09.903864 Send response test309 section <data2>
02:59:09.903887 connection close instruction "swsclose" found in response
02:59:09.903945 Response sent (179 bytes) and written to log/server.response
02:59:09.903956 instructed to close connection after server-reply
02:59:09.903963 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /want/309 HTTP/1.1
Host: 127.0.0.1:8990
User-Agent: curl/7.66.0-DEV
Accept: */*
GET /data/3090002.txt?coolsite=yes HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
Connection: close
This server reply is for testing a simple Location: following to HTTPS URL
HTTP/1.1 200 Followed here fine swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 52
If this is received, the location following worked
=== End of file server.response
=== Start of file stderr309
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

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

0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 52 100 52 0 0 23 0 0:00:02 0:00:02 --:--:-- 1677
=== End of file stderr309
=== Start of file trace309
02:59:07.698830 == Info: STATE: INIT => CONNECT handle 0x56c8098; line 1491 (connection #-5000)
02:59:07.753767 == Info: Added connection 0. The cache now contains 1 members
02:59:07.771077 == Info: Trying 127.0.0.1:8990...
02:59:07.771688 == Info: TCP_NODELAY set
02:59:07.776985 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8098; line 1547 (connection #0)
02:59:07.788665 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
02:59:07.789229 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8098; line 1665 (connection #0)
02:59:07.790360 == Info: Marked for [keep alive]: HTTP default
02:59:07.791254 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8098; line 1685 (connection #0)
02:59:07.803741 => 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:07.808820 == Info: STATE: DO => DO_DONE handle 0x56c8098; line 1756 (connection #0)
02:59:07.809291 == Info: STATE: DO_DONE => PERFORM handle 0x56c8098; line 1877 (connection #0)
02:59:07.818789 == Info: Mark bundle as not supporting multiuse
02:59:07.819382 == Info: HTTP 1.1 or later with persistent connection
02:59:07.822252 <= Recv header, 53 bytes (0x35)
0000: HTTP/1.1 301 This is a weirdo text message swsclose
02:59:07.826233 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:07.826459 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
02:59:07.828425 <= Recv header, 64 bytes (0x40)
0000: Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
02:59:07.829502 == Info: Marked for [closure]: Connection: close used
02:59:07.829623 <= Recv header, 19 bytes (0x13)
0000: Connection: close
02:59:07.832342 <= Recv header, 2 bytes (0x2)
0000:
02:59:07.834075 == Info: multi_done
02:59:07.843603 == Info: Closing connection 0
02:59:07.848188 == Info: The cache now contains 0 members
02:59:07.858202 == Info: Issue another request to this URL: 'https://127.0.0.1:8991/data/3090002.txt?coolsite=yes'
02:59:07.859000 == Info: STATE: PERFORM => CONNECT handle 0x56c8098; line 2044 (connection #-5000)
02:59:07.862562 == Info: Added connection 1. The cache now contains 1 members
02:59:07.863166 == Info: Trying 127.0.0.1:8991...
02:59:07.863225 == Info: TCP_NODELAY set
02:59:07.863988 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8098; line 1547 (connection #1)
02:59:07.864124 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#1)
02:59:07.864207 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8098; line 1665 (connection #1)
02:59:07.864280 == Info: Marked for [keep alive]: HTTP default
02:59:07.914976 == Info: ALPN, offering h2
02:59:07.915255 == Info: ALPN, offering http/1.1
02:59:09.314872 == Info: successfully set certificate verify locations:
02:59:09.315133 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:09.428591 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:09.431793 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:09.431855 => Send SSL data, 148 bytes (0x94)
0000: ......B...nh..t.|.m.|4.0...j ...O.U.......+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:09.448672 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:09.454046 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:09.454106 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..W$.r..............(zZ>..;3..6..t .@.~...H..q_.qWZ.........
0040: .j.m>.f./................
02:59:09.498100 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:09.498487 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:09.498548 <= 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:09.596977 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:09.597203 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:09.597262 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.p.......m....y)..H,.L.B.Q..<s..x.y.[:Z..|..a>f..Y....A.
0040: ;..]..vD.....3...,...j.&N7..W'...[7F].I@1./h:.9..QJx.s.=.vI.'.m&g~#
0080: ..Q.....n..#U.9.P.=DL<.u.o.Ie...%..D...).T..c<.8r....j...A$o.=&.
00c0: >4.XA....F.6$$.\.n..N...I..0.h*.C.]B..nj'...a...7...4....m/?0.nk
0100: ... 7..[..O.W_WW.N...N...2y....._.d.....E..@.=........*FS.\L..`"
0140: ..ZU..[|./7.5
02:59:09.666565 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:09.666803 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:09.666866 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:09.783254 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:09.783458 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:09.783516 => Send SSL data, 70 bytes (0x46)
0000: ...BA.\#.....=.0..K.....$..8.....`.w=....G...U...Q....I...C@fw.Y
0040: g.....
02:59:09.795469 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:09.796050 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:09.796107 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:09.817648 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:09.817709 => Send SSL data, 16 bytes (0x10)
0000: .....9B....\.-..
02:59:09.830148 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:09.832830 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:09.833925 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:09.833983 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:09.836450 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:09.842118 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:09.842176 <= Recv SSL data, 16 bytes (0x10)
0000: ....s[.......#.<
02:59:09.870629 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:09.871292 == Info: ALPN, server did not agree to a protocol
02:59:09.873904 == Info: Server certificate:
02:59:09.881397 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:09.887531 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:09.888489 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:09.889418 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:09.890306 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:09.891471 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8098; line 1685 (connection #1)
02:59:09.902075 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:09.904635 => 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:09.905207 == Info: STATE: DO => DO_DONE handle 0x56c8098; line 1756 (connection #1)
02:59:09.905294 == Info: STATE: DO_DONE => PERFORM handle 0x56c8098; line 1877 (connection #1)
02:59:09.908022 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:09.914543 == Info: Mark bundle as not supporting multiuse
02:59:09.914705 == Info: HTTP 1.1 or later with persistent connection
02:59:09.914778 <= Recv header, 42 bytes (0x2a)
0000: HTTP/1.1 200 Followed here fine swsclose
02:59:09.915024 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:09.915246 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
02:59:09.916422 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 52
02:59:09.916777 <= Recv header, 2 bytes (0x2)
0000:
02:59:09.917161 <= Recv data, 52 bytes (0x34)
0000: If this is received, the location following worked..
02:59:09.922676 == Info: STATE: PERFORM => DONE handle 0x56c8098; line 2067 (connection #1)
02:59:09.923005 == Info: multi_done
02:59:09.925714 == Info: Connection #1 to host 127.0.0.1 left intact
02:59:09.927526 == Info: Expire cleared (transfer 0x56c8098)
=== End of file trace309
=== Start of file valgrind309
==27369== Invalid read of size 8
==27369== at 0x53335A5: check_free (dlerror.c:188)
==27369== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27369== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27369== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27369== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27369== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27369== by 0x4C4AEB9: exit (exit.c:139)
==27369== by 0x4C350A1: (below main) (libc-start.c:342)
==27369== Address 0x5b31ca0 is 0 bytes after a block of size 32 alloc'd
==27369== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27369== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27369== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27369== by 0x24AE36: err_get_state (err.c:210)
==27369== by 0x24BA0C: ERR_put_error (err.c:636)
==27369== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27369== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27369== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27369== by 0x270058: by_file_ctrl (by_file.c:111)
==27369== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27369== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27369== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27369== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27369== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27369== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27369== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27369==
==27369== Invalid free() / delete / delete[] / realloc()
==27369== at 0x48369AB: free (vg_replace_malloc.c:540)
==27369== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27369== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27369== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27369== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27369== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27369== by 0x4C4AEB9: exit (exit.c:139)
==27369== by 0x4C350A1: (below main) (libc-start.c:342)
==27369== Address 0x5b31c88 is 8 bytes inside a block of size 32 alloc'd
==27369== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27369== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27369== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27369== by 0x24AE36: err_get_state (err.c:210)
==27369== by 0x24BA0C: ERR_put_error (err.c:636)
==27369== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27369== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27369== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27369== by 0x270058: by_file_ctrl (by_file.c:111)
==27369== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27369== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27369== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27369== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27369== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27369== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27369== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27369==
==27369== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27369== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27369== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27369== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27369== by 0x24AE36: err_get_state (err.c:210)
==27369== by 0x24BA0C: ERR_put_error (err.c:636)
==27369== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27369== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27369== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27369== by 0x270058: by_file_ctrl (by_file.c:111)
==27369== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27369== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27369== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27369== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27369== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27369== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27369== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27369==
=== End of file valgrind309
test 0310...[simple HTTPS GET]
goto problem 9
valgrind ERROR ==27388== Invalid read of size 8
==27388== at 0x53335A5: check_free (dlerror.c:188)
==27388== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27388== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27388== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27388== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27388== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27388== by 0x4C4AEB9: exit (exit.c:139)
==27388== by 0x4C350A1: (below main) (libc-start.c:342)
==27388== Address 0x5766090 is 0 bytes after a block of size 32 alloc'd
==27388== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27388== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27388== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27388== by 0x24AE36: err_get_state (err.c:210)
==27388== by 0x24BA0C: ERR_put_error (err.c:636)
==27388== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27388== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27388== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27388== by 0x270058: by_file_ctrl (by_file.c:111)
==27388== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27388== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27388== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27388== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27388== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27388== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27388== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27388==
==27388== Invalid free() / delete / delete[] / realloc()
==27388== at 0x48369AB: free (vg_replace_malloc.c:540)
==27388== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27388== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27388== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27388== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27388== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27388== by 0x4C4AEB9: exit (exit.c:139)
==27388== by 0x4C350A1: (below main) (libc-start.c:342)
==27388== Address 0x5766078 is 8 bytes inside a block of size 32 alloc'd
==27388== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27388== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27388== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27388== by 0x24AE36: err_get_state (err.c:210)
==27388== by 0x24BA0C: ERR_put_error (err.c:636)
==27388== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27388== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27388== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27388== by 0x270058: by_file_ctrl (by_file.c:111)
==27388== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27388== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27388== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27388== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27388== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27388== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27388== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27388==
==27388== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27388== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27388== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27388== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27388== by 0x24AE36: err_get_state (err.c:210)
==27388== by 0x24BA0C: ERR_put_error (err.c:636)
==27388== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27388== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27388== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27388== by 0x270058: by_file_ctrl (by_file.c:111)
==27388== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27388== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27388== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27388== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27388== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27388== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27388== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27388==
== 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:10.077515 signalled to die
02:59:10.077614 ========> IPv4 sws (port 8990 pid: 26097) exits with signal (15)
02:59:15.101712 Running HTTP IPv4 version on port 8990
02:59:15.101932 Wrote pid 27373 to .http_server.pid
02:59:16.097295 ====> Client connect
02:59:16.097323 accept_connection 3 returned 4
02:59:16.097341 accept_connection 3 returned 0
02:59:16.097367 Read 96 bytes
02:59:16.097383 Process 96 bytes request
02:59:16.097406 Got request: GET /verifiedserver HTTP/1.1
02:59:16.097424 Are-we-friendly question received
02:59:16.097472 Wrote request (96 bytes) input to log/server.input
02:59:16.097517 Identifying ourselves as friends
02:59:16.097647 Response sent (56 bytes) and written to log/server.response
02:59:16.097673 special request received, no persistency
02:59:16.097684 ====> Client disconnect 0
02:59:18.139463 ====> Client connect
02:59:18.139485 accept_connection 3 returned 4
02:59:18.139497 accept_connection 3 returned 0
02:59:18.139664 Read 96 bytes
02:59:18.139676 Process 96 bytes request
02:59:18.139687 Got request: GET /verifiedserver HTTP/1.1
02:59:18.139712 Are-we-friendly question received
02:59:18.139733 Wrote request (96 bytes) input to log/server.input
02:59:18.139755 Identifying ourselves as friends
02:59:18.139847 Response sent (56 bytes) and written to log/server.response
02:59:18.139875 special request received, no persistency
02:59:18.139886 ====> Client disconnect 0
02:59:20.923862 ====> Client connect
02:59:20.923883 accept_connection 3 returned 4
02:59:20.923897 accept_connection 3 returned 0
02:59:21.010511 Read 85 bytes
02:59:21.010549 Process 85 bytes request
02:59:21.010566 Got request: GET /310 HTTP/1.1
02:59:21.010577 Requested test number 310 part 0
02:59:21.010606 - request found to be complete
02:59:21.010635 Wrote request (85 bytes) input to log/server.input
02:59:21.010658 Send response test310 section <data>
02:59:21.010723 Response sent (103 bytes) and written to log/server.response
02:59:21.010734 => persistent connection request ended, awaits new request
02:59:21.084073 Connection closed by client
02:59:21.084112 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55f96c8ac828; 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 0x55f96c8ac828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55f96c8ac828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55f96c8ac828; 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 0x55f96c8ac828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55f96c8ac828; 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
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x55f96c8ac828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55f96c8ac828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 27373
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.08 02:59:17 LOG5[27381]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.08 02:59:17 LOG5[27381]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.08 02:59:17 LOG5[27381]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.08 02:59:17 LOG5[27381]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.08 02:59:17 LOG5[27381]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.08 02:59:17 LOG5[27381]: Reading configuration from file /build-25070/tests/https_stunnel.conf
2019.09.08 02:59:17 LOG5[27381]: FIPS mode disabled
2019.09.08 02:59:17 LOG5[27381]: Configuration successful
2019.09.08 02:59:18 LOG5[27384]: Service [curltest] accepted connection from 127.0.0.1:48142
2019.09.08 02:59:18 LOG5[27384]: s_connect: connected 127.0.0.1:8990
2019.09.08 02:59:18 LOG5[27384]: Service [curltest] connected remote server from 127.0.0.1:55226
2019.09.08 02:59:18 LOG5[27384]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.08 02:59:20 LOG5[27389]: Service [curltest] accepted connection from 127.0.0.1:48148
2019.09.08 02:59:21 LOG5[27389]: s_connect: connected 127.0.0.1:8990
2019.09.08 02:59:21 LOG5[27389]: Service [curltest] connected remote server from 127.0.0.1:55232
2019.09.08 02:59:21 LOG5[27389]: 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 0x5566638ae828; 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 0x5566638ae828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5566638ae828; 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 0x5566638ae828; 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 0x5566638ae828; 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 0x5566638ae828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5566638ae828; 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
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x5566638ae828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5566638ae828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 27373
=== 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: 27373
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 27373
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file server.response
=== Start of file stderr310
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7 100 7 0 0 7 0 0:00:01 --:--:-- 0:00:01 7
=== End of file stderr310
=== Start of file trace310
02:59:20.074747 == Info: STATE: INIT => CONNECT handle 0x56c8568; line 1491 (connection #-5000)
02:59:20.130025 == Info: Added connection 0. The cache now contains 1 members
02:59:20.169933 == Info: STATE: CONNECT => WAITRESOLVE handle 0x56c8568; line 1532 (connection #0)
02:59:20.200547 == Info: Trying ::1:8991...
02:59:20.201195 == Info: TCP_NODELAY set
02:59:20.206238 == Info: STATE: WAITRESOLVE => WAITCONNECT handle 0x56c8568; line 1611 (connection #0)
02:59:20.214159 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:20.216395 == Info: Trying 127.0.0.1:8991...
02:59:20.216463 == Info: TCP_NODELAY set
02:59:20.221191 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:20.221710 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8568; line 1665 (connection #0)
02:59:20.222799 == Info: Marked for [keep alive]: HTTP default
02:59:20.273858 == Info: ALPN, offering h2
02:59:20.274136 == Info: ALPN, offering http/1.1
02:59:20.363827 == Info: successfully set certificate verify locations:
02:59:20.364080 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:20.481889 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:20.487076 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:20.487135 => Send SSL data, 166 bytes (0xa6)
0000: ......7.=..&..1.c.N.m.=.....9..F....$.....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:20.505042 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:20.510515 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:20.510574 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y......23(.R/..@.F.?...@.L......N?. g....Q...F.5q.LJ..-.?.e.t
0040: .!.V.V../....................
02:59:20.557591 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:20.557980 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:20.558037 <= 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:20.734990 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:20.735307 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:20.735369 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.*F.%fG..E\e..M..xp!`f....T.O>~cv.. %...c@s...EH...k..P.
0040: .Wm...$nE....BP.....d..q.....<W...N5#`...q..5.=]H..I -..B.].D...
0080: X,.Ur.(..0..U.T.fS.5..Um.{..S.h.'izO..,....C..yE+.\.3[7F]...}.D.e.E
00c0: ..iBq(.._....8-.kw:*8n0...pT..v....e....z*.....G...a4;.u.V.... H
0100: _.....k.M..........1k.x.Q...b.?e$/nz.4....B.(:..bq.B@O.I%*8H....
0140: 5.........$.B
02:59:20.756215 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:20.756460 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:20.756516 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:20.875878 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:20.876089 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:20.876145 => Send SSL data, 70 bytes (0x46)
0000: ...BA.Y..x......w..9U\k...W...@...%.q.nG^..8.3K?..-..G.)^.M.8...
0040: $..M..
02:59:20.888193 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:20.888810 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:20.888868 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:20.910375 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:20.910455 => Send SSL data, 16 bytes (0x10)
0000: .......44Fv.b..
02:59:20.922987 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:20.925762 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:20.926868 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:20.926925 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:20.929386 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:20.935076 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:20.935133 <= Recv SSL data, 16 bytes (0x10)
0000: ................
02:59:20.963070 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:20.963738 == Info: ALPN, server did not agree to a protocol
02:59:20.966328 == Info: Server certificate:
02:59:20.974370 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
02:59:20.979260 == Info: start date: Sep 19 07:13:14 2018 GMT
02:59:20.980659 == Info: expire date: Dec 6 07:13:14 2026 GMT
02:59:20.983801 == Info: subjectAltName: host "localhost" matched cert's "localhost"
02:59:20.986205 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
02:59:20.986810 == Info: SSL certificate verify ok.
02:59:20.988318 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8568; line 1685 (connection #0)
02:59:21.008781 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:59:21.011726 => 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:21.014666 == Info: STATE: DO => DO_DONE handle 0x56c8568; line 1756 (connection #0)
02:59:21.016014 == Info: STATE: DO_DONE => PERFORM handle 0x56c8568; line 1877 (connection #0)
02:59:21.020471 <= Recv SSL data, 5 bytes (0x5)
0000: ....[7F]
02:59:21.030037 == Info: Mark bundle as not supporting multiuse
02:59:21.030634 == Info: HTTP 1.1 or later with persistent connection
02:59:21.033364 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:59:21.037242 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:21.037475 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:21.038634 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
02:59:21.041110 <= Recv header, 1 bytes (0x1)
0000: .
02:59:21.041940 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
02:59:21.047471 == Info: STATE: PERFORM => DONE handle 0x56c8568; line 2067 (connection #0)
02:59:21.047798 == Info: multi_done
02:59:21.056960 == Info: Connection #0 to host localhost left intact
02:59:21.058188 == Info: Expire cleared (transfer 0x56c8568)
=== End of file trace310
=== Start of file valgrind310
==27388== Invalid read of size 8
==27388== at 0x53335A5: check_free (dlerror.c:188)
==27388== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27388== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27388== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27388== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27388== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27388== by 0x4C4AEB9: exit (exit.c:139)
==27388== by 0x4C350A1: (below main) (libc-start.c:342)
==27388== Address 0x5766090 is 0 bytes after a block of size 32 alloc'd
==27388== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27388== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27388== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27388== by 0x24AE36: err_get_state (err.c:210)
==27388== by 0x24BA0C: ERR_put_error (err.c:636)
==27388== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27388== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27388== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27388== by 0x270058: by_file_ctrl (by_file.c:111)
==27388== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27388== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27388== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27388== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27388== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27388== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27388== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27388==
==27388== Invalid free() / delete / delete[] / realloc()
==27388== at 0x48369AB: free (vg_replace_malloc.c:540)
==27388== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27388== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27388== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27388== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27388== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27388== by 0x4C4AEB9: exit (exit.c:139)
==27388== by 0x4C350A1: (below main) (libc-start.c:342)
==27388== Address 0x5766078 is 8 bytes inside a block of size 32 alloc'd
==27388== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27388== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27388== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27388== by 0x24AE36: err_get_state (err.c:210)
==27388== by 0x24BA0C: ERR_put_error (err.c:636)
==27388== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27388== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27388== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27388== by 0x270058: by_file_ctrl (by_file.c:111)
==27388== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27388== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27388== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27388== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27388== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27388== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27388== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27388==
==27388== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27388== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27388== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27388== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27388== by 0x24AE36: err_get_state (err.c:210)
==27388== by 0x24BA0C: ERR_put_error (err.c:636)
==27388== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27388== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27388== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27388== by 0x270058: by_file_ctrl (by_file.c:111)
==27388== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27388== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27388== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27388== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27388== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27388== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27388== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27388==
=== End of file valgrind310
test 0311...[HTTPS wrong subjectAltName but right CN]
goto problem 10
valgrind ERROR ==27406== Invalid read of size 8
==27406== at 0x53335A5: check_free (dlerror.c:188)
==27406== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27406== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27406== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27406== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27406== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27406== by 0x4C4AEB9: exit (exit.c:139)
==27406== by 0x4C350A1: (below main) (libc-start.c:342)
==27406== Address 0x5766040 is 0 bytes after a block of size 32 alloc'd
==27406== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27406== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27406== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27406== by 0x24AE36: err_get_state (err.c:210)
==27406== by 0x24BA0C: ERR_put_error (err.c:636)
==27406== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27406== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27406== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27406== by 0x270058: by_file_ctrl (by_file.c:111)
==27406== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27406== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27406== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27406== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27406== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27406== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27406== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27406==
==27406== Invalid free() / delete / delete[] / realloc()
==27406== at 0x48369AB: free (vg_replace_malloc.c:540)
==27406== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27406== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27406== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27406== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27406== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27406== by 0x4C4AEB9: exit (exit.c:139)
==27406== by 0x4C350A1: (below main) (libc-start.c:342)
==27406== Address 0x5766028 is 8 bytes inside a block of size 32 alloc'd
==27406== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27406== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27406== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27406== by 0x24AE36: err_get_state (err.c:210)
==27406== by 0x24BA0C: ERR_put_error (err.c:636)
==27406== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27406== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27406== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27406== by 0x270058: by_file_ctrl (by_file.c:111)
==27406== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27406== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27406== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27406== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27406== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27406== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27406== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27406==
==27406== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27406== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27406== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27406== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27406== by 0x24AE36: err_get_state (err.c:210)
==27406== by 0x24BA0C: ERR_put_error (err.c:636)
==27406== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27406== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27406== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27406== by 0x270058: by_file_ctrl (by_file.c:111)
==27406== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27406== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27406== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27406== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27406== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27406== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27406== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27406==
== Contents of files in the log/ dir after test 311
=== Start of file http_server.log
02:59:21.172587 signalled to die
02:59:21.172684 ========> IPv4 sws (port 8990 pid: 27373) exits with signal (15)
02:59:26.194880 Running HTTP IPv4 version on port 8990
02:59:26.195111 Wrote pid 27393 to .http_server.pid
02:59:27.193557 ====> Client connect
02:59:27.193612 accept_connection 3 returned 4
02:59:27.193656 accept_connection 3 returned 0
02:59:27.193748 Read 96 bytes
02:59:27.193789 Process 96 bytes request
02:59:27.193861 Got request: GET /verifiedserver HTTP/1.1
02:59:27.193953 Are-we-friendly question received
02:59:27.194010 Wrote request (96 bytes) input to log/server.input
02:59:27.194055 Identifying ourselves as friends
02:59:27.194192 Response sent (56 bytes) and written to log/server.response
02:59:27.194231 special request received, no persistency
02:59:27.194262 ====> Client disconnect 0
02:59:29.243045 ====> Client connect
02:59:29.243071 accept_connection 3 returned 4
02:59:29.243084 accept_connection 3 returned 0
02:59:29.243260 Read 96 bytes
02:59:29.243286 Process 96 bytes request
02:59:29.243314 Got request: GET /verifiedserver HTTP/1.1
02:59:29.243333 Are-we-friendly question received
02:59:29.243358 Wrote request (96 bytes) input to log/server.input
02:59:29.243396 Identifying ourselves as friends
02:59:29.243494 Response sent (56 bytes) and written to log/server.response
02:59:29.243520 special request received, no persistency
02:59:29.243558 ====> Client disconnect 0
02:59:32.016529 ====> Client connect
02:59:32.016550 accept_connection 3 returned 4
02:59:32.016563 accept_connection 3 returned 0
02:59:32.093655 Connection closed by client
02:59:32.093693 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x561c4fe57828; 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 0x561c4fe57828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x561c4fe57828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x561c4fe57828; 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 0x561c4fe57828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x561c4fe57828; 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 0x561c4fe57828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x561c4fe57828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 27393
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.08 02:59:28 LOG5[27399]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.08 02:59:28 LOG5[27399]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.08 02:59:28 LOG5[27399]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.08 02:59:28 LOG5[27399]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.08 02:59:28 LOG5[27399]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.08 02:59:28 LOG5[27399]: Reading configuration from file /build-25070/tests/https_stunnel.conf
2019.09.08 02:59:28 LOG5[27399]: FIPS mode disabled
2019.09.08 02:59:28 LOG5[27399]: Configuration successful
2019.09.08 02:59:29 LOG5[27402]: Service [curltest] accepted connection from 127.0.0.1:48156
2019.09.08 02:59:29 LOG5[27402]: s_connect: connected 127.0.0.1:8990
2019.09.08 02:59:29 LOG5[27402]: Service [curltest] connected remote server from 127.0.0.1:55240
2019.09.08 02:59:29 LOG5[27402]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.08 02:59:31 LOG5[27407]: Service [curltest] accepted connection from 127.0.0.1:48162
2019.09.08 02:59:32 LOG5[27407]: s_connect: connected 127.0.0.1:8990
2019.09.08 02:59:32 LOG5[27407]: Service [curltest] connected remote server from 127.0.0.1:55246
2019.09.08 02:59:32 LOG5[27407]: 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 0x55a736427828; 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 0x55a736427828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55a736427828; 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 0x55a736427828; 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 0x55a736427828; 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 0x55a736427828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55a736427828; 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 0x55a736427828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55a736427828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 27393
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 27393
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 27393
=== 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:31.185540 == Info: STATE: INIT => CONNECT handle 0x56c8568; line 1491 (connection #-5000)
02:59:31.240940 == Info: Added connection 0. The cache now contains 1 members
02:59:31.295953 == Info: Trying ::1:8991...
02:59:31.296604 == Info: TCP_NODELAY set
02:59:31.301563 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8568; line 1547 (connection #0)
02:59:31.316187 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:31.318436 == Info: Trying 127.0.0.1:8991...
02:59:31.318502 == Info: TCP_NODELAY set
02:59:31.326784 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:31.327307 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8568; line 1665 (connection #0)
02:59:31.328401 == Info: Marked for [keep alive]: HTTP default
02:59:31.379611 == Info: ALPN, offering h2
02:59:31.379890 == Info: ALPN, offering http/1.1
02:59:31.469828 == Info: successfully set certificate verify locations:
02:59:31.470086 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:31.588968 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:31.594340 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:31.594413 => Send SSL data, 166 bytes (0xa6)
0000: .......+.^../......j.....&r[7F]..............+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:31.611583 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:31.617034 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:31.617092 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...... ...V.Q..P"]........V...[7[. kp....[7F]../X..,...o<..q5.V
0040: .1.4..../....................
02:59:31.662212 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:31.662563 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:31.662618 <= 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:31.837515 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:31.837748 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:31.837805 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.Ks.O.],..W0.T.$....>..&0.bQ......|....3=.......X......8
0040: ~.Xv....@....P.P...q...l...~.3..Ya..D.)....Zx..IZN.R..j....&.9..
0080: 4.fDY....cS...A...s^.4.F..5..O..... O:.\p...b.?F.[m.....Ge.3.&..
00c0: ..9.U.HS...Tu..B/[g...G.t1...'....s......z.._.6...8.3r.....,.;q.
0100: ..@..j8.....3.....:.hk....W.D.T@......z....wS7..O.Cb..q.....r...
0140: ..e.[.....;.b
02:59:31.852612 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:31.852805 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:31.852860 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:31.968502 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:31.968712 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:31.968771 => Send SSL data, 70 bytes (0x46)
0000: ...BA.~]\.....&.R#0S......R..wJ;6>.......Y....-.......T..i>U?...
0040: *.{...
02:59:31.980754 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:31.981341 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:31.981401 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:32.002889 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:32.002965 => Send SSL data, 16 bytes (0x10)
0000: ....... ws.V..-.
02:59:32.015635 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:32.018510 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:32.019614 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:32.019672 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:32.022154 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:32.027856 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:32.027912 <= Recv SSL data, 16 bytes (0x10)
0000: ......M..).~....
02:59:32.055873 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:32.056550 == Info: ALPN, server did not agree to a protocol
02:59:32.059127 == Info: Server certificate:
02:59:32.067094 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
02:59:32.071782 == Info: start date: Sep 19 07:14:23 2018 GMT
02:59:32.073214 == Info: expire date: Dec 6 07:14:23 2026 GMT
02:59:32.076335 == Info: subjectAltName does not match localhost
02:59:32.077241 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
02:59:32.078017 == Info: Marked for [closure]: Failed HTTPS connection
02:59:32.078556 == Info: multi_done
02:59:32.087334 == Info: Closing connection 0
02:59:32.092060 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:32.094988 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:32.095046 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:32.119558 == Info: The cache now contains 0 members
02:59:32.127147 == Info: Expire cleared (transfer 0x56c8568)
=== End of file trace311
=== Start of file valgrind311
==27406== Invalid read of size 8
==27406== at 0x53335A5: check_free (dlerror.c:188)
==27406== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27406== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27406== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27406== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27406== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27406== by 0x4C4AEB9: exit (exit.c:139)
==27406== by 0x4C350A1: (below main) (libc-start.c:342)
==27406== Address 0x5766040 is 0 bytes after a block of size 32 alloc'd
==27406== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27406== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27406== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27406== by 0x24AE36: err_get_state (err.c:210)
==27406== by 0x24BA0C: ERR_put_error (err.c:636)
==27406== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27406== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27406== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27406== by 0x270058: by_file_ctrl (by_file.c:111)
==27406== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27406== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27406== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27406== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27406== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27406== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27406== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27406==
==27406== Invalid free() / delete / delete[] / realloc()
==27406== at 0x48369AB: free (vg_replace_malloc.c:540)
==27406== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27406== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27406== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27406== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27406== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27406== by 0x4C4AEB9: exit (exit.c:139)
==27406== by 0x4C350A1: (below main) (libc-start.c:342)
==27406== Address 0x5766028 is 8 bytes inside a block of size 32 alloc'd
==27406== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27406== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27406== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27406== by 0x24AE36: err_get_state (err.c:210)
==27406== by 0x24BA0C: ERR_put_error (err.c:636)
==27406== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27406== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27406== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27406== by 0x270058: by_file_ctrl (by_file.c:111)
==27406== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27406== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27406== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27406== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27406== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27406== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27406== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27406==
==27406== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27406== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27406== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27406== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27406== by 0x24AE36: err_get_state (err.c:210)
==27406== by 0x24BA0C: ERR_put_error (err.c:636)
==27406== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27406== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27406== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27406== by 0x270058: by_file_ctrl (by_file.c:111)
==27406== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27406== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27406== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27406== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27406== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27406== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27406== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27406==
=== End of file valgrind311
test 0312...[HTTPS GET to localhost and null-prefixed CN cert]
goto problem 11
valgrind ERROR ==27423== Invalid read of size 8
==27423== at 0x53335A5: check_free (dlerror.c:188)
==27423== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27423== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27423== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27423== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27423== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27423== by 0x4C4AEB9: exit (exit.c:139)
==27423== by 0x4C350A1: (below main) (libc-start.c:342)
==27423== Address 0x5766040 is 0 bytes after a block of size 32 alloc'd
==27423== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27423== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27423== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27423== by 0x24AE36: err_get_state (err.c:210)
==27423== by 0x24BA0C: ERR_put_error (err.c:636)
==27423== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27423== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27423== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27423== by 0x270058: by_file_ctrl (by_file.c:111)
==27423== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27423== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27423== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27423== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27423== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27423== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27423== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27423==
==27423== Invalid free() / delete / delete[] / realloc()
==27423== at 0x48369AB: free (vg_replace_malloc.c:540)
==27423== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27423== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27423== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27423== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27423== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27423== by 0x4C4AEB9: exit (exit.c:139)
==27423== by 0x4C350A1: (below main) (libc-start.c:342)
==27423== Address 0x5766028 is 8 bytes inside a block of size 32 alloc'd
==27423== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27423== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27423== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27423== by 0x24AE36: err_get_state (err.c:210)
==27423== by 0x24BA0C: ERR_put_error (err.c:636)
==27423== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27423== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27423== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27423== by 0x270058: by_file_ctrl (by_file.c:111)
==27423== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27423== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27423== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27423== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27423== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27423== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27423== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27423==
==27423== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27423== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27423== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27423== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27423== by 0x24AE36: err_get_state (err.c:210)
==27423== by 0x24BA0C: ERR_put_error (err.c:636)
==27423== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27423== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27423== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27423== by 0x270058: by_file_ctrl (by_file.c:111)
==27423== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27423== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27423== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27423== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27423== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27423== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27423== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27423==
== Contents of files in the log/ dir after test 312
=== Start of file http_server.log
02:59:32.207888 signalled to die
02:59:32.207964 ========> IPv4 sws (port 8990 pid: 27393) exits with signal (15)
02:59:37.233382 Running HTTP IPv4 version on port 8990
02:59:37.233607 Wrote pid 27410 to .http_server.pid
02:59:38.228590 ====> Client connect
02:59:38.228637 accept_connection 3 returned 4
02:59:38.228685 accept_connection 3 returned 0
02:59:38.228732 Read 96 bytes
02:59:38.228757 Process 96 bytes request
02:59:38.228795 Got request: GET /verifiedserver HTTP/1.1
02:59:38.228818 Are-we-friendly question received
02:59:38.228887 Wrote request (96 bytes) input to log/server.input
02:59:38.228938 Identifying ourselves as friends
02:59:38.229089 Response sent (56 bytes) and written to log/server.response
02:59:38.229119 special request received, no persistency
02:59:38.229138 ====> Client disconnect 0
02:59:40.273917 ====> Client connect
02:59:40.273945 accept_connection 3 returned 4
02:59:40.273964 accept_connection 3 returned 0
02:59:40.274056 Read 96 bytes
02:59:40.274072 Process 96 bytes request
02:59:40.274088 Got request: GET /verifiedserver HTTP/1.1
02:59:40.274115 Are-we-friendly question received
02:59:40.274138 Wrote request (96 bytes) input to log/server.input
02:59:40.274160 Identifying ourselves as friends
02:59:40.274241 Response sent (56 bytes) and written to log/server.response
02:59:40.274272 special request received, no persistency
02:59:40.274289 ====> Client disconnect 0
02:59:43.073646 ====> Client connect
02:59:43.073670 accept_connection 3 returned 4
02:59:43.073689 accept_connection 3 returned 0
02:59:43.151292 Connection closed by client
02:59:43.151331 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55fea6a07828; 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 0x55fea6a07828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55fea6a07828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55fea6a07828; 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 0x55fea6a07828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55fea6a07828; 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 0x55fea6a07828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55fea6a07828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 27410
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.08 02:59:39 LOG5[27416]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.08 02:59:39 LOG5[27416]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.08 02:59:39 LOG5[27416]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.08 02:59:39 LOG5[27416]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.08 02:59:39 LOG5[27416]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.08 02:59:39 LOG5[27416]: Reading configuration from file /build-25070/tests/https_stunnel.conf
2019.09.08 02:59:39 LOG5[27416]: FIPS mode disabled
2019.09.08 02:59:39 LOG5[27416]: Configuration successful
2019.09.08 02:59:40 LOG5[27419]: Service [curltest] accepted connection from 127.0.0.1:48168
2019.09.08 02:59:40 LOG5[27419]: s_connect: connected 127.0.0.1:8990
2019.09.08 02:59:40 LOG5[27419]: Service [curltest] connected remote server from 127.0.0.1:55252
2019.09.08 02:59:40 LOG5[27419]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.08 02:59:42 LOG5[27424]: Service [curltest] accepted connection from 127.0.0.1:48174
2019.09.08 02:59:43 LOG5[27424]: s_connect: connected 127.0.0.1:8990
2019.09.08 02:59:43 LOG5[27424]: Service [curltest] connected remote server from 127.0.0.1:55258
2019.09.08 02:59:43 LOG5[27424]: 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 0x5608a194d828; 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 0x5608a194d828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5608a194d828; 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 0x5608a194d828; 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 0x5608a194d828; 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 0x5608a194d828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5608a194d828; 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
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x5608a194d828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5608a194d828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 27410
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 27410
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 27410
=== 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:42.215249 == Info: STATE: INIT => CONNECT handle 0x56c8568; line 1491 (connection #-5000)
02:59:42.274729 == Info: Added connection 0. The cache now contains 1 members
02:59:42.334697 == Info: Trying ::1:8991...
02:59:42.335354 == Info: TCP_NODELAY set
02:59:42.340453 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8568; line 1547 (connection #0)
02:59:42.355496 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:42.357900 == Info: Trying 127.0.0.1:8991...
02:59:42.357968 == Info: TCP_NODELAY set
02:59:42.366580 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:42.367124 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8568; line 1665 (connection #0)
02:59:42.368230 == Info: Marked for [keep alive]: HTTP default
02:59:42.420709 == Info: ALPN, offering h2
02:59:42.421001 == Info: ALPN, offering http/1.1
02:59:42.513707 == Info: successfully set certificate verify locations:
02:59:42.513974 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:42.635100 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:42.640570 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:42.640633 => Send SSL data, 166 bytes (0xa6)
0000: .......0....\.<.t7.4......72..c.T.]-E4....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:42.658578 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:42.664203 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:42.664263 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y....k....M.G%V.?3.%..<.....R....ME .......A[7F]...5....<3D.....
0040: V......./....................
02:59:42.710844 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:42.711302 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:42.711359 <= 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:42.891200 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:42.891444 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:42.891502 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...."?T......Z[@_P.C..2.:1}Lp....[.W.L.o0..../K..$y.y..[
0040: ....i..-.....bk...)*.g.=...0.z?.p...{.s..}.-.,.a.i\.V..&F.3.....
0080: c...."...L.R..5.....N..i........+Z....|.......9U....n.....72.+..
00c0: M.........-mT..'..%5.....?.'Y}e....O..Ua~.,~F..'b.C?rLM8..c.]D~.
0100: A+[l.....w... .,.E"G......Q.....=.>......^...6...x...s....yr....
0140: ....B..%Y. .z
02:59:42.906784 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:42.906995 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:42.907050 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:43.025592 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:43.025802 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:43.025861 => Send SSL data, 70 bytes (0x46)
0000: ...BA....[7F],..k}\..]S..P....8.......,............~..[7F].* .3... F..
0040: .,m...
02:59:43.038211 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:43.038813 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:43.038873 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:43.060248 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:43.060310 => Send SSL data, 16 bytes (0x10)
0000: .....e[t..\.8...
02:59:43.072771 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:43.075330 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:43.076434 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:43.076491 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:43.078939 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:43.084620 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:43.084676 <= Recv SSL data, 16 bytes (0x10)
0000: .....29..A....].
02:59:43.112515 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:43.113184 == Info: ALPN, server did not agree to a protocol
02:59:43.115734 == Info: Server certificate:
02:59:43.123660 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost.nn
02:59:43.128337 == Info: start date: Sep 19 07:14:12 2018 GMT
02:59:43.129766 == Info: expire date: Dec 6 07:14:12 2026 GMT
02:59:43.134399 == Info: subjectAltName does not match localhost
02:59:43.135142 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
02:59:43.135910 == Info: Marked for [closure]: Failed HTTPS connection
02:59:43.136448 == Info: multi_done
02:59:43.145186 == Info: Closing connection 0
02:59:43.149726 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:43.152610 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:43.152666 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:43.176993 == Info: The cache now contains 0 members
02:59:43.184468 == Info: Expire cleared (transfer 0x56c8568)
=== End of file trace312
=== Start of file valgrind312
==27423== Invalid read of size 8
==27423== at 0x53335A5: check_free (dlerror.c:188)
==27423== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27423== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27423== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27423== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27423== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27423== by 0x4C4AEB9: exit (exit.c:139)
==27423== by 0x4C350A1: (below main) (libc-start.c:342)
==27423== Address 0x5766040 is 0 bytes after a block of size 32 alloc'd
==27423== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27423== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27423== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27423== by 0x24AE36: err_get_state (err.c:210)
==27423== by 0x24BA0C: ERR_put_error (err.c:636)
==27423== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27423== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27423== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27423== by 0x270058: by_file_ctrl (by_file.c:111)
==27423== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27423== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27423== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27423== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27423== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27423== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27423== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27423==
==27423== Invalid free() / delete / delete[] / realloc()
==27423== at 0x48369AB: free (vg_replace_malloc.c:540)
==27423== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27423== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27423== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27423== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27423== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27423== by 0x4C4AEB9: exit (exit.c:139)
==27423== by 0x4C350A1: (below main) (libc-start.c:342)
==27423== Address 0x5766028 is 8 bytes inside a block of size 32 alloc'd
==27423== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27423== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27423== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27423== by 0x24AE36: err_get_state (err.c:210)
==27423== by 0x24BA0C: ERR_put_error (err.c:636)
==27423== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27423== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27423== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27423== by 0x270058: by_file_ctrl (by_file.c:111)
==27423== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27423== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27423== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27423== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27423== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27423== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27423== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27423==
==27423== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27423== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27423== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27423== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27423== by 0x24AE36: err_get_state (err.c:210)
==27423== by 0x24BA0C: ERR_put_error (err.c:636)
==27423== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27423== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27423== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27423== by 0x270058: by_file_ctrl (by_file.c:111)
==27423== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27423== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27423== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27423== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27423== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27423== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27423== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27423==
=== End of file valgrind312
test 0313...[CRL test]
goto problem 12
valgrind ERROR ==27444== Invalid read of size 8
==27444== at 0x53335A5: check_free (dlerror.c:188)
==27444== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27444== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27444== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27444== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27444== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27444== by 0x4C4AEB9: exit (exit.c:139)
==27444== by 0x4C350A1: (below main) (libc-start.c:342)
==27444== Address 0x5767fe0 is 0 bytes after a block of size 32 alloc'd
==27444== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27444== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27444== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27444== by 0x24AE36: err_get_state (err.c:210)
==27444== by 0x24BA0C: ERR_put_error (err.c:636)
==27444== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27444== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27444== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27444== by 0x270058: by_file_ctrl (by_file.c:111)
==27444== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27444== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27444== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27444== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27444== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27444== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27444== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27444==
==27444== Invalid free() / delete / delete[] / realloc()
==27444== at 0x48369AB: free (vg_replace_malloc.c:540)
==27444== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27444== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27444== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27444== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27444== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27444== by 0x4C4AEB9: exit (exit.c:139)
==27444== by 0x4C350A1: (below main) (libc-start.c:342)
==27444== Address 0x5767fc8 is 8 bytes inside a block of size 32 alloc'd
==27444== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27444== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27444== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27444== by 0x24AE36: err_get_state (err.c:210)
==27444== by 0x24BA0C: ERR_put_error (err.c:636)
==27444== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27444== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27444== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27444== by 0x270058: by_file_ctrl (by_file.c:111)
==27444== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27444== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27444== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27444== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27444== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27444== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27444== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27444==
==27444== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==27444== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27444== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27444== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27444== by 0x24AE36: err_get_state (err.c:210)
==27444== by 0x24BA0C: ERR_put_error (err.c:636)
==27444== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27444== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27444== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27444== by 0x270058: by_file_ctrl (by_file.c:111)
==27444== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27444== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27444== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27444== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27444== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27444== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27444== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27444==
== Contents of files in the log/ dir after test 313
=== Start of file http_server.log
02:59:43.264412 signalled to die
02:59:43.264500 ========> IPv4 sws (port 8990 pid: 27410) exits with signal (15)
02:59:48.288940 Running HTTP IPv4 version on port 8990
02:59:48.289168 Wrote pid 27431 to .http_server.pid
02:59:49.284657 ====> Client connect
02:59:49.284705 accept_connection 3 returned 4
02:59:49.284736 accept_connection 3 returned 0
02:59:49.284769 Read 96 bytes
02:59:49.284793 Process 96 bytes request
02:59:49.284831 Got request: GET /verifiedserver HTTP/1.1
02:59:49.284858 Are-we-friendly question received
02:59:49.284897 Wrote request (96 bytes) input to log/server.input
02:59:49.284944 Identifying ourselves as friends
02:59:49.285070 Response sent (56 bytes) and written to log/server.response
02:59:49.285098 special request received, no persistency
02:59:49.285117 ====> Client disconnect 0
02:59:51.329390 ====> Client connect
02:59:51.329422 accept_connection 3 returned 4
02:59:51.329439 accept_connection 3 returned 0
02:59:51.329624 Read 96 bytes
02:59:51.329646 Process 96 bytes request
02:59:51.329663 Got request: GET /verifiedserver HTTP/1.1
02:59:51.329674 Are-we-friendly question received
02:59:51.329697 Wrote request (96 bytes) input to log/server.input
02:59:51.329708 Identifying ourselves as friends
02:59:51.329777 Response sent (56 bytes) and written to log/server.response
02:59:51.329793 special request received, no persistency
02:59:51.329804 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x563a38a0b828; 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 0x563a38a0b828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x563a38a0b828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x563a38a0b828; 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 0x563a38a0b828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x563a38a0b828; 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 0x563a38a0b828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x563a38a0b828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 27431
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.08 02:59:50 LOG5[27437]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.08 02:59:50 LOG5[27437]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.08 02:59:50 LOG5[27437]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.08 02:59:50 LOG5[27437]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.08 02:59:50 LOG5[27437]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.08 02:59:50 LOG5[27437]: Reading configuration from file /build-25070/tests/https_stunnel.conf
2019.09.08 02:59:50 LOG5[27437]: FIPS mode disabled
2019.09.08 02:59:50 LOG5[27437]: Configuration successful
2019.09.08 02:59:51 LOG5[27440]: Service [curltest] accepted connection from 127.0.0.1:48182
2019.09.08 02:59:51 LOG5[27440]: s_connect: connected 127.0.0.1:8990
2019.09.08 02:59:51 LOG5[27440]: Service [curltest] connected remote server from 127.0.0.1:55266
2019.09.08 02:59:51 LOG5[27440]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.08 02:59:53 LOG5[27445]: Service [curltest] accepted connection from 127.0.0.1:48188
2019.09.08 02:59:54 LOG3[27445]: SSL_accept: 14094415: error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired
2019.09.08 02:59:54 LOG5[27445]: 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 0x56517f600828; 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 0x56517f600828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56517f600828; 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 0x56517f600828; 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 0x56517f600828; 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 0x56517f600828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x56517f600828; 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
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x56517f600828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x56517f600828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 27431
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 27431
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 27431
=== 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:53.264731 == Info: STATE: INIT => CONNECT handle 0x56c8a48; line 1491 (connection #-5000)
02:59:53.319878 == Info: Added connection 0. The cache now contains 1 members
02:59:53.374981 == Info: Trying ::1:8991...
02:59:53.375628 == Info: TCP_NODELAY set
02:59:53.380533 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8a48; line 1547 (connection #0)
02:59:53.395605 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:53.398044 == Info: Trying 127.0.0.1:8991...
02:59:53.398108 == Info: TCP_NODELAY set
02:59:53.407252 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:53.407799 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8a48; line 1665 (connection #0)
02:59:53.408942 == Info: Marked for [keep alive]: HTTP default
02:59:53.461498 == Info: ALPN, offering h2
02:59:53.461799 == Info: ALPN, offering http/1.1
02:59:53.555619 == Info: successfully set certificate verify locations:
02:59:53.555871 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:53.605688 == Info: successfully load CRL file:
02:59:53.606209 == Info: CRLfile: /tests/certs/Server-localhost-sv.crl
02:59:53.727548 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:53.732838 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:53.732910 => Send SSL data, 166 bytes (0xa6)
0000: .......5....&..9es.> &........Y...W.......+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:53.750687 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:53.756384 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:53.756452 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...$.h......w..g.iD....s8.<`...... .s...`q..Y.a......l..~3L\
0040: .y.Tz.'./....................
02:59:53.802757 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:53.803132 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:53.803203 <= 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:53.899656 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:53.902880 == Info: TLSv1.2 (OUT), TLS alert, certificate expired (557):
02:59:53.902953 => Send SSL data, 2 bytes (0x2)
0000: .-
02:59:53.910377 == Info: SSL certificate problem: CRL has expired
02:59:53.910892 == Info: Marked for [closure]: Failed HTTPS connection
02:59:53.911456 == Info: multi_done
02:59:53.920674 == Info: Closing connection 0
02:59:53.958058 == Info: The cache now contains 0 members
02:59:53.966033 == Info: Expire cleared (transfer 0x56c8a48)
=== End of file trace313
=== Start of file valgrind313
==27444== Invalid read of size 8
==27444== at 0x53335A5: check_free (dlerror.c:188)
==27444== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27444== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27444== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27444== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27444== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27444== by 0x4C4AEB9: exit (exit.c:139)
==27444== by 0x4C350A1: (below main) (libc-start.c:342)
==27444== Address 0x5767fe0 is 0 bytes after a block of size 32 alloc'd
==27444== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27444== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27444== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27444== by 0x24AE36: err_get_state (err.c:210)
==27444== by 0x24BA0C: ERR_put_error (err.c:636)
==27444== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27444== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27444== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27444== by 0x270058: by_file_ctrl (by_file.c:111)
==27444== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27444== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27444== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27444== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27444== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27444== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27444== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27444==
==27444== Invalid free() / delete / delete[] / realloc()
==27444== at 0x48369AB: free (vg_replace_malloc.c:540)
==27444== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27444== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27444== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27444== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27444== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27444== by 0x4C4AEB9: exit (exit.c:139)
==27444== by 0x4C350A1: (below main) (libc-start.c:342)
==27444== Address 0x5767fc8 is 8 bytes inside a block of size 32 alloc'd
==27444== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27444== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27444== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27444== by 0x24AE36: err_get_state (err.c:210)
==27444== by 0x24BA0C: ERR_put_error (err.c:636)
==27444== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27444== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27444== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27444== by 0x270058: by_file_ctrl (by_file.c:111)
==27444== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27444== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27444== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27444== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27444== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27444== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27444== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27444==
==27444== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==27444== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27444== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27444== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27444== by 0x24AE36: err_get_state (err.c:210)
==27444== by 0x24BA0C: ERR_put_error (err.c:636)
==27444== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27444== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27444== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27444== by 0x270058: by_file_ctrl (by_file.c:111)
==27444== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27444== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27444== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27444== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27444== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27444== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27444== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27444==
=== End of file valgrind313
test 0314...[HTTP GET brotli compressed content]
--pd---emv- OK (314 out of 1251, remaining: 26:10, took 1.2s, duration: 08:46)
test 0315...[HTTP GET brotli compressed content with broken header]
--pd---emv- OK (315 out of 1251, remaining: 26:07, took 1.2s, duration: 08:47)
test 0316...[HTTP GET brotli compressed content of size more than CURL_MAX_WRITE_SIZE]
--pd---emv- OK (316 out of 1251, remaining: 26:04, took 1.2s, duration: 08:48)
test 0317...[HTTP with custom Authorization: and redirect to new host]
--pd---emv- OK (317 out of 1251, remaining: 26:01, took 1.2s, duration: 08:49)
test 0318...[HTTP with custom Authorization: and redirect to new host]
--pd---emv- OK (318 out of 1251, remaining: 25:58, took 1.2s, duration: 08:51)
test 0319...[HTTP GET gzip transfer-encoded data in raw mode]
--pd---emv- OK (319 out of 1251, remaining: 25:55, took 1.2s, duration: 08:52)
test 0320 SKIPPED: curl lacks TLS-SRP support
test 0321 SKIPPED: curl lacks TLS-SRP support
test 0322 SKIPPED: curl lacks TLS-SRP support
test 0325...[HTTPS with attempted redirect to denied HTTP]
goto problem 13
valgrind ERROR ==27488== Invalid read of size 8
==27488== at 0x53335A5: check_free (dlerror.c:188)
==27488== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27488== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27488== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27488== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27488== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27488== by 0x4C4AEB9: exit (exit.c:139)
==27488== by 0x4C350A1: (below main) (libc-start.c:342)
==27488== Address 0x5af8a10 is 0 bytes after a block of size 32 alloc'd
==27488== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27488== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27488== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27488== by 0x24AE36: err_get_state (err.c:210)
==27488== by 0x24BA0C: ERR_put_error (err.c:636)
==27488== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27488== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27488== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27488== by 0x270058: by_file_ctrl (by_file.c:111)
==27488== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27488== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27488== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27488== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27488== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27488== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27488== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27488==
==27488== Invalid free() / delete / delete[] / realloc()
==27488== at 0x48369AB: free (vg_replace_malloc.c:540)
==27488== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27488== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27488== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27488== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27488== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27488== by 0x4C4AEB9: exit (exit.c:139)
==27488== by 0x4C350A1: (below main) (libc-start.c:342)
==27488== Address 0x5af89f8 is 8 bytes inside a block of size 32 alloc'd
==27488== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27488== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27488== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27488== by 0x24AE36: err_get_state (err.c:210)
==27488== by 0x24BA0C: ERR_put_error (err.c:636)
==27488== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27488== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27488== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27488== by 0x270058: by_file_ctrl (by_file.c:111)
==27488== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27488== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27488== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27488== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27488== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27488== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27488== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27488==
==27488== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27488== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27488== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27488== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27488== by 0x24AE36: err_get_state (err.c:210)
==27488== by 0x24BA0C: ERR_put_error (err.c:636)
==27488== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27488== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27488== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27488== by 0x270058: by_file_ctrl (by_file.c:111)
==27488== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27488== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27488== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27488== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27488== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27488== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27488== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27488==
== Contents of files in the log/ dir after test 325
=== Start of file curl325.out
HTTP/1.1 301 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
Location: http://somewhere/325
=== End of file curl325.out
=== Start of file http_server.log
03:00:01.348014 signalled to die
03:00:01.348106 ========> IPv4 sws (port 8990 pid: 27431) exits with signal (15)
03:00:06.370745 Running HTTP IPv4 version on port 8990
03:00:06.370970 Wrote pid 27475 to .http_server.pid
03:00:07.368287 ====> Client connect
03:00:07.368334 accept_connection 3 returned 4
03:00:07.368364 accept_connection 3 returned 0
03:00:07.368396 Read 96 bytes
03:00:07.368443 Process 96 bytes request
03:00:07.368483 Got request: GET /verifiedserver HTTP/1.1
03:00:07.368505 Are-we-friendly question received
03:00:07.368542 Wrote request (96 bytes) input to log/server.input
03:00:07.368587 Identifying ourselves as friends
03:00:07.368711 Response sent (56 bytes) and written to log/server.response
03:00:07.368739 special request received, no persistency
03:00:07.368757 ====> Client disconnect 0
03:00:09.413197 ====> Client connect
03:00:09.413226 accept_connection 3 returned 4
03:00:09.413243 accept_connection 3 returned 0
03:00:09.413364 Read 96 bytes
03:00:09.413381 Process 96 bytes request
03:00:09.413407 Got request: GET /verifiedserver HTTP/1.1
03:00:09.413425 Are-we-friendly question received
03:00:09.413448 Wrote request (96 bytes) input to log/server.input
03:00:09.413471 Identifying ourselves as friends
03:00:09.413553 Response sent (56 bytes) and written to log/server.response
03:00:09.413574 special request received, no persistency
03:00:09.413591 ====> Client disconnect 0
03:00:13.460125 ====> Client connect
03:00:13.460148 accept_connection 3 returned 4
03:00:13.460162 accept_connection 3 returned 0
03:00:13.543618 Read 85 bytes
03:00:13.543654 Process 85 bytes request
03:00:13.543667 Got request: GET /325 HTTP/1.1
03:00:13.543676 Requested test number 325 part 0
03:00:13.543706 - request found to be complete
03:00:13.543736 Wrote request (85 bytes) input to log/server.input
03:00:13.543759 Send response test325 section <data>
03:00:13.543828 Response sent (134 bytes) and written to log/server.response
03:00:13.543838 => persistent connection request ended, awaits new request
03:00:13.640736 Connection closed by client
03:00:13.640766 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x563885984828; 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 0x563885984828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x563885984828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x563885984828; 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 0x563885984828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x563885984828; 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 0x563885984828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x563885984828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 27475
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.08 03:00:08 LOG5[27482]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.08 03:00:08 LOG5[27482]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.08 03:00:08 LOG5[27482]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.08 03:00:08 LOG5[27482]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.08 03:00:08 LOG5[27482]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.08 03:00:08 LOG5[27482]: Reading configuration from file /build-25070/tests/https_stunnel.conf
2019.09.08 03:00:08 LOG5[27482]: FIPS mode disabled
2019.09.08 03:00:08 LOG5[27482]: Configuration successful
2019.09.08 03:00:09 LOG5[27485]: Service [curltest] accepted connection from 127.0.0.1:48212
2019.09.08 03:00:09 LOG5[27485]: s_connect: connected 127.0.0.1:8990
2019.09.08 03:00:09 LOG5[27485]: Service [curltest] connected remote server from 127.0.0.1:55296
2019.09.08 03:00:09 LOG5[27485]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.08 03:00:11 LOG5[27489]: Service [curltest] accepted connection from 127.0.0.1:48218
2019.09.08 03:00:13 LOG5[27489]: s_connect: connected 127.0.0.1:8990
2019.09.08 03:00:13 LOG5[27489]: Service [curltest] connected remote server from 127.0.0.1:55302
2019.09.08 03:00:13 LOG5[27489]: 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 0x5642a0894828; 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 0x5642a0894828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5642a0894828; 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 0x5642a0894828; 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 0x5642a0894828; 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 0x5642a0894828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5642a0894828; 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 0x5642a0894828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5642a0894828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 27475
=== 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: 27475
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 27475
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:11.348152 == Info: STATE: INIT => CONNECT handle 0x56c8978; line 1491 (connection #-5000)
03:00:11.402729 == Info: Added connection 0. The cache now contains 1 members
03:00:11.420133 == Info: Trying 127.0.0.1:8991...
03:00:11.420745 == Info: TCP_NODELAY set
03:00:11.425890 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8978; line 1547 (connection #0)
03:00:11.437494 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:00:11.438056 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8978; line 1665 (connection #0)
03:00:11.439187 == Info: Marked for [keep alive]: HTTP default
03:00:11.489934 == Info: ALPN, offering h2
03:00:11.490254 == Info: ALPN, offering http/1.1
03:00:12.929039 == Info: successfully set certificate verify locations:
03:00:12.929311 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:13.044748 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:13.049868 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:13.049928 => Send SSL data, 148 bytes (0x94)
0000: ......O....._6.F.H>\Li..Gn.......{U..j....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:00:13.067070 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:13.072496 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:13.072554 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..z..;.=2...(....c.....3.....KH.pv .....V.ug..y.....J.[7F].Hh.w
0040: ..L..M../................
03:00:13.116336 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:13.116732 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:13.116789 <= 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:13.218657 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:13.218905 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:13.218963 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.W...a..vA.l.qdjR.&$`....I.Oq<7.b.>h......F..f..)....,.K
0040: ..F]....Q....T.z..P....e.......4.9)..........K....[7F]..fT-..z..pm.
0080: +.5#.P.!...5.3N..W............w.....{=..r.c6.,E..z.&...5S..$.j..
00c0: R...1)..~IY.....9.~.wi.7...........=.......#...V....Fi.+....$.j.
0100: .f.....g=.MN#.R.~Zc"..v.R...ZF....(y.q...|.......{.6.j.4...^..f.
0140: _F-.Oj..K...0
03:00:13.289622 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:13.289855 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:13.289912 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:13.410598 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:13.410815 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:13.410877 => Send SSL data, 70 bytes (0x46)
0000: ...BA.&".b."..........N{.e.'..|.f.;..]-.A.)....x..I....Y......,.
0040: ..>IK.
03:00:13.423264 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:13.423867 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:13.423928 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:13.446149 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:13.446210 => Send SSL data, 16 bytes (0x10)
0000: ......=d....Td..
03:00:13.459214 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:13.461857 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:13.463004 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:13.463070 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:13.465638 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:13.471534 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:13.471595 <= Recv SSL data, 16 bytes (0x10)
0000: ........Wq..P7;K
03:00:13.500572 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:13.501235 == Info: ALPN, server did not agree to a protocol
03:00:13.503874 == Info: Server certificate:
03:00:13.511423 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:13.517586 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:13.518537 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:13.519479 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:13.520347 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:13.521857 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8978; line 1685 (connection #0)
03:00:13.541951 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:00:13.544901 => 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:13.547941 == Info: STATE: DO => DO_DONE handle 0x56c8978; line 1756 (connection #0)
03:00:13.548436 == Info: STATE: DO_DONE => PERFORM handle 0x56c8978; line 1877 (connection #0)
03:00:13.553034 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:13.566629 == Info: Mark bundle as not supporting multiuse
03:00:13.567248 == Info: HTTP 1.1 or later with persistent connection
03:00:13.570241 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 301 OK.
03:00:13.574277 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:00:13.574516 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:00:13.575721 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:00:13.577689 <= Recv header, 31 bytes (0x1f)
0000: Location: http://somewhere/325.
03:00:13.580482 <= Recv header, 1 bytes (0x1)
0000: .
03:00:13.581241 == Info: Ignoring the response-body
03:00:13.581604 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:00:13.585859 == Info: multi_done
03:00:13.595443 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:13.599495 == Info: Issue another request to this URL: 'http://somewhere/325'
03:00:13.600323 == Info: STATE: PERFORM => CONNECT handle 0x56c8978; line 2044 (connection #-5000)
03:00:13.603126 == Info: Protocol "http" not supported or disabled in libcurl
03:00:13.606052 == Info: Closing connection -1
03:00:13.614849 == Info: Expire cleared (transfer 0x56c8978)
=== End of file trace325
=== Start of file valgrind325
==27488== Invalid read of size 8
==27488== at 0x53335A5: check_free (dlerror.c:188)
==27488== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27488== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27488== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27488== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27488== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27488== by 0x4C4AEB9: exit (exit.c:139)
==27488== by 0x4C350A1: (below main) (libc-start.c:342)
==27488== Address 0x5af8a10 is 0 bytes after a block of size 32 alloc'd
==27488== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27488== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27488== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27488== by 0x24AE36: err_get_state (err.c:210)
==27488== by 0x24BA0C: ERR_put_error (err.c:636)
==27488== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27488== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27488== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27488== by 0x270058: by_file_ctrl (by_file.c:111)
==27488== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27488== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27488== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27488== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27488== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27488== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27488== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27488==
==27488== Invalid free() / delete / delete[] / realloc()
==27488== at 0x48369AB: free (vg_replace_malloc.c:540)
==27488== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27488== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27488== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27488== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27488== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27488== by 0x4C4AEB9: exit (exit.c:139)
==27488== by 0x4C350A1: (below main) (libc-start.c:342)
==27488== Address 0x5af89f8 is 8 bytes inside a block of size 32 alloc'd
==27488== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27488== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27488== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27488== by 0x24AE36: err_get_state (err.c:210)
==27488== by 0x24BA0C: ERR_put_error (err.c:636)
==27488== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27488== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27488== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27488== by 0x270058: by_file_ctrl (by_file.c:111)
==27488== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27488== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27488== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27488== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27488== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27488== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27488== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27488==
==27488== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27488== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27488== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27488== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27488== by 0x24AE36: err_get_state (err.c:210)
==27488== by 0x24BA0C: ERR_put_error (err.c:636)
==27488== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27488== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27488== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27488== by 0x270058: by_file_ctrl (by_file.c:111)
==27488== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27488== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27488== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27488== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27488== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27488== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27488== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==27488==
=== End of file valgrind325
test 0326...[HTTP GET chunked data in raw mode]
--pd---emv- OK (326 out of 1251, remaining: 25:49, took 1.2s, duration: 09:05)
test 0327...[HTTP with cookiejar without cookies left]
--pd--oemv- OK (327 out of 1251, remaining: 25:46, took 1.3s, duration: 09:07)
test 0328...[HTTP with "Content-Encoding: none]
--pd---emv- OK (328 out of 1251, remaining: 25:43, took 1.2s, duration: 09:08)
test 0329...[HTTP cookie with Max-Age=0]
--pd---emv- OK (329 out of 1251, remaining: 25:40, took 1.2s, duration: 09:09)
test 0330...[HTTP with custom Cookie: and redirect to new host]
--pd---emv- OK (330 out of 1251, remaining: 25:37, took 1.3s, duration: 09:10)
test 0331...[HTTP with cookie using host name 'moo']
--pd---emv- OK (331 out of 1251, remaining: 25:34, took 1.2s, duration: 09:12)
test 0332...[TFTP retrieve with blksize 400]
--pd---emv- OK (332 out of 1251, remaining: 25:31, took 1.1s, duration: 09:13)
test 0333...[Try a non-boolean command line option with --no-]
-------emv- OK (333 out of 1251, remaining: 25:27, took 0.9s, duration: 09:14)
test 0334...[HTTP 204 No content with chunked header]
--pd---emv- OK (334 out of 1251, remaining: 25:24, took 1.2s, duration: 09:15)
test 0335...[HTTP with proxy Digest and site Digest with creds in URLs]
--pd---emv- OK (335 out of 1251, remaining: 25:21, took 1.3s, duration: 09:16)
test 0340...[FTP using %00 in path with singlecwd]
--p----emv- OK (336 out of 1251, remaining: 25:18, took 1.2s, duration: 09:17)
test 0350...[FTP root dir list multicwd]
--pd---emv- OK (337 out of 1251, remaining: 25:16, took 1.2s, duration: 09:18)
test 0351...[FTP root dir list nocwd]
--pd---emv- OK (338 out of 1251, remaining: 25:13, took 1.2s, duration: 09:20)
test 0352...[FTP root dir list singlecwd]
--pd---emv- OK (339 out of 1251, remaining: 25:10, took 1.2s, duration: 09:21)
test 0353...[FTP home dir list singlecwd]
--pd---emv- OK (340 out of 1251, remaining: 25:07, took 1.2s, duration: 09:22)
test 0354...[FTP without password]
--pd---emv- OK (341 out of 1251, remaining: 25:04, took 1.2s, duration: 09:23)
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:49, took 1.2s, duration: 09:24)
test 0394...[HTTP with rubbish in Content-Length]
--p----emv- OK (345 out of 1251, remaining: 24:46, took 1.2s, duration: 09:26)
test 0395...[HTTP and out-of-range Content-Length]
--p----emv- OK (346 out of 1251, remaining: 24:43, took 1.2s, duration: 09:27)
test 0400...[FTPS dir list PASV unencrypted data]
goto problem 14
valgrind ERROR ==27571== Invalid read of size 8
==27571== at 0x53335A5: check_free (dlerror.c:188)
==27571== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27571== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27571== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27571== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27571== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27571== by 0x4C4AEB9: exit (exit.c:139)
==27571== by 0x4C350A1: (below main) (libc-start.c:342)
==27571== Address 0x5af7dd0 is 0 bytes after a block of size 32 alloc'd
==27571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27571== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27571== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27571== by 0x24AE36: err_get_state (err.c:210)
==27571== by 0x24BA0C: ERR_put_error (err.c:636)
==27571== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27571== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27571== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27571== by 0x270058: by_file_ctrl (by_file.c:111)
==27571== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27571== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27571== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27571== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27571== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27571== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27571== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27571==
==27571== Invalid free() / delete / delete[] / realloc()
==27571== at 0x48369AB: free (vg_replace_malloc.c:540)
==27571== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27571== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27571== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27571== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27571== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27571== by 0x4C4AEB9: exit (exit.c:139)
==27571== by 0x4C350A1: (below main) (libc-start.c:342)
==27571== Address 0x5af7db8 is 8 bytes inside a block of size 32 alloc'd
==27571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27571== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27571== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27571== by 0x24AE36: err_get_state (err.c:210)
==27571== by 0x24BA0C: ERR_put_error (err.c:636)
==27571== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27571== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27571== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27571== by 0x270058: by_file_ctrl (by_file.c:111)
==27571== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27571== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27571== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27571== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27571== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27571== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27571== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27571==
==27571== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27571== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27571== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27571== by 0x24AE36: err_get_state (err.c:210)
==27571== by 0x24BA0C: ERR_put_error (err.c:636)
==27571== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27571== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27571== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27571== by 0x270058: by_file_ctrl (by_file.c:111)
==27571== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27571== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27571== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27571== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27571== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27571== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27571== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27571==
== 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:37.537030 ====> Client connect
03:00:37.537169 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:37.537532 < "USER anonymous"
03:00:37.537573 > "331 We are happy you popped in![CR][LF]"
03:00:37.537810 < "PASS ftp@example.com"
03:00:37.537873 > "230 Welcome you silly person[CR][LF]"
03:00:37.538154 < "PBSZ 0"
03:00:37.538197 > "500 PBSZ not implemented[CR][LF]"
03:00:37.538474 < "PROT C"
03:00:37.538517 > "500 PROT not implemented[CR][LF]"
03:00:37.538790 < "PWD"
03:00:37.538838 > "257 "/" is current directory[CR][LF]"
03:00:37.539178 < "EPSV"
03:00:37.539212 ====> Passive DATA channel requested by client
03:00:37.539231 DATA sockfilt for passive data channel starting...
03:00:37.541433 DATA sockfilt for passive data channel started (pid 27568)
03:00:37.541622 DATA sockfilt for passive data channel listens on port 44617
03:00:37.541679 > "229 Entering Passive Mode (|||44617|)[LF]"
03:00:37.541702 Client has been notified that DATA conn will be accepted on port 44617
03:00:37.541995 Client connects to port 44617
03:00:37.542045 ====> Client established passive DATA connection on port 44617
03:00:37.542152 < "TYPE I"
03:00:37.542197 > "200 I modify TYPE as you wanted[CR][LF]"
03:00:37.542593 < "SIZE verifiedserver"
03:00:37.542654 > "213 17[CR][LF]"
03:00:37.543135 < "RETR verifiedserver"
03:00:37.543195 > "150 Binary junk (17 bytes).[CR][LF]"
03:00:37.543283 =====> Closing passive DATA connection...
03:00:37.543304 Server disconnects passive DATA connection
03:00:37.543443 DATA sockfilt for passive data channel quits (pid 27569)
03:00:37.543472 =====> Closed passive DATA connection
03:00:37.543498 > "226 File transfer complete[CR][LF]"
03:00:37.544291 < "QUIT"
03:00:37.544322 > "221 bye bye baby[CR][LF]"
03:00:37.544677 MAIN sockfilt said DISC
03:00:37.544738 ====> Client disconnected
03:00:37.544794 Awaiting input
03:00:41.578714 ====> Client connect
03:00:41.578841 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:41.666367 < "USER anonymous"
03:00:41.666428 > "331 We are happy you popped in![CR][LF]"
03:00:41.677492 < "PASS ftp@example.com"
03:00:41.677541 > "230 Welcome you silly person[CR][LF]"
03:00:41.679910 < "PBSZ 0"
03:00:41.679953 > "500 PBSZ not implemented[CR][LF]"
03:00:41.681372 < "PROT C"
03:00:41.681416 > "500 PROT not implemented[CR][LF]"
03:00:41.682944 < "PWD"
03:00:41.682991 > "257 "/" is current directory[CR][LF]"
03:00:41.689687 < "EPSV"
03:00:41.689722 ====> Passive DATA channel requested by client
03:00:41.689744 DATA sockfilt for passive data channel starting...
03:00:41.691474 DATA sockfilt for passive data channel started (pid 27573)
03:00:41.691582 DATA sockfilt for passive data channel listens on port 44479
03:00:41.691632 > "229 Entering Passive Mode (|||44479|)[LF]"
03:00:41.691657 Client has been notified that DATA conn will be accepted on port 44479
03:00:41.698884 Client connects to port 44479
03:00:41.698921 ====> Client established passive DATA connection on port 44479
03:00:41.704144 < "TYPE A"
03:00:41.704179 > "200 I modify TYPE as you wanted[CR][LF]"
03:00:41.706351 < "LIST"
03:00:41.706381 > "150 here comes a directory[CR][LF]"
03:00:41.706405 pass LIST data on data connection
03:00:41.706492 =====> Closing passive DATA connection...
03:00:41.706507 Server disconnects passive DATA connection
03:00:41.706984 DATA sockfilt for passive data channel quits (pid 27574)
03:00:41.707012 =====> Closed passive DATA connection
03:00:41.707039 > "226 ASCII transfer complete[CR][LF]"
03:00:41.765669 < "QUIT"
03:00:41.765707 > "221 bye bye baby[CR][LF]"
03:00:41.770142 MAIN sockfilt said DISC
03:00:41.770182 ====> Client disconnected
03:00:41.770242 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:00:37.397654 ====> Client connect
03:00:37.397871 Received DATA (on stdin)
03:00:37.397894 > 160 bytes data, server => client
03:00:37.397921 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:37.397939 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:37.397953 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:37.398147 < 16 bytes data, client => server
03:00:37.398161 'USER anonymous\r\n'
03:00:37.398283 Received DATA (on stdin)
03:00:37.398300 > 33 bytes data, server => client
03:00:37.398315 '331 We are happy you popped in!\r\n'
03:00:37.398474 < 22 bytes data, client => server
03:00:37.398497 'PASS ftp@example.com\r\n'
03:00:37.398583 Received DATA (on stdin)
03:00:37.398610 > 30 bytes data, server => client
03:00:37.398626 '230 Welcome you silly person\r\n'
03:00:37.398821 < 8 bytes data, client => server
03:00:37.398834 'PBSZ 0\r\n'
03:00:37.398907 Received DATA (on stdin)
03:00:37.398925 > 26 bytes data, server => client
03:00:37.398950 '500 PBSZ not implemented\r\n'
03:00:37.399143 < 8 bytes data, client => server
03:00:37.399156 'PROT C\r\n'
03:00:37.399227 Received DATA (on stdin)
03:00:37.399245 > 26 bytes data, server => client
03:00:37.399269 '500 PROT not implemented\r\n'
03:00:37.399458 < 5 bytes data, client => server
03:00:37.399471 'PWD\r\n'
03:00:37.399548 Received DATA (on stdin)
03:00:37.399566 > 30 bytes data, server => client
03:00:37.399591 '257 "/" is current directory\r\n'
03:00:37.399811 < 6 bytes data, client => server
03:00:37.399826 'EPSV\r\n'
03:00:37.402383 Received DATA (on stdin)
03:00:37.402404 > 38 bytes data, server => client
03:00:37.402431 '229 Entering Passive Mode (|||44617|)\n'
03:00:37.402717 < 8 bytes data, client => server
03:00:37.402739 'TYPE I\r\n'
03:00:37.402904 Received DATA (on stdin)
03:00:37.402934 > 33 bytes data, server => client
03:00:37.402953 '200 I modify TYPE as you wanted\r\n'
03:00:37.403214 < 21 bytes data, client => server
03:00:37.403249 'SIZE verifiedserver\r\n'
03:00:37.403364 Received DATA (on stdin)
03:00:37.403396 > 8 bytes data, server => client
03:00:37.403414 '213 17\r\n'
03:00:37.403728 < 21 bytes data, client => server
03:00:37.403767 'RETR verifiedserver\r\n'
03:00:37.403906 Received DATA (on stdin)
03:00:37.403941 > 29 bytes data, server => client
03:00:37.403964 '150 Binary junk (17 bytes).\r\n'
03:00:37.404208 Received DATA (on stdin)
03:00:37.404225 > 28 bytes data, server => client
03:00:37.404240 '226 File transfer complete\r\n'
03:00:37.404897 < 6 bytes data, client => server
03:00:37.404926 'QUIT\r\n'
03:00:37.405031 Received DATA (on stdin)
03:00:37.405043 > 18 bytes data, server => client
03:00:37.405052 '221 bye bye baby\r\n'
03:00:37.405298 ====> Client disconnect
03:00:41.439357 ====> Client connect
03:00:41.439544 Received DATA (on stdin)
03:00:41.439564 > 160 bytes data, server => client
03:00:41.439584 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:41.439602 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:41.439618 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:41.526934 < 16 bytes data, client => server
03:00:41.526973 'USER anonymous\r\n'
03:00:41.527155 Received DATA (on stdin)
03:00:41.527181 > 33 bytes data, server => client
03:00:41.527196 '331 We are happy you popped in!\r\n'
03:00:41.538130 < 22 bytes data, client => server
03:00:41.538156 'PASS ftp@example.com\r\n'
03:00:41.538267 Received DATA (on stdin)
03:00:41.538291 > 30 bytes data, server => client
03:00:41.538307 '230 Welcome you silly person\r\n'
03:00:41.540557 < 8 bytes data, client => server
03:00:41.540581 'PBSZ 0\r\n'
03:00:41.540681 Received DATA (on stdin)
03:00:41.540705 > 26 bytes data, server => client
03:00:41.540720 '500 PBSZ not implemented\r\n'
03:00:41.542018 < 8 bytes data, client => server
03:00:41.542043 'PROT C\r\n'
03:00:41.542125 Received DATA (on stdin)
03:00:41.542144 > 26 bytes data, server => client
03:00:41.542163 '500 PROT not implemented\r\n'
03:00:41.543594 < 5 bytes data, client => server
03:00:41.543616 'PWD\r\n'
03:00:41.543719 Received DATA (on stdin)
03:00:41.543752 > 30 bytes data, server => client
03:00:41.543768 '257 "/" is current directory\r\n'
03:00:41.550336 < 6 bytes data, client => server
03:00:41.550359 'EPSV\r\n'
03:00:41.552336 Received DATA (on stdin)
03:00:41.552349 > 38 bytes data, server => client
03:00:41.552361 '229 Entering Passive Mode (|||44479|)\n'
03:00:41.564779 < 8 bytes data, client => server
03:00:41.564805 'TYPE A\r\n'
03:00:41.564888 Received DATA (on stdin)
03:00:41.564900 > 33 bytes data, server => client
03:00:41.564911 '200 I modify TYPE as you wanted\r\n'
03:00:41.567008 < 6 bytes data, client => server
03:00:41.567021 'LIST\r\n'
03:00:41.567091 Received DATA (on stdin)
03:00:41.567101 > 28 bytes data, server => client
03:00:41.567111 '150 here comes a directory\r\n'
03:00:41.567770 Received DATA (on stdin)
03:00:41.567794 > 29 bytes data, server => client
03:00:41.567810 '226 ASCII transfer complete\r\n'
03:00:41.626282 < 6 bytes data, client => server
03:00:41.626308 'QUIT\r\n'
03:00:41.626438 Received DATA (on stdin)
03:00:41.626461 > 18 bytes data, server => client
03:00:41.626475 '221 bye bye baby\r\n'
03:00:41.630799 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:00:37.401909 Running IPv4 version
03:00:37.402019 Listening on port 44617
03:00:37.402063 Wrote pid 27569 to ./.ftp_sockdata.pid
03:00:37.402088 Received PING (on stdin)
03:00:37.402217 Received PORT (on stdin)
03:00:37.402655 ====> Client connect
03:00:37.403979 Received DATA (on stdin)
03:00:37.404013 > 17 bytes data, server => client
03:00:37.404034 'WE ROOLZ: 26857\r\n'
03:00:37.404072 Received DISC (on stdin)
03:00:37.404098 ====> Client forcibly disconnected
03:00:37.404127 Received QUIT (on stdin)
03:00:37.404141 quits
03:00:37.404158 ============> sockfilt quits
03:00:41.552039 Running IPv4 version
03:00:41.552100 Listening on port 44479
03:00:41.552138 Wrote pid 27574 to ./.ftp_sockdata.pid
03:00:41.552154 Received PING (on stdin)
03:00:41.552228 Received PORT (on stdin)
03:00:41.559559 ====> Client connect
03:00:41.567145 Received DATA (on stdin)
03:00:41.567160 > 10 bytes data, server => client
03:00:41.567170 'total 20\r\n'
03:00:41.567191 Received DATA (on stdin)
03:00:41.567202 > 57 bytes data, server => client
03:00:41.567214 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:00:41.567231 Received DATA (on stdin)
03:00:41.567241 > 58 bytes data, server => client
03:00:41.567253 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:00:41.567269 Received DATA (on stdin)
03:00:41.567280 > 61 bytes data, server => client
03:00:41.567297 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:00:41.567305 '\n'
03:00:41.567320 Received DATA (on stdin)
03:00:41.567331 > 62 bytes data, server => client
03:00:41.567343 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:00:41.567351 '\n'
03:00:41.567365 Received DATA (on stdin)
03:00:41.567376 > 70 bytes data, server => client
03:00:41.567388 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:00:41.567396 'usr/bin\r\n'
03:00:41.567411 Received DATA (on stdin)
03:00:41.567421 > 59 bytes data, server => client
03:00:41.567433 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:00:41.567453 Received DATA (on stdin)
03:00:41.567464 > 69 bytes data, server => client
03:00:41.567476 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:00:41.567484 'd.html\r\n'
03:00:41.567499 Received DATA (on stdin)
03:00:41.567509 > 59 bytes data, server => client
03:00:41.567522 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:00:41.567537 Received DATA (on stdin)
03:00:41.567547 > 59 bytes data, server => client
03:00:41.567559 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:00:41.567575 Received DATA (on stdin)
03:00:41.567585 > 59 bytes data, server => client
03:00:41.567600 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:00:41.567619 Received DISC (on stdin)
03:00:41.567631 ====> Client forcibly disconnected
03:00:41.567662 Received QUIT (on stdin)
03:00:41.567674 quits
03:00:41.567688 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.09.08 03:00:36 LOG5[27564]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.08 03:00:36 LOG5[27564]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.08 03:00:36 LOG5[27564]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.08 03:00:36 LOG5[27564]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.08 03:00:36 LOG5[27564]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.08 03:00:36 LOG5[27564]: Reading configuration from file /build-25070/tests/ftps_stunnel.conf
2019.09.08 03:00:36 LOG5[27564]: FIPS mode disabled
2019.09.08 03:00:36 LOG5[27564]: Configuration successful
2019.09.08 03:00:37 LOG5[27567]: Service [curltest] accepted connection from 127.0.0.1:57740
2019.09.08 03:00:37 LOG5[27567]: s_connect: connected 127.0.0.1:8992
2019.09.08 03:00:37 LOG5[27567]: Service [curltest] connected remote server from 127.0.0.1:52386
2019.09.08 03:00:37 LOG5[27567]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.09.08 03:00:39 LOG5[27572]: Service [curltest] accepted connection from 127.0.0.1:57746
2019.09.08 03:00:41 LOG5[27572]: s_connect: connected 127.0.0.1:8992
2019.09.08 03:00:41 LOG5[27572]: Service [curltest] connected remote server from 127.0.0.1:52392
2019.09.08 03:00:41 LOG5[27572]: 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 0x55d3c1cfc7f8; 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 0x55d3c1cfc7f8; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55d3c1cfc7f8; 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 0x55d3c1d123d0 (line 3092) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55d3c1cfc7f8; line 1682 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x55d3c1d123d0 (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 0x55d3c1d123d0 (line 2520) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x55d3c1d123d0 (line 2496) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x55d3c1d123d0 (line 2709) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x55d3c1d123d0 (line 804) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x55d3c1d123d0 (line 2844) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x55d3c1cfc7f8; line 1701 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x55d3c1d123d0 (line 1330) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x55d3c1cfc7f8; line 1743 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||44617|)
* Trying 127.0.0.1:44617...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 44617
* FTP 0x55d3c1d123d0 (line 1977) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x55d3c1cfc7f8; 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 0x55d3c1d123d0 (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 0x55d3c1d123d0 (line 1743) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x55d3c1d123d0 (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 0x55d3c1d123d0 (line 477) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x55d3c1cfc7f8; line 1850 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55d3c1cfc7f8; line 1877 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x55d3c1cfc7f8; 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 0x55d3c1cfc7f8)
=== 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 275 0 --:--:-- 0:00:02 --:--:-- 285
=== End of file stderr400
=== Start of file trace400
03:00:39.332997 == Info: STATE: INIT => CONNECT handle 0x56c8098; line 1491 (connection #-5000)
03:00:39.388186 == Info: Added connection 0. The cache now contains 1 members
03:00:39.405622 == Info: Trying 127.0.0.1:8993...
03:00:39.406231 == Info: TCP_NODELAY set
03:00:39.411392 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8098; line 1547 (connection #0)
03:00:39.423045 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:39.423610 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8098; line 1665 (connection #0)
03:00:39.424731 == Info: Marked for [keep alive]: FTP default
03:00:40.915067 == Info: successfully set certificate verify locations:
03:00:40.915330 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:41.031179 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:00:41.036466 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:41.036540 => Send SSL data, 126 bytes (0x7e)
0000: ...z...)r......0.......u......$..'.".v....+./.,.0...............
0040: ../.5.....3...................................................
03:00:41.053652 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:41.059305 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:41.059374 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..tA;.n...|.)u...ErB...i....w'G!.c ..S[.-.FT..{..(I.g..l.7.*
0040: -......./................
03:00:41.103441 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:41.103839 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:41.103904 <= 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.202733 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:41.202960 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:41.203019 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.x...g.*.w #.. .u.>.!K.....f.).Q.0........u...53|iA.&A..
0040: .q.bhS7......ZV.o...j....=..7.b.....u<..`L.....aN2..U.N1.....5.S
0080: 5...-..a....(60..jT......X..H.Z..z......Pr.7.v7V c.P37.z...vy.j.
00c0: .....\.........mi..(.u...B....#.E*..c?o.}.k..Pu.t.yj2.).5]B[.%0.
0100: ..z.t.`k9.<.B.Y.j.V.....<!...:v.h.......M...(.....,<_....Y~`.. .
0140: ...1.... .?N.
03:00:41.273805 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:41.274044 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:41.274106 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:41.391470 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:41.391696 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:41.391760 => Send SSL data, 70 bytes (0x46)
0000: ...BA.^...AS..W..gi....@j.B)F.Z...7..-&...$$W.]..[7F].242..{.....j'
0040: B..Y(F
03:00:41.403773 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:41.404366 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:41.404429 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:41.425921 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:41.425981 => Send SSL data, 16 bytes (0x10)
0000: .....hc.t.......
03:00:41.438515 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:41.441123 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:41.442275 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:41.442334 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:41.444812 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:41.450510 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:41.450567 <= Recv SSL data, 16 bytes (0x10)
0000: ........H.$.Joa.
03:00:41.479065 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:41.481293 == Info: Server certificate:
03:00:41.488819 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:41.494971 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:41.495921 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:41.496855 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:41.497722 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:41.499217 == Info: FTP 0x5743ea0 (line 3092) state change from STOP to WAIT220
03:00:41.505311 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:41.513170 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:00:41.516913 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:00:41.517113 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:00:41.517300 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:00:41.517484 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:00:41.525248 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:41.528254 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:00:41.529060 == Info: FTP 0x5743ea0 (line 792) state change from WAIT220 to USER
03:00:41.529822 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8098; line 1682 (connection #0)
03:00:41.535990 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:41.536670 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:00:41.537936 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:41.538058 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:00:41.538490 == Info: FTP 0x5743ea0 (line 2520) state change from USER to PASS
03:00:41.539517 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:41.539664 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:00:41.540366 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:41.540492 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:00:41.540865 == Info: FTP 0x5743ea0 (line 2496) state change from PASS to PBSZ
03:00:41.541161 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:41.541302 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:00:41.541855 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:41.541972 => Send header, 8 bytes (0x8)
0000: PROT C
03:00:41.542353 == Info: FTP 0x5743ea0 (line 2709) state change from PBSZ to PROT
03:00:41.542603 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:41.542745 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:00:41.543413 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:41.543529 => Send header, 5 bytes (0x5)
0000: PWD
03:00:41.543893 == Info: FTP 0x5743ea0 (line 804) state change from PROT to PWD
03:00:41.544221 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:41.544362 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:00:41.545498 == Info: Entry path is '/'
03:00:41.545721 == Info: FTP 0x5743ea0 (line 2844) state change from PWD to STOP
03:00:41.545887 == Info: protocol connect phase DONE
03:00:41.546136 == Info: STATE: PROTOCONNECT => DO handle 0x56c8098; line 1701 (connection #0)
03:00:41.548040 == Info: DO phase starts
03:00:41.550151 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:41.550271 => Send header, 6 bytes (0x6)
0000: EPSV
03:00:41.550831 == Info: FTP 0x5743ea0 (line 1330) state change from STOP to PASV
03:00:41.551023 == Info: Connect data stream passively
03:00:41.551842 == Info: ftp_perform ends with SECONDARY: 0
03:00:41.552653 == Info: STATE: DO => DOING handle 0x56c8098; line 1743 (connection #0)
03:00:41.553569 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:00:41.553726 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||44479|).
03:00:41.559374 == Info: Trying 127.0.0.1:44479...
03:00:41.559436 == Info: TCP_NODELAY set
03:00:41.560162 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 44479
03:00:41.561283 == Info: FTP 0x5743ea0 (line 1977) state change from PASV to STOP
03:00:41.561915 == Info: DO phase is complete2
03:00:41.562343 == Info: STATE: DOING => DO_MORE handle 0x56c8098; line 1825 (connection #0)
03:00:41.563059 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:41.563274 == Info: DO-MORE connected phase starts
03:00:41.564617 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:41.564756 => Send header, 8 bytes (0x8)
0000: TYPE A
03:00:41.565114 == Info: FTP 0x5743ea0 (line 3418) state change from STOP to LIST_TYPE
03:00:41.565498 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:41.565644 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:00:41.566850 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:41.566969 => Send header, 6 bytes (0x6)
0000: LIST
03:00:41.567514 == Info: FTP 0x5743ea0 (line 1486) state change from LIST_TYPE to LIST
03:00:41.569126 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:00:41.569271 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:00:41.569866 == Info: Maxdownload = -1
03:00:41.571201 == Info: FTP 0x5743ea0 (line 477) state change from LIST to STOP
03:00:41.571915 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8098; line 1850 (connection #0)
03:00:41.572307 == Info: STATE: DO_DONE => PERFORM handle 0x56c8098; line 1877 (connection #0)
03:00:41.575772 <= 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:41.584429 == Info: nread <= 0, server closed connection, bailing
03:00:41.585601 == Info: STATE: PERFORM => DONE handle 0x56c8098; line 2067 (connection #0)
03:00:41.585929 == Info: multi_done
03:00:41.589248 == Info: Remembering we are in dir ""
03:00:41.592489 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:00:41.592635 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:00:41.598260 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:41.600258 == Info: Expire cleared (transfer 0x56c8098)
=== End of file trace400
=== Start of file valgrind400
==27571== Invalid read of size 8
==27571== at 0x53335A5: check_free (dlerror.c:188)
==27571== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27571== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27571== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27571== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27571== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27571== by 0x4C4AEB9: exit (exit.c:139)
==27571== by 0x4C350A1: (below main) (libc-start.c:342)
==27571== Address 0x5af7dd0 is 0 bytes after a block of size 32 alloc'd
==27571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27571== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27571== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27571== by 0x24AE36: err_get_state (err.c:210)
==27571== by 0x24BA0C: ERR_put_error (err.c:636)
==27571== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27571== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27571== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27571== by 0x270058: by_file_ctrl (by_file.c:111)
==27571== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27571== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27571== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27571== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27571== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27571== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27571== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27571==
==27571== Invalid free() / delete / delete[] / realloc()
==27571== at 0x48369AB: free (vg_replace_malloc.c:540)
==27571== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27571== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27571== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27571== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27571== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27571== by 0x4C4AEB9: exit (exit.c:139)
==27571== by 0x4C350A1: (below main) (libc-start.c:342)
==27571== Address 0x5af7db8 is 8 bytes inside a block of size 32 alloc'd
==27571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27571== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27571== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27571== by 0x24AE36: err_get_state (err.c:210)
==27571== by 0x24BA0C: ERR_put_error (err.c:636)
==27571== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27571== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27571== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27571== by 0x270058: by_file_ctrl (by_file.c:111)
==27571== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27571== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27571== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27571== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27571== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27571== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27571== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27571==
==27571== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27571== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27571== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27571== by 0x24AE36: err_get_state (err.c:210)
==27571== by 0x24BA0C: ERR_put_error (err.c:636)
==27571== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27571== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27571== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27571== by 0x270058: by_file_ctrl (by_file.c:111)
==27571== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27571== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27571== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27571== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27571== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27571== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27571== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27571==
=== End of file valgrind400
test 0401...[FTPS PASV upload file]
goto problem 15
valgrind ERROR ==27577== Invalid read of size 8
==27577== at 0x53335A5: check_free (dlerror.c:188)
==27577== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27577== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27577== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27577== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27577== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27577== by 0x4C4AEB9: exit (exit.c:139)
==27577== by 0x4C350A1: (below main) (libc-start.c:342)
==27577== Address 0x5b34d00 is 0 bytes after a block of size 32 alloc'd
==27577== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27577== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27577== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27577== by 0x24AE36: err_get_state (err.c:210)
==27577== by 0x24BA0C: ERR_put_error (err.c:636)
==27577== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27577== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27577== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27577== by 0x270058: by_file_ctrl (by_file.c:111)
==27577== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27577== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27577== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27577== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27577== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27577== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27577== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27577==
==27577== Invalid free() / delete / delete[] / realloc()
==27577== at 0x48369AB: free (vg_replace_malloc.c:540)
==27577== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27577== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27577== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27577== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27577== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27577== by 0x4C4AEB9: exit (exit.c:139)
==27577== by 0x4C350A1: (below main) (libc-start.c:342)
==27577== Address 0x5b34ce8 is 8 bytes inside a block of size 32 alloc'd
==27577== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27577== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27577== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27577== by 0x24AE36: err_get_state (err.c:210)
==27577== by 0x24BA0C: ERR_put_error (err.c:636)
==27577== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27577== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27577== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27577== by 0x270058: by_file_ctrl (by_file.c:111)
==27577== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27577== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27577== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27577== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27577== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27577== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27577== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27577==
==27577== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27577== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27577== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27577== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27577== by 0x24AE36: err_get_state (err.c:210)
==27577== by 0x24BA0C: ERR_put_error (err.c:636)
==27577== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27577== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27577== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27577== by 0x270058: by_file_ctrl (by_file.c:111)
==27577== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27577== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27577== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27577== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27577== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27577== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27577== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27577==
== Contents of files in the log/ dir after test 401
=== Start of file ftp_server.log
03:00:44.990288 ====> Client connect
03:00:44.990391 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:45.077365 < "USER anonymous"
03:00:45.077410 > "331 We are happy you popped in![CR][LF]"
03:00:45.088288 < "PASS ftp@example.com"
03:00:45.088318 > "230 Welcome you silly person[CR][LF]"
03:00:45.090626 < "PBSZ 0"
03:00:45.090654 > "500 PBSZ not implemented[CR][LF]"
03:00:45.092058 < "PROT C"
03:00:45.092089 > "500 PROT not implemented[CR][LF]"
03:00:45.093546 < "PWD"
03:00:45.093579 > "257 "/" is current directory[CR][LF]"
03:00:45.100880 < "EPSV"
03:00:45.100911 ====> Passive DATA channel requested by client
03:00:45.100925 DATA sockfilt for passive data channel starting...
03:00:45.102425 DATA sockfilt for passive data channel started (pid 27580)
03:00:45.102520 DATA sockfilt for passive data channel listens on port 35383
03:00:45.102558 > "229 Entering Passive Mode (|||35383|)[LF]"
03:00:45.102573 Client has been notified that DATA conn will be accepted on port 35383
03:00:45.109680 Client connects to port 35383
03:00:45.109712 ====> Client established passive DATA connection on port 35383
03:00:45.114616 < "TYPE I"
03:00:45.114653 > "200 I modify TYPE as you wanted[CR][LF]"
03:00:45.116853 < "STOR 401"
03:00:45.116880 STOR test number 401 in log/upload.401
03:00:45.116902 > "125 Gimme gimme gimme![CR][LF]"
03:00:45.125530 > Appending 52 bytes to file
03:00:45.133846 =====> Closing passive DATA connection...
03:00:45.133865 Server knows passive DATA connection is already disconnected
03:00:45.133917 DATA sockfilt for passive data channel quits (pid 27581)
03:00:45.133940 =====> Closed passive DATA connection
03:00:45.133963 received 52 bytes upload
03:00:45.133992 > "226 File transfer complete[CR][LF]"
03:00:45.163783 < "QUIT"
03:00:45.163826 > "221 bye bye baby[CR][LF]"
03:00:45.168246 MAIN sockfilt said DISC
03:00:45.168280 ====> Client disconnected
03:00:45.168331 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:00:44.850914 ====> Client connect
03:00:44.851109 Received DATA (on stdin)
03:00:44.851124 > 160 bytes data, server => client
03:00:44.851141 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:44.851156 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:44.851169 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:44.937945 < 16 bytes data, client => server
03:00:44.937979 'USER anonymous\r\n'
03:00:44.938118 Received DATA (on stdin)
03:00:44.938130 > 33 bytes data, server => client
03:00:44.938141 '331 We are happy you popped in!\r\n'
03:00:44.948945 < 22 bytes data, client => server
03:00:44.948960 'PASS ftp@example.com\r\n'
03:00:44.949029 Received DATA (on stdin)
03:00:44.949041 > 30 bytes data, server => client
03:00:44.949051 '230 Welcome you silly person\r\n'
03:00:44.951284 < 8 bytes data, client => server
03:00:44.951296 'PBSZ 0\r\n'
03:00:44.951364 Received DATA (on stdin)
03:00:44.951376 > 26 bytes data, server => client
03:00:44.951386 '500 PBSZ not implemented\r\n'
03:00:44.952696 < 8 bytes data, client => server
03:00:44.952710 'PROT C\r\n'
03:00:44.952799 Received DATA (on stdin)
03:00:44.952810 > 26 bytes data, server => client
03:00:44.952820 '500 PROT not implemented\r\n'
03:00:44.954186 < 5 bytes data, client => server
03:00:44.954199 'PWD\r\n'
03:00:44.954289 Received DATA (on stdin)
03:00:44.954300 > 30 bytes data, server => client
03:00:44.954310 '257 "/" is current directory\r\n'
03:00:44.961521 < 6 bytes data, client => server
03:00:44.961534 'EPSV\r\n'
03:00:44.963264 Received DATA (on stdin)
03:00:44.963276 > 38 bytes data, server => client
03:00:44.963287 '229 Entering Passive Mode (|||35383|)\n'
03:00:44.975238 < 8 bytes data, client => server
03:00:44.975253 'TYPE I\r\n'
03:00:44.975361 Received DATA (on stdin)
03:00:44.975373 > 33 bytes data, server => client
03:00:44.975383 '200 I modify TYPE as you wanted\r\n'
03:00:44.977492 < 10 bytes data, client => server
03:00:44.977506 'STOR 401\r\n'
03:00:44.977612 Received DATA (on stdin)
03:00:44.977623 > 24 bytes data, server => client
03:00:44.977633 '125 Gimme gimme gimme!\r\n'
03:00:44.994721 Received DATA (on stdin)
03:00:44.994745 > 28 bytes data, server => client
03:00:44.994760 '226 File transfer complete\r\n'
03:00:45.024364 < 6 bytes data, client => server
03:00:45.024393 'QUIT\r\n'
03:00:45.024535 Received DATA (on stdin)
03:00:45.024548 > 18 bytes data, server => client
03:00:45.024557 '221 bye bye baby\r\n'
03:00:45.028907 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:00:45.962990 Running IPv4 version
03:00:45.963066 Listening on port 35383
03:00:45.963092 Wrote pid 27581 to ./.ftp_sockdata.pid
03:00:45.963108 Received PING (on stdin)
03:00:45.963171 Received PORT (on stdin)
03:00:45.970355 ====> Client connect
03:00:45.986200 < 52 bytes data, client => server
03:00:45.986234 'data\n to\n see\nthat FTPS\nworks\n so does it?\n'
03:00:45.994462 ====> Client disconnect
03:00:45.994597 Received QUIT (on stdin)
03:00:45.994613 quits
03:00:45.994634 ============> 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 22 0:00:02 0:00:02 --:--:-- 23
=== 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:42.732206 == Info: STATE: INIT => CONNECT handle 0x56caf38; line 1491 (connection #-5000)
03:00:42.787975 == Info: Added connection 0. The cache now contains 1 members
03:00:42.805670 == Info: Trying 127.0.0.1:8993...
03:00:42.806431 == Info: TCP_NODELAY set
03:00:42.811796 == Info: STATE: CONNECT => WAITCONNECT handle 0x56caf38; line 1547 (connection #0)
03:00:42.823811 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:42.824523 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56caf38; line 1665 (connection #0)
03:00:42.825665 == Info: Marked for [keep alive]: FTP default
03:00:44.311859 == Info: successfully set certificate verify locations:
03:00:44.312129 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:44.430222 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:00:44.435639 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:44.435707 => Send SSL data, 126 bytes (0x7e)
0000: ...z.......4=RI.w'..?\..XL.......F........+./.,.0...............
0040: ../.5.....3...................................................
03:00:44.453289 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:44.459117 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:44.459176 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...........9?..?.C ....w]..hJ..... y$.}..q..u.He....5.Z.._..
0040: .....5&./................
03:00:44.504921 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:44.505441 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:44.505528 <= 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:44.608252 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:44.608487 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:44.608551 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.x...g.*.w #.. .u.>.!K.....f.).Q.0........u...53|iA.&A..
0040: .q.bhS7.......t....@-.Kv......eG.l..%..4...R.~O.....w.T..NJ..[7F]..
0080: ...a...q.P.88....eQ4C..~...s.N...n.A......R.T...g o.P..(.[\{...}
00c0: ...r.BsE.S.M.6=....u;.....l.......6l.R...=.G.7.Y.(I.#....0..Oj..
0100: .b>.r(^...r#....fx..8.L.......5../....;{)fF.4......$..G.Q.@.UA.R
0140: ....b.4....2.
03:00:44.680589 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:44.680799 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:44.680856 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:44.800619 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:44.800825 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:44.800883 => Send SSL data, 70 bytes (0x46)
0000: ...BA.$.L..'..E.|.><.|.........W.i...t".....dak.H....W.u....N.6f
0040: ......
03:00:44.814074 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:44.814673 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:44.814733 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:44.836867 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:44.836924 => Send SSL data, 16 bytes (0x10)
0000: .........k.c;.A.
03:00:44.849986 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:44.852602 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:44.853706 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:44.853764 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:44.856236 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:44.861913 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:44.861970 <= Recv SSL data, 16 bytes (0x10)
0000: .....?..b...Q.^=
03:00:44.890382 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:44.892598 == Info: Server certificate:
03:00:44.900164 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:44.906302 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:44.907249 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:44.908178 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:44.909048 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:44.910534 == Info: FTP 0x5780e00 (line 3092) state change from STOP to WAIT220
03:00:44.916541 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:44.924341 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:00:44.928019 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:00:44.928208 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:00:44.928389 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:00:44.928593 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:00:44.936290 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:44.939219 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:00:44.939999 == Info: FTP 0x5780e00 (line 792) state change from WAIT220 to USER
03:00:44.940762 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56caf38; line 1682 (connection #0)
03:00:44.946868 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:44.947524 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:00:44.948784 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:44.948905 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:00:44.949280 == Info: FTP 0x5780e00 (line 2520) state change from USER to PASS
03:00:44.950300 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:44.950443 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:00:44.951127 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:44.951243 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:00:44.951569 == Info: FTP 0x5780e00 (line 2496) state change from PASS to PBSZ
03:00:44.951863 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:44.952001 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:00:44.952540 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:44.952655 => Send header, 8 bytes (0x8)
0000: PROT C
03:00:44.952986 == Info: FTP 0x5780e00 (line 2709) state change from PBSZ to PROT
03:00:44.953231 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:44.953369 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:00:44.954030 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:44.954144 => Send header, 5 bytes (0x5)
0000: PWD
03:00:44.954459 == Info: FTP 0x5780e00 (line 804) state change from PROT to PWD
03:00:44.954787 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:44.954925 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:00:44.956042 == Info: Entry path is '/'
03:00:44.956263 == Info: FTP 0x5780e00 (line 2844) state change from PWD to STOP
03:00:44.956436 == Info: protocol connect phase DONE
03:00:44.956684 == Info: STATE: PROTOCONNECT => DO handle 0x56caf38; line 1701 (connection #0)
03:00:44.959306 == Info: DO phase starts
03:00:44.961363 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:44.961480 => Send header, 6 bytes (0x6)
0000: EPSV
03:00:44.961813 == Info: FTP 0x5780e00 (line 1330) state change from STOP to PASV
03:00:44.961986 == Info: Connect data stream passively
03:00:44.962758 == Info: ftp_perform ends with SECONDARY: 0
03:00:44.963469 == Info: STATE: DO => DOING handle 0x56caf38; line 1743 (connection #0)
03:00:44.964376 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:00:44.964535 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||35383|).
03:00:44.970173 == Info: Trying 127.0.0.1:35383...
03:00:44.970234 == Info: TCP_NODELAY set
03:00:44.970926 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 35383
03:00:44.972030 == Info: FTP 0x5780e00 (line 1977) state change from PASV to STOP
03:00:44.972678 == Info: DO phase is complete2
03:00:44.973104 == Info: STATE: DOING => DO_MORE handle 0x56caf38; line 1825 (connection #0)
03:00:44.973838 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:44.974059 == Info: DO-MORE connected phase starts
03:00:44.975071 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:44.975194 => Send header, 8 bytes (0x8)
0000: TYPE I
03:00:44.975535 == Info: FTP 0x5780e00 (line 3418) state change from STOP to STOR_TYPE
03:00:44.975919 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:44.976064 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:00:44.977333 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:00:44.977451 => Send header, 10 bytes (0xa)
0000: STOR 401
03:00:44.977786 == Info: FTP 0x5780e00 (line 1651) state change from STOR_TYPE to STOR
03:00:44.979454 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:00:44.979595 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:00:44.981396 == Info: FTP 0x5780e00 (line 477) state change from STOR to STOP
03:00:44.982107 == Info: STATE: DO_MORE => DO_DONE handle 0x56caf38; line 1850 (connection #0)
03:00:44.982539 == Info: STATE: DO_DONE => PERFORM handle 0x56caf38; line 1877 (connection #0)
03:00:44.986720 => Send data, 52 bytes (0x34)
0000: data. to. see.that FTPS.works. so does it?.
03:00:44.987402 == Info: We are completely uploaded and fine
03:00:44.989808 == Info: STATE: PERFORM => DONE handle 0x56caf38; line 2067 (connection #0)
03:00:44.990130 == Info: multi_done
03:00:44.992953 == Info: Remembering we are in dir ""
03:00:44.996341 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:00:44.996493 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:00:45.002571 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:45.004523 == Info: Expire cleared (transfer 0x56caf38)
=== 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
==27577== Invalid read of size 8
==27577== at 0x53335A5: check_free (dlerror.c:188)
==27577== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27577== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27577== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27577== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27577== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27577== by 0x4C4AEB9: exit (exit.c:139)
==27577== by 0x4C350A1: (below main) (libc-start.c:342)
==27577== Address 0x5b34d00 is 0 bytes after a block of size 32 alloc'd
==27577== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27577== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27577== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27577== by 0x24AE36: err_get_state (err.c:210)
==27577== by 0x24BA0C: ERR_put_error (err.c:636)
==27577== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27577== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27577== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27577== by 0x270058: by_file_ctrl (by_file.c:111)
==27577== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27577== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27577== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27577== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27577== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27577== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27577== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27577==
==27577== Invalid free() / delete / delete[] / realloc()
==27577== at 0x48369AB: free (vg_replace_malloc.c:540)
==27577== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27577== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27577== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27577== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27577== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27577== by 0x4C4AEB9: exit (exit.c:139)
==27577== by 0x4C350A1: (below main) (libc-start.c:342)
==27577== Address 0x5b34ce8 is 8 bytes inside a block of size 32 alloc'd
==27577== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27577== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27577== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27577== by 0x24AE36: err_get_state (err.c:210)
==27577== by 0x24BA0C: ERR_put_error (err.c:636)
==27577== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27577== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27577== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27577== by 0x270058: by_file_ctrl (by_file.c:111)
==27577== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27577== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27577== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27577== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27577== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27577== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27577== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27577==
==27577== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27577== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27577== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27577== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27577== by 0x24AE36: err_get_state (err.c:210)
==27577== by 0x24BA0C: ERR_put_error (err.c:636)
==27577== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27577== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27577== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27577== by 0x270058: by_file_ctrl (by_file.c:111)
==27577== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27577== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27577== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27577== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27577== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27577== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27577== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27577==
=== End of file valgrind401
test 0402...[FTP SSL required on non-SSL server]
--p----emv- OK (349 out of 1251, remaining: 24:52, took 1.1s, duration: 09:37)
test 0403...[FTPS with CCC not supported by server]
goto problem 16
valgrind ERROR ==27587== Invalid read of size 8
==27587== at 0x53335A5: check_free (dlerror.c:188)
==27587== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27587== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27587== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27587== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27587== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27587== by 0x4C4AEB9: exit (exit.c:139)
==27587== by 0x4C350A1: (below main) (libc-start.c:342)
==27587== Address 0x5af7dd0 is 0 bytes after a block of size 32 alloc'd
==27587== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27587== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27587== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27587== by 0x24AE36: err_get_state (err.c:210)
==27587== by 0x24BA0C: ERR_put_error (err.c:636)
==27587== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27587== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27587== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27587== by 0x270058: by_file_ctrl (by_file.c:111)
==27587== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27587== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27587== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27587== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27587== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27587== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27587== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27587==
==27587== Invalid free() / delete / delete[] / realloc()
==27587== at 0x48369AB: free (vg_replace_malloc.c:540)
==27587== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27587== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27587== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27587== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27587== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27587== by 0x4C4AEB9: exit (exit.c:139)
==27587== by 0x4C350A1: (below main) (libc-start.c:342)
==27587== Address 0x5af7db8 is 8 bytes inside a block of size 32 alloc'd
==27587== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27587== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27587== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27587== by 0x24AE36: err_get_state (err.c:210)
==27587== by 0x24BA0C: ERR_put_error (err.c:636)
==27587== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27587== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27587== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27587== by 0x270058: by_file_ctrl (by_file.c:111)
==27587== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27587== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27587== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27587== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27587== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27587== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27587== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27587==
==27587== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27587== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27587== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27587== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27587== by 0x24AE36: err_get_state (err.c:210)
==27587== by 0x24BA0C: ERR_put_error (err.c:636)
==27587== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27587== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27587== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27587== by 0x270058: by_file_ctrl (by_file.c:111)
==27587== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27587== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27587== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27587== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27587== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27587== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27587== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27587==
== 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:49.464191 ====> Client connect
03:00:49.464301 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:49.551385 < "USER anonymous"
03:00:49.551431 > "331 We are happy you popped in![CR][LF]"
03:00:49.562393 < "PASS ftp@example.com"
03:00:49.562427 > "230 Welcome you silly person[CR][LF]"
03:00:49.564741 < "PBSZ 0"
03:00:49.564772 > "500 PBSZ not implemented[CR][LF]"
03:00:49.566145 < "PROT C"
03:00:49.566175 > "500 PROT not implemented[CR][LF]"
03:00:49.567571 < "CCC"
03:00:49.567592 CCC wasn't handled
03:00:49.567617 > "500 CCC is not dealt with![CR][LF]"
03:00:49.568978 < "PWD"
03:00:49.569013 > "257 "/" is current directory[CR][LF]"
03:00:49.575713 < "EPSV"
03:00:49.575743 ====> Passive DATA channel requested by client
03:00:49.575757 DATA sockfilt for passive data channel starting...
03:00:49.577395 DATA sockfilt for passive data channel started (pid 27589)
03:00:49.577489 DATA sockfilt for passive data channel listens on port 40371
03:00:49.577527 > "229 Entering Passive Mode (|||40371|)[LF]"
03:00:49.577542 Client has been notified that DATA conn will be accepted on port 40371
03:00:49.584942 Client connects to port 40371
03:00:49.584981 ====> Client established passive DATA connection on port 40371
03:00:49.590193 < "TYPE A"
03:00:49.590228 > "200 I modify TYPE as you wanted[CR][LF]"
03:00:49.592378 < "LIST"
03:00:49.592410 > "150 here comes a directory[CR][LF]"
03:00:49.592434 pass LIST data on data connection
03:00:49.592508 =====> Closing passive DATA connection...
03:00:49.592522 Server disconnects passive DATA connection
03:00:49.593124 DATA sockfilt for passive data channel quits (pid 27590)
03:00:49.593151 =====> Closed passive DATA connection
03:00:49.593176 > "226 ASCII transfer complete[CR][LF]"
03:00:49.651634 < "QUIT"
03:00:49.651674 > "221 bye bye baby[CR][LF]"
03:00:49.656118 MAIN sockfilt said DISC
03:00:49.656150 ====> Client disconnected
03:00:49.656198 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:00:49.324820 ====> Client connect
03:00:49.325006 Received DATA (on stdin)
03:00:49.325032 > 160 bytes data, server => client
03:00:49.325049 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:49.325062 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:49.325072 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:49.411970 < 16 bytes data, client => server
03:00:49.412007 'USER anonymous\r\n'
03:00:49.412140 Received DATA (on stdin)
03:00:49.412153 > 33 bytes data, server => client
03:00:49.412164 '331 We are happy you popped in!\r\n'
03:00:49.423036 < 22 bytes data, client => server
03:00:49.423053 'PASS ftp@example.com\r\n'
03:00:49.423136 Received DATA (on stdin)
03:00:49.423148 > 30 bytes data, server => client
03:00:49.423158 '230 Welcome you silly person\r\n'
03:00:49.425390 < 8 bytes data, client => server
03:00:49.425404 'PBSZ 0\r\n'
03:00:49.425482 Received DATA (on stdin)
03:00:49.425494 > 26 bytes data, server => client
03:00:49.425503 '500 PBSZ not implemented\r\n'
03:00:49.426803 < 8 bytes data, client => server
03:00:49.426816 'PROT C\r\n'
03:00:49.426885 Received DATA (on stdin)
03:00:49.426895 > 26 bytes data, server => client
03:00:49.426905 '500 PROT not implemented\r\n'
03:00:49.428234 < 5 bytes data, client => server
03:00:49.428256 'CCC\r\n'
03:00:49.428327 Received DATA (on stdin)
03:00:49.428341 > 28 bytes data, server => client
03:00:49.428352 '500 CCC is not dealt with!\r\n'
03:00:49.429635 < 5 bytes data, client => server
03:00:49.429649 'PWD\r\n'
03:00:49.429723 Received DATA (on stdin)
03:00:49.429735 > 30 bytes data, server => client
03:00:49.429745 '257 "/" is current directory\r\n'
03:00:49.436368 < 6 bytes data, client => server
03:00:49.436391 'EPSV\r\n'
03:00:49.438255 Received DATA (on stdin)
03:00:49.438279 > 38 bytes data, server => client
03:00:49.438295 '229 Entering Passive Mode (|||40371|)\n'
03:00:49.450817 < 8 bytes data, client => server
03:00:49.450839 'TYPE A\r\n'
03:00:49.450957 Received DATA (on stdin)
03:00:49.450980 > 33 bytes data, server => client
03:00:49.450995 '200 I modify TYPE as you wanted\r\n'
03:00:49.453016 < 6 bytes data, client => server
03:00:49.453038 'LIST\r\n'
03:00:49.453142 Received DATA (on stdin)
03:00:49.453165 > 28 bytes data, server => client
03:00:49.453180 '150 here comes a directory\r\n'
03:00:49.453909 Received DATA (on stdin)
03:00:49.453937 > 29 bytes data, server => client
03:00:49.453958 '226 ASCII transfer complete\r\n'
03:00:49.512240 < 6 bytes data, client => server
03:00:49.512268 'QUIT\r\n'
03:00:49.512382 Received DATA (on stdin)
03:00:49.512395 > 18 bytes data, server => client
03:00:49.512404 '221 bye bye baby\r\n'
03:00:49.516776 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:00:49.437957 Running IPv4 version
03:00:49.438033 Listening on port 40371
03:00:49.438061 Wrote pid 27590 to ./.ftp_sockdata.pid
03:00:49.438075 Received PING (on stdin)
03:00:49.438140 Received PORT (on stdin)
03:00:49.445598 ====> Client connect
03:00:49.453172 Received DATA (on stdin)
03:00:49.453192 > 10 bytes data, server => client
03:00:49.453206 'total 20\r\n'
03:00:49.453234 Received DATA (on stdin)
03:00:49.453249 > 57 bytes data, server => client
03:00:49.453265 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:00:49.453287 Received DATA (on stdin)
03:00:49.453301 > 58 bytes data, server => client
03:00:49.453318 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:00:49.453339 Received DATA (on stdin)
03:00:49.453352 > 61 bytes data, server => client
03:00:49.453368 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:00:49.453379 '\n'
03:00:49.453398 Received DATA (on stdin)
03:00:49.453411 > 62 bytes data, server => client
03:00:49.453429 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:00:49.453440 '\n'
03:00:49.453460 Received DATA (on stdin)
03:00:49.453474 > 70 bytes data, server => client
03:00:49.453492 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:00:49.453503 'usr/bin\r\n'
03:00:49.453523 Received DATA (on stdin)
03:00:49.453536 > 59 bytes data, server => client
03:00:49.453554 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:00:49.453576 Received DATA (on stdin)
03:00:49.453589 > 69 bytes data, server => client
03:00:49.453608 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:00:49.453620 'd.html\r\n'
03:00:49.453640 Received DATA (on stdin)
03:00:49.453653 > 59 bytes data, server => client
03:00:49.453665 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:00:49.453682 Received DATA (on stdin)
03:00:49.453692 > 59 bytes data, server => client
03:00:49.453704 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:00:49.453719 Received DATA (on stdin)
03:00:49.453729 > 59 bytes data, server => client
03:00:49.453741 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:00:49.453757 Received DISC (on stdin)
03:00:49.453769 ====> Client forcibly disconnected
03:00:49.453800 Received QUIT (on stdin)
03:00:49.453812 quits
03:00:49.453827 ============> 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 277 0 --:--:-- 0:00:02 --:--:-- 287
=== End of file stderr403
=== Start of file trace403
03:00:47.233055 == Info: STATE: INIT => CONNECT handle 0x56c8098; line 1491 (connection #-5000)
03:00:47.290185 == Info: Added connection 0. The cache now contains 1 members
03:00:47.307726 == Info: Trying 127.0.0.1:8993...
03:00:47.308334 == Info: TCP_NODELAY set
03:00:47.313620 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8098; line 1547 (connection #0)
03:00:47.325267 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:47.325832 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8098; line 1665 (connection #0)
03:00:47.326949 == Info: Marked for [keep alive]: FTP default
03:00:48.802173 == Info: successfully set certificate verify locations:
03:00:48.802446 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:48.919861 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:00:48.925080 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:48.925145 => Send SSL data, 126 bytes (0x7e)
0000: ...z.....5.#,..~....*.,...%......@.[j.....+./.,.0...............
0040: ../.5.....3...................................................
03:00:48.942049 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:48.947626 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:48.947684 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..U..C+.E.tU..A...<.k....A.L...... ......+Q...Q.....y.67!..x
0040: m].t}'../................
03:00:48.991541 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:48.991899 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:48.991957 <= 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:49.090978 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:49.091204 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:49.091264 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.x...g.*.w #.. .u.>.!K.....f.).Q.0........u...53|iA.&A..
0040: .q.bhS7.......O.d..#.p.#YNN._...k.Y..TC....X..r........,.......P
0080: ...*.X......+....*.W..=............y.q.[3..X..Z......Eg....[.h9y
00c0: .v.....;y).=.......nSB..%.....u!.l5.........KjO^(....mC...*....+
0100: Z.....g.3.^D.......=ZU..^....hx,........d>....slk.c..v......E...
0140: ..>.O.6....+.
03:00:49.161366 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:49.161599 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:49.161660 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:49.277141 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:49.277344 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:49.277403 => Send SSL data, 70 bytes (0x46)
0000: ...BA.;...yL..uA......-h.....EL0....\X<......f`P_.s.9..dx.m..b.J
0040: .~.T..
03:00:49.289354 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:49.289938 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:49.289996 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:49.311429 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:49.311489 => Send SSL data, 16 bytes (0x10)
0000: ............@...
03:00:49.323973 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:49.326504 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:49.327601 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:49.327659 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:49.330121 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:49.335803 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:49.335859 <= Recv SSL data, 16 bytes (0x10)
0000: ....@.d.2kS{..zE
03:00:49.364251 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:49.366485 == Info: Server certificate:
03:00:49.373994 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:49.380146 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:49.381101 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:49.382027 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:49.382908 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:49.384413 == Info: FTP 0x5743ea0 (line 3092) state change from STOP to WAIT220
03:00:49.390427 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:49.398286 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:00:49.402010 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:00:49.402205 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:00:49.402390 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:00:49.402573 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:00:49.410324 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:49.413255 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:00:49.414047 == Info: FTP 0x5743ea0 (line 792) state change from WAIT220 to USER
03:00:49.414809 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8098; line 1682 (connection #0)
03:00:49.420943 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:49.421608 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:00:49.422867 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:49.422990 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:00:49.423369 == Info: FTP 0x5743ea0 (line 2520) state change from USER to PASS
03:00:49.424388 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:49.424539 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:00:49.425231 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:49.425350 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:00:49.425675 == Info: FTP 0x5743ea0 (line 2496) state change from PASS to PBSZ
03:00:49.425970 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:49.426110 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:00:49.426646 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:49.426761 => Send header, 8 bytes (0x8)
0000: PROT C
03:00:49.427091 == Info: FTP 0x5743ea0 (line 2709) state change from PBSZ to PROT
03:00:49.427336 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:49.427475 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:00:49.428076 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:49.428192 => Send header, 5 bytes (0x5)
0000: CCC
03:00:49.428515 == Info: FTP 0x5743ea0 (line 2728) state change from PROT to CCC
03:00:49.428763 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:00:49.428902 <= Recv header, 28 bytes (0x1c)
0000: 500 CCC is not dealt with
03:00:49.429480 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:49.429595 => Send header, 5 bytes (0x5)
0000: PWD
03:00:49.429909 == Info: FTP 0x5743ea0 (line 804) state change from CCC to PWD
03:00:49.430238 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:49.430378 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:00:49.431519 == Info: Entry path is '/'
03:00:49.431748 == Info: FTP 0x5743ea0 (line 2844) state change from PWD to STOP
03:00:49.431915 == Info: protocol connect phase DONE
03:00:49.432160 == Info: STATE: PROTOCONNECT => DO handle 0x56c8098; line 1701 (connection #0)
03:00:49.434149 == Info: DO phase starts
03:00:49.436201 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:49.436326 => Send header, 6 bytes (0x6)
0000: EPSV
03:00:49.436673 == Info: FTP 0x5743ea0 (line 1330) state change from STOP to PASV
03:00:49.436848 == Info: Connect data stream passively
03:00:49.437626 == Info: ftp_perform ends with SECONDARY: 0
03:00:49.438343 == Info: STATE: DO => DOING handle 0x56c8098; line 1743 (connection #0)
03:00:49.439255 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:00:49.439403 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||40371|).
03:00:49.445433 == Info: Trying 127.0.0.1:40371...
03:00:49.445495 == Info: TCP_NODELAY set
03:00:49.446192 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 40371
03:00:49.447305 == Info: FTP 0x5743ea0 (line 1977) state change from PASV to STOP
03:00:49.447937 == Info: DO phase is complete2
03:00:49.448368 == Info: STATE: DOING => DO_MORE handle 0x56c8098; line 1825 (connection #0)
03:00:49.449090 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:49.449307 == Info: DO-MORE connected phase starts
03:00:49.450630 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:49.450752 => Send header, 8 bytes (0x8)
0000: TYPE A
03:00:49.451097 == Info: FTP 0x5743ea0 (line 3418) state change from STOP to LIST_TYPE
03:00:49.451484 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:49.451629 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:00:49.452834 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:49.452953 => Send header, 6 bytes (0x6)
0000: LIST
03:00:49.453508 == Info: FTP 0x5743ea0 (line 1486) state change from LIST_TYPE to LIST
03:00:49.455126 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:00:49.455270 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:00:49.455867 == Info: Maxdownload = -1
03:00:49.457208 == Info: FTP 0x5743ea0 (line 477) state change from LIST to STOP
03:00:49.457918 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8098; line 1850 (connection #0)
03:00:49.458314 == Info: STATE: DO_DONE => PERFORM handle 0x56c8098; line 1877 (connection #0)
03:00:49.461785 <= 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:49.470429 == Info: nread <= 0, server closed connection, bailing
03:00:49.471602 == Info: STATE: PERFORM => DONE handle 0x56c8098; line 2067 (connection #0)
03:00:49.471930 == Info: multi_done
03:00:49.475253 == Info: Remembering we are in dir ""
03:00:49.478492 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:00:49.478638 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:00:49.484400 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:49.486252 == Info: Expire cleared (transfer 0x56c8098)
=== End of file trace403
=== Start of file valgrind403
==27587== Invalid read of size 8
==27587== at 0x53335A5: check_free (dlerror.c:188)
==27587== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27587== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27587== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27587== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27587== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27587== by 0x4C4AEB9: exit (exit.c:139)
==27587== by 0x4C350A1: (below main) (libc-start.c:342)
==27587== Address 0x5af7dd0 is 0 bytes after a block of size 32 alloc'd
==27587== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27587== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27587== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27587== by 0x24AE36: err_get_state (err.c:210)
==27587== by 0x24BA0C: ERR_put_error (err.c:636)
==27587== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27587== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27587== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27587== by 0x270058: by_file_ctrl (by_file.c:111)
==27587== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27587== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27587== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27587== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27587== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27587== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27587== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27587==
==27587== Invalid free() / delete / delete[] / realloc()
==27587== at 0x48369AB: free (vg_replace_malloc.c:540)
==27587== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27587== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27587== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27587== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27587== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27587== by 0x4C4AEB9: exit (exit.c:139)
==27587== by 0x4C350A1: (below main) (libc-start.c:342)
==27587== Address 0x5af7db8 is 8 bytes inside a block of size 32 alloc'd
==27587== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27587== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27587== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27587== by 0x24AE36: err_get_state (err.c:210)
==27587== by 0x24BA0C: ERR_put_error (err.c:636)
==27587== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27587== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27587== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27587== by 0x270058: by_file_ctrl (by_file.c:111)
==27587== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27587== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27587== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27587== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27587== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27587== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27587== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27587==
==27587== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27587== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27587== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27587== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27587== by 0x24AE36: err_get_state (err.c:210)
==27587== by 0x24BA0C: ERR_put_error (err.c:636)
==27587== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27587== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27587== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27587== by 0x270058: by_file_ctrl (by_file.c:111)
==27587== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27587== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27587== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27587== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27587== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27587== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27587== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27587==
=== End of file valgrind403
test 0404...[FTPS with invalid cacert]
goto problem 17
valgrind ERROR ==27593== Invalid read of size 8
==27593== at 0x53335A5: check_free (dlerror.c:188)
==27593== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27593== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27593== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27593== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27593== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27593== by 0x4C4AEB9: exit (exit.c:139)
==27593== by 0x4C350A1: (below main) (libc-start.c:342)
==27593== Address 0x5758b10 is 0 bytes after a block of size 32 alloc'd
==27593== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27593== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27593== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27593== by 0x24AE36: err_get_state (err.c:210)
==27593== by 0x24BA0C: ERR_put_error (err.c:636)
==27593== by 0x23B2DD: BIO_new_file (file.c:99)
==27593== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==27593== by 0x270058: by_file_ctrl (by_file.c:111)
==27593== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27593== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27593== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27593== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27593== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27593== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27593== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27593== by 0x1D373F: ftp_connect (ftp.c:3083)
==27593==
==27593== Invalid free() / delete / delete[] / realloc()
==27593== at 0x48369AB: free (vg_replace_malloc.c:540)
==27593== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27593== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27593== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27593== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27593== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27593== by 0x4C4AEB9: exit (exit.c:139)
==27593== by 0x4C350A1: (below main) (libc-start.c:342)
==27593== Address 0x5758af8 is 8 bytes inside a block of size 32 alloc'd
==27593== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27593== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27593== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27593== by 0x24AE36: err_get_state (err.c:210)
==27593== by 0x24BA0C: ERR_put_error (err.c:636)
==27593== by 0x23B2DD: BIO_new_file (file.c:99)
==27593== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==27593== by 0x270058: by_file_ctrl (by_file.c:111)
==27593== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27593== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27593== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27593== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27593== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27593== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27593== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27593== by 0x1D373F: ftp_connect (ftp.c:3083)
==27593==
==27593== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==27593== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27593== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27593== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27593== by 0x24AE36: err_get_state (err.c:210)
==27593== by 0x24BA0C: ERR_put_error (err.c:636)
==27593== by 0x23B2DD: BIO_new_file (file.c:99)
==27593== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==27593== by 0x270058: by_file_ctrl (by_file.c:111)
==27593== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27593== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27593== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27593== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27593== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27593== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27593== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27593== by 0x1D373F: ftp_connect (ftp.c:3083)
==27593==
== 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:50.568331 == Info: STATE: INIT => CONNECT handle 0x56c8538; line 1491 (connection #-5000)
03:00:50.623338 == Info: Added connection 0. The cache now contains 1 members
03:00:50.640545 == Info: Trying 127.0.0.1:8993...
03:00:50.641153 == Info: TCP_NODELAY set
03:00:50.646267 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8538; line 1547 (connection #0)
03:00:50.657867 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:50.658429 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8538; line 1665 (connection #0)
03:00:50.659542 == Info: Marked for [keep alive]: FTP default
03:00:50.718161 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
03:00:50.718976 == Info: multi_done
03:00:50.721000 == Info: Marked for [closure]: FTP ended with bad error code
03:00:50.729162 == Info: Closing connection 0
03:00:50.748843 == Info: The cache now contains 0 members
03:00:50.756594 == Info: Expire cleared (transfer 0x56c8538)
=== End of file trace404
=== Start of file valgrind404
==27593== Invalid read of size 8
==27593== at 0x53335A5: check_free (dlerror.c:188)
==27593== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27593== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27593== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27593== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27593== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27593== by 0x4C4AEB9: exit (exit.c:139)
==27593== by 0x4C350A1: (below main) (libc-start.c:342)
==27593== Address 0x5758b10 is 0 bytes after a block of size 32 alloc'd
==27593== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27593== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27593== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27593== by 0x24AE36: err_get_state (err.c:210)
==27593== by 0x24BA0C: ERR_put_error (err.c:636)
==27593== by 0x23B2DD: BIO_new_file (file.c:99)
==27593== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==27593== by 0x270058: by_file_ctrl (by_file.c:111)
==27593== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27593== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27593== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27593== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27593== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27593== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27593== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27593== by 0x1D373F: ftp_connect (ftp.c:3083)
==27593==
==27593== Invalid free() / delete / delete[] / realloc()
==27593== at 0x48369AB: free (vg_replace_malloc.c:540)
==27593== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27593== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27593== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27593== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27593== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27593== by 0x4C4AEB9: exit (exit.c:139)
==27593== by 0x4C350A1: (below main) (libc-start.c:342)
==27593== Address 0x5758af8 is 8 bytes inside a block of size 32 alloc'd
==27593== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27593== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27593== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27593== by 0x24AE36: err_get_state (err.c:210)
==27593== by 0x24BA0C: ERR_put_error (err.c:636)
==27593== by 0x23B2DD: BIO_new_file (file.c:99)
==27593== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==27593== by 0x270058: by_file_ctrl (by_file.c:111)
==27593== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27593== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27593== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27593== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27593== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27593== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27593== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27593== by 0x1D373F: ftp_connect (ftp.c:3083)
==27593==
==27593== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==27593== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27593== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27593== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27593== by 0x24AE36: err_get_state (err.c:210)
==27593== by 0x24BA0C: ERR_put_error (err.c:636)
==27593== by 0x23B2DD: BIO_new_file (file.c:99)
==27593== by 0x270525: X509_load_cert_crl_file (by_file.c:250)
==27593== by 0x270058: by_file_ctrl (by_file.c:111)
==27593== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27593== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27593== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27593== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27593== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27593== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27593== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27593== by 0x1D373F: ftp_connect (ftp.c:3083)
==27593==
=== End of file valgrind404
test 0405...[FTPS operation to FTP port]
goto problem 18
valgrind ERROR ==27597== Invalid read of size 8
==27597== at 0x53335A5: check_free (dlerror.c:188)
==27597== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27597== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27597== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27597== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27597== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27597== by 0x4C4AEB9: exit (exit.c:139)
==27597== by 0x4C350A1: (below main) (libc-start.c:342)
==27597== Address 0x5af7e40 is 0 bytes after a block of size 32 alloc'd
==27597== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27597== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27597== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27597== by 0x24AE36: err_get_state (err.c:210)
==27597== by 0x24BA0C: ERR_put_error (err.c:636)
==27597== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27597== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27597== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27597== by 0x270058: by_file_ctrl (by_file.c:111)
==27597== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27597== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27597== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27597== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27597== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27597== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27597== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27597==
==27597== Invalid free() / delete / delete[] / realloc()
==27597== at 0x48369AB: free (vg_replace_malloc.c:540)
==27597== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27597== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27597== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27597== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27597== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27597== by 0x4C4AEB9: exit (exit.c:139)
==27597== by 0x4C350A1: (below main) (libc-start.c:342)
==27597== Address 0x5af7e28 is 8 bytes inside a block of size 32 alloc'd
==27597== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27597== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27597== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27597== by 0x24AE36: err_get_state (err.c:210)
==27597== by 0x24BA0C: ERR_put_error (err.c:636)
==27597== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27597== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27597== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27597== by 0x270058: by_file_ctrl (by_file.c:111)
==27597== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27597== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27597== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27597== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27597== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27597== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27597== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27597==
==27597== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==27597== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27597== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27597== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27597== by 0x24AE36: err_get_state (err.c:210)
==27597== by 0x24BA0C: ERR_put_error (err.c:636)
==27597== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27597== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27597== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27597== by 0x270058: by_file_ctrl (by_file.c:111)
==27597== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27597== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27597== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27597== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27597== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27597== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27597== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27597==
== Contents of files in the log/ dir after test 405
=== Start of file ftp_server.log
03:00:51.979753 ====> Client connect
03:00:51.979869 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:53.670650 MAIN sockfilt said DISC
03:00:53.670705 ====> Client disconnected
03:00:53.670749 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:00:51.840380 ====> Client connect
03:00:51.840593 Received DATA (on stdin)
03:00:51.840618 > 160 bytes data, server => client
03:00:51.840635 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:51.840650 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:51.840663 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:53.427447 < 131 bytes data, client => server
03:00:53.427490 '....~...z....)pK.(J....y.........m.gC.J........+./.,.0..... .'
03:00:53.427504 '..\n......./.5.\n...3..........\n...........[0B].....\r.........'
03:00:53.427513 '.............'
03:00:53.445623 < 7 bytes data, client => server
03:00:53.445650 '......F'
03:00:53.531304 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file server.input
[16][03][01]
[C0][14]
[01]


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

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (35) error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
=== End of file stderr405
=== Start of file trace405
03:00:51.763693 == Info: STATE: INIT => CONNECT handle 0x56c80c8; line 1491 (connection #-5000)
03:00:51.820023 == Info: Added connection 0. The cache now contains 1 members
03:00:51.837211 == Info: Trying 127.0.0.1:8992...
03:00:51.837820 == Info: TCP_NODELAY set
03:00:51.842384 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c80c8; line 1547 (connection #0)
03:00:51.853989 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8992 (#0)
03:00:51.854553 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c80c8; line 1665 (connection #0)
03:00:51.855666 == Info: Marked for [keep alive]: FTP default
03:00:53.303133 == Info: successfully set certificate verify locations:
03:00:53.303399 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:53.416944 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:00:53.422146 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:53.422209 => Send SSL data, 126 bytes (0x7e)
0000: ...z....)pK.(J....y.........m.gC.J........+./.,.0...............
0040: ../.5.....3...................................................
03:00:53.444087 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:53.447211 == Info: TLSv1.2 (OUT), TLS alert, protocol version (582):
03:00:53.447270 => Send SSL data, 2 bytes (0x2)
0000: .F
03:00:53.455712 == Info: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
03:00:53.456548 == Info: multi_done
03:00:53.458645 == Info: Marked for [closure]: FTP ended with bad error code
03:00:53.467133 == Info: Closing connection 0
03:00:53.534208 == Info: The cache now contains 0 members
03:00:53.541965 == Info: Expire cleared (transfer 0x56c80c8)
=== End of file trace405
=== Start of file valgrind405
==27597== Invalid read of size 8
==27597== at 0x53335A5: check_free (dlerror.c:188)
==27597== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27597== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27597== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27597== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27597== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27597== by 0x4C4AEB9: exit (exit.c:139)
==27597== by 0x4C350A1: (below main) (libc-start.c:342)
==27597== Address 0x5af7e40 is 0 bytes after a block of size 32 alloc'd
==27597== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27597== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27597== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27597== by 0x24AE36: err_get_state (err.c:210)
==27597== by 0x24BA0C: ERR_put_error (err.c:636)
==27597== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27597== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27597== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27597== by 0x270058: by_file_ctrl (by_file.c:111)
==27597== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27597== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27597== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27597== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27597== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27597== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27597== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27597==
==27597== Invalid free() / delete / delete[] / realloc()
==27597== at 0x48369AB: free (vg_replace_malloc.c:540)
==27597== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27597== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27597== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27597== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27597== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27597== by 0x4C4AEB9: exit (exit.c:139)
==27597== by 0x4C350A1: (below main) (libc-start.c:342)
==27597== Address 0x5af7e28 is 8 bytes inside a block of size 32 alloc'd
==27597== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27597== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27597== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27597== by 0x24AE36: err_get_state (err.c:210)
==27597== by 0x24BA0C: ERR_put_error (err.c:636)
==27597== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27597== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27597== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27597== by 0x270058: by_file_ctrl (by_file.c:111)
==27597== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27597== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27597== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27597== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27597== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27597== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27597== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27597==
==27597== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==27597== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27597== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27597== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27597== by 0x24AE36: err_get_state (err.c:210)
==27597== by 0x24BA0C: ERR_put_error (err.c:636)
==27597== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27597== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27597== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27597== by 0x270058: by_file_ctrl (by_file.c:111)
==27597== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27597== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27597== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27597== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27597== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27597== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27597== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27597==
=== End of file valgrind405
test 0406...[FTPS dir list, PORT with specified IP]
goto problem 19
valgrind ERROR ==27600== Invalid read of size 8
==27600== at 0x53335A5: check_free (dlerror.c:188)
==27600== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27600== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27600== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27600== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27600== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27600== by 0x4C4AEB9: exit (exit.c:139)
==27600== by 0x4C350A1: (below main) (libc-start.c:342)
==27600== Address 0x5af86d0 is 0 bytes after a block of size 32 alloc'd
==27600== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27600== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27600== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27600== by 0x24AE36: err_get_state (err.c:210)
==27600== by 0x24BA0C: ERR_put_error (err.c:636)
==27600== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27600== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27600== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27600== by 0x270058: by_file_ctrl (by_file.c:111)
==27600== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27600== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27600== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27600== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27600== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27600== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27600== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27600==
==27600== Invalid free() / delete / delete[] / realloc()
==27600== at 0x48369AB: free (vg_replace_malloc.c:540)
==27600== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27600== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27600== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27600== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27600== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27600== by 0x4C4AEB9: exit (exit.c:139)
==27600== by 0x4C350A1: (below main) (libc-start.c:342)
==27600== Address 0x5af86b8 is 8 bytes inside a block of size 32 alloc'd
==27600== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27600== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27600== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27600== by 0x24AE36: err_get_state (err.c:210)
==27600== by 0x24BA0C: ERR_put_error (err.c:636)
==27600== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27600== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27600== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27600== by 0x270058: by_file_ctrl (by_file.c:111)
==27600== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27600== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27600== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27600== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27600== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27600== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27600== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27600==
==27600== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27600== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27600== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27600== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27600== by 0x24AE36: err_get_state (err.c:210)
==27600== by 0x24BA0C: ERR_put_error (err.c:636)
==27600== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27600== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27600== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27600== by 0x270058: by_file_ctrl (by_file.c:111)
==27600== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27600== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27600== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27600== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27600== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27600== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27600== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27600==
== 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:56.853167 ====> Client connect
03:00:56.853267 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:56.940057 < "USER anonymous"
03:00:56.940101 > "331 We are happy you popped in![CR][LF]"
03:00:56.951028 < "PASS ftp@example.com"
03:00:56.951062 > "230 Welcome you silly person[CR][LF]"
03:00:56.953380 < "PBSZ 0"
03:00:56.953412 > "500 PBSZ not implemented[CR][LF]"
03:00:56.954785 < "PROT C"
03:00:56.954816 > "500 PROT not implemented[CR][LF]"
03:00:56.956277 < "PWD"
03:00:56.956310 > "257 "/" is current directory[CR][LF]"
03:00:56.976939 < "EPRT |1|127.0.0.1|55423|"
03:00:56.976970 ====> Active DATA channel requested by client
03:00:56.976997 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:00:56.977014 DATA sockfilt for active data channel starting...
03:00:56.978565 DATA sockfilt for active data channel started (pid 27602)
03:00:56.978602 ====> Active DATA channel connected to client port 55423
03:00:56.981921 < "TYPE A"
03:00:56.981960 > "200 I modify TYPE as you wanted[CR][LF]"
03:00:56.984091 < "LIST"
03:00:56.984122 > "150 here comes a directory[CR][LF]"
03:00:56.984146 pass LIST data on data connection
03:00:56.984217 =====> Closing active DATA connection...
03:00:56.984231 Server disconnects active DATA connection
03:00:56.984739 DATA sockfilt for active data channel quits (pid 27603)
03:00:56.984766 =====> Closed active DATA connection
03:00:56.984798 > "226 ASCII transfer complete[CR][LF]"
03:00:57.047114 < "QUIT"
03:00:57.047160 > "221 bye bye baby[CR][LF]"
03:00:57.051528 MAIN sockfilt said DISC
03:00:57.051552 ====> Client disconnected
03:00:57.051599 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:00:56.713780 ====> Client connect
03:00:56.713973 Received DATA (on stdin)
03:00:56.713992 > 160 bytes data, server => client
03:00:56.714012 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:56.714030 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:56.714046 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:56.800646 < 16 bytes data, client => server
03:00:56.800681 'USER anonymous\r\n'
03:00:56.800809 Received DATA (on stdin)
03:00:56.800824 > 33 bytes data, server => client
03:00:56.800836 '331 We are happy you popped in!\r\n'
03:00:56.811674 < 22 bytes data, client => server
03:00:56.811694 'PASS ftp@example.com\r\n'
03:00:56.811772 Received DATA (on stdin)
03:00:56.811787 > 30 bytes data, server => client
03:00:56.811797 '230 Welcome you silly person\r\n'
03:00:56.814017 < 8 bytes data, client => server
03:00:56.814031 'PBSZ 0\r\n'
03:00:56.814122 Received DATA (on stdin)
03:00:56.814133 > 26 bytes data, server => client
03:00:56.814143 '500 PBSZ not implemented\r\n'
03:00:56.815427 < 8 bytes data, client => server
03:00:56.815440 'PROT C\r\n'
03:00:56.815526 Received DATA (on stdin)
03:00:56.815538 > 26 bytes data, server => client
03:00:56.815547 '500 PROT not implemented\r\n'
03:00:56.816918 < 5 bytes data, client => server
03:00:56.816931 'PWD\r\n'
03:00:56.817020 Received DATA (on stdin)
03:00:56.817031 > 30 bytes data, server => client
03:00:56.817041 '257 "/" is current directory\r\n'
03:00:56.837579 < 26 bytes data, client => server
03:00:56.837595 'EPRT |1|127.0.0.1|55423|\r\n'
03:00:56.837707 Received DATA (on stdin)
03:00:56.837718 > 50 bytes data, server => client
03:00:56.837730 '200 Thanks for dropping by. We contact you later\r\n'
03:00:56.842547 < 8 bytes data, client => server
03:00:56.842563 'TYPE A\r\n'
03:00:56.842667 Received DATA (on stdin)
03:00:56.842677 > 33 bytes data, server => client
03:00:56.842687 '200 I modify TYPE as you wanted\r\n'
03:00:56.844733 < 6 bytes data, client => server
03:00:56.844746 'LIST\r\n'
03:00:56.844832 Received DATA (on stdin)
03:00:56.844842 > 28 bytes data, server => client
03:00:56.844853 '150 here comes a directory\r\n'
03:00:56.845505 Received DATA (on stdin)
03:00:56.845518 > 29 bytes data, server => client
03:00:56.845528 '226 ASCII transfer complete\r\n'
03:00:56.907725 < 6 bytes data, client => server
03:00:56.907767 'QUIT\r\n'
03:00:56.907889 Received DATA (on stdin)
03:00:56.907913 > 18 bytes data, server => client
03:00:56.907927 '221 bye bye baby\r\n'
03:00:56.912206 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:00:56.839105 ====> Client connect
03:00:56.839182 Running IPv4 version
03:00:56.839192 Connected to port 55423
03:00:56.839215 Wrote pid 27603 to ./.ftp_sockdata.pid
03:00:56.839230 Received PING (on stdin)
03:00:56.844896 Received DATA (on stdin)
03:00:56.844925 > 10 bytes data, server => client
03:00:56.844943 'total 20\r\n'
03:00:56.844968 Received DATA (on stdin)
03:00:56.844979 > 57 bytes data, server => client
03:00:56.844992 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:00:56.845008 Received DATA (on stdin)
03:00:56.845019 > 58 bytes data, server => client
03:00:56.845031 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:00:56.845046 Received DATA (on stdin)
03:00:56.845056 > 61 bytes data, server => client
03:00:56.845068 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:00:56.845076 '\n'
03:00:56.845091 Received DATA (on stdin)
03:00:56.845101 > 62 bytes data, server => client
03:00:56.845113 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:00:56.845121 '\n'
03:00:56.845135 Received DATA (on stdin)
03:00:56.845145 > 70 bytes data, server => client
03:00:56.845158 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:00:56.845166 'usr/bin\r\n'
03:00:56.845180 Received DATA (on stdin)
03:00:56.845191 > 59 bytes data, server => client
03:00:56.845203 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:00:56.845218 Received DATA (on stdin)
03:00:56.845228 > 69 bytes data, server => client
03:00:56.845240 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:00:56.845249 'd.html\r\n'
03:00:56.845263 Received DATA (on stdin)
03:00:56.845273 > 59 bytes data, server => client
03:00:56.845285 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:00:56.845301 Received DATA (on stdin)
03:00:56.845311 > 59 bytes data, server => client
03:00:56.845323 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:00:56.845338 Received DATA (on stdin)
03:00:56.845348 > 59 bytes data, server => client
03:00:56.845360 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:00:56.845375 Received DISC (on stdin)
03:00:56.845388 ====> Client forcibly disconnected
03:00:56.845404 disconnected, no socket to read on
03:00:56.845415 Received QUIT (on stdin)
03:00:56.845423 quits
03:00:56.845436 ============> 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|55423|
TYPE A
LIST
QUIT
=== End of file server.input
=== Start of file stderr406
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 623 0 623 0 0 270 0 --:--:-- 0:00:02 --:--:-- 280
=== End of file stderr406
=== Start of file trace406
03:00:54.571494 == Info: STATE: INIT => CONNECT handle 0x56c8538; line 1491 (connection #-5000)
03:00:54.629132 == Info: Added connection 0. The cache now contains 1 members
03:00:54.646972 == Info: Trying 127.0.0.1:8993...
03:00:54.647601 == Info: TCP_NODELAY set
03:00:54.652956 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8538; line 1547 (connection #0)
03:00:54.665125 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:54.665710 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8538; line 1665 (connection #0)
03:00:54.666865 == Info: Marked for [keep alive]: FTP default
03:00:56.194783 == Info: successfully set certificate verify locations:
03:00:56.195050 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:56.308675 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:00:56.313948 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:56.314007 => Send SSL data, 126 bytes (0x7e)
0000: ...z..M.*.....{..$R.7.,......M...L.03{....+./.,.0...............
0040: ../.5.....3...................................................
03:00:56.331082 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:56.336731 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:56.336790 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...c....Pe.%.$.p.I.........J.r.~.. ..%h....m.9>....j.._.....
0040: ?.....x./................
03:00:56.380946 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:56.381323 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:56.381379 <= 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.480501 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:56.480735 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:56.480792 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.x...g.*.w #.. .u.>.!K.....f.).Q.0........u...53|iA.&A..
0040: .q.bhS7........7.r..3....../c6..Q3..MA..a.JH....G...b.E...m._.9.
0080: .........}.W....m.FF...u..4......Y.lC..'.1}.=.{.........uEa...C.
00c0: .O1.C.AS$......aoP*..Q.]....fku.f.t..9:A.E.N;iU..J...R..V...h...
0100: ....*........M..Y..l.@.....Km$eM4Zr..$X.e`/.[]._..$...........2.
0140: ..D.Vk.....K.
03:00:56.550413 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:56.550633 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:56.550688 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:56.666257 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:56.666466 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:56.666521 => Send SSL data, 70 bytes (0x46)
0000: ...BA.9..E.....2.....v..,.....$...........'.tw3...{.b.%,.......<
0040: ..[_n.
03:00:56.678441 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:56.679021 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:56.679078 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:56.700447 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:56.700504 => Send SSL data, 16 bytes (0x10)
0000: ........F6.V8%o.
03:00:56.712936 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:56.715457 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:56.716557 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:56.716615 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:56.719066 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:56.724753 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:56.724812 <= Recv SSL data, 16 bytes (0x10)
0000: ........v.Bd.q.m
03:00:56.753129 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:56.755335 == Info: Server certificate:
03:00:56.762837 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:56.768974 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:56.769921 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:56.770858 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:56.771725 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:56.773245 == Info: FTP 0x57447e0 (line 3092) state change from STOP to WAIT220
03:00:56.779232 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:56.787026 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:00:56.790729 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:00:56.790922 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:00:56.791104 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:00:56.791285 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:00:56.799002 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:56.801917 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:00:56.802695 == Info: FTP 0x57447e0 (line 792) state change from WAIT220 to USER
03:00:56.803455 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8538; line 1682 (connection #0)
03:00:56.809578 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:56.810243 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:00:56.811506 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:56.811629 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:00:56.812005 == Info: FTP 0x57447e0 (line 2520) state change from USER to PASS
03:00:56.813028 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:56.813172 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:00:56.813859 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:56.813976 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:00:56.814304 == Info: FTP 0x57447e0 (line 2496) state change from PASS to PBSZ
03:00:56.814601 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:56.814740 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:00:56.815273 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:56.815388 => Send header, 8 bytes (0x8)
0000: PROT C
03:00:56.815716 == Info: FTP 0x57447e0 (line 2709) state change from PBSZ to PROT
03:00:56.815961 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:56.816099 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:00:56.816763 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:56.816879 => Send header, 5 bytes (0x5)
0000: PWD
03:00:56.817195 == Info: FTP 0x57447e0 (line 804) state change from PROT to PWD
03:00:56.817522 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:56.817660 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:00:56.818773 == Info: Entry path is '/'
03:00:56.818997 == Info: FTP 0x57447e0 (line 2844) state change from PWD to STOP
03:00:56.819162 == Info: protocol connect phase DONE
03:00:56.819407 == Info: STATE: PROTOCONNECT => DO handle 0x56c8538; line 1701 (connection #0)
03:00:56.821329 == Info: DO phase starts
03:00:56.837418 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:00:56.837539 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|55423|
03:00:56.838113 == Info: FTP 0x57447e0 (line 1293) state change from STOP to PORT
03:00:56.838803 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:00:56.839166 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:00:56.839695 == Info: Connect data stream actively
03:00:56.839898 == Info: FTP 0x57447e0 (line 2011) state change from PORT to STOP
03:00:56.840436 == Info: ftp_perform ends with SECONDARY: 1
03:00:56.840649 == Info: DO phase is complete1
03:00:56.842385 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:56.842504 => Send header, 8 bytes (0x8)
0000: TYPE A
03:00:56.842846 == Info: FTP 0x57447e0 (line 3418) state change from STOP to LIST_TYPE
03:00:56.843229 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:56.843372 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:00:56.844576 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:56.844696 => Send header, 6 bytes (0x6)
0000: LIST
03:00:56.845237 == Info: FTP 0x57447e0 (line 1486) state change from LIST_TYPE to LIST
03:00:56.846312 == Info: STATE: DO => DO_MORE handle 0x56c8538; line 1751 (connection #0)
03:00:56.847557 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:00:56.847700 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:00:56.848291 == Info: Maxdownload = -1
03:00:56.848595 == Info: Preparing for accepting server on data port
03:00:56.849638 == Info: Checking for server connect
03:00:56.850409 == Info: Ready to accept data connection from server
03:00:56.852144 == Info: Connection accepted from server
03:00:56.853640 == Info: FTP 0x57447e0 (line 477) state change from LIST to STOP
03:00:56.854629 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8538; line 1850 (connection #0)
03:00:56.855017 == Info: STATE: DO_DONE => PERFORM handle 0x56c8538; line 1877 (connection #0)
03:00:56.858651 <= 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:56.867445 == Info: nread <= 0, server closed connection, bailing
03:00:56.868626 == Info: STATE: PERFORM => DONE handle 0x56c8538; line 2067 (connection #0)
03:00:56.868949 == Info: multi_done
03:00:56.872251 == Info: Remembering we are in dir ""
03:00:56.875054 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:00:56.875239 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:00:56.880945 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace406
=== Start of file valgrind406
==27600== Invalid read of size 8
==27600== at 0x53335A5: check_free (dlerror.c:188)
==27600== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27600== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27600== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27600== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27600== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27600== by 0x4C4AEB9: exit (exit.c:139)
==27600== by 0x4C350A1: (below main) (libc-start.c:342)
==27600== Address 0x5af86d0 is 0 bytes after a block of size 32 alloc'd
==27600== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27600== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27600== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27600== by 0x24AE36: err_get_state (err.c:210)
==27600== by 0x24BA0C: ERR_put_error (err.c:636)
==27600== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27600== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27600== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27600== by 0x270058: by_file_ctrl (by_file.c:111)
==27600== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27600== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27600== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27600== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27600== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27600== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27600== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27600==
==27600== Invalid free() / delete / delete[] / realloc()
==27600== at 0x48369AB: free (vg_replace_malloc.c:540)
==27600== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27600== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27600== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27600== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27600== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27600== by 0x4C4AEB9: exit (exit.c:139)
==27600== by 0x4C350A1: (below main) (libc-start.c:342)
==27600== Address 0x5af86b8 is 8 bytes inside a block of size 32 alloc'd
==27600== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27600== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27600== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27600== by 0x24AE36: err_get_state (err.c:210)
==27600== by 0x24BA0C: ERR_put_error (err.c:636)
==27600== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27600== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27600== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27600== by 0x270058: by_file_ctrl (by_file.c:111)
==27600== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27600== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27600== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27600== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27600== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27600== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27600== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27600==
==27600== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27600== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27600== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27600== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27600== by 0x24AE36: err_get_state (err.c:210)
==27600== by 0x24BA0C: ERR_put_error (err.c:636)
==27600== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27600== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27600== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27600== by 0x270058: by_file_ctrl (by_file.c:111)
==27600== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27600== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27600== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27600== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27600== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27600== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27600== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27600==
=== End of file valgrind406
test 0407...[Get two FTPS files from the same remote dir: no second CWD]
goto problem 20
valgrind ERROR ==27606== Invalid read of size 8
==27606== at 0x53335A5: check_free (dlerror.c:188)
==27606== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27606== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27606== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27606== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27606== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27606== by 0x4C4AEB9: exit (exit.c:139)
==27606== by 0x4C350A1: (below main) (libc-start.c:342)
==27606== Address 0x5b51a30 is 0 bytes after a block of size 32 alloc'd
==27606== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27606== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27606== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27606== by 0x24AE36: err_get_state (err.c:210)
==27606== by 0x24BA0C: ERR_put_error (err.c:636)
==27606== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27606== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27606== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27606== by 0x270058: by_file_ctrl (by_file.c:111)
==27606== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27606== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27606== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27606== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27606== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27606== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27606== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27606==
==27606== Invalid free() / delete / delete[] / realloc()
==27606== at 0x48369AB: free (vg_replace_malloc.c:540)
==27606== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27606== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27606== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27606== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27606== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27606== by 0x4C4AEB9: exit (exit.c:139)
==27606== by 0x4C350A1: (below main) (libc-start.c:342)
==27606== Address 0x5b51a18 is 8 bytes inside a block of size 32 alloc'd
==27606== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27606== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27606== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27606== by 0x24AE36: err_get_state (err.c:210)
==27606== by 0x24BA0C: ERR_put_error (err.c:636)
==27606== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27606== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27606== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27606== by 0x270058: by_file_ctrl (by_file.c:111)
==27606== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27606== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27606== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27606== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27606== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27606== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27606== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27606==
==27606== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27606== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27606== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27606== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27606== by 0x24AE36: err_get_state (err.c:210)
==27606== by 0x24BA0C: ERR_put_error (err.c:636)
==27606== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27606== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27606== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27606== by 0x270058: by_file_ctrl (by_file.c:111)
==27606== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27606== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27606== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27606== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27606== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27606== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27606== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27606==
== Contents of files in the log/ dir after test 407
=== Start of file curl407.out
data blobb
=== End of file curl407.out
=== Start of file ftp_server.log
03:01:00.211993 ====> Client connect
03:01:00.212100 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:00.299400 < "USER anonymous"
03:01:00.299444 > "331 We are happy you popped in![CR][LF]"
03:01:00.310408 < "PASS ftp@example.com"
03:01:00.310440 > "230 Welcome you silly person[CR][LF]"
03:01:00.312802 < "PBSZ 0"
03:01:00.312833 > "500 PBSZ not implemented[CR][LF]"
03:01:00.314208 < "PROT C"
03:01:00.314238 > "500 PROT not implemented[CR][LF]"
03:01:00.315706 < "PWD"
03:01:00.315740 > "257 "/" is current directory[CR][LF]"
03:01:00.322799 < "CWD a"
03:01:00.322830 > "250 CWD command successful.[CR][LF]"
03:01:00.324423 < "CWD path"
03:01:00.324454 > "250 CWD command successful.[CR][LF]"
03:01:00.328063 < "EPSV"
03:01:00.328093 ====> Passive DATA channel requested by client
03:01:00.328106 DATA sockfilt for passive data channel starting...
03:01:00.329807 DATA sockfilt for passive data channel started (pid 27608)
03:01:00.329940 DATA sockfilt for passive data channel listens on port 44115
03:01:00.329992 > "229 Entering Passive Mode (|||44115|)[LF]"
03:01:00.330014 Client has been notified that DATA conn will be accepted on port 44115
03:01:00.336415 Client connects to port 44115
03:01:00.336446 ====> Client established passive DATA connection on port 44115
03:01:00.341432 < "TYPE I"
03:01:00.341466 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:00.343567 < "SIZE 407"
03:01:00.343739 > "213 11[CR][LF]"
03:01:00.347493 < "RETR 407"
03:01:00.347598 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:01:00.347662 =====> Closing passive DATA connection...
03:01:00.347682 Server disconnects passive DATA connection
03:01:00.347779 DATA sockfilt for passive data channel quits (pid 27609)
03:01:00.347802 =====> Closed passive DATA connection
03:01:00.347833 > "226 File transfer complete[CR][LF]"
03:01:00.419618 < "EPSV"
03:01:00.419657 ====> Passive DATA channel requested by client
03:01:00.419671 DATA sockfilt for passive data channel starting...
03:01:00.421581 DATA sockfilt for passive data channel started (pid 27610)
03:01:00.421706 DATA sockfilt for passive data channel listens on port 36555
03:01:00.421759 > "229 Entering Passive Mode (|||36555|)[LF]"
03:01:00.421780 Client has been notified that DATA conn will be accepted on port 36555
03:01:00.423253 Client connects to port 36555
03:01:00.423284 ====> Client established passive DATA connection on port 36555
03:01:00.424555 < "SIZE 407"
03:01:00.424711 > "213 11[CR][LF]"
03:01:00.425739 < "RETR 407"
03:01:00.425858 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:01:00.425947 =====> Closing passive DATA connection...
03:01:00.425978 Server disconnects passive DATA connection
03:01:00.426094 DATA sockfilt for passive data channel quits (pid 27611)
03:01:00.426126 =====> Closed passive DATA connection
03:01:00.426158 > "226 File transfer complete[CR][LF]"
03:01:00.492911 < "QUIT"
03:01:00.492952 > "221 bye bye baby[CR][LF]"
03:01:00.497203 MAIN sockfilt said DISC
03:01:00.497240 ====> Client disconnected
03:01:00.497288 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:00.072609 ====> Client connect
03:01:00.072803 Received DATA (on stdin)
03:01:00.072822 > 160 bytes data, server => client
03:01:00.072843 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:00.072862 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:00.072877 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:00.159980 < 16 bytes data, client => server
03:01:00.160017 'USER anonymous\r\n'
03:01:00.160169 Received DATA (on stdin)
03:01:00.160183 > 33 bytes data, server => client
03:01:00.160197 '331 We are happy you popped in!\r\n'
03:01:00.171038 < 22 bytes data, client => server
03:01:00.171062 'PASS ftp@example.com\r\n'
03:01:00.171172 Received DATA (on stdin)
03:01:00.171195 > 30 bytes data, server => client
03:01:00.171210 '230 Welcome you silly person\r\n'
03:01:00.173438 < 8 bytes data, client => server
03:01:00.173462 'PBSZ 0\r\n'
03:01:00.173566 Received DATA (on stdin)
03:01:00.173589 > 26 bytes data, server => client
03:01:00.173604 '500 PBSZ not implemented\r\n'
03:01:00.174846 < 8 bytes data, client => server
03:01:00.174869 'PROT C\r\n'
03:01:00.174971 Received DATA (on stdin)
03:01:00.174994 > 26 bytes data, server => client
03:01:00.175009 '500 PROT not implemented\r\n'
03:01:00.176339 < 5 bytes data, client => server
03:01:00.176362 'PWD\r\n'
03:01:00.176471 Received DATA (on stdin)
03:01:00.176494 > 30 bytes data, server => client
03:01:00.176510 '257 "/" is current directory\r\n'
03:01:00.183436 < 7 bytes data, client => server
03:01:00.183459 'CWD a\r\n'
03:01:00.183563 Received DATA (on stdin)
03:01:00.183586 > 29 bytes data, server => client
03:01:00.183602 '250 CWD command successful.\r\n'
03:01:00.185059 < 10 bytes data, client => server
03:01:00.185082 'CWD path\r\n'
03:01:00.185187 Received DATA (on stdin)
03:01:00.185210 > 29 bytes data, server => client
03:01:00.185225 '250 CWD command successful.\r\n'
03:01:00.188725 < 6 bytes data, client => server
03:01:00.188749 'EPSV\r\n'
03:01:00.190717 Received DATA (on stdin)
03:01:00.190753 > 38 bytes data, server => client
03:01:00.190775 '229 Entering Passive Mode (|||44115|)\n'
03:01:00.202056 < 8 bytes data, client => server
03:01:00.202079 'TYPE I\r\n'
03:01:00.202197 Received DATA (on stdin)
03:01:00.202220 > 33 bytes data, server => client
03:01:00.202236 '200 I modify TYPE as you wanted\r\n'
03:01:00.204203 < 10 bytes data, client => server
03:01:00.204226 'SIZE 407\r\n'
03:01:00.204449 Received DATA (on stdin)
03:01:00.204462 > 8 bytes data, server => client
03:01:00.204471 '213 11\r\n'
03:01:00.208129 < 10 bytes data, client => server
03:01:00.208152 'RETR 407\r\n'
03:01:00.208325 Received DATA (on stdin)
03:01:00.208338 > 51 bytes data, server => client
03:01:00.208354 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:01:00.208565 Received DATA (on stdin)
03:01:00.208588 > 28 bytes data, server => client
03:01:00.208609 '226 File transfer complete\r\n'
03:01:00.280228 < 6 bytes data, client => server
03:01:00.280261 'EPSV\r\n'
03:01:00.282486 Received DATA (on stdin)
03:01:00.282522 > 38 bytes data, server => client
03:01:00.282545 '229 Entering Passive Mode (|||36555|)\n'
03:01:00.285179 < 10 bytes data, client => server
03:01:00.285202 'SIZE 407\r\n'
03:01:00.285443 Received DATA (on stdin)
03:01:00.285477 > 8 bytes data, server => client
03:01:00.285497 '213 11\r\n'
03:01:00.286371 < 10 bytes data, client => server
03:01:00.286393 'RETR 407\r\n'
03:01:00.286583 Received DATA (on stdin)
03:01:00.286628 > 51 bytes data, server => client
03:01:00.286653 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:01:00.286866 Received DATA (on stdin)
03:01:00.286880 > 28 bytes data, server => client
03:01:00.286890 '226 File transfer complete\r\n'
03:01:00.353522 < 6 bytes data, client => server
03:01:00.353551 'QUIT\r\n'
03:01:00.353662 Received DATA (on stdin)
03:01:00.353679 > 18 bytes data, server => client
03:01:00.353689 '221 bye bye baby\r\n'
03:01:00.357870 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:00.190313 Running IPv4 version
03:01:00.190415 Listening on port 44115
03:01:00.190453 Wrote pid 27609 to ./.ftp_sockdata.pid
03:01:00.190473 Received PING (on stdin)
03:01:00.190565 Received PORT (on stdin)
03:01:00.197090 ====> Client connect
03:01:00.208340 Received DATA (on stdin)
03:01:00.208362 > 11 bytes data, server => client
03:01:00.208378 'data blobb\n'
03:01:00.208429 Received DISC (on stdin)
03:01:00.208446 ====> Client forcibly disconnected
03:01:00.208473 Received QUIT (on stdin)
03:01:00.208488 quits
03:01:00.208510 ============> sockfilt quits
03:01:00.282098 Running IPv4 version
03:01:00.282182 Listening on port 36555
03:01:00.282229 Wrote pid 27611 to ./.ftp_sockdata.pid
03:01:00.282250 Received PING (on stdin)
03:01:00.282336 Received PORT (on stdin)
03:01:00.283928 ====> Client connect
03:01:00.286614 Received DATA (on stdin)
03:01:00.286644 > 11 bytes data, server => client
03:01:00.286668 'data blobb\n'
03:01:00.286728 Received DISC (on stdin)
03:01:00.286751 ====> Client forcibly disconnected
03:01:00.286790 Received QUIT (on stdin)
03:01:00.286819 quits
03:01:00.286840 ============> 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 157 0 --:--:-- --:--:-- --:--:-- 196
=== End of file stderr407
=== Start of file stdout407
data blobb
=== End of file stdout407
=== Start of file trace407
03:00:58.001246 == Info: STATE: INIT => CONNECT handle 0x56c8a48; line 1491 (connection #-5000)
03:00:58.058048 == Info: Added connection 0. The cache now contains 1 members
03:00:58.075364 == Info: Trying 127.0.0.1:8993...
03:00:58.075978 == Info: TCP_NODELAY set
03:00:58.081116 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8a48; line 1547 (connection #0)
03:00:58.093148 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:58.093737 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8a48; line 1665 (connection #0)
03:00:58.094868 == Info: Marked for [keep alive]: FTP default
03:00:59.542659 == Info: successfully set certificate verify locations:
03:00:59.542919 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:59.656331 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:00:59.661549 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:59.661609 => Send SSL data, 126 bytes (0x7e)
0000: ...z...+.........9.!>h...'.;.....M\q......+./.,.0...............
0040: ../.5.....3...................................................
03:00:59.678535 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:59.684109 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:59.684166 <= Recv SSL data, 89 bytes (0x59)
0000: ...U... m......t......fty.......e....t ~ej...p.-.DA..L..OY....C.
0040: .....f../................
03:00:59.728000 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:59.728360 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:59.728422 <= 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.827170 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:59.827394 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:59.827451 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.x...g.*.w #.. .u.>.!K.....f.).Q.0........u...53|iA.&A..
0040: .q.bhS7........}q...P....x..h.R./)..?.s^......O?s.I^}..M..t$f...
0080: ...F'.3>?.|......U......[.B....G{....8..F.+.Mk....`7[.?.(...p...
00c0: '.X..w!..kT.g.A[7F].W.k.U.I..s..1O.5l.?..I....P#.......ztV.C.f.I...
0100: O... ]x7....ue:8hh.....Sa)...|l.......Z....A.r....:.;/..3Rh.M..f
0140: 3"....L.AQ..)
03:00:59.898914 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:59.899231 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:59.899317 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:00.024737 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:00.024944 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:00.025000 => Send SSL data, 70 bytes (0x46)
0000: ...BA....h7#....g..9...E.c.....!MG.@.H.r")...D.....v.."..Q...no.
0040: ...F0\
03:01:00.037029 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:00.037617 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:00.037675 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:00.059181 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:00.059240 => Send SSL data, 16 bytes (0x10)
0000: .....;R....A<...
03:01:00.071751 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:00.074280 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:00.075379 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:00.075437 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:00.077905 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:00.083607 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:00.083664 <= Recv SSL data, 16 bytes (0x10)
0000: ....<...t.......
03:01:00.112187 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:00.114418 == Info: Server certificate:
03:01:00.121954 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:00.128102 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:00.129060 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:00.129994 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:00.130862 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:00.132364 == Info: FTP 0x579db20 (line 3092) state change from STOP to WAIT220
03:01:00.138411 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:00.146276 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:00.149978 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:00.150170 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:00.150353 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:00.150533 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:00.158297 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:00.161243 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:00.162036 == Info: FTP 0x579db20 (line 792) state change from WAIT220 to USER
03:01:00.162795 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8a48; line 1682 (connection #0)
03:01:00.168958 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:00.169622 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:00.170879 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:00.171000 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:00.171381 == Info: FTP 0x579db20 (line 2520) state change from USER to PASS
03:01:00.172401 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:00.172554 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:00.173285 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:00.173403 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:00.173728 == Info: FTP 0x579db20 (line 2496) state change from PASS to PBSZ
03:01:00.174023 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:00.174162 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:00.174697 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:00.174813 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:00.175141 == Info: FTP 0x579db20 (line 2709) state change from PBSZ to PROT
03:01:00.175390 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:00.175528 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:00.176189 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:00.176306 => Send header, 5 bytes (0x5)
0000: PWD
03:01:00.176636 == Info: FTP 0x579db20 (line 804) state change from PROT to PWD
03:01:00.176962 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:00.177102 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:00.178215 == Info: Entry path is '/'
03:01:00.178439 == Info: FTP 0x579db20 (line 2844) state change from PWD to STOP
03:01:00.178607 == Info: protocol connect phase DONE
03:01:00.178852 == Info: STATE: PROTOCONNECT => DO handle 0x56c8a48; line 1701 (connection #0)
03:01:00.182061 == Info: DO phase starts
03:01:00.183281 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:00.183400 => Send header, 7 bytes (0x7)
0000: CWD a
03:01:00.183721 == Info: FTP 0x579db20 (line 895) state change from STOP to CWD
03:01:00.184127 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:00.184273 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:00.184909 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:00.185026 => Send header, 10 bytes (0xa)
0000: CWD path
03:01:00.185354 == Info: ftp_perform ends with SECONDARY: 0
03:01:00.186075 == Info: STATE: DO => DOING handle 0x56c8a48; line 1743 (connection #0)
03:01:00.186984 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:00.187127 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:00.188540 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:00.188659 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:00.188998 == Info: FTP 0x579db20 (line 1330) state change from CWD to PASV
03:01:00.189171 == Info: Connect data stream passively
03:01:00.191048 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:00.191199 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||44115|).
03:01:00.196904 == Info: Trying 127.0.0.1:44115...
03:01:00.196966 == Info: TCP_NODELAY set
03:01:00.197662 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 44115
03:01:00.198772 == Info: FTP 0x579db20 (line 1977) state change from PASV to STOP
03:01:00.199320 == Info: DO phase is complete2
03:01:00.199583 == Info: STATE: DOING => DO_MORE handle 0x56c8a48; line 1825 (connection #0)
03:01:00.200300 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:00.200529 == Info: DO-MORE connected phase starts
03:01:00.201895 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:00.202017 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:00.202357 == Info: FTP 0x579db20 (line 3418) state change from STOP to RETR_TYPE
03:01:00.202742 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:00.202886 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:00.204042 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:00.204162 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:01:00.204504 == Info: FTP 0x579db20 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:01:00.206147 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:01:00.206323 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:01:00.207975 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:00.208093 => Send header, 10 bytes (0xa)
0000: RETR 407
03:01:00.208441 == Info: FTP 0x579db20 (line 2229) state change from RETR_SIZE to RETR
03:01:00.208950 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:01:00.209307 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:01:00.210167 == Info: Maxdownload = -1
03:01:00.210375 == Info: Getting file with size: 11
03:01:00.211748 == Info: FTP 0x579db20 (line 477) state change from RETR to STOP
03:01:00.212301 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8a48; line 1850 (connection #0)
03:01:00.212701 == Info: STATE: DO_DONE => PERFORM handle 0x56c8a48; line 1877 (connection #0)
03:01:00.216155 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:01:00.221367 == Info: readwrite_data: we're done
03:01:00.221630 == Info: nread <= 0, server closed connection, bailing
03:01:00.222843 == Info: STATE: PERFORM => DONE handle 0x56c8a48; line 2067 (connection #0)
03:01:00.223171 == Info: multi_done
03:01:00.226073 == Info: Remembering we are in dir "a/path/"
03:01:00.229555 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:00.229702 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:00.235976 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:00.237828 == Info: Expire cleared (transfer 0x56c8a48)
03:01:00.263837 == Info: STATE: INIT => CONNECT handle 0x5722a78; line 1491 (connection #-5000)
03:01:00.267878 == Info: Found bundle for host 127.0.0.1: 0x57abb98 [serially]
03:01:00.276271 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:01:00.277078 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:00.277287 == Info: STATE: CONNECT => DO handle 0x5722a78; line 1540 (connection #0)
03:01:00.279384 == Info: Request has same path as previous transfer
03:01:00.279574 == Info: DO phase starts
03:01:00.279994 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:00.280141 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:00.280288 == Info: FTP 0x579db20 (line 1330) state change from STOP to PASV
03:01:00.280351 == Info: Connect data stream passively
03:01:00.280559 == Info: ftp_perform ends with SECONDARY: 0
03:01:00.280640 == Info: STATE: DO => DOING handle 0x5722a78; line 1743 (connection #0)
03:01:00.282833 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:00.282990 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||36555|).
03:01:00.283749 == Info: Trying 127.0.0.1:36555...
03:01:00.283809 == Info: TCP_NODELAY set
03:01:00.283943 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 36555
03:01:00.284093 == Info: FTP 0x579db20 (line 1977) state change from PASV to STOP
03:01:00.284153 == Info: DO phase is complete2
03:01:00.284228 == Info: STATE: DOING => DO_MORE handle 0x5722a78; line 1825 (connection #0)
03:01:00.284323 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:00.284383 == Info: DO-MORE connected phase starts
03:01:00.284630 == Info: FTP 0x579db20 (line 3413) state change from STOP to RETR_TYPE
03:01:00.285024 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:00.285143 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:01:00.285301 == Info: FTP 0x579db20 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:01:00.285768 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:01:00.285908 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:01:00.286219 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:00.286336 => Send header, 10 bytes (0xa)
0000: RETR 407
03:01:00.286493 == Info: FTP 0x579db20 (line 2229) state change from RETR_SIZE to RETR
03:01:00.286908 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:01:00.287064 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:01:00.287334 == Info: Maxdownload = -1
03:01:00.287395 == Info: Getting file with size: 11
03:01:00.287470 == Info: FTP 0x579db20 (line 477) state change from RETR to STOP
03:01:00.287555 == Info: STATE: DO_MORE => DO_DONE handle 0x5722a78; line 1850 (connection #0)
03:01:00.287642 == Info: STATE: DO_DONE => PERFORM handle 0x5722a78; line 1877 (connection #0)
03:01:00.287756 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:01:00.288215 == Info: readwrite_data: we're done
03:01:00.288282 == Info: nread <= 0, server closed connection, bailing
03:01:00.288370 == Info: STATE: PERFORM => DONE handle 0x5722a78; line 2067 (connection #0)
03:01:00.288441 == Info: multi_done
03:01:00.288657 == Info: Remembering we are in dir "a/path/"
03:01:00.333495 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:00.333872 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:00.335984 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:00.336310 == Info: Expire cleared (transfer 0x5722a78)
=== End of file trace407
=== Start of file valgrind407
==27606== Invalid read of size 8
==27606== at 0x53335A5: check_free (dlerror.c:188)
==27606== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27606== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27606== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27606== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27606== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27606== by 0x4C4AEB9: exit (exit.c:139)
==27606== by 0x4C350A1: (below main) (libc-start.c:342)
==27606== Address 0x5b51a30 is 0 bytes after a block of size 32 alloc'd
==27606== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27606== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27606== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27606== by 0x24AE36: err_get_state (err.c:210)
==27606== by 0x24BA0C: ERR_put_error (err.c:636)
==27606== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27606== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27606== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27606== by 0x270058: by_file_ctrl (by_file.c:111)
==27606== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27606== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27606== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27606== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27606== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27606== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27606== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27606==
==27606== Invalid free() / delete / delete[] / realloc()
==27606== at 0x48369AB: free (vg_replace_malloc.c:540)
==27606== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27606== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27606== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27606== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27606== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27606== by 0x4C4AEB9: exit (exit.c:139)
==27606== by 0x4C350A1: (below main) (libc-start.c:342)
==27606== Address 0x5b51a18 is 8 bytes inside a block of size 32 alloc'd
==27606== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27606== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27606== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27606== by 0x24AE36: err_get_state (err.c:210)
==27606== by 0x24BA0C: ERR_put_error (err.c:636)
==27606== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27606== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27606== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27606== by 0x270058: by_file_ctrl (by_file.c:111)
==27606== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27606== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27606== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27606== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27606== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27606== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27606== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27606==
==27606== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27606== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27606== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27606== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27606== by 0x24AE36: err_get_state (err.c:210)
==27606== by 0x24BA0C: ERR_put_error (err.c:636)
==27606== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27606== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27606== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27606== by 0x270058: by_file_ctrl (by_file.c:111)
==27606== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27606== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27606== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27606== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27606== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27606== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27606== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27606==
=== End of file valgrind407
test 0408...[FTPS PORT upload with CWD]
goto problem 21
valgrind ERROR ==27614== Invalid read of size 8
==27614== at 0x53335A5: check_free (dlerror.c:188)
==27614== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27614== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27614== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27614== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27614== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27614== by 0x4C4AEB9: exit (exit.c:139)
==27614== by 0x4C350A1: (below main) (libc-start.c:342)
==27614== Address 0x5b356f0 is 0 bytes after a block of size 32 alloc'd
==27614== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27614== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27614== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27614== by 0x24AE36: err_get_state (err.c:210)
==27614== by 0x24BA0C: ERR_put_error (err.c:636)
==27614== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27614== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27614== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27614== by 0x270058: by_file_ctrl (by_file.c:111)
==27614== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27614== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27614== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27614== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27614== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27614== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27614== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27614==
==27614== Invalid free() / delete / delete[] / realloc()
==27614== at 0x48369AB: free (vg_replace_malloc.c:540)
==27614== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27614== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27614== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27614== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27614== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27614== by 0x4C4AEB9: exit (exit.c:139)
==27614== by 0x4C350A1: (below main) (libc-start.c:342)
==27614== Address 0x5b356d8 is 8 bytes inside a block of size 32 alloc'd
==27614== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27614== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27614== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27614== by 0x24AE36: err_get_state (err.c:210)
==27614== by 0x24BA0C: ERR_put_error (err.c:636)
==27614== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27614== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27614== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27614== by 0x270058: by_file_ctrl (by_file.c:111)
==27614== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27614== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27614== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27614== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27614== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27614== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27614== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27614==
==27614== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27614== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27614== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27614== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27614== by 0x24AE36: err_get_state (err.c:210)
==27614== by 0x24BA0C: ERR_put_error (err.c:636)
==27614== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27614== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27614== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27614== by 0x270058: by_file_ctrl (by_file.c:111)
==27614== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27614== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27614== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27614== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27614== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27614== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27614== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27614==
== Contents of files in the log/ dir after test 408
=== Start of file ftp_server.log
03:01:03.647021 ====> Client connect
03:01:03.647160 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:03.734123 < "USER anonymous"
03:01:03.734169 > "331 We are happy you popped in![CR][LF]"
03:01:03.745128 < "PASS ftp@example.com"
03:01:03.745167 > "230 Welcome you silly person[CR][LF]"
03:01:03.747460 < "PBSZ 0"
03:01:03.747495 > "500 PBSZ not implemented[CR][LF]"
03:01:03.748898 < "PROT C"
03:01:03.748931 > "500 PROT not implemented[CR][LF]"
03:01:03.750367 < "PWD"
03:01:03.750407 > "257 "/" is current directory[CR][LF]"
03:01:03.757501 < "CWD CWD"
03:01:03.757532 > "250 CWD command successful.[CR][LF]"
03:01:03.759132 < "CWD STOR"
03:01:03.759161 > "250 CWD command successful.[CR][LF]"
03:01:03.761742 < "CWD RETR"
03:01:03.761771 > "250 CWD command successful.[CR][LF]"
03:01:03.767531 < "EPRT |1|127.0.0.1|46129|"
03:01:03.767559 ====> Active DATA channel requested by client
03:01:03.767586 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:01:03.767603 DATA sockfilt for active data channel starting...
03:01:03.769262 DATA sockfilt for active data channel started (pid 27616)
03:01:03.769290 ====> Active DATA channel connected to client port 46129
03:01:03.772187 < "TYPE I"
03:01:03.772224 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:03.774442 < "STOR 408"
03:01:03.774468 STOR test number 408 in log/upload.408
03:01:03.774489 > "125 Gimme gimme gimme![CR][LF]"
03:01:03.787224 > Appending 27 bytes to file
03:01:03.795186 =====> Closing active DATA connection...
03:01:03.795206 Server knows active DATA connection is already disconnected
03:01:03.795249 DATA sockfilt for active data channel quits (pid 27617)
03:01:03.795265 =====> Closed active DATA connection
03:01:03.795280 received 27 bytes upload
03:01:03.795301 > "226 File transfer complete[CR][LF]"
03:01:03.823438 < "QUIT"
03:01:03.823475 > "221 bye bye baby[CR][LF]"
03:01:03.827927 MAIN sockfilt said DISC
03:01:03.827954 ====> Client disconnected
03:01:03.828004 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:03.507645 ====> Client connect
03:01:03.507861 Received DATA (on stdin)
03:01:03.507886 > 160 bytes data, server => client
03:01:03.507901 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:03.507914 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:03.507931 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:03.594708 < 16 bytes data, client => server
03:01:03.594745 'USER anonymous\r\n'
03:01:03.594877 Received DATA (on stdin)
03:01:03.594890 > 33 bytes data, server => client
03:01:03.594901 '331 We are happy you popped in!\r\n'
03:01:03.605748 < 22 bytes data, client => server
03:01:03.605767 'PASS ftp@example.com\r\n'
03:01:03.605875 Received DATA (on stdin)
03:01:03.605886 > 30 bytes data, server => client
03:01:03.605897 '230 Welcome you silly person\r\n'
03:01:03.608094 < 8 bytes data, client => server
03:01:03.608108 'PBSZ 0\r\n'
03:01:03.608203 Received DATA (on stdin)
03:01:03.608214 > 26 bytes data, server => client
03:01:03.608224 '500 PBSZ not implemented\r\n'
03:01:03.609534 < 8 bytes data, client => server
03:01:03.609550 'PROT C\r\n'
03:01:03.609662 Received DATA (on stdin)
03:01:03.609685 > 26 bytes data, server => client
03:01:03.609700 '500 PROT not implemented\r\n'
03:01:03.611024 < 5 bytes data, client => server
03:01:03.611047 'PWD\r\n'
03:01:03.611137 Received DATA (on stdin)
03:01:03.611162 > 30 bytes data, server => client
03:01:03.611177 '257 "/" is current directory\r\n'
03:01:03.618155 < 9 bytes data, client => server
03:01:03.618171 'CWD CWD\r\n'
03:01:03.618243 Received DATA (on stdin)
03:01:03.618254 > 29 bytes data, server => client
03:01:03.618265 '250 CWD command successful.\r\n'
03:01:03.619789 < 10 bytes data, client => server
03:01:03.619802 'CWD STOR\r\n'
03:01:03.619871 Received DATA (on stdin)
03:01:03.619881 > 29 bytes data, server => client
03:01:03.619895 '250 CWD command successful.\r\n'
03:01:03.622399 < 10 bytes data, client => server
03:01:03.622413 'CWD RETR\r\n'
03:01:03.622481 Received DATA (on stdin)
03:01:03.622491 > 29 bytes data, server => client
03:01:03.622505 '250 CWD command successful.\r\n'
03:01:03.628188 < 26 bytes data, client => server
03:01:03.628202 'EPRT |1|127.0.0.1|46129|\r\n'
03:01:03.628295 Received DATA (on stdin)
03:01:03.628305 > 50 bytes data, server => client
03:01:03.628316 '200 Thanks for dropping by. We contact you later\r\n'
03:01:03.632830 < 8 bytes data, client => server
03:01:03.632844 'TYPE I\r\n'
03:01:03.632931 Received DATA (on stdin)
03:01:03.632944 > 33 bytes data, server => client
03:01:03.632954 '200 I modify TYPE as you wanted\r\n'
03:01:03.635101 < 10 bytes data, client => server
03:01:03.635114 'STOR 408\r\n'
03:01:03.635199 Received DATA (on stdin)
03:01:03.635209 > 24 bytes data, server => client
03:01:03.635219 '125 Gimme gimme gimme!\r\n'
03:01:03.656012 Received DATA (on stdin)
03:01:03.656034 > 28 bytes data, server => client
03:01:03.656046 '226 File transfer complete\r\n'
03:01:03.684085 < 6 bytes data, client => server
03:01:03.684109 'QUIT\r\n'
03:01:03.684199 Received DATA (on stdin)
03:01:03.684212 > 18 bytes data, server => client
03:01:03.684226 '221 bye bye baby\r\n'
03:01:03.688607 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:03.629816 ====> Client connect
03:01:03.629894 Running IPv4 version
03:01:03.629904 Connected to port 46129
03:01:03.629929 Wrote pid 27617 to ./.ftp_sockdata.pid
03:01:03.629944 Received PING (on stdin)
03:01:03.647893 < 27 bytes data, client => server
03:01:03.647923 'Moooooooooooo\n upload this\n'
03:01:03.655777 ====> Client disconnect
03:01:03.655838 disconnected, no socket to read on
03:01:03.655959 Received QUIT (on stdin)
03:01:03.655980 quits
03:01:03.655996 ============> 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|46129|
TYPE I
STOR 408
QUIT
=== End of file server.input
=== Start of file stderr408
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 27 0 0 100 27 0 12 0:00:02 0:00:02 --:--:-- 12
=== End of file stderr408
=== Start of file trace408
03:01:01.439519 == Info: STATE: INIT => CONNECT handle 0x56cb408; line 1491 (connection #-5000)
03:01:01.493729 == Info: Added connection 0. The cache now contains 1 members
03:01:01.511117 == Info: Trying 127.0.0.1:8993...
03:01:01.511732 == Info: TCP_NODELAY set
03:01:01.516908 == Info: STATE: CONNECT => WAITCONNECT handle 0x56cb408; line 1547 (connection #0)
03:01:01.528580 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:01.529146 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56cb408; line 1665 (connection #0)
03:01:01.530265 == Info: Marked for [keep alive]: FTP default
03:01:02.990265 == Info: successfully set certificate verify locations:
03:01:02.990532 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:03.104008 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:03.109208 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:03.109278 => Send SSL data, 126 bytes (0x7e)
0000: ...z...fN....<..1...<6..B.fs.....R.^X8....+./.,.0...............
0040: ../.5.....3...................................................
03:01:03.126112 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:03.131679 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:03.131737 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..................lC=....w...b.".. .^.#.Fk..KX[7F]m.|.]....{...
0040: .W>..9P./................
03:01:03.175509 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:03.175876 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:03.175940 <= 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.274423 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:03.274644 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:03.274703 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.x...g.*.w #.. .u.>.!K.....f.).Q.0........u...53|iA.&A..
0040: .q.bhS7.........:K.......(.}n{..M.....%G.."I...QK...O....9.x..XN
0080: .8.<.PV..fW...}..V.[v.G....[7F]?.[7F]o^........R..`E.G.(.ij.Q...d.....
00c0: p3.Z....e@....}.Cl..?C..e.Q.V...mW|...$..&..\Fp.Y..*..........i.
0100: .Z...o.Nc.UGMK. ..w.._...b..}.8...3r...K......n.L...P}.As......&
0140: ....}.......
03:01:03.344138 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:03.344345 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:03.344403 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:03.460080 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:03.460283 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:03.460342 => Send SSL data, 70 bytes (0x46)
0000: ...BA..d....{..'.........[*...{.....d..]O.F:..W..D.. T........W.
0040: .?.$*.
03:01:03.472267 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:03.472857 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:03.472917 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:03.494272 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:03.494334 => Send SSL data, 16 bytes (0x10)
0000: ....%G*....."...
03:01:03.506811 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:03.509356 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:03.510453 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:03.510511 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:03.512962 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:03.518630 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:03.518689 <= Recv SSL data, 16 bytes (0x10)
0000: ........{{.v+...
03:01:03.547035 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:03.549259 == Info: Server certificate:
03:01:03.556876 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:03.563035 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:03.563984 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:03.564926 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:03.565795 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:03.567288 == Info: FTP 0x5781790 (line 3092) state change from STOP to WAIT220
03:01:03.573280 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:03.581107 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:03.584793 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:03.584987 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:03.585171 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:03.585353 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:03.593066 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:03.595984 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:03.596767 == Info: FTP 0x5781790 (line 792) state change from WAIT220 to USER
03:01:03.597529 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56cb408; line 1682 (connection #0)
03:01:03.603652 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:03.604313 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:03.605578 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:03.605700 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:03.606077 == Info: FTP 0x5781790 (line 2520) state change from USER to PASS
03:01:03.607101 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:03.607246 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:03.607935 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:03.608053 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:03.608396 == Info: FTP 0x5781790 (line 2496) state change from PASS to PBSZ
03:01:03.608700 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:03.608840 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:03.609377 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:03.609494 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:03.609819 == Info: FTP 0x5781790 (line 2709) state change from PBSZ to PROT
03:01:03.610065 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:03.610203 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:03.610869 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:03.610985 => Send header, 5 bytes (0x5)
0000: PWD
03:01:03.611322 == Info: FTP 0x5781790 (line 804) state change from PROT to PWD
03:01:03.611651 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:03.611792 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:03.612916 == Info: Entry path is '/'
03:01:03.613138 == Info: FTP 0x5781790 (line 2844) state change from PWD to STOP
03:01:03.613308 == Info: protocol connect phase DONE
03:01:03.613554 == Info: STATE: PROTOCONNECT => DO handle 0x56cb408; line 1701 (connection #0)
03:01:03.616845 == Info: DO phase starts
03:01:03.617993 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:03.618113 => Send header, 9 bytes (0x9)
0000: CWD CWD
03:01:03.618443 == Info: FTP 0x5781790 (line 895) state change from STOP to CWD
03:01:03.618856 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:03.619002 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:03.619631 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:03.619748 => Send header, 10 bytes (0xa)
0000: CWD STOR
03:01:03.620076 == Info: ftp_perform ends with SECONDARY: 0
03:01:03.620801 == Info: STATE: DO => DOING handle 0x56cb408; line 1743 (connection #0)
03:01:03.621710 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:03.621857 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:03.622245 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:03.622359 => Send header, 10 bytes (0xa)
0000: CWD RETR
03:01:03.622958 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:03.623099 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:03.628028 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:01:03.628148 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|46129|
03:01:03.628722 == Info: FTP 0x5781790 (line 1293) state change from CWD to PORT
03:01:03.629262 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:01:03.629619 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:01:03.630143 == Info: Connect data stream actively
03:01:03.630347 == Info: FTP 0x5781790 (line 2011) state change from PORT to STOP
03:01:03.631016 == Info: DO phase is complete2
03:01:03.631285 == Info: STATE: DOING => DO_MORE handle 0x56cb408; line 1825 (connection #0)
03:01:03.632670 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:03.632790 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:03.633133 == Info: FTP 0x5781790 (line 3418) state change from STOP to STOR_TYPE
03:01:03.633519 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:03.633662 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:03.634944 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:03.635062 => Send header, 10 bytes (0xa)
0000: STOR 408
03:01:03.635398 == Info: FTP 0x5781790 (line 1651) state change from STOR_TYPE to STOR
03:01:03.636768 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:03.636912 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:03.637430 == Info: FTP 0x5781790 (line 2330) state change from STOR to STOP
03:01:03.637616 == Info: Preparing for accepting server on data port
03:01:03.638669 == Info: Checking for server connect
03:01:03.639508 == Info: Ready to accept data connection from server
03:01:03.641259 == Info: Connection accepted from server
03:01:03.643801 == Info: STATE: DO_MORE => DO_DONE handle 0x56cb408; line 1850 (connection #0)
03:01:03.644240 == Info: STATE: DO_DONE => PERFORM handle 0x56cb408; line 1877 (connection #0)
03:01:03.648415 => Send data, 27 bytes (0x1b)
0000: Moooooooooooo. upload this.
03:01:03.649009 == Info: We are completely uploaded and fine
03:01:03.651407 == Info: STATE: PERFORM => DONE handle 0x56cb408; line 2067 (connection #0)
03:01:03.651731 == Info: multi_done
03:01:03.654403 == Info: Remembering we are in dir "CWD/STOR/RETR/"
03:01:03.657500 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:03.657646 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:03.663680 == 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
==27614== Invalid read of size 8
==27614== at 0x53335A5: check_free (dlerror.c:188)
==27614== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27614== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27614== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27614== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27614== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27614== by 0x4C4AEB9: exit (exit.c:139)
==27614== by 0x4C350A1: (below main) (libc-start.c:342)
==27614== Address 0x5b356f0 is 0 bytes after a block of size 32 alloc'd
==27614== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27614== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27614== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27614== by 0x24AE36: err_get_state (err.c:210)
==27614== by 0x24BA0C: ERR_put_error (err.c:636)
==27614== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27614== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27614== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27614== by 0x270058: by_file_ctrl (by_file.c:111)
==27614== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27614== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27614== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27614== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27614== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27614== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27614== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27614==
==27614== Invalid free() / delete / delete[] / realloc()
==27614== at 0x48369AB: free (vg_replace_malloc.c:540)
==27614== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27614== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27614== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27614== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27614== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27614== by 0x4C4AEB9: exit (exit.c:139)
==27614== by 0x4C350A1: (below main) (libc-start.c:342)
==27614== Address 0x5b356d8 is 8 bytes inside a block of size 32 alloc'd
==27614== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27614== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27614== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27614== by 0x24AE36: err_get_state (err.c:210)
==27614== by 0x24BA0C: ERR_put_error (err.c:636)
==27614== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27614== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27614== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27614== by 0x270058: by_file_ctrl (by_file.c:111)
==27614== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27614== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27614== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27614== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27614== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27614== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27614== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27614==
==27614== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27614== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27614== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27614== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27614== by 0x24AE36: err_get_state (err.c:210)
==27614== by 0x24BA0C: ERR_put_error (err.c:636)
==27614== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27614== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27614== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27614== by 0x270058: by_file_ctrl (by_file.c:111)
==27614== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27614== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27614== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27614== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27614== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27614== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27614== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27614==
=== End of file valgrind408
test 0409...[FTPS PASV upload file]
goto problem 22
valgrind ERROR ==27620== Invalid read of size 8
==27620== at 0x53335A5: check_free (dlerror.c:188)
==27620== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27620== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27620== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27620== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27620== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27620== by 0x4C4AEB9: exit (exit.c:139)
==27620== by 0x4C350A1: (below main) (libc-start.c:342)
==27620== Address 0x5b34d00 is 0 bytes after a block of size 32 alloc'd
==27620== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27620== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27620== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27620== by 0x24AE36: err_get_state (err.c:210)
==27620== by 0x24BA0C: ERR_put_error (err.c:636)
==27620== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27620== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27620== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27620== by 0x270058: by_file_ctrl (by_file.c:111)
==27620== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27620== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27620== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27620== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27620== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27620== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27620== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27620==
==27620== Invalid free() / delete / delete[] / realloc()
==27620== at 0x48369AB: free (vg_replace_malloc.c:540)
==27620== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27620== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27620== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27620== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27620== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27620== by 0x4C4AEB9: exit (exit.c:139)
==27620== by 0x4C350A1: (below main) (libc-start.c:342)
==27620== Address 0x5b34ce8 is 8 bytes inside a block of size 32 alloc'd
==27620== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27620== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27620== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27620== by 0x24AE36: err_get_state (err.c:210)
==27620== by 0x24BA0C: ERR_put_error (err.c:636)
==27620== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27620== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27620== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27620== by 0x270058: by_file_ctrl (by_file.c:111)
==27620== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27620== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27620== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27620== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27620== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27620== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27620== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27620==
==27620== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27620== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27620== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27620== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27620== by 0x24AE36: err_get_state (err.c:210)
==27620== by 0x24BA0C: ERR_put_error (err.c:636)
==27620== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27620== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27620== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27620== by 0x270058: by_file_ctrl (by_file.c:111)
==27620== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27620== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27620== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27620== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27620== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27620== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27620== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27620==
== Contents of files in the log/ dir after test 409
=== Start of file ftp_server.log
03:01:06.974218 ====> Client connect
03:01:06.974333 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:07.061368 < "USER anonymous"
03:01:07.061415 > "331 We are happy you popped in![CR][LF]"
03:01:07.072328 < "PASS ftp@example.com"
03:01:07.072361 > "230 Welcome you silly person[CR][LF]"
03:01:07.074647 < "PBSZ 0"
03:01:07.074674 > "500 PBSZ not implemented[CR][LF]"
03:01:07.076056 < "PROT C"
03:01:07.076081 > "500 PROT not implemented[CR][LF]"
03:01:07.077533 < "PWD"
03:01:07.077566 > "257 "/" is current directory[CR][LF]"
03:01:07.084864 < "EPSV"
03:01:07.084890 ====> Passive DATA channel requested by client
03:01:07.084903 DATA sockfilt for passive data channel starting...
03:01:07.086541 DATA sockfilt for passive data channel started (pid 27622)
03:01:07.086658 DATA sockfilt for passive data channel listens on port 46801
03:01:07.086691 > "229 Entering Passive Mode (|||46801|)[LF]"
03:01:07.086706 Client has been notified that DATA conn will be accepted on port 46801
03:01:07.093710 Client connects to port 46801
03:01:07.093737 ====> Client established passive DATA connection on port 46801
03:01:07.098598 < "TYPE I"
03:01:07.098631 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:07.100827 < "STOR 409"
03:01:07.100848 STOR test number 409 in log/upload.409
03:01:07.100867 > "125 Gimme gimme gimme![CR][LF]"
03:01:07.109570 > Appending 51 bytes to file
03:01:07.117888 =====> Closing passive DATA connection...
03:01:07.117907 Server knows passive DATA connection is already disconnected
03:01:07.117961 DATA sockfilt for passive data channel quits (pid 27623)
03:01:07.117984 =====> Closed passive DATA connection
03:01:07.118008 received 51 bytes upload
03:01:07.118038 > "226 File transfer complete[CR][LF]"
03:01:07.148314 < "QUIT"
03:01:07.148357 > "221 bye bye baby[CR][LF]"
03:01:07.152798 MAIN sockfilt said DISC
03:01:07.152825 ====> Client disconnected
03:01:07.152873 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:06.834823 ====> Client connect
03:01:06.835035 Received DATA (on stdin)
03:01:06.835052 > 160 bytes data, server => client
03:01:06.835065 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:06.835077 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:06.835088 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:06.921949 < 16 bytes data, client => server
03:01:06.921983 'USER anonymous\r\n'
03:01:06.922145 Received DATA (on stdin)
03:01:06.922170 > 33 bytes data, server => client
03:01:06.922186 '331 We are happy you popped in!\r\n'
03:01:06.932982 < 22 bytes data, client => server
03:01:06.933006 'PASS ftp@example.com\r\n'
03:01:06.933092 Received DATA (on stdin)
03:01:06.933115 > 30 bytes data, server => client
03:01:06.933130 '230 Welcome you silly person\r\n'
03:01:06.935314 < 8 bytes data, client => server
03:01:06.935336 'PBSZ 0\r\n'
03:01:06.935384 Received DATA (on stdin)
03:01:06.935397 > 26 bytes data, server => client
03:01:06.935413 '500 PBSZ not implemented\r\n'
03:01:06.936728 < 8 bytes data, client => server
03:01:06.936751 'PROT C\r\n'
03:01:06.936812 Received DATA (on stdin)
03:01:06.936835 > 26 bytes data, server => client
03:01:06.936851 '500 PROT not implemented\r\n'
03:01:06.938208 < 5 bytes data, client => server
03:01:06.938230 'PWD\r\n'
03:01:06.938297 Received DATA (on stdin)
03:01:06.938320 > 30 bytes data, server => client
03:01:06.938335 '257 "/" is current directory\r\n'
03:01:06.945537 < 6 bytes data, client => server
03:01:06.945559 'EPSV\r\n'
03:01:06.947420 Received DATA (on stdin)
03:01:06.947443 > 38 bytes data, server => client
03:01:06.947459 '229 Entering Passive Mode (|||46801|)\n'
03:01:06.959261 < 8 bytes data, client => server
03:01:06.959286 'TYPE I\r\n'
03:01:06.959361 Received DATA (on stdin)
03:01:06.959384 > 33 bytes data, server => client
03:01:06.959400 '200 I modify TYPE as you wanted\r\n'
03:01:06.961501 < 10 bytes data, client => server
03:01:06.961524 'STOR 409\r\n'
03:01:06.961598 Received DATA (on stdin)
03:01:06.961621 > 24 bytes data, server => client
03:01:06.961636 '125 Gimme gimme gimme!\r\n'
03:01:06.978765 Received DATA (on stdin)
03:01:06.978789 > 28 bytes data, server => client
03:01:06.978804 '226 File transfer complete\r\n'
03:01:07.008899 < 6 bytes data, client => server
03:01:07.008929 'QUIT\r\n'
03:01:07.009088 Received DATA (on stdin)
03:01:07.009113 > 18 bytes data, server => client
03:01:07.009128 '221 bye bye baby\r\n'
03:01:07.013476 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:07.947110 Running IPv4 version
03:01:07.947184 Listening on port 46801
03:01:07.947210 Wrote pid 27623 to ./.ftp_sockdata.pid
03:01:07.947226 Received PING (on stdin)
03:01:07.947302 Received PORT (on stdin)
03:01:07.954391 ====> Client connect
03:01:07.970238 < 51 bytes data, client => server
03:01:07.970272 'data\n to\n see\nthat FTP\nworks\n so does it?\n'
03:01:07.978503 ====> Client disconnect
03:01:07.978638 Received QUIT (on stdin)
03:01:07.978656 quits
03:01:07.978678 ============> 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:04.755575 == Info: STATE: INIT => CONNECT handle 0x56caf38; line 1491 (connection #-5000)
03:01:04.809433 == Info: Added connection 0. The cache now contains 1 members
03:01:04.826674 == Info: Trying 127.0.0.1:8993...
03:01:04.827285 == Info: TCP_NODELAY set
03:01:04.832570 == Info: STATE: CONNECT => WAITCONNECT handle 0x56caf38; line 1547 (connection #0)
03:01:04.844197 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:04.844774 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56caf38; line 1665 (connection #0)
03:01:04.845887 == Info: Marked for [keep alive]: FTP default
03:01:06.317788 == Info: successfully set certificate verify locations:
03:01:06.318050 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:06.431371 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:06.436585 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:06.436646 => Send SSL data, 126 bytes (0x7e)
0000: ...z...g7.....M:>!`Q+....T...D...1..8j....+./.,.0...............
0040: ../.5.....3...................................................
03:01:06.453603 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:06.459176 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:06.459233 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..^].qD..((9.. ..^.DFA../g.....M.. .~N.......q(@Qt....4.B.K[7F]
0040: i..d..../................
03:01:06.502942 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:06.503294 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:06.503351 <= 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:06.601893 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:06.602129 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:06.602211 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.x...g.*.w #.. .u.>.!K.....f.).Q.0........u...53|iA.&A..
0040: .q.bhS7......Xj.....;..A.^.Zu.:../.!..v>V....N..k1.}[...Z....j,.
0080: GD)=.*.y......$,[YF.~....dpSQ776xiI.Y.....[....Q........m<..,.l
00c0: ..........L..(..\....z.....?.r.a.B.>4._u,b...T.Y.F..B.V28G_.....
0100: ...F..Vh..`...Z...Y.sa..t..).,.?..X...7|A.~.8..x.B.H...$|.......
0140: ....X.....Ky.
03:01:06.671718 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:06.671922 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:06.671979 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:06.787310 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:06.787500 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:06.787556 => Send SSL data, 70 bytes (0x46)
0000: ...BA...JdQ-...p..H.l.2'.9s.^Y....7P.{...i.I...\..O0._..{...k..B
0040: ..x*.e
03:01:06.799467 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:06.800046 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:06.800103 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:06.821480 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:06.821539 => Send SSL data, 16 bytes (0x10)
0000: .......0..mhj..[7F]
03:01:06.833988 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:06.836511 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:06.837601 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:06.837658 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:06.840101 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:06.845771 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:06.845827 <= Recv SSL data, 16 bytes (0x10)
0000: ....A!..O.o.FJY%
03:01:06.874209 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:06.876440 == Info: Server certificate:
03:01:06.884012 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:06.890163 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:06.891109 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:06.892042 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:06.892914 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:06.894403 == Info: FTP 0x5780e00 (line 3092) state change from STOP to WAIT220
03:01:06.900403 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:06.908273 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:06.911982 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:06.912173 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:06.912354 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:06.912563 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:06.920292 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:06.923229 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:06.924010 == Info: FTP 0x5780e00 (line 792) state change from WAIT220 to USER
03:01:06.924780 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56caf38; line 1682 (connection #0)
03:01:06.930897 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:06.931557 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:06.932822 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:06.932943 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:06.933316 == Info: FTP 0x5780e00 (line 2520) state change from USER to PASS
03:01:06.934335 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:06.934479 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:06.935163 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:06.935279 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:06.935605 == Info: FTP 0x5780e00 (line 2496) state change from PASS to PBSZ
03:01:06.935899 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:06.936037 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:06.936576 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:06.936692 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:06.937019 == Info: FTP 0x5780e00 (line 2709) state change from PBSZ to PROT
03:01:06.937263 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:06.937400 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:06.938059 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:06.938173 => Send header, 5 bytes (0x5)
0000: PWD
03:01:06.938489 == Info: FTP 0x5780e00 (line 804) state change from PROT to PWD
03:01:06.938817 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:06.938956 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:06.940071 == Info: Entry path is '/'
03:01:06.940292 == Info: FTP 0x5780e00 (line 2844) state change from PWD to STOP
03:01:06.940467 == Info: protocol connect phase DONE
03:01:06.940714 == Info: STATE: PROTOCONNECT => DO handle 0x56caf38; line 1701 (connection #0)
03:01:06.943333 == Info: DO phase starts
03:01:06.945381 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:06.945499 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:06.945835 == Info: FTP 0x5780e00 (line 1330) state change from STOP to PASV
03:01:06.946011 == Info: Connect data stream passively
03:01:06.946787 == Info: ftp_perform ends with SECONDARY: 0
03:01:06.947498 == Info: STATE: DO => DOING handle 0x56caf38; line 1743 (connection #0)
03:01:06.948401 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:06.948564 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||46801|).
03:01:06.954226 == Info: Trying 127.0.0.1:46801...
03:01:06.954287 == Info: TCP_NODELAY set
03:01:06.954984 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 46801
03:01:06.956089 == Info: FTP 0x5780e00 (line 1977) state change from PASV to STOP
03:01:06.956733 == Info: DO phase is complete2
03:01:06.957158 == Info: STATE: DOING => DO_MORE handle 0x56caf38; line 1825 (connection #0)
03:01:06.957873 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:06.958092 == Info: DO-MORE connected phase starts
03:01:06.959096 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:06.959216 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:06.959555 == Info: FTP 0x5780e00 (line 3418) state change from STOP to STOR_TYPE
03:01:06.959936 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:06.960079 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:06.961350 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:06.961467 => Send header, 10 bytes (0xa)
0000: STOR 409
03:01:06.961800 == Info: FTP 0x5780e00 (line 1651) state change from STOR_TYPE to STOR
03:01:06.963478 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:06.963619 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:06.965433 == Info: FTP 0x5780e00 (line 477) state change from STOR to STOP
03:01:06.966145 == Info: STATE: DO_MORE => DO_DONE handle 0x56caf38; line 1850 (connection #0)
03:01:06.966578 == Info: STATE: DO_DONE => PERFORM handle 0x56caf38; line 1877 (connection #0)
03:01:06.970756 => Send data, 51 bytes (0x33)
0000: data. to. see.that FTP.works. so does it?.
03:01:06.971435 == Info: We are completely uploaded and fine
03:01:06.973847 == Info: STATE: PERFORM => DONE handle 0x56caf38; line 2067 (connection #0)
03:01:06.974169 == Info: multi_done
03:01:06.976994 == Info: Remembering we are in dir ""
03:01:06.980424 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:06.980573 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:06.986588 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:06.988438 == Info: Expire cleared (transfer 0x56caf38)
=== 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
==27620== Invalid read of size 8
==27620== at 0x53335A5: check_free (dlerror.c:188)
==27620== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27620== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27620== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27620== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27620== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27620== by 0x4C4AEB9: exit (exit.c:139)
==27620== by 0x4C350A1: (below main) (libc-start.c:342)
==27620== Address 0x5b34d00 is 0 bytes after a block of size 32 alloc'd
==27620== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27620== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27620== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27620== by 0x24AE36: err_get_state (err.c:210)
==27620== by 0x24BA0C: ERR_put_error (err.c:636)
==27620== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27620== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27620== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27620== by 0x270058: by_file_ctrl (by_file.c:111)
==27620== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27620== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27620== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27620== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27620== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27620== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27620== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27620==
==27620== Invalid free() / delete / delete[] / realloc()
==27620== at 0x48369AB: free (vg_replace_malloc.c:540)
==27620== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27620== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27620== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27620== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27620== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27620== by 0x4C4AEB9: exit (exit.c:139)
==27620== by 0x4C350A1: (below main) (libc-start.c:342)
==27620== Address 0x5b34ce8 is 8 bytes inside a block of size 32 alloc'd
==27620== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27620== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27620== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27620== by 0x24AE36: err_get_state (err.c:210)
==27620== by 0x24BA0C: ERR_put_error (err.c:636)
==27620== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27620== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27620== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27620== by 0x270058: by_file_ctrl (by_file.c:111)
==27620== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27620== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27620== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27620== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27620== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27620== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27620== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27620==
==27620== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27620== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27620== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==27620== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==27620== by 0x24AE36: err_get_state (err.c:210)
==27620== by 0x24BA0C: ERR_put_error (err.c:636)
==27620== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==27620== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==27620== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==27620== by 0x270058: by_file_ctrl (by_file.c:111)
==27620== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==27620== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==27620== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27620== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==27620== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==27620== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==27620== by 0x182153: Curl_ssl_connect (vtls.c:251)
==27620==
=== End of file valgrind409
test 0500...[simple libcurl HTTP GET tool]
--pd--oemv- OK (357 out of 1251, remaining: 25:00, took 1.1s, duration: 09:59)
test 0501...[simple libcurl attempt operation without URL set]
-------emv- OK (358 out of 1251, remaining: 24:56, took 0.9s, duration: 10:00)
test 0502...[simple multi file:// get]
---d---emv- OK (359 out of 1251, remaining: 24:53, took 1.0s, duration: 10:01)
test 0503...[simple multi http:// through proxytunnel with authentication info]
--pd-P-emv- OK (360 out of 1251, remaining: 24:51, took 1.6s, duration: 10:02)
test 0504...[simple multi through local proxy without listener]
-------emv- OK (361 out of 1251, remaining: 24:48, took 1.0s, duration: 10:03)
test 0505...[FTP upload with rename after transfer]
--p-u--emv- OK (362 out of 1251, remaining: 24:45, took 1.1s, duration: 10:04)
test 0506...[HTTP with shared cookie list (and dns cache)]
s-----oemv- OK (363 out of 1251, remaining: 24:42, took 1.2s, duration: 10:06)
test 0507...[multi interface get with non-existing host name]
-------emv- OK (364 out of 1251, remaining: 24:39, took 1.0s, duration: 10:07)
test 0508...[send HTTP POST using read callback]
--pd---emv- OK (365 out of 1251, remaining: 24:36, took 1.1s, duration: 10:08)
test 0509...[initialization with memory callbacks and actual usage]
s------emv- OK (366 out of 1251, remaining: 24:32, took 0.9s, duration: 10:08)
test 0510...[send HTTP POST using read callback, using chunked transfer-encoding]
--pd---emv- OK (367 out of 1251, remaining: 24:31, took 2.1s, duration: 10:11)
test 0511...[FTP with FILETIME and NOBODY but missing file]
--p----emv- OK (368 out of 1251, remaining: 24:28, took 1.0s, duration: 10:12)
test 0512...[simple curl_easy_duplicate() test]
--pd---emv- OK (369 out of 1251, remaining: 24:25, took 1.1s, duration: 10:13)
test 0513...[send HTTP POST using read callback that returns CURL_READFUNC_ABORT]
--p----emv- OK (370 out of 1251, remaining: 24:24, took 2.0s, duration: 10:15)
test 0514...[First set options to POST and then to make HEAD]
--pd---emv- OK (371 out of 1251, remaining: 24:24, took 2.0s, duration: 10:17)
test 0515...[make a POSTFIELDS set to NULL with POSTFIELDSIZE set to zero]
--pd---emv- OK (372 out of 1251, remaining: 24:20, took 1.1s, duration: 10:18)
test 0516...[make a HTTPPOST set to NULL]
--pd---emv- OK (373 out of 1251, remaining: 24:17, took 1.0s, duration: 10:19)
test 0517...[curl_getdate() testing]
-------emv- OK (374 out of 1251, remaining: 24:14, took 0.8s, duration: 10:20)
test 0518...[HTTP GET with more than FD_SETSIZE descriptors open]
valgrind SKIPPED
--pd---em-- OK (375 out of 1251, remaining: 24:08, took 0.0s, duration: 10:20)
test 0519...[GET same URL twice with different users]
--pd---emv- OK (376 out of 1251, remaining: 24:05, took 1.1s, duration: 10:21)
test 0520...[FTP RETR with FILETIME]
--pd---emv- OK (377 out of 1251, remaining: 24:02, took 1.1s, duration: 10:22)
test 0521...[FTP dir list PASV with CURLOPT_PORT]
--pd---emv- OK (378 out of 1251, remaining: 23:59, took 1.1s, duration: 10:23)
test 0522...[HTTP GET with CURLOPT_PORT]
s-p----emv- OK (379 out of 1251, remaining: 23:56, took 1.1s, duration: 10:24)
test 0523...[HTTP GET with proxy and CURLOPT_PORT]
s-p----emv- OK (380 out of 1251, remaining: 23:53, took 1.1s, duration: 10:25)
test 0524...[FTP upload with target URL ending with slash]
--p----emv- OK (381 out of 1251, remaining: 23:50, took 1.0s, duration: 10:26)
test 0525...[FTP PORT upload using multi interface]
--p-u--emv- OK (382 out of 1251, remaining: 23:47, took 1.1s, duration: 10:27)
test 0526...[FTP RETR same file using different handles but same connection]
--pd---emv- OK (383 out of 1251, remaining: 23:51, took 4.2s, duration: 10:31)
test 0527...[FTP RETR same file using different handles but same connection]
--pd---emv- OK (384 out of 1251, remaining: 23:55, took 4.2s, duration: 10:35)
test 0528...[HTTP GET same file using different handles but same connection]
--pd---emv- OK (385 out of 1251, remaining: 23:59, took 4.1s, duration: 10:40)
test 0529...[FTP PORT upload using multi interface (weird cleanup function sequence)]
--p-u--emv- OK (386 out of 1251, remaining: 23:56, took 1.1s, duration: 10:41)
test 0531...[FTP PORT upload using multi interface and get 425 response]
Killed
--p----emv- OK (387 out of 1251, remaining: 23:53, took 1.0s, duration: 10:42)
test 0532...[FTP RETR same file using reset handles between each transfer]
--pd---emv- OK (388 out of 1251, remaining: 23:57, took 4.2s, duration: 10:46)
test 0533...[FTP RETR a non-existing file twice using the multi interface]
Killed
Killed
--p----emv- OK (389 out of 1251, remaining: 23:56, took 2.1s, duration: 10:48)
test 0534...[FTP RETR twice using multi: non-existing host and non-existing file]
Killed
--p----emv- OK (390 out of 1251, remaining: 23:56, took 2.1s, duration: 10:50)
test 0535...[HTTP GET multi two files with FAILONERROR]
--pd---emv- OK (391 out of 1251, remaining: 23:55, took 2.1s, duration: 10:52)
test 0537...[HTTP GET with a HUGE number of file descriptors open]
--pd---emv- OK (392 out of 1251, remaining: 23:53, took 1.5s, duration: 10:54)
test 0538...[FTP multi-interface download, failed login: PASS not valid]
--p----emv- OK (393 out of 1251, remaining: 23:50, took 1.0s, duration: 10:55)
test 0539...[Two FTP fetches using different CURLOPT_FTP_FILEMETHOD]
--pd---emv- OK (394 out of 1251, remaining: 23:47, took 1.1s, duration: 10:56)
test 0540...[HTTP proxy auth Digest multi API re-using connection]
--pd---emv- OK (395 out of 1251, remaining: 23:44, took 1.1s, duration: 10:57)
test 0541...[FTP upload and upload same file again without rewind]
--p----emv- OK (396 out of 1251, remaining: 23:41, took 1.1s, duration: 10:58)
test 0542...[FTP a file with NOBODY yes and HEADER no]
--pd---emv- OK (397 out of 1251, remaining: 23:38, took 1.0s, duration: 10:59)
test 0543...[curl_easy_escape]
s------emv- OK (398 out of 1251, remaining: 23:35, took 0.9s, duration: 11:00)
test 0544...[HTTP POST text data using CURLOPT_COPYPOSTFIELDS]
--pd---emv- OK (399 out of 1251, remaining: 23:32, took 1.0s, duration: 11:01)
test 0545...[HTTP POST binary with embedded zero and no trailing zero]
--pd---emv- OK (400 out of 1251, remaining: 23:29, took 1.1s, duration: 11:02)
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:28, took 2.1s, duration: 11:04)
test 0547...[HTTP proxy auth NTLM with POST data from read callback]
--pd---emv- OK (402 out of 1251, remaining: 23:25, took 1.2s, duration: 11:05)
test 0548...[HTTP proxy auth NTLM with POST data from CURLOPT_POSTFIELDS]
--pd---emv- OK (403 out of 1251, remaining: 23:23, took 1.2s, duration: 11:06)
test 0549...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE]
s-p----emv- OK (404 out of 1251, remaining: 23:20, took 1.1s, duration: 11:07)
test 0550...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE and ASCII transfer]
s-p----emv- OK (405 out of 1251, remaining: 23:17, took 1.0s, duration: 11:08)
test 0551...[HTTP proxy auth Digest with POST data from read callback]
--pd---emv- OK (406 out of 1251, remaining: 23:14, took 1.1s, duration: 11:10)
test 0552...[HTTP proxy auth Digest with 70K POST data from read callback]
--pd---emv- OK (407 out of 1251, remaining: 23:19, took 4.6s, duration: 11:14)
test 0553...[HTTP post with huge request headers and post data from callback]
--pd---emv- OK (408 out of 1251, remaining: 23:16, took 1.1s, duration: 11:15)
test 0554...[HTTP multi-part formpost using read callback for the file part]
--pd---emv- OK (409 out of 1251, remaining: 23:13, took 1.2s, duration: 11:16)
test 0555...[HTTP proxy auth NTLM with POST data from read callback multi-if]
--pd---emv- OK (410 out of 1251, remaining: 23:10, took 1.2s, duration: 11:18)
test 0556...[send and recv HTTP]
--pd---emv- OK (411 out of 1251, remaining: 23:08, took 1.1s, duration: 11:19)
test 0557...[curl_mprintf() testing]
s------emv- OK (412 out of 1251, remaining: 23:04, took 0.9s, duration: 11:20)
test 0558...[libtest memory tracking operational]
------oemv- OK (413 out of 1251, remaining: 23:01, took 0.8s, duration: 11:20)
test 0559...[use tiny CURLOPT_BUFFERSIZE]
---d---emv- OK (414 out of 1251, remaining: 22:58, took 1.0s, duration: 11:21)
test 0560...[simple HTTPS GET with multi interface]
goto problem 23
valgrind ERROR ==27889== Invalid read of size 8
==27889== at 0x53335A5: check_free (dlerror.c:188)
==27889== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27889== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27889== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27889== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27889== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27889== by 0x4C4AEB9: exit (exit.c:139)
==27889== by 0x4C350A1: (below main) (libc-start.c:342)
==27889== Address 0x5a9b540 is 0 bytes after a block of size 32 alloc'd
==27889== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27889== by 0x23655A: OPENSSL_malloc (mem.c:106)
==27889== by 0x249206: CRYPTO_set_thread_local (thread_pthread.c:182)
==27889== by 0x2253DC: err_get_state (err.c:210)
==27889== by 0x225FB2: ERR_put_error (err.c:636)
==27889== by 0x23AC52: PEM_read_bio (pem_lib.c:622)
==27889== by 0x3084E7: PEM_X509_INFO_read_bio (pem_info.c:166)
==27889== by 0x24AB1C: X509_load_cert_crl_file (by_file.c:255)
==27889== by 0x24A5FE: by_file_ctrl (by_file.c:111)
==27889== by 0x24E1B8: X509_LOOKUP_ctrl (x509_lu.c:123)
==27889== by 0x24D699: X509_STORE_load_locations (x509_d2.c:91)
==27889== by 0x1D161D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27889== by 0x1A1BA4: ossl_connect_step1 (openssl.c:2615)
==27889== by 0x1A4827: ossl_connect_common (openssl.c:3571)
==27889== by 0x1A4AA3: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27889== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==27889==
==27889== Invalid free() / delete / delete[] / realloc()
==27889== at 0x48369AB: free (vg_replace_malloc.c:540)
==27889== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27889== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27889== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27889== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27889== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27889== by 0x4C4AEB9: exit (exit.c:139)
==27889== by 0x4C350A1: (below main) (libc-start.c:342)
==27889== Address 0x5a9b528 is 8 bytes inside a block of size 32 alloc'd
==27889== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27889== by 0x23655A: OPENSSL_malloc (mem.c:106)
==27889== by 0x249206: CRYPTO_set_thread_local (thread_pthread.c:182)
==27889== by 0x2253DC: err_get_state (err.c:210)
==27889== by 0x225FB2: ERR_put_error (err.c:636)
==27889== by 0x23AC52: PEM_read_bio (pem_lib.c:622)
==27889== by 0x3084E7: PEM_X509_INFO_read_bio (pem_info.c:166)
==27889== by 0x24AB1C: X509_load_cert_crl_file (by_file.c:255)
==27889== by 0x24A5FE: by_file_ctrl (by_file.c:111)
==27889== by 0x24E1B8: X509_LOOKUP_ctrl (x509_lu.c:123)
==27889== by 0x24D699: X509_STORE_load_locations (x509_d2.c:91)
==27889== by 0x1D161D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27889== by 0x1A1BA4: ossl_connect_step1 (openssl.c:2615)
==27889== by 0x1A4827: ossl_connect_common (openssl.c:3571)
==27889== by 0x1A4AA3: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27889== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==27889==
==27889== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27889== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27889== by 0x23655A: OPENSSL_malloc (mem.c:106)
==27889== by 0x249206: CRYPTO_set_thread_local (thread_pthread.c:182)
==27889== by 0x2253DC: err_get_state (err.c:210)
==27889== by 0x225FB2: ERR_put_error (err.c:636)
==27889== by 0x23AC52: PEM_read_bio (pem_lib.c:622)
==27889== by 0x3084E7: PEM_X509_INFO_read_bio (pem_info.c:166)
==27889== by 0x24AB1C: X509_load_cert_crl_file (by_file.c:255)
==27889== by 0x24A5FE: by_file_ctrl (by_file.c:111)
==27889== by 0x24E1B8: X509_LOOKUP_ctrl (x509_lu.c:123)
==27889== by 0x24D699: X509_STORE_load_locations (x509_d2.c:91)
==27889== by 0x1D161D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27889== by 0x1A1BA4: ossl_connect_step1 (openssl.c:2615)
==27889== by 0x1A4827: ossl_connect_common (openssl.c:3571)
==27889== by 0x1A4AA3: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27889== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==27889==
== Contents of files in the log/ dir after test 560
=== Start of file http_server.log
03:02:33.835583 ====> Client connect
03:02:33.835621 accept_connection 3 returned 4
03:02:33.835634 accept_connection 3 returned 0
03:02:33.914199 Read 56 bytes
03:02:33.914238 Process 56 bytes request
03:02:33.914256 Got request: GET /560 HTTP/1.1
03:02:33.914267 Requested test number 560 part 0
03:02:33.914291 - request found to be complete
03:02:33.914317 Wrote request (56 bytes) input to log/server.input
03:02:33.914336 Send response test560 section <data>
03:02:33.914406 Response sent (108 bytes) and written to log/server.response
03:02:33.914417 => persistent connection request ended, awaits new request
03:02:33.968849 Connection closed by client
03:02:33.968878 ====> 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
==27889== Invalid read of size 8
==27889== at 0x53335A5: check_free (dlerror.c:188)
==27889== by 0x5333AB1: free_key_mem (dlerror.c:221)
==27889== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==27889== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27889== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27889== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27889== by 0x4C4AEB9: exit (exit.c:139)
==27889== by 0x4C350A1: (below main) (libc-start.c:342)
==27889== Address 0x5a9b540 is 0 bytes after a block of size 32 alloc'd
==27889== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27889== by 0x23655A: OPENSSL_malloc (mem.c:106)
==27889== by 0x249206: CRYPTO_set_thread_local (thread_pthread.c:182)
==27889== by 0x2253DC: err_get_state (err.c:210)
==27889== by 0x225FB2: ERR_put_error (err.c:636)
==27889== by 0x23AC52: PEM_read_bio (pem_lib.c:622)
==27889== by 0x3084E7: PEM_X509_INFO_read_bio (pem_info.c:166)
==27889== by 0x24AB1C: X509_load_cert_crl_file (by_file.c:255)
==27889== by 0x24A5FE: by_file_ctrl (by_file.c:111)
==27889== by 0x24E1B8: X509_LOOKUP_ctrl (x509_lu.c:123)
==27889== by 0x24D699: X509_STORE_load_locations (x509_d2.c:91)
==27889== by 0x1D161D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27889== by 0x1A1BA4: ossl_connect_step1 (openssl.c:2615)
==27889== by 0x1A4827: ossl_connect_common (openssl.c:3571)
==27889== by 0x1A4AA3: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27889== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==27889==
==27889== Invalid free() / delete / delete[] / realloc()
==27889== at 0x48369AB: free (vg_replace_malloc.c:540)
==27889== by 0x5333AB9: free_key_mem (dlerror.c:223)
==27889== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==27889== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==27889== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==27889== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==27889== by 0x4C4AEB9: exit (exit.c:139)
==27889== by 0x4C350A1: (below main) (libc-start.c:342)
==27889== Address 0x5a9b528 is 8 bytes inside a block of size 32 alloc'd
==27889== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27889== by 0x23655A: OPENSSL_malloc (mem.c:106)
==27889== by 0x249206: CRYPTO_set_thread_local (thread_pthread.c:182)
==27889== by 0x2253DC: err_get_state (err.c:210)
==27889== by 0x225FB2: ERR_put_error (err.c:636)
==27889== by 0x23AC52: PEM_read_bio (pem_lib.c:622)
==27889== by 0x3084E7: PEM_X509_INFO_read_bio (pem_info.c:166)
==27889== by 0x24AB1C: X509_load_cert_crl_file (by_file.c:255)
==27889== by 0x24A5FE: by_file_ctrl (by_file.c:111)
==27889== by 0x24E1B8: X509_LOOKUP_ctrl (x509_lu.c:123)
==27889== by 0x24D699: X509_STORE_load_locations (x509_d2.c:91)
==27889== by 0x1D161D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27889== by 0x1A1BA4: ossl_connect_step1 (openssl.c:2615)
==27889== by 0x1A4827: ossl_connect_common (openssl.c:3571)
==27889== by 0x1A4AA3: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27889== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==27889==
==27889== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==27889== at 0x483577F: malloc (vg_replace_malloc.c:309)
==27889== by 0x23655A: OPENSSL_malloc (mem.c:106)
==27889== by 0x249206: CRYPTO_set_thread_local (thread_pthread.c:182)
==27889== by 0x2253DC: err_get_state (err.c:210)
==27889== by 0x225FB2: ERR_put_error (err.c:636)
==27889== by 0x23AC52: PEM_read_bio (pem_lib.c:622)
==27889== by 0x3084E7: PEM_X509_INFO_read_bio (pem_info.c:166)
==27889== by 0x24AB1C: X509_load_cert_crl_file (by_file.c:255)
==27889== by 0x24A5FE: by_file_ctrl (by_file.c:111)
==27889== by 0x24E1B8: X509_LOOKUP_ctrl (x509_lu.c:123)
==27889== by 0x24D699: X509_STORE_load_locations (x509_d2.c:91)
==27889== by 0x1D161D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==27889== by 0x1A1BA4: ossl_connect_step1 (openssl.c:2615)
==27889== by 0x1A4827: ossl_connect_common (openssl.c:3571)
==27889== by 0x1A4AA3: Curl_ossl_connect_nonblocking (openssl.c:3657)
==27889== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==27889==
=== 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:57, took 1.0s, duration: 11:26)
test 0562...[FTP a type=A URL and CURLOPT_PORT set]
--pd---emv- OK (417 out of 1251, remaining: 22:54, took 1.1s, duration: 11:27)
test 0563...[FTP type=A URL and CURLOPT_PORT set and proxy]
--p----emv- OK (418 out of 1251, remaining: 22:51, took 1.0s, duration: 11:28)
test 0564...[FTP RETR a file over a SOCKS proxy using the multi interface]
s-pd---emv- OK (419 out of 1251, remaining: 22:50, took 2.1s, duration: 11:30)
test 0565...[send HTTP POST using read callback, chunked transfer-encoding and Digest]
--pd---emv- OK (420 out of 1251, remaining: 22:50, took 2.1s, duration: 11:32)
test 0566...[HTTP GET with CURLINFO_CONTENT_LENGTH_DOWNLOAD and 0 bytes transfer]
--pd--oemv- OK (421 out of 1251, remaining: 22:47, took 1.1s, duration: 11:33)
test 0567...[simple RTSP OPTIONS command]
--pd---emv- OK (422 out of 1251, remaining: 22:48, took 3.0s, duration: 11:36)
test 0568...[RTSP Announce (PUT and POST style) test]
--p----emv- OK (423 out of 1251, remaining: 22:45, took 1.1s, duration: 11:37)
test 0569...[RTSP Session ID parsing]
--p---oemv- OK (424 out of 1251, remaining: 22:42, took 1.1s, duration: 11:38)
test 0570...[RTSP CSeq and Session Mismatch checks]
--p----emv- OK (425 out of 1251, remaining: 22:39, took 1.0s, duration: 11:39)
test 0571...[RTSP RTP Interleaving Test]
s-----oemv- OK (426 out of 1251, remaining: 22:37, took 1.1s, duration: 11:40)
test 0572...[RTSP GET_PARAMETER (Put/Heartbeat/Post)]
--p----emv- OK (427 out of 1251, remaining: 22:34, took 1.1s, duration: 11:41)
test 0573...[verify connect time with multi interface]
--pd---emv- OK (428 out of 1251, remaining: 22:31, took 1.1s, duration: 11:42)
test 0574...[FTP wildcard download - changed fnmatch, 2x perform (Unix LIST response)]
s-p----emv- OK (429 out of 1251, remaining: 22:29, took 1.5s, duration: 11:44)
test 0575...[FTP wildcard download - dup_handle and multi interface]
s-p----emv- OK (430 out of 1251, remaining: 22:28, took 1.7s, duration: 11:46)
test 0576...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (Unix)]
s------emv- OK (431 out of 1251, remaining: 22:25, took 1.3s, duration: 11:47)
test 0577...[Funny RTSP version in response]
--p----emv- OK (432 out of 1251, remaining: 22:23, took 1.0s, duration: 11:48)
test 0578...[HTTP POST lower than MAX_INITIAL_POST_SIZE with progress callback]
---d--oemv- OK (433 out of 1251, remaining: 22:20, took 1.1s, duration: 11:49)
test 0579...[small chunked HTTP POSTs with digest auth. and progress callback]
---d--oemv- OK (434 out of 1251, remaining: 22:19, took 2.1s, duration: 11:51)
test 0580...[multi interface, multiple Location: headers]
--pd---emv- OK (435 out of 1251, remaining: 22:16, took 1.0s, duration: 11:52)
test 0581...[multi interface, multiple Content-Type: headers]
--pd---emv- OK (436 out of 1251, remaining: 22:14, took 1.0s, duration: 11:53)
test 0582 SKIPPED: curl lacks sftp server support
test 0583 SKIPPED: curl lacks sftp server support
test 0585...[socket open/close callbacks]
--pd---emv- OK (439 out of 1251, remaining: 22:02, took 1.1s, duration: 11:54)
test 0586...[FTP and open/close socket callbacks]
--pd---emv- OK (440 out of 1251, remaining: 21:59, took 1.1s, duration: 11:55)
test 0587...[HTTP multi-part formpost with aborted read callback]
--p----emv- OK (441 out of 1251, remaining: 21:56, took 1.0s, duration: 11:56)
test 0588...[FTP PORT upload using multi interface, EPRT doesn't work]
--p-u--emv- OK (442 out of 1251, remaining: 21:54, took 1.1s, duration: 11:58)
test 0589...[make a HTTP MIME POST set to NULL]
--pd---emv- OK (443 out of 1251, remaining: 21:51, took 1.0s, duration: 11:59)
test 0590...[HTTP proxy offers Negotiate+NTLM, use only NTLM]
--pd---emv- OK (444 out of 1251, remaining: 21:49, took 1.1s, duration: 12:00)
test 0591...[FTP multi PORT and 425 on upload]
--p----emv- OK (445 out of 1251, remaining: 21:46, took 1.0s, duration: 12:01)
test 0592...[FTP multi PORT and 421 on upload]
--p----emv- OK (446 out of 1251, remaining: 21:43, took 1.0s, duration: 12:02)
test 0593...[FTP multi PORT upload, no data conn and no transient neg. reply]
--p----emv- OK (447 out of 1251, remaining: 21:44, took 3.1s, duration: 12:05)
test 0595...[verify close callbacks with passive FTP]
--pd---emv- OK (448 out of 1251, remaining: 21:42, took 1.1s, duration: 12:06)
test 0596...[verify close callbacks with active FTP]
--pd---emv- OK (449 out of 1251, remaining: 21:39, took 1.1s, duration: 12:07)
test 0597...[FTP connect only option]
--p----emv- OK (450 out of 1251, remaining: 21:36, took 1.0s, duration: 12:08)
test 0598...[curl_easy_reset with referer and other strings set]
--pd---emv- OK (451 out of 1251, remaining: 21:34, took 1.0s, duration: 12:09)
test 0599...[HTTP GET with progress callback and redirects changing content sizes]
---d--oemv- OK (452 out of 1251, remaining: 21:31, took 1.1s, duration: 12:10)
test 0600 SKIPPED: curl lacks sftp server support
test 0601 SKIPPED: curl lacks scp server support
test 0603 SKIPPED: curl lacks scp server support
test 0605 SKIPPED: curl lacks scp server support
test 0632 SKIPPED: curl lacks sftp support
test 0643...[HTTP multi-part mimepost using read callback for the file part]
--pd---emv- OK (496 out of 1251, remaining: 18:34, took 1.2s, duration: 12:11)
test 0644...[HTTP multi-part formpost with aborted read callback]
--p----emv- OK (497 out of 1251, remaining: 18:32, took 1.0s, duration: 12:12)
test 0645...[HTTP multi-part chunked mimepost using read callback for the file part]
--pd---emv- OK (498 out of 1251, remaining: 18:33, took 3.2s, duration: 12:16)
test 0646...[SMTP multipart using mime API]
--p-u--emv- OK (499 out of 1251, remaining: 18:34, took 3.3s, duration: 12:19)
test 0647...[IMAP APPEND multipart using mime API]
--p-u--emv- OK (500 out of 1251, remaining: 18:35, took 3.3s, duration: 12:22)
test 0648...[SMTP multipart with transfer content encoders]
--p-u--emv- OK (501 out of 1251, remaining: 18:33, took 1.2s, duration: 12:23)
test 0649...[SMTP multipart with 7bit encoder error]
--p-u--emv- OK (502 out of 1251, remaining: 18:31, took 1.2s, duration: 12:25)
test 0650...[HTTP formpost using form API]
--pd---emv- OK (503 out of 1251, remaining: 18:31, took 2.2s, duration: 12:27)
test 0651...[curl_formadd with huge COPYCONTENTS]
--pd---emv- OK (504 out of 1251, remaining: 18:30, took 2.1s, duration: 12:29)
test 0652...[SMTP with encoded huge mime data contents]
--p-u--emv- OK (505 out of 1251, remaining: 18:28, took 1.1s, duration: 12:30)
test 0653...[Reuse of handle after altering mime data]
--pd---emv- OK (506 out of 1251, remaining: 18:26, took 1.2s, duration: 12:31)
test 0654...[HTTP duplicate easy handle with mime data]
--pd---emv- OK (507 out of 1251, remaining: 18:26, took 2.2s, duration: 12:33)
test 0655...[resolver start callback]
---d---emv- OK (508 out of 1251, remaining: 18:24, took 1.1s, duration: 12:34)
test 0658...[Pass URL to libcurl with CURLOPT_CURLU]
--p----emv- OK (510 out of 1251, remaining: 18:18, took 1.1s, duration: 12:35)
test 0659...[CURLOPT_CURLU without the path set - over proxy]
--p----emv- OK (511 out of 1251, remaining: 18:16, took 1.0s, duration: 12:37)
test 0660...[IMAP CONNECT_ONLY option]
--p----emv- OK (512 out of 1251, remaining: 18:14, took 1.0s, duration: 12:38)
test 0700...[HTTP GET via SOCKS4 proxy]
--pd---emv- OK (513 out of 1251, remaining: 18:12, took 1.2s, duration: 12:39)
test 0701...[HTTP GET via SOCKS5 proxy]
--pd---emv- OK (514 out of 1251, remaining: 18:10, took 1.2s, duration: 12:40)
test 0702...[Attempt connect to non-listening HTTP server via SOCKS4 proxy]
-------emv- OK (515 out of 1251, remaining: 18:08, took 1.1s, duration: 12:41)
test 0703...[Attempt connect to non-listening HTTP server via SOCKS5 proxy]
-------emv- OK (516 out of 1251, remaining: 18:06, took 1.1s, duration: 12:42)
test 0704...[Attempt connect to non-listening SOCKS4 proxy]
-------emv- OK (517 out of 1251, remaining: 18:04, took 1.1s, duration: 12:43)
test 0705...[Attempt connect to non-listening SOCKS5 proxy]
-------emv- OK (518 out of 1251, remaining: 18:02, took 1.1s, duration: 12:44)
test 0706...[FTP dir list PASV via SOCKS4]
--pd---emv- OK (519 out of 1251, remaining: 18:00, took 1.2s, duration: 12:46)
test 0707...[FTP dir list PASV via SOCKS5]
--pd---emv- OK (520 out of 1251, remaining: 17:58, took 1.2s, duration: 12:47)
test 0708...[HTTP GET via SOCKS4 proxy]
--pd---emv- OK (521 out of 1251, remaining: 17:56, took 1.2s, duration: 12:48)
test 0709...[HTTP GET via SOCKS5 set in http_proxy environment variable]
--pd---emv- OK (522 out of 1251, remaining: 17:55, took 1.2s, duration: 12:49)
test 0710...[HTTP GET via SOCKS5 set with --proxy]
--pd---emv- OK (523 out of 1251, remaining: 17:53, took 1.2s, duration: 12:51)
test 0711...[FTP fetch with all_proxy set to socks5]
--pd---emv- OK (524 out of 1251, remaining: 17:51, took 1.2s, duration: 12:52)
test 0712...[FTP fetch with --proxy set to socks5://]
--pd---emv- OK (525 out of 1251, remaining: 17:49, took 1.2s, duration: 12:53)
test 0713...[FTP fetch with --proxy set to socks5:// and with --connect-to]
--pd---emv- OK (526 out of 1251, remaining: 17:47, took 1.2s, duration: 12:54)
test 0714...[FTP fetch with --proxy set to http:// and with --connect-to]
--p----emv- OK (527 out of 1251, remaining: 17:48, took 2.7s, duration: 12:57)
test 0715...[FTP fetch with --preproxy, --proxy and --connect-to]
--p----emv- OK (528 out of 1251, remaining: 17:48, took 2.7s, duration: 13:00)
test 0716...[SOCKS5 proxy with too long user name]
-------emv- OK (529 out of 1251, remaining: 17:46, took 1.1s, duration: 13:01)
test 0717...[SOCKS5 proxy auth]
--pd---emv- OK (530 out of 1251, remaining: 17:44, took 1.2s, duration: 13:02)
test 0800...[IMAP FETCH message]
--pd---emv- OK (531 out of 1251, remaining: 17:42, took 1.2s, duration: 13:03)
test 0801...[IMAP FETCH message by MAILINDEX and SECTION]
--pd---emv- OK (532 out of 1251, remaining: 17:40, took 1.2s, duration: 13:04)
test 0802...[IMAP SELECT UIDVALIDITY Success]
--pd---emv- OK (533 out of 1251, remaining: 17:38, took 1.2s, duration: 13:06)
test 0803...[IMAP SELECT UIDVALIDITY Failure]
--p----emv- OK (534 out of 1251, remaining: 17:37, took 1.2s, duration: 13:07)
test 0804...[IMAP doesn't perform SELECT if re-using the same mailbox]
--pd---emv- OK (535 out of 1251, remaining: 17:35, took 1.2s, duration: 13:08)
test 0805...[IMAP APPEND message]
--p-u--emv- OK (536 out of 1251, remaining: 17:33, took 1.2s, duration: 13:09)
test 0806...[IMAP LIST mailbox]
--pd---emv- OK (537 out of 1251, remaining: 17:31, took 1.2s, duration: 13:10)
test 0807...[IMAP LSUB mailbox]
--pd---emv- OK (538 out of 1251, remaining: 17:29, took 1.2s, duration: 13:12)
test 0808...[IMAP EXAMINE mailbox (CUSTOMREQUEST)]
--pd---emv- OK (539 out of 1251, remaining: 17:27, took 1.2s, duration: 13:13)
test 0809...[IMAP mailbox STATUS (CUSTOMREQUEST)]
--pd---emv- OK (540 out of 1251, remaining: 17:25, took 1.2s, duration: 13:14)
test 0810...[IMAP SEARCH for NEW messages]
--pd---emv- OK (541 out of 1251, remaining: 17:24, took 1.2s, duration: 13:15)
test 0811...[IMAP CREATE mailbox (CUSTOMREQUEST)]
--p----emv- OK (542 out of 1251, remaining: 17:22, took 1.2s, duration: 13:16)
test 0812...[IMAP DELETE mailbox (CUSTOMREQUEST)]
--p----emv- OK (543 out of 1251, remaining: 17:20, took 1.2s, duration: 13:17)
test 0813...[IMAP RENAME mailbox (CUSTOMREQUEST)]
--p----emv- OK (544 out of 1251, remaining: 17:18, took 1.2s, duration: 13:19)
test 0814...[IMAP CHECK mailbox (CUSTOMREQUEST)]
--p----emv- OK (545 out of 1251, remaining: 17:16, took 1.2s, duration: 13:20)
test 0815...[IMAP STORE - delete message (CUSTOMREQUEST)]
--p----emv- OK (546 out of 1251, remaining: 17:15, took 1.2s, duration: 13:21)
test 0816...[IMAP STORE - delete message with confirmation (CUSTOMREQUEST)]
--p----emv- OK (547 out of 1251, remaining: 17:13, took 1.2s, duration: 13:22)
test 0817...[IMAP COPY message to mailbox (CUSTOMREQUEST)]
--p----emv- OK (548 out of 1251, remaining: 17:11, took 1.2s, duration: 13:24)
test 0818...[IMAP NOOP (CUSTOMREQUEST)]
--pd---emv- OK (549 out of 1251, remaining: 17:09, took 1.2s, duration: 13:25)
test 0819...[IMAP plain authentication]
--pd---emv- OK (550 out of 1251, remaining: 17:07, took 1.2s, duration: 13:26)
test 0820...[IMAP login authentication]
--pd---emv- OK (551 out of 1251, remaining: 17:05, took 1.2s, duration: 13:27)
test 0821...[IMAP CRAM-MD5 authentication]
--pd---emv- OK (552 out of 1251, remaining: 17:04, took 1.2s, duration: 13:28)
test 0822...[IMAP NTLM authentication]
--pd---emv- OK (553 out of 1251, remaining: 17:02, took 1.3s, duration: 13:30)
test 0823...[IMAP DIGEST-MD5 authentication]
--pd---emv- OK (554 out of 1251, remaining: 17:00, took 1.2s, duration: 13:31)
test 0824...[IMAP OAuth 2.0 (XOAUTH2) authentication]
--pd---emv- OK (555 out of 1251, remaining: 16:58, took 1.2s, duration: 13:32)
test 0825...[IMAP plain authentication with initial response]
--pd---emv- OK (556 out of 1251, remaining: 16:57, took 1.2s, duration: 13:33)
test 0826...[IMAP login authentication with initial response]
--pd---emv- OK (557 out of 1251, remaining: 16:55, took 1.2s, duration: 13:34)
test 0827...[IMAP NTLM authentication with initial response]
--pd---emv- OK (558 out of 1251, remaining: 16:53, took 1.3s, duration: 13:36)
test 0828...[IMAP OAuth 2.0 (XOAUTH2) authentication with initial response]
--pd---emv- OK (559 out of 1251, remaining: 16:51, took 1.2s, duration: 13:37)
test 0829...[IMAP with URL-encoded CR LF in the URL]
-------emv- OK (560 out of 1251, remaining: 16:50, took 1.2s, duration: 13:38)
test 0830...[IMAP CRAM-MD5 graceful cancellation]
--p----emv- OK (561 out of 1251, remaining: 16:48, took 1.2s, duration: 13:39)
test 0831...[IMAP NTLM graceful cancellation]
--p----emv- OK (562 out of 1251, remaining: 16:46, took 1.2s, duration: 13:40)
test 0832...[IMAP DIGEST-MD5 graceful cancellation]
--p----emv- OK (563 out of 1251, remaining: 16:44, took 1.2s, duration: 13:42)
test 0833...[IMAP CRAM-MD5 authentication with SASL downgrade]
--pd---emv- OK (564 out of 1251, remaining: 16:42, took 1.2s, duration: 13:43)
test 0834...[IMAP NTLM authentication with SASL downgrade]
--pd---emv- OK (565 out of 1251, remaining: 16:40, took 1.2s, duration: 13:44)
test 0835...[IMAP DIGEST-MD5 authentication with SASL downgrade]
--pd---emv- OK (566 out of 1251, remaining: 16:39, took 1.2s, duration: 13:45)
test 0837...[IMAP external authentication]
--pd---emv- OK (567 out of 1251, remaining: 16:37, took 1.2s, duration: 13:46)
test 0838...[IMAP external authentication without credentials]
--pd---emv- OK (568 out of 1251, remaining: 16:35, took 1.2s, duration: 13:48)
test 0839...[IMAP external authentication with initial response]
--pd---emv- OK (569 out of 1251, remaining: 16:33, took 1.2s, duration: 13:49)
test 0840...[IMAP external authentication with initial response without credentials]
--pd---emv- OK (570 out of 1251, remaining: 16:32, took 1.2s, duration: 13:50)
test 0841...[IMAP custom request doesn't check continuation data]
--pd---emv- OK (571 out of 1251, remaining: 16:30, took 1.2s, duration: 13:51)
test 0842...[IMAP OAuth 2.0 (OAUTHBEARER) authentication]
--pd---emv- OK (572 out of 1251, remaining: 16:28, took 1.2s, duration: 13:52)
test 0843...[IMAP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--pd---emv- OK (573 out of 1251, remaining: 16:26, took 1.2s, duration: 13:54)
test 0844...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (574 out of 1251, remaining: 16:25, took 1.2s, duration: 13:55)
test 0845...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (575 out of 1251, remaining: 16:23, took 1.2s, duration: 13:56)
test 0846...[IMAP PREAUTH response]
--pd---emv- OK (576 out of 1251, remaining: 16:21, took 1.2s, duration: 13:57)
test 0847...[IMAP FETCH message]
--pd---emv- OK (577 out of 1251, remaining: 16:19, took 1.2s, duration: 13:58)
test 0848...[IMAP plain authentication with alternative authorization identity]
--pd---emv- OK (578 out of 1251, remaining: 16:18, took 1.2s, duration: 13:59)
test 0849...[IMAP plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (579 out of 1251, remaining: 16:16, took 1.2s, duration: 14:01)
test 0850...[POP3 RETR message]
--pd---emv- OK (580 out of 1251, remaining: 16:16, took 3.2s, duration: 14:04)
test 0851...[POP3 LIST one message]
--p----emv- OK (581 out of 1251, remaining: 16:15, took 1.2s, duration: 14:05)
test 0852...[POP3 LIST invalid message]
--p----emv- OK (582 out of 1251, remaining: 16:13, took 1.2s, duration: 14:06)
test 0853...[POP3 LIST messages from *SLOW* server]
--pd---emv- OK (583 out of 1251, remaining: 16:15, took 4.3s, duration: 14:11)
test 0854...[POP3 LIST no messages available]
--p----emv- OK (584 out of 1251, remaining: 16:13, took 1.2s, duration: 14:12)
test 0855...[POP3 RETR invalid message]
--p----emv- OK (585 out of 1251, remaining: 16:11, took 1.2s, duration: 14:13)
test 0856...[POP3 invalid login]
--p----emv- OK (586 out of 1251, remaining: 16:09, took 1.2s, duration: 14:14)
test 0857...[POP3 RETR message with dot-prefixed line]
--pd---emv- OK (587 out of 1251, remaining: 16:07, took 1.2s, duration: 14:15)
test 0858...[POP3 DELE message (CUSTOMREQUEST)]
--p----emv- OK (588 out of 1251, remaining: 16:06, took 1.2s, duration: 14:16)
test 0859...[POP3 STAT (CUSTOMREQUEST)]
--p----emv- OK (589 out of 1251, remaining: 16:04, took 1.2s, duration: 14:18)
test 0860...[POP3 NOOP (CUSTOMREQUEST)]
--p----emv- OK (590 out of 1251, remaining: 16:02, took 1.2s, duration: 14:19)
test 0861...[POP3 UIDL (CUSTOMREQUEST)]
--pd---emv- OK (591 out of 1251, remaining: 16:00, took 1.2s, duration: 14:20)
test 0862...[POP3 retrieve message header (CUSTOMREQUEST)]
--pd---emv- OK (592 out of 1251, remaining: 15:59, took 1.2s, duration: 14:21)
test 0863...[POP3 RSET (CUSTOMREQUEST)]
--p----emv- OK (593 out of 1251, remaining: 15:57, took 1.2s, duration: 14:22)
test 0864...[POP3 APOP authentication]
--pd---emv- OK (594 out of 1251, remaining: 15:55, took 1.2s, duration: 14:23)
test 0865...[POP3 plain authentication]
--pd---emv- OK (595 out of 1251, remaining: 15:53, took 1.2s, duration: 14:25)
test 0866...[POP3 login authentication]
--pd---emv- OK (596 out of 1251, remaining: 15:51, took 1.2s, duration: 14:26)
test 0867...[POP3 CRAM-MD5 authentication]
--pd---emv- OK (597 out of 1251, remaining: 15:50, took 1.2s, duration: 14:27)
test 0868...[POP3 NTLM authentication]
--pd---emv- OK (598 out of 1251, remaining: 15:48, took 1.2s, duration: 14:28)
test 0869...[POP3 DIGEST-MD5 authentication]
--pd---emv- OK (599 out of 1251, remaining: 15:46, took 1.2s, duration: 14:29)
test 0870...[POP3 OAuth 2.0 (XOAUTH2) authentication]
--pd---emv- OK (600 out of 1251, remaining: 15:45, took 1.2s, duration: 14:31)
test 0871...[POP3 plain authentication with initial response]
--pd---emv- OK (601 out of 1251, remaining: 15:43, took 1.2s, duration: 14:32)
test 0872...[POP3 login authentication with initial response]
--pd---emv- OK (602 out of 1251, remaining: 15:41, took 1.2s, duration: 14:33)
test 0873...[POP3 NTLM authentication with initial response]
--pd---emv- OK (603 out of 1251, remaining: 15:39, took 1.2s, duration: 14:34)
test 0874...[POP3 OAuth 2.0 (XOAUTH2) authentication with initial response]
--pd---emv- OK (604 out of 1251, remaining: 15:38, took 1.2s, duration: 14:35)
test 0875...[POP3 with URL-encoded CR LF in the URL]
-------emv- OK (605 out of 1251, remaining: 15:36, took 1.2s, duration: 14:37)
test 0876...[POP3 CRAM-MD5 graceful cancellation]
--p----emv- OK (606 out of 1251, remaining: 15:34, took 1.2s, duration: 14:38)
test 0877...[POP3 NTLM graceful cancellation]
--p----emv- OK (607 out of 1251, remaining: 15:32, took 1.2s, duration: 14:39)
test 0878...[POP3 DIGEST-MD5 graceful cancellation]
--p----emv- OK (608 out of 1251, remaining: 15:31, took 1.2s, duration: 14:40)
test 0879...[POP3 CRAM-MD5 authentication with SASL downgrade]
--pd---emv- OK (609 out of 1251, remaining: 15:29, took 1.2s, duration: 14:41)
test 0880...[POP3 NTLM authentication with SASL downgrade]
--pd---emv- OK (610 out of 1251, remaining: 15:27, took 1.2s, duration: 14:42)
test 0881...[POP3 DIGEST-MD5 authentication with SASL downgrade]
--pd---emv- OK (611 out of 1251, remaining: 15:26, took 1.2s, duration: 14:44)
test 0883...[POP3 external authentication]
--pd---emv- OK (612 out of 1251, remaining: 15:24, took 1.2s, duration: 14:45)
test 0884...[POP3 external authentication without credentials]
--pd---emv- OK (613 out of 1251, remaining: 15:22, took 1.2s, duration: 14:46)
test 0885...[POP3 external authentication with initial response]
--pd---emv- OK (614 out of 1251, remaining: 15:20, took 1.2s, duration: 14:47)
test 0886...[POP3 external authentication with initial response without credentials]
--pd---emv- OK (615 out of 1251, remaining: 15:19, took 1.2s, duration: 14:48)
test 0887...[POP3 OAuth 2.0 (OAUTHBEARER) authentication]
--pd---emv- OK (616 out of 1251, remaining: 15:17, took 1.2s, duration: 14:50)
test 0888...[POP3 OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--pd---emv- OK (617 out of 1251, remaining: 15:15, took 1.2s, duration: 14:51)
test 0889...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (618 out of 1251, remaining: 15:14, took 1.2s, duration: 14:52)
test 0890...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (619 out of 1251, remaining: 15:12, took 1.2s, duration: 14:53)
test 0891...[POP3 with short authentication response]
--p----emv- OK (620 out of 1251, remaining: 15:10, took 1.2s, duration: 14:54)
test 0892...[POP3 plain authentication with alternative authorization identity]
--pd---emv- OK (621 out of 1251, remaining: 15:08, took 1.2s, duration: 14:55)
test 0893...[POP3 plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (622 out of 1251, remaining: 15:07, took 1.2s, duration: 14:57)
test 0900...[SMTP]
--p-u--emv- OK (623 out of 1251, remaining: 15:05, took 1.2s, duration: 14:58)
test 0901...[SMTP with CRLF-dot-CRLF in data]
--p-u--emv- OK (624 out of 1251, remaining: 15:03, took 1.2s, duration: 14:59)
test 0902...[RFC821-only SMTP server (EHLO not supported)]
--p-u--emv- OK (625 out of 1251, remaining: 15:02, took 1.2s, duration: 15:00)
test 0903...[SMTP plain authentication]
--p-u--emv- OK (626 out of 1251, remaining: 15:00, took 1.2s, duration: 15:01)
test 0904...[SMTP login authentication]
--p-u--emv- OK (627 out of 1251, remaining: 14:58, took 1.2s, duration: 15:02)
test 0905...[SMTP CRAM-MD5 authentication]
--p-u--emv- OK (628 out of 1251, remaining: 14:57, took 1.2s, duration: 15:04)
test 0906...[SMTP NTLM authentication]
--p-u--emv- OK (629 out of 1251, remaining: 14:55, took 1.2s, duration: 15:05)
test 0907...[SMTP DIGEST-MD5 authentication]
--p-u--emv- OK (630 out of 1251, remaining: 14:53, took 1.2s, duration: 15:06)
test 0908...[SMTP OAuth 2.0 (XOAUTH2) authentication]
--p-u--emv- OK (631 out of 1251, remaining: 14:52, took 1.2s, duration: 15:07)
test 0909...[SMTP without SIZE support]
--p-u--emv- OK (632 out of 1251, remaining: 14:50, took 1.2s, duration: 15:09)
test 0910...[SMTP without terminating CRLF]
--p-u--emv- OK (633 out of 1251, remaining: 14:48, took 1.2s, duration: 15:10)
test 0911...[SMTP with no mail data]
--p-u--emv- OK (634 out of 1251, remaining: 14:46, took 1.2s, duration: 15:11)
test 0912...[SMTP with SIZE support]
--p-u--emv- OK (635 out of 1251, remaining: 14:45, took 1.2s, duration: 15:12)
test 0913...[SMTP with large message SIZE]
--p----emv- OK (636 out of 1251, remaining: 14:43, took 1.2s, duration: 15:13)
test 0914...[SMTP invalid --mail-from]
--p----emv- OK (637 out of 1251, remaining: 14:41, took 1.2s, duration: 15:14)
test 0915...[SMTP without --mail-from]
--p-u--emv- OK (638 out of 1251, remaining: 14:40, took 1.2s, duration: 15:16)
test 0916...[SMTP with invalid --mail-rcpt]
--p----emv- OK (639 out of 1251, remaining: 14:38, took 1.2s, duration: 15:17)
test 0917...[SMTP with multiple --mail-rcpt]
--p-u--emv- OK (640 out of 1251, remaining: 14:36, took 1.2s, duration: 15:18)
test 0918...[SMTP with multiple and invalid --mail-rcpt]
--p----emv- OK (641 out of 1251, remaining: 14:35, took 1.2s, duration: 15:19)
test 0919...[SMTP plain authentication with initial response]
--p-u--emv- OK (642 out of 1251, remaining: 14:33, took 1.2s, duration: 15:20)
test 0920...[SMTP login authentication with initial response]
--p-u--emv- OK (643 out of 1251, remaining: 14:31, took 1.2s, duration: 15:22)
test 0921...[SMTP NTLM authentication with initial response]
--p-u--emv- OK (644 out of 1251, remaining: 14:30, took 1.3s, duration: 15:23)
test 0922...[SMTP OAuth 2.0 (XOAUTH2) authentication with initial response]
--p-u--emv- OK (645 out of 1251, remaining: 14:28, took 1.2s, duration: 15:24)
test 0923...[SMTP VRFY]
--pd---emv- OK (646 out of 1251, remaining: 14:26, took 1.2s, duration: 15:25)
test 0924...[SMTP ambiguous VRFY]
--pd---emv- OK (647 out of 1251, remaining: 14:25, took 1.2s, duration: 15:26)
test 0925...[SMTP external VRFY]
--pd---emv- OK (648 out of 1251, remaining: 14:23, took 1.2s, duration: 15:27)
test 0926...[SMTP unknown user VRFY]
--p----emv- OK (649 out of 1251, remaining: 14:21, took 1.2s, duration: 15:29)
test 0927...[SMTP mailing list EXPN (CUSTOMREQUEST)]
--pd---emv- OK (650 out of 1251, remaining: 14:20, took 1.2s, duration: 15:30)
test 0928...[SMTP HELP]
--pd---emv- OK (651 out of 1251, remaining: 14:18, took 1.2s, duration: 15:31)
test 0929...[SMTP NOOP (CUSTOMREQUEST)]
--p----emv- OK (652 out of 1251, remaining: 14:16, took 1.2s, duration: 15:32)
test 0930...[SMTP RSET (CUSTOMREQUEST)]
--p----emv- OK (653 out of 1251, remaining: 14:15, took 1.2s, duration: 15:33)
test 0931...[SMTP with URL-encoded CR LF in the URL]
-------emv- OK (654 out of 1251, remaining: 14:13, took 1.1s, duration: 15:34)
test 0932...[SMTP CRAM-MD5 graceful cancellation]
--p----emv- OK (655 out of 1251, remaining: 14:11, took 1.2s, duration: 15:36)
test 0933...[SMTP NTLM graceful cancellation]
--p----emv- OK (656 out of 1251, remaining: 14:10, took 1.2s, duration: 15:37)
test 0934...[SMTP DIGEST-MD5 graceful cancellation]
--p----emv- OK (657 out of 1251, remaining: 14:08, took 1.2s, duration: 15:38)
test 0935...[SMTP CRAM-MD5 authentication with SASL downgrade]
--p-u--emv- OK (658 out of 1251, remaining: 14:06, took 1.2s, duration: 15:39)
test 0936...[SMTP NTLM authentication with SASL downgrade]
--p-u--emv- OK (659 out of 1251, remaining: 14:05, took 1.2s, duration: 15:40)
test 0937...[SMTP DIGEST-MD5 authentication with SASL downgrade]
--p-u--emv- OK (660 out of 1251, remaining: 14:03, took 1.2s, duration: 15:42)
test 0939...[RFC821-only SMTP with username and password]
--p-u--emv- OK (661 out of 1251, remaining: 14:01, took 1.2s, duration: 15:43)
test 0940...[SMTP with username and password but no AUTH capability]
--p-u--emv- OK (662 out of 1251, remaining: 14:00, took 1.2s, duration: 15:44)
test 0941...[SMTP with --crlf]
--p-u--emv- OK (663 out of 1251, remaining: 13:58, took 1.2s, duration: 15:45)
test 0942...[SMTP external authentication]
--p-u--emv- OK (664 out of 1251, remaining: 13:57, took 1.2s, duration: 15:46)
test 0943...[SMTP external authentication without credentials]
--p-u--emv- OK (665 out of 1251, remaining: 13:55, took 1.2s, duration: 15:48)
test 0944...[SMTP external authentication with initial response]
--p-u--emv- OK (666 out of 1251, remaining: 13:53, took 1.2s, duration: 15:49)
test 0945...[SMTP external authentication with initial response without credentials]
--p-u--emv- OK (667 out of 1251, remaining: 13:52, took 1.2s, duration: 15:50)
test 0946...[SMTP OAuth 2.0 (OAUTHBEARER) authentication]
--p-u--emv- OK (668 out of 1251, remaining: 13:50, took 1.2s, duration: 15:51)
test 0947...[SMTP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--p-u--emv- OK (669 out of 1251, remaining: 13:48, took 1.2s, duration: 15:52)
test 0948...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (670 out of 1251, remaining: 13:47, took 1.2s, duration: 15:54)
test 0949...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (671 out of 1251, remaining: 13:45, took 1.2s, duration: 15:55)
test 0950...[SMTP VRFY with custom request]
--pd---emv- OK (672 out of 1251, remaining: 13:43, took 1.2s, duration: 15:56)
test 0951...[SMTP data with dot as first character]
--p-u--emv- OK (673 out of 1251, remaining: 13:42, took 1.2s, duration: 15:57)
test 0952...[SMTP data with single dot-only line]
--p-u--emv- OK (674 out of 1251, remaining: 13:40, took 1.2s, duration: 15:58)
test 0953...[SMTP plain authentication with alternative authorization identity]
--p-u--emv- OK (675 out of 1251, remaining: 13:39, took 1.2s, duration: 15:59)
test 0954...[SMTP plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (676 out of 1251, remaining: 13:37, took 1.2s, duration: 16:01)
test 1000...[FTP dir list PASV with -I]
--p----emv- OK (677 out of 1251, remaining: 13:35, took 1.2s, duration: 16:02)
test 1001...[HTTP POST --digest with PUT and resumed upload and modified method]
--pd---emv- OK (678 out of 1251, remaining: 13:35, took 2.3s, duration: 16:04)
test 1002...[HTTP PUT with Digest auth, resumed upload and modified method, twice]
--pd---emv- OK (679 out of 1251, remaining: 13:35, took 3.3s, duration: 16:07)
test 1003...[FTP with excessively large server command response line]
--pd---emv- OK (680 out of 1251, remaining: 13:33, took 1.3s, duration: 16:09)
test 1004...[HTTP GET with empty proxy]
valgrind SKIPPED
--pd---em-- OK (681 out of 1251, remaining: 13:31, took 0.0s, duration: 16:09)
test 1005...[FTP with excessively large number of server command response lines]
--pd---emv- OK (682 out of 1251, remaining: 13:29, took 1.3s, duration: 16:10)
test 1006...[FTP with excessively large number of server command response lines (boundary condition)]
--pd---emv- OK (683 out of 1251, remaining: 13:28, took 1.3s, duration: 16:11)
test 1007...[TFTP send with invalid permission on server]
--p----emv- OK (684 out of 1251, remaining: 13:26, took 1.1s, duration: 16:12)
test 1008...[HTTP proxy CONNECT auth NTLM with chunked-encoded 407 response]
--pd---emv- OK (685 out of 1251, remaining: 13:25, took 1.4s, duration: 16:14)
test 1009...[TFTP retrieve with --local-port]
--pd---emv- OK (686 out of 1251, remaining: 13:23, took 1.2s, duration: 16:15)
test 1010...[FTP dir list nocwd]
--pd---emv- OK (687 out of 1251, remaining: 13:21, took 1.2s, duration: 16:16)
test 1011...[HTTP POST with 301 redirect]
--pd---emv- OK (688 out of 1251, remaining: 13:20, took 1.2s, duration: 16:17)
test 1012...[HTTP POST with 301 redirect and --post301]
--pd---emv- OK (689 out of 1251, remaining: 13:18, took 1.3s, duration: 16:19)
test 1013...[Compare curl --version with curl-config --protocols]
-------emv- OK (690 out of 1251, remaining: 13:16, took 0.9s, duration: 16:20)
test 1014...[Compare curl --version with curl-config --features]
-------emv- OK (691 out of 1251, remaining: 13:14, took 0.9s, duration: 16:20)
test 1015...[--data-urlencode]
--pd---emv- OK (692 out of 1251, remaining: 13:13, took 1.2s, duration: 16:22)
test 1016...[X-Y range on a file:// URL to stdout]
s------emv- OK (693 out of 1251, remaining: 13:11, took 1.1s, duration: 16:23)
test 1017...[0-Y range on a file:// URL to stdout]
s------emv- OK (694 out of 1251, remaining: 13:10, took 1.1s, duration: 16:24)
test 1018...[X-X range on a file:// URL to stdout]
s------emv- OK (695 out of 1251, remaining: 13:08, took 1.1s, duration: 16:25)
test 1019...[X- range on a file:// URL to stdout]
s------emv- OK (696 out of 1251, remaining: 13:06, took 1.1s, duration: 16:26)
test 1020...[-Y range on a file:// URL to stdout]
s------emv- OK (697 out of 1251, remaining: 13:04, took 1.1s, duration: 16:27)
test 1021...[HTTP proxy CONNECT with any proxyauth and proxy offers NTLM and close]
--pd---emv- OK (698 out of 1251, remaining: 13:03, took 1.3s, duration: 16:28)
test 1022...[Compare curl --version with curl-config --version]
-------emv- OK (699 out of 1251, remaining: 13:01, took 0.9s, duration: 16:29)
test 1023...[Compare curl --version with curl-config --vernum]
-------emv- OK (700 out of 1251, remaining: 12:59, took 0.9s, duration: 16:30)
test 1024...[HTTP Location: following with cookies]
--pd---emv- OK (701 out of 1251, remaining: 12:58, took 1.2s, duration: 16:31)
test 1025...[HTTP Location: following with command-line and server cookies]
--pd---emv- OK (702 out of 1251, remaining: 12:56, took 1.2s, duration: 16:33)
test 1026...[curl --manual ]
-------emv- OK (703 out of 1251, remaining: 12:54, took 0.9s, duration: 16:34)
test 1027...[curl --help]
-------emv- OK (704 out of 1251, remaining: 12:53, took 0.9s, duration: 16:34)
test 1028...[HTTP Location: redirect to FTP URL]
s-p----emv- OK (705 out of 1251, remaining: 12:51, took 1.2s, duration: 16:36)
test 1029...[HTTP Location: and 'redirect_url' check]
s-p----emv- OK (706 out of 1251, remaining: 12:49, took 1.2s, duration: 16:37)
test 1030...[HTTP PUT with --anyauth authorization (picking Digest)]
--pd---emv- OK (707 out of 1251, remaining: 12:49, took 3.3s, duration: 16:40)
test 1031...[HTTP Location: following to a query string]
--pd---emv- OK (708 out of 1251, remaining: 12:48, took 1.2s, duration: 16:41)
test 1032...[HTTP HEAD with --range]
--pd---emv- OK (709 out of 1251, remaining: 12:46, took 1.2s, duration: 16:43)
test 1033...[HTTP GET with 102 response!]
--pd---emv- OK (710 out of 1251, remaining: 12:45, took 1.2s, duration: 16:44)
test 1034...[HTTP over proxy with malformatted IDN host name]
-------emv- OK (711 out of 1251, remaining: 12:43, took 1.1s, duration: 16:45)
test 1035...[HTTP over proxy with too long IDN host name]
-------emv- OK (712 out of 1251, remaining: 12:41, took 1.1s, duration: 16:46)
test 1036...[FTP download resume from end of file]
--p---oemv- OK (713 out of 1251, remaining: 12:40, took 1.2s, duration: 16:47)
test 1037...[FTP download resume from end of empty file]
--p----emv- OK (714 out of 1251, remaining: 12:38, took 1.2s, duration: 16:48)
test 1038...[FTP PASV upload resume from end of file]
--p-u--emv- OK (715 out of 1251, remaining: 12:37, took 1.2s, duration: 16:50)
test 1039...[FTP PASV upload resume from end of empty file]
--p-u--emv- OK (716 out of 1251, remaining: 12:35, took 1.2s, duration: 16:51)
test 1040...[HTTP GET with resume from end of entirely-downloaded file]
--pd---emv- OK (717 out of 1251, remaining: 12:34, took 1.2s, duration: 16:52)
test 1041...[HTTP PUT with resume from end of already-uploaded file]
--pd---emv- OK (718 out of 1251, remaining: 12:33, took 2.2s, duration: 16:54)
test 1042...[HTTP GET beyond end of entirely-downloaded file, no server resume]
--pd---emv- OK (719 out of 1251, remaining: 12:31, took 1.2s, duration: 16:55)
test 1043...[HTTP GET with resume from end of file]
--pd---emv- OK (720 out of 1251, remaining: 12:30, took 1.2s, duration: 16:56)
test 1044...[FTP download large file info with -I]
s-p----emv- OK (721 out of 1251, remaining: 12:28, took 1.2s, duration: 16:58)
test 1045...[HTTP GET with numeric localhost --interface]
--pd---emv- OK (722 out of 1251, remaining: 12:26, took 1.2s, duration: 16:59)
test 1046...[HTTP-IPv6 GET with numeric localhost --interface]
--pd---emv- OK (723 out of 1251, remaining: 12:25, took 1.2s, duration: 17:00)
test 1047...[FTP dir list PASV with localhost --interface]
--pd---emv- OK (724 out of 1251, remaining: 12:23, took 1.2s, duration: 17:01)
test 1048...[FTP-IPv6 dir list PASV with localhost --interface]
--pd---emv- OK (725 out of 1251, remaining: 12:22, took 1.2s, duration: 17:02)
test 1049...[TFTP retrieve with localhost --interface]
--pd---emv- OK (726 out of 1251, remaining: 12:20, took 1.2s, duration: 17:04)
test 1050...[FTP-IPv6 dir list, EPRT with specified IP]
--pd---emv- OK (727 out of 1251, remaining: 12:19, took 1.2s, duration: 17:05)
test 1051...[HTTP PUT with Location: following]
--pd---emv- OK (728 out of 1251, remaining: 12:18, took 3.2s, duration: 17:08)
test 1052...[HTTP 1.0 PUT with Location: following]
--pd---emv- OK (729 out of 1251, remaining: 12:17, took 1.2s, duration: 17:09)
test 1053...[HTTP RFC1867-type formposting from file with Location: following]
--pd---emv- OK (730 out of 1251, remaining: 12:15, took 1.2s, duration: 17:11)
test 1054...[HTTP POST from file with 301 redirect and --post301]
--pd---emv- OK (731 out of 1251, remaining: 12:14, took 1.3s, duration: 17:12)
test 1055...[HTTP PUT Location: redirect to FTP URL]
--pdu--emv- OK (732 out of 1251, remaining: 12:13, took 2.3s, duration: 17:14)
test 1056...[HTTP follow redirect from IPv4 to IPv6 with scope]
--pd---emv- OK (733 out of 1251, remaining: 12:12, took 1.3s, duration: 17:15)
test 1057...[FTP retrieve a byte-range relative to end of file]
--pd---emv- OK (734 out of 1251, remaining: 12:10, took 1.2s, duration: 17:17)
test 1058...[HTTP range relative to end of file]
--pd---emv- OK (735 out of 1251, remaining: 12:08, took 1.2s, duration: 17:18)
test 1059...[HTTP CONNECT with proxytunnel to unsupported FTP URL]
--p----emv- OK (736 out of 1251, remaining: 12:07, took 1.2s, duration: 17:19)
test 1060...[HTTP proxy CONNECT auth Digest, large headers and data]
--pd---emv- OK (737 out of 1251, remaining: 12:07, took 3.5s, duration: 17:22)
test 1061...[HTTP proxy CONNECT auth Digest, large headers and chunked data]
--pd---emv- OK (738 out of 1251, remaining: 12:07, took 3.6s, duration: 17:26)
test 1062...[FTP with excessively long server command response lines, boundary condition]
--pd---emv- OK (739 out of 1251, remaining: 12:05, took 1.3s, duration: 17:27)
test 1063...[Invalid large X- range on a file://]
-------emv- OK (740 out of 1251, remaining: 12:04, took 1.1s, duration: 17:28)
test 1064...[HTTP PUT twice]
s-p----emv- OK (741 out of 1251, remaining: 12:02, took 1.2s, duration: 17:30)
test 1065...[HTTP PUT with one file but two URLs]
s-p----emv- OK (742 out of 1251, remaining: 12:01, took 1.2s, duration: 17:31)
test 1066...[HTTP --dump-header - with two URLs]
s-p----emv- OK (743 out of 1251, remaining: 11:59, took 1.2s, duration: 17:32)
test 1067...[HTTP Location: following with auto-referer]
--pd---emv- OK (744 out of 1251, remaining: 11:58, took 1.2s, duration: 17:33)
test 1068...[HTTP PUT from stdin]
--pd---emv- OK (745 out of 1251, remaining: 11:57, took 2.2s, duration: 17:35)
test 1069...[HTTP 1.0 PUT from stdin with no content length]
-------emv- OK (746 out of 1251, remaining: 11:55, took 1.1s, duration: 17:37)
test 1070...[HTTP POST with server closing connection before (all) data is received]
--pd---emv- OK (747 out of 1251, remaining: 11:54, took 2.2s, duration: 17:39)
test 1071...[Downgraded HTTP PUT to HTTP 1.0 with authorization]
--pd---emv- OK (748 out of 1251, remaining: 11:53, took 2.2s, duration: 17:41)
test 1072...[HTTP chunked PUT to HTTP 1.0 server with authorization]
--pd---emv- OK (749 out of 1251, remaining: 11:52, took 2.2s, duration: 17:43)
test 1073...[HTTP chunked PUT to HTTP 1.0 server with redirect]
--pd---emv- OK (750 out of 1251, remaining: 11:52, took 2.2s, duration: 17:45)
test 1074...[HTTP downgrade to HTTP/1.0 on second request]
s-p----emv- OK (751 out of 1251, remaining: 11:51, took 3.2s, duration: 17:49)
test 1075...[HTTP PUT with --anyauth authorization (picking Basic)]
--pd---emv- OK (752 out of 1251, remaining: 11:51, took 3.2s, duration: 17:52)
test 1076...[HTTP POST with 302 redirect and --post302]
--pd---emv- OK (753 out of 1251, remaining: 11:49, took 1.3s, duration: 17:53)
test 1077...[FTP over HTTP proxy with downgrade to HTTP 1.0]
--pd---emv- OK (754 out of 1251, remaining: 11:48, took 1.2s, duration: 17:54)
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:47, took 1.7s, duration: 17:56)
test 1079...[HTTP retry after closed connection and empty response]
--pd---emv- OK (756 out of 1251, remaining: 11:45, took 1.3s, duration: 17:57)
test 1080...[HTTP Location: on two URLs 'redirect_url' check]
s-p----emv- OK (757 out of 1251, remaining: 11:44, took 1.2s, duration: 17:58)
test 1081...[HTTP no Location: on second URL 'redirect_url' check]
s-p----emv- OK (758 out of 1251, remaining: 11:42, took 1.2s, duration: 18:00)
test 1082...[HTTP GET with localhost --interface]
--pd---emv- OK (759 out of 1251, remaining: 11:40, took 1.2s, duration: 18:01)
test 1083...[HTTP-IPv6 GET with ip6-localhost --interface]
--pd---emv- OK (760 out of 1251, remaining: 11:39, took 1.2s, duration: 18:02)
test 1084...[HTTP GET with invalid --interface]
-------emv- OK (761 out of 1251, remaining: 11:37, took 1.2s, duration: 18:03)
test 1085...[HTTP-IPv6 GET with invalid --interface]
-------emv- OK (762 out of 1251, remaining: 11:36, took 1.2s, duration: 18:04)
test 1086...[FTP download with strict timeout and slow data transfer]
Killed
Killed
--p----emv- OK (763 out of 1251, remaining: 11:42, took 14.1s, duration: 18:18)
test 1087...[HTTP, proxy with --anyauth and Location: to new host]
--pd---emv- OK (764 out of 1251, remaining: 11:41, took 1.3s, duration: 18:20)
test 1088...[HTTP, proxy with --anyauth and Location: to new host using location-trusted]
--pd---emv- OK (765 out of 1251, remaining: 11:39, took 1.3s, duration: 18:21)
test 1089...[HTTP GET --write-out with redirected fetch]
s-p----emv- OK (766 out of 1251, remaining: 11:38, took 1.2s, duration: 18:22)
test 1090...[HTTP GET --write-out with redirected fetch and chunked reply]
s-p----emv- OK (767 out of 1251, remaining: 11:36, took 1.2s, duration: 18:23)
test 1091...[FTP URL with type=i]
--pd---emv- OK (768 out of 1251, remaining: 11:36, took 3.2s, duration: 18:27)
test 1092...[FTP with type=i over HTTP proxy]
--pd---emv- OK (769 out of 1251, remaining: 11:34, took 1.2s, duration: 18:28)
test 1093...[TFTP retrieve with mode=i]
--pd---emv- OK (770 out of 1251, remaining: 11:33, took 1.1s, duration: 18:29)
test 1094...[TFTP retrieve with mode=netascii]
--pd---emv- OK (771 out of 1251, remaining: 11:31, took 1.1s, duration: 18:30)
test 1095...[HTTP with Digest and realm with quoted quotes]
--pd---emv- OK (772 out of 1251, remaining: 11:29, took 1.2s, duration: 18:31)
test 1096...[Two FTP downloads, with failed RETR but re-used control connection]
Killed
Killed
--p----emv- OK (773 out of 1251, remaining: 11:28, took 1.2s, duration: 18:32)
test 1097...[HTTP POST using CONNECT with --proxy-ntlm but no auth is required]
--pd---emv- OK (774 out of 1251, remaining: 11:26, took 1.2s, duration: 18:34)
test 1098...[FTP RETR twice over proxy confirming persistent connection]
s-p----emv- OK (775 out of 1251, remaining: 11:25, took 1.2s, duration: 18:35)
test 1099...[TFTP get first a non-existing file then an existing]
s-p----emv- OK (776 out of 1251, remaining: 11:23, took 1.2s, duration: 18:36)
test 1100...[HTTP POST with NTLM authorization and following a 302 redirect]
--pd---emv- OK (777 out of 1251, remaining: 11:21, took 1.3s, duration: 18:37)
test 1101...[NO_PROXY test, with user name in URL]
--pd---emv- OK (778 out of 1251, remaining: 11:20, took 1.2s, duration: 18:39)
test 1102...[FTP OS/400 server name format check]
--p----emv- OK (779 out of 1251, remaining: 11:18, took 1.2s, duration: 18:40)
test 1103...[FTP non-OS/400 server]
--p----emv- OK (780 out of 1251, remaining: 11:17, took 1.2s, duration: 18:41)
test 1104...[HTTP cookie expiry date at Jan 1 00:00:00 GMT 1970]
--pd---emv- OK (781 out of 1251, remaining: 11:15, took 1.2s, duration: 18:42)
test 1105...[HTTP with cookie parser and header recording]
--pd--oemv- OK (782 out of 1251, remaining: 11:14, took 1.2s, duration: 18:43)
test 1106...[FTP URL and with ftp_proxy environment variable set]
--p----emv- OK (783 out of 1251, remaining: 11:12, took 1.2s, duration: 18:45)
test 1107...[FTP RETR PASV with PRET]
--pd---emv- OK (784 out of 1251, remaining: 11:10, took 1.2s, duration: 18:46)
test 1108...[FTP RETR PASV with PRET not supported]
--p----emv- OK (785 out of 1251, remaining: 11:09, took 1.2s, duration: 18:47)
test 1109...[HTTP GET with URL that contains fragment after the path]
--pd---emv- OK (786 out of 1251, remaining: 11:07, took 1.2s, duration: 18:48)
test 1110...[HTTP GET with URL that contains a fragment after the query part]
--pd---emv- OK (787 out of 1251, remaining: 11:06, took 1.2s, duration: 18:49)
test 1111...[HTTP GET with URL whose fragment contains a # (which is illegal)]
--pd---emv- OK (788 out of 1251, remaining: 11:04, took 1.2s, duration: 18:50)
test 1112...[FTPS download with strict timeout and slow data transfer]
Killed
Killed
goto problem 24
valgrind ERROR ==29307== Invalid read of size 8
==29307== at 0x53335A5: check_free (dlerror.c:188)
==29307== by 0x5333AB1: free_key_mem (dlerror.c:221)
==29307== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==29307== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==29307== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==29307== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==29307== by 0x4C4AEB9: exit (exit.c:139)
==29307== by 0x4C350A1: (below main) (libc-start.c:342)
==29307== Address 0x5af7de0 is 0 bytes after a block of size 32 alloc'd
==29307== at 0x483577F: malloc (vg_replace_malloc.c:309)
==29307== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==29307== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==29307== by 0x24AE36: err_get_state (err.c:210)
==29307== by 0x24BA0C: ERR_put_error (err.c:636)
==29307== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==29307== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==29307== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==29307== by 0x270058: by_file_ctrl (by_file.c:111)
==29307== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==29307== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==29307== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==29307== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==29307== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==29307== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==29307== by 0x182153: Curl_ssl_connect (vtls.c:251)
==29307==
==29307== Invalid free() / delete / delete[] / realloc()
==29307== at 0x48369AB: free (vg_replace_malloc.c:540)
==29307== by 0x5333AB9: free_key_mem (dlerror.c:223)
==29307== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==29307== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==29307== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==29307== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==29307== by 0x4C4AEB9: exit (exit.c:139)
==29307== by 0x4C350A1: (below main) (libc-start.c:342)
==29307== Address 0x5af7dc8 is 8 bytes inside a block of size 32 alloc'd
==29307== at 0x483577F: malloc (vg_replace_malloc.c:309)
==29307== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==29307== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==29307== by 0x24AE36: err_get_state (err.c:210)
==29307== by 0x24BA0C: ERR_put_error (err.c:636)
==29307== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==29307== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==29307== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==29307== by 0x270058: by_file_ctrl (by_file.c:111)
==29307== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==29307== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==29307== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==29307== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==29307== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==29307== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==29307== by 0x182153: Curl_ssl_connect (vtls.c:251)
==29307==
==29307== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==29307== at 0x483577F: malloc (vg_replace_malloc.c:309)
==29307== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==29307== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==29307== by 0x24AE36: err_get_state (err.c:210)
==29307== by 0x24BA0C: ERR_put_error (err.c:636)
==29307== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==29307== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==29307== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==29307== by 0x270058: by_file_ctrl (by_file.c:111)
==29307== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==29307== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==29307== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==29307== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==29307== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==29307== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==29307== by 0x182153: Curl_ssl_connect (vtls.c:251)
==29307==
== 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
=== End of file curl1112.out
=== Start of file ftp_server.log
03:10:01.069871 ====> Client connect
03:10:01.070013 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:10:01.070511 < "USER anonymous"
03:10:01.070600 > "331 We are happy you popped in![CR][LF]"
03:10:01.071041 < "PASS ftp@example.com"
03:10:01.071123 > "230 Welcome you silly person[CR][LF]"
03:10:01.071737 < "PBSZ 0"
03:10:01.071797 > "500 PBSZ not implemented[CR][LF]"
03:10:01.072343 < "PROT C"
03:10:01.072400 > "500 PROT not implemented[CR][LF]"
03:10:01.072997 < "PWD"
03:10:01.073059 > "257 "/" is current directory[CR][LF]"
03:10:01.073631 < "EPSV"
03:10:01.073677 ====> Passive DATA channel requested by client
03:10:01.073702 DATA sockfilt for passive data channel starting...
03:10:01.076603 DATA sockfilt for passive data channel started (pid 29302)
03:10:01.076837 DATA sockfilt for passive data channel listens on port 36193
03:10:01.076900 > "229 Entering Passive Mode (|||36193|)[LF]"
03:10:01.076929 Client has been notified that DATA conn will be accepted on port 36193
03:10:01.077327 Client connects to port 36193
03:10:01.077358 ====> Client established passive DATA connection on port 36193
03:10:01.077464 < "TYPE I"
03:10:01.077518 > "200 I modify TYPE as you wanted[CR][LF]"
03:10:01.077994 < "SIZE verifiedserver"
03:10:01.078064 > "213 17[CR][LF]"
03:10:01.078561 < "RETR verifiedserver"
03:10:01.078623 > "150 Binary junk (17 bytes).[CR][LF]"
03:10:01.078743 =====> Closing passive DATA connection...
03:10:01.078774 Server disconnects passive DATA connection
03:10:01.078912 DATA sockfilt for passive data channel quits (pid 29303)
03:10:01.078942 =====> Closed passive DATA connection
03:10:01.078979 > "226 File transfer complete[CR][LF]"
03:10:01.079864 < "QUIT"
03:10:01.079936 > "221 bye bye baby[CR][LF]"
03:10:01.080280 MAIN sockfilt said DISC
03:10:01.080338 ====> Client disconnected
03:10:01.080416 Awaiting input
03:10:05.088288 ====> Client connect
03:10:05.088389 FTPD: Getting commands from log/ftpserver.cmd
03:10:05.088424 FTPD: send response with 0.01 sec delay between each byte
03:10:05.088512 FTPD: set custom reply for USER command
03:10:05.088564 FTPD: set custom reply for PASS command
03:10:05.088611 FTPD: set custom reply for PWD command
03:10:05.088656 FTPD: set custom reply for TYPE command
03:10:06.703164 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:10:06.711635 < "USER anonymous"
03:10:06.792434 > "331 OK[CR][LF]"
03:10:06.792633 < "PASS ftp@example.com"
03:10:06.873456 > "230 OK[CR][LF]"
03:10:06.873652 < "PBSZ 0"
03:10:07.136088 > "500 PBSZ not implemented[CR][LF]"
03:10:07.136323 < "PROT C"
03:10:07.398577 > "500 PROT not implemented[CR][LF]"
03:10:07.398821 < "PWD"
03:10:07.489769 > "257 "/"[CR][LF]"
03:10:07.497077 < "EPSV"
03:10:07.497117 ====> Passive DATA channel requested by client
03:10:07.497140 DATA sockfilt for passive data channel starting...
03:10:07.498818 DATA sockfilt for passive data channel started (pid 29309)
03:10:07.498948 DATA sockfilt for passive data channel listens on port 42391
03:10:07.882403 > "229 Entering Passive Mode (|||42391|)[LF]"
03:10:07.882505 Client has been notified that DATA conn will be accepted on port 42391
03:10:07.886746 Client connects to port 42391
03:10:07.886790 ====> Client established passive DATA connection on port 42391
03:10:07.892728 < "TYPE I"
03:10:07.973561 > "200 OK[CR][LF]"
03:10:07.973761 < "SIZE 1112"
03:10:08.075393 > "213 3600[CR][LF]"
03:10:08.075640 < "RETR 1112"
03:10:08.620920 > "150 Binary data connection for 1112 () (3600 bytes).[CR][LF]"
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:10:01.930497 ====> Client connect
03:10:01.930717 Received DATA (on stdin)
03:10:01.930744 > 160 bytes data, server => client
03:10:01.930773 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:10:01.930799 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:10:01.930823 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:10:01.931070 < 16 bytes data, client => server
03:10:01.931104 'USER anonymous\r\n'
03:10:01.931311 Received DATA (on stdin)
03:10:01.931359 > 33 bytes data, server => client
03:10:01.931378 '331 We are happy you popped in!\r\n'
03:10:01.931676 < 22 bytes data, client => server
03:10:01.931711 'PASS ftp@example.com\r\n'
03:10:01.931857 Received DATA (on stdin)
03:10:01.931913 > 30 bytes data, server => client
03:10:01.931933 '230 Welcome you silly person\r\n'
03:10:01.932308 < 8 bytes data, client => server
03:10:01.932343 'PBSZ 0\r\n'
03:10:01.932529 Received DATA (on stdin)
03:10:01.932587 > 26 bytes data, server => client
03:10:01.932607 '500 PBSZ not implemented\r\n'
03:10:01.932945 < 8 bytes data, client => server
03:10:01.932970 'PROT C\r\n'
03:10:01.933132 Received DATA (on stdin)
03:10:01.933188 > 26 bytes data, server => client
03:10:01.933209 '500 PROT not implemented\r\n'
03:10:01.933598 < 5 bytes data, client => server
03:10:01.933631 'PWD\r\n'
03:10:01.933789 Received DATA (on stdin)
03:10:01.933845 > 30 bytes data, server => client
03:10:01.933866 '257 "/" is current directory\r\n'
03:10:01.934204 < 6 bytes data, client => server
03:10:01.934226 'EPSV\r\n'
03:10:01.937628 Received DATA (on stdin)
03:10:01.937680 > 38 bytes data, server => client
03:10:01.937702 '229 Entering Passive Mode (|||36193|)\n'
03:10:01.938100 < 8 bytes data, client => server
03:10:01.938129 'TYPE I\r\n'
03:10:01.938236 Received DATA (on stdin)
03:10:01.938273 > 33 bytes data, server => client
03:10:01.938295 '200 I modify TYPE as you wanted\r\n'
03:10:01.938613 < 21 bytes data, client => server
03:10:01.938640 'SIZE verifiedserver\r\n'
03:10:01.938784 Received DATA (on stdin)
03:10:01.938811 > 8 bytes data, server => client
03:10:01.938847 '213 17\r\n'
03:10:01.939180 < 21 bytes data, client => server
03:10:01.939210 'RETR verifiedserver\r\n'
03:10:01.939331 Received DATA (on stdin)
03:10:01.939361 > 29 bytes data, server => client
03:10:01.939381 '150 Binary junk (17 bytes).\r\n'
03:10:01.939690 Received DATA (on stdin)
03:10:01.939728 > 28 bytes data, server => client
03:10:01.939753 '226 File transfer complete\r\n'
03:10:01.940479 < 6 bytes data, client => server
03:10:01.940512 'QUIT\r\n'
03:10:01.940645 Received DATA (on stdin)
03:10:01.940675 > 18 bytes data, server => client
03:10:01.940693 '221 bye bye baby\r\n'
03:10:01.940935 ====> Client disconnect
03:10:05.948932 ====> Client connect
03:10:05.949430 Received DATA (on stdin)
03:10:05.949449 > 1 bytes data, server => client
03:10:05.949459 '2'
03:10:05.959507 Received DATA (on stdin)
03:10:05.959525 > 1 bytes data, server => client
03:10:05.959534 '2'
03:10:05.969576 Received DATA (on stdin)
03:10:05.969591 > 1 bytes data, server => client
03:10:05.969600 '0'
03:10:05.979645 Received DATA (on stdin)
03:10:05.979659 > 1 bytes data, server => client
03:10:05.979668 '-'
03:10:05.989714 Received DATA (on stdin)
03:10:05.989728 > 1 bytes data, server => client
03:10:05.989736 ' '
03:10:05.999779 Received DATA (on stdin)
03:10:05.999793 > 1 bytes data, server => client
03:10:05.999802 ' '
03:10:06.009861 Received DATA (on stdin)
03:10:06.009895 > 1 bytes data, server => client
03:10:06.009908 ' '
03:10:06.019929 Received DATA (on stdin)
03:10:06.019953 > 1 bytes data, server => client
03:10:06.019967 ' '
03:10:06.030034 Received DATA (on stdin)
03:10:06.030078 > 1 bytes data, server => client
03:10:06.030098 ' '
03:10:06.040133 Received DATA (on stdin)
03:10:06.040189 > 1 bytes data, server => client
03:10:06.040205 ' '
03:10:06.050227 Received DATA (on stdin)
03:10:06.050287 > 1 bytes data, server => client
03:10:06.050309 ' '
03:10:06.060321 Received DATA (on stdin)
03:10:06.060387 > 1 bytes data, server => client
03:10:06.060431 ' '
03:10:06.070417 Received DATA (on stdin)
03:10:06.070477 > 1 bytes data, server => client
03:10:06.070505 '_'
03:10:06.080499 Received DATA (on stdin)
03:10:06.080559 > 1 bytes data, server => client
03:10:06.080586 ' '
03:10:06.090599 Received DATA (on stdin)
03:10:06.090658 > 1 bytes data, server => client
03:10:06.090686 ' '
03:10:06.100695 Received DATA (on stdin)
03:10:06.100771 > 1 bytes data, server => client
03:10:06.100799 ' '
03:10:06.110798 Received DATA (on stdin)
03:10:06.110871 > 1 bytes data, server => client
03:10:06.110900 '_'
03:10:06.120894 Received DATA (on stdin)
03:10:06.120968 > 1 bytes data, server => client
03:10:06.120994 ' '
03:10:06.130954 Received DATA (on stdin)
03:10:06.131014 > 1 bytes data, server => client
03:10:06.131043 '_'
03:10:06.141048 Received DATA (on stdin)
03:10:06.141114 > 1 bytes data, server => client
03:10:06.141149 '_'
03:10:06.151146 Received DATA (on stdin)
03:10:06.151209 > 1 bytes data, server => client
03:10:06.151237 '_'
03:10:06.161237 Received DATA (on stdin)
03:10:06.161297 > 1 bytes data, server => client
03:10:06.161324 '_'
03:10:06.171325 Received DATA (on stdin)
03:10:06.171384 > 1 bytes data, server => client
03:10:06.171411 ' '
03:10:06.181401 Received DATA (on stdin)
03:10:06.181464 > 1 bytes data, server => client
03:10:06.181491 ' '
03:10:06.191492 Received DATA (on stdin)
03:10:06.191552 > 1 bytes data, server => client
03:10:06.191580 '_'
03:10:06.201586 Received DATA (on stdin)
03:10:06.201646 > 1 bytes data, server => client
03:10:06.201673 ' '
03:10:06.211682 Received DATA (on stdin)
03:10:06.211743 > 1 bytes data, server => client
03:10:06.211770 ' '
03:10:06.221776 Received DATA (on stdin)
03:10:06.221836 > 1 bytes data, server => client
03:10:06.221863 ' '
03:10:06.231872 Received DATA (on stdin)
03:10:06.231932 > 1 bytes data, server => client
03:10:06.231959 ' '
03:10:06.241969 Received DATA (on stdin)
03:10:06.242029 > 1 bytes data, server => client
03:10:06.242057 ' '
03:10:06.252063 Received DATA (on stdin)
03:10:06.252124 > 1 bytes data, server => client
03:10:06.252150 '\r'
03:10:06.262156 Received DATA (on stdin)
03:10:06.262214 > 1 bytes data, server => client
03:10:06.262242 '\n'
03:10:06.272249 Received DATA (on stdin)
03:10:06.272310 > 1 bytes data, server => client
03:10:06.272337 '2'
03:10:06.282346 Received DATA (on stdin)
03:10:06.282405 > 1 bytes data, server => client
03:10:06.282432 '2'
03:10:06.292429 Received DATA (on stdin)
03:10:06.292531 > 1 bytes data, server => client
03:10:06.292558 '0'
03:10:06.302533 Received DATA (on stdin)
03:10:06.302586 > 1 bytes data, server => client
03:10:06.302611 '-'
03:10:06.312650 Received DATA (on stdin)
03:10:06.312710 > 1 bytes data, server => client
03:10:06.312738 ' '
03:10:06.322720 Received DATA (on stdin)
03:10:06.322774 > 1 bytes data, server => client
03:10:06.322807 ' '
03:10:06.332817 Received DATA (on stdin)
03:10:06.332854 > 1 bytes data, server => client
03:10:06.332877 ' '
03:10:06.342940 Received DATA (on stdin)
03:10:06.342999 > 1 bytes data, server => client
03:10:06.343026 ' '
03:10:06.353036 Received DATA (on stdin)
03:10:06.353095 > 1 bytes data, server => client
03:10:06.353123 '_'
03:10:06.363130 Received DATA (on stdin)
03:10:06.363189 > 1 bytes data, server => client
03:10:06.363216 '_'
03:10:06.373222 Received DATA (on stdin)
03:10:06.373281 > 1 bytes data, server => client
03:10:06.373309 '_'
03:10:06.383314 Received DATA (on stdin)
03:10:06.383374 > 1 bytes data, server => client
03:10:06.383413 '|'
03:10:06.393400 Received DATA (on stdin)
03:10:06.393459 > 1 bytes data, server => client
03:10:06.393487 ' '
03:10:06.403483 Received DATA (on stdin)
03:10:06.403542 > 1 bytes data, server => client
03:10:06.403570 '|'
03:10:06.413564 Received DATA (on stdin)
03:10:06.413622 > 1 bytes data, server => client
03:10:06.413650 ' '
03:10:06.423639 Received DATA (on stdin)
03:10:06.423698 > 1 bytes data, server => client
03:10:06.423725 '|'
03:10:06.433732 Received DATA (on stdin)
03:10:06.433791 > 1 bytes data, server => client
03:10:06.433818 ' '
03:10:06.443819 Received DATA (on stdin)
03:10:06.443892 > 1 bytes data, server => client
03:10:06.443920 '|'
03:10:06.453898 Received DATA (on stdin)
03:10:06.453956 > 1 bytes data, server => client
03:10:06.453984 ' '
03:10:06.463973 Received DATA (on stdin)
03:10:06.464031 > 1 bytes data, server => client
03:10:06.464059 ' '
03:10:06.474061 Received DATA (on stdin)
03:10:06.474120 > 1 bytes data, server => client
03:10:06.474147 '_'
03:10:06.484158 Received DATA (on stdin)
03:10:06.484216 > 1 bytes data, server => client
03:10:06.484244 ' '
03:10:06.494251 Received DATA (on stdin)
03:10:06.494310 > 1 bytes data, server => client
03:10:06.494338 '\'
03:10:06.504344 Received DATA (on stdin)
03:10:06.504403 > 1 bytes data, server => client
03:10:06.504446 '|'
03:10:06.514440 Received DATA (on stdin)
03:10:06.514499 > 1 bytes data, server => client
03:10:06.514527 ' '
03:10:06.524527 Received DATA (on stdin)
03:10:06.524586 > 1 bytes data, server => client
03:10:06.524613 '|'
03:10:06.534623 Received DATA (on stdin)
03:10:06.534681 > 1 bytes data, server => client
03:10:06.534708 ' '
03:10:06.544713 Received DATA (on stdin)
03:10:06.544773 > 1 bytes data, server => client
03:10:06.544800 ' '
03:10:06.554806 Received DATA (on stdin)
03:10:06.554865 > 1 bytes data, server => client
03:10:06.554892 ' '
03:10:06.564899 Received DATA (on stdin)
03:10:06.564958 > 1 bytes data, server => client
03:10:06.564985 ' '
03:10:06.574993 Received DATA (on stdin)
03:10:06.575052 > 1 bytes data, server => client
03:10:06.575078 '\r'
03:10:06.585088 Received DATA (on stdin)
03:10:06.585147 > 1 bytes data, server => client
03:10:06.585174 '\n'
03:10:06.595183 Received DATA (on stdin)
03:10:06.595246 > 1 bytes data, server => client
03:10:06.595273 '2'
03:10:06.605269 Received DATA (on stdin)
03:10:06.605329 > 1 bytes data, server => client
03:10:06.605356 '2'
03:10:06.615361 Received DATA (on stdin)
03:10:06.615421 > 1 bytes data, server => client
03:10:06.615449 '0'
03:10:06.625438 Received DATA (on stdin)
03:10:06.625498 > 1 bytes data, server => client
03:10:06.625525 '-'
03:10:06.635512 Received DATA (on stdin)
03:10:06.635571 > 1 bytes data, server => client
03:10:06.635599 ' '
03:10:06.645585 Received DATA (on stdin)
03:10:06.645644 > 1 bytes data, server => client
03:10:06.645671 ' '
03:10:06.655657 Received DATA (on stdin)
03:10:06.655716 > 1 bytes data, server => client
03:10:06.655744 ' '
03:10:06.665714 Received DATA (on stdin)
03:10:06.665786 > 1 bytes data, server => client
03:10:06.665828 '/'
03:10:06.675827 Received DATA (on stdin)
03:10:06.675891 > 1 bytes data, server => client
03:10:06.675919 ' '
03:10:06.685921 Received DATA (on stdin)
03:10:06.685981 > 1 bytes data, server => client
03:10:06.686009 '_'
03:10:06.696016 Received DATA (on stdin)
03:10:06.696075 > 1 bytes data, server => client
03:10:06.696103 '_'
03:10:06.706104 Received DATA (on stdin)
03:10:06.706164 > 1 bytes data, server => client
03:10:06.706192 '|'
03:10:06.716197 Received DATA (on stdin)
03:10:06.716257 > 1 bytes data, server => client
03:10:06.716285 ' '
03:10:06.726291 Received DATA (on stdin)
03:10:06.726350 > 1 bytes data, server => client
03:10:06.726377 '|'
03:10:06.736388 Received DATA (on stdin)
03:10:06.736461 > 1 bytes data, server => client
03:10:06.736487 ' '
03:10:06.746481 Received DATA (on stdin)
03:10:06.746540 > 1 bytes data, server => client
03:10:06.746568 '|'
03:10:06.756568 Received DATA (on stdin)
03:10:06.756628 > 1 bytes data, server => client
03:10:06.756656 ' '
03:10:06.766663 Received DATA (on stdin)
03:10:06.766722 > 1 bytes data, server => client
03:10:06.766749 '|'
03:10:06.776753 Received DATA (on stdin)
03:10:06.776812 > 1 bytes data, server => client
03:10:06.776840 ' '
03:10:06.786849 Received DATA (on stdin)
03:10:06.786909 > 1 bytes data, server => client
03:10:06.786937 '|'
03:10:06.796945 Received DATA (on stdin)
03:10:06.797005 > 1 bytes data, server => client
03:10:06.797033 '_'
03:10:06.807041 Received DATA (on stdin)
03:10:06.807098 > 1 bytes data, server => client
03:10:06.807123 ')'
03:10:06.817138 Received DATA (on stdin)
03:10:06.817214 > 1 bytes data, server => client
03:10:06.817242 ' '
03:10:06.827228 Received DATA (on stdin)
03:10:06.827287 > 1 bytes data, server => client
03:10:06.827314 '|'
03:10:06.837314 Received DATA (on stdin)
03:10:06.837374 > 1 bytes data, server => client
03:10:06.837402 ' '
03:10:06.847394 Received DATA (on stdin)
03:10:06.847459 > 1 bytes data, server => client
03:10:06.847486 '|'
03:10:06.857474 Received DATA (on stdin)
03:10:06.857554 > 1 bytes data, server => client
03:10:06.857582 ' '
03:10:06.867552 Received DATA (on stdin)
03:10:06.867612 > 1 bytes data, server => client
03:10:06.867639 ' '
03:10:06.877628 Received DATA (on stdin)
03:10:06.877688 > 1 bytes data, server => client
03:10:06.877716 ' '
03:10:06.887707 Received DATA (on stdin)
03:10:06.887767 > 1 bytes data, server => client
03:10:06.887795 ' '
03:10:06.897785 Received DATA (on stdin)
03:10:06.897846 > 1 bytes data, server => client
03:10:06.897873 '\r'
03:10:06.907872 Received DATA (on stdin)
03:10:06.907941 > 1 bytes data, server => client
03:10:06.907967 '\n'
03:10:06.917961 Received DATA (on stdin)
03:10:06.918021 > 1 bytes data, server => client
03:10:06.918048 '2'
03:10:06.928030 Received DATA (on stdin)
03:10:06.928090 > 1 bytes data, server => client
03:10:06.928117 '2'
03:10:06.938109 Received DATA (on stdin)
03:10:06.938170 > 1 bytes data, server => client
03:10:06.938197 '0'
03:10:06.948185 Received DATA (on stdin)
03:10:06.948245 > 1 bytes data, server => client
03:10:06.948272 '-'
03:10:06.958262 Received DATA (on stdin)
03:10:06.958322 > 1 bytes data, server => client
03:10:06.958349 ' '
03:10:06.968340 Received DATA (on stdin)
03:10:06.968401 > 1 bytes data, server => client
03:10:06.968442 ' '
03:10:06.978418 Received DATA (on stdin)
03:10:06.978479 > 1 bytes data, server => client
03:10:06.978506 '|'
03:10:06.988445 Received DATA (on stdin)
03:10:06.988506 > 1 bytes data, server => client
03:10:06.988534 ' '
03:10:06.998547 Received DATA (on stdin)
03:10:06.998610 > 1 bytes data, server => client
03:10:06.998638 '('
03:10:07.008608 Received DATA (on stdin)
03:10:07.008674 > 1 bytes data, server => client
03:10:07.008699 '_'
03:10:07.018697 Received DATA (on stdin)
03:10:07.018738 > 1 bytes data, server => client
03:10:07.018761 '_'
03:10:07.028813 Received DATA (on stdin)
03:10:07.028873 > 1 bytes data, server => client
03:10:07.028900 '|'
03:10:07.038886 Received DATA (on stdin)
03:10:07.038947 > 1 bytes data, server => client
03:10:07.038975 ' '
03:10:07.049001 Received DATA (on stdin)
03:10:07.049060 > 1 bytes data, server => client
03:10:07.049088 '|'
03:10:07.059073 Received DATA (on stdin)
03:10:07.059136 > 1 bytes data, server => client
03:10:07.059163 '_'
03:10:07.069153 Received DATA (on stdin)
03:10:07.069192 > 1 bytes data, server => client
03:10:07.069215 '|'
03:10:07.079244 Received DATA (on stdin)
03:10:07.079280 > 1 bytes data, server => client
03:10:07.079302 ' '
03:10:07.089340 Received DATA (on stdin)
03:10:07.089374 > 1 bytes data, server => client
03:10:07.089396 '|'
03:10:07.099434 Received DATA (on stdin)
03:10:07.099471 > 1 bytes data, server => client
03:10:07.099493 ' '
03:10:07.109569 Received DATA (on stdin)
03:10:07.109628 > 1 bytes data, server => client
03:10:07.109675 ' '
03:10:07.119662 Received DATA (on stdin)
03:10:07.119721 > 1 bytes data, server => client
03:10:07.119748 '_'
03:10:07.129759 Received DATA (on stdin)
03:10:07.129818 > 1 bytes data, server => client
03:10:07.129846 ' '
03:10:07.139831 Received DATA (on stdin)
03:10:07.139891 > 1 bytes data, server => client
03:10:07.139923 '{'
03:10:07.149924 Received DATA (on stdin)
03:10:07.149961 > 1 bytes data, server => client
03:10:07.149984 '|'
03:10:07.160018 Received DATA (on stdin)
03:10:07.160055 > 1 bytes data, server => client
03:10:07.160078 ' '
03:10:07.170113 Received DATA (on stdin)
03:10:07.170149 > 1 bytes data, server => client
03:10:07.170172 '|'
03:10:07.180209 Received DATA (on stdin)
03:10:07.180244 > 1 bytes data, server => client
03:10:07.180266 '_'
03:10:07.190304 Received DATA (on stdin)
03:10:07.190338 > 1 bytes data, server => client
03:10:07.190376 '_'
03:10:07.200402 Received DATA (on stdin)
03:10:07.200467 > 1 bytes data, server => client
03:10:07.200493 '_'
03:10:07.210519 Received DATA (on stdin)
03:10:07.210578 > 1 bytes data, server => client
03:10:07.210606 ' '
03:10:07.220607 Received DATA (on stdin)
03:10:07.220680 > 1 bytes data, server => client
03:10:07.220706 '\r'
03:10:07.230731 Received DATA (on stdin)
03:10:07.230791 > 1 bytes data, server => client
03:10:07.230818 '\n'
03:10:07.240829 Received DATA (on stdin)
03:10:07.240888 > 1 bytes data, server => client
03:10:07.240916 '2'
03:10:07.250924 Received DATA (on stdin)
03:10:07.250983 > 1 bytes data, server => client
03:10:07.251010 '2'
03:10:07.261016 Received DATA (on stdin)
03:10:07.261075 > 1 bytes data, server => client
03:10:07.261103 '0'
03:10:07.271114 Received DATA (on stdin)
03:10:07.271172 > 1 bytes data, server => client
03:10:07.271200 ' '
03:10:07.281208 Received DATA (on stdin)
03:10:07.281268 > 1 bytes data, server => client
03:10:07.281295 ' '
03:10:07.291303 Received DATA (on stdin)
03:10:07.291362 > 1 bytes data, server => client
03:10:07.291390 ' '
03:10:07.301374 Received DATA (on stdin)
03:10:07.301429 > 1 bytes data, server => client
03:10:07.301454 ' '
03:10:07.311493 Received DATA (on stdin)
03:10:07.311552 > 1 bytes data, server => client
03:10:07.311579 '\'
03:10:07.321564 Received DATA (on stdin)
03:10:07.321620 > 1 bytes data, server => client
03:10:07.321645 '_'
03:10:07.331655 Received DATA (on stdin)
03:10:07.331693 > 1 bytes data, server => client
03:10:07.331716 '_'
03:10:07.341778 Received DATA (on stdin)
03:10:07.341837 > 1 bytes data, server => client
03:10:07.341864 '_'
03:10:07.351874 Received DATA (on stdin)
03:10:07.351933 > 1 bytes data, server => client
03:10:07.351961 '|'
03:10:07.361945 Received DATA (on stdin)
03:10:07.362010 > 1 bytes data, server => client
03:10:07.362037 '\'
03:10:07.372056 Received DATA (on stdin)
03:10:07.372116 > 1 bytes data, server => client
03:10:07.372143 '_'
03:10:07.382134 Received DATA (on stdin)
03:10:07.382202 > 1 bytes data, server => client
03:10:07.382245 '_'
03:10:07.392234 Received DATA (on stdin)
03:10:07.392294 > 1 bytes data, server => client
03:10:07.392323 '_'
03:10:07.402341 Received DATA (on stdin)
03:10:07.402400 > 1 bytes data, server => client
03:10:07.402428 '/'
03:10:07.412431 Received DATA (on stdin)
03:10:07.412488 > 1 bytes data, server => client
03:10:07.412514 '|'
03:10:07.422523 Received DATA (on stdin)
03:10:07.422578 > 1 bytes data, server => client
03:10:07.422603 '_'
03:10:07.432640 Received DATA (on stdin)
03:10:07.432698 > 1 bytes data, server => client
03:10:07.432726 '|'
03:10:07.442710 Received DATA (on stdin)
03:10:07.442770 > 1 bytes data, server => client
03:10:07.442795 ' '
03:10:07.452827 Received DATA (on stdin)
03:10:07.452885 > 1 bytes data, server => client
03:10:07.452913 '\'
03:10:07.462921 Received DATA (on stdin)
03:10:07.462980 > 1 bytes data, server => client
03:10:07.463007 '_'
03:10:07.473015 Received DATA (on stdin)
03:10:07.473074 > 1 bytes data, server => client
03:10:07.473101 '\'
03:10:07.483111 Received DATA (on stdin)
03:10:07.483169 > 1 bytes data, server => client
03:10:07.483197 '_'
03:10:07.493205 Received DATA (on stdin)
03:10:07.493264 > 1 bytes data, server => client
03:10:07.493291 '_'
03:10:07.503301 Received DATA (on stdin)
03:10:07.503360 > 1 bytes data, server => client
03:10:07.503388 '_'
03:10:07.513398 Received DATA (on stdin)
03:10:07.513456 > 1 bytes data, server => client
03:10:07.513484 '_'
03:10:07.523467 Received DATA (on stdin)
03:10:07.523523 > 1 bytes data, server => client
03:10:07.523553 '_'
03:10:07.533585 Received DATA (on stdin)
03:10:07.533643 > 1 bytes data, server => client
03:10:07.533671 '|'
03:10:07.543681 Received DATA (on stdin)
03:10:07.543739 > 1 bytes data, server => client
03:10:07.543767 '\r'
03:10:07.553776 Received DATA (on stdin)
03:10:07.553835 > 1 bytes data, server => client
03:10:07.553862 '\n'
03:10:07.572220 < 16 bytes data, client => server
03:10:07.572244 'USER anonymous\r\n'
03:10:07.572395 Received DATA (on stdin)
03:10:07.572412 > 1 bytes data, server => client
03:10:07.572422 '3'
03:10:07.582515 Received DATA (on stdin)
03:10:07.582564 > 1 bytes data, server => client
03:10:07.582585 '3'
03:10:07.592604 Received DATA (on stdin)
03:10:07.592667 > 1 bytes data, server => client
03:10:07.592691 '1'
03:10:07.602699 Received DATA (on stdin)
03:10:07.602757 > 1 bytes data, server => client
03:10:07.602785 ' '
03:10:07.612767 Received DATA (on stdin)
03:10:07.612822 > 1 bytes data, server => client
03:10:07.612848 'O'
03:10:07.622886 Received DATA (on stdin)
03:10:07.622944 > 1 bytes data, server => client
03:10:07.622972 'K'
03:10:07.632982 Received DATA (on stdin)
03:10:07.633040 > 1 bytes data, server => client
03:10:07.633068 '\r'
03:10:07.643078 Received DATA (on stdin)
03:10:07.643137 > 1 bytes data, server => client
03:10:07.643164 '\n'
03:10:07.647279 < 22 bytes data, client => server
03:10:07.647345 'PASS ftp@example.com\r\n'
03:10:07.653441 Received DATA (on stdin)
03:10:07.653501 > 1 bytes data, server => client
03:10:07.653528 '2'
03:10:07.663531 Received DATA (on stdin)
03:10:07.663589 > 1 bytes data, server => client
03:10:07.663617 '3'
03:10:07.673624 Received DATA (on stdin)
03:10:07.673682 > 1 bytes data, server => client
03:10:07.673710 '0'
03:10:07.683718 Received DATA (on stdin)
03:10:07.683777 > 1 bytes data, server => client
03:10:07.683804 ' '
03:10:07.693813 Received DATA (on stdin)
03:10:07.693872 > 1 bytes data, server => client
03:10:07.693899 'O'
03:10:07.703909 Received DATA (on stdin)
03:10:07.703967 > 1 bytes data, server => client
03:10:07.703995 'K'
03:10:07.714005 Received DATA (on stdin)
03:10:07.714064 > 1 bytes data, server => client
03:10:07.714091 '\r'
03:10:07.724078 Received DATA (on stdin)
03:10:07.724133 > 1 bytes data, server => client
03:10:07.724157 '\n'
03:10:07.727082 < 8 bytes data, client => server
03:10:07.727137 'PBSZ 0\r\n'
03:10:07.734464 Received DATA (on stdin)
03:10:07.734522 > 1 bytes data, server => client
03:10:07.734550 '5'
03:10:07.744535 Received DATA (on stdin)
03:10:07.744600 > 1 bytes data, server => client
03:10:07.744626 '0'
03:10:07.754638 Received DATA (on stdin)
03:10:07.754701 > 1 bytes data, server => client
03:10:07.754729 '0'
03:10:07.764698 Received DATA (on stdin)
03:10:07.764727 > 1 bytes data, server => client
03:10:07.764740 ' '
03:10:07.774761 Received DATA (on stdin)
03:10:07.774789 > 1 bytes data, server => client
03:10:07.774803 'P'
03:10:07.784827 Received DATA (on stdin)
03:10:07.784881 > 1 bytes data, server => client
03:10:07.784902 'B'
03:10:07.794872 Received DATA (on stdin)
03:10:07.794916 > 1 bytes data, server => client
03:10:07.794931 'S'
03:10:07.804955 Received DATA (on stdin)
03:10:07.804994 > 1 bytes data, server => client
03:10:07.805012 'Z'
03:10:07.815060 Received DATA (on stdin)
03:10:07.815135 > 1 bytes data, server => client
03:10:07.815171 ' '
03:10:07.825187 Received DATA (on stdin)
03:10:07.825243 > 1 bytes data, server => client
03:10:07.825269 'n'
03:10:07.835251 Received DATA (on stdin)
03:10:07.835327 > 1 bytes data, server => client
03:10:07.835364 'o'
03:10:07.845350 Received DATA (on stdin)
03:10:07.845416 > 1 bytes data, server => client
03:10:07.845456 't'
03:10:07.855469 Received DATA (on stdin)
03:10:07.855542 > 1 bytes data, server => client
03:10:07.855570 ' '
03:10:07.865577 Received DATA (on stdin)
03:10:07.865648 > 1 bytes data, server => client
03:10:07.865697 'i'
03:10:07.875662 Received DATA (on stdin)
03:10:07.875722 > 1 bytes data, server => client
03:10:07.875750 'm'
03:10:07.885756 Received DATA (on stdin)
03:10:07.885825 > 1 bytes data, server => client
03:10:07.885853 'p'
03:10:07.895851 Received DATA (on stdin)
03:10:07.895911 > 1 bytes data, server => client
03:10:07.895939 'l'
03:10:07.905947 Received DATA (on stdin)
03:10:07.906008 > 1 bytes data, server => client
03:10:07.906035 'e'
03:10:07.916052 Received DATA (on stdin)
03:10:07.916128 > 1 bytes data, server => client
03:10:07.916157 'm'
03:10:07.926124 Received DATA (on stdin)
03:10:07.926161 > 1 bytes data, server => client
03:10:07.926200 'e'
03:10:07.936217 Received DATA (on stdin)
03:10:07.936252 > 1 bytes data, server => client
03:10:07.936275 'n'
03:10:07.946312 Received DATA (on stdin)
03:10:07.946347 > 1 bytes data, server => client
03:10:07.946368 't'
03:10:07.956417 Received DATA (on stdin)
03:10:07.956457 > 1 bytes data, server => client
03:10:07.956484 'e'
03:10:07.966513 Received DATA (on stdin)
03:10:07.966549 > 1 bytes data, server => client
03:10:07.966572 'd'
03:10:07.976600 Received DATA (on stdin)
03:10:07.976635 > 1 bytes data, server => client
03:10:07.976657 '\r'
03:10:07.986695 Received DATA (on stdin)
03:10:07.986736 > 1 bytes data, server => client
03:10:07.986759 '\n'
03:10:07.989500 < 8 bytes data, client => server
03:10:07.989536 'PROT C\r\n'
03:10:07.997111 Received DATA (on stdin)
03:10:07.997147 > 1 bytes data, server => client
03:10:07.997178 '5'
03:10:08.007212 Received DATA (on stdin)
03:10:08.007297 > 1 bytes data, server => client
03:10:08.007329 '0'
03:10:08.017319 Received DATA (on stdin)
03:10:08.017381 > 1 bytes data, server => client
03:10:08.017408 '0'
03:10:08.027415 Received DATA (on stdin)
03:10:08.027475 > 1 bytes data, server => client
03:10:08.027502 ' '
03:10:08.037508 Received DATA (on stdin)
03:10:08.037569 > 1 bytes data, server => client
03:10:08.037596 'P'
03:10:08.047603 Received DATA (on stdin)
03:10:08.047663 > 1 bytes data, server => client
03:10:08.047691 'R'
03:10:08.057689 Received DATA (on stdin)
03:10:08.057750 > 1 bytes data, server => client
03:10:08.057777 'O'
03:10:08.067783 Received DATA (on stdin)
03:10:08.067844 > 1 bytes data, server => client
03:10:08.067871 'T'
03:10:08.077876 Received DATA (on stdin)
03:10:08.077935 > 1 bytes data, server => client
03:10:08.077963 ' '
03:10:08.087972 Received DATA (on stdin)
03:10:08.088031 > 1 bytes data, server => client
03:10:08.088058 'n'
03:10:08.098042 Received DATA (on stdin)
03:10:08.098111 > 1 bytes data, server => client
03:10:08.098153 'o'
03:10:08.108135 Received DATA (on stdin)
03:10:08.108227 > 1 bytes data, server => client
03:10:08.108274 't'
03:10:08.118255 Received DATA (on stdin)
03:10:08.118321 > 1 bytes data, server => client
03:10:08.118348 ' '
03:10:08.128326 Received DATA (on stdin)
03:10:08.128386 > 1 bytes data, server => client
03:10:08.128432 'i'
03:10:08.138404 Received DATA (on stdin)
03:10:08.138464 > 1 bytes data, server => client
03:10:08.138492 'm'
03:10:08.148478 Received DATA (on stdin)
03:10:08.148538 > 1 bytes data, server => client
03:10:08.148565 'p'
03:10:08.158541 Received DATA (on stdin)
03:10:08.158600 > 1 bytes data, server => client
03:10:08.158628 'l'
03:10:08.168618 Received DATA (on stdin)
03:10:08.168678 > 1 bytes data, server => client
03:10:08.168706 'e'
03:10:08.178697 Received DATA (on stdin)
03:10:08.178757 > 1 bytes data, server => client
03:10:08.178784 'm'
03:10:08.188773 Received DATA (on stdin)
03:10:08.188832 > 1 bytes data, server => client
03:10:08.188860 'e'
03:10:08.198847 Received DATA (on stdin)
03:10:08.198906 > 1 bytes data, server => client
03:10:08.198934 'n'
03:10:08.208926 Received DATA (on stdin)
03:10:08.208985 > 1 bytes data, server => client
03:10:08.209013 't'
03:10:08.219002 Received DATA (on stdin)
03:10:08.219061 > 1 bytes data, server => client
03:10:08.219089 'e'
03:10:08.229074 Received DATA (on stdin)
03:10:08.229133 > 1 bytes data, server => client
03:10:08.229161 'd'
03:10:08.239146 Received DATA (on stdin)
03:10:08.239205 > 1 bytes data, server => client
03:10:08.239232 '\r'
03:10:08.249196 Received DATA (on stdin)
03:10:08.249251 > 1 bytes data, server => client
03:10:08.249276 '\n'
03:10:08.252436 < 5 bytes data, client => server
03:10:08.252478 'PWD\r\n'
03:10:08.259636 Received DATA (on stdin)
03:10:08.259699 > 1 bytes data, server => client
03:10:08.259726 '2'
03:10:08.269736 Received DATA (on stdin)
03:10:08.269808 > 1 bytes data, server => client
03:10:08.269835 '5'
03:10:08.279800 Received DATA (on stdin)
03:10:08.279850 > 1 bytes data, server => client
03:10:08.279869 '7'
03:10:08.289886 Received DATA (on stdin)
03:10:08.289930 > 1 bytes data, server => client
03:10:08.289955 ' '
03:10:08.300005 Received DATA (on stdin)
03:10:08.300088 > 1 bytes data, server => client
03:10:08.300119 '"'
03:10:08.310102 Received DATA (on stdin)
03:10:08.310174 > 1 bytes data, server => client
03:10:08.310196 '/'
03:10:08.320185 Received DATA (on stdin)
03:10:08.320231 > 1 bytes data, server => client
03:10:08.320254 '"'
03:10:08.330288 Received DATA (on stdin)
03:10:08.330340 > 1 bytes data, server => client
03:10:08.330364 '\r'
03:10:08.340449 Received DATA (on stdin)
03:10:08.340522 > 1 bytes data, server => client
03:10:08.340567 '\n'
03:10:08.357693 < 6 bytes data, client => server
03:10:08.357723 'EPSV\r\n'
03:10:08.359722 Received DATA (on stdin)
03:10:08.359746 > 1 bytes data, server => client
03:10:08.359760 '2'
03:10:08.369805 Received DATA (on stdin)
03:10:08.369846 > 1 bytes data, server => client
03:10:08.369868 '2'
03:10:08.379898 Received DATA (on stdin)
03:10:08.379948 > 1 bytes data, server => client
03:10:08.379973 '9'
03:10:08.389994 Received DATA (on stdin)
03:10:08.390060 > 1 bytes data, server => client
03:10:08.390086 ' '
03:10:08.400095 Received DATA (on stdin)
03:10:08.400151 > 1 bytes data, server => client
03:10:08.400177 'E'
03:10:08.410177 Received DATA (on stdin)
03:10:08.410237 > 1 bytes data, server => client
03:10:08.410265 'n'
03:10:08.420254 Received DATA (on stdin)
03:10:08.420313 > 1 bytes data, server => client
03:10:08.420341 't'
03:10:08.430330 Received DATA (on stdin)
03:10:08.430389 > 1 bytes data, server => client
03:10:08.430417 'e'
03:10:08.440403 Received DATA (on stdin)
03:10:08.440479 > 1 bytes data, server => client
03:10:08.440505 'r'
03:10:08.450478 Received DATA (on stdin)
03:10:08.450537 > 1 bytes data, server => client
03:10:08.450565 'i'
03:10:08.460550 Received DATA (on stdin)
03:10:08.460609 > 1 bytes data, server => client
03:10:08.460637 'n'
03:10:08.470639 Received DATA (on stdin)
03:10:08.470699 > 1 bytes data, server => client
03:10:08.470726 'g'
03:10:08.480729 Received DATA (on stdin)
03:10:08.480790 > 1 bytes data, server => client
03:10:08.480817 ' '
03:10:08.490821 Received DATA (on stdin)
03:10:08.490882 > 1 bytes data, server => client
03:10:08.490910 'P'
03:10:08.500909 Received DATA (on stdin)
03:10:08.500970 > 1 bytes data, server => client
03:10:08.500997 'a'
03:10:08.511005 Received DATA (on stdin)
03:10:08.511066 > 1 bytes data, server => client
03:10:08.511093 's'
03:10:08.521098 Received DATA (on stdin)
03:10:08.521178 > 1 bytes data, server => client
03:10:08.521207 's'
03:10:08.531192 Received DATA (on stdin)
03:10:08.531253 > 1 bytes data, server => client
03:10:08.531280 'i'
03:10:08.541294 Received DATA (on stdin)
03:10:08.541355 > 1 bytes data, server => client
03:10:08.541382 'v'
03:10:08.551387 Received DATA (on stdin)
03:10:08.551446 > 1 bytes data, server => client
03:10:08.551474 'e'
03:10:08.561468 Received DATA (on stdin)
03:10:08.561527 > 1 bytes data, server => client
03:10:08.561555 ' '
03:10:08.571541 Received DATA (on stdin)
03:10:08.571600 > 1 bytes data, server => client
03:10:08.571627 'M'
03:10:08.581601 Received DATA (on stdin)
03:10:08.581665 > 1 bytes data, server => client
03:10:08.581693 'o'
03:10:08.591686 Received DATA (on stdin)
03:10:08.591728 > 1 bytes data, server => client
03:10:08.591751 'd'
03:10:08.601780 Received DATA (on stdin)
03:10:08.601824 > 1 bytes data, server => client
03:10:08.601851 'e'
03:10:08.611877 Received DATA (on stdin)
03:10:08.611931 > 1 bytes data, server => client
03:10:08.611959 ' '
03:10:08.621971 Received DATA (on stdin)
03:10:08.622013 > 1 bytes data, server => client
03:10:08.622037 '('
03:10:08.632068 Received DATA (on stdin)
03:10:08.632109 > 1 bytes data, server => client
03:10:08.632132 '|'
03:10:08.642165 Received DATA (on stdin)
03:10:08.642208 > 1 bytes data, server => client
03:10:08.642231 '|'
03:10:08.652259 Received DATA (on stdin)
03:10:08.652299 > 1 bytes data, server => client
03:10:08.652322 '|'
03:10:08.662355 Received DATA (on stdin)
03:10:08.662395 > 1 bytes data, server => client
03:10:08.662418 '4'
03:10:08.672451 Received DATA (on stdin)
03:10:08.672498 > 1 bytes data, server => client
03:10:08.672526 '2'
03:10:08.682534 Received DATA (on stdin)
03:10:08.682574 > 1 bytes data, server => client
03:10:08.682596 '3'
03:10:08.692628 Received DATA (on stdin)
03:10:08.692674 > 1 bytes data, server => client
03:10:08.692700 '9'
03:10:08.702710 Received DATA (on stdin)
03:10:08.702749 > 1 bytes data, server => client
03:10:08.702772 '1'
03:10:08.712806 Received DATA (on stdin)
03:10:08.712858 > 1 bytes data, server => client
03:10:08.712883 '|'
03:10:08.722905 Received DATA (on stdin)
03:10:08.722946 > 1 bytes data, server => client
03:10:08.722970 ')'
03:10:08.733002 Received DATA (on stdin)
03:10:08.733049 > 1 bytes data, server => client
03:10:08.733073 '\n'
03:10:08.753339 < 8 bytes data, client => server
03:10:08.753373 'TYPE I\r\n'
03:10:08.753481 Received DATA (on stdin)
03:10:08.753496 > 1 bytes data, server => client
03:10:08.753505 '2'
03:10:08.763582 Received DATA (on stdin)
03:10:08.763632 > 1 bytes data, server => client
03:10:08.763648 '0'
03:10:08.773687 Received DATA (on stdin)
03:10:08.773750 > 1 bytes data, server => client
03:10:08.773772 '0'
03:10:08.783787 Received DATA (on stdin)
03:10:08.783841 > 1 bytes data, server => client
03:10:08.783865 ' '
03:10:08.793886 Received DATA (on stdin)
03:10:08.793945 > 1 bytes data, server => client
03:10:08.793970 'O'
03:10:08.803983 Received DATA (on stdin)
03:10:08.804041 > 1 bytes data, server => client
03:10:08.804066 'K'
03:10:08.814079 Received DATA (on stdin)
03:10:08.814138 > 1 bytes data, server => client
03:10:08.814162 '\r'
03:10:08.824176 Received DATA (on stdin)
03:10:08.824237 > 1 bytes data, server => client
03:10:08.824262 '\n'
03:10:08.828046 < 11 bytes data, client => server
03:10:08.828100 'SIZE 1112\r\n'
03:10:08.835161 Received DATA (on stdin)
03:10:08.835209 > 1 bytes data, server => client
03:10:08.835233 '2'
03:10:08.845243 Received DATA (on stdin)
03:10:08.845299 > 1 bytes data, server => client
03:10:08.845324 '1'
03:10:08.855319 Received DATA (on stdin)
03:10:08.855362 > 1 bytes data, server => client
03:10:08.855384 '3'
03:10:08.865418 Received DATA (on stdin)
03:10:08.865477 > 1 bytes data, server => client
03:10:08.865502 ' '
03:10:08.875517 Received DATA (on stdin)
03:10:08.875578 > 1 bytes data, server => client
03:10:08.875603 '3'
03:10:08.885616 Received DATA (on stdin)
03:10:08.885677 > 1 bytes data, server => client
03:10:08.885702 '6'
03:10:08.895702 Received DATA (on stdin)
03:10:08.895767 > 1 bytes data, server => client
03:10:08.895794 '0'
03:10:08.905823 Received DATA (on stdin)
03:10:08.905897 > 1 bytes data, server => client
03:10:08.905934 '0'
03:10:08.915913 Received DATA (on stdin)
03:10:08.915957 > 1 bytes data, server => client
03:10:08.915996 '\r'
03:10:08.926006 Received DATA (on stdin)
03:10:08.926042 > 1 bytes data, server => client
03:10:08.926064 '\n'
03:10:08.931636 < 11 bytes data, client => server
03:10:08.931671 'RETR 1112\r\n'
03:10:08.936903 Received DATA (on stdin)
03:10:08.936936 > 1 bytes data, server => client
03:10:08.936958 '1'
03:10:08.946996 Received DATA (on stdin)
03:10:08.947042 > 1 bytes data, server => client
03:10:08.947075 '5'
03:10:08.957085 Received DATA (on stdin)
03:10:08.957123 > 1 bytes data, server => client
03:10:08.957146 '0'
03:10:08.967176 Received DATA (on stdin)
03:10:08.967219 > 1 bytes data, server => client
03:10:08.967242 ' '
03:10:08.977271 Received DATA (on stdin)
03:10:08.977311 > 1 bytes data, server => client
03:10:08.977334 'B'
03:10:08.987368 Received DATA (on stdin)
03:10:08.987409 > 1 bytes data, server => client
03:10:08.987438 'i'
03:10:08.997458 Received DATA (on stdin)
03:10:08.997495 > 1 bytes data, server => client
03:10:08.997517 'n'
03:10:09.007546 Received DATA (on stdin)
03:10:09.007610 > 1 bytes data, server => client
03:10:09.007636 'a'
03:10:09.017674 Received DATA (on stdin)
03:10:09.017743 > 1 bytes data, server => client
03:10:09.017767 'r'
03:10:09.027761 Received DATA (on stdin)
03:10:09.027820 > 1 bytes data, server => client
03:10:09.027848 'y'
03:10:09.037846 Received DATA (on stdin)
03:10:09.037905 > 1 bytes data, server => client
03:10:09.037932 ' '
03:10:09.047940 Received DATA (on stdin)
03:10:09.047999 > 1 bytes data, server => client
03:10:09.048027 'd'
03:10:09.058021 Received DATA (on stdin)
03:10:09.058082 > 1 bytes data, server => client
03:10:09.058110 'a'
03:10:09.068113 Received DATA (on stdin)
03:10:09.068178 > 1 bytes data, server => client
03:10:09.068219 't'
03:10:09.078207 Received DATA (on stdin)
03:10:09.078267 > 1 bytes data, server => client
03:10:09.078294 'a'
03:10:09.088303 Received DATA (on stdin)
03:10:09.088364 > 1 bytes data, server => client
03:10:09.088391 ' '
03:10:09.098399 Received DATA (on stdin)
03:10:09.098458 > 1 bytes data, server => client
03:10:09.098486 'c'
03:10:09.108523 Received DATA (on stdin)
03:10:09.108620 > 1 bytes data, server => client
03:10:09.108647 'o'
03:10:09.118601 Received DATA (on stdin)
03:10:09.118665 > 1 bytes data, server => client
03:10:09.118692 'n'
03:10:09.128677 Received DATA (on stdin)
03:10:09.128742 > 1 bytes data, server => client
03:10:09.128768 'n'
03:10:09.138754 Received DATA (on stdin)
03:10:09.138812 > 1 bytes data, server => client
03:10:09.138840 'e'
03:10:09.148832 Received DATA (on stdin)
03:10:09.148890 > 1 bytes data, server => client
03:10:09.148918 'c'
03:10:09.158908 Received DATA (on stdin)
03:10:09.158976 > 1 bytes data, server => client
03:10:09.159003 't'
03:10:09.168982 Received DATA (on stdin)
03:10:09.169041 > 1 bytes data, server => client
03:10:09.169068 'i'
03:10:09.179059 Received DATA (on stdin)
03:10:09.179117 > 1 bytes data, server => client
03:10:09.179145 'o'
03:10:09.189134 Received DATA (on stdin)
03:10:09.189192 > 1 bytes data, server => client
03:10:09.189220 'n'
03:10:09.199212 Received DATA (on stdin)
03:10:09.199270 > 1 bytes data, server => client
03:10:09.199298 ' '
03:10:09.209286 Received DATA (on stdin)
03:10:09.209344 > 1 bytes data, server => client
03:10:09.209372 'f'
03:10:09.219368 Received DATA (on stdin)
03:10:09.219436 > 1 bytes data, server => client
03:10:09.219464 'o'
03:10:09.229440 Received DATA (on stdin)
03:10:09.229499 > 1 bytes data, server => client
03:10:09.229527 'r'
03:10:09.239514 Received DATA (on stdin)
03:10:09.239573 > 1 bytes data, server => client
03:10:09.239601 ' '
03:10:09.249588 Received DATA (on stdin)
03:10:09.249646 > 1 bytes data, server => client
03:10:09.249674 '1'
03:10:09.259664 Received DATA (on stdin)
03:10:09.259722 > 1 bytes data, server => client
03:10:09.259750 '1'
03:10:09.269737 Received DATA (on stdin)
03:10:09.269795 > 1 bytes data, server => client
03:10:09.269823 '1'
03:10:09.279809 Received DATA (on stdin)
03:10:09.279868 > 1 bytes data, server => client
03:10:09.279895 '2'
03:10:09.289860 Received DATA (on stdin)
03:10:09.289921 > 1 bytes data, server => client
03:10:09.289950 ' '
03:10:09.299973 Received DATA (on stdin)
03:10:09.300032 > 1 bytes data, server => client
03:10:09.300059 '('
03:10:09.310068 Received DATA (on stdin)
03:10:09.310141 > 1 bytes data, server => client
03:10:09.310168 ')'
03:10:09.320171 Received DATA (on stdin)
03:10:09.320243 > 1 bytes data, server => client
03:10:09.320269 ' '
03:10:09.330267 Received DATA (on stdin)
03:10:09.330327 > 1 bytes data, server => client
03:10:09.330355 '('
03:10:09.340368 Received DATA (on stdin)
03:10:09.340442 > 1 bytes data, server => client
03:10:09.340470 '3'
03:10:09.350466 Received DATA (on stdin)
03:10:09.350524 > 1 bytes data, server => client
03:10:09.350552 '6'
03:10:09.360554 Received DATA (on stdin)
03:10:09.360613 > 1 bytes data, server => client
03:10:09.360640 '0'
03:10:09.370654 Received DATA (on stdin)
03:10:09.370725 > 1 bytes data, server => client
03:10:09.370764 '0'
03:10:09.380746 Received DATA (on stdin)
03:10:09.380806 > 1 bytes data, server => client
03:10:09.380834 ' '
03:10:09.390825 Received DATA (on stdin)
03:10:09.390882 > 1 bytes data, server => client
03:10:09.390907 'b'
03:10:09.400912 Received DATA (on stdin)
03:10:09.400971 > 1 bytes data, server => client
03:10:09.400998 'y'
03:10:09.411007 Received DATA (on stdin)
03:10:09.411085 > 1 bytes data, server => client
03:10:09.411113 't'
03:10:09.421102 Received DATA (on stdin)
03:10:09.421181 > 1 bytes data, server => client
03:10:09.421208 'e'
03:10:09.431200 Received DATA (on stdin)
03:10:09.431260 > 1 bytes data, server => client
03:10:09.431288 's'
03:10:09.441292 Received DATA (on stdin)
03:10:09.441358 > 1 bytes data, server => client
03:10:09.441388 ')'
03:10:09.451376 Received DATA (on stdin)
03:10:09.451434 > 1 bytes data, server => client
03:10:09.451462 '.'
03:10:09.461446 Received DATA (on stdin)
03:10:09.461500 > 1 bytes data, server => client
03:10:09.461525 '\r'
03:10:09.471561 Received DATA (on stdin)
03:10:09.471620 > 1 bytes data, server => client
03:10:09.471647 '\n'
03:10:19.910277 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:10:01.937086 Running IPv4 version
03:10:01.937187 Listening on port 36193
03:10:01.937226 Wrote pid 29303 to ./.ftp_sockdata.pid
03:10:01.937250 Received PING (on stdin)
03:10:01.937401 Received PORT (on stdin)
03:10:01.938001 ====> Client connect
03:10:01.939398 Received DATA (on stdin)
03:10:01.939442 > 17 bytes data, server => client
03:10:01.939462 'WE ROOLZ: 29205\r\n'
03:10:01.939524 Received DISC (on stdin)
03:10:01.939564 ====> Client forcibly disconnected
03:10:01.939604 Received QUIT (on stdin)
03:10:01.939624 quits
03:10:01.939647 ============> sockfilt quits
03:10:07.359382 Running IPv4 version
03:10:07.359445 Listening on port 42391
03:10:07.359486 Wrote pid 29310 to ./.ftp_sockdata.pid
03:10:07.359502 Received PING (on stdin)
03:10:07.359587 Received PORT (on stdin)
03:10:07.747411 ====> Client connect
03:10:08.481776 Received DATA (on stdin)
03:10:08.481843 > 1 bytes data, server => client
03:10:08.481881 'L'
03:10:08.491831 Received DATA (on stdin)
03:10:08.491857 > 1 bytes data, server => client
03:10:08.491872 'o'
03:10:08.501951 Received DATA (on stdin)
03:10:08.502002 > 1 bytes data, server => client
03:10:08.502023 'n'
03:10:08.512056 Received DATA (on stdin)
03:10:08.512119 > 1 bytes data, server => client
03:10:08.512144 'g'
03:10:08.522154 Received DATA (on stdin)
03:10:08.522213 > 1 bytes data, server => client
03:10:08.522240 ' '
03:10:08.532251 Received DATA (on stdin)
03:10:08.532309 > 1 bytes data, server => client
03:10:08.532336 'c'
03:10:08.542346 Received DATA (on stdin)
03:10:08.542404 > 1 bytes data, server => client
03:10:08.542431 'h'
03:10:08.552441 Received DATA (on stdin)
03:10:08.552507 > 1 bytes data, server => client
03:10:08.552533 'u'
03:10:08.562545 Received DATA (on stdin)
03:10:08.562603 > 1 bytes data, server => client
03:10:08.562630 'n'
03:10:08.572640 Received DATA (on stdin)
03:10:08.572699 > 1 bytes data, server => client
03:10:08.572726 'k'
03:10:08.582734 Received DATA (on stdin)
03:10:08.582793 > 1 bytes data, server => client
03:10:08.582820 ' '
03:10:08.592829 Received DATA (on stdin)
03:10:08.592887 > 1 bytes data, server => client
03:10:08.592915 'o'
03:10:08.602922 Received DATA (on stdin)
03:10:08.602980 > 1 bytes data, server => client
03:10:08.603008 'f'
03:10:08.613017 Received DATA (on stdin)
03:10:08.613076 > 1 bytes data, server => client
03:10:08.613103 ' '
03:10:08.623113 Received DATA (on stdin)
03:10:08.623171 > 1 bytes data, server => client
03:10:08.623199 'd'
03:10:08.633209 Received DATA (on stdin)
03:10:08.633267 > 1 bytes data, server => client
03:10:08.633294 'a'
03:10:08.643303 Received DATA (on stdin)
03:10:08.643361 > 1 bytes data, server => client
03:10:08.643389 't'
03:10:08.653397 Received DATA (on stdin)
03:10:08.653456 > 1 bytes data, server => client
03:10:08.653483 'a'
03:10:08.663494 Received DATA (on stdin)
03:10:08.663552 > 1 bytes data, server => client
03:10:08.663579 ' '
03:10:08.673589 Received DATA (on stdin)
03:10:08.673647 > 1 bytes data, server => client
03:10:08.673675 't'
03:10:08.683686 Received DATA (on stdin)
03:10:08.683744 > 1 bytes data, server => client
03:10:08.683772 'h'
03:10:08.693782 Received DATA (on stdin)
03:10:08.693840 > 1 bytes data, server => client
03:10:08.693868 'a'
03:10:08.703877 Received DATA (on stdin)
03:10:08.703935 > 1 bytes data, server => client
03:10:08.703963 't'
03:10:08.713973 Received DATA (on stdin)
03:10:08.714031 > 1 bytes data, server => client
03:10:08.714059 ' '
03:10:08.724069 Received DATA (on stdin)
03:10:08.724127 > 1 bytes data, server => client
03:10:08.724154 'c'
03:10:08.734166 Received DATA (on stdin)
03:10:08.734224 > 1 bytes data, server => client
03:10:08.734251 'o'
03:10:08.744260 Received DATA (on stdin)
03:10:08.744318 > 1 bytes data, server => client
03:10:08.744345 'u'
03:10:08.754354 Received DATA (on stdin)
03:10:08.754412 > 1 bytes data, server => client
03:10:08.754440 'l'
03:10:08.764440 Received DATA (on stdin)
03:10:08.764496 > 1 bytes data, server => client
03:10:08.764521 'd'
03:10:08.774555 Received DATA (on stdin)
03:10:08.774614 > 1 bytes data, server => client
03:10:08.774654 'n'
03:10:08.784652 Received DATA (on stdin)
03:10:08.784711 > 1 bytes data, server => client
03:10:08.784738 '''
03:10:08.794747 Received DATA (on stdin)
03:10:08.794805 > 1 bytes data, server => client
03:10:08.794833 't'
03:10:08.804839 Received DATA (on stdin)
03:10:08.804897 > 1 bytes data, server => client
03:10:08.804925 ' '
03:10:08.814959 Received DATA (on stdin)
03:10:08.815017 > 1 bytes data, server => client
03:10:08.815045 'p'
03:10:08.825049 Received DATA (on stdin)
03:10:08.825107 > 1 bytes data, server => client
03:10:08.825134 'o'
03:10:08.835132 Received DATA (on stdin)
03:10:08.835191 > 1 bytes data, server => client
03:10:08.835218 's'
03:10:08.845224 Received DATA (on stdin)
03:10:08.845282 > 1 bytes data, server => client
03:10:08.845310 's'
03:10:08.855318 Received DATA (on stdin)
03:10:08.855376 > 1 bytes data, server => client
03:10:08.855403 'i'
03:10:08.865413 Received DATA (on stdin)
03:10:08.865472 > 1 bytes data, server => client
03:10:08.865499 'b'
03:10:08.875508 Received DATA (on stdin)
03:10:08.875575 > 1 bytes data, server => client
03:10:08.875617 'l'
03:10:08.885605 Received DATA (on stdin)
03:10:08.885663 > 1 bytes data, server => client
03:10:08.885690 'y'
03:10:08.895700 Received DATA (on stdin)
03:10:08.895758 > 1 bytes data, server => client
03:10:08.895786 ' '
03:10:08.905796 Received DATA (on stdin)
03:10:08.905854 > 1 bytes data, server => client
03:10:08.905882 'b'
03:10:08.915893 Received DATA (on stdin)
03:10:08.915951 > 1 bytes data, server => client
03:10:08.915978 'e'
03:10:08.925985 Received DATA (on stdin)
03:10:08.926043 > 1 bytes data, server => client
03:10:08.926071 ' '
03:10:08.936081 Received DATA (on stdin)
03:10:08.936139 > 1 bytes data, server => client
03:10:08.936167 's'
03:10:08.946176 Received DATA (on stdin)
03:10:08.946234 > 1 bytes data, server => client
03:10:08.946261 'e'
03:10:08.956269 Received DATA (on stdin)
03:10:08.956328 > 1 bytes data, server => client
03:10:08.956355 'n'
03:10:08.966365 Received DATA (on stdin)
03:10:08.966423 > 1 bytes data, server => client
03:10:08.966451 't'
03:10:08.976436 Received DATA (on stdin)
03:10:08.976493 > 1 bytes data, server => client
03:10:08.976520 ' '
03:10:08.986553 Received DATA (on stdin)
03:10:08.986614 > 1 bytes data, server => client
03:10:08.986641 'i'
03:10:08.996637 Received DATA (on stdin)
03:10:08.996696 > 1 bytes data, server => client
03:10:08.996724 'n'
03:10:09.006755 Received DATA (on stdin)
03:10:09.006821 > 1 bytes data, server => client
03:10:09.006848 ' '
03:10:09.016847 Received DATA (on stdin)
03:10:09.016908 > 1 bytes data, server => client
03:10:09.016936 't'
03:10:09.026942 Received DATA (on stdin)
03:10:09.027003 > 1 bytes data, server => client
03:10:09.027030 'h'
03:10:09.037034 Received DATA (on stdin)
03:10:09.037094 > 1 bytes data, server => client
03:10:09.037121 'e'
03:10:09.047128 Received DATA (on stdin)
03:10:09.047188 > 1 bytes data, server => client
03:10:09.047215 ' '
03:10:09.057225 Received DATA (on stdin)
03:10:09.057285 > 1 bytes data, server => client
03:10:09.057312 't'
03:10:09.067320 Received DATA (on stdin)
03:10:09.067380 > 1 bytes data, server => client
03:10:09.067407 'i'
03:10:09.077416 Received DATA (on stdin)
03:10:09.077476 > 1 bytes data, server => client
03:10:09.077503 'm'
03:10:09.087512 Received DATA (on stdin)
03:10:09.087573 > 1 bytes data, server => client
03:10:09.087600 'e'
03:10:09.097606 Received DATA (on stdin)
03:10:09.097666 > 1 bytes data, server => client
03:10:09.097693 ' '
03:10:09.107701 Received DATA (on stdin)
03:10:09.107755 > 1 bytes data, server => client
03:10:09.107792 'a'
03:10:09.117816 Received DATA (on stdin)
03:10:09.117892 > 1 bytes data, server => client
03:10:09.117918 'l'
03:10:09.127896 Received DATA (on stdin)
03:10:09.127958 > 1 bytes data, server => client
03:10:09.127985 'l'
03:10:09.137997 Received DATA (on stdin)
03:10:09.138067 > 1 bytes data, server => client
03:10:09.138095 'o'
03:10:09.148096 Received DATA (on stdin)
03:10:09.148157 > 1 bytes data, server => client
03:10:09.148184 't'
03:10:09.158190 Received DATA (on stdin)
03:10:09.158251 > 1 bytes data, server => client
03:10:09.158278 't'
03:10:09.168274 Received DATA (on stdin)
03:10:09.168334 > 1 bytes data, server => client
03:10:09.168361 'e'
03:10:09.178365 Received DATA (on stdin)
03:10:09.178426 > 1 bytes data, server => client
03:10:09.178454 'd'
03:10:09.188481 Received DATA (on stdin)
03:10:09.188542 > 1 bytes data, server => client
03:10:09.188569 '.'
03:10:09.198550 Received DATA (on stdin)
03:10:09.198611 > 1 bytes data, server => client
03:10:09.198638 '\n'
03:10:09.208665 Received DATA (on stdin)
03:10:09.208726 > 1 bytes data, server => client
03:10:09.208753 'L'
03:10:09.218759 Received DATA (on stdin)
03:10:09.218820 > 1 bytes data, server => client
03:10:09.218848 'o'
03:10:09.228841 Received DATA (on stdin)
03:10:09.228902 > 1 bytes data, server => client
03:10:09.228929 'n'
03:10:09.238916 Received DATA (on stdin)
03:10:09.238977 > 1 bytes data, server => client
03:10:09.239004 'g'
03:10:09.248975 Received DATA (on stdin)
03:10:09.249034 > 1 bytes data, server => client
03:10:09.249061 ' '
03:10:09.259076 Received DATA (on stdin)
03:10:09.259135 > 1 bytes data, server => client
03:10:09.259163 'c'
03:10:09.269172 Received DATA (on stdin)
03:10:09.269232 > 1 bytes data, server => client
03:10:09.269259 'h'
03:10:09.279268 Received DATA (on stdin)
03:10:09.279326 > 1 bytes data, server => client
03:10:09.279354 'u'
03:10:09.289360 Received DATA (on stdin)
03:10:09.289422 > 1 bytes data, server => client
03:10:09.289449 'n'
03:10:09.299452 Received DATA (on stdin)
03:10:09.299505 > 1 bytes data, server => client
03:10:09.299530 'k'
03:10:09.309636 Received DATA (on stdin)
03:10:09.309823 > 1 bytes data, server => client
03:10:09.309860 ' '
03:10:09.319691 Received DATA (on stdin)
03:10:09.319772 > 1 bytes data, server => client
03:10:09.319797 'o'
03:10:09.329791 Received DATA (on stdin)
03:10:09.329850 > 1 bytes data, server => client
03:10:09.329876 'f'
03:10:09.339872 Received DATA (on stdin)
03:10:09.339938 > 1 bytes data, server => client
03:10:09.339964 ' '
03:10:09.349948 Received DATA (on stdin)
03:10:09.350008 > 1 bytes data, server => client
03:10:09.350035 'd'
03:10:09.360018 Received DATA (on stdin)
03:10:09.360077 > 1 bytes data, server => client
03:10:09.360104 'a'
03:10:09.370136 Received DATA (on stdin)
03:10:09.370194 > 1 bytes data, server => client
03:10:09.370213 't'
03:10:09.380229 Received DATA (on stdin)
03:10:09.380293 > 1 bytes data, server => client
03:10:09.380318 'a'
03:10:09.390327 Received DATA (on stdin)
03:10:09.390387 > 1 bytes data, server => client
03:10:09.390415 ' '
03:10:09.400425 Received DATA (on stdin)
03:10:09.400483 > 1 bytes data, server => client
03:10:09.400510 't'
03:10:09.410523 Received DATA (on stdin)
03:10:09.410588 > 1 bytes data, server => client
03:10:09.410617 'h'
03:10:09.420618 Received DATA (on stdin)
03:10:09.420677 > 1 bytes data, server => client
03:10:09.420705 'a'
03:10:09.430714 Received DATA (on stdin)
03:10:09.430773 > 1 bytes data, server => client
03:10:09.430800 't'
03:10:09.440811 Received DATA (on stdin)
03:10:09.440870 > 1 bytes data, server => client
03:10:09.440898 ' '
03:10:09.450884 Received DATA (on stdin)
03:10:09.450938 > 1 bytes data, server => client
03:10:09.450970 'c'
03:10:09.460984 Received DATA (on stdin)
03:10:09.461024 > 1 bytes data, server => client
03:10:09.461047 'o'
03:10:09.471079 Received DATA (on stdin)
03:10:09.471118 > 1 bytes data, server => client
03:10:09.471141 'u'
03:10:09.481176 Received DATA (on stdin)
03:10:09.481212 > 1 bytes data, server => client
03:10:09.481233 'l'
03:10:09.491273 Received DATA (on stdin)
03:10:09.491307 > 1 bytes data, server => client
03:10:09.491330 'd'
03:10:09.501366 Received DATA (on stdin)
03:10:09.501402 > 1 bytes data, server => client
03:10:09.501424 'n'
03:10:09.511464 Received DATA (on stdin)
03:10:09.511512 > 1 bytes data, server => client
03:10:09.511537 '''
03:10:09.521557 Received DATA (on stdin)
03:10:09.521591 > 1 bytes data, server => client
03:10:09.521613 't'
03:10:09.531671 Received DATA (on stdin)
03:10:09.531747 > 1 bytes data, server => client
03:10:09.531775 ' '
03:10:09.541729 Received DATA (on stdin)
03:10:09.541792 > 1 bytes data, server => client
03:10:09.541817 'p'
03:10:09.551805 Received DATA (on stdin)
03:10:09.551852 > 1 bytes data, server => client
03:10:09.551877 'o'
03:10:09.561886 Received DATA (on stdin)
03:10:09.561954 > 1 bytes data, server => client
03:10:09.561993 's'
03:10:09.571980 Received DATA (on stdin)
03:10:09.572039 > 1 bytes data, server => client
03:10:09.572066 's'
03:10:09.582053 Received DATA (on stdin)
03:10:09.582111 > 1 bytes data, server => client
03:10:09.582139 'i'
03:10:09.592125 Received DATA (on stdin)
03:10:09.592183 > 1 bytes data, server => client
03:10:09.592211 'b'
03:10:09.602177 Received DATA (on stdin)
03:10:09.602216 > 1 bytes data, server => client
03:10:09.602243 'l'
03:10:09.612274 Received DATA (on stdin)
03:10:09.612321 > 1 bytes data, server => client
03:10:09.612346 'y'
03:10:09.622363 Received DATA (on stdin)
03:10:09.622403 > 1 bytes data, server => client
03:10:09.622426 ' '
03:10:09.632459 Received DATA (on stdin)
03:10:09.632492 > 1 bytes data, server => client
03:10:09.632515 'b'
03:10:09.642555 Received DATA (on stdin)
03:10:09.642587 > 1 bytes data, server => client
03:10:09.642609 'e'
03:10:09.652670 Received DATA (on stdin)
03:10:09.652728 > 1 bytes data, server => client
03:10:09.652756 ' '
03:10:09.662756 Received DATA (on stdin)
03:10:09.662814 > 1 bytes data, server => client
03:10:09.662841 's'
03:10:09.672832 Received DATA (on stdin)
03:10:09.672890 > 1 bytes data, server => client
03:10:09.672917 'e'
03:10:09.682906 Received DATA (on stdin)
03:10:09.682964 > 1 bytes data, server => client
03:10:09.682991 'n'
03:10:09.692977 Received DATA (on stdin)
03:10:09.693035 > 1 bytes data, server => client
03:10:09.693063 't'
03:10:09.703048 Received DATA (on stdin)
03:10:09.703107 > 1 bytes data, server => client
03:10:09.703134 ' '
03:10:09.713140 Received DATA (on stdin)
03:10:09.713198 > 1 bytes data, server => client
03:10:09.713235 'i'
03:10:09.723217 Received DATA (on stdin)
03:10:09.723275 > 1 bytes data, server => client
03:10:09.723303 'n'
03:10:09.733292 Received DATA (on stdin)
03:10:09.733350 > 1 bytes data, server => client
03:10:09.733377 ' '
03:10:09.743365 Received DATA (on stdin)
03:10:09.743423 > 1 bytes data, server => client
03:10:09.743450 't'
03:10:09.753442 Received DATA (on stdin)
03:10:09.753504 > 1 bytes data, server => client
03:10:09.753531 'h'
03:10:09.763510 Received DATA (on stdin)
03:10:09.763569 > 1 bytes data, server => client
03:10:09.763597 'e'
03:10:09.773602 Received DATA (on stdin)
03:10:09.773662 > 1 bytes data, server => client
03:10:09.773690 ' '
03:10:09.783698 Received DATA (on stdin)
03:10:09.783759 > 1 bytes data, server => client
03:10:09.783787 't'
03:10:09.793795 Received DATA (on stdin)
03:10:09.793856 > 1 bytes data, server => client
03:10:09.793883 'i'
03:10:09.803891 Received DATA (on stdin)
03:10:09.803961 > 1 bytes data, server => client
03:10:09.803988 'm'
03:10:09.813988 Received DATA (on stdin)
03:10:09.814047 > 1 bytes data, server => client
03:10:09.814074 'e'
03:10:09.824082 Received DATA (on stdin)
03:10:09.824140 > 1 bytes data, server => client
03:10:09.824168 ' '
03:10:09.834176 Received DATA (on stdin)
03:10:09.834235 > 1 bytes data, server => client
03:10:09.834262 'a'
03:10:09.844270 Received DATA (on stdin)
03:10:09.844329 > 1 bytes data, server => client
03:10:09.844356 'l'
03:10:09.854352 Received DATA (on stdin)
03:10:09.854411 > 1 bytes data, server => client
03:10:09.854439 'l'
03:10:09.864443 Received DATA (on stdin)
03:10:09.864500 > 1 bytes data, server => client
03:10:09.864525 'o'
03:10:09.874556 Received DATA (on stdin)
03:10:09.874616 > 1 bytes data, server => client
03:10:09.874643 't'
03:10:09.884640 Received DATA (on stdin)
03:10:09.884699 > 1 bytes data, server => client
03:10:09.884726 't'
03:10:09.894735 Received DATA (on stdin)
03:10:09.894794 > 1 bytes data, server => client
03:10:09.894822 'e'
03:10:09.904821 Received DATA (on stdin)
03:10:09.904880 > 1 bytes data, server => client
03:10:09.904922 'd'
03:10:09.914914 Received DATA (on stdin)
03:10:09.914974 > 1 bytes data, server => client
03:10:09.915001 '.'
03:10:09.925007 Received DATA (on stdin)
03:10:09.925066 > 1 bytes data, server => client
03:10:09.925093 '\n'
03:10:09.935132 Received DATA (on stdin)
03:10:09.935191 > 1 bytes data, server => client
03:10:09.935219 'L'
03:10:09.945227 Received DATA (on stdin)
03:10:09.945287 > 1 bytes data, server => client
03:10:09.945314 'o'
03:10:09.955322 Received DATA (on stdin)
03:10:09.955381 > 1 bytes data, server => client
03:10:09.955409 'n'
03:10:09.965418 Received DATA (on stdin)
03:10:09.965477 > 1 bytes data, server => client
03:10:09.965505 'g'
03:10:09.975515 Received DATA (on stdin)
03:10:09.975575 > 1 bytes data, server => client
03:10:09.975602 ' '
03:10:09.985612 Received DATA (on stdin)
03:10:09.985671 > 1 bytes data, server => client
03:10:09.985699 'c'
03:10:09.995709 Received DATA (on stdin)
03:10:09.995768 > 1 bytes data, server => client
03:10:09.995795 'h'
03:10:10.005781 Received DATA (on stdin)
03:10:10.005845 > 1 bytes data, server => client
03:10:10.005871 'u'
03:10:10.015870 Received DATA (on stdin)
03:10:10.015942 > 1 bytes data, server => client
03:10:10.015968 'n'
03:10:10.025963 Received DATA (on stdin)
03:10:10.026021 > 1 bytes data, server => client
03:10:10.026046 'k'
03:10:10.036060 Received DATA (on stdin)
03:10:10.036118 > 1 bytes data, server => client
03:10:10.036143 ' '
03:10:10.046159 Received DATA (on stdin)
03:10:10.046218 > 1 bytes data, server => client
03:10:10.046243 'o'
03:10:10.056241 Received DATA (on stdin)
03:10:10.056305 > 1 bytes data, server => client
03:10:10.056331 'f'
03:10:10.066342 Received DATA (on stdin)
03:10:10.066402 > 1 bytes data, server => client
03:10:10.066427 ' '
03:10:10.076453 Received DATA (on stdin)
03:10:10.076509 > 1 bytes data, server => client
03:10:10.076534 'd'
03:10:10.086549 Received DATA (on stdin)
03:10:10.086608 > 1 bytes data, server => client
03:10:10.086633 'a'
03:10:10.096649 Received DATA (on stdin)
03:10:10.096706 > 1 bytes data, server => client
03:10:10.096731 't'
03:10:10.106746 Received DATA (on stdin)
03:10:10.106805 > 1 bytes data, server => client
03:10:10.106830 'a'
03:10:10.116841 Received DATA (on stdin)
03:10:10.116899 > 1 bytes data, server => client
03:10:10.116925 ' '
03:10:10.126939 Received DATA (on stdin)
03:10:10.126997 > 1 bytes data, server => client
03:10:10.127022 't'
03:10:10.137037 Received DATA (on stdin)
03:10:10.137097 > 1 bytes data, server => client
03:10:10.137121 'h'
03:10:10.147136 Received DATA (on stdin)
03:10:10.147199 > 1 bytes data, server => client
03:10:10.147231 'a'
03:10:10.157233 Received DATA (on stdin)
03:10:10.157294 > 1 bytes data, server => client
03:10:10.157319 't'
03:10:10.167332 Received DATA (on stdin)
03:10:10.167392 > 1 bytes data, server => client
03:10:10.167417 ' '
03:10:10.177429 Received DATA (on stdin)
03:10:10.177489 > 1 bytes data, server => client
03:10:10.177514 'c'
03:10:10.187528 Received DATA (on stdin)
03:10:10.187588 > 1 bytes data, server => client
03:10:10.187614 'o'
03:10:10.197625 Received DATA (on stdin)
03:10:10.197683 > 1 bytes data, server => client
03:10:10.197709 'u'
03:10:10.207722 Received DATA (on stdin)
03:10:10.207783 > 1 bytes data, server => client
03:10:10.207807 'l'
03:10:10.217822 Received DATA (on stdin)
03:10:10.217881 > 1 bytes data, server => client
03:10:10.217906 'd'
03:10:10.227921 Received DATA (on stdin)
03:10:10.227978 > 1 bytes data, server => client
03:10:10.228003 'n'
03:10:10.238020 Received DATA (on stdin)
03:10:10.238078 > 1 bytes data, server => client
03:10:10.238103 '''
03:10:10.248119 Received DATA (on stdin)
03:10:10.248177 > 1 bytes data, server => client
03:10:10.248202 't'
03:10:10.258215 Received DATA (on stdin)
03:10:10.258276 > 1 bytes data, server => client
03:10:10.258301 ' '
03:10:10.268312 Received DATA (on stdin)
03:10:10.268370 > 1 bytes data, server => client
03:10:10.268395 'p'
03:10:10.278396 Received DATA (on stdin)
03:10:10.278454 > 1 bytes data, server => client
03:10:10.278492 'o'
03:10:10.288456 Received DATA (on stdin)
03:10:10.288524 > 1 bytes data, server => client
03:10:10.288567 's'
03:10:10.298524 Received DATA (on stdin)
03:10:10.298579 > 1 bytes data, server => client
03:10:10.298603 's'
03:10:10.308624 Received DATA (on stdin)
03:10:10.308688 > 1 bytes data, server => client
03:10:10.308717 'i'
03:10:10.318698 Received DATA (on stdin)
03:10:10.318757 > 1 bytes data, server => client
03:10:10.318785 'b'
03:10:10.328768 Received DATA (on stdin)
03:10:10.328827 > 1 bytes data, server => client
03:10:10.328854 'l'
03:10:10.338864 Received DATA (on stdin)
03:10:10.338924 > 1 bytes data, server => client
03:10:10.338951 'y'
03:10:10.348961 Received DATA (on stdin)
03:10:10.349020 > 1 bytes data, server => client
03:10:10.349048 ' '
03:10:10.359052 Received DATA (on stdin)
03:10:10.359110 > 1 bytes data, server => client
03:10:10.359138 'b'
03:10:10.369145 Received DATA (on stdin)
03:10:10.369204 > 1 bytes data, server => client
03:10:10.369232 'e'
03:10:10.379215 Received DATA (on stdin)
03:10:10.379271 > 1 bytes data, server => client
03:10:10.379297 ' '
03:10:10.389331 Received DATA (on stdin)
03:10:10.389391 > 1 bytes data, server => client
03:10:10.389419 's'
03:10:10.399427 Received DATA (on stdin)
03:10:10.399486 > 1 bytes data, server => client
03:10:10.399514 'e'
03:10:10.409520 Received DATA (on stdin)
03:10:10.409579 > 1 bytes data, server => client
03:10:10.409607 'n'
03:10:10.419616 Received DATA (on stdin)
03:10:10.419675 > 1 bytes data, server => client
03:10:10.419702 't'
03:10:10.429712 Received DATA (on stdin)
03:10:10.429771 > 1 bytes data, server => client
03:10:10.429799 ' '
03:10:10.439806 Received DATA (on stdin)
03:10:10.439865 > 1 bytes data, server => client
03:10:10.439892 'i'
03:10:10.449901 Received DATA (on stdin)
03:10:10.449960 > 1 bytes data, server => client
03:10:10.449988 'n'
03:10:10.459989 Received DATA (on stdin)
03:10:10.460049 > 1 bytes data, server => client
03:10:10.460075 ' '
03:10:10.470078 Received DATA (on stdin)
03:10:10.470119 > 1 bytes data, server => client
03:10:10.470151 't'
03:10:10.480173 Received DATA (on stdin)
03:10:10.480209 > 1 bytes data, server => client
03:10:10.480242 'h'
03:10:10.490266 Received DATA (on stdin)
03:10:10.490300 > 1 bytes data, server => client
03:10:10.490330 'e'
03:10:10.500361 Received DATA (on stdin)
03:10:10.500398 > 1 bytes data, server => client
03:10:10.500437 ' '
03:10:10.510454 Received DATA (on stdin)
03:10:10.510488 > 1 bytes data, server => client
03:10:10.510510 't'
03:10:10.520549 Received DATA (on stdin)
03:10:10.520584 > 1 bytes data, server => client
03:10:10.520606 'i'
03:10:10.530670 Received DATA (on stdin)
03:10:10.530729 > 1 bytes data, server => client
03:10:10.530756 'm'
03:10:10.540736 Received DATA (on stdin)
03:10:10.540798 > 1 bytes data, server => client
03:10:10.540824 'e'
03:10:10.550826 Received DATA (on stdin)
03:10:10.550872 > 1 bytes data, server => client
03:10:10.550897 ' '
03:10:10.560927 Received DATA (on stdin)
03:10:10.560972 > 1 bytes data, server => client
03:10:10.560996 'a'
03:10:10.571020 Received DATA (on stdin)
03:10:10.571056 > 1 bytes data, server => client
03:10:10.571078 'l'
03:10:10.581113 Received DATA (on stdin)
03:10:10.581156 > 1 bytes data, server => client
03:10:10.581179 'l'
03:10:10.591206 Received DATA (on stdin)
03:10:10.591249 > 1 bytes data, server => client
03:10:10.591273 'o'
03:10:10.601303 Received DATA (on stdin)
03:10:10.601344 > 1 bytes data, server => client
03:10:10.601368 't'
03:10:10.611433 Received DATA (on stdin)
03:10:10.611494 > 1 bytes data, server => client
03:10:10.611521 't'
03:10:10.621550 Received DATA (on stdin)
03:10:10.621619 > 1 bytes data, server => client
03:10:10.621658 'e'
03:10:10.631644 Received DATA (on stdin)
03:10:10.631705 > 1 bytes data, server => client
03:10:10.631733 'd'
03:10:10.641736 Received DATA (on stdin)
03:10:10.641797 > 1 bytes data, server => client
03:10:10.641824 '.'
03:10:10.651833 Received DATA (on stdin)
03:10:10.651894 > 1 bytes data, server => client
03:10:10.651921 '\n'
03:10:10.661961 Received DATA (on stdin)
03:10:10.662021 > 1 bytes data, server => client
03:10:10.662048 'L'
03:10:10.672056 Received DATA (on stdin)
03:10:10.672116 > 1 bytes data, server => client
03:10:10.672143 'o'
03:10:10.682152 Received DATA (on stdin)
03:10:10.682212 > 1 bytes data, server => client
03:10:10.682240 'n'
03:10:10.692248 Received DATA (on stdin)
03:10:10.692308 > 1 bytes data, server => client
03:10:10.692336 'g'
03:10:10.702343 Received DATA (on stdin)
03:10:10.702403 > 1 bytes data, server => client
03:10:10.702430 ' '
03:10:10.712432 Received DATA (on stdin)
03:10:10.712490 > 1 bytes data, server => client
03:10:10.712516 'c'
03:10:10.722546 Received DATA (on stdin)
03:10:10.722605 > 1 bytes data, server => client
03:10:10.722633 'h'
03:10:10.732643 Received DATA (on stdin)
03:10:10.732702 > 1 bytes data, server => client
03:10:10.732730 'u'
03:10:10.742741 Received DATA (on stdin)
03:10:10.742799 > 1 bytes data, server => client
03:10:10.742827 'n'
03:10:10.752831 Received DATA (on stdin)
03:10:10.752891 > 1 bytes data, server => client
03:10:10.752918 'k'
03:10:10.762930 Received DATA (on stdin)
03:10:10.762989 > 1 bytes data, server => client
03:10:10.763017 ' '
03:10:10.773026 Received DATA (on stdin)
03:10:10.773085 > 1 bytes data, server => client
03:10:10.773113 'o'
03:10:10.783124 Received DATA (on stdin)
03:10:10.783183 > 1 bytes data, server => client
03:10:10.783210 'f'
03:10:10.793220 Received DATA (on stdin)
03:10:10.793279 > 1 bytes data, server => client
03:10:10.793306 ' '
03:10:10.803318 Received DATA (on stdin)
03:10:10.803377 > 1 bytes data, server => client
03:10:10.803404 'd'
03:10:10.813415 Received DATA (on stdin)
03:10:10.813474 > 1 bytes data, server => client
03:10:10.813502 'a'
03:10:10.823512 Received DATA (on stdin)
03:10:10.823571 > 1 bytes data, server => client
03:10:10.823599 't'
03:10:10.833607 Received DATA (on stdin)
03:10:10.833667 > 1 bytes data, server => client
03:10:10.833694 'a'
03:10:10.843705 Received DATA (on stdin)
03:10:10.843764 > 1 bytes data, server => client
03:10:10.843792 ' '
03:10:10.853803 Received DATA (on stdin)
03:10:10.853862 > 1 bytes data, server => client
03:10:10.853889 't'
03:10:10.863899 Received DATA (on stdin)
03:10:10.863958 > 1 bytes data, server => client
03:10:10.863986 'h'
03:10:10.873984 Received DATA (on stdin)
03:10:10.874043 > 1 bytes data, server => client
03:10:10.874070 'a'
03:10:10.884065 Received DATA (on stdin)
03:10:10.884124 > 1 bytes data, server => client
03:10:10.884152 't'
03:10:10.894159 Received DATA (on stdin)
03:10:10.894218 > 1 bytes data, server => client
03:10:10.894245 ' '
03:10:10.904256 Received DATA (on stdin)
03:10:10.904315 > 1 bytes data, server => client
03:10:10.904342 'c'
03:10:10.914351 Received DATA (on stdin)
03:10:10.914428 > 1 bytes data, server => client
03:10:10.914456 'o'
03:10:10.924436 Received DATA (on stdin)
03:10:10.924494 > 1 bytes data, server => client
03:10:10.924519 'u'
03:10:10.934551 Received DATA (on stdin)
03:10:10.934609 > 1 bytes data, server => client
03:10:10.934637 'l'
03:10:10.944635 Received DATA (on stdin)
03:10:10.944694 > 1 bytes data, server => client
03:10:10.944722 'd'
03:10:10.954727 Received DATA (on stdin)
03:10:10.954786 > 1 bytes data, server => client
03:10:10.954813 'n'
03:10:10.964825 Received DATA (on stdin)
03:10:10.964883 > 1 bytes data, server => client
03:10:10.964911 '''
03:10:10.974921 Received DATA (on stdin)
03:10:10.974981 > 1 bytes data, server => client
03:10:10.975008 't'
03:10:10.985013 Received DATA (on stdin)
03:10:10.985072 > 1 bytes data, server => client
03:10:10.985100 ' '
03:10:10.995106 Received DATA (on stdin)
03:10:10.995165 > 1 bytes data, server => client
03:10:10.995193 'p'
03:10:11.005209 Received DATA (on stdin)
03:10:11.005285 > 1 bytes data, server => client
03:10:11.005329 'o'
03:10:11.015315 Received DATA (on stdin)
03:10:11.015378 > 1 bytes data, server => client
03:10:11.015405 's'
03:10:11.025387 Received DATA (on stdin)
03:10:11.025421 > 1 bytes data, server => client
03:10:11.025435 's'
03:10:11.035475 Received DATA (on stdin)
03:10:11.035537 > 1 bytes data, server => client
03:10:11.035548 'i'
03:10:11.045554 Received DATA (on stdin)
03:10:11.045594 > 1 bytes data, server => client
03:10:11.045609 'b'
03:10:11.055625 Received DATA (on stdin)
03:10:11.055653 > 1 bytes data, server => client
03:10:11.055667 'l'
03:10:11.065696 Received DATA (on stdin)
03:10:11.065722 > 1 bytes data, server => client
03:10:11.065735 'y'
03:10:11.075801 Received DATA (on stdin)
03:10:11.075848 > 1 bytes data, server => client
03:10:11.075868 ' '
03:10:11.085909 Received DATA (on stdin)
03:10:11.085971 > 1 bytes data, server => client
03:10:11.085994 'b'
03:10:11.096010 Received DATA (on stdin)
03:10:11.096071 > 1 bytes data, server => client
03:10:11.096094 'e'
03:10:11.106107 Received DATA (on stdin)
03:10:11.106172 > 1 bytes data, server => client
03:10:11.106197 ' '
03:10:11.116187 Received DATA (on stdin)
03:10:11.116252 > 1 bytes data, server => client
03:10:11.116291 's'
03:10:11.126283 Received DATA (on stdin)
03:10:11.126319 > 1 bytes data, server => client
03:10:11.126341 'e'
03:10:11.136381 Received DATA (on stdin)
03:10:11.136431 > 1 bytes data, server => client
03:10:11.136466 'n'
03:10:11.146475 Received DATA (on stdin)
03:10:11.146510 > 1 bytes data, server => client
03:10:11.146531 't'
03:10:11.156573 Received DATA (on stdin)
03:10:11.156612 > 1 bytes data, server => client
03:10:11.156635 ' '
03:10:11.166670 Received DATA (on stdin)
03:10:11.166706 > 1 bytes data, server => client
03:10:11.166728 'i'
03:10:11.176767 Received DATA (on stdin)
03:10:11.176801 > 1 bytes data, server => client
03:10:11.176823 'n'
03:10:11.186866 Received DATA (on stdin)
03:10:11.186901 > 1 bytes data, server => client
03:10:11.186923 ' '
03:10:11.196962 Received DATA (on stdin)
03:10:11.197003 > 1 bytes data, server => client
03:10:11.197028 't'
03:10:11.207063 Received DATA (on stdin)
03:10:11.207126 > 1 bytes data, server => client
03:10:11.207161 'h'
03:10:11.217155 Received DATA (on stdin)
03:10:11.217222 > 1 bytes data, server => client
03:10:11.217247 'e'
03:10:11.227251 Received DATA (on stdin)
03:10:11.227293 > 1 bytes data, server => client
03:10:11.227318 ' '
03:10:11.237348 Received DATA (on stdin)
03:10:11.237390 > 1 bytes data, server => client
03:10:11.237415 't'
03:10:11.247444 Received DATA (on stdin)
03:10:11.247478 > 1 bytes data, server => client
03:10:11.247505 'i'
03:10:11.257537 Received DATA (on stdin)
03:10:11.257575 > 1 bytes data, server => client
03:10:11.257597 'm'
03:10:11.267631 Received DATA (on stdin)
03:10:11.267671 > 1 bytes data, server => client
03:10:11.267699 'e'
03:10:11.277727 Received DATA (on stdin)
03:10:11.277768 > 1 bytes data, server => client
03:10:11.277794 ' '
03:10:11.287866 Received DATA (on stdin)
03:10:11.287925 > 1 bytes data, server => client
03:10:11.287949 'a'
03:10:11.297925 Received DATA (on stdin)
03:10:11.297967 > 1 bytes data, server => client
03:10:11.297991 'l'
03:10:11.308041 Received DATA (on stdin)
03:10:11.308100 > 1 bytes data, server => client
03:10:11.308127 'l'
03:10:11.318135 Received DATA (on stdin)
03:10:11.318194 > 1 bytes data, server => client
03:10:11.318221 'o'
03:10:11.328208 Received DATA (on stdin)
03:10:11.328263 > 1 bytes data, server => client
03:10:11.328299 't'
03:10:11.338302 Received DATA (on stdin)
03:10:11.338337 > 1 bytes data, server => client
03:10:11.338359 't'
03:10:11.348398 Received DATA (on stdin)
03:10:11.348443 > 1 bytes data, server => client
03:10:11.348465 'e'
03:10:11.358493 Received DATA (on stdin)
03:10:11.358531 > 1 bytes data, server => client
03:10:11.358554 'd'
03:10:11.368585 Received DATA (on stdin)
03:10:11.368643 > 1 bytes data, server => client
03:10:11.368668 '.'
03:10:11.378679 Received DATA (on stdin)
03:10:11.378739 > 1 bytes data, server => client
03:10:11.378778 '\n'
03:10:11.388780 Received DATA (on stdin)
03:10:11.388838 > 1 bytes data, server => client
03:10:11.388859 'L'
03:10:11.398881 Received DATA (on stdin)
03:10:11.398952 > 1 bytes data, server => client
03:10:11.398980 'o'
03:10:11.408985 Received DATA (on stdin)
03:10:11.409058 > 1 bytes data, server => client
03:10:11.409086 'n'
03:10:11.419055 Received DATA (on stdin)
03:10:11.419114 > 1 bytes data, server => client
03:10:11.419141 'g'
03:10:11.429136 Received DATA (on stdin)
03:10:11.429202 > 1 bytes data, server => client
03:10:11.429230 ' '
03:10:11.439234 Received DATA (on stdin)
03:10:11.439295 > 1 bytes data, server => client
03:10:11.439322 'c'
03:10:11.449305 Received DATA (on stdin)
03:10:11.449359 > 1 bytes data, server => client
03:10:11.449395 'h'
03:10:11.459396 Received DATA (on stdin)
03:10:11.459442 > 1 bytes data, server => client
03:10:11.459472 'u'
03:10:11.469515 Received DATA (on stdin)
03:10:11.469573 > 1 bytes data, server => client
03:10:11.469601 'n'
03:10:11.479611 Received DATA (on stdin)
03:10:11.479671 > 1 bytes data, server => client
03:10:11.479698 'k'
03:10:11.489686 Received DATA (on stdin)
03:10:11.489744 > 1 bytes data, server => client
03:10:11.489769 ' '
03:10:11.499779 Received DATA (on stdin)
03:10:11.499815 > 1 bytes data, server => client
03:10:11.499847 'o'
03:10:11.509873 Received DATA (on stdin)
03:10:11.509917 > 1 bytes data, server => client
03:10:11.509942 'f'
03:10:11.519968 Received DATA (on stdin)
03:10:11.520004 > 1 bytes data, server => client
03:10:11.520026 ' '
03:10:11.530088 Received DATA (on stdin)
03:10:11.530148 > 1 bytes data, server => client
03:10:11.530175 'd'
03:10:11.540185 Received DATA (on stdin)
03:10:11.540245 > 1 bytes data, server => client
03:10:11.540272 'a'
03:10:11.550278 Received DATA (on stdin)
03:10:11.550339 > 1 bytes data, server => client
03:10:11.550366 't'
03:10:11.560372 Received DATA (on stdin)
03:10:11.560445 > 1 bytes data, server => client
03:10:11.560472 'a'
03:10:11.570468 Received DATA (on stdin)
03:10:11.570529 > 1 bytes data, server => client
03:10:11.570556 ' '
03:10:11.580564 Received DATA (on stdin)
03:10:11.580624 > 1 bytes data, server => client
03:10:11.580651 't'
03:10:11.590660 Received DATA (on stdin)
03:10:11.590721 > 1 bytes data, server => client
03:10:11.590748 'h'
03:10:11.600757 Received DATA (on stdin)
03:10:11.600817 > 1 bytes data, server => client
03:10:11.600844 'a'
03:10:11.610849 Received DATA (on stdin)
03:10:11.610910 > 1 bytes data, server => client
03:10:11.610936 't'
03:10:11.620946 Received DATA (on stdin)
03:10:11.621006 > 1 bytes data, server => client
03:10:11.621033 ' '
03:10:11.631040 Received DATA (on stdin)
03:10:11.631100 > 1 bytes data, server => client
03:10:11.631128 'c'
03:10:11.641136 Received DATA (on stdin)
03:10:11.641196 > 1 bytes data, server => client
03:10:11.641223 'o'
03:10:11.651233 Received DATA (on stdin)
03:10:11.651293 > 1 bytes data, server => client
03:10:11.651320 'u'
03:10:11.661326 Received DATA (on stdin)
03:10:11.661386 > 1 bytes data, server => client
03:10:11.661413 'l'
03:10:11.671422 Received DATA (on stdin)
03:10:11.671482 > 1 bytes data, server => client
03:10:11.671510 'd'
03:10:11.681518 Received DATA (on stdin)
03:10:11.681579 > 1 bytes data, server => client
03:10:11.681606 'n'
03:10:11.691614 Received DATA (on stdin)
03:10:11.691675 > 1 bytes data, server => client
03:10:11.691702 '''
03:10:11.701710 Received DATA (on stdin)
03:10:11.701770 > 1 bytes data, server => client
03:10:11.701797 't'
03:10:11.711782 Received DATA (on stdin)
03:10:11.711836 > 1 bytes data, server => client
03:10:11.711861 ' '
03:10:11.721875 Received DATA (on stdin)
03:10:11.721911 > 1 bytes data, server => client
03:10:11.721933 'p'
03:10:11.731971 Received DATA (on stdin)
03:10:11.732005 > 1 bytes data, server => client
03:10:11.732027 'o'
03:10:11.742092 Received DATA (on stdin)
03:10:11.742150 > 1 bytes data, server => client
03:10:11.742177 's'
03:10:11.752166 Received DATA (on stdin)
03:10:11.752228 > 1 bytes data, server => client
03:10:11.752256 's'
03:10:11.762257 Received DATA (on stdin)
03:10:11.762296 > 1 bytes data, server => client
03:10:11.762323 'i'
03:10:11.772352 Received DATA (on stdin)
03:10:11.772388 > 1 bytes data, server => client
03:10:11.772424 'b'
=== File too long: 2375 lines omitted here
03:10:19.553152 Received DATA (on stdin)
03:10:19.553210 > 1 bytes data, server => client
03:10:19.553238 'a'
03:10:19.553256 *** We are disconnected
03:10:19.563246 Received DATA (on stdin)
03:10:19.563304 > 1 bytes data, server => client
03:10:19.563332 ' '
03:10:19.563350 *** We are disconnected
03:10:19.573341 Received DATA (on stdin)
03:10:19.573399 > 1 bytes data, server => client
03:10:19.573426 't'
03:10:19.573444 *** We are disconnected
03:10:19.583425 Received DATA (on stdin)
03:10:19.583483 > 1 bytes data, server => client
03:10:19.583510 'h'
03:10:19.583529 *** We are disconnected
03:10:19.593517 Received DATA (on stdin)
03:10:19.593575 > 1 bytes data, server => client
03:10:19.593603 'a'
03:10:19.593622 *** We are disconnected
03:10:19.603610 Received DATA (on stdin)
03:10:19.603669 > 1 bytes data, server => client
03:10:19.603696 't'
03:10:19.603715 *** We are disconnected
03:10:19.613724 Received DATA (on stdin)
03:10:19.613782 > 1 bytes data, server => client
03:10:19.613818 ' '
03:10:19.613848 *** We are disconnected
03:10:19.623809 Received DATA (on stdin)
03:10:19.623867 > 1 bytes data, server => client
03:10:19.623894 'c'
03:10:19.623923 *** We are disconnected
03:10:19.633912 Received DATA (on stdin)
03:10:19.633990 > 1 bytes data, server => client
03:10:19.634018 'o'
03:10:19.634037 *** We are disconnected
03:10:19.643995 Received DATA (on stdin)
03:10:19.644053 > 1 bytes data, server => client
03:10:19.644081 'u'
03:10:19.644099 *** We are disconnected
03:10:19.654074 Received DATA (on stdin)
03:10:19.654132 > 1 bytes data, server => client
03:10:19.654159 'l'
03:10:19.654177 *** We are disconnected
03:10:19.664145 Received DATA (on stdin)
03:10:19.664203 > 1 bytes data, server => client
03:10:19.664231 'd'
03:10:19.664249 *** We are disconnected
03:10:19.674217 Received DATA (on stdin)
03:10:19.674275 > 1 bytes data, server => client
03:10:19.674302 'n'
03:10:19.674320 *** We are disconnected
03:10:19.684291 Received DATA (on stdin)
03:10:19.684350 > 1 bytes data, server => client
03:10:19.684377 '''
03:10:19.684396 *** We are disconnected
03:10:19.694362 Received DATA (on stdin)
03:10:19.694420 > 1 bytes data, server => client
03:10:19.694448 't'
03:10:19.694466 *** We are disconnected
03:10:19.704438 Received DATA (on stdin)
03:10:19.704495 > 1 bytes data, server => client
03:10:19.704520 ' '
03:10:19.704538 *** We are disconnected
03:10:19.714531 Received DATA (on stdin)
03:10:19.714589 > 1 bytes data, server => client
03:10:19.714616 'p'
03:10:19.714635 *** We are disconnected
03:10:19.724602 Received DATA (on stdin)
03:10:19.724660 > 1 bytes data, server => client
03:10:19.724687 'o'
03:10:19.724706 *** We are disconnected
03:10:19.734679 Received DATA (on stdin)
03:10:19.734737 > 1 bytes data, server => client
03:10:19.734780 's'
03:10:19.734799 *** We are disconnected
03:10:19.744749 Received DATA (on stdin)
03:10:19.744808 > 1 bytes data, server => client
03:10:19.744835 's'
03:10:19.744853 *** We are disconnected
03:10:19.754823 Received DATA (on stdin)
03:10:19.754882 > 1 bytes data, server => client
03:10:19.754909 'i'
03:10:19.754928 *** We are disconnected
03:10:19.764896 Received DATA (on stdin)
03:10:19.764954 > 1 bytes data, server => client
03:10:19.764981 'b'
03:10:19.764999 *** We are disconnected
03:10:19.774967 Received DATA (on stdin)
03:10:19.775025 > 1 bytes data, server => client
03:10:19.775052 'l'
03:10:19.775071 *** We are disconnected
03:10:19.785055 Received DATA (on stdin)
03:10:19.785113 > 1 bytes data, server => client
03:10:19.785140 'y'
03:10:19.785159 *** We are disconnected
03:10:19.795146 Received DATA (on stdin)
03:10:19.795205 > 1 bytes data, server => client
03:10:19.795232 ' '
03:10:19.795251 *** We are disconnected
03:10:19.805241 Received DATA (on stdin)
03:10:19.805300 > 1 bytes data, server => client
03:10:19.805327 'b'
03:10:19.805345 *** We are disconnected
03:10:19.815335 Received DATA (on stdin)
03:10:19.815393 > 1 bytes data, server => client
03:10:19.815421 'e'
03:10:19.815439 *** We are disconnected
03:10:19.825421 Received DATA (on stdin)
03:10:19.825479 > 1 bytes data, server => client
03:10:19.825507 ' '
03:10:19.825525 *** We are disconnected
03:10:19.835497 Received DATA (on stdin)
03:10:19.835555 > 1 bytes data, server => client
03:10:19.835583 's'
03:10:19.835601 *** We are disconnected
03:10:19.845574 Received DATA (on stdin)
03:10:19.845632 > 1 bytes data, server => client
03:10:19.845659 'e'
03:10:19.845678 *** We are disconnected
03:10:19.855651 Received DATA (on stdin)
03:10:19.855710 > 1 bytes data, server => client
03:10:19.855737 'n'
03:10:19.855756 *** We are disconnected
03:10:19.865725 Received DATA (on stdin)
03:10:19.865783 > 1 bytes data, server => client
03:10:19.865810 't'
03:10:19.865829 *** We are disconnected
03:10:19.875798 Received DATA (on stdin)
03:10:19.875857 > 1 bytes data, server => client
03:10:19.875884 ' '
03:10:19.875902 *** We are disconnected
03:10:19.885874 Received DATA (on stdin)
03:10:19.885932 > 1 bytes data, server => client
03:10:19.885959 'i'
03:10:19.885978 *** We are disconnected
03:10:19.895947 Received DATA (on stdin)
03:10:19.896005 > 1 bytes data, server => client
03:10:19.896032 'n'
03:10:19.896051 *** We are disconnected
03:10:19.906032 Received DATA (on stdin)
03:10:19.906091 > 1 bytes data, server => client
03:10:19.906118 ' '
03:10:19.906137 *** We are disconnected
03:10:19.916111 Received DATA (on stdin)
03:10:19.916169 > 1 bytes data, server => client
03:10:19.916216 't'
03:10:19.916235 *** We are disconnected
03:10:19.926185 Received DATA (on stdin)
03:10:19.926243 > 1 bytes data, server => client
03:10:19.926270 'h'
03:10:19.926288 *** We are disconnected
03:10:19.936260 Received DATA (on stdin)
03:10:19.936318 > 1 bytes data, server => client
03:10:19.936345 'e'
03:10:19.936364 *** We are disconnected
03:10:19.946332 Received DATA (on stdin)
03:10:19.946390 > 1 bytes data, server => client
03:10:19.946417 ' '
03:10:19.946436 *** We are disconnected
03:10:19.956422 Received DATA (on stdin)
03:10:19.956479 > 1 bytes data, server => client
03:10:19.956505 't'
03:10:19.956523 *** We are disconnected
03:10:19.966479 Received DATA (on stdin)
03:10:19.966537 > 1 bytes data, server => client
03:10:19.966564 'i'
03:10:19.966583 *** We are disconnected
03:10:19.976549 Received DATA (on stdin)
03:10:19.976607 > 1 bytes data, server => client
03:10:19.976635 'm'
03:10:19.976653 *** We are disconnected
03:10:19.986625 Received DATA (on stdin)
03:10:19.986684 > 1 bytes data, server => client
03:10:19.986711 'e'
03:10:19.986730 *** We are disconnected
03:10:19.996697 Received DATA (on stdin)
03:10:19.996755 > 1 bytes data, server => client
03:10:19.996782 ' '
03:10:19.996800 *** We are disconnected
03:10:20.006803 Received DATA (on stdin)
03:10:20.006875 > 1 bytes data, server => client
03:10:20.006901 'a'
03:10:20.006940 *** We are disconnected
03:10:20.016889 Received DATA (on stdin)
03:10:20.016950 > 1 bytes data, server => client
03:10:20.016977 'l'
03:10:20.016995 *** We are disconnected
03:10:20.026982 Received DATA (on stdin)
03:10:20.027041 > 1 bytes data, server => client
03:10:20.027069 'l'
03:10:20.027087 *** We are disconnected
03:10:20.037076 Received DATA (on stdin)
03:10:20.037135 > 1 bytes data, server => client
03:10:20.037162 'o'
03:10:20.037180 *** We are disconnected
03:10:20.047170 Received DATA (on stdin)
03:10:20.047229 > 1 bytes data, server => client
03:10:20.047256 't'
03:10:20.047275 *** We are disconnected
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.09.08 03:10:00 LOG5[29298]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.08 03:10:00 LOG5[29298]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.08 03:10:00 LOG5[29298]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.08 03:10:00 LOG5[29298]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.08 03:10:00 LOG5[29298]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.08 03:10:00 LOG5[29298]: Reading configuration from file /build-25070/tests/ftps_stunnel.conf
2019.09.08 03:10:00 LOG5[29298]: FIPS mode disabled
2019.09.08 03:10:00 LOG5[29298]: Configuration successful
2019.09.08 03:10:01 LOG5[29301]: Service [curltest] accepted connection from 127.0.0.1:58872
2019.09.08 03:10:01 LOG5[29301]: s_connect: connected 127.0.0.1:8992
2019.09.08 03:10:01 LOG5[29301]: Service [curltest] connected remote server from 127.0.0.1:53518
2019.09.08 03:10:01 LOG5[29301]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.09.08 03:10:03 LOG5[29308]: Service [curltest] accepted connection from 127.0.0.1:58878
2019.09.08 03:10:05 LOG5[29308]: s_connect: connected 127.0.0.1:8992
2019.09.08 03:10:05 LOG5[29308]: Service [curltest] connected remote server from 127.0.0.1:53524
2019.09.08 03:10:19 LOG5[29308]: Connection closed: 347 byte(s) sent to SSL, 95 byte(s) sent to socket
2019.09.08 03:10:20 LOG5[29298]: Terminated
=== End of file ftps_stunnel.log
=== Start of file ftps_verify.log
* STATE: INIT => CONNECT handle 0x564e42f9b7f8; 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 0x564e42f9b7f8; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x564e42f9b7f8; 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 0x564e42fb13d0 (line 3092) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x564e42f9b7f8; line 1682 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x564e42fb13d0 (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 0x564e42fb13d0 (line 2520) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x564e42fb13d0 (line 2496) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x564e42fb13d0 (line 2709) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x564e42fb13d0 (line 804) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x564e42fb13d0 (line 2844) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x564e42f9b7f8; line 1701 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x564e42fb13d0 (line 1330) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x564e42f9b7f8; line 1743 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||36193|)
* Trying 127.0.0.1:36193...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 36193
* FTP 0x564e42fb13d0 (line 1977) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x564e42f9b7f8; 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 0x564e42fb13d0 (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 0x564e42fb13d0 (line 1743) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x564e42fb13d0 (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 0x564e42fb13d0 (line 477) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x564e42f9b7f8; line 1850 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x564e42f9b7f8; line 1877 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x564e42f9b7f8; 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 0x564e42f9b7f8)
=== 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 53 0 0 8 0 0:07:30 0:00:06 0:07:24 8
4 3600 4 152 0 0 21 0 0:02:51 0:00:07 0:02:44 30
6 3600 6 251 0 0 30 0 0:02:00 0:00:08 0:01:52 50
9 3600 9 350 0 0 38 0 0:01:34 0:00:09 0:01:25 70
12 3600 12 449 0 0 44 0 0:01:21 0:00:10 0:01:11 89
15 3600 15 548 0 0 49 0 0:01:13 0:00:11 0:01:02 99
17 3600 17 647 0 0 53 0 0:01:07 0:00:12 0:00:55 99
20 3600 20 746 0 0 56 0 0:01:04 0:00:13 0:00:51 99
23 3600 23 845 0 0 59 0 0:01:01 0:00:14 0:00:47 99
26 3600 26 945 0 0 62 0 0:00:58 0:00:15 0:00:43 99
28 3600 28 1032 0 0 64 0 0:00:56 0:00:16 0:00:40 98
curl: (28) Operation timed out after 16000 milliseconds with 1032 out of 3600 bytes received
=== End of file stderr1112
=== Start of file trace1112
03:10:03.873416 == Info: STATE: INIT => CONNECT handle 0x56c80b8; line 1491 (connection #-5000)
03:10:03.929302 == Info: Added connection 0. The cache now contains 1 members
03:10:03.946508 == Info: Trying 127.0.0.1:8993...
03:10:03.947113 == Info: TCP_NODELAY set
03:10:03.951663 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c80b8; line 1547 (connection #0)
03:10:03.963284 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:10:03.963845 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c80b8; line 1665 (connection #0)
03:10:03.964959 == Info: Marked for [keep alive]: FTP default
03:10:05.433596 == Info: successfully set certificate verify locations:
03:10:05.433852 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:10:05.546918 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:10:05.552102 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:10:05.552167 => Send SSL data, 126 bytes (0x7e)
0000: ...z..om.o..3.^..D..w..d......=...........+./.,.0...............
0040: ../.5.....3...................................................
03:10:05.569005 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:10:05.574551 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:10:05.574609 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..eS.[.A.n.sx.1......LX..+.QIHK... .+......P......].[..+....
0040: U.y..c`./................
03:10:05.618157 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:05.618515 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:10:05.618570 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:10:05.716805 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:10:05.717017 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:10:05.717074 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.Y^m.WC....5|.Ag..-H.%4.j.`.|?.......T..e{.W.o..v6:.k..~
0040: .L............c.P/.J#...AL.].M.N.%\..)...h)..s&O.......R<.....1.
0080: .S!......X.........I.Z.v.7.....=....2<;Y..Fet_!V.......P........
00c0: D2.ncN.[7F]H*..4.c.F..0.:.]....y!t{...PD.t.h.....Qw..%p,....%.LQNFi
0100: ....n..Y...-&t..8.'\.....f6...........mG.>~J.6N//...........Q.n.
0140: shz..l.[7F]...Q.
03:10:05.786350 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:05.786561 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:10:05.786618 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:10:05.901482 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:10:05.901684 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:10:05.901741 => Send SSL data, 70 bytes (0x46)
0000: ...BA....Y.D#.7S.......S...........Q..O....[7F]XT ...oR.z.qp...Q..N
0040: ...t..
03:10:05.913700 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:05.914284 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:10:05.914341 => Send SSL data, 1 bytes (0x1)
0000: .
03:10:05.935608 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:10:05.935666 => Send SSL data, 16 bytes (0x10)
0000: ......h..c.}W(.*
03:10:05.948089 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:10:05.950636 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:05.951726 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:10:05.951782 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:10:05.954222 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:10:05.959870 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:10:05.959926 <= Recv SSL data, 16 bytes (0x10)
0000: ....~.j.79a.5...
03:10:05.988170 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:10:05.990374 == Info: Server certificate:
03:10:05.997850 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:10:06.004037 == Info: start date: Aug 31 23:39:18 2018 GMT
03:10:06.005004 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:10:06.005943 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:10:06.006813 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:10:06.008305 == Info: FTP 0x5743ee0 (line 3092) state change from STOP to WAIT220
03:10:06.014498 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.017804 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.018042 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.018269 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.018493 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.018715 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.018937 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.021988 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c80b8; line 1682 (connection #0)
03:10:06.028086 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.030342 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.040481 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.050610 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.060809 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.070879 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.080960 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.091118 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.101330 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.111345 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.121526 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.131571 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.141677 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.151779 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.161864 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.171941 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.181992 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.192078 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.202171 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.212272 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.222364 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.232475 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.242533 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.252596 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.262744 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.263756 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:10:06.273622 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.282943 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.292966 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.303017 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.313193 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.323341 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.333390 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.343528 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.353628 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.363716 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.373809 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.383966 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.394010 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.404097 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.414176 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.424249 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.434340 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.444492 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.454509 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.464591 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.474672 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.484758 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.494842 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.504952 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.515099 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.525113 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.535209 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.545299 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.555389 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.565484 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.575572 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.585671 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.586024 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:10:06.595766 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.605883 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.615944 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.626053 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.636127 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.646196 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.656272 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.666349 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.676444 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.686492 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.696600 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.706689 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.716774 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.726858 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.736966 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.747048 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.757137 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.767229 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.777320 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.787416 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.797513 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.807608 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.817723 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.827798 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.837888 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.847997 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.858079 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.868141 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.878210 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.888291 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.898365 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.908491 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.908839 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:10:06.918557 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.928623 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.938689 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.948767 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.958853 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.968943 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.979000 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.989023 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:06.999118 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.009227 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.019177 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.029284 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.039456 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.049603 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.059689 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.069740 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.079823 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.089916 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.100013 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.110227 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.120272 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.130373 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.140469 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.150510 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.160616 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.170691 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.180791 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.190896 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.201019 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.216429 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.221279 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.231351 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.231707 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:10:07.241433 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.251539 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.261652 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.271727 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.281821 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.291913 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.301980 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.312106 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.322170 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.332234 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.342390 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.352503 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.362562 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.372711 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.382786 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.392830 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.402952 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.413101 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.423128 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.433249 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.443285 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.453439 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.463533 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.473625 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.483722 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.493890 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.503912 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.514009 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.524080 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.534195 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.544293 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.554392 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.554744 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:10:07.570582 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:10:07.573544 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:10:07.574321 == Info: FTP 0x5743ee0 (line 792) state change from WAIT220 to USER
03:10:07.574691 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.582944 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.593061 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.603156 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.613248 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.623372 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.633521 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.643652 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.643964 <= Recv header, 8 bytes (0x8)
0000: 331 OK
03:10:07.646841 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:07.647174 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:10:07.648114 == Info: FTP 0x5743ee0 (line 2520) state change from USER to PASS
03:10:07.654046 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.664131 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.674237 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.684338 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.694425 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.704539 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.714673 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.724699 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.725051 <= Recv header, 8 bytes (0x8)
0000: 230 OK
03:10:07.726661 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:07.726973 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:10:07.727807 == Info: FTP 0x5743ee0 (line 2496) state change from PASS to PBSZ
03:10:07.735049 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.776705 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.785261 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.795248 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.805431 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.815593 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.825740 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.835847 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.845994 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.856087 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.866252 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.876242 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.886347 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.896456 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.906544 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.916652 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.926754 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.936795 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.946888 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.957016 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.967097 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.977176 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.987278 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:07.987632 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:10:07.989123 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:07.989426 => Send header, 8 bytes (0x8)
0000: PROT C
03:10:07.990271 == Info: FTP 0x5743ee0 (line 2709) state change from PBSZ to PROT
03:10:07.997705 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.007849 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.017916 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.028030 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.038120 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.048206 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.058303 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.068398 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.078490 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.088615 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.098828 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.108880 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.118816 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.128929 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.139023 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.149093 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.159157 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.169244 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.179310 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.189387 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.199461 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.209540 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.219614 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.229688 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.239758 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.249810 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.250163 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:10:08.251999 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:08.252351 => Send header, 5 bytes (0x5)
0000: PWD
03:10:08.253203 == Info: FTP 0x5743ee0 (line 804) state change from PROT to PWD
03:10:08.260259 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.270500 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.280231 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.290376 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.300560 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.310682 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.320764 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.330853 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.341140 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.341552 <= Recv header, 9 bytes (0x9)
0000: 257 "/"
03:10:08.344793 == Info: Entry path is '/'
03:10:08.345445 == Info: FTP 0x5743ee0 (line 2844) state change from PWD to STOP
03:10:08.345940 == Info: protocol connect phase DONE
03:10:08.346657 == Info: STATE: PROTOCONNECT => DO handle 0x56c80b8; line 1701 (connection #0)
03:10:08.353432 == Info: DO phase starts
03:10:08.357501 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:08.357622 => Send header, 6 bytes (0x6)
0000: EPSV
03:10:08.357958 == Info: FTP 0x5743ee0 (line 1330) state change from STOP to PASV
03:10:08.358131 == Info: Connect data stream passively
03:10:08.358912 == Info: ftp_perform ends with SECONDARY: 0
03:10:08.359621 == Info: STATE: DO => DOING handle 0x56c80b8; line 1743 (connection #0)
03:10:08.360668 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.400951 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.410794 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.420876 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.430945 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.441027 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.451139 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.461141 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.471201 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.481313 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.491399 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.501494 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.511588 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.521737 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.531787 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.541862 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.551952 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.562076 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.572150 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.582209 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.592243 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.602358 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.612474 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.622576 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.632638 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.642716 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.652828 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.662932 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.673012 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.683079 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.693182 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.703301 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.713382 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.723461 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.733560 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.733920 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||42391|).
03:10:08.747224 == Info: Trying 127.0.0.1:42391...
03:10:08.747293 == Info: TCP_NODELAY set
03:10:08.748888 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 42391
03:10:08.750003 == Info: FTP 0x5743ee0 (line 1977) state change from PASV to STOP
03:10:08.750550 == Info: DO phase is complete2
03:10:08.750813 == Info: STATE: DOING => DO_MORE handle 0x56c80b8; line 1825 (connection #0)
03:10:08.751532 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:10:08.751746 == Info: DO-MORE connected phase starts
03:10:08.753116 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:08.753256 => Send header, 8 bytes (0x8)
0000: TYPE I
03:10:08.753600 == Info: FTP 0x5743ee0 (line 3418) state change from STOP to RETR_TYPE
03:10:08.753999 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.764158 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.774117 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.784196 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.794340 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.804531 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.814593 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.824747 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.825079 <= Recv header, 8 bytes (0x8)
0000: 200 OK
03:10:08.827703 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:10:08.827990 => Send header, 11 bytes (0xb)
0000: SIZE 1112
03:10:08.828866 == Info: FTP 0x5743ee0 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:10:08.835741 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.845845 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.855865 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.865988 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.876079 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.886180 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.896376 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.906483 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.916597 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.926594 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.926950 <= Recv header, 10 bytes (0xa)
0000: 213 3600
03:10:08.931253 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:10:08.931563 => Send header, 11 bytes (0xb)
0000: RETR 1112
03:10:08.932443 == Info: FTP 0x5743ee0 (line 2229) state change from RETR_SIZE to RETR
03:10:08.937458 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.980908 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.987970 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:08.998044 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.008157 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.018284 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.028357 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.038439 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.048564 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.058598 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.068751 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.078823 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.088919 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.099011 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.109270 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.119232 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.129303 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.139391 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.149446 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.159532 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.169594 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.179671 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.189746 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.199824 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.209918 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.220046 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.230064 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.240127 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.250199 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.260275 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.270348 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.280442 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.290453 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.300578 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.310636 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.320828 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.330887 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.341001 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.351089 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.361170 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.371297 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.381334 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.391404 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.401497 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.411631 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.421744 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.431783 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.441859 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.451954 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.462052 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.472130 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:09.472498 <= Recv header, 54 bytes (0x36)
0000: 150 Binary data connection for 1112 () (3600 bytes).
03:10:09.474816 == Info: Maxdownload = -1
03:10:09.475349 == Info: Getting file with size: 3600
03:10:09.478753 == Info: FTP 0x5743ee0 (line 477) state change from RETR to STOP
03:10:09.480092 == Info: STATE: DO_MORE => DO_DONE handle 0x56c80b8; line 1850 (connection #0)
03:10:09.481046 == Info: STATE: DO_DONE => PERFORM handle 0x56c80b8; line 1877 (connection #0)
03:10:09.488912 <= Recv data, 1 bytes (0x1)
0000: L
03:10:09.494021 <= Recv data, 1 bytes (0x1)
0000: o
03:10:09.502171 <= Recv data, 1 bytes (0x1)
0000: n
03:10:09.512316 <= Recv data, 1 bytes (0x1)
0000: g
03:10:09.522425 <= Recv data, 1 bytes (0x1)
0000:
03:10:09.532552 <= Recv data, 1 bytes (0x1)
0000: c
03:10:09.542662 <= Recv data, 1 bytes (0x1)
0000: h
03:10:09.552761 <= Recv data, 1 bytes (0x1)
0000: u
03:10:09.562877 <= Recv data, 1 bytes (0x1)
0000: n
03:10:09.572968 <= Recv data, 1 bytes (0x1)
0000: k
03:10:09.583060 <= Recv data, 1 bytes (0x1)
0000:
03:10:09.593164 <= Recv data, 1 bytes (0x1)
0000: o
03:10:09.603250 <= Recv data, 1 bytes (0x1)
0000: f
03:10:09.613347 <= Recv data, 1 bytes (0x1)
0000:
03:10:09.623440 <= Recv data, 1 bytes (0x1)
0000: d
03:10:09.633542 <= Recv data, 1 bytes (0x1)
0000: a
03:10:09.643642 <= Recv data, 1 bytes (0x1)
0000: t
03:10:09.653735 <= Recv data, 1 bytes (0x1)
0000: a
03:10:09.663836 <= Recv data, 1 bytes (0x1)
0000:
03:10:09.673927 <= Recv data, 1 bytes (0x1)
0000: t
03:10:09.684023 <= Recv data, 1 bytes (0x1)
0000: h
03:10:09.694120 <= Recv data, 1 bytes (0x1)
0000: a
03:10:09.704222 <= Recv data, 1 bytes (0x1)
0000: t
03:10:09.714311 <= Recv data, 1 bytes (0x1)
0000:
03:10:09.724404 <= Recv data, 1 bytes (0x1)
0000: c
03:10:09.734510 <= Recv data, 1 bytes (0x1)
0000: o
03:10:09.744661 <= Recv data, 1 bytes (0x1)
0000: u
03:10:09.754693 <= Recv data, 1 bytes (0x1)
0000: l
03:10:09.764768 <= Recv data, 1 bytes (0x1)
0000: d
03:10:09.774920 <= Recv data, 1 bytes (0x1)
0000: n
03:10:09.784988 <= Recv data, 1 bytes (0x1)
0000: '
03:10:09.795082 <= Recv data, 1 bytes (0x1)
0000: t
03:10:09.805183 <= Recv data, 1 bytes (0x1)
0000:
03:10:09.815335 <= Recv data, 1 bytes (0x1)
0000: p
03:10:09.825386 <= Recv data, 1 bytes (0x1)
0000: o
03:10:09.835467 <= Recv data, 1 bytes (0x1)
0000: s
03:10:09.845566 <= Recv data, 1 bytes (0x1)
0000: s
03:10:09.855653 <= Recv data, 1 bytes (0x1)
0000: i
03:10:09.865748 <= Recv data, 1 bytes (0x1)
0000: b
03:10:09.875874 <= Recv data, 1 bytes (0x1)
0000: l
03:10:09.885942 <= Recv data, 1 bytes (0x1)
0000: y
03:10:09.896037 <= Recv data, 1 bytes (0x1)
0000:
03:10:09.906132 <= Recv data, 1 bytes (0x1)
0000: b
03:10:09.916235 <= Recv data, 1 bytes (0x1)
0000: e
03:10:09.926324 <= Recv data, 1 bytes (0x1)
0000:
03:10:09.936431 <= Recv data, 1 bytes (0x1)
0000: s
03:10:09.946518 <= Recv data, 1 bytes (0x1)
0000: e
03:10:09.956616 <= Recv data, 1 bytes (0x1)
0000: n
03:10:09.966703 <= Recv data, 1 bytes (0x1)
0000: t
03:10:09.976791 <= Recv data, 1 bytes (0x1)
0000:
03:10:09.986967 <= Recv data, 1 bytes (0x1)
0000: i
03:10:09.996998 <= Recv data, 1 bytes (0x1)
0000: n
03:10:10.007140 <= Recv data, 1 bytes (0x1)
0000:
03:10:10.017125 <= Recv data, 1 bytes (0x1)
0000: t
03:10:10.027244 <= Recv data, 1 bytes (0x1)
0000: h
03:10:10.037337 <= Recv data, 1 bytes (0x1)
0000: e
03:10:10.047433 <= Recv data, 1 bytes (0x1)
0000:
03:10:10.057562 <= Recv data, 1 bytes (0x1)
0000: t
03:10:10.067643 <= Recv data, 1 bytes (0x1)
0000: i
03:10:10.077734 <= Recv data, 1 bytes (0x1)
0000: m
03:10:10.087844 <= Recv data, 1 bytes (0x1)
0000: e
03:10:10.097930 <= Recv data, 1 bytes (0x1)
0000:
03:10:10.108093 <= Recv data, 1 bytes (0x1)
0000: a
03:10:10.118238 <= Recv data, 1 bytes (0x1)
0000: l
03:10:10.128194 <= Recv data, 1 bytes (0x1)
0000: l
03:10:10.138307 <= Recv data, 1 bytes (0x1)
0000: o
03:10:10.148420 <= Recv data, 1 bytes (0x1)
0000: t
03:10:10.158506 <= Recv data, 1 bytes (0x1)
=== File too long: 1740 lines omitted here
0000: o
03:10:18.949147 <= Recv data, 1 bytes (0x1)
0000: n
03:10:18.959246 <= Recv data, 1 bytes (0x1)
0000: g
03:10:18.969340 <= Recv data, 1 bytes (0x1)
0000:
03:10:18.979436 <= Recv data, 1 bytes (0x1)
0000: c
03:10:18.989534 <= Recv data, 1 bytes (0x1)
0000: h
03:10:18.999628 <= Recv data, 1 bytes (0x1)
0000: u
03:10:19.009809 <= Recv data, 1 bytes (0x1)
0000: n
03:10:19.019846 <= Recv data, 1 bytes (0x1)
0000: k
03:10:19.029933 <= Recv data, 1 bytes (0x1)
0000:
03:10:19.040017 <= Recv data, 1 bytes (0x1)
0000: o
03:10:19.050172 <= Recv data, 1 bytes (0x1)
0000: f
03:10:19.060226 <= Recv data, 1 bytes (0x1)
0000:
03:10:19.070320 <= Recv data, 1 bytes (0x1)
0000: d
03:10:19.080437 <= Recv data, 1 bytes (0x1)
0000: a
03:10:19.090514 <= Recv data, 1 bytes (0x1)
0000: t
03:10:19.100621 <= Recv data, 1 bytes (0x1)
0000: a
03:10:19.110711 <= Recv data, 1 bytes (0x1)
0000:
03:10:19.120774 <= Recv data, 1 bytes (0x1)
0000: t
03:10:19.130891 <= Recv data, 1 bytes (0x1)
0000: h
03:10:19.140984 <= Recv data, 1 bytes (0x1)
0000: a
03:10:19.151091 <= Recv data, 1 bytes (0x1)
0000: t
03:10:19.161152 <= Recv data, 1 bytes (0x1)
0000:
03:10:19.171239 <= Recv data, 1 bytes (0x1)
0000: c
03:10:19.181345 <= Recv data, 1 bytes (0x1)
0000: o
03:10:19.191432 <= Recv data, 1 bytes (0x1)
0000: u
03:10:19.201521 <= Recv data, 1 bytes (0x1)
0000: l
03:10:19.211632 <= Recv data, 1 bytes (0x1)
0000: d
03:10:19.221728 <= Recv data, 1 bytes (0x1)
0000: n
03:10:19.231824 <= Recv data, 1 bytes (0x1)
0000: '
03:10:19.241948 <= Recv data, 1 bytes (0x1)
0000: t
03:10:19.252045 <= Recv data, 1 bytes (0x1)
0000:
03:10:19.262133 <= Recv data, 1 bytes (0x1)
0000: p
03:10:19.272202 <= Recv data, 1 bytes (0x1)
0000: o
03:10:19.282299 <= Recv data, 1 bytes (0x1)
0000: s
03:10:19.292398 <= Recv data, 1 bytes (0x1)
0000: s
03:10:19.302488 <= Recv data, 1 bytes (0x1)
0000: i
03:10:19.312606 <= Recv data, 1 bytes (0x1)
0000: b
03:10:19.322681 <= Recv data, 1 bytes (0x1)
0000: l
03:10:19.332797 <= Recv data, 1 bytes (0x1)
0000: y
03:10:19.342864 <= Recv data, 1 bytes (0x1)
0000:
03:10:19.353008 <= Recv data, 1 bytes (0x1)
0000: b
03:10:19.363111 <= Recv data, 1 bytes (0x1)
0000: e
03:10:19.373192 <= Recv data, 1 bytes (0x1)
0000:
03:10:19.383285 <= Recv data, 1 bytes (0x1)
0000: s
03:10:19.393383 <= Recv data, 1 bytes (0x1)
0000: e
03:10:19.403487 <= Recv data, 1 bytes (0x1)
0000: n
03:10:19.413592 <= Recv data, 1 bytes (0x1)
0000: t
03:10:19.423679 <= Recv data, 1 bytes (0x1)
0000:
03:10:19.433765 <= Recv data, 1 bytes (0x1)
0000: i
03:10:19.443814 <= Recv data, 1 bytes (0x1)
0000: n
03:10:19.453934 <= Recv data, 1 bytes (0x1)
0000:
03:10:19.464028 <= Recv data, 1 bytes (0x1)
0000: t
03:10:19.474187 <= Recv data, 1 bytes (0x1)
0000: h
03:10:19.484221 <= Recv data, 1 bytes (0x1)
0000: e
03:10:19.494313 <= Recv data, 1 bytes (0x1)
0000:
03:10:19.504431 <= Recv data, 1 bytes (0x1)
0000: t
03:10:19.514505 <= Recv data, 1 bytes (0x1)
0000: i
03:10:19.524599 <= Recv data, 1 bytes (0x1)
0000: m
03:10:19.534682 <= Recv data, 1 bytes (0x1)
0000: e
03:10:19.544801 <= Recv data, 1 bytes (0x1)
0000:
03:10:19.554871 <= Recv data, 1 bytes (0x1)
0000: a
03:10:19.564968 <= Recv data, 1 bytes (0x1)
0000: l
03:10:19.575069 <= Recv data, 1 bytes (0x1)
0000: l
03:10:19.585156 <= Recv data, 1 bytes (0x1)
0000: o
03:10:19.595253 <= Recv data, 1 bytes (0x1)
0000: t
03:10:19.605359 <= Recv data, 1 bytes (0x1)
0000: t
03:10:19.615448 <= Recv data, 1 bytes (0x1)
0000: e
03:10:19.625483 <= Recv data, 1 bytes (0x1)
0000: d
03:10:19.635569 <= Recv data, 1 bytes (0x1)
0000: .
03:10:19.645733 <= Recv data, 1 bytes (0x1)
0000: .
03:10:19.655843 <= Recv data, 1 bytes (0x1)
0000: L
03:10:19.665937 <= Recv data, 1 bytes (0x1)
0000: o
03:10:19.676031 <= Recv data, 1 bytes (0x1)
0000: n
03:10:19.686132 <= Recv data, 1 bytes (0x1)
0000: g
03:10:19.696218 <= Recv data, 1 bytes (0x1)
0000:
03:10:19.706315 <= Recv data, 1 bytes (0x1)
0000: c
03:10:19.716471 <= Recv data, 1 bytes (0x1)
0000: h
03:10:19.726505 <= Recv data, 1 bytes (0x1)
0000: u
03:10:19.736609 <= Recv data, 1 bytes (0x1)
0000: n
03:10:19.746695 <= Recv data, 1 bytes (0x1)
0000: k
03:10:19.756795 <= Recv data, 1 bytes (0x1)
0000:
03:10:19.766888 <= Recv data, 1 bytes (0x1)
0000: o
03:10:19.776968 <= Recv data, 1 bytes (0x1)
0000: f
03:10:19.787057 <= Recv data, 1 bytes (0x1)
0000:
03:10:19.797122 <= Recv data, 1 bytes (0x1)
0000: d
03:10:19.807203 <= Recv data, 1 bytes (0x1)
0000: a
03:10:19.817279 <= Recv data, 1 bytes (0x1)
0000: t
03:10:19.827374 <= Recv data, 1 bytes (0x1)
0000: a
03:10:19.837459 <= Recv data, 1 bytes (0x1)
0000:
03:10:19.847542 <= Recv data, 1 bytes (0x1)
0000: t
03:10:19.857632 <= Recv data, 1 bytes (0x1)
0000: h
03:10:19.867695 <= Recv data, 1 bytes (0x1)
0000: a
03:10:19.877768 <= Recv data, 1 bytes (0x1)
0000: t
03:10:19.887861 <= Recv data, 1 bytes (0x1)
0000:
03:10:19.891785 == Info: Operation timed out after 16000 milliseconds with 1032 out of 3600 bytes received
03:10:19.892739 == Info: Marked for [closure]: Disconnected with pending data
03:10:19.893222 == Info: multi_done
03:10:19.908474 == Info: Closing connection 0
03:10:19.910091 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:19.910986 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
03:10:19.911046 => Send SSL data, 2 bytes (0x2)
0000: ..
03:10:19.968945 == Info: The cache now contains 0 members
03:10:19.975803 == Info: Expire cleared (transfer 0x56c80b8)
=== End of file trace1112
=== Start of file valgrind1112
==29307== Invalid read of size 8
==29307== at 0x53335A5: check_free (dlerror.c:188)
==29307== by 0x5333AB1: free_key_mem (dlerror.c:221)
==29307== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==29307== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==29307== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==29307== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==29307== by 0x4C4AEB9: exit (exit.c:139)
==29307== by 0x4C350A1: (below main) (libc-start.c:342)
==29307== Address 0x5af7de0 is 0 bytes after a block of size 32 alloc'd
==29307== at 0x483577F: malloc (vg_replace_malloc.c:309)
==29307== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==29307== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==29307== by 0x24AE36: err_get_state (err.c:210)
==29307== by 0x24BA0C: ERR_put_error (err.c:636)
==29307== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==29307== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==29307== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==29307== by 0x270058: by_file_ctrl (by_file.c:111)
==29307== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==29307== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==29307== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==29307== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==29307== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==29307== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==29307== by 0x182153: Curl_ssl_connect (vtls.c:251)
==29307==
==29307== Invalid free() / delete / delete[] / realloc()
==29307== at 0x48369AB: free (vg_replace_malloc.c:540)
==29307== by 0x5333AB9: free_key_mem (dlerror.c:223)
==29307== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==29307== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==29307== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==29307== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==29307== by 0x4C4AEB9: exit (exit.c:139)
==29307== by 0x4C350A1: (below main) (libc-start.c:342)
==29307== Address 0x5af7dc8 is 8 bytes inside a block of size 32 alloc'd
==29307== at 0x483577F: malloc (vg_replace_malloc.c:309)
==29307== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==29307== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==29307== by 0x24AE36: err_get_state (err.c:210)
==29307== by 0x24BA0C: ERR_put_error (err.c:636)
==29307== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==29307== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==29307== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==29307== by 0x270058: by_file_ctrl (by_file.c:111)
==29307== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==29307== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==29307== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==29307== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==29307== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==29307== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==29307== by 0x182153: Curl_ssl_connect (vtls.c:251)
==29307==
==29307== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==29307== at 0x483577F: malloc (vg_replace_malloc.c:309)
==29307== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==29307== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==29307== by 0x24AE36: err_get_state (err.c:210)
==29307== by 0x24BA0C: ERR_put_error (err.c:636)
==29307== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==29307== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==29307== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==29307== by 0x270058: by_file_ctrl (by_file.c:111)
==29307== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==29307== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==29307== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==29307== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==29307== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==29307== by 0x1CA94C: Curl_ossl_connect (openssl.c:3665)
==29307== by 0x182153: Curl_ssl_connect (vtls.c:251)
==29307==
=== 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:16, took 3.5s, duration: 19:19)
test 1114...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (DOS)]
s------emv- OK (791 out of 1251, remaining: 11:15, took 1.3s, duration: 19:20)
test 1115...[HTTP GET with unexpected 1xx response]
--pd---emv- OK (792 out of 1251, remaining: 11:13, took 1.2s, duration: 19:22)
test 1116...[HTTP GET with chunked trailer without Trailer:]
--pd--oemv- OK (793 out of 1251, remaining: 11:11, took 1.2s, duration: 19:23)
test 1117...[HTTP with invalid range then another URL]
s-p----emv- OK (794 out of 1251, remaining: 11:23, took 24.1s, duration: 19:47)
test 1118...[URL without slash and @-letter in query]
--pd---emv- OK (795 out of 1251, remaining: 11:21, took 1.2s, duration: 19:48)
test 1119...[Verify that symbols-in-versions and headers are in sync]
-------e-- OK (796 out of 1251, remaining: 11:19, took 0.0s, duration: 19:48)
test 1120...[FTP with 421 timeout response]
--p----emv- OK (797 out of 1251, remaining: 11:17, took 1.2s, duration: 19:49)
test 1121...[HTTP multiple provided Host: headers]
--pd---emv- OK (798 out of 1251, remaining: 11:16, took 1.2s, duration: 19:50)
test 1122...[HTTP GET gzip transfer-encoded content]
--pd---emv- OK (799 out of 1251, remaining: 11:14, took 1.2s, duration: 19:52)
test 1123...[HTTP GET deflate transfer-encoded content]
--pd---emv- OK (800 out of 1251, remaining: 11:12, took 1.2s, duration: 19:53)
test 1124...[HTTP GET gzip+chunked transfer-encoded content]
--pd---emv- OK (801 out of 1251, remaining: 11:11, took 1.2s, duration: 19:54)
test 1125...[HTTP GET transfer-encoding with custom Connection:]
--pd---emv- OK (802 out of 1251, remaining: 11:09, took 1.2s, duration: 19:55)
test 1126...[HTTP 200 If-Modified-Since with newer document]
--pd---emv- OK (803 out of 1251, remaining: 11:07, took 1.2s, duration: 19:56)
test 1127...[HTTP 200 If-Modified-Since with older document]
--pd---emv- OK (804 out of 1251, remaining: 11:06, took 1.2s, duration: 19:58)
test 1128...[HTTP 200 If-Modified-Since with old+new documents]
s-p----emv- OK (805 out of 1251, remaining: 11:04, took 1.2s, duration: 19:59)
test 1129...[HTTP POST expect 100-continue with a 404]
s-p----emv- OK (806 out of 1251, remaining: 11:02, took 1.2s, duration: 20:00)
test 1130...[HTTP POST forced expect 100-continue with a 404]
s-p----emv- OK (807 out of 1251, remaining: 11:01, took 1.2s, duration: 20:01)
test 1131...[HTTP PUT expect 100-continue with a 400]
s-p----emv- OK (808 out of 1251, remaining: 10:59, took 1.2s, duration: 20:02)
test 1132...[Verify memory #include files in libcurl's C source files]
-------e-- OK (809 out of 1251, remaining: 10:57, took 0.0s, duration: 20:02)
test 1133...[HTTP RFC1867-type formposting with filename/data contains ',', ';', '"']
--pd---emv- OK (810 out of 1251, remaining: 10:56, took 2.3s, duration: 20:05)
test 1134...[HTTP connection re-use with different credentials]
--pd---emv- OK (811 out of 1251, remaining: 10:54, took 1.2s, duration: 20:06)
test 1135...[Verify CURL_EXTERN order]
s------e-- OK (812 out of 1251, remaining: 10:52, took 0.0s, duration: 20:06)
test 1136...[Check cookies against PSL]
---d--oemv- OK (813 out of 1251, remaining: 10:50, took 1.3s, duration: 20:07)
test 1137...[FTP RETR --ignore-content-length]
--pd---emv- OK (814 out of 1251, remaining: 10:49, took 1.2s, duration: 20:08)
test 1138...[HTTP redirect with UTF-8 characters]
--pd---emv- OK (815 out of 1251, remaining: 10:47, took 1.3s, duration: 20:10)
test 1139...[Verify that all libcurl options have man pages]
-------e-- OK (816 out of 1251, remaining: 10:45, took 0.1s, duration: 20:10)
test 1140...[Verify the nroff of man pages]
-------e-- OK (817 out of 1251, remaining: 10:42, took 0.0s, duration: 20:10)
test 1141...[HTTP redirect to http:/// (three slashes!)]
--pd---emv- OK (818 out of 1251, remaining: 10:41, took 1.2s, duration: 20:11)
test 1142...[HTTP redirect to http://// (four slashes!)]
--pd---emv- OK (819 out of 1251, remaining: 10:39, took 1.2s, duration: 20:12)
test 1143...[HTTP URL with http:/ (one slash!)]
--pd---emv- OK (820 out of 1251, remaining: 10:37, took 1.2s, duration: 20:13)
test 1144...[HTTP HEAD, receive no headers only body]
--pd---emv- OK (821 out of 1251, remaining: 10:36, took 1.1s, duration: 20:14)
test 1145...[file:// bad host]
-------emv- OK (822 out of 1251, remaining: 10:34, took 1.0s, duration: 20:15)
test 1146...[--proto-default file]
---d---emv- OK (823 out of 1251, remaining: 10:32, took 1.1s, duration: 20:17)
test 1147...[Get -H headers from a file]
--pd---emv- OK (824 out of 1251, remaining: 10:31, took 1.2s, duration: 20:18)
test 1148...[progress-bar]
--pd--oemv- OK (825 out of 1251, remaining: 10:29, took 1.2s, duration: 20:19)
test 1149...[FTP dir list multicwd then again nocwd]
--pd---emv- OK (826 out of 1251, remaining: 10:28, took 1.2s, duration: 20:20)
test 1150...[HTTP proxy with URLs using different ports]
--pd---emv- OK (827 out of 1251, remaining: 10:26, took 1.2s, duration: 20:21)
test 1151...[HTTP with too long cookies]
--pd--oemv- OK (828 out of 1251, remaining: 10:24, took 1.2s, duration: 20:23)
test 1152...[FTP with uneven quote in PWD response]
--pd---emv- OK (829 out of 1251, remaining: 10:23, took 1.2s, duration: 20:24)
test 1153...[FTP with quoted double quotes]
--pd---emv- OK (830 out of 1251, remaining: 10:21, took 1.2s, duration: 20:25)
test 1154...[HTTP GET]
--p----emv- OK (831 out of 1251, remaining: 10:19, took 1.2s, duration: 20:26)
test 1155...[HTTP cookie with parameter word as name]
--pd--oemv- OK (832 out of 1251, remaining: 10:18, took 1.2s, duration: 20:27)
test 1156...[HTTP resume/range fail range-error content-range combinations]
-------emv- OK (833 out of 1251, remaining: 10:16, took 1.1s, duration: 20:28)
test 1157...[Get -H headers from empty file]
--pd---emv- OK (834 out of 1251, remaining: 10:15, took 1.2s, duration: 20:30)
test 1158...[HTTP RFC1867-type formposting with filename containing '"']
--pd---emv- OK (835 out of 1251, remaining: 10:13, took 1.2s, duration: 20:31)
test 1159...[HTTP Location: and 'redirect_url' with non-supported scheme]
s-p----emv- OK (836 out of 1251, remaining: 10:11, took 1.2s, duration: 20:32)
test 1160...[HTTP with long funny format cookie]
--pd--oemv- OK (837 out of 1251, remaining: 10:10, took 1.2s, duration: 20:33)
test 1161...[HTTP cookie with path set twice]
--pd--oemv- OK (838 out of 1251, remaining: 10:08, took 1.2s, duration: 20:34)
test 1162...[FTP wildcard with crazy pattern]
--p----emv- OK (839 out of 1251, remaining: 10:06, took 1.1s, duration: 20:36)
test 1163...[FTP wildcard with pattern ending with an open-bracket]
--p----emv- OK (840 out of 1251, remaining: 10:05, took 1.1s, duration: 20:37)
test 1164...[HTTP/0.9 GET and all zeroes]
s-p----emv- OK (841 out of 1251, remaining: 10:03, took 1.2s, duration: 20:38)
test 1165...[Verify configure.ac and source code CURL_DISABLE_-sync]
-------e-- OK (842 out of 1251, remaining: 10:01, took 0.0s, duration: 20:38)
test 1170...[HTTP GET transfer-encoding with removed Connection:]
--pd---emv- OK (843 out of 1251, remaining: 09:59, took 1.2s, duration: 20:39)
test 1171...[HTTP GET transfer-encoding with blanked Connection:]
--pd---emv- OK (844 out of 1251, remaining: 09:58, took 1.2s, duration: 20:40)
test 1172...[HTTP/0.9 GET response denied]
--p----emv- OK (845 out of 1251, remaining: 09:56, took 1.1s, duration: 20:41)
test 1173...[Basic man page syntax check]
-------e-- OK (846 out of 1251, remaining: 09:54, took 0.0s, duration: 20:41)
test 1174...[HTTP/0.9 GET response denied by default]
--p----emv- OK (847 out of 1251, remaining: 09:52, took 1.1s, duration: 20:43)
test 1200...[Gopher index]
--pd---emv- OK (848 out of 1251, remaining: 09:52, took 3.2s, duration: 20:46)
test 1201...[Gopher selector]
--pd---emv- OK (849 out of 1251, remaining: 09:50, took 1.2s, duration: 20:47)
test 1202...[Gopher query]
--pd---emv- OK (850 out of 1251, remaining: 09:49, took 1.2s, duration: 20:48)
test 1203...[Gopher IPv6 index]
--pd---emv- OK (851 out of 1251, remaining: 09:48, took 3.3s, duration: 20:51)
test 1204...[HTTP with WWW-Authenticate and multiple auths in a single line]
--pd---emv- OK (852 out of 1251, remaining: 09:46, took 1.2s, duration: 20:53)
test 1205...[HTTP GET with 18K HTTP header]
--pd---emv- OK (853 out of 1251, remaining: 09:45, took 1.2s, duration: 20:54)
test 1206...[FTP PORT and 425 on download]
--p----emv- OK (854 out of 1251, remaining: 09:43, took 1.2s, duration: 20:55)
test 1207...[FTP PORT and 421 on download]
--p----emv- OK (855 out of 1251, remaining: 09:42, took 1.2s, duration: 20:56)
test 1208...[FTP PORT download, no data conn and no transient negative reply]
--p----emv- OK (856 out of 1251, remaining: 09:41, took 3.1s, duration: 20:59)
test 1210...[HTTP GET with -J without Content-Disposition]
--p---oemv- OK (857 out of 1251, remaining: 09:39, took 1.2s, duration: 21:00)
test 1212...[noproxy setting together with socks proxy]
--pd---emv- OK (858 out of 1251, remaining: 09:38, took 1.2s, duration: 21:02)
test 1213...[HTTP with proxy and host-only URL]
--pd---emv- OK (859 out of 1251, remaining: 09:36, took 1.2s, duration: 21:03)
test 1214...[HTTP with proxy and URL with ? and no slash separator]
--pd---emv- OK (860 out of 1251, remaining: 09:34, took 1.2s, duration: 21:04)
test 1215...[HTTP with server NTLM authorization using a proxy]
--pd---emv- OK (861 out of 1251, remaining: 09:33, took 1.3s, duration: 21:05)
test 1216...[HTTP cookie domains tailmatching the host name]
--pd---emv- OK (862 out of 1251, remaining: 09:31, took 1.2s, duration: 21:07)
test 1217...[FTP with rubbish before name in 257-response]
--pd---emv- OK (863 out of 1251, remaining: 09:30, took 1.3s, duration: 21:08)
test 1218...[HTTP cookies and domains with same prefix]
--pd---emv- OK (864 out of 1251, remaining: 09:28, took 1.3s, duration: 21:09)
test 1219...[FTP with no user+password required (230 response)]
--pd---emv- OK (865 out of 1251, remaining: 09:27, took 1.2s, duration: 21:10)
test 1220...[file:// URLs with query string]
s------emv- OK (866 out of 1251, remaining: 09:25, took 1.1s, duration: 21:11)
test 1221...[10 chars object name generation testing]
------oe-- OK (867 out of 1251, remaining: 09:23, took 0.4s, duration: 21:12)
test 1222...[8 chars object name generation testing]
------oe-- OK (868 out of 1251, remaining: 09:21, took 0.4s, duration: 21:12)
test 1223...[HTTP GET -w remote_ip and -w remote_port]
s-p----emv- OK (869 out of 1251, remaining: 09:19, took 1.2s, duration: 21:13)
test 1224...[FTP fetch a file from the root directory]
--pd---emv- OK (870 out of 1251, remaining: 09:18, took 1.2s, duration: 21:15)
test 1225...[FTP fetch two files using absolute paths]
--pd---emv- OK (871 out of 1251, remaining: 09:16, took 1.2s, duration: 21:16)
test 1226...[FTP fetch a file from the root directory with singlecwd]
--pd---emv- OK (872 out of 1251, remaining: 09:15, took 1.2s, duration: 21:17)
test 1227...[FTP fetch a file from the root directory with nocwd]
--pd---emv- OK (873 out of 1251, remaining: 09:13, took 1.2s, duration: 21:18)
test 1228...[HTTP cookie path match]
--pd---emv- OK (874 out of 1251, remaining: 09:12, took 1.3s, duration: 21:19)
test 1229...[HTTP with Digest authorization with user name needing escape]
--pd---emv- OK (875 out of 1251, remaining: 09:10, took 1.2s, duration: 21:21)
test 1230...[HTTP CONNECT to IPv6 numerical address]
--pd---emv- OK (876 out of 1251, remaining: 09:08, took 1.2s, duration: 21:22)
test 1231...[HTTP URL with dotdot removal from path]
--pd---emv- OK (877 out of 1251, remaining: 09:07, took 1.2s, duration: 21:23)
test 1232...[HTTP URL with dotdot removal from path using an HTTP proxy]
--pd---emv- OK (878 out of 1251, remaining: 09:05, took 1.2s, duration: 21:24)
test 1233...[FTP failing to connect to EPSV port, switching to PASV]
--pd---emv- OK (879 out of 1251, remaining: 09:04, took 1.2s, duration: 21:26)
test 1234...[abusing {}-globbing]
-------emv- OK (880 out of 1251, remaining: 09:02, took 0.9s, duration: 21:26)
test 1235...[multiple requests using {}{} in the URL]
s-p----emv- OK (881 out of 1251, remaining: 09:01, took 1.2s, duration: 21:28)
test 1236...[[] globbing overflowing the range counter]
-------emv- OK (882 out of 1251, remaining: 08:59, took 0.9s, duration: 21:29)
test 1237...[URL with 1000+ letter user name + password]
--pd---emv- OK (883 out of 1251, remaining: 08:57, took 1.2s, duration: 21:30)
test 1238...[slow TFTP retrieve cancel due to -Y and -y]
--p----emv- OK (884 out of 1251, remaining: 08:57, took 5.1s, duration: 21:35)
test 1239...[HTTP with -z + -w response_code and simulated 304]
s-p----emv- OK (885 out of 1251, remaining: 08:56, took 1.2s, duration: 21:36)
test 1240...[glob [0-1] with stuff after range (7.33.0 regression)]
--pd---emv- OK (886 out of 1251, remaining: 08:54, took 1.2s, duration: 21:37)
test 1241...[HTTP _without_ dotdot removal]
--pd---emv- OK (887 out of 1251, remaining: 08:53, took 1.2s, duration: 21:38)
test 1242...[TFTP retrieve without TFTP options requests]
--pd---emv- OK (888 out of 1251, remaining: 08:51, took 1.1s, duration: 21:40)
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:50, took 3.2s, duration: 21:43)
test 1244...[HTTP GET same URL - different proxy ports]
--pd---emv- OK (890 out of 1251, remaining: 08:49, took 1.2s, duration: 21:44)
test 1245...[--proto deny must override --proto-redir allow]
--pd---emv- OK (891 out of 1251, remaining: 08:47, took 1.2s, duration: 21:45)
test 1246...[URL with '#' at end of host name instead of '/']
--pd---emv- OK (892 out of 1251, remaining: 08:45, took 1.2s, duration: 21:46)
test 1247...[--fail-early]
-------emv- OK (893 out of 1251, remaining: 08:44, took 1.1s, duration: 21:47)
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:42, took 1.2s, duration: 21:49)
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:41, took 1.2s, duration: 21:50)
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:39, took 1.2s, duration: 21:51)
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:38, took 1.2s, duration: 21:52)
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:36, took 1.2s, duration: 21:53)
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:34, took 1.2s, duration: 21:55)
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:33, took 1.2s, duration: 21:56)
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:31, took 1.2s, duration: 21:57)
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:30, took 1.2s, duration: 21:58)
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:28, took 1.2s, duration: 21:59)
test 1258...[HTTP, use cookies with localhost]
--pd---emv- OK (904 out of 1251, remaining: 08:27, took 1.2s, duration: 22:00)
test 1259...[HTTP URL with semicolon in password]
--pd---emv- OK (905 out of 1251, remaining: 08:25, took 1.2s, duration: 22:02)
test 1260...[HTTP URL with rubbish after port number]
-------emv- OK (906 out of 1251, remaining: 08:23, took 1.1s, duration: 22:03)
test 1261...['redirect_url' with --location and --max-redir]
s-p----emv- OK (907 out of 1251, remaining: 08:22, took 1.2s, duration: 22:04)
test 1262...[FTP request and denied to download an older file with -z]
--p----emv- OK (908 out of 1251, remaining: 08:20, took 1.2s, duration: 22:05)
test 1263...[HTTP URL with rubbish after IPv6 bracket]
-------emv- OK (909 out of 1251, remaining: 08:19, took 1.1s, duration: 22:06)
test 1264...[HTTP URL with space in host name]
-------emv- OK (910 out of 1251, remaining: 08:17, took 1.0s, duration: 22:07)
test 1265...[NO_PROXY with IPv6 numerical address]
--pd---emv- OK (911 out of 1251, remaining: 08:15, took 1.2s, duration: 22:08)
test 1266...[HTTP GET with a single-byte HTTP/0.9 response]
--pd---emv- OK (912 out of 1251, remaining: 08:14, took 1.2s, duration: 22:10)
test 1267...[HTTP GET with a invalid HTTP/1 response line start]
--pd---emv- OK (913 out of 1251, remaining: 08:12, took 1.2s, duration: 22:11)
test 1268...[file name argument looks like a flag]
------oemv- OK (914 out of 1251, remaining: 08:11, took 1.1s, duration: 22:12)
test 1269...[too large --retry-delay value]
-------emv- OK (915 out of 1251, remaining: 08:09, took 0.9s, duration: 22:13)
test 1280...[simple [a-d] globbing]
--pd---emv- OK (916 out of 1251, remaining: 08:08, took 1.2s, duration: 22:14)
test 1281...[reject non-numerical port number in URL]
-------emv- OK (917 out of 1251, remaining: 08:06, took 1.0s, duration: 22:15)
test 1282...[FTP with 633 response before gss initialized]
--p----emv- OK (918 out of 1251, remaining: 08:04, took 1.1s, duration: 22:16)
test 1283...[globbing range with same start and stop]
--p---oemv- OK (919 out of 1251, remaining: 08:03, took 1.2s, duration: 22:17)
test 1284...[HTTP POST --digest with user-specified Content-Length header]
--pd---emv- OK (920 out of 1251, remaining: 08:01, took 1.3s, duration: 22:19)
test 1285...[HTTP PUT --digest with user-specified Content-Length header]
--pd---emv- OK (921 out of 1251, remaining: 08:00, took 2.2s, duration: 22:21)
test 1286...[HTTP GET --digest increasing nonce-count]
--pd---emv- OK (922 out of 1251, remaining: 07:59, took 1.2s, duration: 22:22)
test 1287...[HTTP over proxy-tunnel ignore TE and CL in CONNECT 2xx responses]
--pd-Poemv- OK (923 out of 1251, remaining: 07:57, took 1.7s, duration: 22:24)
test 1288...[Suppress proxy CONNECT response headers]
s-p--P-emv- OK (924 out of 1251, remaining: 07:56, took 1.7s, duration: 22:25)
test 1289...[globbing with overflow and bad syntxx]
-------emv- OK (925 out of 1251, remaining: 07:54, took 0.9s, duration: 22:26)
test 1290...[Verify URL globbing ignores []]
--pd---emv- OK (926 out of 1251, remaining: 07:53, took 1.2s, duration: 22:28)
test 1291...[Attempt to upload 1000 files but fail immediately]
-------emv- OK (927 out of 1251, remaining: 07:55, took 13.7s, duration: 22:41)
test 1292...[Replaced internal headers with a blank one]
--pd---emv- OK (928 out of 1251, remaining: 07:54, took 1.2s, duration: 22:42)
test 1298...[HTTP GET special path with --request-target]
--pd---emv- OK (929 out of 1251, remaining: 07:52, took 1.2s, duration: 22:44)
test 1299...[Send "OPTIONS *" with --request-target]
--pd---emv- OK (930 out of 1251, remaining: 07:51, took 1.2s, duration: 22:45)
test 1300...[llist unit tests]
-------emv- OK (931 out of 1251, remaining: 07:49, took 0.8s, duration: 22:46)
test 1301...[curl_strcasecompare unit tests]
-------emv- OK (932 out of 1251, remaining: 07:47, took 0.8s, duration: 22:46)
test 1302...[base64 encode/decode unit tests]
-------emv- OK (933 out of 1251, remaining: 07:46, took 0.9s, duration: 22:47)
test 1303...[Curl_timeleft unit tests]
-------emv- OK (934 out of 1251, remaining: 07:44, took 0.9s, duration: 22:48)
test 1304...[netrc parsing unit tests]
-------emv- OK (935 out of 1251, remaining: 07:42, took 0.8s, duration: 22:49)
test 1305...[internal hash create/destroy testing]
-------emv- OK (936 out of 1251, remaining: 07:41, took 0.9s, duration: 22:50)
test 1306...[internal hash create/add/destroy testing]
-------emv- OK (937 out of 1251, remaining: 07:39, took 0.9s, duration: 22:51)
test 1308...[formpost unit tests]
-------emv- OK (938 out of 1251, remaining: 07:37, took 0.9s, duration: 22:52)
test 1309...[splay unit tests]
s------emv- OK (939 out of 1251, remaining: 07:36, took 0.9s, duration: 22:52)
test 1310...[HTTP with NTLM delegation to winbind helper]
--pd---emv- OK (940 out of 1251, remaining: 07:34, took 1.2s, duration: 22:54)
test 1311...[HTTP GET with -J and Content-Disposition]
--p---oemv- OK (941 out of 1251, remaining: 07:33, took 1.2s, duration: 22:55)
test 1312...[HTTP GET with -J, Content-Disposition and ; in filename]
--p---oemv- OK (942 out of 1251, remaining: 07:31, took 1.2s, duration: 22:56)
test 1313...[HTTP GET with -J, Content-Disposition, uneven quotes]
--p---oemv- OK (943 out of 1251, remaining: 07:29, took 1.2s, duration: 22:57)
test 1314...[HTTP Location: following a // prefixed url]
--pd---emv- OK (944 out of 1251, remaining: 07:28, took 1.2s, duration: 22:58)
test 1315...[HTTP RFC1867-type formposting - -F with three files, one with explicit type]
--pd---emv- OK (945 out of 1251, remaining: 07:26, took 1.2s, duration: 23:00)
test 1317...[HTTP with --resolve]
--pd---emv- OK (946 out of 1251, remaining: 07:25, took 1.2s, duration: 23:01)
test 1318...[HTTP with --resolve and same host name using different cases]
--pd---emv- OK (947 out of 1251, remaining: 07:23, took 1.2s, duration: 23:02)
test 1319...[POP3 fetch tunneled through HTTP proxy]
--pd-P-emv- OK (948 out of 1251, remaining: 07:22, took 1.7s, duration: 23:04)
test 1320...[SMTP send tunneled through HTTP proxy]
--p-uP-emv- OK (949 out of 1251, remaining: 07:21, took 1.7s, duration: 23:05)
test 1321...[IMAP FETCH tunneled through HTTP proxy]
--pd-P-emv- OK (950 out of 1251, remaining: 07:19, took 1.7s, duration: 23:07)
test 1322...[HTTP with --resolve and hostname with trailing dot]
--pd---emv- OK (951 out of 1251, remaining: 07:18, took 1.2s, duration: 23:08)
test 1323...[curlx_tvdiff]
-------emv- OK (952 out of 1251, remaining: 07:16, took 0.8s, duration: 23:09)
test 1324...[HTTP with --resolve and [ipv6address]]
--pd---emv- OK (953 out of 1251, remaining: 07:14, took 1.2s, duration: 23:10)
test 1325...[HTTP 308-redirect with POST]
--pd---emv- OK (954 out of 1251, remaining: 07:13, took 1.3s, duration: 23:11)
test 1326...[TELNET to HTTP server]
--pd---emv- OK (955 out of 1251, remaining: 07:11, took 1.3s, duration: 23:13)
test 1327...[TELNET check of upload with stdout redirected]
--p----emv- OK (956 out of 1251, remaining: 07:10, took 1.3s, duration: 23:14)
test 1328...[HTTP GET a globbed range with -f]
--pd---emv- OK (957 out of 1251, remaining: 07:08, took 1.2s, duration: 23:15)
test 1329...[/-prefixed proxy name]
-------emv- OK (958 out of 1251, remaining: 07:07, took 1.1s, duration: 23:16)
test 1330...[unit tests memory tracking operational]
------oemv- OK (959 out of 1251, remaining: 07:05, took 0.8s, duration: 23:17)
test 1331...[HTTP --proxy-anyauth and 407 with cookies]
--pd---emv- OK (960 out of 1251, remaining: 07:04, took 1.3s, duration: 23:18)
test 1332...[HTTP POST with 303 redirect and --post303]
--pd---emv- OK (961 out of 1251, remaining: 07:02, took 1.3s, duration: 23:20)
test 1333...[HTTP POST zero length, chunked-encoded]
--pd---emv- OK (962 out of 1251, remaining: 07:00, took 1.2s, duration: 23:21)
test 1334...[HTTP GET with -O without Content-Disposition, -D file]
--p---oemv- OK (963 out of 1251, remaining: 06:59, took 1.2s, duration: 23:22)
test 1335...[HTTP GET with -O without Content-Disposition, -D stdout]
--p---oemv- OK (964 out of 1251, remaining: 06:57, took 1.2s, duration: 23:23)
test 1336...[HTTP GET with -O and Content-Disposition, -D file]
--p---oemv- OK (965 out of 1251, remaining: 06:56, took 1.2s, duration: 23:24)
test 1337...[HTTP GET with -O and Content-Disposition, -D stdout]
--p---oemv- OK (966 out of 1251, remaining: 06:54, took 1.2s, duration: 23:26)
test 1338...[HTTP GET with -O -J without Content-Disposition, -D file]
--p---oemv- OK (967 out of 1251, remaining: 06:53, took 1.2s, duration: 23:27)
test 1339...[HTTP GET with -O -J without Content-Disposition, -D stdout]
--p---oemv- OK (968 out of 1251, remaining: 06:51, took 1.2s, duration: 23:28)
test 1340...[HTTP GET with -O -J and Content-Disposition, -D file]
--p---oemv- OK (969 out of 1251, remaining: 06:50, took 1.2s, duration: 23:29)
test 1341...[HTTP GET with -O -J and Content-Disposition, -D stdout]
--p---oemv- OK (970 out of 1251, remaining: 06:48, took 1.2s, duration: 23:30)
test 1342...[HTTP GET with -O -i without Content-Disposition, -D file]
--p---oemv- OK (971 out of 1251, remaining: 06:47, took 1.2s, duration: 23:31)
test 1343...[HTTP GET with -O -i without Content-Disposition, -D stdout]
--p---oemv- OK (972 out of 1251, remaining: 06:45, took 1.2s, duration: 23:33)
test 1344...[HTTP GET with -O -i and Content-Disposition, -D file]
--p---oemv- OK (973 out of 1251, remaining: 06:44, took 1.2s, duration: 23:34)
test 1345...[HTTP GET with -O -i and Content-Disposition, -D stdout]
--p---oemv- OK (974 out of 1251, remaining: 06:42, took 1.2s, duration: 23:35)
test 1346...[HTTP GET with -O -i without Content-Disposition, without -D]
--p---oemv- OK (975 out of 1251, remaining: 06:40, took 1.2s, duration: 23:36)
test 1347...[HTTP GET with -O -i and Content-Disposition, without -D]
--p---oemv- OK (976 out of 1251, remaining: 06:39, took 1.2s, duration: 23:37)
test 1348...[FTP download, file without Content-Disposition inside, using -O]
--p---oemv- OK (977 out of 1251, remaining: 06:37, took 1.2s, duration: 23:38)
test 1349...[FTP download, file without C-D inside, using -O -D file]
--p---oemv- OK (978 out of 1251, remaining: 06:36, took 1.2s, duration: 23:40)
test 1350...[FTP download, file without C-D inside, using -O -D stdout]
--p---oemv- OK (979 out of 1251, remaining: 06:34, took 1.2s, duration: 23:41)
test 1351...[FTP download, file without C-D inside, using -O -J -D file]
--p---oemv- OK (980 out of 1251, remaining: 06:33, took 1.2s, duration: 23:42)
test 1352...[FTP download, file without C-D inside, using -O -J -D stdout]
--p---oemv- OK (981 out of 1251, remaining: 06:31, took 1.2s, duration: 23:43)
test 1353...[FTP download, file without C-D inside, using -O -i -D file]
--p---oemv- OK (982 out of 1251, remaining: 06:30, took 1.2s, duration: 23:44)
test 1354...[FTP download, file without C-D inside, using -O -i -D stdout]
--p---oemv- OK (983 out of 1251, remaining: 06:28, took 1.2s, duration: 23:46)
test 1355...[FTP download, file without C-D inside, using -O -i, without -D]
--p---oemv- OK (984 out of 1251, remaining: 06:27, took 1.2s, duration: 23:47)
test 1356...[FTP download, file with Content-Disposition inside, using -O]
--p---oemv- OK (985 out of 1251, remaining: 06:25, took 1.2s, duration: 23:48)
test 1357...[FTP download, file with C-D inside, using -O -D file]
--p---oemv- OK (986 out of 1251, remaining: 06:24, took 1.2s, duration: 23:49)
test 1358...[FTP download, file with C-D inside, using -O -D stdout]
--p---oemv- OK (987 out of 1251, remaining: 06:22, took 1.2s, duration: 23:50)
test 1359...[FTP download, file with C-D inside, using -O -J -D file]
--p---oemv- OK (988 out of 1251, remaining: 06:21, took 1.2s, duration: 23:52)
test 1360...[FTP download, file with C-D inside, using -O -J -D stdout]
--p---oemv- OK (989 out of 1251, remaining: 06:19, took 1.2s, duration: 23:53)
test 1361...[FTP download, file with C-D inside, using -O -i -D file]
--p---oemv- OK (990 out of 1251, remaining: 06:18, took 1.2s, duration: 23:54)
test 1362...[FTP download, file with C-D inside, using -O -i -D stdout]
--p---oemv- OK (991 out of 1251, remaining: 06:16, took 1.2s, duration: 23:55)
test 1363...[FTP download, file with C-D inside, using -O -i, without -D]
--p---oemv- OK (992 out of 1251, remaining: 06:15, took 1.2s, duration: 23:56)
test 1364...[HTTP GET -o fname without Content-Disposition, -D file]
--p---oemv- OK (993 out of 1251, remaining: 06:13, took 1.2s, duration: 23:58)
test 1365...[HTTP GET -o fname without Content-Disposition, -D stdout]
--p---oemv- OK (994 out of 1251, remaining: 06:12, took 1.2s, duration: 23:59)
test 1366...[HTTP GET -o fname and Content-Disposition, -D file]
--p---oemv- OK (995 out of 1251, remaining: 06:10, took 1.2s, duration: 24:00)
test 1367...[HTTP GET -o fname and Content-Disposition, -D stdout]
--p---oemv- OK (996 out of 1251, remaining: 06:09, took 1.2s, duration: 24:01)
test 1368...[HTTP GET -o fname -J without Content-Disposition, -D file]
--p---oemv- OK (997 out of 1251, remaining: 06:07, took 1.2s, duration: 24:02)
test 1369...[HTTP GET -o fname -J without Content-Disposition, -D stdout]
--p---oemv- OK (998 out of 1251, remaining: 06:06, took 1.2s, duration: 24:04)
test 1370...[HTTP GET -o fname -J and Content-Disposition, -D file]
--p---oemv- OK (999 out of 1251, remaining: 06:04, took 1.2s, duration: 24:05)
test 1371...[HTTP GET -o fname -J and Content-Disposition, -D stdout]
--p---oemv- OK (1000 out of 1251, remaining: 06:03, took 1.2s, duration: 24:06)
test 1372...[HTTP GET -o fname -i without Content-Disposition, -D file]
--p---oemv- OK (1001 out of 1251, remaining: 06:01, took 1.2s, duration: 24:07)
test 1373...[HTTP GET -o fname -i without Content-Disposition, -D stdout]
--p---oemv- OK (1002 out of 1251, remaining: 06:00, took 1.2s, duration: 24:08)
test 1374...[HTTP GET -o fname -i and Content-Disposition, -D file]
--p---oemv- OK (1003 out of 1251, remaining: 05:58, took 1.2s, duration: 24:09)
test 1375...[HTTP GET -o fname -i and Content-Disposition, -D stdout]
--p---oemv- OK (1004 out of 1251, remaining: 05:56, took 1.2s, duration: 24:11)
test 1376...[HTTP GET -o fname -i without Content-Disposition, without -D]
--p---oemv- OK (1005 out of 1251, remaining: 05:55, took 1.2s, duration: 24:12)
test 1377...[HTTP GET -o fname -i and Content-Disposition, without -D]
--p---oemv- OK (1006 out of 1251, remaining: 05:53, took 1.2s, duration: 24:13)
test 1378...[FTP DL, file without Content-Disposition inside, using -o fname]
--p---oemv- OK (1007 out of 1251, remaining: 05:52, took 1.2s, duration: 24:14)
test 1379...[FTP DL, file without C-D inside, using -o fname -D file]
--p---oemv- OK (1008 out of 1251, remaining: 05:50, took 1.2s, duration: 24:15)
test 1380...[FTP DL, file without C-D inside, using -o fname -D stdout]
--p---oemv- OK (1009 out of 1251, remaining: 05:49, took 1.2s, duration: 24:16)
test 1381...[FTP DL, file without C-D inside, using -o fname -J -D file]
--p---oemv- OK (1010 out of 1251, remaining: 05:47, took 1.2s, duration: 24:18)
test 1382...[FTP DL, file without C-D inside, using -o fname -J -D stdout]
--p---oemv- OK (1011 out of 1251, remaining: 05:46, took 1.2s, duration: 24:19)
test 1383...[FTP DL, file without C-D inside, using -o fname -i -D file]
--p---oemv- OK (1012 out of 1251, remaining: 05:44, took 1.2s, duration: 24:20)
test 1384...[FTP DL, file without C-D inside, using -o fname -i -D stdout]
--p---oemv- OK (1013 out of 1251, remaining: 05:43, took 1.2s, duration: 24:21)
test 1385...[FTP DL, file without C-D inside, using -o fname -i, without -D]
--p---oemv- OK (1014 out of 1251, remaining: 05:41, took 1.2s, duration: 24:22)
test 1386...[FTP DL, file with Content-Disposition inside, using -o fname]
--p---oemv- OK (1015 out of 1251, remaining: 05:40, took 1.2s, duration: 24:24)
test 1387...[FTP DL, file with C-D inside, using -o fname -D file]
--p---oemv- OK (1016 out of 1251, remaining: 05:38, took 1.2s, duration: 24:25)
test 1388...[FTP DL, file with C-D inside, using -o fname -D stdout]
--p---oemv- OK (1017 out of 1251, remaining: 05:37, took 1.2s, duration: 24:26)
test 1389...[FTP DL, file with C-D inside, using -o fname -J -D file]
--p---oemv- OK (1018 out of 1251, remaining: 05:35, took 1.2s, duration: 24:27)
test 1390...[FTP DL, file with C-D inside, using -o fname -J -D stdout]
--p---oemv- OK (1019 out of 1251, remaining: 05:34, took 1.2s, duration: 24:28)
test 1391...[FTP DL, file with C-D inside, using -o fname -i -D file]
--p---oemv- OK (1020 out of 1251, remaining: 05:32, took 1.2s, duration: 24:30)
test 1392...[FTP DL, file with C-D inside, using -o fname -i -D stdout]
--p---oemv- OK (1021 out of 1251, remaining: 05:31, took 1.2s, duration: 24:31)
test 1393...[FTP DL, file with C-D inside, using -o fname -i, without -D]
--p---oemv- OK (1022 out of 1251, remaining: 05:29, took 1.2s, duration: 24:32)
test 1394...[unit test for parse_cert_parameter()]
-------emv- OK (1023 out of 1251, remaining: 05:28, took 0.8s, duration: 24:33)
test 1395...[Curl_dedotdotify]
-------emv- OK (1024 out of 1251, remaining: 05:26, took 0.8s, duration: 24:34)
test 1396...[curl_easy_escape and curl_easy_unescape]
-------emv- OK (1025 out of 1251, remaining: 05:25, took 0.9s, duration: 24:35)
test 1397...[Check wildcard certificate matching function Curl_cert_hostcheck]
-------emv- OK (1026 out of 1251, remaining: 05:23, took 0.8s, duration: 24:35)
test 1398...[curl_msnprintf unit tests]
-------emv- OK (1027 out of 1251, remaining: 05:22, took 0.8s, duration: 24:36)
test 1399...[Curl_pgrsTime unit tests]
-------emv- OK (1028 out of 1251, remaining: 05:20, took 0.8s, duration: 24:37)
test 1400...[--libcurl for simple HTTP GET]
--pd--oemv- OK (1029 out of 1251, remaining: 05:19, took 1.2s, duration: 24:38)
test 1401...[--libcurl for GET with various options]
--pd--oemv- OK (1030 out of 1251, remaining: 05:17, took 1.2s, duration: 24:40)
test 1402...[--libcurl for simple POST]
--pd--oemv- OK (1031 out of 1251, remaining: 05:16, took 1.2s, duration: 24:41)
test 1403...[--libcurl for GET with query]
--pd--oemv- OK (1032 out of 1251, remaining: 05:14, took 1.2s, duration: 24:42)
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:13, took 1.3s, duration: 24:43)
test 1405...[--libcurl for FTP with quote ops]
--pd--oemv- OK (1034 out of 1251, remaining: 05:11, took 1.2s, duration: 24:44)
test 1406...[--libcurl for SMTP]
--p-u-oemv- OK (1035 out of 1251, remaining: 05:10, took 1.2s, duration: 24:46)
test 1407...[--libcurl for POP3 LIST one message]
--p---oemv- OK (1036 out of 1251, remaining: 05:08, took 1.2s, duration: 24:47)
test 1408...[HTTP receive cookies over IPV6]
--p----emv- OK (1037 out of 1251, remaining: 05:07, took 1.2s, duration: 24:48)
test 1409...[Pass in string to -C]
-------emv- OK (1038 out of 1251, remaining: 05:05, took 0.9s, duration: 24:49)
test 1410...[Pass in negative number to --max-time]
-------emv- OK (1039 out of 1251, remaining: 05:04, took 0.9s, duration: 24:50)
test 1411...[HTTP with zero size file PUT]
--pd---emv- OK (1040 out of 1251, remaining: 05:02, took 1.2s, duration: 24:51)
test 1412...[HTTP GET with --anyauth with two URLs (picking Digest) ]
--pd---emv- OK (1041 out of 1251, remaining: 05:01, took 1.3s, duration: 24:52)
test 1413...[HTTP redirect with fragment in new URL]
--pd---emv- OK (1042 out of 1251, remaining: 04:59, took 1.3s, duration: 24:54)
test 1414...[FTP PORT without SIZE or EPRT support]
--pd---emv- OK (1043 out of 1251, remaining: 04:58, took 1.2s, duration: 24:55)
test 1415...[Delete expired cookies]
--pd--oemv- OK (1044 out of 1251, remaining: 04:56, took 1.2s, duration: 24:56)
test 1416...[HTTP GET with chunked Transfer-Encoding overflowed chunked size]
--p----emv- OK (1045 out of 1251, remaining: 04:55, took 1.2s, duration: 24:57)
test 1417...[HTTP GET with chunked encoding and chunked trailer without CRs]
--pd--oemv- OK (1046 out of 1251, remaining: 04:53, took 1.2s, duration: 24:58)
test 1418...[HTTP with --anyauth and connection re-use]
--pd---emv- OK (1047 out of 1251, remaining: 04:52, took 1.3s, duration: 25:00)
test 1419...[HTTP with --anyauth (but no auth!) and connection re-use]
--pd---emv- OK (1048 out of 1251, remaining: 04:50, took 1.2s, duration: 25:01)
test 1420...[--libcurl for IMAP FETCH message]
--pd--oemv- OK (1049 out of 1251, remaining: 04:49, took 1.2s, duration: 25:02)
test 1421...[Re-using HTTP proxy connection for two different host names]
s-p----emv- OK (1050 out of 1251, remaining: 04:47, took 1.2s, duration: 25:03)
test 1422...[HTTP GET with -O -J and Content-Disposition (empty file)]
--p---oemv- OK (1051 out of 1251, remaining: 04:46, took 1.2s, duration: 25:04)
test 1423...[HTTP GET -o fname without Content-Disposition (empty file)]
--p---oemv- OK (1052 out of 1251, remaining: 04:44, took 1.2s, duration: 25:06)
test 1424...[HTTP GET -o fname without Content-Disposition (unmet time condition)]
--p---oemv- OK (1053 out of 1251, remaining: 04:43, took 1.2s, duration: 25:07)
test 1425...[Refuse binary output to terminal]
s-p----emv- OK (1054 out of 1251, remaining: 04:41, took 1.2s, duration: 25:08)
test 1426...[Okay binary output to terminal]
s-p----emv- OK (1055 out of 1251, remaining: 04:40, took 1.2s, duration: 25:09)
test 1427...[too large -m timeout value]
-------emv- OK (1056 out of 1251, remaining: 04:38, took 0.9s, duration: 25:10)
test 1428...[HTTP over proxy-tunnel with --proxy-header and --header]
--pd-P-emv- OK (1057 out of 1251, remaining: 04:37, took 1.7s, duration: 25:12)
test 1429...[HTTP GET with 4-digit response code]
s-p----emv- OK (1058 out of 1251, remaining: 04:36, took 1.2s, duration: 25:13)
test 1430...[HTTP GET with negative response code]
--pd---emv- OK (1059 out of 1251, remaining: 04:34, took 1.2s, duration: 25:14)
test 1431...[HTTP GET with single-digit response code]
--pd---emv- OK (1060 out of 1251, remaining: 04:33, took 1.2s, duration: 25:15)
test 1432...[HTTP GET with 100-digit response code and survive]
--p----emv- OK (1061 out of 1251, remaining: 04:31, took 1.2s, duration: 25:16)
test 1433...[HTTP GET with 100-digit subversion number in response]
--p----emv- OK (1062 out of 1251, remaining: 04:30, took 1.2s, duration: 25:17)
test 1434...[HTTP GET resume at exactly the existing file size is fine]
--pd---emv- OK (1063 out of 1251, remaining: 04:28, took 1.2s, duration: 25:19)
test 1435...[simple HTTP GET over Unix socket]
--pd---emv- OK (1064 out of 1251, remaining: 04:27, took 3.2s, duration: 25:22)
test 1436...[HTTP requests with multiple connections over Unix socket]
s-p----emv- OK (1065 out of 1251, remaining: 04:26, took 1.2s, duration: 25:23)
test 1437...[HTTP with duplicated WWW-Authenticate parameters]
--pd---emv- OK (1066 out of 1251, remaining: 04:24, took 1.2s, duration: 25:24)
test 1438...[Check if %{scheme} returns HTTP]
s-p----emv- OK (1067 out of 1251, remaining: 04:23, took 1.2s, duration: 25:26)
test 1439...[Check if %{scheme} returns HTTP]
s-p----emv- OK (1068 out of 1251, remaining: 04:21, took 1.2s, duration: 25:27)
test 1440...[Check --write-out with trailing %{]
s------emv- OK (1069 out of 1251, remaining: 04:20, took 1.1s, duration: 25:28)
test 1441...[Check --write-out with trailing %]
s------emv- OK (1070 out of 1251, remaining: 04:18, took 1.1s, duration: 25:29)
test 1442...[Check --write-out with trailing \]
s------emv- OK (1071 out of 1251, remaining: 04:17, took 1.1s, duration: 25:30)
test 1443...[HTTP GET with -O and --remote-time]
--p---oemv- OK (1072 out of 1251, remaining: 04:15, took 1.2s, duration: 25:31)
test 1444...[FTP with --remote-time]
--pd---emv- OK (1073 out of 1251, remaining: 04:14, took 1.2s, duration: 25:32)
test 1445...[file:// with --remote-time]
-------emv- OK (1074 out of 1251, remaining: 04:12, took 1.1s, duration: 25:33)
test 1447...[Provide illegal proxy name ]
-------emv- OK (1076 out of 1251, remaining: 04:09, took 1.1s, duration: 25:34)
test 1448...[Redirect following to UTF-8 IDN host name]
s-p----emv- OK (1077 out of 1251, remaining: 04:08, took 1.2s, duration: 25:36)
test 1449...[FTP download range with integer overflow]
Killed
--p----emv- OK (1078 out of 1251, remaining: 04:06, took 1.2s, duration: 25:37)
test 1450...[Basic DICT lookup]
-------emv- OK (1079 out of 1251, remaining: 04:05, took 3.1s, duration: 25:40)
test 1451...[Basic SMB request]
-------emv- OK (1080 out of 1251, remaining: 04:04, took 3.2s, duration: 25:43)
test 1452...[Basic TELNET negotiation]
-------emv- OK (1081 out of 1251, remaining: 04:03, took 3.1s, duration: 25:46)
test 1453...[Too long tftp filename]
-------emv- OK (1082 out of 1251, remaining: 04:01, took 1.1s, duration: 25:47)
test 1454 SKIPPED: curl has ipv6 support
test 1455...[HTTP GET when PROXY Protocol enabled]
--p----emv- OK (1084 out of 1251, remaining: 03:58, took 1.2s, duration: 25:49)
test 1456...[HTTP-IPv6 GET with PROXY protocol]
--p----emv- OK (1085 out of 1251, remaining: 03:57, took 1.2s, duration: 25:50)
test 1457...[Check if %{stderr} and %{stdout} switch between stdout and stderr.]
srp----emv- OK (1086 out of 1251, remaining: 03:55, took 1.2s, duration: 25:51)
test 1458...[HTTP with wildcard --resolve]
--pd---emv- OK (1087 out of 1251, remaining: 03:54, took 1.2s, duration: 25:52)
test 1500...[curl_multi_wait]
---d---emv- OK (1088 out of 1251, remaining: 03:52, took 1.0s, duration: 25:53)
test 1501...[FTP with multi interface and slow LIST response ]
--p----emv- OK (1089 out of 1251, remaining: 03:51, took 5.1s, duration: 25:58)
test 1502...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence UA]
--pd---emv- OK (1090 out of 1251, remaining: 03:50, took 1.0s, duration: 25:59)
test 1503...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence PA]
--pd---emv- OK (1091 out of 1251, remaining: 03:48, took 1.0s, duration: 26:00)
test 1504...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence UB]
--pd---emv- OK (1092 out of 1251, remaining: 03:47, took 1.0s, duration: 26:01)
test 1505...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence PB]
--pd---emv- OK (1093 out of 1251, remaining: 03:45, took 1.0s, duration: 26:02)
test 1506...[HTTP GET connection cache limit (CURLMOPT_MAXCONNECTS)]
--p---oemv- OK (1094 out of 1251, remaining: 03:44, took 1.1s, duration: 26:04)
test 1507...[SMTP with multi interface and CURLE_ABORTED_BY_CALLBACK]
--p----emv- OK (1095 out of 1251, remaining: 03:42, took 1.0s, duration: 26:05)
test 1508...[Close a multi handle without using it]
------oemv- OK (1096 out of 1251, remaining: 03:41, took 0.9s, duration: 26:05)
test 1509...[simple multi http:// through proxytunnel with authentication info]
--pd-P-emv- OK (1097 out of 1251, remaining: 03:40, took 1.6s, duration: 26:07)
test 1511...[HTTP GET time conditions in repeated requests]
---d---emv- OK (1098 out of 1251, remaining: 03:38, took 1.1s, duration: 26:08)
test 1513...[return failure immediately from progress callback]
s------emv- OK (1099 out of 1251, remaining: 03:37, took 1.0s, duration: 26:09)
test 1514...[HTTP POST with read callback and unknown data size]
--p----emv- OK (1100 out of 1251, remaining: 03:35, took 2.1s, duration: 26:11)
test 1515...[caching of manual libcurl DNS entries after DNS cache timeout]
---d---emv- OK (1101 out of 1251, remaining: 03:34, took 3.1s, duration: 26:14)
test 1516...[caching of manual libcurl DNS entries after dead connection]
-------emv- OK (1102 out of 1251, remaining: 03:33, took 3.1s, duration: 26:17)
test 1517...[HTTP POST, server responds before completed send]
--pd---emv- OK (1103 out of 1251, remaining: 03:31, took 1.1s, duration: 26:18)
test 1518...[Extract Location: with broken URL]
s------emv- OK (1104 out of 1251, remaining: 03:30, took 1.0s, duration: 26:19)
test 1519...[Extract Location: with broken absolute URL]
s------emv- OK (1105 out of 1251, remaining: 03:28, took 1.0s, duration: 26:20)
test 1520...[SMTP with CRLF-dot-CRLF in data]
--p-u--emv- OK (1106 out of 1251, remaining: 03:27, took 1.1s, duration: 26:22)
test 1521...[Test all curl_easy_setopt and curl_easy_getinfo options]
-------emv- OK (1107 out of 1251, remaining: 03:25, took 1.1s, duration: 26:23)
test 1522...[CURLINFO_SIZE_UPLOAD with small SO_SNDBUF]
s------emv- OK (1108 out of 1251, remaining: 03:24, took 1.0s, duration: 26:24)
test 1523...[CURLINFO_LOW_SPEED_LIMIT]
-------emv- OK (1109 out of 1251, remaining: 03:24, took 11.1s, duration: 26:35)
test 1525...[CURLOPT_PROXYHEADER is ignored CURLHEADER_UNIFIED]
--pd-P-emv- OK (1110 out of 1251, remaining: 03:23, took 4.1s, duration: 26:39)
test 1526...[CURLOPT_PROXYHEADER: separate host/proxy headers]
--pd-P-emv- OK (1111 out of 1251, remaining: 03:21, took 2.1s, duration: 26:41)
test 1527...[Check same headers are generated with CURLOPT_HEADEROPT == CURLHEADER_UNIFIED]
--pd-P-emv- OK (1112 out of 1251, remaining: 03:20, took 2.1s, duration: 26:43)
test 1528...[Separately specified proxy/server headers sent in a proxy GET]
---d-P-emv- OK (1113 out of 1251, remaining: 03:18, took 1.0s, duration: 26:44)
test 1529...[HTTP request-injection in URL sent over proxy]
-------emv- OK (1114 out of 1251, remaining: 03:17, took 0.9s, duration: 26:45)
test 1530...[CURLOPT_OPENSOCKETFUNCTION returns bad socket]
-------emv- OK (1115 out of 1251, remaining: 03:15, took 1.0s, duration: 26:46)
test 1531...[CURLOPT_POSTFIELDS with binary data set after multi_add_handle]
--p----emv- OK (1116 out of 1251, remaining: 03:14, took 1.1s, duration: 26:47)
test 1532...[Test CURLINFO_RESPONSE_CODE]
--p----emv- OK (1117 out of 1251, remaining: 03:12, took 1.0s, duration: 26:48)
test 1533...[HTTP with CURLOPT_KEEP_SENDING_ON_ERROR and an early error response]
--p----emv- OK (1118 out of 1251, remaining: 03:11, took 1.1s, duration: 26:49)
test 1534...[CURLINFO_FILETIME init and reset]
--p----emv- OK (1119 out of 1251, remaining: 03:10, took 1.0s, duration: 26:50)
test 1535...[Test CURLINFO_RESPONSE_CODE CURLINFO_PROTOCOL]
--p----emv- OK (1120 out of 1251, remaining: 03:08, took 1.0s, duration: 26:51)
test 1536...[Test CURLINFO_RESPONSE_CODE CURLINFO_SCHEME]
--p----emv- OK (1121 out of 1251, remaining: 03:07, took 1.0s, duration: 26:52)
test 1537...[libcurl URL escape/unescape tests]
s------emv- OK (1122 out of 1251, remaining: 03:05, took 0.9s, duration: 26:53)
test 1538...[libcurl strerror API call tests]
s------emv- OK (1123 out of 1251, remaining: 03:04, took 0.8s, duration: 26:54)
test 1540...[chunked with trailers and pausing the receive]
--pd---emv- OK (1124 out of 1251, remaining: 03:02, took 1.0s, duration: 26:55)
test 1541...[connection sharing using 67 parallel threads for 7 seconds]
-------emv- OK (1125 out of 1251, remaining: 03:01, took 0.8s, duration: 26:56)
test 1550...[verify setting pipeling blacklisting options]
-------emv- OK (1126 out of 1251, remaining: 02:59, took 0.9s, duration: 26:57)
test 1551...[re-run redirected transfer without setting URL again]
--pd---emv- OK (1127 out of 1251, remaining: 02:58, took 1.1s, duration: 26:58)
test 1552...[IMAP multi transfer error without curl_multi_remove_handle]
-------emv- OK (1128 out of 1251, remaining: 02:56, took 1.1s, duration: 26:59)
test 1553...[IMAP cleanup before a connection was created]
-------emv- OK (1129 out of 1251, remaining: 02:55, took 1.0s, duration: 27:00)
test 1554...[HTTP with shared connection cache]
---d---emv- OK (1130 out of 1251, remaining: 02:53, took 1.1s, duration: 27:01)
test 1555...[verify api is protected against calls from callbacks]
s------emv- OK (1131 out of 1251, remaining: 02:52, took 1.0s, duration: 27:02)
test 1556...[send long HTTP headers to header callback]
s-p----emv- OK (1132 out of 1251, remaining: 02:50, took 1.1s, duration: 27:03)
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:49, took 1.0s, duration: 27:04)
test 1558...[CURLINFO_PROTOCOL for file:// transfer]
s------emv- OK (1134 out of 1251, remaining: 02:47, took 1.0s, duration: 27:05)
test 1559...[Set excessive URL lengths]
s------emv- OK (1135 out of 1251, remaining: 02:46, took 1.1s, duration: 27:06)
test 1560...[URL API]
s------emv- OK (1136 out of 1251, remaining: 02:44, took 1.1s, duration: 27:07)
test 1561...[Cookies set over HTTP can't override secure ones]
goto problem 25
valgrind ERROR ==31729== Invalid read of size 8
==31729== at 0x53335A5: check_free (dlerror.c:188)
==31729== by 0x5333AB1: free_key_mem (dlerror.c:221)
==31729== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==31729== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==31729== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==31729== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==31729== by 0x4C4AEB9: exit (exit.c:139)
==31729== by 0x4C350A1: (below main) (libc-start.c:342)
==31729== Address 0x5b557a0 is 0 bytes after a block of size 32 alloc'd
==31729== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31729== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31729== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31729== by 0x24AE36: err_get_state (err.c:210)
==31729== by 0x24BA0C: ERR_put_error (err.c:636)
==31729== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31729== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31729== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31729== by 0x270058: by_file_ctrl (by_file.c:111)
==31729== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31729== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31729== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31729== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31729== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31729== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31729== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31729==
==31729== Invalid free() / delete / delete[] / realloc()
==31729== at 0x48369AB: free (vg_replace_malloc.c:540)
==31729== by 0x5333AB9: free_key_mem (dlerror.c:223)
==31729== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==31729== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==31729== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==31729== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==31729== by 0x4C4AEB9: exit (exit.c:139)
==31729== by 0x4C350A1: (below main) (libc-start.c:342)
==31729== Address 0x5b55788 is 8 bytes inside a block of size 32 alloc'd
==31729== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31729== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31729== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31729== by 0x24AE36: err_get_state (err.c:210)
==31729== by 0x24BA0C: ERR_put_error (err.c:636)
==31729== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31729== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31729== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31729== by 0x270058: by_file_ctrl (by_file.c:111)
==31729== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31729== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31729== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31729== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31729== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31729== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31729== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31729==
==31729== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==31729== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31729== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31729== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31729== by 0x24AE36: err_get_state (err.c:210)
==31729== by 0x24BA0C: ERR_put_error (err.c:636)
==31729== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31729== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31729== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31729== by 0x270058: by_file_ctrl (by_file.c:111)
==31729== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31729== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31729== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31729== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31729== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31729== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31729== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31729==
== 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:17.854758 ====> Client connect
03:18:17.854791 accept_connection 3 returned 4
03:18:17.854808 accept_connection 3 returned 0
03:18:17.854972 Read 96 bytes
03:18:17.854984 Process 96 bytes request
03:18:17.855011 Got request: GET /verifiedserver HTTP/1.1
03:18:17.855022 Are-we-friendly question received
03:18:17.855047 Wrote request (96 bytes) input to log/server.input
03:18:17.855068 Identifying ourselves as friends
03:18:17.855163 Response sent (56 bytes) and written to log/server.response
03:18:17.855192 special request received, no persistency
03:18:17.855203 ====> Client disconnect 0
03:18:21.857519 ====> Client connect
03:18:21.857540 accept_connection 3 returned 4
03:18:21.857554 accept_connection 3 returned 0
03:18:21.943498 Read 91 bytes
03:18:21.943527 Process 91 bytes request
03:18:21.943540 Got request: GET /15610001 HTTP/1.1
03:18:21.943549 Requested test number 1561 part 1
03:18:21.943577 - request found to be complete
03:18:21.943602 Wrote request (91 bytes) input to log/server.input
03:18:21.943624 Send response test1561 section <data1>
03:18:21.943793 Response sent (722 bytes) and written to log/server.response
03:18:21.943805 => persistent connection request ended, awaits new request
03:18:22.066133 ====> Client connect
03:18:22.066164 accept_connection 3 returned 5
03:18:22.066178 accept_connection 3 returned 0
03:18:22.069913 Read 91 bytes
03:18:22.069932 Process 91 bytes request
03:18:22.069949 Got request: GET /15610002 HTTP/1.1
03:18:22.069958 Requested test number 1561 part 2
03:18:22.069987 - request found to be complete
03:18:22.069999 Wrote request (91 bytes) input to log/server.input
03:18:22.070011 Send response test1561 section <data2>
03:18:22.070153 Response sent (966 bytes) and written to log/server.response
03:18:22.070164 => persistent connection request ended, awaits new request
03:18:22.101559 Connection closed by client
03:18:22.101576 ====> Client disconnect 0
03:18:22.166745 Connection closed by client
03:18:22.166776 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.09.08 03:18:16 LOG5[31724]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.08 03:18:16 LOG5[31724]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.08 03:18:16 LOG5[31724]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.08 03:18:16 LOG5[31724]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.08 03:18:16 LOG5[31724]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.08 03:18:16 LOG5[31724]: Reading configuration from file /build-25070/tests/https_stunnel.conf
2019.09.08 03:18:16 LOG5[31724]: FIPS mode disabled
2019.09.08 03:18:16 LOG5[31724]: Configuration successful
2019.09.08 03:18:17 LOG5[31727]: Service [curltest] accepted connection from 127.0.0.1:50258
2019.09.08 03:18:17 LOG5[31727]: s_connect: connected 127.0.0.1:8990
2019.09.08 03:18:17 LOG5[31727]: Service [curltest] connected remote server from 127.0.0.1:57342
2019.09.08 03:18:17 LOG5[31727]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.08 03:18:20 LOG5[31730]: Service [curltest] accepted connection from 127.0.0.1:50264
2019.09.08 03:18:21 LOG5[31730]: s_connect: connected 127.0.0.1:8990
2019.09.08 03:18:21 LOG5[31730]: Service [curltest] connected remote server from 127.0.0.1:57348
2019.09.08 03:18:22 LOG5[31730]: 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 0x55eb56864828; 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 0x55eb56864828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55eb56864828; 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 0x55eb56864828; 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 0x55eb56864828; 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 0x55eb56864828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55eb56864828; 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
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55eb56864828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55eb56864828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 31629
=== 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: 31629
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
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 7 100 7 0 0 3 0 0:00:02 0:00:02 --:--:-- 3
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7 100 7 0 0 269 0 --:--:-- --:--:-- --:--:-- 333
=== End of file stderr1561
=== Start of file stdout1561
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: super=secret; domain=example.com; path=/1561; httponly;
Set-Cookie: super=secret; domain=example.com; path=/1561/; httponly;
Set-Cookie: super=secret; domain=example.com; path=/15; httponly;
Set-Cookie: public=yes; domain=example.com; path=/foo;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login/en;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login;
Set-Cookie: secureoverhttp=yes; domain=example.com; path=/1561; secure;
Set-Cookie: __Secure-SID=22345; Domain=example.com
Set-Cookie: __Secure-SID=22346; Secure; Domain=example.com
Set-Cookie: __Host-SID=32345
Set-Cookie: __Host-SID=32346; Secure
Set-Cookie: __Host-SID=32347; Domain=example.com
Set-Cookie: __Host-SID=32348; Domain=example.com; Path=/
Set-Cookie: __Host-SID=32349; Secure; Domain=example.com; Path=/
Set-Cookie: __Host-SID=32350; Secure; Path=/
Content-Length: 7
nomnom
=== End of file stdout1561
=== Start of file trace1561
03:18:19.789898 == Info: STATE: INIT => CONNECT handle 0x56caa48; line 1491 (connection #-5000)
03:18:19.845601 == Info: Added connection 0. The cache now contains 1 members
03:18:19.862880 == Info: Trying 127.0.0.1:8991...
03:18:19.863488 == Info: TCP_NODELAY set
03:18:19.868783 == Info: STATE: CONNECT => WAITCONNECT handle 0x56caa48; line 1547 (connection #0)
03:18:19.880398 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:18:19.880967 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56caa48; line 1665 (connection #0)
03:18:19.882102 == Info: Marked for [keep alive]: HTTP default
03:18:19.933282 == Info: ALPN, offering h2
03:18:19.933565 == Info: ALPN, offering http/1.1
03:18:21.339480 == Info: successfully set certificate verify locations:
03:18:21.339748 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:18:21.453530 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:21.458667 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:18:21.458727 => Send SSL data, 148 bytes (0x94)
0000: .........O...p.-i...b..fE........jW.1.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:18:21.475921 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:18:21.481382 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:18:21.481440 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....[7F]4..[..(U..G..$..j......@F4_i. .5.sw.nU?X>..hD........P8
0040: .T..k.../................
03:18:21.525702 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:21.526087 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:18:21.526145 <= 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:21.624876 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:18:21.625107 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:18:21.625164 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..P.>..g..9....`H...xP...9.3O..).K.yk...ukI../.u..*.+.l.
0040: 2.....y......b{....6.*D...p.d..V....8...|PH.9'..`j.yr.t.Ae...!.h
0080: D..1gL..0w.`..+.a@......CB....^..T.W#..8....p.......o.V..:.'P..3
00c0: .bEZ1{.i.k....M..q..3{.Jxv..>...M.V...<......kxGsY[7F] .5.!D#P.....
0100: C.A...(.....Mb..3..........._..woRa.D...[7F]...H..X ....Z..T.......
0140: 3J....z..?g..
03:18:21.694156 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:21.694353 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:18:21.694409 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:18:21.809939 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:18:21.810157 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:18:21.810217 => Send SSL data, 70 bytes (0x46)
0000: ...BA...G.D8K..y........;q.b.}..K...>...lJ..(..vs.|.x...;.[.t.j.
0040: ..].R.
03:18:21.822232 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:21.822817 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:18:21.822875 => Send SSL data, 1 bytes (0x1)
0000: .
03:18:21.844196 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:18:21.844254 => Send SSL data, 16 bytes (0x10)
0000: ....2,[.[7F]8.xj!..
03:18:21.856663 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:18:21.859172 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:21.860261 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:18:21.860318 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:18:21.862755 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:18:21.868390 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:18:21.868450 <= Recv SSL data, 16 bytes (0x10)
0000: .......]fQ......
03:18:21.896735 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:18:21.897394 == Info: ALPN, server did not agree to a protocol
03:18:21.900051 == Info: Server certificate:
03:18:21.907516 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:18:21.913638 == Info: start date: Aug 31 23:39:18 2018 GMT
03:18:21.914581 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:18:21.915505 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:18:21.916366 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:18:21.917863 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56caa48; line 1685 (connection #0)
03:18:21.941848 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:18:21.944733 => 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:21.947638 == Info: STATE: DO => DO_DONE handle 0x56caa48; line 1756 (connection #0)
03:18:21.948106 == Info: STATE: DO_DONE => PERFORM handle 0x56caa48; line 1877 (connection #0)
03:18:21.952511 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:21.965336 == Info: Mark bundle as not supporting multiuse
03:18:21.965933 == Info: HTTP 1.1 or later with persistent connection
03:18:21.968595 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:21.972442 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:21.972669 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:21.980005 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:21.998237 == Info: Added cookie super="secret" for domain example.com, path /1561, expire 0
03:18:21.998639 <= Recv header, 66 bytes (0x42)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561; secure
0040: ;.
03:18:21.999813 == Info: Added cookie supersuper="secret" for domain example.com, path /1561/login/, expire 0
03:18:21.999962 <= Recv header, 78 bytes (0x4e)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin/; secure;.
03:18:22.002597 <= Recv header, 51 bytes (0x33)
0000: Set-Cookie: __Secure-SID=12345; Domain=example.com.
03:18:22.004141 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:22.005357 == Info: Added cookie __Secure-SID="12346" for domain example.com, path /, expire 0
03:18:22.005416 <= Recv header, 59 bytes (0x3b)
0000: Set-Cookie: __Secure-SID=12346; Secure; Domain=example.com.
03:18:22.005850 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:22.006779 == Info: Added cookie supersupersuper="secret" for domain example.com, path /, expire 0
03:18:22.006836 <= Recv header, 83 bytes (0x53)
0000: Set-Cookie: supersupersuper=secret; __Secure-SID=12346; Secure;
0040: Domain=example.com.
03:18:22.008249 <= Recv header, 29 bytes (0x1d)
0000: Set-Cookie: __Host-SID=22345.
03:18:22.009314 == Info: Added cookie __Host-SID="22346" for domain www.example.com, path /, expire 0
03:18:22.009378 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: __Host-SID=22346; Secure.
03:18:22.010157 <= Recv header, 49 bytes (0x31)
0000: Set-Cookie: __Host-SID=22347; Domain=example.com.
03:18:22.010552 <= Recv SSL data, 5 bytes (0x5)
0000: ....|
03:18:22.011326 <= Recv header, 57 bytes (0x39)
0000: Set-Cookie: __Host-SID=22348; Domain=example.com; Path=/.
03:18:22.012226 <= Recv header, 65 bytes (0x41)
0000: Set-Cookie: __Host-SID=22349; Secure; Domain=example.com; Path=/
0040: .
03:18:22.012685 <= Recv SSL data, 5 bytes (0x5)
0000: ....V
03:18:22.015384 == Info: Replaced cookie __Host-SID="12346" for domain www.example.com, path /, expire 0
03:18:22.015494 <= Recv header, 45 bytes (0x2d)
0000: Set-Cookie: __Host-SID=12346; Secure; Path=/.
03:18:22.016645 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:22.019100 <= Recv header, 1 bytes (0x1)
0000: .
03:18:22.019740 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:22.023360 == Info: STATE: PERFORM => DONE handle 0x56caa48; line 2067 (connection #0)
03:18:22.023686 == Info: multi_done
03:18:22.032653 == Info: Connection #0 to host 127.0.0.1 left intact
03:18:22.061683 == Info: STATE: INIT => CONNECT handle 0x5725778; line 1491 (connection #-5000)
03:18:22.065342 == Info: Added connection 1. The cache now contains 2 members
03:18:22.065951 == Info: Trying 127.0.0.1:8990...
03:18:22.066011 == Info: TCP_NODELAY set
03:18:22.066166 == Info: STATE: CONNECT => WAITCONNECT handle 0x5725778; line 1547 (connection #1)
03:18:22.067535 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#1)
03:18:22.067619 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5725778; line 1665 (connection #1)
03:18:22.067692 == Info: Marked for [keep alive]: HTTP default
03:18:22.067831 == Info: STATE: SENDPROTOCONNECT => DO handle 0x5725778; line 1685 (connection #1)
03:18:22.070263 => 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:22.070752 == Info: STATE: DO => DO_DONE handle 0x5725778; line 1756 (connection #1)
03:18:22.070838 == Info: STATE: DO_DONE => PERFORM handle 0x5725778; line 1877 (connection #1)
03:18:22.071885 == Info: Mark bundle as not supporting multiuse
03:18:22.071952 == Info: HTTP 1.1 or later with persistent connection
03:18:22.072014 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:22.072172 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:22.072388 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:22.073857 <= Recv header, 68 bytes (0x44)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561; httpon
0040: ly;.
03:18:22.074857 <= Recv header, 69 bytes (0x45)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561/; httpo
0040: nly;.
03:18:22.076034 == Info: Replaced cookie super="secret" for domain example.com, path /15, expire 0
03:18:22.076092 <= Recv header, 66 bytes (0x42)
0000: Set-Cookie: super=secret; domain=example.com; path=/15; httponly
0040: ;.
03:18:22.076863 == Info: Added cookie public="yes" for domain example.com, path /foo, expire 0
03:18:22.076918 <= Recv header, 55 bytes (0x37)
0000: Set-Cookie: public=yes; domain=example.com; path=/foo;.
03:18:22.077970 <= Recv header, 72 bytes (0x48)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin/en;.
03:18:22.078975 <= Recv header, 69 bytes (0x45)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin;.
03:18:22.080693 <= Recv header, 72 bytes (0x48)
0000: Set-Cookie: secureoverhttp=yes; domain=example.com; path=/1561;
0040: secure;.
03:18:22.081603 <= Recv header, 51 bytes (0x33)
0000: Set-Cookie: __Secure-SID=22345; Domain=example.com.
03:18:22.082250 <= Recv header, 59 bytes (0x3b)
0000: Set-Cookie: __Secure-SID=22346; Secure; Domain=example.com.
03:18:22.083051 <= Recv header, 29 bytes (0x1d)
0000: Set-Cookie: __Host-SID=32345.
03:18:22.083619 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: __Host-SID=32346; Secure.
03:18:22.084375 <= Recv header, 49 bytes (0x31)
0000: Set-Cookie: __Host-SID=32347; Domain=example.com.
03:18:22.085233 <= Recv header, 57 bytes (0x39)
0000: Set-Cookie: __Host-SID=32348; Domain=example.com; Path=/.
03:18:22.085916 <= Recv header, 65 bytes (0x41)
0000: Set-Cookie: __Host-SID=32349; Secure; Domain=example.com; Path=/
0040: .
03:18:22.086614 <= Recv header, 45 bytes (0x2d)
0000: Set-Cookie: __Host-SID=32350; Secure; Path=/.
03:18:22.086858 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:22.087005 <= Recv header, 1 bytes (0x1)
0000: .
03:18:22.087080 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:22.087470 == Info: STATE: PERFORM => DONE handle 0x5725778; line 2067 (connection #1)
03:18:22.087534 == Info: multi_done
03:18:22.088316 == Info: Connection #1 to host 127.0.0.1 left intact
03:18:22.089496 == Info: Expire cleared (transfer 0x5725778)
=== End of file trace1561
=== Start of file valgrind1561
==31729== Invalid read of size 8
==31729== at 0x53335A5: check_free (dlerror.c:188)
==31729== by 0x5333AB1: free_key_mem (dlerror.c:221)
==31729== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==31729== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==31729== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==31729== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==31729== by 0x4C4AEB9: exit (exit.c:139)
==31729== by 0x4C350A1: (below main) (libc-start.c:342)
==31729== Address 0x5b557a0 is 0 bytes after a block of size 32 alloc'd
==31729== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31729== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31729== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31729== by 0x24AE36: err_get_state (err.c:210)
==31729== by 0x24BA0C: ERR_put_error (err.c:636)
==31729== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31729== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31729== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31729== by 0x270058: by_file_ctrl (by_file.c:111)
==31729== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31729== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31729== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31729== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31729== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31729== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31729== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31729==
==31729== Invalid free() / delete / delete[] / realloc()
==31729== at 0x48369AB: free (vg_replace_malloc.c:540)
==31729== by 0x5333AB9: free_key_mem (dlerror.c:223)
==31729== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==31729== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==31729== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==31729== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==31729== by 0x4C4AEB9: exit (exit.c:139)
==31729== by 0x4C350A1: (below main) (libc-start.c:342)
==31729== Address 0x5b55788 is 8 bytes inside a block of size 32 alloc'd
==31729== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31729== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31729== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31729== by 0x24AE36: err_get_state (err.c:210)
==31729== by 0x24BA0C: ERR_put_error (err.c:636)
==31729== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31729== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31729== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31729== by 0x270058: by_file_ctrl (by_file.c:111)
==31729== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31729== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31729== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31729== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31729== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31729== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31729== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31729==
==31729== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==31729== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31729== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31729== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31729== by 0x24AE36: err_get_state (err.c:210)
==31729== by 0x24BA0C: ERR_put_error (err.c:636)
==31729== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31729== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31729== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31729== by 0x270058: by_file_ctrl (by_file.c:111)
==31729== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31729== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31729== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31729== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31729== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31729== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31729== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31729==
=== End of file valgrind1561
test 1562...[Expire secure cookies over HTTPS]
goto problem 26
valgrind ERROR ==31733== Invalid read of size 8
==31733== at 0x53335A5: check_free (dlerror.c:188)
==31733== by 0x5333AB1: free_key_mem (dlerror.c:221)
==31733== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==31733== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==31733== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==31733== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==31733== by 0x4C4AEB9: exit (exit.c:139)
==31733== by 0x4C350A1: (below main) (libc-start.c:342)
==31733== Address 0x5bafec0 is 0 bytes after a block of size 32 alloc'd
==31733== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31733== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31733== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31733== by 0x24AE36: err_get_state (err.c:210)
==31733== by 0x24BA0C: ERR_put_error (err.c:636)
==31733== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31733== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31733== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31733== by 0x270058: by_file_ctrl (by_file.c:111)
==31733== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31733== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31733== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31733== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31733== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31733== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31733== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31733==
==31733== Invalid free() / delete / delete[] / realloc()
==31733== at 0x48369AB: free (vg_replace_malloc.c:540)
==31733== by 0x5333AB9: free_key_mem (dlerror.c:223)
==31733== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==31733== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==31733== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==31733== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==31733== by 0x4C4AEB9: exit (exit.c:139)
==31733== by 0x4C350A1: (below main) (libc-start.c:342)
==31733== Address 0x5bafea8 is 8 bytes inside a block of size 32 alloc'd
==31733== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31733== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31733== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31733== by 0x24AE36: err_get_state (err.c:210)
==31733== by 0x24BA0C: ERR_put_error (err.c:636)
==31733== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31733== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31733== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31733== by 0x270058: by_file_ctrl (by_file.c:111)
==31733== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31733== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31733== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31733== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31733== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31733== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31733== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31733==
==31733== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==31733== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31733== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31733== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31733== by 0x24AE36: err_get_state (err.c:210)
==31733== by 0x24BA0C: ERR_put_error (err.c:636)
==31733== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31733== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31733== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31733== by 0x270058: by_file_ctrl (by_file.c:111)
==31733== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31733== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31733== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31733== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31733== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31733== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31733== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31733==
== 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:25.232929 ====> Client connect
03:18:25.232965 accept_connection 3 returned 4
03:18:25.232979 accept_connection 3 returned 0
03:18:25.319473 Read 91 bytes
03:18:25.319508 Process 91 bytes request
03:18:25.319525 Got request: GET /15620001 HTTP/1.1
03:18:25.319536 Requested test number 1562 part 1
03:18:25.319562 - request found to be complete
03:18:25.319586 Wrote request (91 bytes) input to log/server.input
03:18:25.319607 Send response test1562 section <data1>
03:18:25.319684 Response sent (140 bytes) and written to log/server.response
03:18:25.319695 => persistent connection request ended, awaits new request
03:18:25.432424 Read 108 bytes
03:18:25.432460 Process 108 bytes request
03:18:25.432476 Got request: GET /15620002 HTTP/1.1
03:18:25.432485 Requested test number 1562 part 2
03:18:25.432511 - request found to be complete
03:18:25.432523 Wrote request (108 bytes) input to log/server.input
03:18:25.432535 Send response test1562 section <data2>
03:18:25.432605 Response sent (178 bytes) and written to log/server.response
03:18:25.432616 => persistent connection request ended, awaits new request
03:18:25.453738 Read 91 bytes
03:18:25.453764 Process 91 bytes request
03:18:25.453780 Got request: GET /15620001 HTTP/1.1
03:18:25.453791 Requested test number 1562 part 1
03:18:25.453815 - request found to be complete
03:18:25.453826 Wrote request (91 bytes) input to log/server.input
03:18:25.453837 Send response test1562 section <data1>
03:18:25.453892 Response sent (140 bytes) and written to log/server.response
03:18:25.453902 => persistent connection request ended, awaits new request
03:18:25.467873 Connection closed by client
03:18:25.467898 ====> 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 225 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 875 0 --:--:-- --:--:-- --:--:-- 1400
=== 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:23.167069 == Info: STATE: INIT => CONNECT handle 0x56ca188; line 1491 (connection #-5000)
03:18:23.222204 == Info: Added connection 0. The cache now contains 1 members
03:18:23.239575 == Info: Trying 127.0.0.1:8991...
03:18:23.240184 == Info: TCP_NODELAY set
03:18:23.245322 == Info: STATE: CONNECT => WAITCONNECT handle 0x56ca188; line 1547 (connection #0)
03:18:23.256953 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:18:23.257517 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56ca188; line 1665 (connection #0)
03:18:23.258650 == Info: Marked for [keep alive]: HTTP default
03:18:23.309416 == Info: ALPN, offering h2
03:18:23.309694 == Info: ALPN, offering http/1.1
03:18:24.714377 == Info: successfully set certificate verify locations:
03:18:24.714644 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:18:24.828631 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:24.833752 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:18:24.833815 => Send SSL data, 148 bytes (0x94)
0000: ......&..A.`...e..........9./.!(._.R......+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:18:24.851006 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:18:24.856411 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:18:24.856470 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.....S%z..M..5..B"..a.E...!.ty.... .%....D..b.......e...a..n
0040: ...&Y.../................
03:18:24.900208 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:24.900564 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:18:24.900621 <= 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:24.999375 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:18:24.999589 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:18:24.999646 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..P.>..g..9....`H...xP...9.3O..).K.yk...ukI../.u..*.+.l.
0040: 2.....y......~...n[7F]N..vG$...M/v.}..k...uj....*,1o.r.Uh.%..3....[
0080: ...........1..p..SK.......+.UU.KW2...)V_^. ..0....}.Xw...<..<...
00c0: ...{ ...Ub2..e....s...M%.D.....6..=.xa.=.>.....q..}O..,......lD.
0100: A...f.6.z ........F.@..-.......h..d....X=.]..-wyK...K.CD.%.a.z..
0140: .,... ..e`w/.
03:18:25.069364 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:25.069587 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:18:25.069646 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:18:25.185164 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:18:25.185354 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:18:25.185412 => Send SSL data, 70 bytes (0x46)
0000: ...BA......+..]..4X.Qo...~.......<.r...#n.~J...z......d..ya.;-q7
0040: .D..9o
03:18:25.197316 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:25.197901 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:18:25.197959 => Send SSL data, 1 bytes (0x1)
0000: .
03:18:25.219396 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:18:25.219482 => Send SSL data, 16 bytes (0x10)
0000: .....ot{..#....1
03:18:25.232029 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:18:25.234544 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:25.235639 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:18:25.235698 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:18:25.238152 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:18:25.243822 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:18:25.243879 <= Recv SSL data, 16 bytes (0x10)
0000: .......S.MIY&i..
03:18:25.272293 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:18:25.272959 == Info: ALPN, server did not agree to a protocol
03:18:25.275597 == Info: Server certificate:
03:18:25.283104 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:18:25.289246 == Info: start date: Aug 31 23:39:18 2018 GMT
03:18:25.290191 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:18:25.291125 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:18:25.291996 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:18:25.293511 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56ca188; line 1685 (connection #0)
03:18:25.317779 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:18:25.320683 => 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:25.323692 == Info: STATE: DO => DO_DONE handle 0x56ca188; line 1756 (connection #0)
03:18:25.324162 == Info: STATE: DO_DONE => PERFORM handle 0x56ca188; line 1877 (connection #0)
03:18:25.328596 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:25.341495 == Info: Mark bundle as not supporting multiuse
03:18:25.342085 == Info: HTTP 1.1 or later with persistent connection
03:18:25.344761 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:25.348632 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:25.348863 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:25.362017 == Info: Added cookie foo="123" for domain www.example.com, path /, expire 0
03:18:25.362414 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: foo=123; path=/; secure;.
03:18:25.363528 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:25.365990 <= Recv header, 1 bytes (0x1)
0000: .
03:18:25.366815 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:25.372522 == Info: STATE: PERFORM => DONE handle 0x56ca188; line 2067 (connection #0)
03:18:25.372851 == Info: multi_done
03:18:25.382046 == Info: Connection #0 to host 127.0.0.1 left intact
03:18:25.384085 == Info: Expire cleared (transfer 0x56ca188)
03:18:25.408076 == Info: STATE: INIT => CONNECT handle 0x5724f18; line 1491 (connection #-5000)
03:18:25.414128 == Info: Found bundle for host 127.0.0.1: 0x5809f28 [serially]
03:18:25.414457 == Info: Can not multiplex, even if we wanted to
03:18:25.422849 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:18:25.423641 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:18:25.423852 == Info: STATE: CONNECT => DO handle 0x5724f18; line 1540 (connection #0)
03:18:25.432211 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:25.432358 => 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:25.432914 == Info: STATE: DO => DO_DONE handle 0x5724f18; line 1756 (connection #0)
03:18:25.433001 == Info: STATE: DO_DONE => PERFORM handle 0x5724f18; line 1877 (connection #0)
03:18:25.433185 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:25.433636 == Info: Mark bundle as not supporting multiuse
03:18:25.433702 == Info: HTTP 1.1 or later with persistent connection
03:18:25.433765 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:25.433934 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:25.434154 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:25.437980 == Info: Replaced cookie foo="" for domain www.example.com, path /, expire 1
03:18:25.438089 <= 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:25.438458 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:25.438610 <= Recv header, 1 bytes (0x1)
0000: .
03:18:25.438686 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:25.439072 == Info: STATE: PERFORM => DONE handle 0x5724f18; line 2067 (connection #0)
03:18:25.439137 == Info: multi_done
03:18:25.439997 == Info: Connection #0 to host 127.0.0.1 left intact
03:18:25.440119 == Info: Expire cleared (transfer 0x5724f18)
03:18:25.447652 == Info: STATE: INIT => CONNECT handle 0x577ef08; line 1491 (connection #-5000)
03:18:25.449513 == Info: Found bundle for host 127.0.0.1: 0x5809f28 [serially]
03:18:25.449579 == Info: Can not multiplex, even if we wanted to
03:18:25.450485 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:18:25.450651 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:18:25.450732 == Info: STATE: CONNECT => DO handle 0x577ef08; line 1540 (connection #0)
03:18:25.453537 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:18:25.453664 => 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:25.454156 == Info: STATE: DO => DO_DONE handle 0x577ef08; line 1756 (connection #0)
03:18:25.454242 == Info: STATE: DO_DONE => PERFORM handle 0x577ef08; line 1877 (connection #0)
03:18:25.454415 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:25.454596 == Info: Mark bundle as not supporting multiuse
03:18:25.454660 == Info: HTTP 1.1 or later with persistent connection
03:18:25.454720 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:25.454867 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:25.455085 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:25.455656 == Info: Added cookie foo="123" for domain www.example.com, path /, expire 0
03:18:25.455710 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: foo=123; path=/; secure;.
03:18:25.455926 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:25.456074 <= Recv header, 1 bytes (0x1)
0000: .
03:18:25.456148 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:25.456289 == Info: STATE: PERFORM => DONE handle 0x577ef08; line 2067 (connection #0)
03:18:25.456351 == Info: multi_done
03:18:25.457122 == Info: Connection #0 to host 127.0.0.1 left intact
03:18:25.457245 == Info: Expire cleared (transfer 0x577ef08)
=== End of file trace1562
=== Start of file valgrind1562
==31733== Invalid read of size 8
==31733== at 0x53335A5: check_free (dlerror.c:188)
==31733== by 0x5333AB1: free_key_mem (dlerror.c:221)
==31733== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==31733== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==31733== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==31733== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==31733== by 0x4C4AEB9: exit (exit.c:139)
==31733== by 0x4C350A1: (below main) (libc-start.c:342)
==31733== Address 0x5bafec0 is 0 bytes after a block of size 32 alloc'd
==31733== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31733== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31733== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31733== by 0x24AE36: err_get_state (err.c:210)
==31733== by 0x24BA0C: ERR_put_error (err.c:636)
==31733== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31733== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31733== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31733== by 0x270058: by_file_ctrl (by_file.c:111)
==31733== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31733== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31733== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31733== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31733== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31733== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31733== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31733==
==31733== Invalid free() / delete / delete[] / realloc()
==31733== at 0x48369AB: free (vg_replace_malloc.c:540)
==31733== by 0x5333AB9: free_key_mem (dlerror.c:223)
==31733== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==31733== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==31733== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==31733== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==31733== by 0x4C4AEB9: exit (exit.c:139)
==31733== by 0x4C350A1: (below main) (libc-start.c:342)
==31733== Address 0x5bafea8 is 8 bytes inside a block of size 32 alloc'd
==31733== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31733== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31733== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31733== by 0x24AE36: err_get_state (err.c:210)
==31733== by 0x24BA0C: ERR_put_error (err.c:636)
==31733== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31733== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31733== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31733== by 0x270058: by_file_ctrl (by_file.c:111)
==31733== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31733== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31733== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31733== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31733== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31733== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31733== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31733==
==31733== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==31733== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31733== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31733== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31733== by 0x24AE36: err_get_state (err.c:210)
==31733== by 0x24BA0C: ERR_put_error (err.c:636)
==31733== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31733== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31733== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31733== by 0x270058: by_file_ctrl (by_file.c:111)
==31733== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31733== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31733== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31733== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31733== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31733== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31733== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31733==
=== 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:41, took 1.2s, duration: 27:17)
test 1590...[IMAP cleanup before a connection was created]
-------emv- OK (1140 out of 1251, remaining: 02:39, took 1.1s, duration: 27:18)
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:36, took 0.0s, duration: 27:18)
test 1593...[HTTP custom header overrides CURLOPT_TIMECONDITION]
--p----emv- OK (1143 out of 1251, remaining: 02:34, took 1.0s, duration: 27:19)
test 1594...[HTTP Retry-After header parsing and extraction]
s-p----emv- OK (1144 out of 1251, remaining: 02:33, took 1.1s, duration: 27:20)
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:32, took 1.1s, duration: 27:22)
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:30, took 1.1s, duration: 27:23)
test 1600...[NTLM unit tests]
-------emv- OK (1147 out of 1251, remaining: 02:29, took 0.9s, duration: 27:23)
test 1601...[MD5 unit tests]
-------emv- OK (1148 out of 1251, remaining: 02:27, took 0.8s, duration: 27:24)
test 1602...[Internal hash create/add/destroy testing, exercising clean functions]
-------emv- OK (1149 out of 1251, remaining: 02:26, took 0.8s, duration: 27:25)
test 1603...[Internal hash add, retrieval, deletion testing]
-------emv- OK (1150 out of 1251, remaining: 02:24, took 0.8s, duration: 27:26)
test 1604...[Test WIN32/MSDOS filename sanitization]
-------emv- OK (1151 out of 1251, remaining: 02:23, took 0.8s, duration: 27:27)
test 1605...[Test negative data lengths as input to libcurl functions]
-------emv- OK (1152 out of 1251, remaining: 02:21, took 0.9s, duration: 27:28)
test 1606...[verify speedcheck]
-------emv- OK (1153 out of 1251, remaining: 02:20, took 0.9s, duration: 27:28)
test 1607...[CURLOPT_RESOLVE parsing]
-------emv- OK (1154 out of 1251, remaining: 02:18, took 1.0s, duration: 27:29)
test 1608...[verify DNS shuffling]
-------emv- OK (1155 out of 1251, remaining: 02:17, took 0.9s, duration: 27:30)
test 1609...[CURLOPT_RESOLVE parsing]
-------emv- OK (1156 out of 1251, remaining: 02:15, took 0.9s, duration: 27:31)
test 1620...[unit tests for url.c]
-------emv- OK (1157 out of 1251, remaining: 02:14, took 0.9s, duration: 27:32)
test 1621...[unit tests for stripcredentials from URL]
-------emv- OK (1158 out of 1251, remaining: 02:12, took 0.8s, duration: 27:33)
test 1650...[DOH]
-------emv- OK (1159 out of 1251, remaining: 02:11, took 0.9s, duration: 27:34)
test 1651...[x509 parsing]
-------emv- OK (1160 out of 1251, remaining: 02:09, took 0.8s, duration: 27:35)
test 1652...[infof]
-------emv- OK (1161 out of 1251, remaining: 02:08, took 0.9s, duration: 27:35)
test 1653...[urlapi]
-------emv- OK (1162 out of 1251, remaining: 02:06, took 0.8s, duration: 27:36)
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:59, took 1.2s, duration: 27:43)
test 1904...[HTTP CONNECT with 204 response]
--pd-P-emv- OK (1168 out of 1251, remaining: 01:58, took 1.7s, duration: 27:44)
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:45)
test 1906...[CURLOPT_CURLU and CURLOPT_PORT]
--p----emv- OK (1170 out of 1251, remaining: 01:55, took 1.1s, duration: 27:46)
test 2000...[FTP RETR followed by FILE]
s-p----emv- OK (1171 out of 1251, remaining: 01:53, took 1.2s, duration: 27:48)
test 2001...[HTTP GET followed by FTP RETR followed by FILE]
s-p----emv- OK (1172 out of 1251, remaining: 01:52, took 1.3s, duration: 27:49)
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:51, took 1.3s, duration: 27:50)
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:49, took 1.4s, duration: 27:52)
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:53)
test 2024...[HTTP authorization retry (Basic switching to Digest)]
--pd---emv- OK (1195 out of 1251, remaining: 01:18, took 1.1s, duration: 27:54)
test 2025...[HTTP authorization retry (Basic switching to NTLM)]
--pd---emv- OK (1196 out of 1251, remaining: 01:17, took 1.2s, duration: 27:55)
test 2026...[HTTP authorization retry (Digest switching to Basic)]
--pd---emv- OK (1197 out of 1251, remaining: 01:15, took 1.2s, duration: 27:56)
test 2027...[HTTP authorization retry (Digest)]
--pd---emv- OK (1198 out of 1251, remaining: 01:14, took 1.2s, duration: 27:57)
test 2028...[HTTP authorization retry (Digest switching to NTLM)]
--pd---emv- OK (1199 out of 1251, remaining: 01:12, took 1.2s, duration: 27:58)
test 2029...[HTTP authorization retry (NTLM switching to Basic)]
--pd---emv- OK (1200 out of 1251, remaining: 01:11, took 1.2s, duration: 28:00)
test 2030...[HTTP authorization retry (NTLM switching to Digest)]
--pd---emv- OK (1201 out of 1251, remaining: 01:09, took 1.2s, duration: 28:01)
test 2031...[HTTP authorization retry (NTLM)]
--pd---emv- OK (1202 out of 1251, remaining: 01:08, took 1.2s, duration: 28:02)
test 2032...[NTLM connection mapping]
--pd---emv- OK (1203 out of 1251, remaining: 01:07, took 1.2s, duration: 28:03)
test 2034...[simple HTTPS GET with DER public key pinning]
goto problem 27
valgrind ERROR ==31922== Invalid read of size 8
==31922== at 0x53335A5: check_free (dlerror.c:188)
==31922== by 0x5333AB1: free_key_mem (dlerror.c:221)
==31922== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==31922== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==31922== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==31922== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==31922== by 0x4C4AEB9: exit (exit.c:139)
==31922== by 0x4C350A1: (below main) (libc-start.c:342)
==31922== Address 0x57672c0 is 0 bytes after a block of size 32 alloc'd
==31922== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31922== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31922== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31922== by 0x24AE36: err_get_state (err.c:210)
==31922== by 0x24BA0C: ERR_put_error (err.c:636)
==31922== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31922== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31922== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31922== by 0x270058: by_file_ctrl (by_file.c:111)
==31922== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31922== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31922== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31922== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31922== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31922== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31922== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31922==
==31922== Invalid free() / delete / delete[] / realloc()
==31922== at 0x48369AB: free (vg_replace_malloc.c:540)
==31922== by 0x5333AB9: free_key_mem (dlerror.c:223)
==31922== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==31922== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==31922== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==31922== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==31922== by 0x4C4AEB9: exit (exit.c:139)
==31922== by 0x4C350A1: (below main) (libc-start.c:342)
==31922== Address 0x57672a8 is 8 bytes inside a block of size 32 alloc'd
==31922== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31922== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31922== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31922== by 0x24AE36: err_get_state (err.c:210)
==31922== by 0x24BA0C: ERR_put_error (err.c:636)
==31922== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31922== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31922== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31922== by 0x270058: by_file_ctrl (by_file.c:111)
==31922== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31922== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31922== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31922== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31922== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31922== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31922== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31922==
==31922== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==31922== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31922== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31922== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31922== by 0x24AE36: err_get_state (err.c:210)
==31922== by 0x24BA0C: ERR_put_error (err.c:636)
==31922== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31922== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31922== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31922== by 0x270058: by_file_ctrl (by_file.c:111)
==31922== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31922== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31922== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31922== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31922== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31922== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31922== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31922==
== 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:12.784979 signalled to die
03:19:12.785083 ========> IPv4 sws (port 8990 pid: 31629) exits with signal (15)
03:19:17.809518 Running HTTP IPv4 version on port 8990
03:19:17.809783 Wrote pid 31909 to .http_server.pid
03:19:18.805260 ====> Client connect
03:19:18.805309 accept_connection 3 returned 4
03:19:18.805339 accept_connection 3 returned 0
03:19:18.805372 Read 96 bytes
03:19:18.805395 Process 96 bytes request
03:19:18.805432 Got request: GET /verifiedserver HTTP/1.1
03:19:18.805459 Are-we-friendly question received
03:19:18.805496 Wrote request (96 bytes) input to log/server.input
03:19:18.805541 Identifying ourselves as friends
03:19:18.805665 Response sent (56 bytes) and written to log/server.response
03:19:18.805693 special request received, no persistency
03:19:18.805712 ====> Client disconnect 0
03:19:20.852309 ====> Client connect
03:19:20.852332 accept_connection 3 returned 4
03:19:20.852346 accept_connection 3 returned 0
03:19:20.852487 Read 96 bytes
03:19:20.852526 Process 96 bytes request
03:19:20.852550 Got request: GET /verifiedserver HTTP/1.1
03:19:20.852564 Are-we-friendly question received
03:19:20.852579 Wrote request (96 bytes) input to log/server.input
03:19:20.852595 Identifying ourselves as friends
03:19:20.852663 Response sent (56 bytes) and written to log/server.response
03:19:20.852679 special request received, no persistency
03:19:20.852690 ====> Client disconnect 0
03:19:23.606297 ====> Client connect
03:19:23.606322 accept_connection 3 returned 4
03:19:23.606336 accept_connection 3 returned 0
03:19:23.698274 Read 86 bytes
03:19:23.698308 Process 86 bytes request
03:19:23.698322 Got request: GET /2034 HTTP/1.1
03:19:23.698331 Requested test number 2034 part 0
03:19:23.698360 - request found to be complete
03:19:23.698387 Wrote request (86 bytes) input to log/server.input
03:19:23.698407 Send response test2034 section <data>
03:19:23.698483 Response sent (103 bytes) and written to log/server.response
03:19:23.698500 => persistent connection request ended, awaits new request
03:19:23.774078 Connection closed by client
03:19:23.774112 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x556692d8e828; 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 0x556692d8e828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x556692d8e828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x556692d8e828; 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 0x556692d8e828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x556692d8e828; 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 0x556692d8e828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x556692d8e828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 31909
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.08 03:19:19 LOG5[31915]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.08 03:19:19 LOG5[31915]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.08 03:19:19 LOG5[31915]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.08 03:19:19 LOG5[31915]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.08 03:19:19 LOG5[31915]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.08 03:19:19 LOG5[31915]: Reading configuration from file /build-25070/tests/https_stunnel.conf
2019.09.08 03:19:19 LOG5[31915]: FIPS mode disabled
2019.09.08 03:19:19 LOG5[31915]: Configuration successful
2019.09.08 03:19:20 LOG5[31918]: Service [curltest] accepted connection from 127.0.0.1:50390
2019.09.08 03:19:20 LOG5[31918]: s_connect: connected 127.0.0.1:8990
2019.09.08 03:19:20 LOG5[31918]: Service [curltest] connected remote server from 127.0.0.1:57474
2019.09.08 03:19:20 LOG5[31918]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.08 03:19:23 LOG5[31923]: Service [curltest] accepted connection from 127.0.0.1:50396
2019.09.08 03:19:23 LOG5[31923]: s_connect: connected 127.0.0.1:8990
2019.09.08 03:19:23 LOG5[31923]: Service [curltest] connected remote server from 127.0.0.1:57480
2019.09.08 03:19:23 LOG5[31923]: 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 0x560aa8afc828; 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 0x560aa8afc828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x560aa8afc828; 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 0x560aa8afc828; 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 0x560aa8afc828; 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 0x560aa8afc828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x560aa8afc828; 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 0x560aa8afc828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x560aa8afc828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 31909
=== 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: 31909
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 31909
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file server.response
=== Start of file stderr2034
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7 100 7 0 0 7 0 0:00:01 --:--:-- 0:00:01 8
=== End of file stderr2034
=== Start of file trace2034
03:19:22.779185 == Info: STATE: INIT => CONNECT handle 0x56c8a68; line 1491 (connection #-5000)
03:19:22.834042 == Info: Added connection 0. The cache now contains 1 members
03:19:22.888697 == Info: Trying ::1:8991...
03:19:22.889344 == Info: TCP_NODELAY set
03:19:22.894223 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8a68; line 1547 (connection #0)
03:19:22.908765 == Info: connect to ::1 port 8991 failed: Connection refused
03:19:22.911097 == Info: Trying 127.0.0.1:8991...
03:19:22.911167 == Info: TCP_NODELAY set
03:19:22.919373 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:19:22.919892 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8a68; line 1665 (connection #0)
03:19:22.920983 == Info: Marked for [keep alive]: HTTP default
03:19:22.971944 == Info: ALPN, offering h2
03:19:22.972225 == Info: ALPN, offering http/1.1
03:19:23.062667 == Info: successfully set certificate verify locations:
03:19:23.062926 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:19:23.180511 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:23.185803 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:19:23.185862 => Send SSL data, 166 bytes (0xa6)
0000: ......4.+.C\T..K.ga........|...9...CdF....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:19:23.202952 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:19:23.208361 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:19:23.208424 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y....Q.....K.........&FtsbS.....c.. ....6`.?...p{...^...6...[7F]
0040: ..`..W../....................
03:19:23.253481 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:23.253837 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:19:23.253894 <= 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:23.427954 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:19:23.428180 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:19:23.428235 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..C.......2*U.....~_...~.A.u.A.e.s...;..B~"}u.V...R:....
0040: qu;............v...0..-.R..M'&7GKO=...'.&.CTt4..I.......{.."/.od
0080: ...DG0....!.Rvqa.d.....d.G.^..P....5sI....pP%F.%...\..]...[...M.
00c0: &..CA..5....%.A.....;...(..p~.Q......H....Y..*...Q>..=.M..POM._+
0100: ......>.wVB.........Y...:....8w m.UV..A............s.kx7..py../e
0140: j...!.P....D$
03:19:23.442963 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:23.443152 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:19:23.443206 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:19:23.558663 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:19:23.558874 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:19:23.558929 => Send SSL data, 70 bytes (0x46)
0000: ...BA.B x...x...&.0.a.e#.S...f......d.,.....4.......!!..l..R..@.
0040: e.&..C
03:19:23.570883 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:23.571467 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:19:23.571523 => Send SSL data, 1 bytes (0x1)
0000: .
03:19:23.592920 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:19:23.592980 => Send SSL data, 16 bytes (0x10)
0000: ......s....W3K..
03:19:23.605452 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:19:23.608216 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:23.609319 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:19:23.609376 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:19:23.611819 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:19:23.617504 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:19:23.617559 <= Recv SSL data, 16 bytes (0x10)
0000: .....U.F.G6...=.
03:19:23.645729 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:19:23.646409 == Info: ALPN, server did not agree to a protocol
03:19:23.649011 == Info: Server certificate:
03:19:23.657040 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
03:19:23.661751 == Info: start date: Sep 19 07:13:14 2018 GMT
03:19:23.663113 == Info: expire date: Dec 6 07:13:14 2026 GMT
03:19:23.666315 == Info: subjectAltName: host "localhost" matched cert's "localhost"
03:19:23.668613 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
03:19:23.669197 == Info: SSL certificate verify ok.
03:19:23.675857 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8a68; line 1685 (connection #0)
03:19:23.696602 => Send SSL data, 5 bytes (0x5)
0000: ....n
03:19:23.699498 => 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:23.702420 == Info: STATE: DO => DO_DONE handle 0x56c8a68; line 1756 (connection #0)
03:19:23.702886 == Info: STATE: DO_DONE => PERFORM handle 0x56c8a68; line 1877 (connection #0)
03:19:23.707333 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:19:23.716499 == Info: Mark bundle as not supporting multiuse
03:19:23.717093 == Info: HTTP 1.1 or later with persistent connection
03:19:23.719809 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:23.727147 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:19:23.727967 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:23.728196 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:23.728602 <= Recv SSL data, 5 bytes (0x5)
0000: ..../
03:19:23.729739 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:23.732224 <= Recv header, 1 bytes (0x1)
0000: .
03:19:23.732888 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:19:23.736520 == Info: STATE: PERFORM => DONE handle 0x56c8a68; line 2067 (connection #0)
03:19:23.736848 == Info: multi_done
03:19:23.745986 == Info: Connection #0 to host localhost left intact
03:19:23.747828 == Info: Expire cleared (transfer 0x56c8a68)
=== End of file trace2034
=== Start of file valgrind2034
==31922== Invalid read of size 8
==31922== at 0x53335A5: check_free (dlerror.c:188)
==31922== by 0x5333AB1: free_key_mem (dlerror.c:221)
==31922== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==31922== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==31922== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==31922== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==31922== by 0x4C4AEB9: exit (exit.c:139)
==31922== by 0x4C350A1: (below main) (libc-start.c:342)
==31922== Address 0x57672c0 is 0 bytes after a block of size 32 alloc'd
==31922== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31922== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31922== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31922== by 0x24AE36: err_get_state (err.c:210)
==31922== by 0x24BA0C: ERR_put_error (err.c:636)
==31922== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31922== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31922== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31922== by 0x270058: by_file_ctrl (by_file.c:111)
==31922== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31922== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31922== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31922== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31922== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31922== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31922== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31922==
==31922== Invalid free() / delete / delete[] / realloc()
==31922== at 0x48369AB: free (vg_replace_malloc.c:540)
==31922== by 0x5333AB9: free_key_mem (dlerror.c:223)
==31922== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==31922== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==31922== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==31922== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==31922== by 0x4C4AEB9: exit (exit.c:139)
==31922== by 0x4C350A1: (below main) (libc-start.c:342)
==31922== Address 0x57672a8 is 8 bytes inside a block of size 32 alloc'd
==31922== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31922== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31922== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31922== by 0x24AE36: err_get_state (err.c:210)
==31922== by 0x24BA0C: ERR_put_error (err.c:636)
==31922== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31922== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31922== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31922== by 0x270058: by_file_ctrl (by_file.c:111)
==31922== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31922== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31922== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31922== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31922== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31922== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31922== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31922==
==31922== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==31922== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31922== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31922== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31922== by 0x24AE36: err_get_state (err.c:210)
==31922== by 0x24BA0C: ERR_put_error (err.c:636)
==31922== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31922== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31922== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31922== by 0x270058: by_file_ctrl (by_file.c:111)
==31922== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31922== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31922== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31922== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31922== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31922== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31922== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31922==
=== End of file valgrind2034
test 2035...[HTTPS wrong DER pinnedpubkey but right CN]
goto problem 28
valgrind ERROR ==31930== Invalid read of size 8
==31930== at 0x53335A5: check_free (dlerror.c:188)
==31930== by 0x5333AB1: free_key_mem (dlerror.c:221)
==31930== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==31930== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==31930== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==31930== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==31930== by 0x4C4AEB9: exit (exit.c:139)
==31930== by 0x4C350A1: (below main) (libc-start.c:342)
==31930== Address 0x57672c0 is 0 bytes after a block of size 32 alloc'd
==31930== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31930== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31930== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31930== by 0x24AE36: err_get_state (err.c:210)
==31930== by 0x24BA0C: ERR_put_error (err.c:636)
==31930== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31930== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31930== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31930== by 0x270058: by_file_ctrl (by_file.c:111)
==31930== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31930== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31930== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31930== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31930== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31930== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31930== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31930==
==31930== Invalid free() / delete / delete[] / realloc()
==31930== at 0x48369AB: free (vg_replace_malloc.c:540)
==31930== by 0x5333AB9: free_key_mem (dlerror.c:223)
==31930== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==31930== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==31930== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==31930== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==31930== by 0x4C4AEB9: exit (exit.c:139)
==31930== by 0x4C350A1: (below main) (libc-start.c:342)
==31930== Address 0x57672a8 is 8 bytes inside a block of size 32 alloc'd
==31930== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31930== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31930== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31930== by 0x24AE36: err_get_state (err.c:210)
==31930== by 0x24BA0C: ERR_put_error (err.c:636)
==31930== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31930== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31930== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31930== by 0x270058: by_file_ctrl (by_file.c:111)
==31930== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31930== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31930== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31930== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31930== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31930== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31930== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31930==
==31930== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==31930== at 0x483577F: malloc (vg_replace_malloc.c:309)
==31930== by 0x25BFB4: OPENSSL_malloc (mem.c:106)
==31930== by 0x26EC60: CRYPTO_set_thread_local (thread_pthread.c:182)
==31930== by 0x24AE36: err_get_state (err.c:210)
==31930== by 0x24BA0C: ERR_put_error (err.c:636)
==31930== by 0x2606AC: PEM_read_bio (pem_lib.c:622)
==31930== by 0x32DF27: PEM_X509_INFO_read_bio (pem_info.c:166)
==31930== by 0x270576: X509_load_cert_crl_file (by_file.c:255)
==31930== by 0x270058: by_file_ctrl (by_file.c:111)
==31930== by 0x273C12: X509_LOOKUP_ctrl (x509_lu.c:123)
==31930== by 0x2730F3: X509_STORE_load_locations (x509_d2.c:91)
==31930== by 0x1F7077: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==31930== by 0x1C7A1D: ossl_connect_step1 (openssl.c:2615)
==31930== by 0x1CA6A0: ossl_connect_common (openssl.c:3571)
==31930== by 0x1CA91C: Curl_ossl_connect_nonblocking (openssl.c:3657)
==31930== by 0x182224: Curl_ssl_connect_nonblocking (vtls.c:275)
==31930==
== Contents of files in the log/ dir after test 2035
=== Start of file http_server.log
03:19:25.613645 ====> Client connect
03:19:25.613689 accept_connection 3 returned 4
03:19:25.613709 accept_connection 3 returned 0
03:19:25.698773 Connection closed by client
03:19:25.698806 ====> 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:24.785209 == Info: STATE: INIT => CONNECT handle 0x56c8a68; line 1491 (connection #-5000)
03:19:24.840011 == Info: Added connection 0. The cache now contains 1 members
03:19:24.895065 == Info: Trying ::1:8991...
03:19:24.895718 == Info: TCP_NODELAY set
03:19:24.900587 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8a68; line 1547 (connection #0)
03:19:24.915771 == Info: connect to ::1 port 8991 failed: Connection refused
03:19:24.918289 == Info: Trying 127.0.0.1:8991...
03:19:24.918389 == Info: TCP_NODELAY set
03:19:24.926807 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:19:24.927331 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8a68; line 1665 (connection #0)
03:19:24.928421 == Info: Marked for [keep alive]: HTTP default
03:19:24.979313 == Info: ALPN, offering h2
03:19:24.979591 == Info: ALPN, offering http/1.1
03:19:25.070404 == Info: successfully set certificate verify locations:
03:19:25.070666 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:19:25.188085 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:25.193355 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:19:25.193413 => Send SSL data, 166 bytes (0xa6)
0000: ........?0PCo.E~'.........n.....o.........+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:19:25.210474 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:19:25.215881 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:19:25.215937 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...|:9....T.........g9M........... 6..L.UH.1.6.....:.l......
0040: j...b.../....................
03:19:25.260973 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:25.261331 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:19:25.261389 <= 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: