curl / Autobuilds / Log From 2019-08-14

Log from 2019-08-14

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

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

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

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

testcurl: configure seems to have finished fine

testcurl: display libcurl.pc

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

testcurl: display lib/curl_config.h

#define CURLDEBUG 1
#define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
#define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default")))
#define CURL_SA_FAMILY_T sa_family_t
#define DEBUGBUILD 1
#define ENABLE_IPV6 1
#define GETHOSTNAME_TYPE_ARG2 size_t
#define GETSERVBYPORT_R_ARGS 6
#define GETSERVBYPORT_R_BUFSIZE 4096
#define HAVE_ALARM 1
#define HAVE_ALLOCA_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_ARPA_TFTP_H 1
#define HAVE_ASSERT_H 1
#define HAVE_BASENAME 1
#define HAVE_BOOL_T 1
#define HAVE_BORINGSSL 1
#define HAVE_BROTLI 1
#define HAVE_BROTLI_DECODE_H 1
#define HAVE_CLOCK_GETTIME_MONOTONIC 1
#define HAVE_CONNECT 1
#define HAVE_DECL_GETPWUID_R 1
#define HAVE_DLFCN_H 1
#define HAVE_ERRNO_H 1
#define HAVE_FCNTL 1
#define HAVE_FCNTL_H 1
#define HAVE_FCNTL_O_NONBLOCK 1
#define HAVE_FNMATCH 1
#define HAVE_FREEADDRINFO 1
#define HAVE_FREEIFADDRS 1
#define HAVE_FSETXATTR 1
#define HAVE_FSETXATTR_5 1
#define HAVE_FTRUNCATE 1
#define HAVE_GAI_STRERROR 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETADDRINFO_THREADSAFE 1
#define HAVE_GETEUID 1
#define HAVE_GETHOSTBYADDR 1
#define HAVE_GETHOSTBYADDR_R 1
#define HAVE_GETHOSTBYADDR_R_8 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETHOSTBYNAME_R 1
#define HAVE_GETHOSTBYNAME_R_6 1
#define HAVE_GETHOSTNAME 1
#define HAVE_GETIFADDRS 1
#define HAVE_GETPEERNAME 1
#define HAVE_GETPPID 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWUID_R 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETSERVBYPORT_R 1
#define HAVE_GETSOCKNAME 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_GMTIME_R 1
#define HAVE_GSSAPI 1
#define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
#define HAVE_GSSAPI_GSSAPI_H 1
#define HAVE_GSSAPI_GSSAPI_KRB5_H 1
#define HAVE_GSSMIT 1
#define HAVE_IDN2_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_INTTYPES_H 1
#define HAVE_IOCTL 1
#define HAVE_IOCTL_FIONBIO 1
#define HAVE_IOCTL_SIOCGIFADDR 1
#define HAVE_LBER_H 1
#define HAVE_LDAP_H 1
#define HAVE_LDAP_INIT_FD 1
#define HAVE_LDAP_SSL 1
#define HAVE_LDAP_URL_PARSE 1
#define HAVE_LIBBROTLIDEC 1
#define HAVE_LIBGEN_H 1
#define HAVE_LIBIDN2 1
#define HAVE_LIBRTMP_RTMP_H 1
#define HAVE_LIBSSL 1
#define HAVE_LIBZ 1
#define HAVE_LINUX_TCP_H 1
#define HAVE_LL 1
#define HAVE_LOCALE_H 1
#define HAVE_LOCALTIME_R 1
#define HAVE_LONGLONG 1
#define HAVE_MALLOC_H 1
#define HAVE_MEMORY_H 1
#define HAVE_MSG_NOSIGNAL 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_NET_IF_H 1
#define HAVE_NGHTTP2_NGHTTP2_H 1
#define HAVE_OPENSSL_CRYPTO_H 1
#define HAVE_OPENSSL_ERR_H 1
#define HAVE_OPENSSL_PEM_H 1
#define HAVE_OPENSSL_RSA_H 1
#define HAVE_OPENSSL_SSL_H 1
#define HAVE_OPENSSL_VERSION 1
#define HAVE_OPENSSL_X509_H 1
#define HAVE_PIPE 1
#define HAVE_POLL 1
#define HAVE_POLL_FINE 1
#define HAVE_POLL_H 1
#define HAVE_POSIX_STRERROR_R 1
#define HAVE_PWD_H 1
#define HAVE_RAND_EGD 1
#define HAVE_RECV 1
#define HAVE_SELECT 1
#define HAVE_SEND 1
#define HAVE_SETJMP_H 1
#define HAVE_SETLOCALE 1
#define HAVE_SETRLIMIT 1
#define HAVE_SETSOCKOPT 1
#define HAVE_SGTTY_H 1
#define HAVE_SIGACTION 1
#define HAVE_SIGINTERRUPT 1
#define HAVE_SIGNAL 1
#define HAVE_SIGNAL_H 1
#define HAVE_SIGSETJMP 1
#define HAVE_SIG_ATOMIC_T 1
#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
#define HAVE_SOCKET 1
#define HAVE_SOCKETPAIR 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRCASECMP 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR_R 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRNCASECMP 1
#define HAVE_STROPTS_H 1
#define HAVE_STRSTR 1
#define HAVE_STRTOK_R 1
#define HAVE_STRTOLL 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_STRUCT_TIMEVAL 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_POLL_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TIME_H 1
#define HAVE_UNISTD_H 1
#define HAVE_USLEEP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_UTIME_H 1
#define HAVE_VARIADIC_MACROS_C99 1
#define HAVE_VARIADIC_MACROS_GCC 1
#define HAVE_WRITEV 1
#define HAVE_ZLIB_H 1
#define LT_OBJDIR ".libs/"
#define NTLM_WB_ENABLED 1
#define NTLM_WB_FILE "/usr/bin/ntlm_auth"
#define OS "x86_64-pc-linux-gnu"
#define PACKAGE "curl"
#define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
#define PACKAGE_NAME "curl"
#define PACKAGE_STRING "curl -"
#define PACKAGE_TARNAME "curl"
#define PACKAGE_URL ""
#define PACKAGE_VERSION "-"
#define RANDOM_FILE "/dev/urandom"
#define RECV_TYPE_ARG1 int
#define RECV_TYPE_ARG2 void *
#define RECV_TYPE_ARG3 size_t
#define RECV_TYPE_ARG4 int
#define RECV_TYPE_RETV ssize_t
#define RETSIGTYPE void
#define SELECT_QUAL_ARG5
#define SELECT_TYPE_ARG1 int
#define SELECT_TYPE_ARG234 fd_set *
#define SELECT_TYPE_ARG5 struct timeval *
#define SELECT_TYPE_RETV int
#define SEND_QUAL_ARG2 const
#define SEND_TYPE_ARG1 int
#define SEND_TYPE_ARG2 void *
#define SEND_TYPE_ARG3 size_t
#define SEND_TYPE_ARG4 int
#define SEND_TYPE_RETV ssize_t
#define SIZEOF_CURL_OFF_T 8
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_OFF_T 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_TIME_T 8
#define STDC_HEADERS 1
#define STRERROR_R_TYPE_ARG3 size_t
#define TIME_WITH_SYS_TIME 1
#define USE_ARES 1
#define USE_LIBPSL 1
#define USE_LIBRTMP 1
#define USE_MANUAL 1
#define USE_NGHTTP2 1
#define USE_OPENLDAP 1
#define USE_OPENSSL 1
#define USE_UNIX_SOCKETS 1
#define VERSION "-"
#ifndef _ALL_SOURCE
#endif
#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
#endif
#ifndef __cplusplus
#endif
testcurl: make -i
Making all in lib
make[1]: Entering directory '/build-30040/lib'
make all-am
make[2]: Entering directory '/build-30040/lib'
CC libcurl_la-file.lo
CC libcurl_la-timeval.lo
CC libcurl_la-base64.lo
CC libcurl_la-hostip.lo
CC libcurl_la-progress.lo
CC libcurl_la-formdata.lo
CC libcurl_la-cookie.lo
CC libcurl_la-http.lo
CC libcurl_la-sendf.lo
CC libcurl_la-ftp.lo
CC libcurl_la-url.lo
CC libcurl_la-dict.lo
CC libcurl_la-if2ip.lo
CC libcurl_la-speedcheck.lo
CC libcurl_la-ldap.lo
CC libcurl_la-version.lo
CC libcurl_la-getenv.lo
CC libcurl_la-escape.lo
CC libcurl_la-mprintf.lo
CC libcurl_la-telnet.lo
CC libcurl_la-netrc.lo
CC libcurl_la-getinfo.lo
CC libcurl_la-transfer.lo
CC libcurl_la-strcase.lo
CC libcurl_la-easy.lo
CC libcurl_la-security.lo
CC libcurl_la-curl_fnmatch.lo
CC libcurl_la-fileinfo.lo
CC libcurl_la-ftplistparser.lo
CC libcurl_la-wildcard.lo
CC libcurl_la-krb5.lo
CC libcurl_la-memdebug.lo
CC libcurl_la-http_chunks.lo
CC libcurl_la-strtok.lo
CC libcurl_la-connect.lo
CC libcurl_la-llist.lo
CC libcurl_la-hash.lo
CC libcurl_la-multi.lo
CC libcurl_la-content_encoding.lo
CC libcurl_la-share.lo
CC libcurl_la-http_digest.lo
CC libcurl_la-md4.lo
CC libcurl_la-md5.lo
CC libcurl_la-http_negotiate.lo
CC libcurl_la-inet_pton.lo
CC libcurl_la-strtoofft.lo
CC libcurl_la-strerror.lo
CC libcurl_la-amigaos.lo
CC libcurl_la-hostasyn.lo
CC libcurl_la-hostip4.lo
CC libcurl_la-hostip6.lo
CC libcurl_la-hostsyn.lo
CC libcurl_la-inet_ntop.lo
CC libcurl_la-parsedate.lo
CC libcurl_la-select.lo
CC libcurl_la-tftp.lo
CC libcurl_la-splay.lo
CC libcurl_la-strdup.lo
CC libcurl_la-socks.lo
CC libcurl_la-ssh.lo
CC libcurl_la-ssh-libssh.lo
CC libcurl_la-curl_addrinfo.lo
CC libcurl_la-socks_gssapi.lo
CC libcurl_la-socks_sspi.lo
CC libcurl_la-curl_sspi.lo
CC libcurl_la-slist.lo
CC libcurl_la-nonblock.lo
CC libcurl_la-curl_memrchr.lo
CC libcurl_la-imap.lo
CC libcurl_la-pop3.lo
CC libcurl_la-smtp.lo
CC libcurl_la-pingpong.lo
CC libcurl_la-rtsp.lo
CC libcurl_la-curl_threads.lo
CC libcurl_la-warnless.lo
CC libcurl_la-hmac.lo
CC libcurl_la-curl_rtmp.lo
CC libcurl_la-openldap.lo
CC libcurl_la-curl_gethostname.lo
CC libcurl_la-gopher.lo
CC libcurl_la-idn_win32.lo
CC libcurl_la-http_proxy.lo
CC libcurl_la-non-ascii.lo
CC libcurl_la-asyn-ares.lo
CC libcurl_la-asyn-thread.lo
CC libcurl_la-curl_gssapi.lo
CC libcurl_la-http_ntlm.lo
CC libcurl_la-curl_ntlm_wb.lo
CC libcurl_la-curl_ntlm_core.lo
CC libcurl_la-curl_sasl.lo
CC libcurl_la-rand.lo
CC libcurl_la-curl_multibyte.lo
CC libcurl_la-hostcheck.lo
CC libcurl_la-conncache.lo
CC libcurl_la-dotdot.lo
CC libcurl_la-x509asn1.lo
CC libcurl_la-http2.lo
CC libcurl_la-smb.lo
CC libcurl_la-curl_endian.lo
CC libcurl_la-curl_des.lo
CC libcurl_la-system_win32.lo
CC libcurl_la-mime.lo
CC libcurl_la-sha256.lo
CC libcurl_la-setopt.lo
CC libcurl_la-curl_path.lo
CC libcurl_la-curl_ctype.lo
CC libcurl_la-curl_range.lo
CC libcurl_la-psl.lo
CC libcurl_la-doh.lo
CC libcurl_la-urlapi.lo
CC libcurl_la-curl_get_line.lo
CC libcurl_la-altsvc.lo
CC vauth/libcurl_la-vauth.lo
CC vauth/libcurl_la-cleartext.lo
CC vauth/libcurl_la-cram.lo
CC vauth/libcurl_la-digest.lo
CC vauth/libcurl_la-digest_sspi.lo
CC vauth/libcurl_la-krb5_gssapi.lo
CC vauth/libcurl_la-krb5_sspi.lo
CC vauth/libcurl_la-ntlm.lo
CC vauth/libcurl_la-ntlm_sspi.lo
CC vauth/libcurl_la-oauth2.lo
CC vauth/libcurl_la-spnego_gssapi.lo
CC vauth/libcurl_la-spnego_sspi.lo
CC vtls/libcurl_la-openssl.lo
/lib/vtls/openssl.c: In function 'ossl_strerror':
goto problem 2
/lib/vtls/openssl.c:394:22: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
ERR_error_string_n(error, buf, size);
^~~~~
/lib/vtls/openssl.c: In function 'verifyhost':
goto problem 3
/lib/vtls/openssl.c:1539:15: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
numalts = sk_GENERAL_NAME_num(altnames);
^~~~~~~~~~~~~~~~~~~
/lib/vtls/openssl.c: In function 'ossl_connect_step1':
goto problem 4
/lib/vtls/openssl.c:2497:37: warning: conversion from 'long int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
SSL_CTX_set_options(BACKEND->ctx, ctx_options);
^~~~~~~~~~~
/lib/vtls/openssl.c: In function 'get_cert_chain':
goto problem 5
/lib/vtls/openssl.c:3050:14: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
numcerts = sk_X509_num(sk);
^~~~~~~~~~~
CC vtls/libcurl_la-gtls.lo
CC vtls/libcurl_la-vtls.lo
CC vtls/libcurl_la-nss.lo
CC vtls/libcurl_la-polarssl.lo
CC vtls/libcurl_la-polarssl_threadlock.lo
CC vtls/libcurl_la-wolfssl.lo
CC vtls/libcurl_la-schannel.lo
CC vtls/libcurl_la-schannel_verify.lo
CC vtls/libcurl_la-sectransp.lo
CC vtls/libcurl_la-gskit.lo
CC vtls/libcurl_la-mbedtls.lo
CC vtls/libcurl_la-mesalink.lo
CC vquic/libcurl_la-ngtcp2.lo
CC vquic/libcurl_la-ngtcp2-crypto.lo
CC vquic/libcurl_la-quiche.lo
CCLD libcurl.la
CC libcurlu_la-file.lo
CC libcurlu_la-timeval.lo
CC libcurlu_la-base64.lo
CC libcurlu_la-hostip.lo
CC libcurlu_la-progress.lo
CC libcurlu_la-formdata.lo
CC libcurlu_la-cookie.lo
CC libcurlu_la-http.lo
CC libcurlu_la-sendf.lo
CC libcurlu_la-ftp.lo
CC libcurlu_la-url.lo
CC libcurlu_la-dict.lo
CC libcurlu_la-if2ip.lo
CC libcurlu_la-speedcheck.lo
CC libcurlu_la-ldap.lo
CC libcurlu_la-version.lo
CC libcurlu_la-getenv.lo
CC libcurlu_la-escape.lo
CC libcurlu_la-mprintf.lo
CC libcurlu_la-telnet.lo
CC libcurlu_la-netrc.lo
CC libcurlu_la-getinfo.lo
CC libcurlu_la-transfer.lo
CC libcurlu_la-strcase.lo
CC libcurlu_la-easy.lo
CC libcurlu_la-security.lo
CC libcurlu_la-curl_fnmatch.lo
CC libcurlu_la-fileinfo.lo
CC libcurlu_la-ftplistparser.lo
CC libcurlu_la-wildcard.lo
CC libcurlu_la-krb5.lo
CC libcurlu_la-memdebug.lo
CC libcurlu_la-http_chunks.lo
CC libcurlu_la-strtok.lo
CC libcurlu_la-connect.lo
CC libcurlu_la-llist.lo
CC libcurlu_la-hash.lo
CC libcurlu_la-multi.lo
CC libcurlu_la-content_encoding.lo
CC libcurlu_la-share.lo
CC libcurlu_la-http_digest.lo
CC libcurlu_la-md4.lo
CC libcurlu_la-md5.lo
CC libcurlu_la-http_negotiate.lo
CC libcurlu_la-inet_pton.lo
CC libcurlu_la-strtoofft.lo
CC libcurlu_la-strerror.lo
CC libcurlu_la-amigaos.lo
CC libcurlu_la-hostasyn.lo
CC libcurlu_la-hostip4.lo
CC libcurlu_la-hostip6.lo
CC libcurlu_la-hostsyn.lo
CC libcurlu_la-inet_ntop.lo
CC libcurlu_la-parsedate.lo
CC libcurlu_la-select.lo
CC libcurlu_la-tftp.lo
CC libcurlu_la-splay.lo
CC libcurlu_la-strdup.lo
CC libcurlu_la-socks.lo
CC libcurlu_la-ssh.lo
CC libcurlu_la-ssh-libssh.lo
CC libcurlu_la-curl_addrinfo.lo
CC libcurlu_la-socks_gssapi.lo
CC libcurlu_la-socks_sspi.lo
CC libcurlu_la-curl_sspi.lo
CC libcurlu_la-slist.lo
CC libcurlu_la-nonblock.lo
CC libcurlu_la-curl_memrchr.lo
CC libcurlu_la-imap.lo
CC libcurlu_la-pop3.lo
CC libcurlu_la-smtp.lo
CC libcurlu_la-pingpong.lo
CC libcurlu_la-rtsp.lo
CC libcurlu_la-curl_threads.lo
CC libcurlu_la-warnless.lo
CC libcurlu_la-hmac.lo
CC libcurlu_la-curl_rtmp.lo
CC libcurlu_la-openldap.lo
CC libcurlu_la-curl_gethostname.lo
CC libcurlu_la-gopher.lo
CC libcurlu_la-idn_win32.lo
CC libcurlu_la-http_proxy.lo
CC libcurlu_la-non-ascii.lo
CC libcurlu_la-asyn-ares.lo
CC libcurlu_la-asyn-thread.lo
CC libcurlu_la-curl_gssapi.lo
CC libcurlu_la-http_ntlm.lo
CC libcurlu_la-curl_ntlm_wb.lo
CC libcurlu_la-curl_ntlm_core.lo
CC libcurlu_la-curl_sasl.lo
CC libcurlu_la-rand.lo
CC libcurlu_la-curl_multibyte.lo
CC libcurlu_la-hostcheck.lo
CC libcurlu_la-conncache.lo
CC libcurlu_la-dotdot.lo
CC libcurlu_la-x509asn1.lo
CC libcurlu_la-http2.lo
CC libcurlu_la-smb.lo
CC libcurlu_la-curl_endian.lo
CC libcurlu_la-curl_des.lo
CC libcurlu_la-system_win32.lo
CC libcurlu_la-mime.lo
CC libcurlu_la-sha256.lo
CC libcurlu_la-setopt.lo
CC libcurlu_la-curl_path.lo
CC libcurlu_la-curl_ctype.lo
CC libcurlu_la-curl_range.lo
CC libcurlu_la-psl.lo
CC libcurlu_la-doh.lo
CC libcurlu_la-urlapi.lo
CC libcurlu_la-curl_get_line.lo
CC libcurlu_la-altsvc.lo
CC vauth/libcurlu_la-vauth.lo
CC vauth/libcurlu_la-cleartext.lo
CC vauth/libcurlu_la-cram.lo
CC vauth/libcurlu_la-digest.lo
CC vauth/libcurlu_la-digest_sspi.lo
CC vauth/libcurlu_la-krb5_gssapi.lo
CC vauth/libcurlu_la-krb5_sspi.lo
CC vauth/libcurlu_la-ntlm.lo
CC vauth/libcurlu_la-ntlm_sspi.lo
CC vauth/libcurlu_la-oauth2.lo
CC vauth/libcurlu_la-spnego_gssapi.lo
CC vauth/libcurlu_la-spnego_sspi.lo
CC vtls/libcurlu_la-openssl.lo
/lib/vtls/openssl.c: In function 'ossl_strerror':
goto problem 6
/lib/vtls/openssl.c:394:22: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
ERR_error_string_n(error, buf, size);
^~~~~
/lib/vtls/openssl.c: In function 'verifyhost':
goto problem 7
/lib/vtls/openssl.c:1539:15: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
numalts = sk_GENERAL_NAME_num(altnames);
^~~~~~~~~~~~~~~~~~~
/lib/vtls/openssl.c: In function 'ossl_connect_step1':
goto problem 8
/lib/vtls/openssl.c:2497:37: warning: conversion from 'long int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
SSL_CTX_set_options(BACKEND->ctx, ctx_options);
^~~~~~~~~~~
/lib/vtls/openssl.c: In function 'get_cert_chain':
goto problem 9
/lib/vtls/openssl.c:3050:14: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
numcerts = sk_X509_num(sk);
^~~~~~~~~~~
CC vtls/libcurlu_la-gtls.lo
CC vtls/libcurlu_la-vtls.lo
CC vtls/libcurlu_la-nss.lo
CC vtls/libcurlu_la-polarssl.lo
CC vtls/libcurlu_la-polarssl_threadlock.lo
CC vtls/libcurlu_la-wolfssl.lo
CC vtls/libcurlu_la-schannel.lo
CC vtls/libcurlu_la-schannel_verify.lo
CC vtls/libcurlu_la-sectransp.lo
CC vtls/libcurlu_la-gskit.lo
CC vtls/libcurlu_la-mbedtls.lo
CC vtls/libcurlu_la-mesalink.lo
CC vquic/libcurlu_la-ngtcp2.lo
CC vquic/libcurlu_la-ngtcp2-crypto.lo
CC vquic/libcurlu_la-quiche.lo
CCLD libcurlu.la
RUN checksrc
make[2]: Leaving directory '/build-30040/lib'
make[1]: Leaving directory '/build-30040/lib'
Making all in src
make[1]: Entering directory '/build-30040/src'
Making all in ../docs
make[2]: Entering directory '/build-30040/docs'
Making all in .
make[3]: Entering directory '/build-30040/docs'
if test "..x" != "x" -a -e "/docs/curl.1"; then \
/usr/bin/install -c -m 644 "/docs/curl.1" /build-30040/docs/curl.1; fi
cd cmdline-opts && make
make[4]: Entering directory '/build-30040/docs/cmdline-opts'
/usr/bin/perl /docs/cmdline-opts/gen.pl mainpage /docs/cmdline-opts > ../../docs/curl.1
make[4]: Leaving directory '/build-30040/docs/cmdline-opts'
make[3]: Leaving directory '/build-30040/docs'
Making all in cmdline-opts
make[3]: Entering directory '/build-30040/docs/cmdline-opts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-30040/docs/cmdline-opts'
make[2]: Leaving directory '/build-30040/docs'
make[2]: Entering directory '/build-30040/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-30040/src'
make[1]: Leaving directory '/build-30040/src'
make[1]: Entering directory '/build-30040'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/build-30040'
testcurl: libcurl was created fine (libcurl.la)
testcurl: curl was created fine (curl)
testcurl: display curl --version output
curl 7.66.0-DEV (x86_64-pc-linux-gnu) libcurl/7.66.0-DEV BoringSSL zlib/1.2.11 brotli/1.0.7 c-ares/1.15.0 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.37.0 librtmp/2.3
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS brotli Debug GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TrackMemory UnixSockets
testcurl: make -k test-full
make[1]: Entering directory '/build-30040/tests'
Making all in certs
make[2]: Entering directory '/build-30040/tests/certs'
Making all in scripts
make[3]: Entering directory '/build-30040/tests/certs/scripts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-30040/tests/certs/scripts'
make[3]: Entering directory '/build-30040/tests/certs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build-30040/tests/certs'
make[2]: Leaving directory '/build-30040/tests/certs'
Making all in data
make[2]: Entering directory '/build-30040/tests/data'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build-30040/tests/data'
Making all in server
make[2]: Entering directory '/build-30040/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-30040/tests/server'
Making all in libtest
make[2]: Entering directory '/build-30040/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-30040/tests/libtest'
Making all in unit
make[2]: Entering directory '/build-30040/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-30040/tests/unit'
make[2]: Entering directory '/build-30040/tests'
cd libtest && make checksrc
make[3]: Entering directory '/build-30040/tests/libtest'
RUN checksrc
make[3]: Leaving directory '/build-30040/tests/libtest'
cd unit && make checksrc
make[3]: Entering directory '/build-30040/tests/unit'
RUN checksrc
make[3]: Leaving directory '/build-30040/tests/unit'
cd server && make checksrc
make[3]: Entering directory '/build-30040/tests/server'
RUN checksrc
make[3]: Leaving directory '/build-30040/tests/server'
make[2]: Leaving directory '/build-30040/tests'
srcdir=/tests /usr/bin/perl -I/tests /tests/runtests.pl -a -p -r
********* System characteristics ********
* curl 7.66.0-DEV (x86_64-pc-linux-gnu)
* libcurl/7.66.0-DEV BoringSSL zlib/1.2.11 brotli/1.0.7 c-ares/1.15.0 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.37.0 librtmp/2.3
* Features: AsynchDNS brotli Debug GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TrackMemory UnixSockets
* Disabled:
* Host: storebror.haxx.se
* System: Linux storebror.haxx.se 4.19.0-5-amd64 #1 SMP Debian 4.19.37-6 (2019-07-18) x86_64 GNU/Linux
* Servers: SSL HTTP-IPv6 HTTP-unix FTP-IPv6
* Env: Valgrind
*****************************************
test 0001...[HTTP GET]
--pd---emv- OK (1 out of 1250, remaining: 67:35, took 3.2s, duration: 00:03)
test 0002...[HTTP GET with user and password]
--pd---emv- OK (2 out of 1250, remaining: 46:58, took 1.3s, duration: 00:04)
test 0003...[HTTP POST with auth and contents but with content-length set to 0]
--pd---emv- OK (3 out of 1250, remaining: 39:38, took 1.2s, duration: 00:05)
test 0004...[Replaced internal and added custom HTTP headers]
--pd---emv- OK (4 out of 1250, remaining: 36:25, took 1.3s, duration: 00:07)
test 0005...[HTTP over proxy]
--pd---emv- OK (5 out of 1250, remaining: 34:15, took 1.2s, duration: 00:08)
test 0006...[HTTP with simple cookie send]
--pd---emv- OK (6 out of 1250, remaining: 32:45, took 1.2s, duration: 00:09)
test 0007...[HTTP with cookie parser and header recording]
--pd--oemv- OK (7 out of 1250, remaining: 31:49, took 1.3s, duration: 00:10)
test 0008...[HTTP with cookie parsing from header file]
--pd---emv- OK (8 out of 1250, remaining: 31:06, took 1.3s, duration: 00:12)
test 0009...[HTTP RFC1867-type formposting]
--pd---emv- OK (9 out of 1250, remaining: 30:30, took 1.3s, duration: 00:13)
test 0010...[simple HTTP PUT from file]
--pd---emv- OK (10 out of 1250, remaining: 32:04, took 2.3s, duration: 00:15)
test 0011...[simple HTTP Location: following]
--pd---emv- OK (11 out of 1250, remaining: 31:25, took 1.2s, duration: 00:16)
test 0012...[HTTP range support]
--pd---emv- OK (12 out of 1250, remaining: 30:50, took 1.2s, duration: 00:17)
test 0013...[HTTP custom request 'DELETE']
--pd---emv- OK (13 out of 1250, remaining: 30:22, took 1.2s, duration: 00:19)
test 0014...[HTTP HEAD with Connection: close]
--pd---emv- OK (14 out of 1250, remaining: 29:56, took 1.2s, duration: 00:20)
test 0015...[--write-out test]
s-p----emv- OK (15 out of 1250, remaining: 29:33, took 1.2s, duration: 00:21)
test 0016...[HTTP with proxy authorization]
--pd---emv- OK (16 out of 1250, remaining: 29:15, took 1.2s, duration: 00:22)
test 0017...[HTTP with config file on stdin]
--pd---emv- OK (17 out of 1250, remaining: 29:03, took 1.3s, duration: 00:24)
test 0018...[multiple requests using {} in URL]
s-p----emv- OK (18 out of 1250, remaining: 28:52, took 1.3s, duration: 00:25)
test 0019...[attempt connect to non-listening socket]
-------emv- OK (19 out of 1250, remaining: 28:36, took 1.2s, duration: 00:26)
test 0020...[attempt connect to non-existing host name]
-------emv- OK (20 out of 1250, remaining: 28:20, took 1.1s, duration: 00:27)
test 0021...[use curl with multiple request methods]
-------emv- OK (21 out of 1250, remaining: 27:49, took 0.9s, duration: 00:28)
test 0022...[get HTTP with URL > 10000 bytes]
--pd---emv- OK (22 out of 1250, remaining: 27:44, took 1.3s, duration: 00:29)
test 0023...[unsupported protocol:// URL]
-------emv- OK (23 out of 1250, remaining: 27:29, took 1.1s, duration: 00:30)
test 0024...[HTTP GET fail silently on HTTP error return]
--p---oemv- OK (24 out of 1250, remaining: 27:19, took 1.2s, duration: 00:32)
test 0025...[looping HTTP Location: following with --max-redirs]
--pd---emv- OK (25 out of 1250, remaining: 27:14, took 1.3s, duration: 00:33)
test 0026...[specify more -o than URLs]
--pd---emv- OK (26 out of 1250, remaining: 27:07, took 1.2s, duration: 00:34)
test 0027...[Get same cookie page several times]
--pd---emv- OK (27 out of 1250, remaining: 27:04, took 1.3s, duration: 00:35)
test 0028...[HTTP Location: following with extra spaces in header]
--pd---emv- OK (28 out of 1250, remaining: 26:58, took 1.2s, duration: 00:37)
test 0029...[HTTP with 2 secs timeout]
Warning: server logs lock timeout (2 seconds) expired
--pd---emv- OK (29 out of 1250, remaining: 29:35, took 5.1s, duration: 00:42)
test 0030...[HTTP with no data in server reply]
--p----emv- OK (30 out of 1250, remaining: 32:47, took 6.2s, duration: 00:48)
test 0031...[HTTP with weirdly formatted cookies and cookiejar storage]
--pd--oemv- OK (31 out of 1250, remaining: 32:32, took 1.3s, duration: 00:49)
test 0032...[HTTP with -d and -G]
--pd---emv- OK (32 out of 1250, remaining: 32:15, took 1.2s, duration: 00:50)
test 0033...[HTTP PUT with resume]
--pd---emv- OK (33 out of 1250, remaining: 32:37, took 2.2s, duration: 00:53)
test 0034...[HTTP GET with chunked Transfer-Encoding]
--pd---emv- OK (34 out of 1250, remaining: 32:21, took 1.2s, duration: 00:54)
test 0035...[HTTP POST binary data with embedded NUL]
--pd---emv- OK (35 out of 1250, remaining: 32:07, took 1.2s, duration: 00:55)
test 0036...[HTTP GET with bad chunked Transfer-Encoding]
--pd---emv- OK (36 out of 1250, remaining: 31:52, took 1.2s, duration: 00:56)
test 0037...[HTTP GET with nothing returned from server]
--p----emv- OK (37 out of 1250, remaining: 31:39, took 1.2s, duration: 00:57)
test 0038...[HTTP resume request without server supporting it]
--p---oemv- OK (38 out of 1250, remaining: 31:26, took 1.2s, duration: 00:59)
test 0039...[HTTP RFC1867-type formposting with filename= and type=]
--pd---emv- OK (39 out of 1250, remaining: 31:46, took 2.3s, duration: 01:01)
test 0040...[HTTP redirect with whitespace after ? (and conversion)]
--pd---emv- OK (40 out of 1250, remaining: 31:37, took 1.3s, duration: 01:02)
test 0041...[HTTP formpost with missing file]
-------emv- OK (41 out of 1250, remaining: 31:18, took 1.0s, duration: 01:03)
test 0042...[HTTP redirect with whitespace in path (and conversion)]
--pd---emv- OK (42 out of 1250, remaining: 31:09, took 1.3s, duration: 01:05)
test 0043...[HTTP Location: following over HTTP proxy]
--pd---emv- OK (43 out of 1250, remaining: 31:00, took 1.3s, duration: 01:06)
test 0044...[HTTP RFC1867-type formposting without Expect: header]
--pd---emv- OK (44 out of 1250, remaining: 30:50, took 1.3s, duration: 01:07)
test 0045...[simple HTTP Location: without protocol in initial URL]
--pd---emv- OK (45 out of 1250, remaining: 30:40, took 1.2s, duration: 01:08)
test 0046...[HTTP with bad domain name, get cookies and store in cookie jar]
--pd--oemv- OK (46 out of 1250, remaining: 30:34, took 1.4s, duration: 01:10)
test 0047...[simple HTTP 1.0 GET]
--pd---emv- OK (47 out of 1250, remaining: 30:26, took 1.3s, duration: 01:11)
test 0048...[HTTP with -d and -G and -I]
--pd---emv- OK (48 out of 1250, remaining: 30:18, took 1.3s, duration: 01:12)
test 0049...[HTTP follow redirect with ../]
--pd---emv- OK (49 out of 1250, remaining: 30:11, took 1.3s, duration: 01:13)
test 0050...[HTTP follow redirect with ../../]
--pd---emv- OK (50 out of 1250, remaining: 30:05, took 1.3s, duration: 01:15)
test 0051...[HTTP follow redirect with excessive ../]
--pd---emv- OK (51 out of 1250, remaining: 29:58, took 1.3s, duration: 01:16)
test 0052...[HTTP follow redirect with ./-prefix]
--pd---emv- OK (52 out of 1250, remaining: 29:52, took 1.3s, duration: 01:17)
test 0053...[HTTP, junk session cookies]
--pd---emv- OK (53 out of 1250, remaining: 29:44, took 1.2s, duration: 01:19)
test 0054...[HTTP with blank Location:]
--pd---emv- OK (54 out of 1250, remaining: 29:37, took 1.2s, duration: 01:20)
test 0055...[HTTP follow redirect with single slash in path]
--pd---emv- OK (55 out of 1250, remaining: 29:31, took 1.3s, duration: 01:21)
test 0056...[HTTP POST with *HUGE* request and chunked transfer-encoding]
--pd---emv- OK (56 out of 1250, remaining: 29:33, took 1.7s, duration: 01:23)
test 0057...[HTTP content-type with spaces in]
s-p----emv- OK (57 out of 1250, remaining: 29:27, took 1.3s, duration: 01:24)
test 0058...[HTTP PUT from file with weird letters]
--pd---emv- OK (58 out of 1250, remaining: 29:42, took 2.3s, duration: 01:26)
test 0059...[HTTP URL with slash but with "parameter"]
--pd---emv- OK (59 out of 1250, remaining: 29:35, took 1.2s, duration: 01:27)
test 0060...[HTTP PUT from stdin with wrong content-length]
--pd---emv- OK (60 out of 1250, remaining: 29:49, took 2.3s, duration: 01:30)
test 0061...[HTTP with various cookies and custom Host:]
--pd--oemv- OK (61 out of 1250, remaining: 29:42, took 1.2s, duration: 01:31)
test 0062...[HTTP, send cookies when using custom Host:]
--pd---emv- OK (62 out of 1250, remaining: 29:37, took 1.3s, duration: 01:32)
test 0063...[HTTP with proxy authorization set in environment]
--pd---emv- OK (63 out of 1250, remaining: 29:30, took 1.2s, duration: 01:33)
test 0064...[HTTP with Digest authorization]
--pd---emv- OK (64 out of 1250, remaining: 29:24, took 1.3s, duration: 01:35)
test 0065...[HTTP with Digest authorization with bad password]
--pd---emv- OK (65 out of 1250, remaining: 29:19, took 1.2s, duration: 01:36)
test 0066...[HTTP GET without headers in the response]
--pd---emv- OK (66 out of 1250, remaining: 29:12, took 1.2s, duration: 01:37)
test 0067...[HTTP with NTLM authorization]
--pd---emv- OK (67 out of 1250, remaining: 29:07, took 1.3s, duration: 01:38)
test 0068...[HTTP with NTLM authorization and wrong password]
--pd---emv- OK (68 out of 1250, remaining: 29:03, took 1.3s, duration: 01:40)
test 0069...[HTTP with NTLM, Basic or Wild-and-crazy authorization]
--pd---emv- OK (69 out of 1250, remaining: 28:59, took 1.3s, duration: 01:41)
test 0070...[HTTP with Digest *OR* NTLM authorization]
--pd---emv- OK (70 out of 1250, remaining: 28:54, took 1.3s, duration: 01:42)
test 0071...[HTTP and -F upload in config file]
--pd---emv- OK (71 out of 1250, remaining: 28:49, took 1.2s, duration: 01:44)
test 0072...[HTTP with Digest *OR* Basic authorization]
--pd---emv- OK (72 out of 1250, remaining: 28:44, took 1.2s, duration: 01:45)
test 0073...[HTTP, receive cookies when using custom Host:, domain using only two dots]
--pd--oemv- OK (73 out of 1250, remaining: 28:38, took 1.2s, duration: 01:46)
test 0074...[HTTP, urlglob {}-retrieval and -o #[num] usage]
--p---oemv- OK (74 out of 1250, remaining: 28:34, took 1.3s, duration: 01:47)
test 0075...[HTTP, urlglob retrieval with bad range]
s------emv- OK (75 out of 1250, remaining: 28:24, took 0.9s, duration: 01:48)
test 0076...[HTTP, -O with no file name part in the URL]
-------emv- OK (76 out of 1250, remaining: 28:15, took 0.9s, duration: 01:49)
test 0077...[HTTP with -z "older date"]
--pd---emv- OK (77 out of 1250, remaining: 28:10, took 1.2s, duration: 01:50)
test 0078...[HTTP with -z "newer date"]
--pd---emv- OK (78 out of 1250, remaining: 28:05, took 1.2s, duration: 01:52)
test 0079...[FTP over HTTP proxy]
--pd---emv- OK (79 out of 1250, remaining: 28:01, took 1.2s, duration: 01:53)
test 0080...[HTTP 1.0 CONNECT with proxytunnel and proxy+host Basic authentication]
--pd-P-emv- OK (80 out of 1250, remaining: 28:33, took 3.7s, duration: 01:57)
test 0081...[HTTP with proxy using NTLM authorization]
--pd---emv- OK (81 out of 1250, remaining: 28:30, took 1.4s, duration: 01:58)
test 0082...[HTTP with proxy requiring NTLM, but we send Basic]
--pd---emv- OK (82 out of 1250, remaining: 28:25, took 1.2s, duration: 01:59)
test 0083...[HTTP over proxy-tunnel with site authentication]
--pd-P-emv- OK (83 out of 1250, remaining: 28:27, took 1.7s, duration: 02:01)
test 0084...[HTTP over proxy with site authentication]
--pd---emv- OK (84 out of 1250, remaining: 28:23, took 1.3s, duration: 02:02)
test 0085...[HTTP over proxy with site and proxy authentication]
--pd---emv- OK (85 out of 1250, remaining: 28:19, took 1.3s, duration: 02:03)
test 0086...[HTTP, urlglob []-retrieval and -o #[num] usage]
--p---oemv- OK (86 out of 1250, remaining: 28:16, took 1.4s, duration: 02:05)
test 0087...[urlglob with out of range -o #[num] usage]
------oemv- OK (87 out of 1250, remaining: 28:12, took 1.3s, duration: 02:06)
test 0088...[HTTP PUT with Digest authorization]
--pd---emv- OK (88 out of 1250, remaining: 28:22, took 2.3s, duration: 02:08)
test 0089...[HTTP with NTLM and follow-location]
--pd---emv- OK (89 out of 1250, remaining: 28:19, took 1.4s, duration: 02:10)
test 0090...[HTTP with NTLM via --anyauth, and then follow-location with NTLM again]
--pd---emv- OK (90 out of 1250, remaining: 28:18, took 1.5s, duration: 02:11)
test 0091...[HTTP with NTLM/Negotiate/Basic, anyauth and user with domain, with size 0]
--pd---emv- OK (91 out of 1250, remaining: 28:15, took 1.3s, duration: 02:13)
test 0092...[HTTP resume transfer with the whole file already downloaded]
--pd---emv- OK (92 out of 1250, remaining: 28:10, took 1.2s, duration: 02:14)
test 0093...[HTTP GET with failed proxy auth]
--pd---emv- OK (93 out of 1250, remaining: 28:06, took 1.3s, duration: 02:15)
test 0094...[HTTPS GET with failed proxy auth (CONNECT 1.0)]
--p----emv- OK (94 out of 1250, remaining: 28:01, took 1.2s, duration: 02:16)
test 0095...[HTTP over proxytunnel using POST]
--pd-P-emv- OK (95 out of 1250, remaining: 28:02, took 1.7s, duration: 02:18)
test 0096...[curl memory tracking operational]
------oemv- OK (96 out of 1250, remaining: 27:54, took 0.9s, duration: 02:19)
test 0097...[HTTP POST with custom content-type]
--pd---emv- OK (97 out of 1250, remaining: 27:49, took 1.2s, duration: 02:20)
test 0098...[HTTP PUT from stdin with set size, disabling chunked transfer-encoding]
--pd---emv- OK (98 out of 1250, remaining: 27:57, took 2.2s, duration: 02:22)
test 0099...[HTTP GET with large-file resume point and failed resume]
--pd---emv- OK (99 out of 1250, remaining: 27:53, took 1.2s, duration: 02:23)
test 0100...[FTP dir list PASV]
--pd---emv- OK (100 out of 1250, remaining: 28:12, took 3.3s, duration: 02:27)
test 0101...[FTP dir list, PORT with specified IP]
--pd---emv- OK (101 out of 1250, remaining: 28:08, took 1.2s, duration: 02:28)
test 0102...[FTP RETR PASV]
--pd---emv- OK (102 out of 1250, remaining: 28:05, took 1.3s, duration: 02:29)
test 0103...[FTP RETR PORT with CWD]
--pd---emv- OK (103 out of 1250, remaining: 28:01, took 1.3s, duration: 02:31)
test 0104...[FTP --head to get file size only]
--p----emv- OK (104 out of 1250, remaining: 27:57, took 1.2s, duration: 02:32)
test 0105...[FTP user+password in URL and ASCII transfer]
--pd---emv- OK (105 out of 1250, remaining: 27:53, took 1.2s, duration: 02:33)
test 0106...[FTP GET with type=A style ASCII URL using %20 codes]
--pd---emv- OK (106 out of 1250, remaining: 27:49, took 1.2s, duration: 02:34)
test 0107...[FTP PASV upload file]
--p-u--emv- OK (107 out of 1250, remaining: 27:46, took 1.3s, duration: 02:36)
test 0108...[FTP PORT upload with CWD]
--p-u--emv- OK (108 out of 1250, remaining: 27:42, took 1.2s, duration: 02:37)
test 0109...[FTP PASV upload append]
--p-u--emv- OK (109 out of 1250, remaining: 27:38, took 1.2s, duration: 02:38)
test 0110...[FTP download resume with set limit]
--pd---emv- OK (110 out of 1250, remaining: 27:36, took 1.3s, duration: 02:39)
test 0111...[FTP download resume beyond file size]
Killed
--p----emv- OK (111 out of 1250, remaining: 27:32, took 1.3s, duration: 02:41)
test 0112...[FTP PASV upload resume]
--p-u--emv- OK (112 out of 1250, remaining: 27:29, took 1.2s, duration: 02:42)
test 0113...[FTP download, failed login: USER not valid]
--p----emv- OK (113 out of 1250, remaining: 27:24, took 1.2s, duration: 02:43)
test 0114...[FTP download, failed login: PASS not valid]
--p----emv- OK (114 out of 1250, remaining: 27:20, took 1.2s, duration: 02:44)
test 0115...[FTP download, failed PASV]
--p----emv- OK (115 out of 1250, remaining: 27:17, took 1.2s, duration: 02:45)
test 0116...[FTP download, failed PORT]
--p----emv- OK (116 out of 1250, remaining: 27:13, took 1.2s, duration: 02:47)
test 0117...[FTP download, failed TYPE]
Killed
--p----emv- OK (117 out of 1250, remaining: 27:10, took 1.3s, duration: 02:48)
test 0118...[FTP download, failed RETR]
Killed
--p----emv- OK (118 out of 1250, remaining: 27:07, took 1.2s, duration: 02:49)
test 0119...[FTP download, failed RETR with PORT]
Killed
--p----emv- OK (119 out of 1250, remaining: 27:03, took 1.2s, duration: 02:50)
test 0120...[ftp download with post-quote delete operation]
--pd---emv- OK (120 out of 1250, remaining: 27:00, took 1.2s, duration: 02:52)
test 0121...[ftp download with post- and pre-transfer delete operations]
--pd---emv- OK (121 out of 1250, remaining: 26:57, took 1.3s, duration: 02:53)
test 0122...[FTP download resume with whole file already downloaded]
Killed
--p----emv- OK (122 out of 1250, remaining: 26:53, took 1.2s, duration: 02:54)
test 0123...[FTP upload resume with whole file already downloaded]
Killed
--p----emv- OK (123 out of 1250, remaining: 26:50, took 1.3s, duration: 02:55)
test 0124...[FTP download, failed PWD]
--pd---emv- OK (124 out of 1250, remaining: 26:47, took 1.2s, duration: 02:57)
test 0125...[FTP download, failed CWD]
--p----emv- OK (125 out of 1250, remaining: 26:44, took 1.2s, duration: 02:58)
test 0126...[FTP download with multiple replies at once in RETR]
--pd---emv- OK (126 out of 1250, remaining: 26:41, took 1.3s, duration: 02:59)
test 0127...[FTP --disable-epsv]
--pd---emv- OK (127 out of 1250, remaining: 26:38, took 1.3s, duration: 03:00)
test 0128...[FTP upload with --crlf]
--p-u--emv- OK (128 out of 1250, remaining: 26:35, took 1.3s, duration: 03:02)
test 0129...[FTP GET with type=A style ASCII URL and understated server SIZE]
--pd---emv- OK (129 out of 1250, remaining: 26:32, took 1.2s, duration: 03:03)
test 0130...[FTP (optional .netrc; no user/pass) dir list PASV]
--pd---emv- OK (130 out of 1250, remaining: 26:29, took 1.2s, duration: 03:04)
test 0131...[FTP (optional .netrc; user/no pass) dir list PASV]
--pd---emv- OK (131 out of 1250, remaining: 26:26, took 1.3s, duration: 03:05)
test 0132...[FTP (optional .netrc; user/passwd supplied) dir list PASV]
--pd---emv- OK (132 out of 1250, remaining: 26:24, took 1.3s, duration: 03:07)
test 0133...[FTP (compulsory .netrc; ignored user/passwd) dir list PASV]
--pd---emv- OK (133 out of 1250, remaining: 26:21, took 1.3s, duration: 03:08)
test 0134...[FTP (optional .netrc; programmatic user/passwd) dir list PASV]
--pd---emv- OK (134 out of 1250, remaining: 26:18, took 1.2s, duration: 03:09)
test 0135...[FTP retrieve a byte-range]
--pd---emv- OK (135 out of 1250, remaining: 26:16, took 1.3s, duration: 03:10)
test 0136...[FTP with user and no password]
--pd---emv- OK (136 out of 1250, remaining: 26:13, took 1.3s, duration: 03:12)
test 0137...[FTP download without size in RETR string]
--pd---emv- OK (137 out of 1250, remaining: 26:10, took 1.2s, duration: 03:13)
test 0138...[FTP download without size in RETR string and no SIZE command]
--pd---emv- OK (138 out of 1250, remaining: 26:08, took 1.3s, duration: 03:14)
test 0139...[FTP download a newer file with -z]
--pd---emv- OK (139 out of 1250, remaining: 26:06, took 1.3s, duration: 03:15)
test 0140...[FTP download file with -z, expected to not transfer]
--p----emv- OK (140 out of 1250, remaining: 26:03, took 1.2s, duration: 03:17)
test 0141...[FTP download info with -I]
s-p----emv- OK (141 out of 1250, remaining: 26:00, took 1.2s, duration: 03:18)
test 0142...[FTP URL with 150 dir levels]
--pd---emv- OK (142 out of 1250, remaining: 25:58, took 1.4s, duration: 03:19)
test 0143...[FTP URL with type=a]
--pd---emv- OK (143 out of 1250, remaining: 25:55, took 1.2s, duration: 03:20)
test 0144...[FTP NLST dir list without contents, using PORT]
Killed
--p----emv- OK (144 out of 1250, remaining: 25:52, took 1.2s, duration: 03:22)
test 0145...[FTP NLST dir list with weird reply code, using PORT]
Killed
--p----emv- OK (145 out of 1250, remaining: 25:50, took 1.2s, duration: 03:23)
test 0146...[persistent FTP with different paths]
--pd---emv- OK (146 out of 1250, remaining: 25:48, took 1.4s, duration: 03:24)
test 0147...[FTP with --ftp-create-dirs (failing CWD)]
--pd---emv- OK (147 out of 1250, remaining: 25:45, took 1.3s, duration: 03:26)
test 0148...[FTP with --ftp-create-dirs (failing MKD)]
--p----emv- OK (148 out of 1250, remaining: 25:42, took 1.2s, duration: 03:27)
test 0149...[FTP with multiple uploads]
--p---oemv- OK (149 out of 1250, remaining: 25:41, took 1.3s, duration: 03:28)
test 0150...[HTTP with NTLM authorization and --fail]
--pd---emv- OK (150 out of 1250, remaining: 25:38, took 1.3s, duration: 03:29)
test 0151...[HTTP GET with an error code that might trick authentication]
--pd---emv- OK (151 out of 1250, remaining: 25:36, took 1.2s, duration: 03:31)
test 0152...[HTTP GET with an error code that might trick authentication and --fail]
--p----emv- OK (152 out of 1250, remaining: 25:33, took 1.2s, duration: 03:32)
test 0153...[HTTP with Digest authorization with stale=true]
s-p----emv- OK (153 out of 1250, remaining: 25:31, took 1.4s, duration: 03:33)
test 0154...[HTTP PUT with --anyauth authorization (picking Digest)]
--pd---emv- OK (154 out of 1250, remaining: 25:36, took 2.3s, duration: 03:35)
test 0155...[HTTP PUT with --anyauth authorization (picking NTLM)]
--pd---emv- OK (155 out of 1250, remaining: 25:41, took 2.3s, duration: 03:38)
test 0156...[HTTP PUT with --anyauth (when the server requires none)]
--pd---emv- OK (156 out of 1250, remaining: 25:46, took 2.2s, duration: 03:40)
test 0157...[HTTP GET with --anyauth (when the server requires none)]
--pd---emv- OK (157 out of 1250, remaining: 25:43, took 1.2s, duration: 03:41)
test 0158...[HTTP multipart formpost with only a 100 reply]
--pd---emv- OK (158 out of 1250, remaining: 25:41, took 1.2s, duration: 03:42)
test 0159...[HTTP with NTLM authorization when talking HTTP/1.0 (known to fail)]
--pd---emv- OK (159 out of 1250, remaining: 25:38, took 1.2s, duration: 03:44)
test 0160...[HTTP with delayed close, conn reuse, connection reset and retry]
s-p----emv- OK (160 out of 1250, remaining: 25:49, took 3.3s, duration: 03:47)
test 0161...[FTP RETR PASV]
--pd---emv- OK (161 out of 1250, remaining: 25:46, took 1.2s, duration: 03:48)
test 0162...[HTTP GET asking for --proxy-ntlm when some other authentication is required]
--p----emv- OK (162 out of 1250, remaining: 25:44, took 1.2s, duration: 03:49)
test 0163...[HTTP multipart formpost with contents from a file]
--pd---emv- OK (163 out of 1250, remaining: 25:41, took 1.2s, duration: 03:51)
test 0164...[HTTP range with multiple ranges]
--pd---emv- OK (164 out of 1250, remaining: 25:38, took 1.2s, duration: 03:52)
test 0165...[HTTP over proxy with IDN host name]
--pd---emv- OK (165 out of 1250, remaining: 25:36, took 1.3s, duration: 03:53)
test 0166...[HTTP formpost a file with spaces in name]
--pd---emv- OK (166 out of 1250, remaining: 25:34, took 1.3s, duration: 03:55)
test 0167...[HTTP with proxy-requiring-Basic to site-requiring-Digest]
--pd---emv- OK (167 out of 1250, remaining: 25:32, took 1.3s, duration: 03:56)
test 0168...[HTTP with proxy-requiring-Digest to site-requiring-Digest]
--pd---emv- OK (168 out of 1250, remaining: 25:30, took 1.3s, duration: 03:57)
test 0169...[HTTP with proxy-requiring-NTLM to site-requiring-Digest]
--pd---emv- OK (169 out of 1250, remaining: 25:28, took 1.4s, duration: 03:59)
test 0170...[HTTP POST with --proxy-ntlm and no SSL with no response]
--p----emv- OK (170 out of 1250, remaining: 25:26, took 1.3s, duration: 04:00)
test 0171...[HTTP, get cookie with dot prefixed full domain]
--pd--oemv- OK (171 out of 1250, remaining: 25:24, took 1.2s, duration: 04:01)
test 0172...[HTTP with cookies file and custom added cookie]
--pd---emv- OK (172 out of 1250, remaining: 25:21, took 1.2s, duration: 04:02)
test 0173...[HTTP RFC1867-formpost a file from stdin with "faked" filename]
--pd---emv- OK (173 out of 1250, remaining: 25:18, took 1.2s, duration: 04:03)
test 0174...[HTTP POST --anyauth to server not requiring any auth at all]
--pd---emv- OK (174 out of 1250, remaining: 25:16, took 1.2s, duration: 04:05)
test 0175...[HTTP POST --digest to server not requiring any auth at all]
--pd---emv- OK (175 out of 1250, remaining: 25:13, took 1.2s, duration: 04:06)
test 0176...[HTTP POST --ntlm to server not requiring any auth at all]
--pd---emv- OK (176 out of 1250, remaining: 25:11, took 1.3s, duration: 04:07)
test 0177...[HTTP POST --digest to server doing a 302-location response]
--pd---emv- OK (177 out of 1250, remaining: 25:08, took 1.2s, duration: 04:08)
test 0178...[HTTP response with negative Content-Length]
--pd---emv- OK (178 out of 1250, remaining: 25:06, took 1.2s, duration: 04:10)
test 0179...[HTTP using proxy and cookies with path checks]
--pd---emv- OK (179 out of 1250, remaining: 25:04, took 1.3s, duration: 04:11)
test 0180...[HTTP 1.0 PUT]
--pd---emv- OK (180 out of 1250, remaining: 25:01, took 1.2s, duration: 04:12)
test 0181...[HTTP 1.0 POST]
--pd---emv- OK (181 out of 1250, remaining: 24:59, took 1.2s, duration: 04:13)
test 0182...[FTP download an empty file]
--pd---emv- OK (182 out of 1250, remaining: 24:56, took 1.2s, duration: 04:15)
test 0183...[HTTP GET two URLs over a single proxy with persistent connection]
--pd---emv- OK (183 out of 1250, remaining: 24:54, took 1.3s, duration: 04:16)
test 0184...[HTTP replace Host: when following Location: to new host]
--pd---emv- OK (184 out of 1250, remaining: 24:52, took 1.2s, duration: 04:17)
test 0185...[HTTP replace Host: when following Location: on the same host]
--pd---emv- OK (185 out of 1250, remaining: 24:50, took 1.2s, duration: 04:18)
test 0186...[HTTP RFC1867-type formposting with types on text fields]
--pd---emv- OK (186 out of 1250, remaining: 24:48, took 1.3s, duration: 04:20)
test 0187...[HTTP redirect with bad host name separation and slash in parameters]
--pd---emv- OK (187 out of 1250, remaining: 24:45, took 1.2s, duration: 04:21)
test 0188...[HTTP GET with resume and redirect]
--pd---emv- OK (188 out of 1250, remaining: 24:43, took 1.2s, duration: 04:22)
test 0189...[HTTP GET with resume and redirect (to a page that doesn't resume)]
--pd---emv- OK (189 out of 1250, remaining: 24:40, took 1.2s, duration: 04:23)
test 0190...[FTP download with strict timeout and slow CWD]
Killed
--p----emv- OK (190 out of 1250, remaining: 25:22, took 9.1s, duration: 04:32)
test 0191...[FTP URL with ?-letters in username and password ]
--pd---emv- OK (191 out of 1250, remaining: 25:31, took 3.3s, duration: 04:36)
test 0192...[HTTP GET -w num_connects with one simple connect]
s-p----emv- OK (192 out of 1250, remaining: 25:28, took 1.2s, duration: 04:37)
test 0193...[HTTP GET -w num_connects with redirected fetch (2 connects)]
s-p----emv- OK (193 out of 1250, remaining: 25:26, took 1.2s, duration: 04:38)
test 0194...[HTTP resume transfer with the whole file already downloaded and --fail]
--pd---emv- OK (194 out of 1250, remaining: 25:23, took 1.3s, duration: 04:39)
test 0195...[FTP response 530 after PASS, temporarily not allowed access]
--p----emv- OK (195 out of 1250, remaining: 25:20, took 1.2s, duration: 04:41)
test 0196...[FTP transient error, retry request once]
--p----emv- OK (196 out of 1250, remaining: 25:23, took 2.2s, duration: 04:43)
test 0197...[HTTP GET --retry on 503 error with output to stdout]
s-p----emv- OK (197 out of 1250, remaining: 25:26, took 2.2s, duration: 04:45)
test 0198...[HTTP GET --retry on 503 error with output to file]
--pd---emv- OK (198 out of 1250, remaining: 25:29, took 2.2s, duration: 04:47)
test 0199...[HTTP with -d, -G and {}]
--pd---emv- OK (199 out of 1250, remaining: 25:26, took 1.3s, duration: 04:49)
test 0200...[basic file:// file]
---d---emv- OK (200 out of 1250, remaining: 25:23, took 1.1s, duration: 04:50)
test 0201...[missing file:// file]
-------emv- OK (201 out of 1250, remaining: 25:20, took 1.1s, duration: 04:51)
test 0202...[two file:// URLs to stdout]
s------emv- OK (202 out of 1250, remaining: 25:17, took 1.1s, duration: 04:52)
test 0203...[file:/path URL with a single slash]
---d---emv- OK (203 out of 1250, remaining: 25:14, took 1.1s, duration: 04:53)
test 0204...["upload" with file://]
------oemv- OK (204 out of 1250, remaining: 25:11, took 1.2s, duration: 04:54)
test 0205...["upload" with file://]
-------emv- OK (205 out of 1250, remaining: 25:08, took 1.1s, duration: 04:55)
test 0206...[HTTP proxy CONNECT auth Digest]
--pd---emv- OK (206 out of 1250, remaining: 25:05, took 1.3s, duration: 04:57)
test 0207...[HTTP GET with chunked Transfer-Encoding closed prematurely]
--pd---emv- OK (207 out of 1250, remaining: 25:03, took 1.2s, duration: 04:58)
test 0208...[HTTP PUT to a FTP URL with username+password - over HTTP proxy]
--pd---emv- OK (208 out of 1250, remaining: 25:06, took 2.3s, duration: 05:00)
test 0209...[HTTP proxy CONNECT auth NTLM]
--pd---emv- OK (209 out of 1250, remaining: 25:04, took 1.3s, duration: 05:01)
test 0210...[Get two FTP files from the same remote dir: no second CWD]
--pd---emv- OK (210 out of 1250, remaining: 25:02, took 1.3s, duration: 05:03)
test 0211...[Get two FTP files with no remote EPSV support]
--pd---emv- OK (211 out of 1250, remaining: 25:00, took 1.3s, duration: 05:04)
test 0212...[Get two FTP files with no remote EPRT support]
--pd---emv- OK (212 out of 1250, remaining: 24:57, took 1.3s, duration: 05:05)
test 0213...[HTTP 1.0 proxy CONNECT auth NTLM and then POST]
--pd---emv- OK (213 out of 1250, remaining: 24:55, took 1.3s, duration: 05:07)
test 0214...[HTTP URL with escaped { and }]
--pd---emv- OK (214 out of 1250, remaining: 24:53, took 1.2s, duration: 05:08)
test 0215...[Get two FTP dir listings from the same remote dir: no second CWD]
--pd---emv- OK (215 out of 1250, remaining: 24:51, took 1.3s, duration: 05:09)
test 0216...[FTP upload two files to the same dir]
--p----emv- OK (216 out of 1250, remaining: 24:49, took 1.4s, duration: 05:11)
test 0217...[HTTP proxy CONNECT to proxy returning 405]
s-p----emv- OK (217 out of 1250, remaining: 24:47, took 1.2s, duration: 05:12)
test 0218...[HTTP PUT from a file but enforce chunked transfer-encoding]
--pd---emv- OK (218 out of 1250, remaining: 24:49, took 2.2s, duration: 05:14)
test 0219...[try using proxy with unsupported scheme]
-------emv- OK (219 out of 1250, remaining: 24:46, took 1.1s, duration: 05:15)
test 0220...[HTTP GET gzip compressed content]
--pd---emv- OK (220 out of 1250, remaining: 24:44, took 1.3s, duration: 05:17)
test 0221...[HTTP GET gzip compressed content with broken gzip header]
--pd---emv- OK (221 out of 1250, remaining: 24:41, took 1.2s, duration: 05:18)
test 0222...[HTTP GET deflate compressed content]
--pd---emv- OK (222 out of 1250, remaining: 24:39, took 1.2s, duration: 05:19)
test 0223...[HTTP GET deflate compressed content with broken deflate header]
--pd---emv- OK (223 out of 1250, remaining: 24:36, took 1.2s, duration: 05:20)
test 0224...[HTTP GET gzip compressed content with huge comment and extra field]
--pd---emv- OK (224 out of 1250, remaining: 24:34, took 1.2s, duration: 05:21)
test 0225...[FTP %0a-code in URL's name part]
-------emv- OK (225 out of 1250, remaining: 24:31, took 1.1s, duration: 05:23)
test 0226...[FTP %0d-code in URL's CWD part]
-------emv- OK (226 out of 1250, remaining: 24:28, took 1.2s, duration: 05:24)
test 0227...[FTP with quote ops]
--pd---emv- OK (227 out of 1250, remaining: 24:27, took 1.3s, duration: 05:25)
test 0228...[FTP RETR with ACCT]
--pd---emv- OK (228 out of 1250, remaining: 24:24, took 1.3s, duration: 05:26)
test 0229...[FTP RETR with bad ACCT]
--p----emv- OK (229 out of 1250, remaining: 24:22, took 1.2s, duration: 05:28)
test 0230...[HTTP GET multiply compressed content]
--pd---emv- OK (230 out of 1250, remaining: 24:20, took 1.3s, duration: 05:29)
test 0231...[file:// with resume]
---d---emv- OK (231 out of 1250, remaining: 24:17, took 1.1s, duration: 05:30)
test 0232...[HTTP GET deflate raw-compressed content]
--pd---emv- OK (232 out of 1250, remaining: 24:15, took 1.3s, duration: 05:31)
test 0233...[HTTP, proxy, site+proxy auth and Location: to new host]
--pd---emv- OK (233 out of 1250, remaining: 24:13, took 1.3s, duration: 05:32)
test 0234...[HTTP, proxy, site+proxy auth and Location: to new host using location-trusted]
--pd---emv- OK (234 out of 1250, remaining: 24:10, took 1.3s, duration: 05:34)
test 0235...[FTP resumed upload but no file present remotely]
--p-u--emv- OK (235 out of 1250, remaining: 24:08, took 1.3s, duration: 05:35)
test 0236...[FTP resume upload but denied access to remote file]
Killed
--p----emv- OK (236 out of 1250, remaining: 24:06, took 1.2s, duration: 05:36)
test 0237...[FTP getting bad host in 227-response to PASV]
--p----emv- OK (237 out of 1250, remaining: 24:04, took 1.2s, duration: 05:37)
test 0238...[FTP getting bad port in response to EPSV]
--p----emv- OK (238 out of 1250, remaining: 24:01, took 1.2s, duration: 05:39)
test 0239...[HTTP proxy-auth NTLM and then POST]
--pd---emv- OK (239 out of 1250, remaining: 24:00, took 1.4s, duration: 05:40)
test 0240...[HTTP-IPv6 GET]
--pd---emv- OK (240 out of 1250, remaining: 24:06, took 3.2s, duration: 05:43)
test 0241...[HTTP-IPv6 GET (using ip6-localhost)]
--pd---emv- OK (241 out of 1250, remaining: 24:03, took 1.2s, duration: 05:44)
test 0242...[HTTP-IPv6 GET with username+password in URL]
--pd---emv- OK (242 out of 1250, remaining: 24:01, took 1.2s, duration: 05:46)
test 0243...[HTTP POST with --proxy-anyauth, picking NTLM]
--pd---emv- OK (243 out of 1250, remaining: 23:59, took 1.3s, duration: 05:47)
test 0244...[FTP dir listing with nocwd and URL encoded path]
--pd---emv- OK (244 out of 1250, remaining: 23:57, took 1.2s, duration: 05:48)
test 0245...[HTTP POST --digest]
--pd---emv- OK (245 out of 1250, remaining: 23:55, took 1.3s, duration: 05:49)
test 0246...[HTTP POST --digest with server doing a 100 before 401 response]
--pd---emv- OK (246 out of 1250, remaining: 23:53, took 1.3s, duration: 05:51)
test 0247...[FTP upload time condition evaluates TRUE => skip upload]
--p----emv- OK (247 out of 1250, remaining: 23:51, took 1.2s, duration: 05:52)
test 0248...[FTP upload time condition evaluates FALSE => upload anyway]
--p-u--emv- OK (248 out of 1250, remaining: 23:49, took 1.3s, duration: 05:53)
test 0249...[HTTP 304 response with "illegal" Content-Length: header]
--pd---emv- OK (249 out of 1250, remaining: 23:46, took 1.2s, duration: 05:54)
test 0250...[FTP dir list PASV with slow response]
--pd---emv- OK (250 out of 1250, remaining: 24:25, took 11.4s, duration: 06:06)
test 0251...[FTP dir list, PORT with specified IP and slow response]
--pd---emv- OK (251 out of 1250, remaining: 25:03, took 11.5s, duration: 06:17)
test 0252...[FTP IPv6 dir list PASV]
--pd---emv- OK (252 out of 1250, remaining: 25:09, took 3.3s, duration: 06:21)
test 0253...[FTP IPv6 dir list with EPRT]
--pd---emv- OK (253 out of 1250, remaining: 25:06, took 1.3s, duration: 06:22)
test 0254...[FTP IPv6 dir list PASV and --disable-epsv]
--pd---emv- OK (254 out of 1250, remaining: 25:04, took 1.2s, duration: 06:23)
test 0255...[FTP IPv6 dir list with EPRT and --disable-eprt]
--pd---emv- OK (255 out of 1250, remaining: 25:01, took 1.3s, duration: 06:24)
test 0256...[HTTP resume request over proxy with auth without server supporting it]
--p---oemv- OK (256 out of 1250, remaining: 24:59, took 1.3s, duration: 06:26)
test 0257...[HTTP Location: following with --netrc-optional]
--pd---emv- OK (257 out of 1250, remaining: 24:57, took 1.3s, duration: 06:27)
test 0258...[HTTP POST multipart without Expect: header using proxy anyauth (Digest)]
--pd---emv- OK (258 out of 1250, remaining: 24:55, took 1.4s, duration: 06:28)
test 0259...[HTTP POST multipart with Expect: header using proxy anyauth (Digest)]
--pd---emv- OK (259 out of 1250, remaining: 25:00, took 3.3s, duration: 06:32)
test 0260...[HTTP GET URL without slash but with questionmark]
--pd---emv- OK (260 out of 1250, remaining: 24:57, took 1.2s, duration: 06:33)
test 0261...[FTP RETR with 226 response code to TYPE]
--pd---emv- OK (261 out of 1250, remaining: 24:55, took 1.2s, duration: 06:34)
test 0262...[HTTP GET with binary zeroes in header]
--pd---emv- OK (262 out of 1250, remaining: 24:52, took 1.2s, duration: 06:35)
test 0263...[HTTP-IPv6 GET with proxy specified using IPv6-numerical address]
--pd---emv- OK (263 out of 1250, remaining: 24:49, took 1.2s, duration: 06:37)
test 0264...[HTTP with proxy string including http:// and user+password]
--pd---emv- OK (264 out of 1250, remaining: 24:47, took 1.2s, duration: 06:38)
test 0265...[HTTP proxy CONNECT auth NTLM and then POST, response-body in the 407]
--pd---emv- OK (265 out of 1250, remaining: 24:45, took 1.4s, duration: 06:39)
test 0266...[HTTP GET with chunked Transfer-Encoding and chunked trailer]
--pd--oemv- OK (266 out of 1250, remaining: 24:42, took 1.2s, duration: 06:40)
test 0267...[HTTP POST with NTLM authorization and added custom headers]
--pd---emv- OK (267 out of 1250, remaining: 24:40, took 1.3s, duration: 06:42)
test 0268...[HTTP POST a non-existing file]
--pd---emv- OK (268 out of 1250, remaining: 24:38, took 1.2s, duration: 06:43)
test 0269...[HTTP --ignore-content-length]
--pd---emv- OK (269 out of 1250, remaining: 24:35, took 1.2s, duration: 06:44)
test 0270...[FTP RETR PASV --ftp-skip-pasv-ip]
--pd---emv- OK (270 out of 1250, remaining: 24:32, took 1.2s, duration: 06:45)
test 0271...[TFTP retrieve]
--pd---emv- OK (271 out of 1250, remaining: 24:37, took 3.2s, duration: 06:48)
test 0272...[FTP timed conditioned get file with identical time stamp ]
--p----emv- OK (272 out of 1250, remaining: 24:34, took 1.2s, duration: 06:50)
test 0273...[HTTP with two Digest authorization headers]
--pd---emv- OK (273 out of 1250, remaining: 24:32, took 1.2s, duration: 06:51)
test 0274...[HTTP Location: following with --max-redirs 0]
--pd---emv- OK (274 out of 1250, remaining: 24:29, took 1.2s, duration: 06:52)
test 0275...[HTTP CONNECT with proxytunnel getting two URLs from the same host]
--pd-P-emv- OK (275 out of 1250, remaining: 24:29, took 1.7s, duration: 06:54)
test 0276...[HTTP Location: following with multiple question marks in URLs]
--pd---emv- OK (276 out of 1250, remaining: 24:26, took 1.3s, duration: 06:55)
test 0277...[HTTP RFC1867-type formposting with custom Content-Type]
--pd---emv- OK (277 out of 1250, remaining: 24:24, took 1.2s, duration: 06:56)
test 0278...[HTTP with proxy string including http:// and user+empty password]
--pd---emv- OK (278 out of 1250, remaining: 24:21, took 1.2s, duration: 06:58)
test 0279...[HTTP with proxy string including http:// and user only]
--pd---emv- OK (279 out of 1250, remaining: 24:19, took 1.3s, duration: 06:59)
test 0280...[FTP --ftp-alternative-to-user on USER failure]
--pd---emv- OK (280 out of 1250, remaining: 24:17, took 1.2s, duration: 07:00)
test 0281...[HTTP PUT from file with 100 + 401 responses and -f without auth given]
--pd---emv- OK (281 out of 1250, remaining: 24:18, took 2.2s, duration: 07:02)
test 0282...[HTTP GET with no response body or headers]
--pd---emv- OK (282 out of 1250, remaining: 24:15, took 1.2s, duration: 07:04)
test 0283...[TFTP retrieve on invalid file]
--p----emv- OK (283 out of 1250, remaining: 24:12, took 1.2s, duration: 07:05)
test 0284...[TFTP retrieve of boundary case 512 byte file]
--pd---emv- OK (284 out of 1250, remaining: 24:10, took 1.2s, duration: 07:06)
test 0285...[TFTP send]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (285 out of 1250, remaining: 24:14, took 3.2s, duration: 07:09)
test 0286...[TFTP send of boundary case 512 byte file]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (286 out of 1250, remaining: 24:24, took 5.0s, duration: 07:14)
test 0287...[HTTP proxy CONNECT with custom User-Agent header]
s-p----emv- OK (287 out of 1250, remaining: 24:22, took 1.2s, duration: 07:15)
test 0288...[file:// with (unsupported) proxy, authentication and range]
---d---emv- OK (288 out of 1250, remaining: 24:19, took 1.1s, duration: 07:16)
test 0289...[FTP resume upload but denied access to local file]
-------emv- OK (289 out of 1250, remaining: 24:16, took 1.0s, duration: 07:17)
test 0290...[FTP download maximum filesize exceeded]
Killed
--p----emv- OK (290 out of 1250, remaining: 24:13, took 1.2s, duration: 07:19)
test 0291...[FTP download maximum filesize not exceeded]
--pd---emv- OK (291 out of 1250, remaining: 24:11, took 1.3s, duration: 07:20)
test 0292...[HTTP GET with maximum filesize not exceeded]
--pd---emv- OK (292 out of 1250, remaining: 24:09, took 1.2s, duration: 07:21)
test 0293...[HTTP GET with maximum filesize exceeded]
--p----emv- OK (293 out of 1250, remaining: 24:06, took 1.2s, duration: 07:22)
test 0294...[FTP --ftp-account on ACCT request]
--pd---emv- OK (294 out of 1250, remaining: 24:04, took 1.3s, duration: 07:24)
test 0295...[FTP ACCT request without --ftp-account]
--p----emv- OK (295 out of 1250, remaining: 24:01, took 1.2s, duration: 07:25)
test 0296...[FTP CWD with --ftp-method multicwd]
--pd---emv- OK (296 out of 1250, remaining: 23:59, took 1.3s, duration: 07:26)
test 0297...[FTP CWD with --ftp-method singlecwd]
--pd---emv- OK (297 out of 1250, remaining: 23:57, took 1.2s, duration: 07:27)
test 0298...[FTP CWD with --ftp-method nocwd]
--pd---emv- OK (298 out of 1250, remaining: 23:54, took 1.2s, duration: 07:29)
test 0299...[FTP over HTTP proxy with user:pass not in url]
--pd---emv- OK (299 out of 1250, remaining: 23:52, took 1.3s, duration: 07:30)
test 0300...[simple HTTPS GET]
goto problem 10
valgrind ERROR ==32714== Invalid read of size 8
==32714== at 0x53315A5: check_free (dlerror.c:188)
==32714== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32714== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32714== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32714== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32714== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32714== by 0x4D60EB9: exit (exit.c:139)
==32714== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32714== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==32714== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32714== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32714== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32714== by 0x24B104: err_get_state (err.c:210)
==32714== by 0x24BCDA: ERR_put_error (err.c:636)
==32714== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32714== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32714== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32714== by 0x270326: by_file_ctrl (by_file.c:111)
==32714== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32714== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32714== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32714== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32714== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32714== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32714== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32714==
==32714== Invalid free() / delete / delete[] / realloc()
==32714== at 0x48369AB: free (vg_replace_malloc.c:540)
==32714== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32714== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32714== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32714== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32714== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32714== by 0x4D60EB9: exit (exit.c:139)
==32714== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32714== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==32714== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32714== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32714== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32714== by 0x24B104: err_get_state (err.c:210)
==32714== by 0x24BCDA: ERR_put_error (err.c:636)
==32714== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32714== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32714== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32714== by 0x270326: by_file_ctrl (by_file.c:111)
==32714== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32714== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32714== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32714== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32714== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32714== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32714== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32714==
==32714== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32714== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32714== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32714== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32714== by 0x24B104: err_get_state (err.c:210)
==32714== by 0x24BCDA: ERR_put_error (err.c:636)
==32714== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32714== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32714== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32714== by 0x270326: by_file_ctrl (by_file.c:111)
==32714== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32714== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32714== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32714== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32714== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32714== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32714== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32714==
== 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:46.888373 ====> Client connect
02:58:46.888412 accept_connection 3 returned 4
02:58:46.888427 accept_connection 3 returned 0
02:58:46.888522 Read 96 bytes
02:58:46.888545 Process 96 bytes request
02:58:46.888562 Got request: GET /verifiedserver HTTP/1.1
02:58:46.888573 Are-we-friendly question received
02:58:46.888593 Wrote request (96 bytes) input to log/server.input
02:58:46.888609 Identifying ourselves as friends
02:58:46.888660 Response sent (56 bytes) and written to log/server.response
02:58:46.888675 special request received, no persistency
02:58:46.888686 ====> Client disconnect 0
02:58:50.937647 ====> Client connect
02:58:50.937673 accept_connection 3 returned 4
02:58:50.937687 accept_connection 3 returned 0
02:58:51.025670 Read 85 bytes
02:58:51.025705 Process 85 bytes request
02:58:51.025718 Got request: GET /300 HTTP/1.1
02:58:51.025727 Requested test number 300 part 0
02:58:51.025751 - request found to be complete
02:58:51.025780 Wrote request (85 bytes) input to log/server.input
02:58:51.025803 Send response test300 section <data>
02:58:51.025876 Response sent (103 bytes) and written to log/server.response
02:58:51.025893 => persistent connection request ended, awaits new request
02:58:51.109515 Connection closed by client
02:58:51.109554 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.08.14 02:58:45 LOG5[32709]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.14 02:58:45 LOG5[32709]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.14 02:58:45 LOG5[32709]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.14 02:58:45 LOG5[32709]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.14 02:58:45 LOG5[32709]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.14 02:58:45 LOG5[32709]: Reading configuration from file /build-30040/tests/https_stunnel.conf
2019.08.14 02:58:45 LOG5[32709]: FIPS mode disabled
2019.08.14 02:58:45 LOG5[32709]: Configuration successful
2019.08.14 02:58:46 LOG5[32712]: Service [curltest] accepted connection from 127.0.0.1:33918
2019.08.14 02:58:46 LOG5[32712]: s_connect: connected 127.0.0.1:8990
2019.08.14 02:58:46 LOG5[32712]: Service [curltest] connected remote server from 127.0.0.1:38212
2019.08.14 02:58:46 LOG5[32712]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.14 02:58:48 LOG5[32715]: Service [curltest] accepted connection from 127.0.0.1:33922
2019.08.14 02:58:50 LOG5[32715]: s_connect: connected 127.0.0.1:8990
2019.08.14 02:58:50 LOG5[32715]: Service [curltest] connected remote server from 127.0.0.1:38216
2019.08.14 02:58:51 LOG5[32715]: 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 0x55c3ce8687c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55c3ce8687c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55c3ce8687c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55c3ce8687c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55c3ce8687c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55c3ce8687c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55c3ce8687c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55c3ce8687c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55c3ce8687c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 31373
=== 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: 31373
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:48.838045 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
02:58:48.893740 == Info: Added connection 0. The cache now contains 1 members
02:58:48.911664 == Info: Trying 127.0.0.1:8991...
02:58:48.912298 == Info: TCP_NODELAY set
02:58:48.917745 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
02:58:48.929462 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:48.930028 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
02:58:48.931113 == Info: Marked for [keep alive]: HTTP default
02:58:48.982528 == Info: ALPN, offering h2
02:58:48.982819 == Info: ALPN, offering http/1.1
02:58:50.400033 == Info: successfully set certificate verify locations:
02:58:50.400299 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:50.516345 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:50.521476 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:50.521539 => Send SSL data, 148 bytes (0x94)
0000: ........2...H$.Z>.....f.N6.T..............+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:50.538723 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:50.544710 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:50.544782 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..7c....L.-..=+1..d 7....?..&.&... .(.xJ.1-@o.d...>..".z.K.*
0040: ..J..}../................
02:58:50.591763 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:50.592245 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:50.592303 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:58:50.696550 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:50.696822 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:50.696881 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.2..Uq.h.>.[7F]).Fq.;PJ)|%..\j..[v...9.ZN....(...N.........
0040: ......Se......f.....8c.....B|..f'.l%..\....t..,v[7F].E.5~q_.W.|..y.
0080: ].9.Kg....c+.....{..J.6.@...N.D_DM...d..@.\.+.q...../..|.....?.R
00c0: 7...r..9.W..._....#%>...8.27.ik2.....S...h.nS..%B.^..A...vaU.T.v
0100: C...w.P8.o.k...QS>..).%@E......pD:............0.B...7.E..V...>X.
0140: .$T..&.......
02:58:50.766779 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:50.767138 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:58:50.767198 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:58:50.887553 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:58:50.887815 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:58:50.887876 => Send SSL data, 70 bytes (0x46)
0000: ...BA.Y...Q.h/..9g......B'.;}..@..sI.cn....w&...=....?[7F].y.......
0040: ......
02:58:50.900213 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:50.900830 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:58:50.900896 => Send SSL data, 1 bytes (0x1)
0000: .
02:58:50.923331 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:58:50.923406 => Send SSL data, 16 bytes (0x10)
0000: .....]..ix.Q.cb.
02:58:50.936728 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:58:50.939391 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:50.940524 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:58:50.940582 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:58:50.943104 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:58:50.949232 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:58:50.949288 <= Recv SSL data, 16 bytes (0x10)
0000: ......J..a..34..
02:58:50.979614 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:58:50.980335 == Info: ALPN, server did not agree to a protocol
02:58:50.983270 == Info: Server certificate:
02:58:50.991165 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:50.997717 == Info: start date: Aug 31 23:39:18 2018 GMT
02:58:50.998724 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:58:50.999718 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:51.000760 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:58:51.002545 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #0)
02:58:51.023978 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:58:51.026945 => Send header, 85 bytes (0x55)
0000: GET /300 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: User-Agent: curl/7.66.0-DEV
0046: Accept: */*
0053:
02:58:51.029927 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #0)
02:58:51.030411 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
02:58:51.035059 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
02:58:51.044845 == Info: Mark bundle as not supporting multiuse
02:58:51.045455 == Info: HTTP 1.1 or later with persistent connection
02:58:51.048243 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:58:51.059759 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
02:58:51.060247 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:58:51.060479 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:58:51.061672 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
02:58:51.064291 <= Recv header, 1 bytes (0x1)
0000: .
02:58:51.064955 <= Recv data, 4 bytes (0x4)
0000: MooM
02:58:51.068212 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:51.068394 <= Recv data, 3 bytes (0x3)
0000: oo.
02:58:51.069937 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #0)
02:58:51.070275 == Info: multi_done
02:58:51.080560 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace300
=== Start of file valgrind300
==32714== Invalid read of size 8
==32714== at 0x53315A5: check_free (dlerror.c:188)
==32714== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32714== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32714== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32714== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32714== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32714== by 0x4D60EB9: exit (exit.c:139)
==32714== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32714== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==32714== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32714== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32714== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32714== by 0x24B104: err_get_state (err.c:210)
==32714== by 0x24BCDA: ERR_put_error (err.c:636)
==32714== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32714== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32714== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32714== by 0x270326: by_file_ctrl (by_file.c:111)
==32714== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32714== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32714== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32714== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32714== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32714== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32714== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32714==
==32714== Invalid free() / delete / delete[] / realloc()
==32714== at 0x48369AB: free (vg_replace_malloc.c:540)
==32714== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32714== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32714== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32714== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32714== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32714== by 0x4D60EB9: exit (exit.c:139)
==32714== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32714== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==32714== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32714== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32714== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32714== by 0x24B104: err_get_state (err.c:210)
==32714== by 0x24BCDA: ERR_put_error (err.c:636)
==32714== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32714== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32714== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32714== by 0x270326: by_file_ctrl (by_file.c:111)
==32714== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32714== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32714== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32714== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32714== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32714== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32714== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32714==
==32714== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32714== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32714== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32714== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32714== by 0x24B104: err_get_state (err.c:210)
==32714== by 0x24BCDA: ERR_put_error (err.c:636)
==32714== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32714== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32714== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32714== by 0x270326: by_file_ctrl (by_file.c:111)
==32714== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32714== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32714== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32714== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32714== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32714== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32714== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32714==
=== End of file valgrind300
test 0301...[HTTPS GET with user and password]
goto problem 11
valgrind ERROR ==32718== Invalid read of size 8
==32718== at 0x53315A5: check_free (dlerror.c:188)
==32718== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32718== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32718== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32718== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32718== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32718== by 0x4D60EB9: exit (exit.c:139)
==32718== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32718== Address 0x5af83d0 is 0 bytes after a block of size 32 alloc'd
==32718== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32718== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32718== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32718== by 0x24B104: err_get_state (err.c:210)
==32718== by 0x24BCDA: ERR_put_error (err.c:636)
==32718== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32718== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32718== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32718== by 0x270326: by_file_ctrl (by_file.c:111)
==32718== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32718== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32718== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32718== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32718== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32718== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32718== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32718==
==32718== Invalid free() / delete / delete[] / realloc()
==32718== at 0x48369AB: free (vg_replace_malloc.c:540)
==32718== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32718== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32718== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32718== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32718== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32718== by 0x4D60EB9: exit (exit.c:139)
==32718== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32718== Address 0x5af83b8 is 8 bytes inside a block of size 32 alloc'd
==32718== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32718== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32718== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32718== by 0x24B104: err_get_state (err.c:210)
==32718== by 0x24BCDA: ERR_put_error (err.c:636)
==32718== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32718== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32718== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32718== by 0x270326: by_file_ctrl (by_file.c:111)
==32718== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32718== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32718== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32718== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32718== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32718== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32718== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32718==
==32718== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32718== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32718== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32718== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32718== by 0x24B104: err_get_state (err.c:210)
==32718== by 0x24BCDA: ERR_put_error (err.c:636)
==32718== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32718== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32718== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32718== by 0x270326: by_file_ctrl (by_file.c:111)
==32718== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32718== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32718== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32718== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32718== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32718== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32718== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32718==
== 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:54.320317 ====> Client connect
02:58:54.320363 accept_connection 3 returned 4
02:58:54.320382 accept_connection 3 returned 0
02:58:54.408437 Read 120 bytes
02:58:54.408476 Process 120 bytes request
02:58:54.408492 Got request: GET /301 HTTP/1.1
02:58:54.408502 Requested test number 301 part 0
02:58:54.408527 - request found to be complete
02:58:54.408556 Wrote request (120 bytes) input to log/server.input
02:58:54.408578 Send response test301 section <data>
02:58:54.408601 connection close instruction "swsclose" found in response
02:58:54.408683 Response sent (130 bytes) and written to log/server.response
02:58:54.408701 instructed to close connection after server-reply
02:58:54.408714 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /301 HTTP/1.1
Host: 127.0.0.1:8991
Authorization: Basic ZmFrZTp1c2Vy
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
=== End of file server.response
=== Start of file stderr301
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
=== End of file stderr301
=== Start of file trace301
02:58:52.180449 == Info: STATE: INIT => CONNECT handle 0x56c5768; line 1362 (connection #-5000)
02:58:52.237374 == Info: Added connection 0. The cache now contains 1 members
02:58:52.255438 == Info: Trying 127.0.0.1:8991...
02:58:52.256064 == Info: TCP_NODELAY set
02:58:52.261296 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5768; line 1418 (connection #0)
02:58:52.273010 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:52.273571 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5768; line 1538 (connection #0)
02:58:52.274659 == Info: Marked for [keep alive]: HTTP default
02:58:52.326619 == Info: ALPN, offering h2
02:58:52.326910 == Info: ALPN, offering http/1.1
02:58:53.788875 == Info: successfully set certificate verify locations:
02:58:53.789135 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:53.904800 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:53.909987 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:53.910051 => Send SSL data, 148 bytes (0x94)
0000: ......=.!..k<^.<:A..U..\....qg...l].u.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:53.928317 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:53.933966 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:53.934030 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..4.."......*..&....3.....g....... ^B./.Pw..Y...D.I.N.>..&..
0040: .K..`j../................
02:58:53.978543 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:53.979013 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:53.979070 <= 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:54.081466 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:54.081780 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:54.081858 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.2..Uq.h.>.[7F]).Fq.;PJ)|%..\j..[v...9.ZN....(...N.........
0040: ......Se......=...._..].b.J..S.bf..g[;.K.d.j.pp..>'..`.>..5..u;i
0080: .....M.........J....X.LUr.B..,.m..Ii...*W=1[7F].+..w.0f..fW...0.0d.
00c0: ;.3f.......7#M. ...n.zG...D...@..Ki..X.....e....f<v&$..1.;..C..K
0100: ......A..?.!&.7.t.6M.}."L1.....E...|U.....v.f../.^..f&X.7...&.^.
0140: .|...L8&.....
02:58:54.151870 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:54.152221 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:58:54.152278 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:58:54.270888 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:58:54.271144 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:58:54.271200 => Send SSL data, 70 bytes (0x46)
0000: ...BA..%......x...Q.....e.*"&.."<8.|X..$$[7F].g....vW....g...9..A..
0040: ...&V#
02:58:54.283256 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:54.283912 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:58:54.283979 => Send SSL data, 1 bytes (0x1)
0000: .
02:58:54.306320 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:58:54.306390 => Send SSL data, 16 bytes (0x10)
0000: .....[7F].XJ.Y=c...
02:58:54.319304 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:58:54.321994 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:54.323087 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:58:54.323143 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:58:54.325901 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:58:54.331598 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:58:54.331654 <= Recv SSL data, 16 bytes (0x10)
0000: ....jxI..,sG..W.
02:58:54.360261 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:58:54.360935 == Info: ALPN, server did not agree to a protocol
02:58:54.363655 == Info: Server certificate:
02:58:54.371235 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:54.377430 == Info: start date: Aug 31 23:39:18 2018 GMT
02:58:54.378376 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:58:54.379294 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:54.380172 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:58:54.381670 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c5768; line 1556 (connection #0)
02:58:54.388983 == Info: Server auth using Basic with user 'fake'
02:58:54.406747 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:54.409962 => Send header, 120 bytes (0x78)
0000: GET /301 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: Authorization: Basic ZmFrZTp1c2Vy
004c: User-Agent: curl/7.66.0-DEV
0069: Accept: */*
0076:
02:58:54.414182 == Info: STATE: DO => DO_DONE handle 0x56c5768; line 1627 (connection #0)
02:58:54.414889 == Info: STATE: DO_DONE => PERFORM handle 0x56c5768; line 1749 (connection #0)
02:58:54.420090 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:58:54.431868 <= Recv SSL data, 5 bytes (0x5)
0000: ....h
02:58:54.437197 == Info: Mark bundle as not supporting multiuse
02:58:54.437796 == Info: HTTP 1.1 or later with persistent connection
02:58:54.440608 <= Recv header, 25 bytes (0x19)
0000: HTTP/1.1 200 OK swsclose.
02:58:54.444394 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:58:54.444628 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:58:54.445487 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
02:58:54.447199 <= Recv header, 24 bytes (0x18)
0000: Content-Type: text/html.
02:58:54.447382 <= Recv header, 19 bytes (0x13)
0000: Funny-head: yesyes.
02:58:54.448148 == Info: no chunk, no close, no size. Assume close to signal end
02:58:54.448423 == Info: Marked for [closure]: HTTP: No end-of-message indicator
02:58:54.450805 <= Recv header, 1 bytes (0x1)
0000: .
02:58:54.459016 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:54.460105 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
02:58:54.460172 <= Recv SSL data, 2 bytes (0x2)
0000: ..
02:58:54.462226 <= Recv data, 0 bytes (0x0)
02:58:54.464664 == Info: STATE: PERFORM => DONE handle 0x56c5768; line 1939 (connection #0)
02:58:54.464999 == Info: multi_done
02:58:54.473968 == Info: Closing connection 0
02:58:54.475664 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:54.476285 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:58:54.476340 => Send SSL data, 2 bytes (0x2)
0000: ..
02:58:54.539239 == Info: The cache now contains 0 members
=== End of file trace301
=== Start of file valgrind301
==32718== Invalid read of size 8
==32718== at 0x53315A5: check_free (dlerror.c:188)
==32718== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32718== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32718== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32718== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32718== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32718== by 0x4D60EB9: exit (exit.c:139)
==32718== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32718== Address 0x5af83d0 is 0 bytes after a block of size 32 alloc'd
==32718== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32718== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32718== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32718== by 0x24B104: err_get_state (err.c:210)
==32718== by 0x24BCDA: ERR_put_error (err.c:636)
==32718== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32718== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32718== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32718== by 0x270326: by_file_ctrl (by_file.c:111)
==32718== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32718== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32718== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32718== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32718== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32718== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32718== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32718==
==32718== Invalid free() / delete / delete[] / realloc()
==32718== at 0x48369AB: free (vg_replace_malloc.c:540)
==32718== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32718== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32718== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32718== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32718== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32718== by 0x4D60EB9: exit (exit.c:139)
==32718== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32718== Address 0x5af83b8 is 8 bytes inside a block of size 32 alloc'd
==32718== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32718== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32718== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32718== by 0x24B104: err_get_state (err.c:210)
==32718== by 0x24BCDA: ERR_put_error (err.c:636)
==32718== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32718== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32718== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32718== by 0x270326: by_file_ctrl (by_file.c:111)
==32718== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32718== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32718== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32718== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32718== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32718== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32718== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32718==
==32718== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32718== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32718== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32718== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32718== by 0x24B104: err_get_state (err.c:210)
==32718== by 0x24BCDA: ERR_put_error (err.c:636)
==32718== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32718== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32718== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32718== by 0x270326: by_file_ctrl (by_file.c:111)
==32718== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32718== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32718== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32718== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32718== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32718== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32718== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32718==
=== End of file valgrind301
test 0302...[HTTPS GET over HTTP proxy fails]
-------emv- OK (302 out of 1250, remaining: 24:05, took 1.2s, duration: 07:40)
test 0303...[HTTPS with 8 secs timeout]
Warning: server logs lock timeout (2 seconds) expired
goto problem 12
valgrind ERROR ==32731== Invalid read of size 8
==32731== at 0x53315A5: check_free (dlerror.c:188)
==32731== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32731== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32731== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32731== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32731== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32731== by 0x4D60EB9: exit (exit.c:139)
==32731== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32731== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==32731== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32731== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32731== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32731== by 0x24B104: err_get_state (err.c:210)
==32731== by 0x24BCDA: ERR_put_error (err.c:636)
==32731== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32731== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32731== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32731== by 0x270326: by_file_ctrl (by_file.c:111)
==32731== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32731== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32731== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32731== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32731== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32731== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32731== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32731==
==32731== Invalid free() / delete / delete[] / realloc()
==32731== at 0x48369AB: free (vg_replace_malloc.c:540)
==32731== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32731== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32731== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32731== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32731== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32731== by 0x4D60EB9: exit (exit.c:139)
==32731== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32731== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==32731== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32731== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32731== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32731== by 0x24B104: err_get_state (err.c:210)
==32731== by 0x24BCDA: ERR_put_error (err.c:636)
==32731== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32731== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32731== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32731== by 0x270326: by_file_ctrl (by_file.c:111)
==32731== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32731== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32731== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32731== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32731== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32731== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32731== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32731==
==32731== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32731== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32731== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32731== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32731== by 0x24B104: err_get_state (err.c:210)
==32731== by 0x24BCDA: ERR_put_error (err.c:636)
==32731== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32731== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32731== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32731== by 0x270326: by_file_ctrl (by_file.c:111)
==32731== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32731== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32731== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32731== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32731== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32731== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32731== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32731==
== 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:58.936727 ====> Client connect
02:58:58.936771 accept_connection 3 returned 4
02:58:58.936791 accept_connection 3 returned 0
02:58:59.022609 Read 90 bytes
02:58:59.022648 Process 90 bytes request
02:58:59.022665 Got request: GET /want/303 HTTP/1.1
02:58:59.022679 Requested test number 303 part 0
02:58:59.022710 - request found to be complete
02:58:59.022740 Wrote request (90 bytes) input to log/server.input
02:58:59.022768 Send response test303 section <data>
02:58:59.022851 Response sent (94 bytes) and written to log/server.response
02:58:59.022865 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 --:--:-- 5
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:56.798444 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
02:58:56.856779 == Info: Added connection 0. The cache now contains 1 members
02:58:56.875293 == Info: Trying 127.0.0.1:8991...
02:58:56.875945 == Info: TCP_NODELAY set
02:58:56.880750 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
02:58:56.892916 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:56.893498 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
02:58:56.894611 == Info: Marked for [keep alive]: HTTP default
02:58:56.947814 == Info: ALPN, offering h2
02:58:56.948111 == Info: ALPN, offering http/1.1
02:58:58.387467 == Info: successfully set certificate verify locations:
02:58:58.387777 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:58.508113 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:58.513793 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:58.513865 => Send SSL data, 148 bytes (0x94)
0000: ........2q/:.&...$..R.r.s.......}..F.G....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:58.532003 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:58.537720 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:58.537783 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..AET1{2]........|...]..Ku.,Q.6d.. ..$....K\..8.z....Ti.....
0040: ......C./................
02:58:58.584819 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:58.585340 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:58.585406 <= 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:58.691126 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:58.691418 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:58.691481 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.2..Uq.h.>.[7F]).Fq.;PJ)|%..\j..[v...9.ZN....(...N.........
0040: ......Se.....-.....+..[7F].......zH..4s.&....<..|.'x1@..F..6{......
0080: .'r.E.G.q..RB..W.Y'(.. ..I].H........0....i.r.......\.M=......;[
00c0: ..!^....G(....<&].YY..X..h\w.5......nm..%oCi=?...?...'...F.Pep4.
0100: .U.....;...m.o..U.hkUZ;...~!..o..7...vo.......W._.A1xAO[7F]o..2...O
0140: 5.s.bX..(..q.
02:58:58.764660 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:58.765026 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:58:58.765087 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:58:58.886947 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:58:58.887212 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:58:58.887269 => Send SSL data, 70 bytes (0x46)
0000: ...BA...w.......^q..n.<.Mw...U....:.M...P.g"|i8...a4%B.&V....GI.
0040: ..'A..
02:58:58.899843 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:58.900454 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:58:58.900514 => Send SSL data, 1 bytes (0x1)
0000: .
02:58:58.922561 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:58:58.922635 => Send SSL data, 16 bytes (0x10)
0000: ....A%0....K.E~V
02:58:58.935839 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:58:58.938495 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:58.939647 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:58:58.939710 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:58:58.942266 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:58:58.948539 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:58:58.948600 <= Recv SSL data, 16 bytes (0x10)
0000: .......q........
02:58:58.977395 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:58:58.978072 == Info: ALPN, server did not agree to a protocol
02:58:58.980785 == Info: Server certificate:
02:58:58.988438 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:58.994634 == Info: start date: Aug 31 23:39:18 2018 GMT
02:58:58.995645 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:58:58.996581 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:58.997472 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:58:58.998982 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #0)
02:58:59.020846 => Send SSL data, 5 bytes (0x5)
0000: ....r
02:58:59.023886 => Send header, 90 bytes (0x5a)
0000: GET /want/303 HTTP/1.1
0018: Host: 127.0.0.1:8991
002e: User-Agent: curl/7.66.0-DEV
004b: Accept: */*
0058:
02:58:59.026886 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #0)
02:58:59.027983 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
02:58:59.032431 <= Recv SSL data, 5 bytes (0x5)
0000: ....h
02:58:59.041070 == Info: Mark bundle as not supporting multiuse
02:58:59.041662 == Info: HTTP 1.1 or later with persistent connection
02:58:59.044370 <= Recv header, 17 bytes (0x11)
0000: HTTP/1.1 200 OK
02:58:59.048086 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:58:59.049184 == Info: Marked for [closure]: Connection: close used
02:58:59.049303 <= Recv header, 19 bytes (0x13)
0000: Connection: close
02:58:59.052062 <= Recv header, 2 bytes (0x2)
0000:
02:58:59.052902 <= Recv data, 5 bytes (0x5)
0000: _data
02:58:59.062006 <= Recv SSL data, 5 bytes (0x5)
0000: ....&
02:58:59.062656 <= Recv data, 14 bytes (0xe)
0000: _result_data_.
02:59:04.816987 == Info: Operation timed out after 8000 milliseconds with 19 bytes received
02:59:04.817446 == Info: multi_done
02:59:04.826398 == Info: Closing connection 0
02:59:04.828084 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:04.829035 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:04.829094 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:04.891958 == Info: The cache now contains 0 members
02:59:04.899533 == Info: Expire cleared (transfer 0x56c52c8)
=== End of file trace303
=== Start of file valgrind303
==32731== Invalid read of size 8
==32731== at 0x53315A5: check_free (dlerror.c:188)
==32731== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32731== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32731== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32731== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32731== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32731== by 0x4D60EB9: exit (exit.c:139)
==32731== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32731== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==32731== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32731== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32731== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32731== by 0x24B104: err_get_state (err.c:210)
==32731== by 0x24BCDA: ERR_put_error (err.c:636)
==32731== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32731== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32731== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32731== by 0x270326: by_file_ctrl (by_file.c:111)
==32731== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32731== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32731== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32731== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32731== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32731== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32731== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32731==
==32731== Invalid free() / delete / delete[] / realloc()
==32731== at 0x48369AB: free (vg_replace_malloc.c:540)
==32731== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32731== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32731== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32731== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32731== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32731== by 0x4D60EB9: exit (exit.c:139)
==32731== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32731== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==32731== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32731== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32731== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32731== by 0x24B104: err_get_state (err.c:210)
==32731== by 0x24BCDA: ERR_put_error (err.c:636)
==32731== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32731== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32731== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32731== by 0x270326: by_file_ctrl (by_file.c:111)
==32731== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32731== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32731== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32731== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32731== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32731== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32731== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32731==
==32731== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32731== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32731== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32731== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32731== by 0x24B104: err_get_state (err.c:210)
==32731== by 0x24BCDA: ERR_put_error (err.c:636)
==32731== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32731== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32731== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32731== by 0x270326: by_file_ctrl (by_file.c:111)
==32731== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32731== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32731== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32731== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32731== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32731== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32731== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32731==
=== End of file valgrind303
test 0304...[HTTPS multipart formpost]
goto problem 13
valgrind ERROR ==32744== Invalid read of size 8
==32744== at 0x53315A5: check_free (dlerror.c:188)
==32744== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32744== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32744== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32744== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32744== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32744== by 0x4D60EB9: exit (exit.c:139)
==32744== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32744== Address 0x5b005d0 is 0 bytes after a block of size 32 alloc'd
==32744== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32744== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32744== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32744== by 0x24B104: err_get_state (err.c:210)
==32744== by 0x24BCDA: ERR_put_error (err.c:636)
==32744== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32744== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32744== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32744== by 0x270326: by_file_ctrl (by_file.c:111)
==32744== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32744== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32744== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32744== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32744== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32744== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32744== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32744==
==32744== Invalid free() / delete / delete[] / realloc()
==32744== at 0x48369AB: free (vg_replace_malloc.c:540)
==32744== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32744== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32744== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32744== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32744== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32744== by 0x4D60EB9: exit (exit.c:139)
==32744== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32744== Address 0x5b005b8 is 8 bytes inside a block of size 32 alloc'd
==32744== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32744== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32744== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32744== by 0x24B104: err_get_state (err.c:210)
==32744== by 0x24BCDA: ERR_put_error (err.c:636)
==32744== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32744== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32744== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32744== by 0x270326: by_file_ctrl (by_file.c:111)
==32744== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32744== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32744== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32744== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32744== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32744== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32744== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32744==
==32744== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32744== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32744== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32744== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32744== by 0x24B104: err_get_state (err.c:210)
==32744== by 0x24BCDA: ERR_put_error (err.c:636)
==32744== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32744== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32744== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32744== by 0x270326: by_file_ctrl (by_file.c:111)
==32744== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32744== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32744== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32744== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32744== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32744== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32744== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32744==
== Contents of files in the log/ dir after test 304
=== Start of file curl304.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 10
blablabla
=== End of file curl304.out
=== Start of file http_server.log
02:59:19.041623 Continuing after sleeping 20 seconds
02:59:19.041704 => persistent connection request ended, awaits new request
02:59:19.041722 Connection closed by client
02:59:19.041732 ====> Client disconnect 0
02:59:19.041778 Error removing lock file log/serverlogs.lock error: 2 No such file or directory
02:59:19.041812 ====> Client connect
02:59:19.041824 accept_connection 3 returned 4
02:59:19.041837 accept_connection 3 returned 0
02:59:19.041852 Read 1610 bytes
02:59:19.041862 Process 1610 bytes request
02:59:19.041878 Got request: POST /we/want/304 HTTP/1.1
02:59:19.041889 Requested test number 304 part 0
02:59:19.041924 - request found to be complete
02:59:19.041936 Found Content-Length: 1386 in the request
02:59:19.041957 Wrote request (1610 bytes) input to log/server.input
02:59:19.041977 Send response test304 section <data>
02:59:19.042067 Response sent (108 bytes) and written to log/server.response
02:59:19.042080 => persistent connection request ended, awaits new request
02:59:19.109753 Connection closed by client
02:59:19.109793 ====> 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 323 0:00:04 0:00:04 --:--:-- 330
100 1386 0 0 100 1386 0 262 0:00:05 0:00:05 --:--:-- 266
100 1386 0 0 100 1386 0 220 0:00:06 0:00:06 --:--:-- 223
100 1386 0 0 100 1386 0 190 0:00:07 0:00:07 --:--:-- 273
100 1386 0 0 100 1386 0 167 0:00:08 0:00:08 --:--:-- 275
100 1386 0 0 100 1386 0 149 0:00:09 0:00:09 --:--:-- 0
100 1386 0 0 100 1386 0 134 0:00:10 0:00:10 --:--:-- 0
100 1396 0 10 100 1386 0 124 0:00:11 0:00:11 --:--:-- 2
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:59:07.945986 == Info: STATE: INIT => CONNECT handle 0x56c9d68; line 1362 (connection #-5000)
02:59:08.004024 == Info: Added connection 0. The cache now contains 1 members
02:59:08.022111 == Info: Trying 127.0.0.1:8991...
02:59:08.022730 == Info: TCP_NODELAY set
02:59:08.027946 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c9d68; line 1418 (connection #0)
02:59:08.039789 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:08.040363 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c9d68; line 1538 (connection #0)
02:59:08.041441 == Info: Marked for [keep alive]: HTTP default
02:59:08.093652 == Info: ALPN, offering h2
02:59:08.093969 == Info: ALPN, offering http/1.1
02:59:09.559837 == Info: successfully set certificate verify locations:
02:59:09.560105 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:09.678463 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:09.683654 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:09.683722 => Send SSL data, 148 bytes (0x94)
0000: ......x. ..I..G.Il...}P..}Y.q%.1..........+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:09.701209 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:09.706882 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:09.706974 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....A.G:.,6.s.Jf?Q....i.!a,'.u..HV .7c.W..N...u.~L.[7F].^..9.t.
0040: .>..-.../................
02:59:09.751761 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:09.752240 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:09.752297 <= 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.852507 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:09.852785 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:09.852842 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.2..Uq.h.>.[7F]).Fq.;PJ)|%..\j..[v...9.ZN....(...N.........
0040: ......Se......1..)&*...A.0;rdWw....[7F]......;........4Zey.M..Yl...
0080: K Ik.Q-.....W..g..RO.$3..Z.L].. T}....L........G...)$au=.r.....1
00c0: .=..%.&...'..EG7......&..r...J..,..:...U.H..:..t.N\..l2b.P...J.<
0100: ..P......s...............+s.6.\..d.t..a....XFN.*...@o.......a..s
0140: $.....h.....V
02:59:09.922777 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:09.923129 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:09.923185 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:10.042697 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:10.042946 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:10.043081 => Send SSL data, 70 bytes (0x46)
0000: ...BA...z..zu..4b.j...1..-..sU..........+...1..a..6.....S..y.,..
0040: ..*...
02:59:10.055537 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:10.056175 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:10.056234 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:10.079155 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:10.079253 => Send SSL data, 16 bytes (0x10)
0000: .....L.H....U...
02:59:10.092985 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:10.095609 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:10.096766 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:10.096826 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:10.099521 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:10.105519 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:10.105577 <= Recv SSL data, 16 bytes (0x10)
0000: ......."*|.x..-I
02:59:10.135783 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:10.136494 == Info: ALPN, server did not agree to a protocol
02:59:10.139336 == Info: Server certificate:
02:59:10.147105 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:10.153567 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:10.154537 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:10.155499 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:10.156382 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:10.158075 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c9d68; line 1556 (connection #0)
02:59:10.196023 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:10.199120 => Send header, 224 bytes (0xe0)
0000: POST /we/want/304 HTTP/1.1
001c: Host: 127.0.0.1:8991
0032: User-Agent: curl/7.66.0-DEV
004f: Accept: */*
005c: Content-Length: 1386
0072: Content-Type: multipart/form-data; boundary=--------------------
00b2: ----3433323135333231
00c8: Expect: 100-continue
00de:
02:59:10.203082 == Info: STATE: DO => DO_DONE handle 0x56c9d68; line 1627 (connection #0)
02:59:10.203586 == Info: STATE: DO_DONE => PERFORM handle 0x56c9d68; line 1749 (connection #0)
02:59:11.204466 == Info: Done waiting for 100-continue
02:59:11.219404 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:11.219796 => Send data, 1386 bytes (0x56a)
0000: --------------------------3433323135333231
002c: Content-Disposition: form-data; name="name"
0059:
005b: daniel
0063: --------------------------3433323135333231
008f: Content-Disposition: form-data; name="tool"
00bc:
00be: curl
00c4: --------------------------3433323135333231
00f0: Content-Disposition: form-data; name="file"; filename="test304.t
0130: xt"
0135: Content-Type: text/plain
014f:
0151: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0191: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
01d1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0211: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0251: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0291: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
02d1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0311: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0351: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0391: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
03d1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0411: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0451: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0491: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
04d1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0511: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.
053c: --------------------------3433323135333231--
02:59:11.225348 == Info: We are completely uploaded and fine
02:59:19.045634 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:19.054912 == Info: Mark bundle as not supporting multiuse
02:59:19.055509 == Info: HTTP 1.1 or later with persistent connection
02:59:19.058237 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:59:19.061978 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:19.062206 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:19.063275 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 10
02:59:19.065800 <= Recv header, 1 bytes (0x1)
0000: .
02:59:19.066630 <= Recv data, 10 bytes (0xa)
0000: blablabla.
02:59:19.072136 == Info: STATE: PERFORM => DONE handle 0x56c9d68; line 1939 (connection #0)
02:59:19.072463 == Info: multi_done
02:59:19.080925 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace304
=== Start of file valgrind304
==32744== Invalid read of size 8
==32744== at 0x53315A5: check_free (dlerror.c:188)
==32744== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32744== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32744== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32744== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32744== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32744== by 0x4D60EB9: exit (exit.c:139)
==32744== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32744== Address 0x5b005d0 is 0 bytes after a block of size 32 alloc'd
==32744== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32744== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32744== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32744== by 0x24B104: err_get_state (err.c:210)
==32744== by 0x24BCDA: ERR_put_error (err.c:636)
==32744== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32744== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32744== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32744== by 0x270326: by_file_ctrl (by_file.c:111)
==32744== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32744== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32744== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32744== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32744== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32744== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32744== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32744==
==32744== Invalid free() / delete / delete[] / realloc()
==32744== at 0x48369AB: free (vg_replace_malloc.c:540)
==32744== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32744== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32744== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32744== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32744== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32744== by 0x4D60EB9: exit (exit.c:139)
==32744== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32744== Address 0x5b005b8 is 8 bytes inside a block of size 32 alloc'd
==32744== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32744== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32744== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32744== by 0x24B104: err_get_state (err.c:210)
==32744== by 0x24BCDA: ERR_put_error (err.c:636)
==32744== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32744== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32744== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32744== by 0x270326: by_file_ctrl (by_file.c:111)
==32744== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32744== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32744== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32744== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32744== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32744== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32744== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32744==
==32744== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32744== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32744== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32744== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32744== by 0x24B104: err_get_state (err.c:210)
==32744== by 0x24BCDA: ERR_put_error (err.c:636)
==32744== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32744== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32744== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32744== by 0x270326: by_file_ctrl (by_file.c:111)
==32744== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32744== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32744== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32744== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32744== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32744== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32744== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32744==
=== End of file valgrind304
test 0305...[insecure HTTPS without permission]
goto problem 14
valgrind ERROR ==32748== Invalid read of size 8
==32748== at 0x53315A5: check_free (dlerror.c:188)
==32748== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32748== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32748== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32748== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32748== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32748== by 0x4D60EB9: exit (exit.c:139)
==32748== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32748== Address 0x57560a0 is 0 bytes after a block of size 32 alloc'd
==32748== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32748== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32748== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32748== by 0x24B104: err_get_state (err.c:210)
==32748== by 0x24BCDA: ERR_put_error (err.c:636)
==32748== by 0x23B5AB: BIO_new_file (file.c:99)
==32748== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==32748== by 0x270326: by_file_ctrl (by_file.c:111)
==32748== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32748== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32748== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32748== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32748== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32748== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32748== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32748== by 0x18A933: https_connecting (http.c:1576)
==32748==
==32748== Invalid free() / delete / delete[] / realloc()
==32748== at 0x48369AB: free (vg_replace_malloc.c:540)
==32748== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32748== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32748== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32748== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32748== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32748== by 0x4D60EB9: exit (exit.c:139)
==32748== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32748== Address 0x5756088 is 8 bytes inside a block of size 32 alloc'd
==32748== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32748== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32748== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32748== by 0x24B104: err_get_state (err.c:210)
==32748== by 0x24BCDA: ERR_put_error (err.c:636)
==32748== by 0x23B5AB: BIO_new_file (file.c:99)
==32748== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==32748== by 0x270326: by_file_ctrl (by_file.c:111)
==32748== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32748== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32748== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32748== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32748== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32748== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32748== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32748== by 0x18A933: https_connecting (http.c:1576)
==32748==
==32748== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==32748== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32748== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32748== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32748== by 0x24B104: err_get_state (err.c:210)
==32748== by 0x24BCDA: ERR_put_error (err.c:636)
==32748== by 0x23B5AB: BIO_new_file (file.c:99)
==32748== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==32748== by 0x270326: by_file_ctrl (by_file.c:111)
==32748== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32748== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32748== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32748== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32748== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32748== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32748== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32748== by 0x18A933: https_connecting (http.c:1576)
==32748==
== Contents of files in the log/ dir after test 305
=== Start of file stderr305
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (77) error setting certificate verify locations:
CAfile: moooo
CApath: none
=== End of file stderr305
=== Start of file trace305
02:59:20.180543 == Info: STATE: INIT => CONNECT handle 0x56c5768; line 1362 (connection #-5000)
02:59:20.236808 == Info: Added connection 0. The cache now contains 1 members
02:59:20.254843 == Info: Trying 127.0.0.1:8991...
02:59:20.255466 == Info: TCP_NODELAY set
02:59:20.260654 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5768; line 1418 (connection #0)
02:59:20.272312 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:20.272875 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5768; line 1538 (connection #0)
02:59:20.273955 == Info: Marked for [keep alive]: HTTP default
02:59:20.325214 == Info: ALPN, offering h2
02:59:20.325505 == Info: ALPN, offering http/1.1
02:59:20.336475 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
02:59:20.336970 == Info: Marked for [closure]: Failed HTTPS connection
02:59:20.337596 == Info: multi_done
02:59:20.346866 == Info: Closing connection 0
02:59:20.366606 == Info: The cache now contains 0 members
02:59:20.374490 == Info: Expire cleared (transfer 0x56c5768)
=== End of file trace305
=== Start of file valgrind305
==32748== Invalid read of size 8
==32748== at 0x53315A5: check_free (dlerror.c:188)
==32748== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32748== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32748== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32748== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32748== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32748== by 0x4D60EB9: exit (exit.c:139)
==32748== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32748== Address 0x57560a0 is 0 bytes after a block of size 32 alloc'd
==32748== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32748== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32748== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32748== by 0x24B104: err_get_state (err.c:210)
==32748== by 0x24BCDA: ERR_put_error (err.c:636)
==32748== by 0x23B5AB: BIO_new_file (file.c:99)
==32748== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==32748== by 0x270326: by_file_ctrl (by_file.c:111)
==32748== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32748== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32748== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32748== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32748== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32748== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32748== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32748== by 0x18A933: https_connecting (http.c:1576)
==32748==
==32748== Invalid free() / delete / delete[] / realloc()
==32748== at 0x48369AB: free (vg_replace_malloc.c:540)
==32748== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32748== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32748== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32748== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32748== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32748== by 0x4D60EB9: exit (exit.c:139)
==32748== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32748== Address 0x5756088 is 8 bytes inside a block of size 32 alloc'd
==32748== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32748== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32748== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32748== by 0x24B104: err_get_state (err.c:210)
==32748== by 0x24BCDA: ERR_put_error (err.c:636)
==32748== by 0x23B5AB: BIO_new_file (file.c:99)
==32748== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==32748== by 0x270326: by_file_ctrl (by_file.c:111)
==32748== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32748== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32748== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32748== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32748== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32748== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32748== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32748== by 0x18A933: https_connecting (http.c:1576)
==32748==
==32748== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==32748== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32748== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32748== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32748== by 0x24B104: err_get_state (err.c:210)
==32748== by 0x24BCDA: ERR_put_error (err.c:636)
==32748== by 0x23B5AB: BIO_new_file (file.c:99)
==32748== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==32748== by 0x270326: by_file_ctrl (by_file.c:111)
==32748== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32748== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32748== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32748== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32748== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32748== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32748== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32748== by 0x18A933: https_connecting (http.c:1576)
==32748==
=== End of file valgrind305
test 0306...[HTTPS GET, receive no headers only data!]
goto problem 15
valgrind ERROR ==32754== Invalid read of size 8
==32754== at 0x53315A5: check_free (dlerror.c:188)
==32754== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32754== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32754== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32754== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32754== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32754== by 0x4D60EB9: exit (exit.c:139)
==32754== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32754== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==32754== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32754== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32754== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32754== by 0x24B104: err_get_state (err.c:210)
==32754== by 0x24BCDA: ERR_put_error (err.c:636)
==32754== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32754== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32754== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32754== by 0x270326: by_file_ctrl (by_file.c:111)
==32754== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32754== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32754== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32754== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32754== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32754== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32754== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32754==
==32754== Invalid free() / delete / delete[] / realloc()
==32754== at 0x48369AB: free (vg_replace_malloc.c:540)
==32754== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32754== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32754== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32754== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32754== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32754== by 0x4D60EB9: exit (exit.c:139)
==32754== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32754== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==32754== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32754== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32754== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32754== by 0x24B104: err_get_state (err.c:210)
==32754== by 0x24BCDA: ERR_put_error (err.c:636)
==32754== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32754== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32754== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32754== by 0x270326: by_file_ctrl (by_file.c:111)
==32754== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32754== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32754== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32754== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32754== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32754== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32754== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32754==
==32754== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32754== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32754== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32754== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32754== by 0x24B104: err_get_state (err.c:210)
==32754== by 0x24BCDA: ERR_put_error (err.c:636)
==32754== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32754== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32754== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32754== by 0x270326: by_file_ctrl (by_file.c:111)
==32754== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32754== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32754== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32754== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32754== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32754== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32754== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32754==
== 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:23.649807 ====> Client connect
02:59:23.649844 accept_connection 3 returned 4
02:59:23.649858 accept_connection 3 returned 0
02:59:23.738105 Read 85 bytes
02:59:23.738148 Process 85 bytes request
02:59:23.738169 Got request: GET /306 HTTP/1.1
02:59:23.738179 Requested test number 306 part 0
02:59:23.738208 - request found to be complete
02:59:23.738243 Wrote request (85 bytes) input to log/server.input
02:59:23.738267 Send response test306 section <data>
02:59:23.738292 connection close instruction "swsclose" found in response
02:59:23.738363 Response sent (107 bytes) and written to log/server.response
02:59:23.738380 instructed to close connection after server-reply
02:59:23.738392 ====> 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 45 0 --:--:-- 0:00:02 --:--:-- 46
=== End of file stderr306
=== Start of file trace306
02:59:21.428652 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
02:59:21.487496 == Info: Added connection 0. The cache now contains 1 members
02:59:21.506811 == Info: Trying 127.0.0.1:8991...
02:59:21.507490 == Info: TCP_NODELAY set
02:59:21.512924 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
02:59:21.526497 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:21.527341 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
02:59:21.528791 == Info: Marked for [keep alive]: HTTP default
02:59:21.582771 == Info: ALPN, offering h2
02:59:21.583111 == Info: ALPN, offering http/1.1
02:59:23.096999 == Info: successfully set certificate verify locations:
02:59:23.097277 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:23.217627 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:23.222968 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:23.223031 => Send SSL data, 148 bytes (0x94)
0000: ......d.*.s...v>...}...O..M...{..Y.k.E....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:23.241324 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:23.247186 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:23.247255 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..........b%.T"..rl..4....z....^\. .2....U...<an:.....N.{K..
0040: .#.W..../................
02:59:23.294181 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:23.294757 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:23.294822 <= 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:23.400152 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:23.400439 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:23.400494 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.2..Uq.h.>.[7F]).Fq.;PJ)|%..\j..[v...9.ZN....(...N.........
0040: ......Se.....................[`..f..o...I4ih...|.....].'\......$
0080: ......l.fGN..d.E.z.XT./[7F].........s@`.|.w...E.U.... ..\.T......p6
00c0: [.5..,.N............e5.%Z.f.:..b....c3..j.T..?U.B2.ZM....!..?.K.
0100: .a....Q.....S....@..^...w...&J.. .b.Vo..B.I.a......u...c...A...
0140: 3>..x..q.J*|.
02:59:23.473734 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:23.474097 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:23.474156 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:23.598815 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:23.599080 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:23.599135 => Send SSL data, 70 bytes (0x46)
0000: ...BA.~.h..............(.Q0.4.Y.[7F]..<ny..O1<.........9...u/..<6.|
0040: Z...>.
02:59:23.611586 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:23.612191 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:23.612248 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:23.635306 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:23.635379 => Send SSL data, 16 bytes (0x10)
0000: .....=B.G..!:...
02:59:23.648924 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:23.651655 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:23.652802 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:23.652862 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:23.655471 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:23.661478 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:23.661534 <= Recv SSL data, 16 bytes (0x10)
0000: ........R...9C..
02:59:23.691318 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:23.692025 == Info: ALPN, server did not agree to a protocol
02:59:23.694830 == Info: Server certificate:
02:59:23.702758 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:23.709233 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:23.710215 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:23.711189 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:23.712104 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:23.713654 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #0)
02:59:23.735666 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:59:23.739577 => Send header, 85 bytes (0x55)
0000: GET /306 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: User-Agent: curl/7.66.0-DEV
0046: Accept: */*
0053:
02:59:23.742843 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #0)
02:59:23.743340 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
02:59:23.748030 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:59:23.752891 == Info: Marked for [closure]: bad HTTP: No end-of-message indicator
02:59:23.753815 <= Recv data, 20 bytes (0x14)
0000: No headers at all, j
02:59:23.764433 <= Recv SSL data, 5 bytes (0x5)
0000: ....o
02:59:23.764718 <= Recv data, 87 bytes (0x57)
0000: ust data swsclose..Let's get..a little..so that..we..have..some.
0040: .test..data to..verify.
02:59:23.788679 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:23.789647 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
02:59:23.789702 <= Recv SSL data, 2 bytes (0x2)
0000: ..
02:59:23.791320 == Info: nread <= 0, server closed connection, bailing
02:59:23.792574 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #0)
02:59:23.792906 == Info: multi_done
02:59:23.802713 == Info: Closing connection 0
02:59:23.804803 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:23.805518 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:23.805593 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:23.871530 == Info: The cache now contains 0 members
=== End of file trace306
=== Start of file valgrind306
==32754== Invalid read of size 8
==32754== at 0x53315A5: check_free (dlerror.c:188)
==32754== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32754== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32754== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32754== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32754== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32754== by 0x4D60EB9: exit (exit.c:139)
==32754== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32754== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==32754== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32754== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32754== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32754== by 0x24B104: err_get_state (err.c:210)
==32754== by 0x24BCDA: ERR_put_error (err.c:636)
==32754== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32754== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32754== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32754== by 0x270326: by_file_ctrl (by_file.c:111)
==32754== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32754== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32754== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32754== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32754== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32754== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32754== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32754==
==32754== Invalid free() / delete / delete[] / realloc()
==32754== at 0x48369AB: free (vg_replace_malloc.c:540)
==32754== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32754== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32754== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32754== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32754== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32754== by 0x4D60EB9: exit (exit.c:139)
==32754== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32754== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==32754== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32754== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32754== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32754== by 0x24B104: err_get_state (err.c:210)
==32754== by 0x24BCDA: ERR_put_error (err.c:636)
==32754== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32754== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32754== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32754== by 0x270326: by_file_ctrl (by_file.c:111)
==32754== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32754== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32754== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32754== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32754== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32754== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32754== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32754==
==32754== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32754== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32754== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32754== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32754== by 0x24B104: err_get_state (err.c:210)
==32754== by 0x24BCDA: ERR_put_error (err.c:636)
==32754== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32754== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32754== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32754== by 0x270326: by_file_ctrl (by_file.c:111)
==32754== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32754== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32754== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32754== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32754== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32754== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32754== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32754==
=== End of file valgrind306
test 0307 SKIPPED: curl lacks OpenSSL support
test 0308 SKIPPED: curl lacks OpenSSL support
test 0309...[HTTP Location: redirect to HTTPS URL]
goto problem 16
valgrind ERROR ==32762== Invalid read of size 8
==32762== at 0x53315A5: check_free (dlerror.c:188)
==32762== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32762== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32762== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32762== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32762== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32762== by 0x4D60EB9: exit (exit.c:139)
==32762== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32762== Address 0x5b2ee70 is 0 bytes after a block of size 32 alloc'd
==32762== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32762== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32762== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32762== by 0x24B104: err_get_state (err.c:210)
==32762== by 0x24BCDA: ERR_put_error (err.c:636)
==32762== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32762== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32762== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32762== by 0x270326: by_file_ctrl (by_file.c:111)
==32762== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32762== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32762== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32762== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32762== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32762== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32762== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32762==
==32762== Invalid free() / delete / delete[] / realloc()
==32762== at 0x48369AB: free (vg_replace_malloc.c:540)
==32762== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32762== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32762== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32762== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32762== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32762== by 0x4D60EB9: exit (exit.c:139)
==32762== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32762== Address 0x5b2ee58 is 8 bytes inside a block of size 32 alloc'd
==32762== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32762== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32762== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32762== by 0x24B104: err_get_state (err.c:210)
==32762== by 0x24BCDA: ERR_put_error (err.c:636)
==32762== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32762== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32762== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32762== by 0x270326: by_file_ctrl (by_file.c:111)
==32762== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32762== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32762== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32762== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32762== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32762== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32762== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32762==
==32762== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32762== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32762== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32762== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32762== by 0x24B104: err_get_state (err.c:210)
==32762== by 0x24BCDA: ERR_put_error (err.c:636)
==32762== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32762== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32762== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32762== by 0x270326: by_file_ctrl (by_file.c:111)
==32762== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32762== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32762== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32762== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32762== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32762== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32762== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32762==
== 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:24.982572 ====> Client connect
02:59:24.982610 accept_connection 3 returned 4
02:59:24.982625 accept_connection 3 returned 0
02:59:25.015142 Read 90 bytes
02:59:25.015185 Process 90 bytes request
02:59:25.015202 Got request: GET /want/309 HTTP/1.1
02:59:25.015212 Requested test number 309 part 0
02:59:25.015239 - request found to be complete
02:59:25.015265 Wrote request (90 bytes) input to log/server.input
02:59:25.015290 Send response test309 section <data>
02:59:25.015317 connection close instruction "swsclose" found in response
02:59:25.015401 Response sent (277 bytes) and written to log/server.response
02:59:25.015411 instructed to close connection after server-reply
02:59:25.015418 ====> Client disconnect 0
02:59:27.121445 ====> Client connect
02:59:27.121469 accept_connection 3 returned 4
02:59:27.121484 accept_connection 3 returned 0
02:59:27.194862 Read 111 bytes
02:59:27.194900 Process 111 bytes request
02:59:27.194919 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
02:59:27.194928 Requested test number 309 part 2
02:59:27.194955 - request found to be complete
02:59:27.194967 Wrote request (111 bytes) input to log/server.input
02:59:27.194979 Send response test309 section <data2>
02:59:27.195001 connection close instruction "swsclose" found in response
02:59:27.195064 Response sent (179 bytes) and written to log/server.response
02:59:27.195074 instructed to close connection after server-reply
02:59:27.195081 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /want/309 HTTP/1.1
Host: 127.0.0.1:8990
User-Agent: curl/7.66.0-DEV
Accept: */*
GET /data/3090002.txt?coolsite=yes HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
Connection: close
This server reply is for testing a simple Location: following to HTTPS URL
HTTP/1.1 200 Followed here fine swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 52
If this is received, the location following worked
=== End of file server.response
=== Start of file stderr309
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

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

0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 52 100 52 0 0 22 0 0:00:02 0:00:02 --:--:-- 1529
=== End of file stderr309
=== Start of file trace309
02:59:24.906862 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
02:59:24.961446 == Info: Added connection 0. The cache now contains 1 members
02:59:24.979347 == Info: Trying 127.0.0.1:8990...
02:59:24.979993 == Info: TCP_NODELAY set
02:59:24.985377 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
02:59:24.997474 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
02:59:24.998054 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
02:59:24.999134 == Info: Marked for [keep alive]: HTTP default
02:59:25.000165 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #0)
02:59:25.015910 => Send header, 90 bytes (0x5a)
0000: GET /want/309 HTTP/1.1
0018: Host: 127.0.0.1:8990
002e: User-Agent: curl/7.66.0-DEV
004b: Accept: */*
0058:
02:59:25.021260 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #0)
02:59:25.021743 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
02:59:25.031553 == Info: Mark bundle as not supporting multiuse
02:59:25.032183 == Info: HTTP 1.1 or later with persistent connection
02:59:25.035048 <= Recv header, 53 bytes (0x35)
0000: HTTP/1.1 301 This is a weirdo text message swsclose
02:59:25.039010 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:25.039243 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
02:59:25.041373 <= Recv header, 64 bytes (0x40)
0000: Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
02:59:25.042451 == Info: Marked for [closure]: Connection: close used
02:59:25.042570 <= Recv header, 19 bytes (0x13)
0000: Connection: close
02:59:25.045360 <= Recv header, 2 bytes (0x2)
0000:
02:59:25.047121 == Info: multi_done
02:59:25.056621 == Info: Closing connection 0
02:59:25.061445 == Info: The cache now contains 0 members
02:59:25.072228 == Info: Issue another request to this URL: 'https://127.0.0.1:8991/data/3090002.txt?coolsite=yes'
02:59:25.073126 == Info: STATE: PERFORM => CONNECT handle 0x56c52c8; line 1916 (connection #-5000)
02:59:25.076967 == Info: Added connection 1. The cache now contains 1 members
02:59:25.077633 == Info: Trying 127.0.0.1:8991...
02:59:25.077693 == Info: TCP_NODELAY set
02:59:25.078185 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #1)
02:59:25.078319 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#1)
02:59:25.078402 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #1)
02:59:25.078474 == Info: Marked for [keep alive]: HTTP default
02:59:25.134511 == Info: ALPN, offering h2
02:59:25.134916 == Info: ALPN, offering http/1.1
02:59:26.594411 == Info: successfully set certificate verify locations:
02:59:26.594683 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:26.709603 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:26.712680 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:26.712742 => Send SSL data, 148 bytes (0x94)
0000: ......r.`.F....1g....8.W.w..Ly[H...p......+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:26.730105 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:26.735765 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:26.735832 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...M.D...M.'b..U..z...g4L....g...H 1...@...S.mR6|..\.|7.E.c.
0040: {uH../k./................
02:59:26.781193 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:26.781683 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:26.781742 <= 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:26.882815 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:26.883094 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:26.883152 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.2..Uq.h.>.[7F]).Fq.;PJ)|%..\j..[v...9.ZN....(...N.........
0040: ......Se.......L{.1.f.#[7F].&7t>...].....J6..j............6....K.S.
0080: .......i.s7"....(..._.9.d..<txp.i|..I_....z'[7F]<.... .j..F.[<.J.$.
00c0: ..nQK...aY.!...E.....2.<....&........s.aiH..s.e..n;.x.S$p.l..c..
0100: V.[....B.l.V..\=.7..x....3/4E..r...|.l?...E.\Nw.....o .K..y..W5K
0140: ...P......^..
02:59:26.953441 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:26.953789 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:26.953846 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:27.071867 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:27.072127 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:27.072185 => Send SSL data, 70 bytes (0x46)
0000: ...BA./..8.!.4...^..........%...H....h@..$..ee^!.|....cR..*.0._.
0040: "..3..
02:59:27.085315 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:27.085993 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:27.086056 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:27.107885 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:27.107957 => Send SSL data, 16 bytes (0x10)
0000: .....^.X...g....
02:59:27.120578 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:27.123273 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:27.124381 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:27.124438 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:27.126903 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:27.132621 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:27.132677 <= Recv SSL data, 16 bytes (0x10)
0000: .....ocd.}.7;MbA
02:59:27.161279 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:27.161954 == Info: ALPN, server did not agree to a protocol
02:59:27.164646 == Info: Server certificate:
02:59:27.172160 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:27.178403 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:27.179354 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:27.180313 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:27.181182 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:27.182354 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #1)
02:59:27.193208 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:27.195791 => Send header, 111 bytes (0x6f)
0000: GET /data/3090002.txt?coolsite=yes HTTP/1.1
002d: Host: 127.0.0.1:8991
0043: User-Agent: curl/7.66.0-DEV
0060: Accept: */*
006d:
02:59:27.196372 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #1)
02:59:27.196467 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #1)
02:59:27.199197 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:59:27.208597 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
02:59:27.209040 == Info: Mark bundle as not supporting multiuse
02:59:27.209210 == Info: HTTP 1.1 or later with persistent connection
02:59:27.209280 <= Recv header, 42 bytes (0x2a)
0000: HTTP/1.1 200 Followed here fine swsclose
02:59:27.209524 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:27.210328 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
02:59:27.210489 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
02:59:27.211560 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 52
02:59:27.211915 <= Recv header, 2 bytes (0x2)
0000:
02:59:27.212294 <= Recv data, 13 bytes (0xd)
0000: If this is re
02:59:27.214970 <= Recv SSL data, 5 bytes (0x5)
0000: ....?
02:59:27.215115 <= Recv data, 39 bytes (0x27)
0000: ceived, the location following worked..
02:59:27.216161 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #1)
02:59:27.216482 == Info: multi_done
02:59:27.219193 == Info: Connection #1 to host 127.0.0.1 left intact
=== End of file trace309
=== Start of file valgrind309
==32762== Invalid read of size 8
==32762== at 0x53315A5: check_free (dlerror.c:188)
==32762== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32762== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32762== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32762== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32762== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32762== by 0x4D60EB9: exit (exit.c:139)
==32762== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32762== Address 0x5b2ee70 is 0 bytes after a block of size 32 alloc'd
==32762== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32762== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32762== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32762== by 0x24B104: err_get_state (err.c:210)
==32762== by 0x24BCDA: ERR_put_error (err.c:636)
==32762== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32762== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32762== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32762== by 0x270326: by_file_ctrl (by_file.c:111)
==32762== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32762== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32762== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32762== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32762== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32762== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32762== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32762==
==32762== Invalid free() / delete / delete[] / realloc()
==32762== at 0x48369AB: free (vg_replace_malloc.c:540)
==32762== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32762== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32762== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32762== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32762== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32762== by 0x4D60EB9: exit (exit.c:139)
==32762== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32762== Address 0x5b2ee58 is 8 bytes inside a block of size 32 alloc'd
==32762== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32762== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32762== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32762== by 0x24B104: err_get_state (err.c:210)
==32762== by 0x24BCDA: ERR_put_error (err.c:636)
==32762== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32762== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32762== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32762== by 0x270326: by_file_ctrl (by_file.c:111)
==32762== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32762== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32762== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32762== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32762== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32762== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32762== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32762==
==32762== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32762== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32762== by 0x25C282: OPENSSL_malloc (mem.c:106)
==32762== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==32762== by 0x24B104: err_get_state (err.c:210)
==32762== by 0x24BCDA: ERR_put_error (err.c:636)
==32762== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==32762== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32762== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==32762== by 0x270326: by_file_ctrl (by_file.c:111)
==32762== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==32762== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==32762== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32762== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==32762== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==32762== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32762== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==32762==
=== End of file valgrind309
test 0310...[simple HTTPS GET]
goto problem 17
valgrind ERROR ==314== Invalid read of size 8
==314== at 0x53315A5: check_free (dlerror.c:188)
==314== by 0x5331AB1: free_key_mem (dlerror.c:221)
==314== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==314== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==314== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==314== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==314== by 0x4D60EB9: exit (exit.c:139)
==314== by 0x4D4B0A1: (below main) (libc-start.c:342)
==314== Address 0x5763290 is 0 bytes after a block of size 32 alloc'd
==314== at 0x483577F: malloc (vg_replace_malloc.c:309)
==314== by 0x25C282: OPENSSL_malloc (mem.c:106)
==314== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==314== by 0x24B104: err_get_state (err.c:210)
==314== by 0x24BCDA: ERR_put_error (err.c:636)
==314== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==314== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==314== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==314== by 0x270326: by_file_ctrl (by_file.c:111)
==314== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==314== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==314== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==314== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==314== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==314== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==314== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==314==
==314== Invalid free() / delete / delete[] / realloc()
==314== at 0x48369AB: free (vg_replace_malloc.c:540)
==314== by 0x5331AB9: free_key_mem (dlerror.c:223)
==314== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==314== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==314== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==314== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==314== by 0x4D60EB9: exit (exit.c:139)
==314== by 0x4D4B0A1: (below main) (libc-start.c:342)
==314== Address 0x5763278 is 8 bytes inside a block of size 32 alloc'd
==314== at 0x483577F: malloc (vg_replace_malloc.c:309)
==314== by 0x25C282: OPENSSL_malloc (mem.c:106)
==314== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==314== by 0x24B104: err_get_state (err.c:210)
==314== by 0x24BCDA: ERR_put_error (err.c:636)
==314== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==314== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==314== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==314== by 0x270326: by_file_ctrl (by_file.c:111)
==314== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==314== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==314== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==314== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==314== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==314== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==314== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==314==
==314== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==314== at 0x483577F: malloc (vg_replace_malloc.c:309)
==314== by 0x25C282: OPENSSL_malloc (mem.c:106)
==314== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==314== by 0x24B104: err_get_state (err.c:210)
==314== by 0x24BCDA: ERR_put_error (err.c:636)
==314== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==314== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==314== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==314== by 0x270326: by_file_ctrl (by_file.c:111)
==314== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==314== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==314== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==314== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==314== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==314== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==314== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==314==
== Contents of files in the log/ dir after test 310
=== Start of file curl310.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file curl310.out
=== Start of file http_server.log
02:59:27.367487 signalled to die
02:59:27.367570 ========> IPv4 sws (port 8990 pid: 31373) exits with signal (15)
02:59:32.381946 Running HTTP IPv4 version on port 8990
02:59:32.382058 Wrote pid 32766 to .http_server.pid
02:59:33.380348 ====> Client connect
02:59:33.380376 accept_connection 3 returned 4
02:59:33.380392 accept_connection 3 returned 0
02:59:33.380409 Read 96 bytes
02:59:33.380422 Process 96 bytes request
02:59:33.380442 Got request: GET /verifiedserver HTTP/1.1
02:59:33.380454 Are-we-friendly question received
02:59:33.380473 Wrote request (96 bytes) input to log/server.input
02:59:33.380497 Identifying ourselves as friends
02:59:33.380556 Response sent (56 bytes) and written to log/server.response
02:59:33.380569 special request received, no persistency
02:59:33.380579 ====> Client disconnect 0
02:59:35.415197 ====> Client connect
02:59:35.415225 accept_connection 3 returned 4
02:59:35.415241 accept_connection 3 returned 0
02:59:35.415339 Read 96 bytes
02:59:35.415353 Process 96 bytes request
02:59:35.415368 Got request: GET /verifiedserver HTTP/1.1
02:59:35.415378 Are-we-friendly question received
02:59:35.415391 Wrote request (96 bytes) input to log/server.input
02:59:35.415405 Identifying ourselves as friends
02:59:35.415452 Response sent (56 bytes) and written to log/server.response
02:59:35.415465 special request received, no persistency
02:59:35.415474 ====> Client disconnect 0
02:59:38.279621 ====> Client connect
02:59:38.279650 accept_connection 3 returned 4
02:59:38.279669 accept_connection 3 returned 0
02:59:38.373354 Read 85 bytes
02:59:38.373403 Process 85 bytes request
02:59:38.373428 Got request: GET /310 HTTP/1.1
02:59:38.373444 Requested test number 310 part 0
02:59:38.373485 - request found to be complete
02:59:38.373524 Wrote request (85 bytes) input to log/server.input
02:59:38.373557 Send response test310 section <data>
02:59:38.373657 Response sent (103 bytes) and written to log/server.response
02:59:38.373673 => persistent connection request ended, awaits new request
02:59:38.455632 Connection closed by client
02:59:38.455672 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55e11a4c57c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55e11a4c57c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55e11a4c57c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55e11a4c57c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55e11a4c57c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55e11a4c57c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55e11a4c57c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55e11a4c57c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 32766
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.14 02:59:34 LOG5[306]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.14 02:59:34 LOG5[306]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.14 02:59:34 LOG5[306]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.14 02:59:34 LOG5[306]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.14 02:59:34 LOG5[306]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.14 02:59:34 LOG5[306]: Reading configuration from file /build-30040/tests/https_stunnel.conf
2019.08.14 02:59:34 LOG5[306]: FIPS mode disabled
2019.08.14 02:59:34 LOG5[306]: Configuration successful
2019.08.14 02:59:35 LOG5[310]: Service [curltest] accepted connection from 127.0.0.1:33958
2019.08.14 02:59:35 LOG5[310]: s_connect: connected 127.0.0.1:8990
2019.08.14 02:59:35 LOG5[310]: Service [curltest] connected remote server from 127.0.0.1:38252
2019.08.14 02:59:35 LOG5[310]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.14 02:59:37 LOG5[317]: Service [curltest] accepted connection from 127.0.0.1:33964
2019.08.14 02:59:38 LOG5[317]: s_connect: connected 127.0.0.1:8990
2019.08.14 02:59:38 LOG5[317]: Service [curltest] connected remote server from 127.0.0.1:38258
2019.08.14 02:59:38 LOG5[317]: 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 0x55a485fb27c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55a485fb27c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55a485fb27c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55a485fb27c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [977 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:13:14 2018 GMT
* expire date: Dec 6 07:13:14 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55a485fb27c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55a485fb27c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55a485fb27c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55a485fb27c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55a485fb27c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 32766
=== 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: 32766
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 32766
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 6 0 0:00:01 0:00:01 --:--:-- 7
=== End of file stderr310
=== Start of file trace310
02:59:37.397646 == Info: STATE: INIT => CONNECT handle 0x56c5798; line 1362 (connection #-5000)
02:59:37.455608 == Info: Added connection 0. The cache now contains 1 members
02:59:37.497073 == Info: STATE: CONNECT => WAITRESOLVE handle 0x56c5798; line 1403 (connection #0)
02:59:37.530174 == Info: Trying ::1:8991...
02:59:37.530878 == Info: TCP_NODELAY set
02:59:37.536137 == Info: STATE: WAITRESOLVE => WAITCONNECT handle 0x56c5798; line 1482 (connection #0)
02:59:37.544374 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:37.546604 == Info: Trying 127.0.0.1:8991...
02:59:37.546669 == Info: TCP_NODELAY set
02:59:37.551726 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:37.552273 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5798; line 1538 (connection #0)
02:59:37.553348 == Info: Marked for [keep alive]: HTTP default
02:59:37.608650 == Info: ALPN, offering h2
02:59:37.608961 == Info: ALPN, offering http/1.1
02:59:37.704102 == Info: successfully set certificate verify locations:
02:59:37.704373 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:37.828402 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:37.833709 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:37.833772 => Send SSL data, 166 bytes (0xa6)
0000: .........G.:...7.................8...=....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:37.851879 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:37.857568 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:37.857631 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y.._.~`.'...;.0.dA....]~/.......... .Q.l..].t.o....cT.Q.O.w..
0040: .z..sf../....................
02:59:37.905494 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:37.905985 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:37.906045 <= Recv SSL data, 977 bytes (0x3d1)
0000: ..........0...0............f..S0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071314Z..261206071314Z0T1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost0.."0...*.H.............0..........0P.p.3[7F]...^Z...
0140: ."..:A.v....$."yG&Mj.A.1. ._:./O.\#.g...X.G.v.S...#.....G.`.....
0180: .......FTB.+.5.j.F..G.w..H.\.....=). ...`'b.s....-<...>.....P...
01c0: .2.-.a.....)?I..J.u0.b..k.MqD@9....sA.....].)v.k...,C^...P.-.m..
0200: ....F.;.....T..&,O.`..!9.D(...y..D. ..eT.'Vg..'........0..0...U.
0240: ...0...localhost0...U........0...U.%..0...+.......0...U.......6.
0280: S...dG.S..i......0...U.#..0......KF..u.,..T...e.{.0...U....0.0..
02c0: .*.H.............*....Ic/....C......k.@+..X.$W..Q..".}W........x
0300: Y4#.h......ve..$..C..+..K.i....TS.%.]."........;o<..s_..l;A.;..h
0340: ......(.8#.......g......-v.zUw1I-@z.?..P..:...u6P)\&.EC.%x.....9
0380: ppFwH.dz.W_M...W......&.KT-.*..o..J.L.....Z'..l.U,cP.6.....h ~..
03c0: |....h[7F]O>.....4..
02:59:38.092572 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:38.092854 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:38.092910 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.....gN"Dv|d.x.......m>.'y*kP..D(.......7,....*.[.....5h
0040: ..]..@s......Um..[7F]t..W....:.....3".]..f........sGl.....m{.*\IH..
0080: a..i....{~?..z&u.N..0..F..`,..$.[.$:"..[j.a.O...r............."Y
00c0: ..Iim....C....E.*..1.G(P@.0A..........^.R..?....m?._.. gf....@}L
0100: ..9o..._a.B.."L!Z.[7F]...W.9..c2d.,..o...ju.v.-$K..,.Z].....7.T...+
0140: .?....7.h..S.
02:59:38.108355 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:38.108687 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:38.108746 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:38.229400 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:38.229656 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:38.229716 => Send SSL data, 70 bytes (0x46)
0000: ...BA.Dv.~....[7F]..}>...q....bN...8......E..<|.RCv.....1.!..?+-...
0040: .d.t.n
02:59:38.242410 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:38.243020 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:38.243079 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:38.265574 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:38.265646 => Send SSL data, 16 bytes (0x10)
0000: ....,i.q'._..bLo
02:59:38.278722 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:38.281651 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:38.282875 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:38.282936 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:38.285750 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:38.291947 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:38.292005 <= Recv SSL data, 16 bytes (0x10)
0000: .....e5.|a.X....
02:59:38.321600 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:38.322348 == Info: ALPN, server did not agree to a protocol
02:59:38.325179 == Info: Server certificate:
02:59:38.333954 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
02:59:38.339289 == Info: start date: Sep 19 07:13:14 2018 GMT
02:59:38.340755 == Info: expire date: Dec 6 07:13:14 2026 GMT
02:59:38.344060 == Info: subjectAltName: host "localhost" matched cert's "localhost"
02:59:38.346646 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
02:59:38.347277 == Info: SSL certificate verify ok.
02:59:38.348888 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c5798; line 1556 (connection #0)
02:59:38.371101 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:59:38.375295 => Send header, 85 bytes (0x55)
0000: GET /310 HTTP/1.1
0013: Host: localhost:8991
0029: User-Agent: curl/7.66.0-DEV
0046: Accept: */*
0053:
02:59:38.378774 == Info: STATE: DO => DO_DONE handle 0x56c5798; line 1627 (connection #0)
02:59:38.379265 == Info: STATE: DO_DONE => PERFORM handle 0x56c5798; line 1749 (connection #0)
02:59:38.383975 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:59:38.393979 == Info: Mark bundle as not supporting multiuse
02:59:38.394972 == Info: HTTP 1.1 or later with persistent connection
02:59:38.399053 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:59:38.407471 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
02:59:38.408398 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:38.408653 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:38.409003 <= Recv SSL data, 5 bytes (0x5)
0000: ..../
02:59:38.410235 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
02:59:38.412887 <= Recv header, 1 bytes (0x1)
0000: .
02:59:38.413564 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
02:59:38.417381 == Info: STATE: PERFORM => DONE handle 0x56c5798; line 1939 (connection #0)
02:59:38.417721 == Info: multi_done
02:59:38.427204 == Info: Connection #0 to host localhost left intact
02:59:38.428482 == Info: Expire cleared (transfer 0x56c5798)
=== End of file trace310
=== Start of file valgrind310
==314== Invalid read of size 8
==314== at 0x53315A5: check_free (dlerror.c:188)
==314== by 0x5331AB1: free_key_mem (dlerror.c:221)
==314== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==314== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==314== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==314== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==314== by 0x4D60EB9: exit (exit.c:139)
==314== by 0x4D4B0A1: (below main) (libc-start.c:342)
==314== Address 0x5763290 is 0 bytes after a block of size 32 alloc'd
==314== at 0x483577F: malloc (vg_replace_malloc.c:309)
==314== by 0x25C282: OPENSSL_malloc (mem.c:106)
==314== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==314== by 0x24B104: err_get_state (err.c:210)
==314== by 0x24BCDA: ERR_put_error (err.c:636)
==314== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==314== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==314== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==314== by 0x270326: by_file_ctrl (by_file.c:111)
==314== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==314== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==314== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==314== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==314== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==314== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==314== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==314==
==314== Invalid free() / delete / delete[] / realloc()
==314== at 0x48369AB: free (vg_replace_malloc.c:540)
==314== by 0x5331AB9: free_key_mem (dlerror.c:223)
==314== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==314== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==314== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==314== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==314== by 0x4D60EB9: exit (exit.c:139)
==314== by 0x4D4B0A1: (below main) (libc-start.c:342)
==314== Address 0x5763278 is 8 bytes inside a block of size 32 alloc'd
==314== at 0x483577F: malloc (vg_replace_malloc.c:309)
==314== by 0x25C282: OPENSSL_malloc (mem.c:106)
==314== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==314== by 0x24B104: err_get_state (err.c:210)
==314== by 0x24BCDA: ERR_put_error (err.c:636)
==314== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==314== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==314== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==314== by 0x270326: by_file_ctrl (by_file.c:111)
==314== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==314== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==314== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==314== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==314== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==314== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==314== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==314==
==314== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==314== at 0x483577F: malloc (vg_replace_malloc.c:309)
==314== by 0x25C282: OPENSSL_malloc (mem.c:106)
==314== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==314== by 0x24B104: err_get_state (err.c:210)
==314== by 0x24BCDA: ERR_put_error (err.c:636)
==314== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==314== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==314== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==314== by 0x270326: by_file_ctrl (by_file.c:111)
==314== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==314== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==314== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==314== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==314== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==314== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==314== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==314==
=== End of file valgrind310
test 0311...[HTTPS wrong subjectAltName but right CN]
goto problem 18
valgrind ERROR ==337== Invalid read of size 8
==337== at 0x53315A5: check_free (dlerror.c:188)
==337== by 0x5331AB1: free_key_mem (dlerror.c:221)
==337== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==337== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==337== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==337== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==337== by 0x4D60EB9: exit (exit.c:139)
==337== by 0x4D4B0A1: (below main) (libc-start.c:342)
==337== Address 0x5763240 is 0 bytes after a block of size 32 alloc'd
==337== at 0x483577F: malloc (vg_replace_malloc.c:309)
==337== by 0x25C282: OPENSSL_malloc (mem.c:106)
==337== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==337== by 0x24B104: err_get_state (err.c:210)
==337== by 0x24BCDA: ERR_put_error (err.c:636)
==337== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==337== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==337== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==337== by 0x270326: by_file_ctrl (by_file.c:111)
==337== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==337== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==337== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==337== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==337== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==337== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==337== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==337==
==337== Invalid free() / delete / delete[] / realloc()
==337== at 0x48369AB: free (vg_replace_malloc.c:540)
==337== by 0x5331AB9: free_key_mem (dlerror.c:223)
==337== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==337== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==337== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==337== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==337== by 0x4D60EB9: exit (exit.c:139)
==337== by 0x4D4B0A1: (below main) (libc-start.c:342)
==337== Address 0x5763228 is 8 bytes inside a block of size 32 alloc'd
==337== at 0x483577F: malloc (vg_replace_malloc.c:309)
==337== by 0x25C282: OPENSSL_malloc (mem.c:106)
==337== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==337== by 0x24B104: err_get_state (err.c:210)
==337== by 0x24BCDA: ERR_put_error (err.c:636)
==337== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==337== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==337== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==337== by 0x270326: by_file_ctrl (by_file.c:111)
==337== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==337== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==337== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==337== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==337== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==337== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==337== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==337==
==337== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==337== at 0x483577F: malloc (vg_replace_malloc.c:309)
==337== by 0x25C282: OPENSSL_malloc (mem.c:106)
==337== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==337== by 0x24B104: err_get_state (err.c:210)
==337== by 0x24BCDA: ERR_put_error (err.c:636)
==337== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==337== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==337== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==337== by 0x270326: by_file_ctrl (by_file.c:111)
==337== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==337== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==337== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==337== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==337== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==337== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==337== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==337==
== Contents of files in the log/ dir after test 311
=== Start of file http_server.log
02:59:38.547848 signalled to die
02:59:38.547911 ========> IPv4 sws (port 8990 pid: 32766) exits with signal (15)
02:59:43.562193 Running HTTP IPv4 version on port 8990
02:59:43.562295 Wrote pid 322 to .http_server.pid
02:59:44.560939 ====> Client connect
02:59:44.560967 accept_connection 3 returned 4
02:59:44.560984 accept_connection 3 returned 0
02:59:44.561004 Read 96 bytes
02:59:44.561018 Process 96 bytes request
02:59:44.561039 Got request: GET /verifiedserver HTTP/1.1
02:59:44.561052 Are-we-friendly question received
02:59:44.561074 Wrote request (96 bytes) input to log/server.input
02:59:44.561102 Identifying ourselves as friends
02:59:44.561169 Response sent (54 bytes) and written to log/server.response
02:59:44.561184 special request received, no persistency
02:59:44.561196 ====> Client disconnect 0
02:59:46.595859 ====> Client connect
02:59:46.595885 accept_connection 3 returned 4
02:59:46.595899 accept_connection 3 returned 0
02:59:46.596020 Read 96 bytes
02:59:46.596042 Process 96 bytes request
02:59:46.596059 Got request: GET /verifiedserver HTTP/1.1
02:59:46.596071 Are-we-friendly question received
02:59:46.596084 Wrote request (96 bytes) input to log/server.input
02:59:46.596095 Identifying ourselves as friends
02:59:46.596135 Response sent (54 bytes) and written to log/server.response
02:59:46.596145 special request received, no persistency
02:59:46.596152 ====> Client disconnect 0
02:59:49.385641 ====> Client connect
02:59:49.385669 accept_connection 3 returned 4
02:59:49.385683 accept_connection 3 returned 0
02:59:49.465912 Connection closed by client
02:59:49.465945 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55f33e1377c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55f33e1377c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55f33e1377c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55f33e1377c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55f33e1377c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55f33e1377c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 15
<
{ [15 bytes data]
* STATE: PERFORM => DONE handle 0x55f33e1377c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55f33e1377c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 322
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.14 02:59:45 LOG5[330]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.14 02:59:45 LOG5[330]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.14 02:59:45 LOG5[330]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.14 02:59:45 LOG5[330]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.14 02:59:45 LOG5[330]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.14 02:59:45 LOG5[330]: Reading configuration from file /build-30040/tests/https_stunnel.conf
2019.08.14 02:59:45 LOG5[330]: FIPS mode disabled
2019.08.14 02:59:45 LOG5[330]: Configuration successful
2019.08.14 02:59:46 LOG5[333]: Service [curltest] accepted connection from 127.0.0.1:33970
2019.08.14 02:59:46 LOG5[333]: s_connect: connected 127.0.0.1:8990
2019.08.14 02:59:46 LOG5[333]: Service [curltest] connected remote server from 127.0.0.1:38264
2019.08.14 02:59:46 LOG5[333]: Connection closed: 54 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.14 02:59:48 LOG5[338]: Service [curltest] accepted connection from 127.0.0.1:33976
2019.08.14 02:59:49 LOG5[338]: s_connect: connected 127.0.0.1:8990
2019.08.14 02:59:49 LOG5[338]: Service [curltest] connected remote server from 127.0.0.1:38270
2019.08.14 02:59:49 LOG5[338]: 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 0x55bad0ccb7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55bad0ccb7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55bad0ccb7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55bad0ccb7c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [979 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:14:23 2018 GMT
* expire date: Dec 6 07:14:23 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55bad0ccb7c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55bad0ccb7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55bad0ccb7c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 15
<
{ [15 bytes data]
* STATE: PERFORM => DONE handle 0x55bad0ccb7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55bad0ccb7c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 322
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 15
WE ROOLZ: 322
HTTP/1.1 200 OK
Content-Length: 15
WE ROOLZ: 322
=== 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:48.537298 == Info: STATE: INIT => CONNECT handle 0x56c5798; line 1362 (connection #-5000)
02:59:48.596256 == Info: Added connection 0. The cache now contains 1 members
02:59:48.652454 == Info: Trying ::1:8991...
02:59:48.653115 == Info: TCP_NODELAY set
02:59:48.658089 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5798; line 1418 (connection #0)
02:59:48.672881 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:48.675081 == Info: Trying 127.0.0.1:8991...
02:59:48.675148 == Info: TCP_NODELAY set
02:59:48.683485 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:48.684072 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5798; line 1538 (connection #0)
02:59:48.685140 == Info: Marked for [keep alive]: HTTP default
02:59:48.736343 == Info: ALPN, offering h2
02:59:48.736634 == Info: ALPN, offering http/1.1
02:59:48.827675 == Info: successfully set certificate verify locations:
02:59:48.827944 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:48.948935 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:48.954341 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:48.954426 => Send SSL data, 166 bytes (0xa6)
0000: .........."p./....?}...Z.G`VpU..^.G..B....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:48.972034 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:48.977744 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:48.977804 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y.....&qn..@eh..}o...o..{}d{b...... kM7..nC.doIE...F...w...kw
0040: xW...V-./....................
02:59:49.026595 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:49.027073 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:49.027131 <= Recv SSL data, 979 bytes (0x3d3)
0000: ..........0...0............f..n0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071423Z..261206071423Z0T1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost0.."0...*.H.............0..........j....4..H...&2g
0140: .N..L..o...].C..Ob.M|..6.W.a...5 ..}....D...1......RKx.WWk.%)..P
0180: o..<............x.........+.UEJP......)......:.b!<0.Z.qgS.x.~.@
01c0: 2e.|..........9...x....+..?..H/&$4..p.F.........f.N=~...d.....T.
0200: ...e...qCi.P...... 6......0lf" ...Y...qUJf.v...........0..0...U.
0240: ...0...localhost.h0...U........0...U.%..0...+.......0...U.......
0280: .]...h..be .......&0...U.#..0......KF..u.,..T...e.{.0...U....0.0
02c0: ...*.H.............M\...5H...E..\6.7.^3.*.[..p=..f.I...[K..Qu-..
0300: .^a...5q6....&.c..,5t.|.....e....-.3U.......-..\M..uh.f...k.....
0340: Y.jZz.]U.. wI...~.=`#...j.+...W....-Od.....+.4..X.m.16B;.n..wMI)
0380: ..B'.........9.|..'`u..<.b.h..|.......?.q.`.sP....oo;........B.j
03c0: v..Y. ..P........e.
02:59:49.204679 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:49.204952 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:49.205009 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..8.....d.4.V>.....m...r...XR..0.#.m....R+O.^.nh......v.
0040: @.p............._\...X..UK/.......*..........W...2ZG..."S.|....<
0080: ..*..M..F`.p. .N.....x..jU....B.L.A.a.......1.=..Av.........c_.@
00c0: ....Y.2.:..E...-;...J..j..!.}.SC<.#.c....u;J"..~.J.S.0p.....=<.z
0100: GoS...,...kdmE~H8m8.......gv..6.S..v.X=N.....o..2...o.S..>..Z...
0140: I,*.*...'..h.
02:59:49.219981 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:49.220322 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:49.220379 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:49.337355 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:49.337614 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:49.337672 => Send SSL data, 70 bytes (0x46)
0000: ...BA.b.l.\.f..;..kQ.!..[7F]..(.$gj...(>.B.}.U...E|..M..4t..<n.%2..
0040: <.<./.
02:59:49.349696 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:49.350320 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:49.350380 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:49.371980 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:49.372046 => Send SSL data, 16 bytes (0x10)
0000: .....~.}..v..vZ&
02:59:49.384753 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:49.387521 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:49.388626 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:49.388682 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:49.391137 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:49.396919 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:49.396976 <= Recv SSL data, 16 bytes (0x10)
0000: ........@.&`14..
02:59:49.425045 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:49.425717 == Info: ALPN, server did not agree to a protocol
02:59:49.428351 == Info: Server certificate:
02:59:49.436416 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
02:59:49.441313 == Info: start date: Sep 19 07:14:23 2018 GMT
02:59:49.442843 == Info: expire date: Dec 6 07:14:23 2026 GMT
02:59:49.446208 == Info: subjectAltName does not match localhost
02:59:49.446980 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
02:59:49.448074 == Info: Marked for [closure]: Failed HTTPS connection
02:59:49.448868 == Info: multi_done
02:59:49.459705 == Info: Closing connection 0
02:59:49.464303 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:49.467219 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:49.467278 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:49.491874 == Info: The cache now contains 0 members
02:59:49.499593 == Info: Expire cleared (transfer 0x56c5798)
=== End of file trace311
=== Start of file valgrind311
==337== Invalid read of size 8
==337== at 0x53315A5: check_free (dlerror.c:188)
==337== by 0x5331AB1: free_key_mem (dlerror.c:221)
==337== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==337== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==337== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==337== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==337== by 0x4D60EB9: exit (exit.c:139)
==337== by 0x4D4B0A1: (below main) (libc-start.c:342)
==337== Address 0x5763240 is 0 bytes after a block of size 32 alloc'd
==337== at 0x483577F: malloc (vg_replace_malloc.c:309)
==337== by 0x25C282: OPENSSL_malloc (mem.c:106)
==337== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==337== by 0x24B104: err_get_state (err.c:210)
==337== by 0x24BCDA: ERR_put_error (err.c:636)
==337== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==337== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==337== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==337== by 0x270326: by_file_ctrl (by_file.c:111)
==337== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==337== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==337== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==337== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==337== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==337== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==337== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==337==
==337== Invalid free() / delete / delete[] / realloc()
==337== at 0x48369AB: free (vg_replace_malloc.c:540)
==337== by 0x5331AB9: free_key_mem (dlerror.c:223)
==337== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==337== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==337== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==337== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==337== by 0x4D60EB9: exit (exit.c:139)
==337== by 0x4D4B0A1: (below main) (libc-start.c:342)
==337== Address 0x5763228 is 8 bytes inside a block of size 32 alloc'd
==337== at 0x483577F: malloc (vg_replace_malloc.c:309)
==337== by 0x25C282: OPENSSL_malloc (mem.c:106)
==337== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==337== by 0x24B104: err_get_state (err.c:210)
==337== by 0x24BCDA: ERR_put_error (err.c:636)
==337== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==337== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==337== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==337== by 0x270326: by_file_ctrl (by_file.c:111)
==337== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==337== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==337== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==337== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==337== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==337== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==337== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==337==
==337== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==337== at 0x483577F: malloc (vg_replace_malloc.c:309)
==337== by 0x25C282: OPENSSL_malloc (mem.c:106)
==337== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==337== by 0x24B104: err_get_state (err.c:210)
==337== by 0x24BCDA: ERR_put_error (err.c:636)
==337== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==337== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==337== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==337== by 0x270326: by_file_ctrl (by_file.c:111)
==337== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==337== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==337== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==337== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==337== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==337== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==337== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==337==
=== End of file valgrind311
test 0312...[HTTPS GET to localhost and null-prefixed CN cert]
goto problem 19
valgrind ERROR ==355== Invalid read of size 8
==355== at 0x53315A5: check_free (dlerror.c:188)
==355== by 0x5331AB1: free_key_mem (dlerror.c:221)
==355== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==355== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==355== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==355== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==355== by 0x4D60EB9: exit (exit.c:139)
==355== by 0x4D4B0A1: (below main) (libc-start.c:342)
==355== Address 0x5763240 is 0 bytes after a block of size 32 alloc'd
==355== at 0x483577F: malloc (vg_replace_malloc.c:309)
==355== by 0x25C282: OPENSSL_malloc (mem.c:106)
==355== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==355== by 0x24B104: err_get_state (err.c:210)
==355== by 0x24BCDA: ERR_put_error (err.c:636)
==355== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==355== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==355== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==355== by 0x270326: by_file_ctrl (by_file.c:111)
==355== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==355== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==355== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==355== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==355== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==355== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==355== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==355==
==355== Invalid free() / delete / delete[] / realloc()
==355== at 0x48369AB: free (vg_replace_malloc.c:540)
==355== by 0x5331AB9: free_key_mem (dlerror.c:223)
==355== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==355== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==355== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==355== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==355== by 0x4D60EB9: exit (exit.c:139)
==355== by 0x4D4B0A1: (below main) (libc-start.c:342)
==355== Address 0x5763228 is 8 bytes inside a block of size 32 alloc'd
==355== at 0x483577F: malloc (vg_replace_malloc.c:309)
==355== by 0x25C282: OPENSSL_malloc (mem.c:106)
==355== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==355== by 0x24B104: err_get_state (err.c:210)
==355== by 0x24BCDA: ERR_put_error (err.c:636)
==355== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==355== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==355== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==355== by 0x270326: by_file_ctrl (by_file.c:111)
==355== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==355== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==355== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==355== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==355== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==355== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==355== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==355==
==355== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==355== at 0x483577F: malloc (vg_replace_malloc.c:309)
==355== by 0x25C282: OPENSSL_malloc (mem.c:106)
==355== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==355== by 0x24B104: err_get_state (err.c:210)
==355== by 0x24BCDA: ERR_put_error (err.c:636)
==355== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==355== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==355== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==355== by 0x270326: by_file_ctrl (by_file.c:111)
==355== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==355== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==355== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==355== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==355== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==355== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==355== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==355==
== Contents of files in the log/ dir after test 312
=== Start of file http_server.log
02:59:49.579437 signalled to die
02:59:49.579499 ========> IPv4 sws (port 8990 pid: 322) exits with signal (15)
02:59:54.596289 Running HTTP IPv4 version on port 8990
02:59:54.596392 Wrote pid 342 to .http_server.pid
02:59:55.593517 ====> Client connect
02:59:55.593538 accept_connection 3 returned 4
02:59:55.593551 accept_connection 3 returned 0
02:59:55.593564 Read 96 bytes
02:59:55.593574 Process 96 bytes request
02:59:55.593589 Got request: GET /verifiedserver HTTP/1.1
02:59:55.593598 Are-we-friendly question received
02:59:55.593614 Wrote request (96 bytes) input to log/server.input
02:59:55.593632 Identifying ourselves as friends
02:59:55.593679 Response sent (54 bytes) and written to log/server.response
02:59:55.593689 special request received, no persistency
02:59:55.593696 ====> Client disconnect 0
02:59:57.627306 ====> Client connect
02:59:57.627333 accept_connection 3 returned 4
02:59:57.627346 accept_connection 3 returned 0
02:59:57.627472 Read 96 bytes
02:59:57.627481 Process 96 bytes request
02:59:57.627493 Got request: GET /verifiedserver HTTP/1.1
02:59:57.627501 Are-we-friendly question received
02:59:57.627511 Wrote request (96 bytes) input to log/server.input
02:59:57.627521 Identifying ourselves as friends
02:59:57.627566 Response sent (54 bytes) and written to log/server.response
02:59:57.627580 special request received, no persistency
02:59:57.627587 ====> Client disconnect 0
03:00:00.443909 ====> Client connect
03:00:00.443934 accept_connection 3 returned 4
03:00:00.443951 accept_connection 3 returned 0
03:00:00.525878 Connection closed by client
03:00:00.525914 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x5600e53a17c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5600e53a17c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5600e53a17c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x5600e53a17c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x5600e53a17c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5600e53a17c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 15
<
{ [15 bytes data]
* STATE: PERFORM => DONE handle 0x5600e53a17c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5600e53a17c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 342
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.14 02:59:56 LOG5[348]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.14 02:59:56 LOG5[348]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.14 02:59:56 LOG5[348]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.14 02:59:56 LOG5[348]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.14 02:59:56 LOG5[348]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.14 02:59:56 LOG5[348]: Reading configuration from file /build-30040/tests/https_stunnel.conf
2019.08.14 02:59:56 LOG5[348]: FIPS mode disabled
2019.08.14 02:59:56 LOG5[348]: Configuration successful
2019.08.14 02:59:57 LOG5[351]: Service [curltest] accepted connection from 127.0.0.1:33984
2019.08.14 02:59:57 LOG5[351]: s_connect: connected 127.0.0.1:8990
2019.08.14 02:59:57 LOG5[351]: Service [curltest] connected remote server from 127.0.0.1:38278
2019.08.14 02:59:57 LOG5[351]: Connection closed: 54 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.14 02:59:59 LOG5[356]: Service [curltest] accepted connection from 127.0.0.1:33990
2019.08.14 03:00:00 LOG5[356]: s_connect: connected 127.0.0.1:8990
2019.08.14 03:00:00 LOG5[356]: Service [curltest] connected remote server from 127.0.0.1:38284
2019.08.14 03:00:00 LOG5[356]: 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 0x56320ff0d7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x56320ff0d7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56320ff0d7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56320ff0d7c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [983 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost.nn
* start date: Sep 19 07:14:12 2018 GMT
* expire date: Dec 6 07:14:12 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x56320ff0d7c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x56320ff0d7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x56320ff0d7c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 15
<
{ [15 bytes data]
* STATE: PERFORM => DONE handle 0x56320ff0d7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x56320ff0d7c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 342
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 15
WE ROOLZ: 342
HTTP/1.1 200 OK
Content-Length: 15
WE ROOLZ: 342
=== End of file server.response
=== Start of file stderr312
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL: no alternative certificate subject name matches target host name 'localhost'
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
=== End of file stderr312
=== Start of file trace312
02:59:59.568730 == Info: STATE: INIT => CONNECT handle 0x56c5798; line 1362 (connection #-5000)
02:59:59.627774 == Info: Added connection 0. The cache now contains 1 members
02:59:59.685072 == Info: Trying ::1:8991...
02:59:59.685726 == Info: TCP_NODELAY set
02:59:59.690618 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5798; line 1418 (connection #0)
02:59:59.705808 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:59.708109 == Info: Trying 127.0.0.1:8991...
02:59:59.708174 == Info: TCP_NODELAY set
02:59:59.716597 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:59.717151 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5798; line 1538 (connection #0)
02:59:59.718275 == Info: Marked for [keep alive]: HTTP default
02:59:59.784585 == Info: ALPN, offering h2
02:59:59.784901 == Info: ALPN, offering http/1.1
02:59:59.881313 == Info: successfully set certificate verify locations:
02:59:59.881579 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:00:00.008203 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:00.013316 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:00.013382 => Send SSL data, 166 bytes (0xa6)
0000: .........G3. ..$>_....[7F]......K."...j.m....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:00:00.030996 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:00:00.036483 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:00.036543 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y......|..G.Lbm.WK...xS......w....n ........3........HT..W../
0040: I%A..;9./....................
03:00:00.082194 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:00.082662 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:00.082720 <= Recv SSL data, 983 bytes (0x3d7)
0000: ..........0...0............f...0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071412Z..261206071412Z0W1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost.nn0.."0...*.H.............0..........^L......b=8.
0140: ^.b[.................$..A[7F]vV=.r!*I.TB...........`..a...51...'...
0180: ..jr..Du;.>v..`.1.Ob.~m...0a.7...e...a..u..R.[9E5c....vJ.x..,...
01c0: .'....9..#..e.x.|.U...p...Y....\qx............%P....w{......C...
0200: n..&.....O.f.);nz...t....F...B..u...[...veY9..]...........0..0..
0240: .U....0...localhost.nn0...U........0...U.%..0...+.......0...U...
0280: ...........~.K.#..*.nI.0...U.#..0......KF..u.,..T...e.{.0...U...
02c0: .0.0...*.H..............'z..9....h.J.../.R.G_0..,.,b;$.=7X..{..-
0300: <..I.c:..4......{.lf.h.'.a`.e..f...C.<W...)....TWB|.o....>..bIa.
0340: ...!.I..B.....j%.yB.u.A...B...7..R. .....ZG.....5..i..)..0.-..3.
0380: 8.5.....;..P}..^....YvtB..)IL......$>......s_~...tSF...m..b.....
03c0: .....R.D...I!..{.xU[...
03:00:00.261811 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:00.262084 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:00.262142 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..w).1...m-...Z..~T...5.0.YL........p.a.Bs.&..l.......F.
0040: ..,].B.......;.*.@..}4Z..2wd;....G+...c...Eko..x......[7F]...p`...S
0080: ?]P..i.....~9.......q9..~kt.?....u.....9..'6e...c_]T.K.z. ).^.v.
00c0: ...^.1_AZ.q.*....k..q.[7F].......J)!K..X..f.#. ......@#............
0100: .vh>...0..G<nq..m.......'-r-.W ..G.[7F]..P.4V.j&....4.8.,./.1).{2..
0140: h-.....{.#>..
03:00:00.277059 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:00.277377 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:00.277432 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:00.395574 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:00.395833 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:00.395890 => Send SSL data, 70 bytes (0x46)
0000: ...BA. ...-.K6d.g.b..[7F].......#....g...cq..m......c.....p.../"..9
0040: ....S>
03:00:00.407920 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:00.408505 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:00.408561 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:00.430435 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:00.430500 => Send SSL data, 16 bytes (0x10)
0000: ..../\...W.V.E).
03:00:00.443025 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:00.445650 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:00.446746 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:00.446802 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:00.449263 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:00.455068 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:00.455137 <= Recv SSL data, 16 bytes (0x10)
0000: .......=v..~..m.
03:00:00.483158 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:00.483916 == Info: ALPN, server did not agree to a protocol
03:00:00.486576 == Info: Server certificate:
03:00:00.494770 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost.nn
03:00:00.500342 == Info: start date: Sep 19 07:14:12 2018 GMT
03:00:00.502321 == Info: expire date: Dec 6 07:14:12 2026 GMT
03:00:00.508668 == Info: subjectAltName does not match localhost
03:00:00.509432 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
03:00:00.510220 == Info: Marked for [closure]: Failed HTTPS connection
03:00:00.510758 == Info: multi_done
03:00:00.519699 == Info: Closing connection 0
03:00:00.524272 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:00.527208 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
03:00:00.527265 => Send SSL data, 2 bytes (0x2)
0000: ..
03:00:00.551786 == Info: The cache now contains 0 members
03:00:00.559501 == Info: Expire cleared (transfer 0x56c5798)
=== End of file trace312
=== Start of file valgrind312
==355== Invalid read of size 8
==355== at 0x53315A5: check_free (dlerror.c:188)
==355== by 0x5331AB1: free_key_mem (dlerror.c:221)
==355== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==355== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==355== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==355== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==355== by 0x4D60EB9: exit (exit.c:139)
==355== by 0x4D4B0A1: (below main) (libc-start.c:342)
==355== Address 0x5763240 is 0 bytes after a block of size 32 alloc'd
==355== at 0x483577F: malloc (vg_replace_malloc.c:309)
==355== by 0x25C282: OPENSSL_malloc (mem.c:106)
==355== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==355== by 0x24B104: err_get_state (err.c:210)
==355== by 0x24BCDA: ERR_put_error (err.c:636)
==355== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==355== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==355== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==355== by 0x270326: by_file_ctrl (by_file.c:111)
==355== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==355== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==355== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==355== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==355== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==355== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==355== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==355==
==355== Invalid free() / delete / delete[] / realloc()
==355== at 0x48369AB: free (vg_replace_malloc.c:540)
==355== by 0x5331AB9: free_key_mem (dlerror.c:223)
==355== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==355== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==355== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==355== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==355== by 0x4D60EB9: exit (exit.c:139)
==355== by 0x4D4B0A1: (below main) (libc-start.c:342)
==355== Address 0x5763228 is 8 bytes inside a block of size 32 alloc'd
==355== at 0x483577F: malloc (vg_replace_malloc.c:309)
==355== by 0x25C282: OPENSSL_malloc (mem.c:106)
==355== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==355== by 0x24B104: err_get_state (err.c:210)
==355== by 0x24BCDA: ERR_put_error (err.c:636)
==355== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==355== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==355== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==355== by 0x270326: by_file_ctrl (by_file.c:111)
==355== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==355== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==355== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==355== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==355== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==355== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==355== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==355==
==355== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==355== at 0x483577F: malloc (vg_replace_malloc.c:309)
==355== by 0x25C282: OPENSSL_malloc (mem.c:106)
==355== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==355== by 0x24B104: err_get_state (err.c:210)
==355== by 0x24BCDA: ERR_put_error (err.c:636)
==355== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==355== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==355== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==355== by 0x270326: by_file_ctrl (by_file.c:111)
==355== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==355== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==355== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==355== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==355== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==355== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==355== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==355==
=== End of file valgrind312
test 0313...[CRL test]
goto problem 20
valgrind ERROR ==385== Invalid read of size 8
==385== at 0x53315A5: check_free (dlerror.c:188)
==385== by 0x5331AB1: free_key_mem (dlerror.c:221)
==385== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==385== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==385== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==385== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==385== by 0x4D60EB9: exit (exit.c:139)
==385== by 0x4D4B0A1: (below main) (libc-start.c:342)
==385== Address 0x57651e0 is 0 bytes after a block of size 32 alloc'd
==385== at 0x483577F: malloc (vg_replace_malloc.c:309)
==385== by 0x25C282: OPENSSL_malloc (mem.c:106)
==385== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==385== by 0x24B104: err_get_state (err.c:210)
==385== by 0x24BCDA: ERR_put_error (err.c:636)
==385== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==385== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==385== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==385== by 0x270326: by_file_ctrl (by_file.c:111)
==385== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==385== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==385== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==385== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==385== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==385== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==385== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==385==
==385== Invalid free() / delete / delete[] / realloc()
==385== at 0x48369AB: free (vg_replace_malloc.c:540)
==385== by 0x5331AB9: free_key_mem (dlerror.c:223)
==385== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==385== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==385== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==385== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==385== by 0x4D60EB9: exit (exit.c:139)
==385== by 0x4D4B0A1: (below main) (libc-start.c:342)
==385== Address 0x57651c8 is 8 bytes inside a block of size 32 alloc'd
==385== at 0x483577F: malloc (vg_replace_malloc.c:309)
==385== by 0x25C282: OPENSSL_malloc (mem.c:106)
==385== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==385== by 0x24B104: err_get_state (err.c:210)
==385== by 0x24BCDA: ERR_put_error (err.c:636)
==385== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==385== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==385== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==385== by 0x270326: by_file_ctrl (by_file.c:111)
==385== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==385== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==385== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==385== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==385== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==385== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==385== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==385==
==385== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==385== at 0x483577F: malloc (vg_replace_malloc.c:309)
==385== by 0x25C282: OPENSSL_malloc (mem.c:106)
==385== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==385== by 0x24B104: err_get_state (err.c:210)
==385== by 0x24BCDA: ERR_put_error (err.c:636)
==385== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==385== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==385== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==385== by 0x270326: by_file_ctrl (by_file.c:111)
==385== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==385== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==385== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==385== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==385== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==385== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==385== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==385==
== Contents of files in the log/ dir after test 313
=== Start of file http_server.log
03:00:00.640158 signalled to die
03:00:00.640226 ========> IPv4 sws (port 8990 pid: 342) exits with signal (15)
03:00:05.654548 Running HTTP IPv4 version on port 8990
03:00:05.654646 Wrote pid 372 to .http_server.pid
03:00:06.653073 ====> Client connect
03:00:06.653094 accept_connection 3 returned 4
03:00:06.653109 accept_connection 3 returned 0
03:00:06.653125 Read 96 bytes
03:00:06.653135 Process 96 bytes request
03:00:06.653150 Got request: GET /verifiedserver HTTP/1.1
03:00:06.653160 Are-we-friendly question received
03:00:06.653176 Wrote request (96 bytes) input to log/server.input
03:00:06.653194 Identifying ourselves as friends
03:00:06.653241 Response sent (54 bytes) and written to log/server.response
03:00:06.653252 special request received, no persistency
03:00:06.653260 ====> Client disconnect 0
03:00:08.688341 ====> Client connect
03:00:08.688370 accept_connection 3 returned 4
03:00:08.688389 accept_connection 3 returned 0
03:00:08.688556 Read 96 bytes
03:00:08.688573 Process 96 bytes request
03:00:08.688590 Got request: GET /verifiedserver HTTP/1.1
03:00:08.688599 Are-we-friendly question received
03:00:08.688608 Wrote request (96 bytes) input to log/server.input
03:00:08.688618 Identifying ourselves as friends
03:00:08.688657 Response sent (54 bytes) and written to log/server.response
03:00:08.688671 special request received, no persistency
03:00:08.688681 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55d7870567c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55d7870567c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55d7870567c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55d7870567c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55d7870567c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55d7870567c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 15
<
{ [15 bytes data]
* STATE: PERFORM => DONE handle 0x55d7870567c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55d7870567c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 372
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.14 03:00:07 LOG5[378]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.14 03:00:07 LOG5[378]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.14 03:00:07 LOG5[378]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.14 03:00:07 LOG5[378]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.14 03:00:07 LOG5[378]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.14 03:00:07 LOG5[378]: Reading configuration from file /build-30040/tests/https_stunnel.conf
2019.08.14 03:00:07 LOG5[378]: FIPS mode disabled
2019.08.14 03:00:07 LOG5[378]: Configuration successful
2019.08.14 03:00:08 LOG5[381]: Service [curltest] accepted connection from 127.0.0.1:34000
2019.08.14 03:00:08 LOG5[381]: s_connect: connected 127.0.0.1:8990
2019.08.14 03:00:08 LOG5[381]: Service [curltest] connected remote server from 127.0.0.1:38294
2019.08.14 03:00:08 LOG5[381]: Connection closed: 54 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.14 03:00:10 LOG5[386]: Service [curltest] accepted connection from 127.0.0.1:34006
2019.08.14 03:00:11 LOG3[386]: SSL_accept: 14094415: error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired
2019.08.14 03:00:11 LOG5[386]: 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 0x55c569a087c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55c569a087c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55c569a087c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55c569a087c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [977 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:13:14 2018 GMT
* expire date: Dec 6 07:13:14 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55c569a087c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55c569a087c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55c569a087c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 15
<
{ [15 bytes data]
* STATE: PERFORM => DONE handle 0x55c569a087c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55c569a087c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 372
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 15
WE ROOLZ: 372
HTTP/1.1 200 OK
Content-Length: 15
WE ROOLZ: 372
=== End of file server.response
=== Start of file stderr313
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL certificate problem: CRL has expired
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
=== End of file stderr313
=== Start of file trace313
03:00:10.653975 == Info: STATE: INIT => CONNECT handle 0x56c5c78; line 1362 (connection #-5000)
03:00:10.713424 == Info: Added connection 0. The cache now contains 1 members
03:00:10.771675 == Info: Trying ::1:8991...
03:00:10.772373 == Info: TCP_NODELAY set
03:00:10.777541 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5c78; line 1418 (connection #0)
03:00:10.793426 == Info: connect to ::1 port 8991 failed: Connection refused
03:00:10.795625 == Info: Trying 127.0.0.1:8991...
03:00:10.795695 == Info: TCP_NODELAY set
03:00:10.804848 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:00:10.805376 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5c78; line 1538 (connection #0)
03:00:10.806448 == Info: Marked for [keep alive]: HTTP default
03:00:10.860266 == Info: ALPN, offering h2
03:00:10.860561 == Info: ALPN, offering http/1.1
03:00:10.954167 == Info: successfully set certificate verify locations:
03:00:10.954440 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:00:11.009402 == Info: successfully load CRL file:
03:00:11.009999 == Info: CRLfile: /tests/certs/Server-localhost-sv.crl
03:00:11.131595 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:11.136785 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:11.136849 => Send SSL data, 166 bytes (0xa6)
0000: ......Y...3..j...%?V..^.e.A].[7F]............+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:00:11.154661 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:00:11.161026 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:11.161129 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y....$y..........Y..t)1...nJr..M.^v u9..}T...f\.qO..@.[7F]..N ;Y
0040: /..Q!p../....................
03:00:11.207512 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:11.207996 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:11.208055 <= Recv SSL data, 977 bytes (0x3d1)
0000: ..........0...0............f..S0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071314Z..261206071314Z0T1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost0.."0...*.H.............0..........0P.p.3[7F]...^Z...
0140: ."..:A.v....$."yG&Mj.A.1. ._:./O.\#.g...X.G.v.S...#.....G.`.....
0180: .......FTB.+.5.j.F..G.w..H.\.....=). ...`'b.s....-<...>.....P...
01c0: .2.-.a.....)?I..J.u0.b..k.MqD@9....sA.....].)v.k...,C^...P.-.m..
0200: ....F.;.....T..&,O.`..!9.D(...y..D. ..eT.'Vg..'........0..0...U.
0240: ...0...localhost0...U........0...U.%..0...+.......0...U.......6.
0280: S...dG.S..i......0...U.#..0......KF..u.,..T...e.{.0...U....0.0..
02c0: .*.H.............*....Ic/....C......k.@+..X.$W..Q..".}W........x
0300: Y4#.h......ve..$..C..+..K.i....TS.%.]."........;o<..s_..l;A.;..h
0340: ......(.8#.......g......-v.zUw1I-@z.?..P..:...u6P)\&.EC.%x.....9
0380: ppFwH.dz.W_M...W......&.KT-.*..o..J.L.....Z'..l.U,cP.6.....h ~..
03c0: |....h[7F]O>.....4..
03:00:11.302431 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:11.305539 == Info: TLSv1.2 (OUT), TLS alert, certificate expired (557):
03:00:11.305603 => Send SSL data, 2 bytes (0x2)
0000: .-
03:00:11.312502 == Info: SSL certificate problem: CRL has expired
03:00:11.313001 == Info: Marked for [closure]: Failed HTTPS connection
03:00:11.313541 == Info: multi_done
03:00:11.322509 == Info: Closing connection 0
03:00:11.359455 == Info: The cache now contains 0 members
03:00:11.367679 == Info: Expire cleared (transfer 0x56c5c78)
=== End of file trace313
=== Start of file valgrind313
==385== Invalid read of size 8
==385== at 0x53315A5: check_free (dlerror.c:188)
==385== by 0x5331AB1: free_key_mem (dlerror.c:221)
==385== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==385== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==385== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==385== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==385== by 0x4D60EB9: exit (exit.c:139)
==385== by 0x4D4B0A1: (below main) (libc-start.c:342)
==385== Address 0x57651e0 is 0 bytes after a block of size 32 alloc'd
==385== at 0x483577F: malloc (vg_replace_malloc.c:309)
==385== by 0x25C282: OPENSSL_malloc (mem.c:106)
==385== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==385== by 0x24B104: err_get_state (err.c:210)
==385== by 0x24BCDA: ERR_put_error (err.c:636)
==385== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==385== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==385== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==385== by 0x270326: by_file_ctrl (by_file.c:111)
==385== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==385== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==385== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==385== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==385== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==385== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==385== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==385==
==385== Invalid free() / delete / delete[] / realloc()
==385== at 0x48369AB: free (vg_replace_malloc.c:540)
==385== by 0x5331AB9: free_key_mem (dlerror.c:223)
==385== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==385== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==385== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==385== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==385== by 0x4D60EB9: exit (exit.c:139)
==385== by 0x4D4B0A1: (below main) (libc-start.c:342)
==385== Address 0x57651c8 is 8 bytes inside a block of size 32 alloc'd
==385== at 0x483577F: malloc (vg_replace_malloc.c:309)
==385== by 0x25C282: OPENSSL_malloc (mem.c:106)
==385== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==385== by 0x24B104: err_get_state (err.c:210)
==385== by 0x24BCDA: ERR_put_error (err.c:636)
==385== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==385== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==385== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==385== by 0x270326: by_file_ctrl (by_file.c:111)
==385== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==385== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==385== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==385== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==385== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==385== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==385== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==385==
==385== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==385== at 0x483577F: malloc (vg_replace_malloc.c:309)
==385== by 0x25C282: OPENSSL_malloc (mem.c:106)
==385== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==385== by 0x24B104: err_get_state (err.c:210)
==385== by 0x24BCDA: ERR_put_error (err.c:636)
==385== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==385== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==385== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==385== by 0x270326: by_file_ctrl (by_file.c:111)
==385== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==385== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==385== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==385== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==385== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==385== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==385== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==385==
=== End of file valgrind313
test 0314...[HTTP GET brotli compressed content]
--pd---emv- OK (314 out of 1250, remaining: 26:41, took 1.3s, duration: 08:57)
test 0315...[HTTP GET brotli compressed content with broken header]
--pd---emv- OK (315 out of 1250, remaining: 26:38, took 1.2s, duration: 08:58)
test 0316...[HTTP GET brotli compressed content of size more than CURL_MAX_WRITE_SIZE]
--pd---emv- OK (316 out of 1250, remaining: 26:35, took 1.3s, duration: 08:59)
test 0317...[HTTP with custom Authorization: and redirect to new host]
--pd---emv- OK (317 out of 1250, remaining: 26:32, took 1.2s, duration: 09:01)
test 0318...[HTTP with custom Authorization: and redirect to new host]
--pd---emv- OK (318 out of 1250, remaining: 26:29, took 1.3s, duration: 09:02)
test 0319...[HTTP GET gzip transfer-encoded data in raw mode]
--pd---emv- OK (319 out of 1250, remaining: 26:26, took 1.2s, duration: 09:03)
test 0320 SKIPPED: curl lacks TLS-SRP support
test 0321 SKIPPED: curl lacks TLS-SRP support
test 0322 SKIPPED: curl lacks TLS-SRP support
test 0325...[HTTPS with attempted redirect to denied HTTP]
goto problem 21
valgrind ERROR ==425== Invalid read of size 8
==425== at 0x53315A5: check_free (dlerror.c:188)
==425== by 0x5331AB1: free_key_mem (dlerror.c:221)
==425== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==425== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==425== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==425== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==425== by 0x4D60EB9: exit (exit.c:139)
==425== by 0x4D4B0A1: (below main) (libc-start.c:342)
==425== Address 0x5af5c30 is 0 bytes after a block of size 32 alloc'd
==425== at 0x483577F: malloc (vg_replace_malloc.c:309)
==425== by 0x25C282: OPENSSL_malloc (mem.c:106)
==425== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==425== by 0x24B104: err_get_state (err.c:210)
==425== by 0x24BCDA: ERR_put_error (err.c:636)
==425== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==425== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==425== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==425== by 0x270326: by_file_ctrl (by_file.c:111)
==425== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==425== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==425== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==425== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==425== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==425== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==425== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==425==
==425== Invalid free() / delete / delete[] / realloc()
==425== at 0x48369AB: free (vg_replace_malloc.c:540)
==425== by 0x5331AB9: free_key_mem (dlerror.c:223)
==425== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==425== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==425== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==425== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==425== by 0x4D60EB9: exit (exit.c:139)
==425== by 0x4D4B0A1: (below main) (libc-start.c:342)
==425== Address 0x5af5c18 is 8 bytes inside a block of size 32 alloc'd
==425== at 0x483577F: malloc (vg_replace_malloc.c:309)
==425== by 0x25C282: OPENSSL_malloc (mem.c:106)
==425== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==425== by 0x24B104: err_get_state (err.c:210)
==425== by 0x24BCDA: ERR_put_error (err.c:636)
==425== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==425== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==425== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==425== by 0x270326: by_file_ctrl (by_file.c:111)
==425== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==425== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==425== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==425== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==425== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==425== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==425== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==425==
==425== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==425== at 0x483577F: malloc (vg_replace_malloc.c:309)
==425== by 0x25C282: OPENSSL_malloc (mem.c:106)
==425== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==425== by 0x24B104: err_get_state (err.c:210)
==425== by 0x24BCDA: ERR_put_error (err.c:636)
==425== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==425== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==425== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==425== by 0x270326: by_file_ctrl (by_file.c:111)
==425== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==425== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==425== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==425== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==425== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==425== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==425== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==425==
== Contents of files in the log/ dir after test 325
=== Start of file curl325.out
HTTP/1.1 301 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
Location: http://somewhere/325
=== End of file curl325.out
=== Start of file http_server.log
03:00:18.925284 signalled to die
03:00:18.925352 ========> IPv4 sws (port 8990 pid: 372) exits with signal (15)
03:00:23.940125 Running HTTP IPv4 version on port 8990
03:00:23.940233 Wrote pid 412 to .http_server.pid
03:00:24.938071 ====> Client connect
03:00:24.938095 accept_connection 3 returned 4
03:00:24.938110 accept_connection 3 returned 0
03:00:24.938123 Read 96 bytes
03:00:24.938133 Process 96 bytes request
03:00:24.938148 Got request: GET /verifiedserver HTTP/1.1
03:00:24.938158 Are-we-friendly question received
03:00:24.938173 Wrote request (96 bytes) input to log/server.input
03:00:24.938191 Identifying ourselves as friends
03:00:24.938238 Response sent (54 bytes) and written to log/server.response
03:00:24.938248 special request received, no persistency
03:00:24.938255 ====> Client disconnect 0
03:00:26.972272 ====> Client connect
03:00:26.972301 accept_connection 3 returned 4
03:00:26.972320 accept_connection 3 returned 0
03:00:26.972507 Read 96 bytes
03:00:26.972522 Process 96 bytes request
03:00:26.972538 Got request: GET /verifiedserver HTTP/1.1
03:00:26.972549 Are-we-friendly question received
03:00:26.972563 Wrote request (96 bytes) input to log/server.input
03:00:26.972576 Identifying ourselves as friends
03:00:26.972611 Response sent (54 bytes) and written to log/server.response
03:00:26.972622 special request received, no persistency
03:00:26.972634 ====> Client disconnect 0
03:00:31.080383 ====> Client connect
03:00:31.080413 accept_connection 3 returned 4
03:00:31.080433 accept_connection 3 returned 0
03:00:31.165994 Read 85 bytes
03:00:31.166034 Process 85 bytes request
03:00:31.166052 Got request: GET /325 HTTP/1.1
03:00:31.166064 Requested test number 325 part 0
03:00:31.166104 - request found to be complete
03:00:31.166139 Wrote request (85 bytes) input to log/server.input
03:00:31.166167 Send response test325 section <data>
03:00:31.166257 Response sent (134 bytes) and written to log/server.response
03:00:31.166270 => persistent connection request ended, awaits new request
03:00:31.262686 Connection closed by client
03:00:31.262719 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55dac5b057c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55dac5b057c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55dac5b057c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55dac5b057c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55dac5b057c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55dac5b057c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 15
<
{ [15 bytes data]
* STATE: PERFORM => DONE handle 0x55dac5b057c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55dac5b057c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 412
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.14 03:00:25 LOG5[418]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.14 03:00:25 LOG5[418]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.14 03:00:25 LOG5[418]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.14 03:00:25 LOG5[418]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.14 03:00:25 LOG5[418]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.14 03:00:25 LOG5[418]: Reading configuration from file /build-30040/tests/https_stunnel.conf
2019.08.14 03:00:25 LOG5[418]: FIPS mode disabled
2019.08.14 03:00:25 LOG5[418]: Configuration successful
2019.08.14 03:00:26 LOG5[421]: Service [curltest] accepted connection from 127.0.0.1:34030
2019.08.14 03:00:26 LOG5[421]: s_connect: connected 127.0.0.1:8990
2019.08.14 03:00:26 LOG5[421]: Service [curltest] connected remote server from 127.0.0.1:38324
2019.08.14 03:00:26 LOG5[421]: Connection closed: 54 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.14 03:00:28 LOG5[426]: Service [curltest] accepted connection from 127.0.0.1:34034
2019.08.14 03:00:30 LOG5[426]: s_connect: connected 127.0.0.1:8990
2019.08.14 03:00:30 LOG5[426]: Service [curltest] connected remote server from 127.0.0.1:38328
2019.08.14 03:00:31 LOG5[426]: 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 0x55b320fe17c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55b320fe17c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55b320fe17c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55b320fe17c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55b320fe17c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55b320fe17c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55b320fe17c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 15
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x55b320fe17c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55b320fe17c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 412
=== 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: 15
WE ROOLZ: 412
HTTP/1.1 200 OK
Content-Length: 15
WE ROOLZ: 412
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
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 7 100 7 0 0 3 0 0:00:02 0:00:02 --:--:-- 3
curl: (1) Protocol "http" not supported or disabled in libcurl
=== End of file stderr325
=== Start of file trace325
03:00:28.913220 == Info: STATE: INIT => CONNECT handle 0x56c5ba8; line 1362 (connection #-5000)
03:00:28.968831 == Info: Added connection 0. The cache now contains 1 members
03:00:28.988059 == Info: Trying 127.0.0.1:8991...
03:00:28.988873 == Info: TCP_NODELAY set
03:00:28.994183 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5ba8; line 1418 (connection #0)
03:00:29.007033 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:00:29.007620 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5ba8; line 1538 (connection #0)
03:00:29.009575 == Info: Marked for [keep alive]: HTTP default
03:00:29.060321 == Info: ALPN, offering h2
03:00:29.060613 == Info: ALPN, offering http/1.1
03:00:30.548313 == Info: successfully set certificate verify locations:
03:00:30.548589 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:30.666261 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:30.671743 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:30.671817 => Send SSL data, 148 bytes (0x94)
0000: .......Aj....3...Rs1.!q.6.-.k...F3Y.......+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:00:30.689765 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:30.695258 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:30.695322 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...y.Ax......H.PJ.B..Y.#.......... ...j@......9...D...>.../.
0040: ......../................
03:00:30.739592 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:30.740078 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:30.740137 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:00:30.839492 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:30.839800 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:30.839860 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..oJ.>.{=...\.1TDm.~.W...^.H..l....W"..3...Zvw..g.......
0040: F....@.aJ.......Z..a..J....p6..t..@Y.' Af..h.........d....z..~..
0080: fp...3!.*k.).....+',....{wFf..Q..].`..&.....H]......+b.\~..l&..0
00c0: /e.....NPV......1....^......o...9.,...[7F].xJ4Y7..#Q.......dCy.....
0100: q........K...;R.4..f..(GL..}....Ig[w.a.....X.MH.`..........pLM..
0140: U..`...Z.2. .
03:00:30.910260 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:30.910622 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:30.910682 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:31.028420 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:31.028666 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:31.028724 => Send SSL data, 70 bytes (0x46)
0000: ...BA.F}ZA^...............$.j..."[.-{,....(.......N.......h..h\.
0040: ..V...
03:00:31.041007 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:31.041607 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:31.041665 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:31.063428 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:31.063498 => Send SSL data, 16 bytes (0x10)
0000: ....c...7.......
03:00:31.079451 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:31.082142 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:31.083273 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:31.083358 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:31.086021 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:31.091799 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:31.091856 <= Recv SSL data, 16 bytes (0x10)
0000: ....YP.....K..3.
03:00:31.120961 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:31.121666 == Info: ALPN, server did not agree to a protocol
03:00:31.124469 == Info: Server certificate:
03:00:31.132180 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:31.138456 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:31.139447 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:31.140414 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:31.141317 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:31.142883 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c5ba8; line 1556 (connection #0)
03:00:31.164033 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:00:31.167651 => Send header, 85 bytes (0x55)
0000: GET /325 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: User-Agent: curl/7.66.0-DEV
0046: Accept: */*
0053:
03:00:31.170640 == Info: STATE: DO => DO_DONE handle 0x56c5ba8; line 1627 (connection #0)
03:00:31.171160 == Info: STATE: DO_DONE => PERFORM handle 0x56c5ba8; line 1749 (connection #0)
03:00:31.175609 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:00:31.185045 == Info: Mark bundle as not supporting multiuse
03:00:31.185662 == Info: HTTP 1.1 or later with persistent connection
03:00:31.188648 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 301 OK.
03:00:31.199621 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:00:31.200478 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:00:31.200749 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:00:31.201614 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:00:31.202858 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:00:31.203243 <= Recv SSL data, 5 bytes (0x5)
0000: ....&
03:00:31.205242 <= Recv header, 31 bytes (0x1f)
0000: Location: http://somewhere/325.
03:00:31.208063 <= Recv header, 1 bytes (0x1)
0000: .
03:00:31.208634 == Info: Ignoring the response-body
03:00:31.209017 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:00:31.211330 == Info: multi_done
03:00:31.220672 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:31.224604 == Info: Issue another request to this URL: 'http://somewhere/325'
03:00:31.225419 == Info: STATE: PERFORM => CONNECT handle 0x56c5ba8; line 1916 (connection #-5000)
03:00:31.228183 == Info: Protocol "http" not supported or disabled in libcurl
03:00:31.230197 == Info: Closing connection -1
=== End of file trace325
=== Start of file valgrind325
==425== Invalid read of size 8
==425== at 0x53315A5: check_free (dlerror.c:188)
==425== by 0x5331AB1: free_key_mem (dlerror.c:221)
==425== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==425== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==425== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==425== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==425== by 0x4D60EB9: exit (exit.c:139)
==425== by 0x4D4B0A1: (below main) (libc-start.c:342)
==425== Address 0x5af5c30 is 0 bytes after a block of size 32 alloc'd
==425== at 0x483577F: malloc (vg_replace_malloc.c:309)
==425== by 0x25C282: OPENSSL_malloc (mem.c:106)
==425== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==425== by 0x24B104: err_get_state (err.c:210)
==425== by 0x24BCDA: ERR_put_error (err.c:636)
==425== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==425== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==425== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==425== by 0x270326: by_file_ctrl (by_file.c:111)
==425== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==425== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==425== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==425== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==425== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==425== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==425== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==425==
==425== Invalid free() / delete / delete[] / realloc()
==425== at 0x48369AB: free (vg_replace_malloc.c:540)
==425== by 0x5331AB9: free_key_mem (dlerror.c:223)
==425== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==425== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==425== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==425== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==425== by 0x4D60EB9: exit (exit.c:139)
==425== by 0x4D4B0A1: (below main) (libc-start.c:342)
==425== Address 0x5af5c18 is 8 bytes inside a block of size 32 alloc'd
==425== at 0x483577F: malloc (vg_replace_malloc.c:309)
==425== by 0x25C282: OPENSSL_malloc (mem.c:106)
==425== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==425== by 0x24B104: err_get_state (err.c:210)
==425== by 0x24BCDA: ERR_put_error (err.c:636)
==425== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==425== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==425== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==425== by 0x270326: by_file_ctrl (by_file.c:111)
==425== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==425== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==425== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==425== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==425== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==425== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==425== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==425==
==425== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==425== at 0x483577F: malloc (vg_replace_malloc.c:309)
==425== by 0x25C282: OPENSSL_malloc (mem.c:106)
==425== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==425== by 0x24B104: err_get_state (err.c:210)
==425== by 0x24BCDA: ERR_put_error (err.c:636)
==425== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==425== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==425== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==425== by 0x270326: by_file_ctrl (by_file.c:111)
==425== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==425== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==425== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==425== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==425== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==425== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==425== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==425==
=== End of file valgrind325
test 0326...[HTTP GET chunked data in raw mode]
--pd---emv- OK (326 out of 1250, remaining: 26:19, took 1.2s, duration: 09:17)
test 0327...[HTTP with cookiejar without cookies left]
--pd--oemv- OK (327 out of 1250, remaining: 26:16, took 1.3s, duration: 09:18)
test 0328...[HTTP with "Content-Encoding: none]
--pd---emv- OK (328 out of 1250, remaining: 26:13, took 1.2s, duration: 09:19)
test 0329...[HTTP cookie with Max-Age=0]
--pd---emv- OK (329 out of 1250, remaining: 26:10, took 1.3s, duration: 09:20)
test 0330...[HTTP with custom Cookie: and redirect to new host]
--pd---emv- OK (330 out of 1250, remaining: 26:07, took 1.2s, duration: 09:22)
test 0331...[HTTP with cookie using host name 'moo']
--pd---emv- OK (331 out of 1250, remaining: 26:04, took 1.3s, duration: 09:23)
test 0332...[TFTP retrieve with blksize 400]
--pd---emv- OK (332 out of 1250, remaining: 26:01, took 1.2s, duration: 09:24)
test 0333...[Try a non-boolean command line option with --no-]
-------emv- OK (333 out of 1250, remaining: 25:57, took 0.9s, duration: 09:25)
test 0334...[HTTP 204 No content with chunked header]
--pd---emv- OK (334 out of 1250, remaining: 25:54, took 1.2s, duration: 09:26)
test 0340...[FTP using %00 in path with singlecwd]
--p----emv- OK (335 out of 1250, remaining: 25:51, took 1.2s, duration: 09:27)
test 0350...[FTP root dir list multicwd]
--pd---emv- OK (336 out of 1250, remaining: 25:48, took 1.2s, duration: 09:29)
test 0351...[FTP root dir list nocwd]
--pd---emv- OK (337 out of 1250, remaining: 25:45, took 1.2s, duration: 09:30)
test 0352...[FTP root dir list singlecwd]
--pd---emv- OK (338 out of 1250, remaining: 25:42, took 1.2s, duration: 09:31)
test 0353...[FTP home dir list singlecwd]
--pd---emv- OK (339 out of 1250, remaining: 25:39, took 1.3s, duration: 09:32)
test 0354...[FTP without password]
--pd---emv- OK (340 out of 1250, remaining: 25:36, took 1.2s, duration: 09:34)
test 0355 SKIPPED: curl lacks alt-svc support
test 0356 SKIPPED: curl lacks alt-svc support
test 0393...[HTTP max-filesize and out-of-range Content-Length]
--p----emv- OK (343 out of 1250, remaining: 25:21, took 1.2s, duration: 09:35)
test 0394...[HTTP with rubbish in Content-Length]
--p----emv- OK (344 out of 1250, remaining: 25:18, took 1.2s, duration: 09:36)
test 0395...[HTTP and out-of-range Content-Length]
--p----emv- OK (345 out of 1250, remaining: 25:15, took 1.2s, duration: 09:37)
test 0400...[FTPS dir list PASV unencrypted data]
goto problem 22
valgrind ERROR ==513== Invalid read of size 8
==513== at 0x53315A5: check_free (dlerror.c:188)
==513== by 0x5331AB1: free_key_mem (dlerror.c:221)
==513== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==513== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==513== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==513== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==513== by 0x4D60EB9: exit (exit.c:139)
==513== by 0x4D4B0A1: (below main) (libc-start.c:342)
==513== Address 0x5af4fe0 is 0 bytes after a block of size 32 alloc'd
==513== at 0x483577F: malloc (vg_replace_malloc.c:309)
==513== by 0x25C282: OPENSSL_malloc (mem.c:106)
==513== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==513== by 0x24B104: err_get_state (err.c:210)
==513== by 0x24BCDA: ERR_put_error (err.c:636)
==513== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==513== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==513== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==513== by 0x270326: by_file_ctrl (by_file.c:111)
==513== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==513== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==513== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==513== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==513== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==513== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==513== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==513==
==513== Invalid free() / delete / delete[] / realloc()
==513== at 0x48369AB: free (vg_replace_malloc.c:540)
==513== by 0x5331AB9: free_key_mem (dlerror.c:223)
==513== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==513== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==513== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==513== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==513== by 0x4D60EB9: exit (exit.c:139)
==513== by 0x4D4B0A1: (below main) (libc-start.c:342)
==513== Address 0x5af4fc8 is 8 bytes inside a block of size 32 alloc'd
==513== at 0x483577F: malloc (vg_replace_malloc.c:309)
==513== by 0x25C282: OPENSSL_malloc (mem.c:106)
==513== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==513== by 0x24B104: err_get_state (err.c:210)
==513== by 0x24BCDA: ERR_put_error (err.c:636)
==513== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==513== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==513== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==513== by 0x270326: by_file_ctrl (by_file.c:111)
==513== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==513== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==513== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==513== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==513== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==513== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==513== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==513==
==513== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==513== at 0x483577F: malloc (vg_replace_malloc.c:309)
==513== by 0x25C282: OPENSSL_malloc (mem.c:106)
==513== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==513== by 0x24B104: err_get_state (err.c:210)
==513== by 0x24BCDA: ERR_put_error (err.c:636)
==513== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==513== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==513== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==513== by 0x270326: by_file_ctrl (by_file.c:111)
==513== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==513== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==513== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==513== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==513== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==513== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==513== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==513==
== 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:54.141850 ====> Client connect
03:00:54.141964 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:54.142352 < "USER anonymous"
03:00:54.142384 > "331 We are happy you popped in![CR][LF]"
03:00:54.142631 < "PASS ftp@example.com"
03:00:54.142659 > "230 Welcome you silly person[CR][LF]"
03:00:54.142843 < "PBSZ 0"
03:00:54.142866 > "500 PBSZ not implemented[CR][LF]"
03:00:54.143085 < "PROT C"
03:00:54.143113 > "500 PROT not implemented[CR][LF]"
03:00:54.143354 < "PWD"
03:00:54.143393 > "257 "/" is current directory[CR][LF]"
03:00:54.143672 < "EPSV"
03:00:54.143701 ====> Passive DATA channel requested by client
03:00:54.143715 DATA sockfilt for passive data channel starting...
03:00:54.145185 DATA sockfilt for passive data channel started (pid 510)
03:00:54.145260 DATA sockfilt for passive data channel listens on port 39697
03:00:54.145295 > "229 Entering Passive Mode (|||39697|)[LF]"
03:00:54.145315 Client has been notified that DATA conn will be accepted on port 39697
03:00:54.145510 Client connects to port 39697
03:00:54.145533 ====> Client established passive DATA connection on port 39697
03:00:54.145635 < "TYPE I"
03:00:54.145663 > "200 I modify TYPE as you wanted[CR][LF]"
03:00:54.145880 < "SIZE verifiedserver"
03:00:54.145916 > "213 17[CR][LF]"
03:00:54.146099 < "RETR verifiedserver"
03:00:54.146134 > "150 Binary junk (17 bytes).[CR][LF]"
03:00:54.146203 =====> Closing passive DATA connection...
03:00:54.146220 Server disconnects passive DATA connection
03:00:54.146287 DATA sockfilt for passive data channel quits (pid 511)
03:00:54.146303 =====> Closed passive DATA connection
03:00:54.146325 > "226 File transfer complete[CR][LF]"
03:00:54.187524 < "QUIT"
03:00:54.187569 > "221 bye bye baby[CR][LF]"
03:00:54.187743 MAIN sockfilt said DISC
03:00:54.187777 ====> Client disconnected
03:00:54.187834 Awaiting input
03:00:58.304577 ====> Client connect
03:00:58.304681 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:58.392609 < "USER anonymous"
03:00:58.392660 > "331 We are happy you popped in![CR][LF]"
03:00:58.404319 < "PASS ftp@example.com"
03:00:58.404364 > "230 Welcome you silly person[CR][LF]"
03:00:58.406827 < "PBSZ 0"
03:00:58.406874 > "500 PBSZ not implemented[CR][LF]"
03:00:58.408326 < "PROT C"
03:00:58.408359 > "500 PROT not implemented[CR][LF]"
03:00:58.409804 < "PWD"
03:00:58.409841 > "257 "/" is current directory[CR][LF]"
03:00:58.416448 < "EPSV"
03:00:58.416478 ====> Passive DATA channel requested by client
03:00:58.416491 DATA sockfilt for passive data channel starting...
03:00:58.418124 DATA sockfilt for passive data channel started (pid 517)
03:00:58.418205 DATA sockfilt for passive data channel listens on port 35057
03:00:58.418239 > "229 Entering Passive Mode (|||35057|)[LF]"
03:00:58.418254 Client has been notified that DATA conn will be accepted on port 35057
03:00:58.425579 Client connects to port 35057
03:00:58.425618 ====> Client established passive DATA connection on port 35057
03:00:58.430782 < "TYPE A"
03:00:58.430818 > "200 I modify TYPE as you wanted[CR][LF]"
03:00:58.433006 < "LIST"
03:00:58.433038 > "150 here comes a directory[CR][LF]"
03:00:58.433063 pass LIST data on data connection
03:00:58.433138 =====> Closing passive DATA connection...
03:00:58.433160 Server disconnects passive DATA connection
03:00:58.433600 DATA sockfilt for passive data channel quits (pid 518)
03:00:58.433629 =====> Closed passive DATA connection
03:00:58.433668 > "226 ASCII transfer complete[CR][LF]"
03:00:58.510490 < "QUIT"
03:00:58.510550 > "221 bye bye baby[CR][LF]"
03:00:58.514839 MAIN sockfilt said DISC
03:00:58.514884 ====> Client disconnected
03:00:58.514945 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:00:54.242570 ====> Client connect
03:00:54.242766 Received DATA (on stdin)
03:00:54.242783 > 160 bytes data, server => client
03:00:54.242802 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:54.242819 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:54.242834 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:54.243075 < 16 bytes data, client => server
03:00:54.243092 'USER anonymous\r\n'
03:00:54.243191 Received DATA (on stdin)
03:00:54.243204 > 33 bytes data, server => client
03:00:54.243219 '331 We are happy you popped in!\r\n'
03:00:54.243388 < 22 bytes data, client => server
03:00:54.243404 'PASS ftp@example.com\r\n'
03:00:54.243466 Received DATA (on stdin)
03:00:54.243478 > 30 bytes data, server => client
03:00:54.243492 '230 Welcome you silly person\r\n'
03:00:54.243617 < 8 bytes data, client => server
03:00:54.243631 'PBSZ 0\r\n'
03:00:54.243674 Received DATA (on stdin)
03:00:54.243686 > 26 bytes data, server => client
03:00:54.243700 '500 PBSZ not implemented\r\n'
03:00:54.243842 < 8 bytes data, client => server
03:00:54.243858 'PROT C\r\n'
03:00:54.243921 Received DATA (on stdin)
03:00:54.243934 > 26 bytes data, server => client
03:00:54.243948 '500 PROT not implemented\r\n'
03:00:54.244112 < 5 bytes data, client => server
03:00:54.244125 'PWD\r\n'
03:00:54.244199 Received DATA (on stdin)
03:00:54.244219 > 30 bytes data, server => client
03:00:54.244236 '257 "/" is current directory\r\n'
03:00:54.244434 < 6 bytes data, client => server
03:00:54.244451 'EPSV\r\n'
03:00:54.246100 Received DATA (on stdin)
03:00:54.246120 > 38 bytes data, server => client
03:00:54.246139 '229 Entering Passive Mode (|||39697|)\n'
03:00:54.246392 < 8 bytes data, client => server
03:00:54.246411 'TYPE I\r\n'
03:00:54.246470 Received DATA (on stdin)
03:00:54.246488 > 33 bytes data, server => client
03:00:54.246506 '200 I modify TYPE as you wanted\r\n'
03:00:54.246638 < 21 bytes data, client => server
03:00:54.246659 'SIZE verifiedserver\r\n'
03:00:54.246724 Received DATA (on stdin)
03:00:54.246742 > 8 bytes data, server => client
03:00:54.246756 '213 17\r\n'
03:00:54.246862 < 21 bytes data, client => server
03:00:54.246882 'RETR verifiedserver\r\n'
03:00:54.246942 Received DATA (on stdin)
03:00:54.246960 > 29 bytes data, server => client
03:00:54.246978 '150 Binary junk (17 bytes).\r\n'
03:00:54.247132 Received DATA (on stdin)
03:00:54.247150 > 28 bytes data, server => client
03:00:54.247165 '226 File transfer complete\r\n'
03:00:54.288232 < 6 bytes data, client => server
03:00:54.288267 'QUIT\r\n'
03:00:54.288374 Received DATA (on stdin)
03:00:54.288393 > 18 bytes data, server => client
03:00:54.288409 '221 bye bye baby\r\n'
03:00:54.288517 ====> Client disconnect
03:00:58.405321 ====> Client connect
03:00:58.405484 Received DATA (on stdin)
03:00:58.405507 > 160 bytes data, server => client
03:00:58.405530 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:58.405549 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:58.405567 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:58.493287 < 16 bytes data, client => server
03:00:58.493324 'USER anonymous\r\n'
03:00:58.493467 Received DATA (on stdin)
03:00:58.493488 > 33 bytes data, server => client
03:00:58.493506 '331 We are happy you popped in!\r\n'
03:00:58.505025 < 22 bytes data, client => server
03:00:58.505068 'PASS ftp@example.com\r\n'
03:00:58.505172 Received DATA (on stdin)
03:00:58.505191 > 30 bytes data, server => client
03:00:58.505207 '230 Welcome you silly person\r\n'
03:00:58.507552 < 8 bytes data, client => server
03:00:58.507575 'PBSZ 0\r\n'
03:00:58.507681 Received DATA (on stdin)
03:00:58.507705 > 26 bytes data, server => client
03:00:58.507719 '500 PBSZ not implemented\r\n'
03:00:58.509051 < 8 bytes data, client => server
03:00:58.509074 'PROT C\r\n'
03:00:58.509189 Received DATA (on stdin)
03:00:58.509212 > 26 bytes data, server => client
03:00:58.509227 '500 PROT not implemented\r\n'
03:00:58.510542 < 5 bytes data, client => server
03:00:58.510563 'PWD\r\n'
03:00:58.510648 Received DATA (on stdin)
03:00:58.510669 > 30 bytes data, server => client
03:00:58.510681 '257 "/" is current directory\r\n'
03:00:58.517179 < 6 bytes data, client => server
03:00:58.517202 'EPSV\r\n'
03:00:58.519045 Received DATA (on stdin)
03:00:58.519060 > 38 bytes data, server => client
03:00:58.519072 '229 Entering Passive Mode (|||35057|)\n'
03:00:58.531500 < 8 bytes data, client => server
03:00:58.531518 'TYPE A\r\n'
03:00:58.531623 Received DATA (on stdin)
03:00:58.531634 > 33 bytes data, server => client
03:00:58.531645 '200 I modify TYPE as you wanted\r\n'
03:00:58.533736 < 6 bytes data, client => server
03:00:58.533759 'LIST\r\n'
03:00:58.533866 Received DATA (on stdin)
03:00:58.533890 > 28 bytes data, server => client
03:00:58.533911 '150 here comes a directory\r\n'
03:00:58.534485 Received DATA (on stdin)
03:00:58.534511 > 29 bytes data, server => client
03:00:58.534528 '226 ASCII transfer complete\r\n'
03:00:58.611151 < 6 bytes data, client => server
03:00:58.611191 'QUIT\r\n'
03:00:58.611356 Received DATA (on stdin)
03:00:58.611385 > 18 bytes data, server => client
03:00:58.611403 '221 bye bye baby\r\n'
03:00:58.615588 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:00:54.245860 Running IPv4 version
03:00:54.245930 Listening on port 39697
03:00:54.245956 Wrote pid 511 to ./.ftp_sockdata.pid
03:00:54.245971 Received PING (on stdin)
03:00:54.246022 Received PORT (on stdin)
03:00:54.246294 ====> Client connect
03:00:54.246974 Received DATA (on stdin)
03:00:54.246988 > 17 bytes data, server => client
03:00:54.246998 'WE ROOLZ: 32204\r\n'
03:00:54.247046 Received DISC (on stdin)
03:00:54.247064 ====> Client forcibly disconnected
03:00:54.247089 Received QUIT (on stdin)
03:00:54.247103 quits
03:00:54.247123 ============> sockfilt quits
03:00:58.518791 Running IPv4 version
03:00:58.518850 Listening on port 35057
03:00:58.518891 Wrote pid 518 to ./.ftp_sockdata.pid
03:00:58.518907 Received PING (on stdin)
03:00:58.518963 Received PORT (on stdin)
03:00:58.526333 ====> Client connect
03:00:58.533898 Received DATA (on stdin)
03:00:58.533922 > 10 bytes data, server => client
03:00:58.533939 'total 20\r\n'
03:00:58.533965 Received DATA (on stdin)
03:00:58.533977 > 57 bytes data, server => client
03:00:58.533989 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:00:58.534005 Received DATA (on stdin)
03:00:58.534015 > 58 bytes data, server => client
03:00:58.534026 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:00:58.534041 Received DATA (on stdin)
03:00:58.534050 > 61 bytes data, server => client
03:00:58.534062 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:00:58.534069 '\n'
03:00:58.534083 Received DATA (on stdin)
03:00:58.534092 > 62 bytes data, server => client
03:00:58.534104 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:00:58.534111 '\n'
03:00:58.534125 Received DATA (on stdin)
03:00:58.534134 > 70 bytes data, server => client
03:00:58.534146 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:00:58.534154 'usr/bin\r\n'
03:00:58.534167 Received DATA (on stdin)
03:00:58.534176 > 59 bytes data, server => client
03:00:58.534188 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:00:58.534202 Received DATA (on stdin)
03:00:58.534211 > 69 bytes data, server => client
03:00:58.534223 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:00:58.534231 'd.html\r\n'
03:00:58.534244 Received DATA (on stdin)
03:00:58.534253 > 59 bytes data, server => client
03:00:58.534265 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:00:58.534280 Received DATA (on stdin)
03:00:58.534289 > 59 bytes data, server => client
03:00:58.534300 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:00:58.534314 Received DATA (on stdin)
03:00:58.534324 > 59 bytes data, server => client
03:00:58.534335 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:00:58.534350 Received DISC (on stdin)
03:00:58.534364 ====> Client forcibly disconnected
03:00:58.534381 Received QUIT (on stdin)
03:00:58.534390 quits
03:00:58.534406 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.08.14 03:00:53 LOG5[506]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.14 03:00:53 LOG5[506]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.14 03:00:53 LOG5[506]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.14 03:00:53 LOG5[506]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.14 03:00:53 LOG5[506]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.14 03:00:53 LOG5[506]: Reading configuration from file /build-30040/tests/ftps_stunnel.conf
2019.08.14 03:00:53 LOG5[506]: FIPS mode disabled
2019.08.14 03:00:53 LOG5[506]: Configuration successful
2019.08.14 03:00:54 LOG5[509]: Service [curltest] accepted connection from 127.0.0.1:41814
2019.08.14 03:00:54 LOG5[509]: s_connect: connected 127.0.0.1:8992
2019.08.14 03:00:54 LOG5[509]: Service [curltest] connected remote server from 127.0.0.1:59008
2019.08.14 03:00:54 LOG5[509]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.08.14 03:00:56 LOG5[514]: Service [curltest] accepted connection from 127.0.0.1:41820
2019.08.14 03:00:58 LOG5[514]: s_connect: connected 127.0.0.1:8992
2019.08.14 03:00:58 LOG5[514]: Service [curltest] connected remote server from 127.0.0.1:59014
2019.08.14 03:00:58 LOG5[514]: 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 0x55cd493d6798; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8993...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55cd493d6798; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55cd493d6798; line 1538 (connection #0)
* Marked for [keep alive]: FTP default
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [126 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* FTP 0x55cd493ec370 (line 3092) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55cd493d6798; line 1553 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x55cd493ec370 (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 0x55cd493ec370 (line 2520) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x55cd493ec370 (line 2496) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x55cd493ec370 (line 2709) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x55cd493ec370 (line 804) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x55cd493ec370 (line 2844) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x55cd493d6798; line 1572 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x55cd493ec370 (line 1330) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x55cd493d6798; line 1614 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||39697|)
* Trying 127.0.0.1:39697...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 39697
* FTP 0x55cd493ec370 (line 1977) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x55cd493d6798; line 1699 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* DO-MORE connected phase starts
} [5 bytes data]
> TYPE I
* FTP 0x55cd493ec370 (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 0x55cd493ec370 (line 1743) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x55cd493ec370 (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 0x55cd493ec370 (line 477) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x55cd493d6798; line 1724 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55cd493d6798; line 1749 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x55cd493d6798; line 1939 (connection #0)
* multi_done
* Remembering we are in dir ""
{ [5 bytes data]
< 226 File transfer complete
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55cd493d6798)
=== 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 269 0 --:--:-- 0:00:02 --:--:-- 279
=== End of file stderr400
=== Start of file trace400
03:00:56.264858 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
03:00:56.320859 == Info: Added connection 0. The cache now contains 1 members
03:00:56.338816 == Info: Trying 127.0.0.1:8993...
03:00:56.339435 == Info: TCP_NODELAY set
03:00:56.344760 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
03:00:56.356590 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:56.357161 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
03:00:56.358228 == Info: Marked for [keep alive]: FTP default
03:00:57.868106 == Info: successfully set certificate verify locations:
03:00:57.868371 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:57.989755 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:00:57.994856 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:57.994924 => Send SSL data, 126 bytes (0x7e)
0000: ...z..b.r4.. A.Y...-.i.m...,..q2.>g.......+./.,.0...............
0040: ../.5.....3...................................................
03:00:58.013087 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:58.018899 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:58.018962 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...[7F]W30)....2@t....hK.K/%*...CI... .....U...I.Gi...;........
0040: ,.s.7.../................
03:00:58.064009 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:58.064489 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:58.064549 <= 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:58.165308 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:58.165584 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:58.165644 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.....H.$Y$aq..+.$HR......+HM.....W...o.x....x.G..4.3..s_
0040: ..o.z..0.........b)r....d..A..{g....r......|.~K.....P..V&l.^n...
0080: j..'.....r...[7F]>.F.UkI...Ro!.Z./\.....P._."....R'R....&....|.j...
00c0: .........z$...,f.........U&...].}......i...<.w.+</.....aQ..e...z
0100: .U\......fb..L..........Y.mkl#./..o...C..K.V+..>q...Wb|[......sx
0140: z...{..K ..7.
03:00:58.238137 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:58.238488 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:58.238549 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:58.356560 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:58.356807 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:58.356865 => Send SSL data, 70 bytes (0x46)
0000: ...BA..9....[7F]...d...RG...z*a...eE..>.......e.[...,|..k.sS..WI.Mu
0040: Of....
03:00:58.368862 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:58.369525 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:58.369585 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:58.391896 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:58.391967 => Send SSL data, 16 bytes (0x10)
0000: ..........M..f..
03:00:58.404500 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:58.407123 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:58.408241 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:58.408298 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:58.410782 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:58.416506 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:58.416560 <= Recv SSL data, 16 bytes (0x10)
0000: ....u;.E..t.5...
03:00:58.445126 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:58.447430 == Info: Server certificate:
03:00:58.455071 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:58.461267 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:58.462230 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:58.463175 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:58.464056 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:58.465543 == Info: FTP 0x57410b0 (line 3092) state change from STOP to WAIT220
03:00:58.471606 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:58.479557 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:00:58.483178 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:00:58.483397 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:00:58.483604 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:00:58.483807 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:00:58.491648 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:58.494643 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:00:58.495517 == Info: FTP 0x57410b0 (line 792) state change from WAIT220 to USER
03:00:58.496311 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c52c8; line 1553 (connection #0)
03:00:58.502688 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:58.503508 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:00:58.504837 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:58.504985 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:00:58.505423 == Info: FTP 0x57410b0 (line 2520) state change from USER to PASS
03:00:58.506525 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:58.506677 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:00:58.507386 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:58.507508 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:00:58.507897 == Info: FTP 0x57410b0 (line 2496) state change from PASS to PBSZ
03:00:58.508198 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:58.508342 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:00:58.508887 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:58.509004 => Send header, 8 bytes (0x8)
0000: PROT C
03:00:58.509333 == Info: FTP 0x57410b0 (line 2709) state change from PBSZ to PROT
03:00:58.509577 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:00:58.509716 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:00:58.510381 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:58.510498 => Send header, 5 bytes (0x5)
0000: PWD
03:00:58.510814 == Info: FTP 0x57410b0 (line 804) state change from PROT to PWD
03:00:58.511163 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:58.511304 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:00:58.512430 == Info: Entry path is '/'
03:00:58.512656 == Info: FTP 0x57410b0 (line 2844) state change from PWD to STOP
03:00:58.512821 == Info: protocol connect phase DONE
03:00:58.513067 == Info: STATE: PROTOCONNECT => DO handle 0x56c52c8; line 1572 (connection #0)
03:00:58.514966 == Info: DO phase starts
03:00:58.517030 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:58.517156 => Send header, 6 bytes (0x6)
0000: EPSV
03:00:58.517586 == Info: FTP 0x57410b0 (line 1330) state change from STOP to PASV
03:00:58.517781 == Info: Connect data stream passively
03:00:58.518580 == Info: ftp_perform ends with SECONDARY: 0
03:00:58.519390 == Info: STATE: DO => DOING handle 0x56c52c8; line 1614 (connection #0)
03:00:58.520312 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:00:58.520473 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||35057|).
03:00:58.526167 == Info: Trying 127.0.0.1:35057...
03:00:58.526230 == Info: TCP_NODELAY set
03:00:58.526922 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 35057
03:00:58.528040 == Info: FTP 0x57410b0 (line 1977) state change from PASV to STOP
03:00:58.528676 == Info: DO phase is complete2
03:00:58.529102 == Info: STATE: DOING => DO_MORE handle 0x56c52c8; line 1699 (connection #0)
03:00:58.529819 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:58.530033 == Info: DO-MORE connected phase starts
03:00:58.531355 => Send SSL data, 5 bytes (0x5)
0000: ....
03:00:58.531478 => Send header, 8 bytes (0x8)
0000: TYPE A
03:00:58.531831 == Info: FTP 0x57410b0 (line 3418) state change from STOP to LIST_TYPE
03:00:58.532226 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:00:58.532373 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:00:58.533572 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:58.533691 => Send header, 6 bytes (0x6)
0000: LIST
03:00:58.534259 == Info: FTP 0x57410b0 (line 1486) state change from LIST_TYPE to LIST
03:00:58.535951 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:00:58.536097 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:00:58.536719 == Info: Maxdownload = -1
03:00:58.538055 == Info: FTP 0x57410b0 (line 477) state change from LIST to STOP
03:00:58.538771 == Info: STATE: DO_MORE => DO_DONE handle 0x56c52c8; line 1724 (connection #0)
03:00:58.539158 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
03:00:58.542613 <= 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:58.552010 == Info: nread <= 0, server closed connection, bailing
03:00:58.553197 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #0)
03:00:58.553522 == Info: multi_done
03:00:58.556856 == Info: Remembering we are in dir ""
03:00:58.576273 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:00:58.576450 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:00:58.582165 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:58.584175 == Info: Expire cleared (transfer 0x56c52c8)
=== End of file trace400
=== Start of file valgrind400
==513== Invalid read of size 8
==513== at 0x53315A5: check_free (dlerror.c:188)
==513== by 0x5331AB1: free_key_mem (dlerror.c:221)
==513== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==513== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==513== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==513== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==513== by 0x4D60EB9: exit (exit.c:139)
==513== by 0x4D4B0A1: (below main) (libc-start.c:342)
==513== Address 0x5af4fe0 is 0 bytes after a block of size 32 alloc'd
==513== at 0x483577F: malloc (vg_replace_malloc.c:309)
==513== by 0x25C282: OPENSSL_malloc (mem.c:106)
==513== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==513== by 0x24B104: err_get_state (err.c:210)
==513== by 0x24BCDA: ERR_put_error (err.c:636)
==513== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==513== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==513== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==513== by 0x270326: by_file_ctrl (by_file.c:111)
==513== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==513== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==513== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==513== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==513== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==513== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==513== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==513==
==513== Invalid free() / delete / delete[] / realloc()
==513== at 0x48369AB: free (vg_replace_malloc.c:540)
==513== by 0x5331AB9: free_key_mem (dlerror.c:223)
==513== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==513== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==513== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==513== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==513== by 0x4D60EB9: exit (exit.c:139)
==513== by 0x4D4B0A1: (below main) (libc-start.c:342)
==513== Address 0x5af4fc8 is 8 bytes inside a block of size 32 alloc'd
==513== at 0x483577F: malloc (vg_replace_malloc.c:309)
==513== by 0x25C282: OPENSSL_malloc (mem.c:106)
==513== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==513== by 0x24B104: err_get_state (err.c:210)
==513== by 0x24BCDA: ERR_put_error (err.c:636)
==513== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==513== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==513== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==513== by 0x270326: by_file_ctrl (by_file.c:111)
==513== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==513== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==513== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==513== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==513== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==513== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==513== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==513==
==513== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==513== at 0x483577F: malloc (vg_replace_malloc.c:309)
==513== by 0x25C282: OPENSSL_malloc (mem.c:106)
==513== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==513== by 0x24B104: err_get_state (err.c:210)
==513== by 0x24BCDA: ERR_put_error (err.c:636)
==513== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==513== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==513== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==513== by 0x270326: by_file_ctrl (by_file.c:111)
==513== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==513== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==513== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==513== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==513== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==513== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==513== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==513==
=== End of file valgrind400
test 0401...[FTPS PASV upload file]
goto problem 23
valgrind ERROR ==521== Invalid read of size 8
==521== at 0x53315A5: check_free (dlerror.c:188)
==521== by 0x5331AB1: free_key_mem (dlerror.c:221)
==521== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==521== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==521== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==521== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==521== by 0x4D60EB9: exit (exit.c:139)
==521== by 0x4D4B0A1: (below main) (libc-start.c:342)
==521== Address 0x5b31af0 is 0 bytes after a block of size 32 alloc'd
==521== at 0x483577F: malloc (vg_replace_malloc.c:309)
==521== by 0x25C282: OPENSSL_malloc (mem.c:106)
==521== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==521== by 0x24B104: err_get_state (err.c:210)
==521== by 0x24BCDA: ERR_put_error (err.c:636)
==521== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==521== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==521== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==521== by 0x270326: by_file_ctrl (by_file.c:111)
==521== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==521== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==521== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==521== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==521== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==521== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==521== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==521==
==521== Invalid free() / delete / delete[] / realloc()
==521== at 0x48369AB: free (vg_replace_malloc.c:540)
==521== by 0x5331AB9: free_key_mem (dlerror.c:223)
==521== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==521== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==521== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==521== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==521== by 0x4D60EB9: exit (exit.c:139)
==521== by 0x4D4B0A1: (below main) (libc-start.c:342)
==521== Address 0x5b31ad8 is 8 bytes inside a block of size 32 alloc'd
==521== at 0x483577F: malloc (vg_replace_malloc.c:309)
==521== by 0x25C282: OPENSSL_malloc (mem.c:106)
==521== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==521== by 0x24B104: err_get_state (err.c:210)
==521== by 0x24BCDA: ERR_put_error (err.c:636)
==521== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==521== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==521== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==521== by 0x270326: by_file_ctrl (by_file.c:111)
==521== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==521== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==521== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==521== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==521== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==521== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==521== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==521==
==521== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==521== at 0x483577F: malloc (vg_replace_malloc.c:309)
==521== by 0x25C282: OPENSSL_malloc (mem.c:106)
==521== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==521== by 0x24B104: err_get_state (err.c:210)
==521== by 0x24BCDA: ERR_put_error (err.c:636)
==521== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==521== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==521== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==521== by 0x270326: by_file_ctrl (by_file.c:111)
==521== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==521== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==521== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==521== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==521== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==521== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==521== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==521==
== Contents of files in the log/ dir after test 401
=== Start of file ftp_server.log
03:01:01.677954 ====> Client connect
03:01:01.678121 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:01.767408 < "USER anonymous"
03:01:01.767468 > "331 We are happy you popped in![CR][LF]"
03:01:01.778677 < "PASS ftp@example.com"
03:01:01.778728 > "230 Welcome you silly person[CR][LF]"
03:01:01.781101 < "PBSZ 0"
03:01:01.781143 > "500 PBSZ not implemented[CR][LF]"
03:01:01.782619 < "PROT C"
03:01:01.782681 > "500 PROT not implemented[CR][LF]"
03:01:01.784280 < "PWD"
03:01:01.784329 > "257 "/" is current directory[CR][LF]"
03:01:01.792090 < "EPSV"
03:01:01.792137 ====> Passive DATA channel requested by client
03:01:01.792159 DATA sockfilt for passive data channel starting...
03:01:01.793962 DATA sockfilt for passive data channel started (pid 523)
03:01:01.794072 DATA sockfilt for passive data channel listens on port 45035
03:01:01.794123 > "229 Entering Passive Mode (|||45035|)[LF]"
03:01:01.794148 Client has been notified that DATA conn will be accepted on port 45035
03:01:01.801288 Client connects to port 45035
03:01:01.801326 ====> Client established passive DATA connection on port 45035
03:01:01.806492 < "TYPE I"
03:01:01.806541 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:01.808928 < "STOR 401"
03:01:01.808964 STOR test number 401 in log/upload.401
03:01:01.808999 > "125 Gimme gimme gimme![CR][LF]"
03:01:01.818089 > Appending 52 bytes to file
03:01:01.826808 =====> Closing passive DATA connection...
03:01:01.826840 Server knows passive DATA connection is already disconnected
03:01:01.826903 DATA sockfilt for passive data channel quits (pid 524)
03:01:01.826928 =====> Closed passive DATA connection
03:01:01.826953 received 52 bytes upload
03:01:01.827001 > "226 File transfer complete[CR][LF]"
03:01:01.880046 < "QUIT"
03:01:01.880104 > "221 bye bye baby[CR][LF]"
03:01:01.884531 MAIN sockfilt said DISC
03:01:01.884570 ====> Client disconnected
03:01:01.884630 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:01.778668 ====> Client connect
03:01:01.778934 Received DATA (on stdin)
03:01:01.778961 > 160 bytes data, server => client
03:01:01.778984 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:01.778998 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:01.779009 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:01.868068 < 16 bytes data, client => server
03:01:01.868106 'USER anonymous\r\n'
03:01:01.868285 Received DATA (on stdin)
03:01:01.868303 > 33 bytes data, server => client
03:01:01.868318 '331 We are happy you popped in!\r\n'
03:01:01.879397 < 22 bytes data, client => server
03:01:01.879422 'PASS ftp@example.com\r\n'
03:01:01.879534 Received DATA (on stdin)
03:01:01.879544 > 30 bytes data, server => client
03:01:01.879554 '230 Welcome you silly person\r\n'
03:01:01.881843 < 8 bytes data, client => server
03:01:01.881858 'PBSZ 0\r\n'
03:01:01.881947 Received DATA (on stdin)
03:01:01.881957 > 26 bytes data, server => client
03:01:01.881967 '500 PBSZ not implemented\r\n'
03:01:01.883358 < 8 bytes data, client => server
03:01:01.883382 'PROT C\r\n'
03:01:01.883486 Received DATA (on stdin)
03:01:01.883503 > 26 bytes data, server => client
03:01:01.883518 '500 PROT not implemented\r\n'
03:01:01.885024 < 5 bytes data, client => server
03:01:01.885046 'PWD\r\n'
03:01:01.885134 Received DATA (on stdin)
03:01:01.885147 > 30 bytes data, server => client
03:01:01.885162 '257 "/" is current directory\r\n'
03:01:01.892786 < 6 bytes data, client => server
03:01:01.892824 'EPSV\r\n'
03:01:01.894927 Received DATA (on stdin)
03:01:01.894949 > 38 bytes data, server => client
03:01:01.894966 '229 Entering Passive Mode (|||45035|)\n'
03:01:01.907218 < 8 bytes data, client => server
03:01:01.907240 'TYPE I\r\n'
03:01:01.907343 Received DATA (on stdin)
03:01:01.907356 > 33 bytes data, server => client
03:01:01.907371 '200 I modify TYPE as you wanted\r\n'
03:01:01.909665 < 10 bytes data, client => server
03:01:01.909686 'STOR 401\r\n'
03:01:01.909802 Received DATA (on stdin)
03:01:01.909815 > 24 bytes data, server => client
03:01:01.909829 '125 Gimme gimme gimme!\r\n'
03:01:01.927807 Received DATA (on stdin)
03:01:01.927833 > 28 bytes data, server => client
03:01:01.927849 '226 File transfer complete\r\n'
03:01:01.980736 < 6 bytes data, client => server
03:01:01.980768 'QUIT\r\n'
03:01:01.980908 Received DATA (on stdin)
03:01:01.980924 > 18 bytes data, server => client
03:01:01.980938 '221 bye bye baby\r\n'
03:01:01.985300 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:01.894611 Running IPv4 version
03:01:01.894695 Listening on port 45035
03:01:01.894723 Wrote pid 524 to ./.ftp_sockdata.pid
03:01:01.894740 Received PING (on stdin)
03:01:01.894812 Received PORT (on stdin)
03:01:01.902070 ====> Client connect
03:01:01.918839 < 52 bytes data, client => server
03:01:01.918875 'data\n to\n see\nthat FTPS\nworks\n so does it?\n'
03:01:01.927510 ====> Client disconnect
03:01:01.927677 Received QUIT (on stdin)
03:01:01.927691 quits
03:01:01.927706 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
EPSV
TYPE I
STOR 401
QUIT
=== End of file server.input
=== Start of file stderr401
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 52 0 0 100 52 0 23 0:00:02 0:00:02 --:--:-- 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:59.702484 == Info: STATE: INIT => CONNECT handle 0x56c8168; line 1362 (connection #-5000)
03:00:59.757879 == Info: Added connection 0. The cache now contains 1 members
03:00:59.776176 == Info: Trying 127.0.0.1:8993...
03:00:59.776801 == Info: TCP_NODELAY set
03:00:59.781961 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8168; line 1418 (connection #0)
03:00:59.793840 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:00:59.794412 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8168; line 1538 (connection #0)
03:00:59.795544 == Info: Marked for [keep alive]: FTP default
03:01:01.248441 == Info: successfully set certificate verify locations:
03:01:01.248707 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:01.364751 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:01.369876 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:01.369941 => Send SSL data, 126 bytes (0x7e)
0000: ...z..M~_.X.y.b..O.|.z....OV8.?..~........+./.,.0...............
0040: ../.5.....3...................................................
03:01:01.387397 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:01.393111 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:01.393175 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..V..z..C....)2.*@.T2D...4...@..(< ...#P......h4......6LT:T$
0040: .I..!.../................
03:01:01.437757 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:01.438236 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:01.438295 <= 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:01.539159 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:01.539440 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:01.539499 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.....H.$Y$aq..+.$HR......+HM.....W...o.x....x.G..4.3..s_
0040: ..o.z..0.....VB|....x7..DG....f".T.z.13ZGQ...hn.Aw.6.[7F].l....5...
0080: H-.l.....e(..A.......u....<f......}.z....U...3'y..F.)b...*#~....
00c0: w..)...UG.I........}.{......}..>.#....8n.......Z.!.7.....{.Y-..?
0100: ...a.9.h.>.6.P....Zw.'.........A...R.@..Ng..{S.,.Y:.......M.....
0140: {)Njm........
03:01:01.610496 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:01.610852 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:01.610915 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:01.729864 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:01.730115 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:01.730173 => Send SSL data, 70 bytes (0x46)
0000: ...BA..M./\......J*.............g#.........%....2._.LP.qE...cC..
0040: .s}6.u
03:01:01.742161 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:01.742771 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:01.742830 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:01.764998 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:01.765069 => Send SSL data, 16 bytes (0x10)
0000: .......L....u-..
03:01:01.777730 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:01.780409 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:01.781519 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:01.781580 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:01.784379 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:01.790119 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:01.790176 <= Recv SSL data, 16 bytes (0x10)
0000: .....#......n..j
03:01:01.819115 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:01.821428 == Info: Server certificate:
03:01:01.828983 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:01.835188 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:01.836195 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:01.837216 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:01.838093 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:01.839587 == Info: FTP 0x577dbc0 (line 3092) state change from STOP to WAIT220
03:01:01.845731 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:01.854011 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:01.857846 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:01.858117 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:01.858304 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:01.858484 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:01.866407 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:01.869415 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:01.870202 == Info: FTP 0x577dbc0 (line 792) state change from WAIT220 to USER
03:01:01.870967 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8168; line 1553 (connection #0)
03:01:01.877260 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:01.877943 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:01.879247 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:01.879372 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:01.879818 == Info: FTP 0x577dbc0 (line 2520) state change from USER to PASS
03:01:01.880851 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:01.881000 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:01.881710 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:01.881830 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:01.882206 == Info: FTP 0x577dbc0 (line 2496) state change from PASS to PBSZ
03:01:01.882505 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:01.882647 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:01.883188 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:01.883341 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:01.883776 == Info: FTP 0x577dbc0 (line 2709) state change from PBSZ to PROT
03:01:01.884053 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:01.884197 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:01.884888 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:01.885009 => Send header, 5 bytes (0x5)
0000: PWD
03:01:01.885378 == Info: FTP 0x577dbc0 (line 804) state change from PROT to PWD
03:01:01.885708 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:01.885850 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:01.887002 == Info: Entry path is '/'
03:01:01.887235 == Info: FTP 0x577dbc0 (line 2844) state change from PWD to STOP
03:01:01.887406 == Info: protocol connect phase DONE
03:01:01.887694 == Info: STATE: PROTOCONNECT => DO handle 0x56c8168; line 1572 (connection #0)
03:01:01.890515 == Info: DO phase starts
03:01:01.892595 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:01.892749 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:01.893211 == Info: FTP 0x577dbc0 (line 1330) state change from STOP to PASV
03:01:01.893436 == Info: Connect data stream passively
03:01:01.894284 == Info: ftp_perform ends with SECONDARY: 0
03:01:01.895077 == Info: STATE: DO => DOING handle 0x56c8168; line 1614 (connection #0)
03:01:01.896028 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:01.896195 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||45035|).
03:01:01.901901 == Info: Trying 127.0.0.1:45035...
03:01:01.901969 == Info: TCP_NODELAY set
03:01:01.902852 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 45035
03:01:01.904005 == Info: FTP 0x577dbc0 (line 1977) state change from PASV to STOP
03:01:01.904641 == Info: DO phase is complete2
03:01:01.905074 == Info: STATE: DOING => DO_MORE handle 0x56c8168; line 1699 (connection #0)
03:01:01.905819 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:01.906038 == Info: DO-MORE connected phase starts
03:01:01.907066 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:01.907192 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:01.907594 == Info: FTP 0x577dbc0 (line 3418) state change from STOP to STOR_TYPE
03:01:01.908020 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:01.908181 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:01.909526 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:01.909650 => Send header, 10 bytes (0xa)
0000: STOR 401
03:01:01.910054 == Info: FTP 0x577dbc0 (line 1651) state change from STOR_TYPE to STOR
03:01:01.911740 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:01.911895 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:01.913746 == Info: FTP 0x577dbc0 (line 477) state change from STOR to STOP
03:01:01.914497 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8168; line 1724 (connection #0)
03:01:01.914934 == Info: STATE: DO_DONE => PERFORM handle 0x56c8168; line 1749 (connection #0)
03:01:01.919419 => Send data, 52 bytes (0x34)
0000: data. to. see.that FTPS.works. so does it?.
03:01:01.920113 == Info: We are completely uploaded and fine
03:01:01.922520 == Info: STATE: PERFORM => DONE handle 0x56c8168; line 1939 (connection #0)
03:01:01.922849 == Info: multi_done
03:01:01.925972 == Info: Remembering we are in dir ""
03:01:01.952242 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:01.952425 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:01.958575 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:01.960449 == Info: Expire cleared (transfer 0x56c8168)
=== End of file trace401
=== Start of file upload.401
data
to
see
that FTPS
works
so does it?
=== End of file upload.401
=== Start of file valgrind401
==521== Invalid read of size 8
==521== at 0x53315A5: check_free (dlerror.c:188)
==521== by 0x5331AB1: free_key_mem (dlerror.c:221)
==521== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==521== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==521== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==521== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==521== by 0x4D60EB9: exit (exit.c:139)
==521== by 0x4D4B0A1: (below main) (libc-start.c:342)
==521== Address 0x5b31af0 is 0 bytes after a block of size 32 alloc'd
==521== at 0x483577F: malloc (vg_replace_malloc.c:309)
==521== by 0x25C282: OPENSSL_malloc (mem.c:106)
==521== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==521== by 0x24B104: err_get_state (err.c:210)
==521== by 0x24BCDA: ERR_put_error (err.c:636)
==521== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==521== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==521== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==521== by 0x270326: by_file_ctrl (by_file.c:111)
==521== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==521== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==521== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==521== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==521== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==521== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==521== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==521==
==521== Invalid free() / delete / delete[] / realloc()
==521== at 0x48369AB: free (vg_replace_malloc.c:540)
==521== by 0x5331AB9: free_key_mem (dlerror.c:223)
==521== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==521== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==521== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==521== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==521== by 0x4D60EB9: exit (exit.c:139)
==521== by 0x4D4B0A1: (below main) (libc-start.c:342)
==521== Address 0x5b31ad8 is 8 bytes inside a block of size 32 alloc'd
==521== at 0x483577F: malloc (vg_replace_malloc.c:309)
==521== by 0x25C282: OPENSSL_malloc (mem.c:106)
==521== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==521== by 0x24B104: err_get_state (err.c:210)
==521== by 0x24BCDA: ERR_put_error (err.c:636)
==521== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==521== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==521== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==521== by 0x270326: by_file_ctrl (by_file.c:111)
==521== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==521== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==521== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==521== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==521== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==521== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==521== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==521==
==521== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==521== at 0x483577F: malloc (vg_replace_malloc.c:309)
==521== by 0x25C282: OPENSSL_malloc (mem.c:106)
==521== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==521== by 0x24B104: err_get_state (err.c:210)
==521== by 0x24BCDA: ERR_put_error (err.c:636)
==521== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==521== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==521== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==521== by 0x270326: by_file_ctrl (by_file.c:111)
==521== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==521== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==521== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==521== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==521== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==521== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==521== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==521==
=== End of file valgrind401
test 0402...[FTP SSL required on non-SSL server]
--p----emv- OK (348 out of 1250, remaining: 25:23, took 1.2s, duration: 09:47)
test 0403...[FTPS with CCC not supported by server]
goto problem 24
valgrind ERROR ==532== Invalid read of size 8
==532== at 0x53315A5: check_free (dlerror.c:188)
==532== by 0x5331AB1: free_key_mem (dlerror.c:221)
==532== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==532== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==532== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==532== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==532== by 0x4D60EB9: exit (exit.c:139)
==532== by 0x4D4B0A1: (below main) (libc-start.c:342)
==532== Address 0x5af4fe0 is 0 bytes after a block of size 32 alloc'd
==532== at 0x483577F: malloc (vg_replace_malloc.c:309)
==532== by 0x25C282: OPENSSL_malloc (mem.c:106)
==532== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==532== by 0x24B104: err_get_state (err.c:210)
==532== by 0x24BCDA: ERR_put_error (err.c:636)
==532== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==532== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==532== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==532== by 0x270326: by_file_ctrl (by_file.c:111)
==532== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==532== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==532== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==532== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==532== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==532== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==532== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==532==
==532== Invalid free() / delete / delete[] / realloc()
==532== at 0x48369AB: free (vg_replace_malloc.c:540)
==532== by 0x5331AB9: free_key_mem (dlerror.c:223)
==532== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==532== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==532== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==532== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==532== by 0x4D60EB9: exit (exit.c:139)
==532== by 0x4D4B0A1: (below main) (libc-start.c:342)
==532== Address 0x5af4fc8 is 8 bytes inside a block of size 32 alloc'd
==532== at 0x483577F: malloc (vg_replace_malloc.c:309)
==532== by 0x25C282: OPENSSL_malloc (mem.c:106)
==532== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==532== by 0x24B104: err_get_state (err.c:210)
==532== by 0x24BCDA: ERR_put_error (err.c:636)
==532== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==532== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==532== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==532== by 0x270326: by_file_ctrl (by_file.c:111)
==532== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==532== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==532== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==532== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==532== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==532== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==532== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==532==
==532== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==532== at 0x483577F: malloc (vg_replace_malloc.c:309)
==532== by 0x25C282: OPENSSL_malloc (mem.c:106)
==532== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==532== by 0x24B104: err_get_state (err.c:210)
==532== by 0x24BCDA: ERR_put_error (err.c:636)
==532== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==532== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==532== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==532== by 0x270326: by_file_ctrl (by_file.c:111)
==532== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==532== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==532== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==532== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==532== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==532== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==532== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==532==
== Contents of files in the log/ dir after test 403
=== Start of file curl403.out
total 20
drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
-r--r--r-- 1 0 1 35 Jul 16 1996 README
lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
=== End of file curl403.out
=== Start of file ftp_server.log
03:01:06.389522 ====> Client connect
03:01:06.389650 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:06.484127 < "USER anonymous"
03:01:06.484189 > "331 We are happy you popped in![CR][LF]"
03:01:06.495761 < "PASS ftp@example.com"
03:01:06.495808 > "230 Welcome you silly person[CR][LF]"
03:01:06.498259 < "PBSZ 0"
03:01:06.498302 > "500 PBSZ not implemented[CR][LF]"
03:01:06.499798 < "PROT C"
03:01:06.499839 > "500 PROT not implemented[CR][LF]"
03:01:06.501322 < "CCC"
03:01:06.501350 CCC wasn't handled
03:01:06.501382 > "500 CCC is not dealt with![CR][LF]"
03:01:06.502868 < "PWD"
03:01:06.502913 > "257 "/" is current directory[CR][LF]"
03:01:06.509910 < "EPSV"
03:01:06.509946 ====> Passive DATA channel requested by client
03:01:06.509967 DATA sockfilt for passive data channel starting...
03:01:06.511651 DATA sockfilt for passive data channel started (pid 534)
03:01:06.511788 DATA sockfilt for passive data channel listens on port 35577
03:01:06.511835 > "229 Entering Passive Mode (|||35577|)[LF]"
03:01:06.511860 Client has been notified that DATA conn will be accepted on port 35577
03:01:06.519757 Client connects to port 35577
03:01:06.519808 ====> Client established passive DATA connection on port 35577
03:01:06.525276 < "TYPE A"
03:01:06.525327 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:06.527672 < "LIST"
03:01:06.527718 > "150 here comes a directory[CR][LF]"
03:01:06.527754 pass LIST data on data connection
03:01:06.527862 =====> Closing passive DATA connection...
03:01:06.527886 Server disconnects passive DATA connection
03:01:06.528295 DATA sockfilt for passive data channel quits (pid 535)
03:01:06.528322 =====> Closed passive DATA connection
03:01:06.528357 > "226 ASCII transfer complete[CR][LF]"
03:01:06.606580 < "QUIT"
03:01:06.606626 > "221 bye bye baby[CR][LF]"
03:01:06.611034 MAIN sockfilt said DISC
03:01:06.611077 ====> Client disconnected
03:01:06.611138 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:06.490239 ====> Client connect
03:01:06.490449 Received DATA (on stdin)
03:01:06.490472 > 160 bytes data, server => client
03:01:06.490492 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:06.490510 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:06.490526 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:06.584789 < 16 bytes data, client => server
03:01:06.584827 'USER anonymous\r\n'
03:01:06.584992 Received DATA (on stdin)
03:01:06.585005 > 33 bytes data, server => client
03:01:06.585016 '331 We are happy you popped in!\r\n'
03:01:06.596492 < 22 bytes data, client => server
03:01:06.596510 'PASS ftp@example.com\r\n'
03:01:06.596611 Received DATA (on stdin)
03:01:06.596624 > 30 bytes data, server => client
03:01:06.596639 '230 Welcome you silly person\r\n'
03:01:06.599001 < 8 bytes data, client => server
03:01:06.599017 'PBSZ 0\r\n'
03:01:06.599105 Received DATA (on stdin)
03:01:06.599115 > 26 bytes data, server => client
03:01:06.599125 '500 PBSZ not implemented\r\n'
03:01:06.600548 < 8 bytes data, client => server
03:01:06.600561 'PROT C\r\n'
03:01:06.600643 Received DATA (on stdin)
03:01:06.600653 > 26 bytes data, server => client
03:01:06.600663 '500 PROT not implemented\r\n'
03:01:06.602075 < 5 bytes data, client => server
03:01:06.602089 'CCC\r\n'
03:01:06.602187 Received DATA (on stdin)
03:01:06.602197 > 28 bytes data, server => client
03:01:06.602207 '500 CCC is not dealt with!\r\n'
03:01:06.603621 < 5 bytes data, client => server
03:01:06.603635 'PWD\r\n'
03:01:06.603718 Received DATA (on stdin)
03:01:06.603728 > 30 bytes data, server => client
03:01:06.603738 '257 "/" is current directory\r\n'
03:01:06.610657 < 6 bytes data, client => server
03:01:06.610674 'EPSV\r\n'
03:01:06.612637 Received DATA (on stdin)
03:01:06.612653 > 38 bytes data, server => client
03:01:06.612664 '229 Entering Passive Mode (|||35577|)\n'
03:01:06.625996 < 8 bytes data, client => server
03:01:06.626020 'TYPE A\r\n'
03:01:06.626129 Received DATA (on stdin)
03:01:06.626142 > 33 bytes data, server => client
03:01:06.626153 '200 I modify TYPE as you wanted\r\n'
03:01:06.628417 < 6 bytes data, client => server
03:01:06.628440 'LIST\r\n'
03:01:06.628545 Received DATA (on stdin)
03:01:06.628568 > 28 bytes data, server => client
03:01:06.628584 '150 here comes a directory\r\n'
03:01:06.629180 Received DATA (on stdin)
03:01:06.629203 > 29 bytes data, server => client
03:01:06.629218 '226 ASCII transfer complete\r\n'
03:01:06.707263 < 6 bytes data, client => server
03:01:06.707298 'QUIT\r\n'
03:01:06.707432 Received DATA (on stdin)
03:01:06.707445 > 18 bytes data, server => client
03:01:06.707455 '221 bye bye baby\r\n'
03:01:06.711799 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:06.612308 Running IPv4 version
03:01:06.612383 Listening on port 35577
03:01:06.612414 Wrote pid 535 to ./.ftp_sockdata.pid
03:01:06.612429 Received PING (on stdin)
03:01:06.612521 Received PORT (on stdin)
03:01:06.620514 ====> Client connect
03:01:06.628598 Received DATA (on stdin)
03:01:06.628624 > 10 bytes data, server => client
03:01:06.628640 'total 20\r\n'
03:01:06.628662 Received DATA (on stdin)
03:01:06.628673 > 57 bytes data, server => client
03:01:06.628685 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:01:06.628701 Received DATA (on stdin)
03:01:06.628711 > 58 bytes data, server => client
03:01:06.628723 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:01:06.628737 Received DATA (on stdin)
03:01:06.628747 > 61 bytes data, server => client
03:01:06.628759 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:01:06.628766 '\n'
03:01:06.628780 Received DATA (on stdin)
03:01:06.628789 > 62 bytes data, server => client
03:01:06.628801 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:01:06.628808 '\n'
03:01:06.628822 Received DATA (on stdin)
03:01:06.628831 > 70 bytes data, server => client
03:01:06.628843 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:01:06.628851 'usr/bin\r\n'
03:01:06.628865 Received DATA (on stdin)
03:01:06.628874 > 59 bytes data, server => client
03:01:06.628886 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:01:06.628901 Received DATA (on stdin)
03:01:06.628910 > 69 bytes data, server => client
03:01:06.628922 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:01:06.628930 'd.html\r\n'
03:01:06.628943 Received DATA (on stdin)
03:01:06.628952 > 59 bytes data, server => client
03:01:06.628964 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:01:06.628978 Received DATA (on stdin)
03:01:06.628987 > 59 bytes data, server => client
03:01:06.628999 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:01:06.629013 Received DATA (on stdin)
03:01:06.629022 > 59 bytes data, server => client
03:01:06.629034 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:01:06.629048 Received DISC (on stdin)
03:01:06.629058 ====> Client forcibly disconnected
03:01:06.629076 Received QUIT (on stdin)
03:01:06.629085 quits
03:01:06.629100 ============> 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 259 0 --:--:-- 0:00:02 --:--:-- 268
=== End of file stderr403
=== Start of file trace403
03:01:04.270704 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
03:01:04.328859 == Info: Added connection 0. The cache now contains 1 members
03:01:04.347895 == Info: Trying 127.0.0.1:8993...
03:01:04.348539 == Info: TCP_NODELAY set
03:01:04.353982 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
03:01:04.366199 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:04.366799 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
03:01:04.367916 == Info: Marked for [keep alive]: FTP default
03:01:05.936517 == Info: successfully set certificate verify locations:
03:01:05.936795 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:06.058037 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:06.063354 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:06.063419 => Send SSL data, 126 bytes (0x7e)
0000: ...z.....S=...Z........7f.,..0P..M.i......+./.,.0...............
0040: ../.5.....3...................................................
03:01:06.081196 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:06.087328 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:06.087392 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...C..........E.........^+.K7..WD# .4.P....x....Mo.U)/....7m
0040: j|.&._../................
03:01:06.133886 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:06.134380 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:06.134442 <= 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.241462 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:06.241754 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:06.241811 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.....H.$Y$aq..+.$HR......+HM.....W...o.x....x.G..4.3..s_
0040: ..o.z..0........>.7........U......Z..2...9...5.(U.r./U0....E.u..
0080: ...{&s.....XG./XY=..y.Z...E..G!.......$...nT.7L...)#g.B3_[.u....
00c0: ..q...>u..1..j....K4..6....v...Pw]....YH.'..-..Y1...k.)X.....;.z
0100: .....$..f..k\....m.-.....z....B.u[$.b ...y...}.H..[7F],.c...6......
0140: Xurx.p.b.....
03:01:06.316423 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:06.316869 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:06.316952 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:06.439628 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:06.439899 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:06.439963 => Send SSL data, 70 bytes (0x46)
0000: ...BA.1.a....Iq+...*.3K..[7F]..;....#.......6..^.F.Zy.jx4G.%'...i..
0040: ..6@]K
03:01:06.452708 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:06.453315 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:06.453375 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:06.476249 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:06.476327 => Send SSL data, 16 bytes (0x10)
0000: ..../..?IOo.#.f.
03:01:06.489370 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:06.492094 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:06.493236 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:06.493292 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:06.495999 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:06.502207 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:06.502315 <= Recv SSL data, 16 bytes (0x10)
0000: ..........^..EG&
03:01:06.532722 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:06.535149 == Info: Server certificate:
03:01:06.542973 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:06.549733 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:06.550779 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:06.551792 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:06.552729 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:06.554367 == Info: FTP 0x57410b0 (line 3092) state change from STOP to WAIT220
03:01:06.560955 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:06.570327 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:06.574118 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:06.574335 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:06.574554 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:06.574753 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:06.582991 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:06.586202 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:06.587035 == Info: FTP 0x57410b0 (line 792) state change from WAIT220 to USER
03:01:06.587827 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c52c8; line 1553 (connection #0)
03:01:06.594268 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:06.594997 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:06.596320 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:06.596447 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:06.596906 == Info: FTP 0x57410b0 (line 2520) state change from USER to PASS
03:01:06.597971 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:06.598122 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:06.598863 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:06.598985 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:06.599375 == Info: FTP 0x57410b0 (line 2496) state change from PASS to PBSZ
03:01:06.599680 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:06.599832 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:06.600387 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:06.600508 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:06.600897 == Info: FTP 0x57410b0 (line 2709) state change from PBSZ to PROT
03:01:06.601147 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:06.601294 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:06.601920 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:06.602035 => Send header, 5 bytes (0x5)
0000: CCC
03:01:06.602422 == Info: FTP 0x57410b0 (line 2728) state change from PROT to CCC
03:01:06.602693 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:06.602836 <= Recv header, 28 bytes (0x1c)
0000: 500 CCC is not dealt with
03:01:06.603478 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:06.603603 => Send header, 5 bytes (0x5)
0000: PWD
03:01:06.603985 == Info: FTP 0x57410b0 (line 804) state change from CCC to PWD
03:01:06.604322 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:06.604467 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:06.605624 == Info: Entry path is '/'
03:01:06.605856 == Info: FTP 0x57410b0 (line 2844) state change from PWD to STOP
03:01:06.606024 == Info: protocol connect phase DONE
03:01:06.606278 == Info: STATE: PROTOCONNECT => DO handle 0x56c52c8; line 1572 (connection #0)
03:01:06.608279 == Info: DO phase starts
03:01:06.610466 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:06.610615 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:06.611090 == Info: FTP 0x57410b0 (line 1330) state change from STOP to PASV
03:01:06.611308 == Info: Connect data stream passively
03:01:06.612174 == Info: ftp_perform ends with SECONDARY: 0
03:01:06.613001 == Info: STATE: DO => DOING handle 0x56c52c8; line 1614 (connection #0)
03:01:06.614013 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:06.614179 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||35577|).
03:01:06.620308 == Info: Trying 127.0.0.1:35577...
03:01:06.620378 == Info: TCP_NODELAY set
03:01:06.621146 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 35577
03:01:06.622298 == Info: FTP 0x57410b0 (line 1977) state change from PASV to STOP
03:01:06.622982 == Info: DO phase is complete2
03:01:06.623459 == Info: STATE: DOING => DO_MORE handle 0x56c52c8; line 1699 (connection #0)
03:01:06.624210 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:06.624434 == Info: DO-MORE connected phase starts
03:01:06.625812 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:06.625944 => Send header, 8 bytes (0x8)
0000: TYPE A
03:01:06.626360 == Info: FTP 0x57410b0 (line 3418) state change from STOP to LIST_TYPE
03:01:06.626768 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:06.626922 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:06.628225 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:06.628353 => Send header, 6 bytes (0x6)
0000: LIST
03:01:06.629021 == Info: FTP 0x57410b0 (line 1486) state change from LIST_TYPE to LIST
03:01:06.630774 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:06.630923 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:01:06.631531 == Info: Maxdownload = -1
03:01:06.632916 == Info: FTP 0x57410b0 (line 477) state change from LIST to STOP
03:01:06.633685 == Info: STATE: DO_MORE => DO_DONE handle 0x56c52c8; line 1724 (connection #0)
03:01:06.634103 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
03:01:06.637818 <= Recv data, 623 bytes (0x26f)
0000: total 20
000a: drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
0043: drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
007d: drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
00ba: -r--r--r-- 1 0 1 35 Jul 16 1996 README
00f8: lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr
0138: /bin
013e: dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
0179: drwxrwxrwx 2 98 98 512 May 29 16:04 download.h
01b9: tml
01be: dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
01f9: drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
0234: dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
03:01:06.646935 == Info: nread <= 0, server closed connection, bailing
03:01:06.648215 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #0)
03:01:06.648562 == Info: multi_done
03:01:06.652323 == Info: Remembering we are in dir ""
03:01:06.672324 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:06.672527 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:01:06.678230 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:06.680139 == Info: Expire cleared (transfer 0x56c52c8)
=== End of file trace403
=== Start of file valgrind403
==532== Invalid read of size 8
==532== at 0x53315A5: check_free (dlerror.c:188)
==532== by 0x5331AB1: free_key_mem (dlerror.c:221)
==532== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==532== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==532== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==532== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==532== by 0x4D60EB9: exit (exit.c:139)
==532== by 0x4D4B0A1: (below main) (libc-start.c:342)
==532== Address 0x5af4fe0 is 0 bytes after a block of size 32 alloc'd
==532== at 0x483577F: malloc (vg_replace_malloc.c:309)
==532== by 0x25C282: OPENSSL_malloc (mem.c:106)
==532== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==532== by 0x24B104: err_get_state (err.c:210)
==532== by 0x24BCDA: ERR_put_error (err.c:636)
==532== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==532== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==532== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==532== by 0x270326: by_file_ctrl (by_file.c:111)
==532== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==532== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==532== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==532== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==532== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==532== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==532== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==532==
==532== Invalid free() / delete / delete[] / realloc()
==532== at 0x48369AB: free (vg_replace_malloc.c:540)
==532== by 0x5331AB9: free_key_mem (dlerror.c:223)
==532== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==532== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==532== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==532== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==532== by 0x4D60EB9: exit (exit.c:139)
==532== by 0x4D4B0A1: (below main) (libc-start.c:342)
==532== Address 0x5af4fc8 is 8 bytes inside a block of size 32 alloc'd
==532== at 0x483577F: malloc (vg_replace_malloc.c:309)
==532== by 0x25C282: OPENSSL_malloc (mem.c:106)
==532== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==532== by 0x24B104: err_get_state (err.c:210)
==532== by 0x24BCDA: ERR_put_error (err.c:636)
==532== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==532== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==532== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==532== by 0x270326: by_file_ctrl (by_file.c:111)
==532== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==532== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==532== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==532== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==532== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==532== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==532== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==532==
==532== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==532== at 0x483577F: malloc (vg_replace_malloc.c:309)
==532== by 0x25C282: OPENSSL_malloc (mem.c:106)
==532== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==532== by 0x24B104: err_get_state (err.c:210)
==532== by 0x24BCDA: ERR_put_error (err.c:636)
==532== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==532== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==532== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==532== by 0x270326: by_file_ctrl (by_file.c:111)
==532== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==532== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==532== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==532== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==532== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==532== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==532== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==532==
=== End of file valgrind403
test 0404...[FTPS with invalid cacert]
goto problem 25
valgrind ERROR ==538== Invalid read of size 8
==538== at 0x53315A5: check_free (dlerror.c:188)
==538== by 0x5331AB1: free_key_mem (dlerror.c:221)
==538== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==538== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==538== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==538== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==538== by 0x4D60EB9: exit (exit.c:139)
==538== by 0x4D4B0A1: (below main) (libc-start.c:342)
==538== Address 0x5755d20 is 0 bytes after a block of size 32 alloc'd
==538== at 0x483577F: malloc (vg_replace_malloc.c:309)
==538== by 0x25C282: OPENSSL_malloc (mem.c:106)
==538== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==538== by 0x24B104: err_get_state (err.c:210)
==538== by 0x24BCDA: ERR_put_error (err.c:636)
==538== by 0x23B5AB: BIO_new_file (file.c:99)
==538== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==538== by 0x270326: by_file_ctrl (by_file.c:111)
==538== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==538== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==538== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==538== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==538== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==538== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==538== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==538== by 0x1D3A68: ftp_connect (ftp.c:3083)
==538==
==538== Invalid free() / delete / delete[] / realloc()
==538== at 0x48369AB: free (vg_replace_malloc.c:540)
==538== by 0x5331AB9: free_key_mem (dlerror.c:223)
==538== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==538== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==538== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==538== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==538== by 0x4D60EB9: exit (exit.c:139)
==538== by 0x4D4B0A1: (below main) (libc-start.c:342)
==538== Address 0x5755d08 is 8 bytes inside a block of size 32 alloc'd
==538== at 0x483577F: malloc (vg_replace_malloc.c:309)
==538== by 0x25C282: OPENSSL_malloc (mem.c:106)
==538== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==538== by 0x24B104: err_get_state (err.c:210)
==538== by 0x24BCDA: ERR_put_error (err.c:636)
==538== by 0x23B5AB: BIO_new_file (file.c:99)
==538== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==538== by 0x270326: by_file_ctrl (by_file.c:111)
==538== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==538== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==538== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==538== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==538== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==538== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==538== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==538== by 0x1D3A68: ftp_connect (ftp.c:3083)
==538==
==538== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==538== at 0x483577F: malloc (vg_replace_malloc.c:309)
==538== by 0x25C282: OPENSSL_malloc (mem.c:106)
==538== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==538== by 0x24B104: err_get_state (err.c:210)
==538== by 0x24BCDA: ERR_put_error (err.c:636)
==538== by 0x23B5AB: BIO_new_file (file.c:99)
==538== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==538== by 0x270326: by_file_ctrl (by_file.c:111)
==538== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==538== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==538== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==538== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==538== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==538== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==538== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==538== by 0x1D3A68: ftp_connect (ftp.c:3083)
==538==
== Contents of files in the log/ dir after test 404
=== Start of file stderr404
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (77) error setting certificate verify locations:
CAfile: moooo
CApath: none
=== End of file stderr404
=== Start of file trace404
03:01:07.789534 == Info: STATE: INIT => CONNECT handle 0x56c5768; line 1362 (connection #-5000)
03:01:07.846891 == Info: Added connection 0. The cache now contains 1 members
03:01:07.865023 == Info: Trying 127.0.0.1:8993...
03:01:07.865676 == Info: TCP_NODELAY set
03:01:07.870978 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5768; line 1418 (connection #0)
03:01:07.882721 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:07.883291 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5768; line 1538 (connection #0)
03:01:07.884493 == Info: Marked for [keep alive]: FTP default
03:01:07.943548 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
03:01:07.944418 == Info: multi_done
03:01:07.946667 == Info: Marked for [closure]: FTP ended with bad error code
03:01:07.955017 == Info: Closing connection 0
03:01:07.974971 == Info: The cache now contains 0 members
03:01:07.982871 == Info: Expire cleared (transfer 0x56c5768)
=== End of file trace404
=== Start of file valgrind404
==538== Invalid read of size 8
==538== at 0x53315A5: check_free (dlerror.c:188)
==538== by 0x5331AB1: free_key_mem (dlerror.c:221)
==538== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==538== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==538== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==538== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==538== by 0x4D60EB9: exit (exit.c:139)
==538== by 0x4D4B0A1: (below main) (libc-start.c:342)
==538== Address 0x5755d20 is 0 bytes after a block of size 32 alloc'd
==538== at 0x483577F: malloc (vg_replace_malloc.c:309)
==538== by 0x25C282: OPENSSL_malloc (mem.c:106)
==538== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==538== by 0x24B104: err_get_state (err.c:210)
==538== by 0x24BCDA: ERR_put_error (err.c:636)
==538== by 0x23B5AB: BIO_new_file (file.c:99)
==538== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==538== by 0x270326: by_file_ctrl (by_file.c:111)
==538== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==538== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==538== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==538== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==538== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==538== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==538== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==538== by 0x1D3A68: ftp_connect (ftp.c:3083)
==538==
==538== Invalid free() / delete / delete[] / realloc()
==538== at 0x48369AB: free (vg_replace_malloc.c:540)
==538== by 0x5331AB9: free_key_mem (dlerror.c:223)
==538== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==538== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==538== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==538== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==538== by 0x4D60EB9: exit (exit.c:139)
==538== by 0x4D4B0A1: (below main) (libc-start.c:342)
==538== Address 0x5755d08 is 8 bytes inside a block of size 32 alloc'd
==538== at 0x483577F: malloc (vg_replace_malloc.c:309)
==538== by 0x25C282: OPENSSL_malloc (mem.c:106)
==538== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==538== by 0x24B104: err_get_state (err.c:210)
==538== by 0x24BCDA: ERR_put_error (err.c:636)
==538== by 0x23B5AB: BIO_new_file (file.c:99)
==538== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==538== by 0x270326: by_file_ctrl (by_file.c:111)
==538== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==538== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==538== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==538== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==538== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==538== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==538== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==538== by 0x1D3A68: ftp_connect (ftp.c:3083)
==538==
==538== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==538== at 0x483577F: malloc (vg_replace_malloc.c:309)
==538== by 0x25C282: OPENSSL_malloc (mem.c:106)
==538== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==538== by 0x24B104: err_get_state (err.c:210)
==538== by 0x24BCDA: ERR_put_error (err.c:636)
==538== by 0x23B5AB: BIO_new_file (file.c:99)
==538== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==538== by 0x270326: by_file_ctrl (by_file.c:111)
==538== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==538== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==538== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==538== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==538== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==538== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==538== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==538== by 0x1D3A68: ftp_connect (ftp.c:3083)
==538==
=== End of file valgrind404
test 0405...[FTPS operation to FTP port]
goto problem 26
valgrind ERROR ==542== Invalid read of size 8
==542== at 0x53315A5: check_free (dlerror.c:188)
==542== by 0x5331AB1: free_key_mem (dlerror.c:221)
==542== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==542== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==542== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==542== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==542== by 0x4D60EB9: exit (exit.c:139)
==542== by 0x4D4B0A1: (below main) (libc-start.c:342)
==542== Address 0x5af5050 is 0 bytes after a block of size 32 alloc'd
==542== at 0x483577F: malloc (vg_replace_malloc.c:309)
==542== by 0x25C282: OPENSSL_malloc (mem.c:106)
==542== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==542== by 0x24B104: err_get_state (err.c:210)
==542== by 0x24BCDA: ERR_put_error (err.c:636)
==542== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==542== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==542== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==542== by 0x270326: by_file_ctrl (by_file.c:111)
==542== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==542== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==542== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==542== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==542== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==542== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==542== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==542==
==542== Invalid free() / delete / delete[] / realloc()
==542== at 0x48369AB: free (vg_replace_malloc.c:540)
==542== by 0x5331AB9: free_key_mem (dlerror.c:223)
==542== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==542== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==542== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==542== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==542== by 0x4D60EB9: exit (exit.c:139)
==542== by 0x4D4B0A1: (below main) (libc-start.c:342)
==542== Address 0x5af5038 is 8 bytes inside a block of size 32 alloc'd
==542== at 0x483577F: malloc (vg_replace_malloc.c:309)
==542== by 0x25C282: OPENSSL_malloc (mem.c:106)
==542== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==542== by 0x24B104: err_get_state (err.c:210)
==542== by 0x24BCDA: ERR_put_error (err.c:636)
==542== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==542== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==542== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==542== by 0x270326: by_file_ctrl (by_file.c:111)
==542== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==542== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==542== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==542== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==542== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==542== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==542== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==542==
==542== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==542== at 0x483577F: malloc (vg_replace_malloc.c:309)
==542== by 0x25C282: OPENSSL_malloc (mem.c:106)
==542== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==542== by 0x24B104: err_get_state (err.c:210)
==542== by 0x24BCDA: ERR_put_error (err.c:636)
==542== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==542== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==542== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==542== by 0x270326: by_file_ctrl (by_file.c:111)
==542== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==542== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==542== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==542== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==542== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==542== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==542== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==542==
== Contents of files in the log/ dir after test 405
=== Start of file ftp_server.log
03:01:08.994043 ====> Client connect
03:01:08.994151 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:10.780818 MAIN sockfilt said DISC
03:01:10.780870 ====> Client disconnected
03:01:10.780911 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:09.094765 ====> Client connect
03:01:09.094951 Received DATA (on stdin)
03:01:09.094966 > 160 bytes data, server => client
03:01:09.094980 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:09.094994 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:09.095005 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:10.768659 < 131 bytes data, client => server
03:01:10.768696 '....~...z..!..2...{]..i.T........U..%.....*....+./.,.0..... .'
03:01:10.768712 '..\n......./.5.\n...3..........\n...........[0B].....\r.........'
03:01:10.768721 '.............'
03:01:10.789066 < 7 bytes data, client => server
03:01:10.789101 '......F'
03:01:10.881561 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file server.input
[16][03][01]
[C0][14]
[01]


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

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (35) error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
=== End of file stderr405
=== Start of file trace405
03:01:08.011384 == Info: STATE: INIT => CONNECT handle 0x56c52f8; line 1362 (connection #-5000)
03:01:08.073311 == Info: Added connection 0. The cache now contains 1 members
03:01:08.091571 == Info: Trying 127.0.0.1:8992...
03:01:08.092217 == Info: TCP_NODELAY set
03:01:08.096649 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52f8; line 1418 (connection #0)
03:01:08.108415 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8992 (#0)
03:01:08.108984 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52f8; line 1538 (connection #0)
03:01:08.110067 == Info: Marked for [keep alive]: FTP default
03:01:09.634113 == Info: successfully set certificate verify locations:
03:01:09.634461 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:09.757806 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:09.763123 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:09.763189 => Send SSL data, 126 bytes (0x7e)
0000: ...z..!..2...{]..i.T........U..%.....*....+./.,.0...............
0040: ../.5.....3...................................................
03:01:09.787351 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:09.790814 == Info: TLSv1.2 (OUT), TLS alert, protocol version (582):
03:01:09.790885 => Send SSL data, 2 bytes (0x2)
0000: .F
03:01:09.800032 == Info: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
03:01:09.800898 == Info: multi_done
03:01:09.803243 == Info: Marked for [closure]: FTP ended with bad error code
03:01:09.812341 == Info: Closing connection 0
03:01:09.884599 == Info: The cache now contains 0 members
03:01:09.893263 == Info: Expire cleared (transfer 0x56c52f8)
=== End of file trace405
=== Start of file valgrind405
==542== Invalid read of size 8
==542== at 0x53315A5: check_free (dlerror.c:188)
==542== by 0x5331AB1: free_key_mem (dlerror.c:221)
==542== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==542== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==542== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==542== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==542== by 0x4D60EB9: exit (exit.c:139)
==542== by 0x4D4B0A1: (below main) (libc-start.c:342)
==542== Address 0x5af5050 is 0 bytes after a block of size 32 alloc'd
==542== at 0x483577F: malloc (vg_replace_malloc.c:309)
==542== by 0x25C282: OPENSSL_malloc (mem.c:106)
==542== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==542== by 0x24B104: err_get_state (err.c:210)
==542== by 0x24BCDA: ERR_put_error (err.c:636)
==542== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==542== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==542== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==542== by 0x270326: by_file_ctrl (by_file.c:111)
==542== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==542== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==542== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==542== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==542== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==542== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==542== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==542==
==542== Invalid free() / delete / delete[] / realloc()
==542== at 0x48369AB: free (vg_replace_malloc.c:540)
==542== by 0x5331AB9: free_key_mem (dlerror.c:223)
==542== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==542== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==542== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==542== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==542== by 0x4D60EB9: exit (exit.c:139)
==542== by 0x4D4B0A1: (below main) (libc-start.c:342)
==542== Address 0x5af5038 is 8 bytes inside a block of size 32 alloc'd
==542== at 0x483577F: malloc (vg_replace_malloc.c:309)
==542== by 0x25C282: OPENSSL_malloc (mem.c:106)
==542== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==542== by 0x24B104: err_get_state (err.c:210)
==542== by 0x24BCDA: ERR_put_error (err.c:636)
==542== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==542== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==542== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==542== by 0x270326: by_file_ctrl (by_file.c:111)
==542== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==542== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==542== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==542== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==542== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==542== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==542== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==542==
==542== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==542== at 0x483577F: malloc (vg_replace_malloc.c:309)
==542== by 0x25C282: OPENSSL_malloc (mem.c:106)
==542== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==542== by 0x24B104: err_get_state (err.c:210)
==542== by 0x24BCDA: ERR_put_error (err.c:636)
==542== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==542== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==542== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==542== by 0x270326: by_file_ctrl (by_file.c:111)
==542== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==542== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==542== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==542== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==542== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==542== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==542== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==542==
=== End of file valgrind405
test 0406...[FTPS dir list, PORT with specified IP]
goto problem 27
valgrind ERROR ==545== Invalid read of size 8
==545== at 0x53315A5: check_free (dlerror.c:188)
==545== by 0x5331AB1: free_key_mem (dlerror.c:221)
==545== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==545== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==545== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==545== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==545== by 0x4D60EB9: exit (exit.c:139)
==545== by 0x4D4B0A1: (below main) (libc-start.c:342)
==545== Address 0x5af5910 is 0 bytes after a block of size 32 alloc'd
==545== at 0x483577F: malloc (vg_replace_malloc.c:309)
==545== by 0x25C282: OPENSSL_malloc (mem.c:106)
==545== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==545== by 0x24B104: err_get_state (err.c:210)
==545== by 0x24BCDA: ERR_put_error (err.c:636)
==545== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==545== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==545== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==545== by 0x270326: by_file_ctrl (by_file.c:111)
==545== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==545== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==545== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==545== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==545== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==545== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==545== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==545==
==545== Invalid free() / delete / delete[] / realloc()
==545== at 0x48369AB: free (vg_replace_malloc.c:540)
==545== by 0x5331AB9: free_key_mem (dlerror.c:223)
==545== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==545== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==545== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==545== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==545== by 0x4D60EB9: exit (exit.c:139)
==545== by 0x4D4B0A1: (below main) (libc-start.c:342)
==545== Address 0x5af58f8 is 8 bytes inside a block of size 32 alloc'd
==545== at 0x483577F: malloc (vg_replace_malloc.c:309)
==545== by 0x25C282: OPENSSL_malloc (mem.c:106)
==545== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==545== by 0x24B104: err_get_state (err.c:210)
==545== by 0x24BCDA: ERR_put_error (err.c:636)
==545== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==545== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==545== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==545== by 0x270326: by_file_ctrl (by_file.c:111)
==545== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==545== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==545== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==545== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==545== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==545== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==545== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==545==
==545== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==545== at 0x483577F: malloc (vg_replace_malloc.c:309)
==545== by 0x25C282: OPENSSL_malloc (mem.c:106)
==545== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==545== by 0x24B104: err_get_state (err.c:210)
==545== by 0x24BCDA: ERR_put_error (err.c:636)
==545== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==545== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==545== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==545== by 0x270326: by_file_ctrl (by_file.c:111)
==545== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==545== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==545== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==545== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==545== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==545== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==545== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==545==
== Contents of files in the log/ dir after test 406
=== Start of file curl406.out
total 20
drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
-r--r--r-- 1 0 1 35 Jul 16 1996 README
lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
=== End of file curl406.out
=== Start of file ftp_server.log
03:01:13.941684 ====> Client connect
03:01:13.941798 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:14.031516 < "USER anonymous"
03:01:14.031565 > "331 We are happy you popped in![CR][LF]"
03:01:14.042817 < "PASS ftp@example.com"
03:01:14.042853 > "230 Welcome you silly person[CR][LF]"
03:01:14.045342 < "PBSZ 0"
03:01:14.045377 > "500 PBSZ not implemented[CR][LF]"
03:01:14.046726 < "PROT C"
03:01:14.046753 > "500 PROT not implemented[CR][LF]"
03:01:14.048201 < "PWD"
03:01:14.048231 > "257 "/" is current directory[CR][LF]"
03:01:14.069225 < "EPRT |1|127.0.0.1|44145|"
03:01:14.069266 ====> Active DATA channel requested by client
03:01:14.069302 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:01:14.069320 DATA sockfilt for active data channel starting...
03:01:14.070988 DATA sockfilt for active data channel started (pid 547)
03:01:14.071016 ====> Active DATA channel connected to client port 44145
03:01:14.074387 < "TYPE A"
03:01:14.074432 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:14.076888 < "LIST"
03:01:14.076940 > "150 here comes a directory[CR][LF]"
03:01:14.076980 pass LIST data on data connection
03:01:14.077100 =====> Closing active DATA connection...
03:01:14.077125 Server disconnects active DATA connection
03:01:14.077813 DATA sockfilt for active data channel quits (pid 548)
03:01:14.077840 =====> Closed active DATA connection
03:01:14.077878 > "226 ASCII transfer complete[CR][LF]"
03:01:14.152347 < "QUIT"
03:01:14.152392 > "221 bye bye baby[CR][LF]"
03:01:14.156698 MAIN sockfilt said DISC
03:01:14.156747 ====> Client disconnected
03:01:14.156812 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:14.042410 ====> Client connect
03:01:14.042600 Received DATA (on stdin)
03:01:14.042622 > 160 bytes data, server => client
03:01:14.042642 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:14.042661 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:14.042680 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:14.132190 < 16 bytes data, client => server
03:01:14.132230 'USER anonymous\r\n'
03:01:14.132386 Received DATA (on stdin)
03:01:14.132401 > 33 bytes data, server => client
03:01:14.132416 '331 We are happy you popped in!\r\n'
03:01:14.143569 < 22 bytes data, client => server
03:01:14.143594 'PASS ftp@example.com\r\n'
03:01:14.143659 Received DATA (on stdin)
03:01:14.143671 > 30 bytes data, server => client
03:01:14.143681 '230 Welcome you silly person\r\n'
03:01:14.146090 < 8 bytes data, client => server
03:01:14.146111 'PBSZ 0\r\n'
03:01:14.146182 Received DATA (on stdin)
03:01:14.146192 > 26 bytes data, server => client
03:01:14.146203 '500 PBSZ not implemented\r\n'
03:01:14.147492 < 8 bytes data, client => server
03:01:14.147505 'PROT C\r\n'
03:01:14.147560 Received DATA (on stdin)
03:01:14.147570 > 26 bytes data, server => client
03:01:14.147580 '500 PROT not implemented\r\n'
03:01:14.148970 < 5 bytes data, client => server
03:01:14.148986 'PWD\r\n'
03:01:14.149039 Received DATA (on stdin)
03:01:14.149049 > 30 bytes data, server => client
03:01:14.149059 '257 "/" is current directory\r\n'
03:01:14.169944 < 26 bytes data, client => server
03:01:14.169977 'EPRT |1|127.0.0.1|44145|\r\n'
03:01:14.170108 Received DATA (on stdin)
03:01:14.170121 > 50 bytes data, server => client
03:01:14.170133 '200 Thanks for dropping by. We contact you later\r\n'
03:01:14.175115 < 8 bytes data, client => server
03:01:14.175144 'TYPE A\r\n'
03:01:14.175234 Received DATA (on stdin)
03:01:14.175259 > 33 bytes data, server => client
03:01:14.175278 '200 I modify TYPE as you wanted\r\n'
03:01:14.177608 < 6 bytes data, client => server
03:01:14.177635 'LIST\r\n'
03:01:14.177744 Received DATA (on stdin)
03:01:14.177763 > 28 bytes data, server => client
03:01:14.177775 '150 here comes a directory\r\n'
03:01:14.178716 Received DATA (on stdin)
03:01:14.178735 > 29 bytes data, server => client
03:01:14.178751 '226 ASCII transfer complete\r\n'
03:01:14.253050 < 6 bytes data, client => server
03:01:14.253090 'QUIT\r\n'
03:01:14.253199 Received DATA (on stdin)
03:01:14.253214 > 18 bytes data, server => client
03:01:14.253228 '221 bye bye baby\r\n'
03:01:14.257454 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:14.171631 ====> Client connect
03:01:14.171708 Running IPv4 version
03:01:14.171718 Connected to port 44145
03:01:14.171743 Wrote pid 548 to ./.ftp_sockdata.pid
03:01:14.171758 Received PING (on stdin)
03:01:14.177831 Received DATA (on stdin)
03:01:14.177856 > 10 bytes data, server => client
03:01:14.177872 'total 20\r\n'
03:01:14.177907 Received DATA (on stdin)
03:01:14.177924 > 57 bytes data, server => client
03:01:14.177945 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:01:14.177973 Received DATA (on stdin)
03:01:14.177988 > 58 bytes data, server => client
03:01:14.178007 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:01:14.178033 Received DATA (on stdin)
03:01:14.178048 > 61 bytes data, server => client
03:01:14.178068 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:01:14.178082 '\n'
03:01:14.178106 Received DATA (on stdin)
03:01:14.178122 > 62 bytes data, server => client
03:01:14.178142 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:01:14.178153 '\n'
03:01:14.178177 Received DATA (on stdin)
03:01:14.178192 > 70 bytes data, server => client
03:01:14.178212 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:01:14.178225 'usr/bin\r\n'
03:01:14.178247 Received DATA (on stdin)
03:01:14.178261 > 59 bytes data, server => client
03:01:14.178280 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:01:14.178303 Received DATA (on stdin)
03:01:14.178318 > 69 bytes data, server => client
03:01:14.178337 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:01:14.178351 'd.html\r\n'
03:01:14.178376 Received DATA (on stdin)
03:01:14.178393 > 59 bytes data, server => client
03:01:14.178412 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:01:14.178435 Received DATA (on stdin)
03:01:14.178450 > 59 bytes data, server => client
03:01:14.178470 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:01:14.178493 Received DATA (on stdin)
03:01:14.178508 > 59 bytes data, server => client
03:01:14.178528 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:01:14.178552 Received DISC (on stdin)
03:01:14.178569 ====> Client forcibly disconnected
03:01:14.178595 disconnected, no socket to read on
03:01:14.178612 Received QUIT (on stdin)
03:01:14.178624 quits
03:01:14.178640 ============> 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|44145|
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 272 0 --:--:-- 0:00:02 --:--:-- 282
=== End of file stderr406
=== Start of file trace406
03:01:11.934865 == Info: STATE: INIT => CONNECT handle 0x56c5768; line 1362 (connection #-5000)
03:01:11.990908 == Info: Added connection 0. The cache now contains 1 members
03:01:12.009783 == Info: Trying 127.0.0.1:8993...
03:01:12.010410 == Info: TCP_NODELAY set
03:01:12.015609 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5768; line 1418 (connection #0)
03:01:12.027379 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:12.027961 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5768; line 1538 (connection #0)
03:01:12.029025 == Info: Marked for [keep alive]: FTP default
03:01:13.517953 == Info: successfully set certificate verify locations:
03:01:13.518218 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:13.632600 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:13.637655 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:13.637717 => Send SSL data, 126 bytes (0x7e)
0000: ...z....O....X_.H..s.......Dw@.*.(s.......+./.,.0...............
0040: ../.5.....3...................................................
03:01:13.654763 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:13.660458 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:13.660521 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..BY...h..a........\W..~".R ...l#. ..e.g..Fg.....$....._.Kv.
0040: ..R;..F./................
03:01:13.704984 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:13.705453 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:13.705511 <= 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:13.805076 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:13.805354 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:13.805413 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.....H.$Y$aq..+.$HR......+HM.....W...o.x....x.G..4.3..s_
0040: ..o.z..0......#.......C.mo.......=....A\.....4...Qk....:.....Y'.
0080: .8..s..2..D........P.7....9O.....u.....C.K..~..5....B.}7...Q.yY.
00c0: [d.6.-j.!...IBa...;v.........].S..8..n..[7F]a............]).5^Xm.:4
0100: ....B.rj......M.[-.3...M.Fp.JsCM.\..0.e.#h ]..3...3.&E3......1.J
0140: .{.....<.g..D
03:01:13.875909 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:13.876257 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:13.876317 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:13.993278 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:13.993527 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:13.993589 => Send SSL data, 70 bytes (0x46)
0000: ...BA...##..P.K\.........z1.......47."pR..39.I...O..cE...a......
0040: ....F}
03:01:14.006743 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:14.007359 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:14.007420 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:14.029065 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:14.029137 => Send SSL data, 16 bytes (0x10)
0000: ....$#./...ev3.b
03:01:14.041592 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:14.044131 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:14.045223 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:14.045281 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:14.047787 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:14.053817 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:14.053877 <= Recv SSL data, 16 bytes (0x10)
0000: .......%....e.D.
03:01:14.083111 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:14.085566 == Info: Server certificate:
03:01:14.093421 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:14.099870 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:14.100817 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:14.101744 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:14.102631 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:14.104124 == Info: FTP 0x57419f0 (line 3092) state change from STOP to WAIT220
03:01:14.110381 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:14.118465 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:14.121997 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:14.122195 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:14.122379 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:14.122560 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:14.130485 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:14.133505 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:14.134307 == Info: FTP 0x57419f0 (line 792) state change from WAIT220 to USER
03:01:14.135091 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c5768; line 1553 (connection #0)
03:01:14.141420 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:14.142104 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:14.143399 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:14.143527 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:14.143919 == Info: FTP 0x57419f0 (line 2520) state change from USER to PASS
03:01:14.145062 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:14.145213 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:14.145952 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:14.146071 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:14.146397 == Info: FTP 0x57419f0 (line 2496) state change from PASS to PBSZ
03:01:14.146688 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:14.146827 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:14.147364 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:14.147479 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:14.147811 == Info: FTP 0x57419f0 (line 2709) state change from PBSZ to PROT
03:01:14.148052 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:14.148189 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:14.148846 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:14.148961 => Send header, 5 bytes (0x5)
0000: PWD
03:01:14.149277 == Info: FTP 0x57419f0 (line 804) state change from PROT to PWD
03:01:14.149598 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:14.149735 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:14.150947 == Info: Entry path is '/'
03:01:14.151170 == Info: FTP 0x57419f0 (line 2844) state change from PWD to STOP
03:01:14.151336 == Info: protocol connect phase DONE
03:01:14.151581 == Info: STATE: PROTOCONNECT => DO handle 0x56c5768; line 1572 (connection #0)
03:01:14.153479 == Info: DO phase starts
03:01:14.169764 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:01:14.169911 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|44145|
03:01:14.170488 == Info: FTP 0x57419f0 (line 1293) state change from STOP to PORT
03:01:14.171215 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:01:14.171609 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:01:14.172157 == Info: Connect data stream actively
03:01:14.172367 == Info: FTP 0x57419f0 (line 2011) state change from PORT to STOP
03:01:14.172919 == Info: ftp_perform ends with SECONDARY: 1
03:01:14.173137 == Info: DO phase is complete1
03:01:14.174943 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:14.175068 => Send header, 8 bytes (0x8)
0000: TYPE A
03:01:14.175455 == Info: FTP 0x57419f0 (line 3418) state change from STOP to LIST_TYPE
03:01:14.175925 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:14.176104 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:14.177449 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:14.177580 => Send header, 6 bytes (0x6)
0000: LIST
03:01:14.178340 == Info: FTP 0x57419f0 (line 1486) state change from LIST_TYPE to LIST
03:01:14.179632 == Info: STATE: DO => DO_MORE handle 0x56c5768; line 1622 (connection #0)
03:01:14.181004 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:14.181190 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:01:14.181836 == Info: Maxdownload = -1
03:01:14.182153 == Info: Preparing for accepting server on data port
03:01:14.183304 == Info: Checking for server connect
03:01:14.184238 == Info: Ready to accept data connection from server
03:01:14.186035 == Info: Connection accepted from server
03:01:14.187518 == Info: FTP 0x57419f0 (line 477) state change from LIST to STOP
03:01:14.188517 == Info: STATE: DO_MORE => DO_DONE handle 0x56c5768; line 1724 (connection #0)
03:01:14.188913 == Info: STATE: DO_DONE => PERFORM handle 0x56c5768; line 1749 (connection #0)
03:01:14.192522 <= Recv data, 623 bytes (0x26f)
0000: total 20
000a: drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
0043: drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
007d: drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
00ba: -r--r--r-- 1 0 1 35 Jul 16 1996 README
00f8: lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr
0138: /bin
013e: dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
0179: drwxrwxrwx 2 98 98 512 May 29 16:04 download.h
01b9: tml
01be: dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
01f9: drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
0234: dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
03:01:14.201243 == Info: nread <= 0, server closed connection, bailing
03:01:14.202404 == Info: STATE: PERFORM => DONE handle 0x56c5768; line 1939 (connection #0)
03:01:14.202728 == Info: multi_done
03:01:14.206023 == Info: Remembering we are in dir ""
03:01:14.220217 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:14.220382 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:01:14.225979 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace406
=== Start of file valgrind406
==545== Invalid read of size 8
==545== at 0x53315A5: check_free (dlerror.c:188)
==545== by 0x5331AB1: free_key_mem (dlerror.c:221)
==545== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==545== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==545== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==545== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==545== by 0x4D60EB9: exit (exit.c:139)
==545== by 0x4D4B0A1: (below main) (libc-start.c:342)
==545== Address 0x5af5910 is 0 bytes after a block of size 32 alloc'd
==545== at 0x483577F: malloc (vg_replace_malloc.c:309)
==545== by 0x25C282: OPENSSL_malloc (mem.c:106)
==545== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==545== by 0x24B104: err_get_state (err.c:210)
==545== by 0x24BCDA: ERR_put_error (err.c:636)
==545== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==545== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==545== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==545== by 0x270326: by_file_ctrl (by_file.c:111)
==545== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==545== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==545== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==545== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==545== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==545== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==545== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==545==
==545== Invalid free() / delete / delete[] / realloc()
==545== at 0x48369AB: free (vg_replace_malloc.c:540)
==545== by 0x5331AB9: free_key_mem (dlerror.c:223)
==545== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==545== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==545== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==545== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==545== by 0x4D60EB9: exit (exit.c:139)
==545== by 0x4D4B0A1: (below main) (libc-start.c:342)
==545== Address 0x5af58f8 is 8 bytes inside a block of size 32 alloc'd
==545== at 0x483577F: malloc (vg_replace_malloc.c:309)
==545== by 0x25C282: OPENSSL_malloc (mem.c:106)
==545== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==545== by 0x24B104: err_get_state (err.c:210)
==545== by 0x24BCDA: ERR_put_error (err.c:636)
==545== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==545== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==545== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==545== by 0x270326: by_file_ctrl (by_file.c:111)
==545== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==545== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==545== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==545== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==545== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==545== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==545== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==545==
==545== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==545== at 0x483577F: malloc (vg_replace_malloc.c:309)
==545== by 0x25C282: OPENSSL_malloc (mem.c:106)
==545== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==545== by 0x24B104: err_get_state (err.c:210)
==545== by 0x24BCDA: ERR_put_error (err.c:636)
==545== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==545== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==545== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==545== by 0x270326: by_file_ctrl (by_file.c:111)
==545== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==545== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==545== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==545== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==545== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==545== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==545== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==545==
=== End of file valgrind406
test 0407...[Get two FTPS files from the same remote dir: no second CWD]
goto problem 28
valgrind ERROR ==553== Invalid read of size 8
==553== at 0x53315A5: check_free (dlerror.c:188)
==553== by 0x5331AB1: free_key_mem (dlerror.c:221)
==553== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==553== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==553== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==553== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==553== by 0x4D60EB9: exit (exit.c:139)
==553== by 0x4D4B0A1: (below main) (libc-start.c:342)
==553== Address 0x5b4ec40 is 0 bytes after a block of size 32 alloc'd
==553== at 0x483577F: malloc (vg_replace_malloc.c:309)
==553== by 0x25C282: OPENSSL_malloc (mem.c:106)
==553== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==553== by 0x24B104: err_get_state (err.c:210)
==553== by 0x24BCDA: ERR_put_error (err.c:636)
==553== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==553== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==553== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==553== by 0x270326: by_file_ctrl (by_file.c:111)
==553== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==553== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==553== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==553== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==553== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==553== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==553== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==553==
==553== Invalid free() / delete / delete[] / realloc()
==553== at 0x48369AB: free (vg_replace_malloc.c:540)
==553== by 0x5331AB9: free_key_mem (dlerror.c:223)
==553== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==553== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==553== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==553== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==553== by 0x4D60EB9: exit (exit.c:139)
==553== by 0x4D4B0A1: (below main) (libc-start.c:342)
==553== Address 0x5b4ec28 is 8 bytes inside a block of size 32 alloc'd
==553== at 0x483577F: malloc (vg_replace_malloc.c:309)
==553== by 0x25C282: OPENSSL_malloc (mem.c:106)
==553== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==553== by 0x24B104: err_get_state (err.c:210)
==553== by 0x24BCDA: ERR_put_error (err.c:636)
==553== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==553== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==553== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==553== by 0x270326: by_file_ctrl (by_file.c:111)
==553== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==553== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==553== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==553== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==553== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==553== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==553== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==553==
==553== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==553== at 0x483577F: malloc (vg_replace_malloc.c:309)
==553== by 0x25C282: OPENSSL_malloc (mem.c:106)
==553== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==553== by 0x24B104: err_get_state (err.c:210)
==553== by 0x24BCDA: ERR_put_error (err.c:636)
==553== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==553== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==553== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==553== by 0x270326: by_file_ctrl (by_file.c:111)
==553== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==553== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==553== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==553== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==553== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==553== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==553== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==553==
== 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:17.381917 ====> Client connect
03:01:17.382045 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:17.471481 < "USER anonymous"
03:01:17.471530 > "331 We are happy you popped in![CR][LF]"
03:01:17.482754 < "PASS ftp@example.com"
03:01:17.482796 > "230 Welcome you silly person[CR][LF]"
03:01:17.485146 < "PBSZ 0"
03:01:17.485179 > "500 PBSZ not implemented[CR][LF]"
03:01:17.486534 < "PROT C"
03:01:17.486561 > "500 PROT not implemented[CR][LF]"
03:01:17.488113 < "PWD"
03:01:17.488147 > "257 "/" is current directory[CR][LF]"
03:01:17.495064 < "CWD a"
03:01:17.495096 > "250 CWD command successful.[CR][LF]"
03:01:17.496844 < "CWD path"
03:01:17.496870 > "250 CWD command successful.[CR][LF]"
03:01:17.500445 < "EPSV"
03:01:17.500474 ====> Passive DATA channel requested by client
03:01:17.500487 DATA sockfilt for passive data channel starting...
03:01:17.502088 DATA sockfilt for passive data channel started (pid 555)
03:01:17.502178 DATA sockfilt for passive data channel listens on port 43139
03:01:17.502217 > "229 Entering Passive Mode (|||43139|)[LF]"
03:01:17.502232 Client has been notified that DATA conn will be accepted on port 43139
03:01:17.508676 Client connects to port 43139
03:01:17.508705 ====> Client established passive DATA connection on port 43139
03:01:17.513643 < "TYPE I"
03:01:17.513674 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:17.515777 < "SIZE 407"
03:01:17.515944 > "213 11[CR][LF]"
03:01:17.519782 < "RETR 407"
03:01:17.519902 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:01:17.519967 =====> Closing passive DATA connection...
03:01:17.519988 Server disconnects passive DATA connection
03:01:17.520086 DATA sockfilt for passive data channel quits (pid 556)
03:01:17.520117 =====> Closed passive DATA connection
03:01:17.520155 > "226 File transfer complete[CR][LF]"
03:01:17.615892 < "EPSV"
03:01:17.615949 ====> Passive DATA channel requested by client
03:01:17.615972 DATA sockfilt for passive data channel starting...
03:01:17.617755 DATA sockfilt for passive data channel started (pid 557)
03:01:17.617843 DATA sockfilt for passive data channel listens on port 34577
03:01:17.617881 > "229 Entering Passive Mode (|||34577|)[LF]"
03:01:17.617896 Client has been notified that DATA conn will be accepted on port 34577
03:01:17.619221 Client connects to port 34577
03:01:17.619259 ====> Client established passive DATA connection on port 34577
03:01:17.620572 < "SIZE 407"
03:01:17.620816 > "213 11[CR][LF]"
03:01:17.621667 < "RETR 407"
03:01:17.621826 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:01:17.621902 =====> Closing passive DATA connection...
03:01:17.621926 Server disconnects passive DATA connection
03:01:17.622007 DATA sockfilt for passive data channel quits (pid 558)
03:01:17.622032 =====> Closed passive DATA connection
03:01:17.622067 > "226 File transfer complete[CR][LF]"
03:01:17.674334 < "QUIT"
03:01:17.674393 > "221 bye bye baby[CR][LF]"
03:01:17.678868 MAIN sockfilt said DISC
03:01:17.678907 ====> Client disconnected
03:01:17.678975 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:17.482631 ====> Client connect
03:01:17.482846 Received DATA (on stdin)
03:01:17.482867 > 160 bytes data, server => client
03:01:17.482887 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:17.482904 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:17.482919 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:17.572146 < 16 bytes data, client => server
03:01:17.572189 'USER anonymous\r\n'
03:01:17.572337 Received DATA (on stdin)
03:01:17.572356 > 33 bytes data, server => client
03:01:17.572372 '331 We are happy you popped in!\r\n'
03:01:17.583482 < 22 bytes data, client => server
03:01:17.583508 'PASS ftp@example.com\r\n'
03:01:17.583601 Received DATA (on stdin)
03:01:17.583621 > 30 bytes data, server => client
03:01:17.583632 '230 Welcome you silly person\r\n'
03:01:17.585898 < 8 bytes data, client => server
03:01:17.585913 'PBSZ 0\r\n'
03:01:17.585984 Received DATA (on stdin)
03:01:17.585998 > 26 bytes data, server => client
03:01:17.586009 '500 PBSZ not implemented\r\n'
03:01:17.587303 < 8 bytes data, client => server
03:01:17.587314 'PROT C\r\n'
03:01:17.587368 Received DATA (on stdin)
03:01:17.587380 > 26 bytes data, server => client
03:01:17.587392 '500 PROT not implemented\r\n'
03:01:17.588871 < 5 bytes data, client => server
03:01:17.588888 'PWD\r\n'
03:01:17.588954 Received DATA (on stdin)
03:01:17.588965 > 30 bytes data, server => client
03:01:17.588976 '257 "/" is current directory\r\n'
03:01:17.595827 < 7 bytes data, client => server
03:01:17.595842 'CWD a\r\n'
03:01:17.595904 Received DATA (on stdin)
03:01:17.595915 > 29 bytes data, server => client
03:01:17.595926 '250 CWD command successful.\r\n'
03:01:17.597607 < 10 bytes data, client => server
03:01:17.597621 'CWD path\r\n'
03:01:17.597677 Received DATA (on stdin)
03:01:17.597688 > 29 bytes data, server => client
03:01:17.597699 '250 CWD command successful.\r\n'
03:01:17.601216 < 6 bytes data, client => server
03:01:17.601228 'EPSV\r\n'
03:01:17.603025 Received DATA (on stdin)
03:01:17.603047 > 38 bytes data, server => client
03:01:17.603066 '229 Entering Passive Mode (|||43139|)\n'
03:01:17.614392 < 8 bytes data, client => server
03:01:17.614414 'TYPE I\r\n'
03:01:17.614480 Received DATA (on stdin)
03:01:17.614491 > 33 bytes data, server => client
03:01:17.614502 '200 I modify TYPE as you wanted\r\n'
03:01:17.616541 < 10 bytes data, client => server
03:01:17.616555 'SIZE 407\r\n'
03:01:17.616761 Received DATA (on stdin)
03:01:17.616788 > 8 bytes data, server => client
03:01:17.616802 '213 11\r\n'
03:01:17.620539 < 10 bytes data, client => server
03:01:17.620561 'RETR 407\r\n'
03:01:17.620709 Received DATA (on stdin)
03:01:17.620722 > 51 bytes data, server => client
03:01:17.620733 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:01:17.620982 Received DATA (on stdin)
03:01:17.621006 > 28 bytes data, server => client
03:01:17.621024 '226 File transfer complete\r\n'
03:01:17.716561 < 6 bytes data, client => server
03:01:17.716600 'EPSV\r\n'
03:01:17.718685 Received DATA (on stdin)
03:01:17.718701 > 38 bytes data, server => client
03:01:17.718712 '229 Entering Passive Mode (|||34577|)\n'
03:01:17.721301 < 10 bytes data, client => server
03:01:17.721317 'SIZE 407\r\n'
03:01:17.721641 Received DATA (on stdin)
03:01:17.721665 > 8 bytes data, server => client
03:01:17.721679 '213 11\r\n'
03:01:17.722413 < 10 bytes data, client => server
03:01:17.722424 'RETR 407\r\n'
03:01:17.722629 Received DATA (on stdin)
03:01:17.722639 > 51 bytes data, server => client
03:01:17.722650 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:01:17.722874 Received DATA (on stdin)
03:01:17.722887 > 28 bytes data, server => client
03:01:17.722897 '226 File transfer complete\r\n'
03:01:17.775031 < 6 bytes data, client => server
03:01:17.775066 'QUIT\r\n'
03:01:17.775196 Received DATA (on stdin)
03:01:17.775211 > 18 bytes data, server => client
03:01:17.775222 '221 bye bye baby\r\n'
03:01:17.779642 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:17.602736 Running IPv4 version
03:01:17.602822 Listening on port 43139
03:01:17.602849 Wrote pid 556 to ./.ftp_sockdata.pid
03:01:17.602864 Received PING (on stdin)
03:01:17.602929 Received PORT (on stdin)
03:01:17.609456 ====> Client connect
03:01:17.620741 Received DATA (on stdin)
03:01:17.620763 > 11 bytes data, server => client
03:01:17.620780 'data blobb\n'
03:01:17.620826 Received DISC (on stdin)
03:01:17.620843 ====> Client forcibly disconnected
03:01:17.620869 Received QUIT (on stdin)
03:01:17.620879 quits
03:01:17.620894 ============> sockfilt quits
03:01:17.718422 Running IPv4 version
03:01:17.718482 Listening on port 34577
03:01:17.718523 Wrote pid 558 to ./.ftp_sockdata.pid
03:01:17.718539 Received PING (on stdin)
03:01:17.718598 Received PORT (on stdin)
03:01:17.720003 ====> Client connect
03:01:17.722673 Received DATA (on stdin)
03:01:17.722687 > 11 bytes data, server => client
03:01:17.722697 'data blobb\n'
03:01:17.722760 Received DISC (on stdin)
03:01:17.722772 ====> Client forcibly disconnected
03:01:17.722790 Received QUIT (on stdin)
03:01:17.722799 quits
03:01:17.722813 ============> 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 --:--:-- 4
% 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 171 0 --:--:-- --:--:-- --:--:-- 220
=== End of file stderr407
=== Start of file stdout407
data blobb
=== End of file stdout407
=== Start of file trace407
03:01:15.339357 == Info: STATE: INIT => CONNECT handle 0x56c5c78; line 1362 (connection #-5000)
03:01:15.395698 == Info: Added connection 0. The cache now contains 1 members
03:01:15.413599 == Info: Trying 127.0.0.1:8993...
03:01:15.414214 == Info: TCP_NODELAY set
03:01:15.419492 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5c78; line 1418 (connection #0)
03:01:15.431441 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:15.432015 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5c78; line 1538 (connection #0)
03:01:15.433114 == Info: Marked for [keep alive]: FTP default
03:01:16.955389 == Info: successfully set certificate verify locations:
03:01:16.955660 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:17.070871 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:17.076862 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:17.076929 => Send SSL data, 126 bytes (0x7e)
0000: ...z..g^9Uc..>..oa.cP....}|...P.f....y....+./.,.0...............
0040: ../.5.....3...................................................
03:01:17.094558 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:17.100226 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:17.100290 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..F>.....o`........K.......SRR...2 '_.......S..'7j...s....\.
0040: R.1G..../................
03:01:17.144656 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:17.145129 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:17.145186 <= 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:17.246630 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:17.246895 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:17.246954 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.....H.$Y$aq..+.$HR......+HM.....W...o.x....x.G..4.3..s_
0040: ..o.z..0.........:.%..........S.H.\........A...s....~...06..-.0O
0080: .(hDCv.<`~.......@......|0tA...M....;>.Nv-...=u.X.\.@...X0...`#.
00c0: .....z.#.....`.:.U...mT`.86.D.....[7F]|...5....w.....O..BR./_!..J.i
0100: Uw.o/..i..aG..L..0d=.Ej.sc..b.e[7F]:.6.......%...&vO..............Z
0140: W.r.m......o.
03:01:17.317458 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:17.317828 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:17.317886 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:17.434585 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:17.434833 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:17.434901 => Send SSL data, 70 bytes (0x46)
0000: ...BA..UI...l....c.....j-.....|F..Q.6.b..Y[7F].........wT.K.etGa|.q
0040: cR.e@.
03:01:17.447081 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:17.447667 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:17.447723 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:17.469274 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:17.469338 => Send SSL data, 16 bytes (0x10)
0000: .......d.....B&.
03:01:17.481779 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:17.484451 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:17.485546 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:17.485604 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:17.488080 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:17.493723 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:17.493776 <= Recv SSL data, 16 bytes (0x10)
0000: ....O../.s...a.<
03:01:17.523115 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:17.525415 == Info: Server certificate:
03:01:17.533075 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:17.539395 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:17.540383 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:17.541340 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:17.542234 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:17.543774 == Info: FTP 0x579ad20 (line 3092) state change from STOP to WAIT220
03:01:17.550100 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:17.558066 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:17.561713 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:17.561910 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:17.562095 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:17.562278 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:17.570436 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:17.573480 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:17.574293 == Info: FTP 0x579ad20 (line 792) state change from WAIT220 to USER
03:01:17.575076 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c5c78; line 1553 (connection #0)
03:01:17.581344 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:17.582013 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:17.583325 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:17.583456 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:17.583846 == Info: FTP 0x579ad20 (line 2520) state change from USER to PASS
03:01:17.584896 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:17.585040 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:17.585761 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:17.585879 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:17.586225 == Info: FTP 0x579ad20 (line 2496) state change from PASS to PBSZ
03:01:17.586513 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:17.586649 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:17.587180 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:17.587294 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:17.587626 == Info: FTP 0x579ad20 (line 2709) state change from PBSZ to PROT
03:01:17.587890 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:17.588043 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:17.588726 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:17.588855 => Send header, 5 bytes (0x5)
0000: PWD
03:01:17.589170 == Info: FTP 0x579ad20 (line 804) state change from PROT to PWD
03:01:17.589489 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:17.589625 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:17.590752 == Info: Entry path is '/'
03:01:17.590973 == Info: FTP 0x579ad20 (line 2844) state change from PWD to STOP
03:01:17.591136 == Info: protocol connect phase DONE
03:01:17.591379 == Info: STATE: PROTOCONNECT => DO handle 0x56c5c78; line 1572 (connection #0)
03:01:17.594606 == Info: DO phase starts
03:01:17.595690 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:17.595815 => Send header, 7 bytes (0x7)
0000: CWD a
03:01:17.596252 == Info: FTP 0x579ad20 (line 895) state change from STOP to CWD
03:01:17.596667 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:17.596815 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:17.597478 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:17.597594 => Send header, 10 bytes (0xa)
0000: CWD path
03:01:17.597920 == Info: ftp_perform ends with SECONDARY: 0
03:01:17.598635 == Info: STATE: DO => DOING handle 0x56c5c78; line 1614 (connection #0)
03:01:17.599528 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:17.599667 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:17.601089 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:17.601206 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:17.601545 == Info: FTP 0x579ad20 (line 1330) state change from CWD to PASV
03:01:17.601716 == Info: Connect data stream passively
03:01:17.603303 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:17.603458 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||43139|).
03:01:17.609294 == Info: Trying 127.0.0.1:43139...
03:01:17.609357 == Info: TCP_NODELAY set
03:01:17.610047 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 43139
03:01:17.611151 == Info: FTP 0x579ad20 (line 1977) state change from PASV to STOP
03:01:17.611695 == Info: DO phase is complete2
03:01:17.611971 == Info: STATE: DOING => DO_MORE handle 0x56c5c78; line 1699 (connection #0)
03:01:17.612694 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:17.612908 == Info: DO-MORE connected phase starts
03:01:17.614251 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:17.614374 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:17.614722 == Info: FTP 0x579ad20 (line 3418) state change from STOP to RETR_TYPE
03:01:17.615100 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:17.615241 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:17.616412 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:17.616529 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:01:17.616879 == Info: FTP 0x579ad20 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:01:17.618598 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:01:17.618771 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:01:17.620390 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:17.620508 => Send header, 10 bytes (0xa)
0000: RETR 407
03:01:17.620842 == Info: FTP 0x579ad20 (line 2229) state change from RETR_SIZE to RETR
03:01:17.621392 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:01:17.621737 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:01:17.622589 == Info: Maxdownload = -1
03:01:17.622794 == Info: Getting file with size: 11
03:01:17.624168 == Info: FTP 0x579ad20 (line 477) state change from RETR to STOP
03:01:17.624721 == Info: STATE: DO_MORE => DO_DONE handle 0x56c5c78; line 1724 (connection #0)
03:01:17.625113 == Info: STATE: DO_DONE => PERFORM handle 0x56c5c78; line 1749 (connection #0)
03:01:17.628588 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:01:17.633849 == Info: readwrite_data: we're done
03:01:17.634109 == Info: nread <= 0, server closed connection, bailing
03:01:17.635305 == Info: STATE: PERFORM => DONE handle 0x56c5c78; line 1939 (connection #0)
03:01:17.635793 == Info: multi_done
03:01:17.638659 == Info: Remembering we are in dir "a/path/"
03:01:17.664224 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:17.664404 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:17.670793 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:17.672718 == Info: Expire cleared (transfer 0x56c5c78)
03:01:17.700105 == Info: STATE: INIT => CONNECT handle 0x571fc98; line 1362 (connection #-5000)
03:01:17.704055 == Info: Found bundle for host 127.0.0.1: 0x57a8d98 [serially]
03:01:17.712699 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:01:17.713495 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:17.713702 == Info: STATE: CONNECT => DO handle 0x571fc98; line 1411 (connection #0)
03:01:17.715764 == Info: Request has same path as previous transfer
03:01:17.715957 == Info: DO phase starts
03:01:17.716375 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:17.716518 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:17.716703 == Info: FTP 0x579ad20 (line 1330) state change from STOP to PASV
03:01:17.716792 == Info: Connect data stream passively
03:01:17.717062 == Info: ftp_perform ends with SECONDARY: 0
03:01:17.717169 == Info: STATE: DO => DOING handle 0x571fc98; line 1614 (connection #0)
03:01:17.718922 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:17.719079 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||34577|).
03:01:17.719832 == Info: Trying 127.0.0.1:34577...
03:01:17.719891 == Info: TCP_NODELAY set
03:01:17.720026 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 34577
03:01:17.720201 == Info: FTP 0x579ad20 (line 1977) state change from PASV to STOP
03:01:17.720260 == Info: DO phase is complete2
03:01:17.720334 == Info: STATE: DOING => DO_MORE handle 0x571fc98; line 1699 (connection #0)
03:01:17.720427 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:17.720485 == Info: DO-MORE connected phase starts
03:01:17.720724 == Info: FTP 0x579ad20 (line 3413) state change from STOP to RETR_TYPE
03:01:17.721150 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:17.721270 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:01:17.721522 == Info: FTP 0x579ad20 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:01:17.721842 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:01:17.721978 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:01:17.722289 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:17.722401 => Send header, 10 bytes (0xa)
0000: RETR 407
03:01:17.722632 == Info: FTP 0x579ad20 (line 2229) state change from RETR_SIZE to RETR
03:01:17.722910 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:01:17.723048 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:01:17.723308 == Info: Maxdownload = -1
03:01:17.723365 == Info: Getting file with size: 11
03:01:17.723435 == Info: FTP 0x579ad20 (line 477) state change from RETR to STOP
03:01:17.723528 == Info: STATE: DO_MORE => DO_DONE handle 0x571fc98; line 1724 (connection #0)
03:01:17.723613 == Info: STATE: DO_DONE => PERFORM handle 0x571fc98; line 1749 (connection #0)
03:01:17.723723 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:01:17.724177 == Info: readwrite_data: we're done
03:01:17.724241 == Info: nread <= 0, server closed connection, bailing
03:01:17.724326 == Info: STATE: PERFORM => DONE handle 0x571fc98; line 1939 (connection #0)
03:01:17.724385 == Info: multi_done
03:01:17.724600 == Info: Remembering we are in dir "a/path/"
03:01:17.763969 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:17.764138 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:17.765029 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:17.765161 == Info: Expire cleared (transfer 0x571fc98)
=== End of file trace407
=== Start of file valgrind407
==553== Invalid read of size 8
==553== at 0x53315A5: check_free (dlerror.c:188)
==553== by 0x5331AB1: free_key_mem (dlerror.c:221)
==553== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==553== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==553== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==553== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==553== by 0x4D60EB9: exit (exit.c:139)
==553== by 0x4D4B0A1: (below main) (libc-start.c:342)
==553== Address 0x5b4ec40 is 0 bytes after a block of size 32 alloc'd
==553== at 0x483577F: malloc (vg_replace_malloc.c:309)
==553== by 0x25C282: OPENSSL_malloc (mem.c:106)
==553== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==553== by 0x24B104: err_get_state (err.c:210)
==553== by 0x24BCDA: ERR_put_error (err.c:636)
==553== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==553== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==553== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==553== by 0x270326: by_file_ctrl (by_file.c:111)
==553== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==553== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==553== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==553== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==553== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==553== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==553== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==553==
==553== Invalid free() / delete / delete[] / realloc()
==553== at 0x48369AB: free (vg_replace_malloc.c:540)
==553== by 0x5331AB9: free_key_mem (dlerror.c:223)
==553== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==553== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==553== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==553== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==553== by 0x4D60EB9: exit (exit.c:139)
==553== by 0x4D4B0A1: (below main) (libc-start.c:342)
==553== Address 0x5b4ec28 is 8 bytes inside a block of size 32 alloc'd
==553== at 0x483577F: malloc (vg_replace_malloc.c:309)
==553== by 0x25C282: OPENSSL_malloc (mem.c:106)
==553== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==553== by 0x24B104: err_get_state (err.c:210)
==553== by 0x24BCDA: ERR_put_error (err.c:636)
==553== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==553== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==553== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==553== by 0x270326: by_file_ctrl (by_file.c:111)
==553== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==553== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==553== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==553== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==553== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==553== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==553== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==553==
==553== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==553== at 0x483577F: malloc (vg_replace_malloc.c:309)
==553== by 0x25C282: OPENSSL_malloc (mem.c:106)
==553== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==553== by 0x24B104: err_get_state (err.c:210)
==553== by 0x24BCDA: ERR_put_error (err.c:636)
==553== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==553== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==553== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==553== by 0x270326: by_file_ctrl (by_file.c:111)
==553== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==553== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==553== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==553== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==553== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==553== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==553== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==553==
=== End of file valgrind407
test 0408...[FTPS PORT upload with CWD]
goto problem 29
valgrind ERROR ==561== Invalid read of size 8
==561== at 0x53315A5: check_free (dlerror.c:188)
==561== by 0x5331AB1: free_key_mem (dlerror.c:221)
==561== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==561== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==561== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==561== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==561== by 0x4D60EB9: exit (exit.c:139)
==561== by 0x4D4B0A1: (below main) (libc-start.c:342)
==561== Address 0x5b324c0 is 0 bytes after a block of size 32 alloc'd
==561== at 0x483577F: malloc (vg_replace_malloc.c:309)
==561== by 0x25C282: OPENSSL_malloc (mem.c:106)
==561== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==561== by 0x24B104: err_get_state (err.c:210)
==561== by 0x24BCDA: ERR_put_error (err.c:636)
==561== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==561== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==561== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==561== by 0x270326: by_file_ctrl (by_file.c:111)
==561== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==561== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==561== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==561== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==561== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==561== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==561== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==561==
==561== Invalid free() / delete / delete[] / realloc()
==561== at 0x48369AB: free (vg_replace_malloc.c:540)
==561== by 0x5331AB9: free_key_mem (dlerror.c:223)
==561== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==561== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==561== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==561== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==561== by 0x4D60EB9: exit (exit.c:139)
==561== by 0x4D4B0A1: (below main) (libc-start.c:342)
==561== Address 0x5b324a8 is 8 bytes inside a block of size 32 alloc'd
==561== at 0x483577F: malloc (vg_replace_malloc.c:309)
==561== by 0x25C282: OPENSSL_malloc (mem.c:106)
==561== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==561== by 0x24B104: err_get_state (err.c:210)
==561== by 0x24BCDA: ERR_put_error (err.c:636)
==561== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==561== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==561== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==561== by 0x270326: by_file_ctrl (by_file.c:111)
==561== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==561== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==561== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==561== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==561== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==561== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==561== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==561==
==561== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==561== at 0x483577F: malloc (vg_replace_malloc.c:309)
==561== by 0x25C282: OPENSSL_malloc (mem.c:106)
==561== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==561== by 0x24B104: err_get_state (err.c:210)
==561== by 0x24BCDA: ERR_put_error (err.c:636)
==561== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==561== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==561== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==561== by 0x270326: by_file_ctrl (by_file.c:111)
==561== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==561== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==561== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==561== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==561== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==561== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==561== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==561==
== Contents of files in the log/ dir after test 408
=== Start of file ftp_server.log
03:01:20.880834 ====> Client connect
03:01:20.880966 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:20.969277 < "USER anonymous"
03:01:20.969339 > "331 We are happy you popped in![CR][LF]"
03:01:20.980457 < "PASS ftp@example.com"
03:01:20.980513 > "230 Welcome you silly person[CR][LF]"
03:01:20.983000 < "PBSZ 0"
03:01:20.983056 > "500 PBSZ not implemented[CR][LF]"
03:01:20.984580 < "PROT C"
03:01:20.984627 > "500 PROT not implemented[CR][LF]"
03:01:20.986106 < "PWD"
03:01:20.986155 > "257 "/" is current directory[CR][LF]"
03:01:20.993260 < "CWD CWD"
03:01:20.993306 > "250 CWD command successful.[CR][LF]"
03:01:20.994973 < "CWD STOR"
03:01:20.995016 > "250 CWD command successful.[CR][LF]"
03:01:20.997609 < "CWD RETR"
03:01:20.997648 > "250 CWD command successful.[CR][LF]"
03:01:21.003637 < "EPRT |1|127.0.0.1|42279|"
03:01:21.003678 ====> Active DATA channel requested by client
03:01:21.003719 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:01:21.003744 DATA sockfilt for active data channel starting...
03:01:21.005546 DATA sockfilt for active data channel started (pid 567)
03:01:21.005580 ====> Active DATA channel connected to client port 42279
03:01:21.008530 < "TYPE I"
03:01:21.008584 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:21.010890 < "STOR 408"
03:01:21.010925 STOR test number 408 in log/upload.408
03:01:21.010958 > "125 Gimme gimme gimme![CR][LF]"
03:01:21.024148 > Appending 27 bytes to file
03:01:21.031946 =====> Closing active DATA connection...
03:01:21.031975 Server knows active DATA connection is already disconnected
03:01:21.032037 DATA sockfilt for active data channel quits (pid 568)
03:01:21.032060 =====> Closed active DATA connection
03:01:21.032084 received 27 bytes upload
03:01:21.032121 > "226 File transfer complete[CR][LF]"
03:01:21.089745 < "QUIT"
03:01:21.089808 > "221 bye bye baby[CR][LF]"
03:01:21.094122 MAIN sockfilt said DISC
03:01:21.094158 ====> Client disconnected
03:01:21.094219 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:20.981551 ====> Client connect
03:01:20.981779 Received DATA (on stdin)
03:01:20.981797 > 160 bytes data, server => client
03:01:20.981814 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:20.981829 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:20.981843 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:21.069936 < 16 bytes data, client => server
03:01:21.069971 'USER anonymous\r\n'
03:01:21.070165 Received DATA (on stdin)
03:01:21.070190 > 33 bytes data, server => client
03:01:21.070205 '331 We are happy you popped in!\r\n'
03:01:21.081169 < 22 bytes data, client => server
03:01:21.081198 'PASS ftp@example.com\r\n'
03:01:21.081339 Received DATA (on stdin)
03:01:21.081363 > 30 bytes data, server => client
03:01:21.081378 '230 Welcome you silly person\r\n'
03:01:21.083697 < 8 bytes data, client => server
03:01:21.083719 'PBSZ 0\r\n'
03:01:21.083861 Received DATA (on stdin)
03:01:21.083886 > 26 bytes data, server => client
03:01:21.083904 '500 PBSZ not implemented\r\n'
03:01:21.085314 < 8 bytes data, client => server
03:01:21.085336 'PROT C\r\n'
03:01:21.085430 Received DATA (on stdin)
03:01:21.085441 > 26 bytes data, server => client
03:01:21.085454 '500 PROT not implemented\r\n'
03:01:21.086852 < 5 bytes data, client => server
03:01:21.086865 'PWD\r\n'
03:01:21.086974 Received DATA (on stdin)
03:01:21.086997 > 30 bytes data, server => client
03:01:21.087012 '257 "/" is current directory\r\n'
03:01:21.093999 < 9 bytes data, client => server
03:01:21.094019 'CWD CWD\r\n'
03:01:21.094109 Received DATA (on stdin)
03:01:21.094119 > 29 bytes data, server => client
03:01:21.094129 '250 CWD command successful.\r\n'
03:01:21.095712 < 10 bytes data, client => server
03:01:21.095725 'CWD STOR\r\n'
03:01:21.095834 Received DATA (on stdin)
03:01:21.095848 > 29 bytes data, server => client
03:01:21.095862 '250 CWD command successful.\r\n'
03:01:21.098358 < 10 bytes data, client => server
03:01:21.098371 'CWD RETR\r\n'
03:01:21.098453 Received DATA (on stdin)
03:01:21.098462 > 29 bytes data, server => client
03:01:21.098472 '250 CWD command successful.\r\n'
03:01:21.104369 < 26 bytes data, client => server
03:01:21.104394 'EPRT |1|127.0.0.1|42279|\r\n'
03:01:21.104522 Received DATA (on stdin)
03:01:21.104532 > 50 bytes data, server => client
03:01:21.104544 '200 Thanks for dropping by. We contact you later\r\n'
03:01:21.109260 < 8 bytes data, client => server
03:01:21.109280 'TYPE I\r\n'
03:01:21.109383 Received DATA (on stdin)
03:01:21.109396 > 33 bytes data, server => client
03:01:21.109407 '200 I modify TYPE as you wanted\r\n'
03:01:21.111642 < 10 bytes data, client => server
03:01:21.111656 'STOR 408\r\n'
03:01:21.111766 Received DATA (on stdin)
03:01:21.111791 > 24 bytes data, server => client
03:01:21.111801 '125 Gimme gimme gimme!\r\n'
03:01:21.132928 Received DATA (on stdin)
03:01:21.132945 > 28 bytes data, server => client
03:01:21.132957 '226 File transfer complete\r\n'
03:01:21.190430 < 6 bytes data, client => server
03:01:21.190473 'QUIT\r\n'
03:01:21.190611 Received DATA (on stdin)
03:01:21.190626 > 18 bytes data, server => client
03:01:21.190636 '221 bye bye baby\r\n'
03:01:21.194897 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:21.106189 ====> Client connect
03:01:21.106272 Running IPv4 version
03:01:21.106283 Connected to port 42279
03:01:21.106309 Wrote pid 568 to ./.ftp_sockdata.pid
03:01:21.106323 Received PING (on stdin)
03:01:21.124900 < 27 bytes data, client => server
03:01:21.124932 'Moooooooooooo\n upload this\n'
03:01:21.132654 ====> Client disconnect
03:01:21.132702 disconnected, no socket to read on
03:01:21.132811 Received QUIT (on stdin)
03:01:21.132822 quits
03:01:21.132833 ============> 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|42279|
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 11 0:00:02 0:00:02 --:--:-- 12
=== End of file stderr408
=== Start of file trace408
03:01:18.864612 == Info: STATE: INIT => CONNECT handle 0x56c8638; line 1362 (connection #-5000)
03:01:18.920294 == Info: Added connection 0. The cache now contains 1 members
03:01:18.938720 == Info: Trying 127.0.0.1:8993...
03:01:18.939355 == Info: TCP_NODELAY set
03:01:18.944910 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8638; line 1418 (connection #0)
03:01:18.956983 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:18.957576 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8638; line 1538 (connection #0)
03:01:18.958686 == Info: Marked for [keep alive]: FTP default
03:01:20.454037 == Info: successfully set certificate verify locations:
03:01:20.454303 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:20.568618 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:20.573693 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:20.573757 => Send SSL data, 126 bytes (0x7e)
0000: ...z...7...*..,..>A...,.[7F]...<*e. ...cF....+./.,.0...............
0040: ../.5.....3...................................................
03:01:20.591661 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:20.597423 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:20.597493 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...j..._'3.......9.S.............O P..:.'..........J.U....$i
0040: T......./................
03:01:20.642091 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:20.642564 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:20.642623 <= 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:20.742972 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:20.743243 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:20.743302 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.....H.$Y$aq..+.$HR......+HM.....W...o.x....x.G..4.3..s_
0040: ..o.z..0......L.x.....w..[&1<....X2h=..+YT?y.N>qg3...:X....c....
0080: ..Z...bm......fI..#.......DE......=.d...Ek)%....J.G.,.G.<...KB..
00c0: S]b......k.+.6..9.........A..._.)..4T.?..!.\w[...?.|G.(.G..VK..,
0100: .mS......,t.}.)..`|.....F$...ww.@.....p..s......@k...)!e.D[7F]XC!..
0140: L&.....2?..".
03:01:20.813855 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:20.814216 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:20.814290 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:20.932062 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:20.932346 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:20.932404 => Send SSL data, 70 bytes (0x46)
0000: ...BA..f.....s...4e......Lg....'..9.%.....o..ph~..;...._EM.6..'.
0040: .%.ZR8
03:01:20.944401 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:20.945036 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:20.945099 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:20.967492 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:20.967567 => Send SSL data, 16 bytes (0x10)
0000: ......a...z7..Z`
03:01:20.980657 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:20.983362 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:20.984515 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:20.984576 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:20.987032 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:20.992755 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:20.992813 <= Recv SSL data, 16 bytes (0x10)
0000: .......GlI..^g&.
03:01:21.021909 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:21.024239 == Info: Server certificate:
03:01:21.031727 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:21.037994 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:21.038943 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:21.039866 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:21.040764 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:21.042276 == Info: FTP 0x577e550 (line 3092) state change from STOP to WAIT220
03:01:21.048405 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:21.056429 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:21.059978 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:21.060177 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:21.060360 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:21.060539 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:21.068233 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:21.071287 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:21.072085 == Info: FTP 0x577e550 (line 792) state change from WAIT220 to USER
03:01:21.072846 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8638; line 1553 (connection #0)
03:01:21.078988 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:21.079665 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:21.080982 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:21.081114 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:21.081575 == Info: FTP 0x577e550 (line 2520) state change from USER to PASS
03:01:21.082614 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:21.082788 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:21.083546 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:21.083673 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:21.084100 == Info: FTP 0x577e550 (line 2496) state change from PASS to PBSZ
03:01:21.084460 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:21.084608 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:21.085176 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:21.085295 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:21.085672 == Info: FTP 0x577e550 (line 2709) state change from PBSZ to PROT
03:01:21.085917 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:21.086056 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:21.086721 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:21.086837 => Send header, 5 bytes (0x5)
0000: PWD
03:01:21.087206 == Info: FTP 0x577e550 (line 804) state change from PROT to PWD
03:01:21.087529 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:21.087671 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:21.088796 == Info: Entry path is '/'
03:01:21.089017 == Info: FTP 0x577e550 (line 2844) state change from PWD to STOP
03:01:21.089207 == Info: protocol connect phase DONE
03:01:21.089456 == Info: STATE: PROTOCONNECT => DO handle 0x56c8638; line 1572 (connection #0)
03:01:21.092769 == Info: DO phase starts
03:01:21.093858 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:21.093981 => Send header, 9 bytes (0x9)
0000: CWD CWD
03:01:21.094392 == Info: FTP 0x577e550 (line 895) state change from STOP to CWD
03:01:21.094803 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:21.094951 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:21.095586 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:21.095702 => Send header, 10 bytes (0xa)
0000: CWD STOR
03:01:21.096085 == Info: ftp_perform ends with SECONDARY: 0
03:01:21.096805 == Info: STATE: DO => DOING handle 0x56c8638; line 1614 (connection #0)
03:01:21.097705 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:21.097848 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:21.098234 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:21.098347 => Send header, 10 bytes (0xa)
0000: CWD RETR
03:01:21.098985 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:21.099126 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:21.104216 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:01:21.104350 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|42279|
03:01:21.105112 == Info: FTP 0x577e550 (line 1293) state change from CWD to PORT
03:01:21.105682 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:01:21.106042 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:01:21.106592 == Info: Connect data stream actively
03:01:21.106797 == Info: FTP 0x577e550 (line 2011) state change from PORT to STOP
03:01:21.107465 == Info: DO phase is complete2
03:01:21.107731 == Info: STATE: DOING => DO_MORE handle 0x56c8638; line 1699 (connection #0)
03:01:21.109121 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:21.109241 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:21.109653 == Info: FTP 0x577e550 (line 3418) state change from STOP to STOR_TYPE
03:01:21.110041 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:21.110185 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:21.111506 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:21.111624 => Send header, 10 bytes (0xa)
0000: STOR 408
03:01:21.112029 == Info: FTP 0x577e550 (line 1651) state change from STOR_TYPE to STOR
03:01:21.113447 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:21.113598 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:21.114121 == Info: FTP 0x577e550 (line 2330) state change from STOR to STOP
03:01:21.114325 == Info: Preparing for accepting server on data port
03:01:21.115379 == Info: Checking for server connect
03:01:21.116225 == Info: Ready to accept data connection from server
03:01:21.118128 == Info: Connection accepted from server
03:01:21.120658 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8638; line 1724 (connection #0)
03:01:21.121094 == Info: STATE: DO_DONE => PERFORM handle 0x56c8638; line 1749 (connection #0)
03:01:21.125465 => Send data, 27 bytes (0x1b)
0000: Moooooooooooo. upload this.
03:01:21.126059 == Info: We are completely uploaded and fine
03:01:21.128451 == Info: STATE: PERFORM => DONE handle 0x56c8638; line 1939 (connection #0)
03:01:21.128775 == Info: multi_done
03:01:21.131437 == Info: Remembering we are in dir "CWD/STOR/RETR/"
03:01:21.160211 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:21.160389 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:21.166463 == 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
==561== Invalid read of size 8
==561== at 0x53315A5: check_free (dlerror.c:188)
==561== by 0x5331AB1: free_key_mem (dlerror.c:221)
==561== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==561== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==561== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==561== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==561== by 0x4D60EB9: exit (exit.c:139)
==561== by 0x4D4B0A1: (below main) (libc-start.c:342)
==561== Address 0x5b324c0 is 0 bytes after a block of size 32 alloc'd
==561== at 0x483577F: malloc (vg_replace_malloc.c:309)
==561== by 0x25C282: OPENSSL_malloc (mem.c:106)
==561== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==561== by 0x24B104: err_get_state (err.c:210)
==561== by 0x24BCDA: ERR_put_error (err.c:636)
==561== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==561== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==561== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==561== by 0x270326: by_file_ctrl (by_file.c:111)
==561== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==561== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==561== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==561== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==561== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==561== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==561== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==561==
==561== Invalid free() / delete / delete[] / realloc()
==561== at 0x48369AB: free (vg_replace_malloc.c:540)
==561== by 0x5331AB9: free_key_mem (dlerror.c:223)
==561== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==561== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==561== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==561== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==561== by 0x4D60EB9: exit (exit.c:139)
==561== by 0x4D4B0A1: (below main) (libc-start.c:342)
==561== Address 0x5b324a8 is 8 bytes inside a block of size 32 alloc'd
==561== at 0x483577F: malloc (vg_replace_malloc.c:309)
==561== by 0x25C282: OPENSSL_malloc (mem.c:106)
==561== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==561== by 0x24B104: err_get_state (err.c:210)
==561== by 0x24BCDA: ERR_put_error (err.c:636)
==561== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==561== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==561== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==561== by 0x270326: by_file_ctrl (by_file.c:111)
==561== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==561== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==561== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==561== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==561== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==561== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==561== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==561==
==561== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==561== at 0x483577F: malloc (vg_replace_malloc.c:309)
==561== by 0x25C282: OPENSSL_malloc (mem.c:106)
==561== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==561== by 0x24B104: err_get_state (err.c:210)
==561== by 0x24BCDA: ERR_put_error (err.c:636)
==561== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==561== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==561== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==561== by 0x270326: by_file_ctrl (by_file.c:111)
==561== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==561== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==561== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==561== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==561== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==561== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==561== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==561==
=== End of file valgrind408
test 0409...[FTPS PASV upload file]
goto problem 30
valgrind ERROR ==571== Invalid read of size 8
==571== at 0x53315A5: check_free (dlerror.c:188)
==571== by 0x5331AB1: free_key_mem (dlerror.c:221)
==571== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==571== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==571== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==571== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==571== by 0x4D60EB9: exit (exit.c:139)
==571== by 0x4D4B0A1: (below main) (libc-start.c:342)
==571== Address 0x5b31af0 is 0 bytes after a block of size 32 alloc'd
==571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==571== by 0x25C282: OPENSSL_malloc (mem.c:106)
==571== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==571== by 0x24B104: err_get_state (err.c:210)
==571== by 0x24BCDA: ERR_put_error (err.c:636)
==571== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==571== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==571== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==571== by 0x270326: by_file_ctrl (by_file.c:111)
==571== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==571== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==571== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==571== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==571== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==571== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==571== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==571==
==571== Invalid free() / delete / delete[] / realloc()
==571== at 0x48369AB: free (vg_replace_malloc.c:540)
==571== by 0x5331AB9: free_key_mem (dlerror.c:223)
==571== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==571== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==571== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==571== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==571== by 0x4D60EB9: exit (exit.c:139)
==571== by 0x4D4B0A1: (below main) (libc-start.c:342)
==571== Address 0x5b31ad8 is 8 bytes inside a block of size 32 alloc'd
==571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==571== by 0x25C282: OPENSSL_malloc (mem.c:106)
==571== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==571== by 0x24B104: err_get_state (err.c:210)
==571== by 0x24BCDA: ERR_put_error (err.c:636)
==571== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==571== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==571== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==571== by 0x270326: by_file_ctrl (by_file.c:111)
==571== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==571== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==571== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==571== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==571== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==571== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==571== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==571==
==571== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==571== by 0x25C282: OPENSSL_malloc (mem.c:106)
==571== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==571== by 0x24B104: err_get_state (err.c:210)
==571== by 0x24BCDA: ERR_put_error (err.c:636)
==571== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==571== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==571== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==571== by 0x270326: by_file_ctrl (by_file.c:111)
==571== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==571== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==571== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==571== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==571== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==571== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==571== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==571==
== Contents of files in the log/ dir after test 409
=== Start of file ftp_server.log
03:01:24.313575 ====> Client connect
03:01:24.313706 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:24.402456 < "USER anonymous"
03:01:24.402523 > "331 We are happy you popped in![CR][LF]"
03:01:24.416185 < "PASS ftp@example.com"
03:01:24.416233 > "230 Welcome you silly person[CR][LF]"
03:01:24.418595 < "PBSZ 0"
03:01:24.418629 > "500 PBSZ not implemented[CR][LF]"
03:01:24.419996 < "PROT C"
03:01:24.420027 > "500 PROT not implemented[CR][LF]"
03:01:24.421476 < "PWD"
03:01:24.421509 > "257 "/" is current directory[CR][LF]"
03:01:24.428943 < "EPSV"
03:01:24.428972 ====> Passive DATA channel requested by client
03:01:24.428985 DATA sockfilt for passive data channel starting...
03:01:24.430640 DATA sockfilt for passive data channel started (pid 575)
03:01:24.430723 DATA sockfilt for passive data channel listens on port 43235
03:01:24.430759 > "229 Entering Passive Mode (|||43235|)[LF]"
03:01:24.430779 Client has been notified that DATA conn will be accepted on port 43235
03:01:24.438118 Client connects to port 43235
03:01:24.438151 ====> Client established passive DATA connection on port 43235
03:01:24.443045 < "TYPE I"
03:01:24.443083 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:24.445343 < "STOR 409"
03:01:24.445366 STOR test number 409 in log/upload.409
03:01:24.445389 > "125 Gimme gimme gimme![CR][LF]"
03:01:24.454389 > Appending 51 bytes to file
03:01:24.462780 =====> Closing passive DATA connection...
03:01:24.462799 Server knows passive DATA connection is already disconnected
03:01:24.462847 DATA sockfilt for passive data channel quits (pid 576)
03:01:24.462862 =====> Closed passive DATA connection
03:01:24.462877 received 51 bytes upload
03:01:24.462902 > "226 File transfer complete[CR][LF]"
03:01:24.520431 < "QUIT"
03:01:24.520482 > "221 bye bye baby[CR][LF]"
03:01:24.524938 MAIN sockfilt said DISC
03:01:24.524975 ====> Client disconnected
03:01:24.525022 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:24.414281 ====> Client connect
03:01:24.414502 Received DATA (on stdin)
03:01:24.414539 > 160 bytes data, server => client
03:01:24.414561 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:24.414580 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:24.414596 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:24.503086 < 16 bytes data, client => server
03:01:24.503150 'USER anonymous\r\n'
03:01:24.503329 Received DATA (on stdin)
03:01:24.503356 > 33 bytes data, server => client
03:01:24.503372 '331 We are happy you popped in!\r\n'
03:01:24.516850 < 22 bytes data, client => server
03:01:24.516889 'PASS ftp@example.com\r\n'
03:01:24.517038 Received DATA (on stdin)
03:01:24.517059 > 30 bytes data, server => client
03:01:24.517081 '230 Welcome you silly person\r\n'
03:01:24.519340 < 8 bytes data, client => server
03:01:24.519360 'PBSZ 0\r\n'
03:01:24.519438 Received DATA (on stdin)
03:01:24.519457 > 26 bytes data, server => client
03:01:24.519473 '500 PBSZ not implemented\r\n'
03:01:24.520753 < 8 bytes data, client => server
03:01:24.520771 'PROT C\r\n'
03:01:24.520836 Received DATA (on stdin)
03:01:24.520854 > 26 bytes data, server => client
03:01:24.520870 '500 PROT not implemented\r\n'
03:01:24.522235 < 5 bytes data, client => server
03:01:24.522252 'PWD\r\n'
03:01:24.522316 Received DATA (on stdin)
03:01:24.522337 > 30 bytes data, server => client
03:01:24.522353 '257 "/" is current directory\r\n'
03:01:24.529694 < 6 bytes data, client => server
03:01:24.529721 'EPSV\r\n'
03:01:24.531562 Received DATA (on stdin)
03:01:24.531587 > 38 bytes data, server => client
03:01:24.531607 '229 Entering Passive Mode (|||43235|)\n'
03:01:24.543783 < 8 bytes data, client => server
03:01:24.543808 'TYPE I\r\n'
03:01:24.543887 Received DATA (on stdin)
03:01:24.543911 > 33 bytes data, server => client
03:01:24.543929 '200 I modify TYPE as you wanted\r\n'
03:01:24.546097 < 10 bytes data, client => server
03:01:24.546115 'STOR 409\r\n'
03:01:24.546196 Received DATA (on stdin)
03:01:24.546215 > 24 bytes data, server => client
03:01:24.546243 '125 Gimme gimme gimme!\r\n'
03:01:24.563712 Received DATA (on stdin)
03:01:24.563732 > 28 bytes data, server => client
03:01:24.563748 '226 File transfer complete\r\n'
03:01:24.621124 < 6 bytes data, client => server
03:01:24.621181 'QUIT\r\n'
03:01:24.621286 Received DATA (on stdin)
03:01:24.621308 > 18 bytes data, server => client
03:01:24.621325 '221 bye bye baby\r\n'
03:01:24.625714 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:24.531269 Running IPv4 version
03:01:24.531362 Listening on port 43235
03:01:24.531398 Wrote pid 576 to ./.ftp_sockdata.pid
03:01:24.531419 Received PING (on stdin)
03:01:24.531480 Received PORT (on stdin)
03:01:24.538898 ====> Client connect
03:01:24.555162 < 51 bytes data, client => server
03:01:24.555191 'data\n to\n see\nthat FTP\nworks\n so does it?\n'
03:01:24.563501 ====> Client disconnect
03:01:24.563626 Received QUIT (on stdin)
03:01:24.563642 quits
03:01:24.563660 ============> 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 --:--:-- 22
=== 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:22.285589 == Info: STATE: INIT => CONNECT handle 0x56c8168; line 1362 (connection #-5000)
03:01:22.343432 == Info: Added connection 0. The cache now contains 1 members
03:01:22.362018 == Info: Trying 127.0.0.1:8993...
03:01:22.362656 == Info: TCP_NODELAY set
03:01:22.368045 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8168; line 1418 (connection #0)
03:01:22.380241 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:22.380850 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8168; line 1538 (connection #0)
03:01:22.381973 == Info: Marked for [keep alive]: FTP default
03:01:23.874318 == Info: successfully set certificate verify locations:
03:01:23.874580 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:23.988965 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:23.994062 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:23.994121 => Send SSL data, 126 bytes (0x7e)
0000: ...z..."..u.b..=p.....x..}X.....y..[......+./.,.0...............
0040: ../.5.....3...................................................
03:01:24.015755 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:24.023922 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:24.024026 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....e..I......YR.s..[7F].8u..:.s..@.q ...[Z.....L....LtC..53...
0040: .....yj./................
03:01:24.071510 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:24.072004 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:24.072067 <= 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:24.173363 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:24.173636 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:24.173693 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.....H.$Y$aq..+.$HR......+HM.....W...o.x....x.G..4.3..s_
0040: ..o.z..0.....Gm..{......-__.4.....)J.o....1}........i.g.Y.......
0080: ..|...:/V.....K.T....~%~.:.d. ...$......{.|.....B.L..,.^O.]@..$X
00c0: F-..nx....)....:K.M...S.....g.LB4.im..o.P....I(.H.VTU..,.-D.|..K
0100: A.......u..f.LL.F.........I.....;u...v.y....[7F]_?.[7F]!C$...(.g2.r00~
0140: ......<..-..C
03:01:24.247038 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:24.247406 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:24.247475 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:24.365659 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:24.365910 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:24.365967 => Send SSL data, 70 bytes (0x46)
0000: ...BA.!...g.s.Ah-G..PWf..p...5..#......=I...e....1,/....,C.HU...
0040: ......
03:01:24.377979 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:24.378571 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:24.378628 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:24.400763 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:24.400836 => Send SSL data, 16 bytes (0x10)
0000: ....|..W....e"D.
03:01:24.413417 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:24.416060 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:24.417264 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:24.417338 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:24.419882 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:24.425638 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:24.425694 <= Recv SSL data, 16 bytes (0x10)
0000: .......z....N.r[
03:01:24.454572 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:24.456935 == Info: Server certificate:
03:01:24.464474 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:24.470654 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:24.471603 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:24.472619 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:24.473491 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:24.474981 == Info: FTP 0x577dbc0 (line 3092) state change from STOP to WAIT220
03:01:24.481061 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:24.489015 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:24.492648 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:24.492857 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:24.493041 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:24.493219 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:24.501209 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:24.504517 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:24.505333 == Info: FTP 0x577dbc0 (line 792) state change from WAIT220 to USER
03:01:24.506101 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8168; line 1553 (connection #0)
03:01:24.514411 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:24.515205 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:24.516634 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:24.516811 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:24.517246 == Info: FTP 0x577dbc0 (line 2520) state change from USER to PASS
03:01:24.518327 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:24.518480 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:24.519200 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:24.519320 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:24.519643 == Info: FTP 0x577dbc0 (line 2496) state change from PASS to PBSZ
03:01:24.519948 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:24.520089 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:24.520623 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:24.520738 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:24.521067 == Info: FTP 0x577dbc0 (line 2709) state change from PBSZ to PROT
03:01:24.521309 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:24.521446 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:24.522108 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:24.522225 => Send header, 5 bytes (0x5)
0000: PWD
03:01:24.522539 == Info: FTP 0x577dbc0 (line 804) state change from PROT to PWD
03:01:24.522860 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:24.522998 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:24.524137 == Info: Entry path is '/'
03:01:24.524361 == Info: FTP 0x577dbc0 (line 2844) state change from PWD to STOP
03:01:24.524528 == Info: protocol connect phase DONE
03:01:24.524793 == Info: STATE: PROTOCONNECT => DO handle 0x56c8168; line 1572 (connection #0)
03:01:24.527476 == Info: DO phase starts
03:01:24.529555 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:24.529680 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:24.530028 == Info: FTP 0x577dbc0 (line 1330) state change from STOP to PASV
03:01:24.530205 == Info: Connect data stream passively
03:01:24.531012 == Info: ftp_perform ends with SECONDARY: 0
03:01:24.531750 == Info: STATE: DO => DOING handle 0x56c8168; line 1614 (connection #0)
03:01:24.532693 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:24.532853 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||43235|).
03:01:24.538731 == Info: Trying 127.0.0.1:43235...
03:01:24.538797 == Info: TCP_NODELAY set
03:01:24.539493 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 43235
03:01:24.540613 == Info: FTP 0x577dbc0 (line 1977) state change from PASV to STOP
03:01:24.541245 == Info: DO phase is complete2
03:01:24.541675 == Info: STATE: DOING => DO_MORE handle 0x56c8168; line 1699 (connection #0)
03:01:24.542391 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:24.542608 == Info: DO-MORE connected phase starts
03:01:24.543626 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:24.543748 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:24.544112 == Info: FTP 0x577dbc0 (line 3418) state change from STOP to STOR_TYPE
03:01:24.544495 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:24.544639 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:24.545965 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:24.546086 => Send header, 10 bytes (0xa)
0000: STOR 409
03:01:24.546419 == Info: FTP 0x577dbc0 (line 1651) state change from STOR_TYPE to STOR
03:01:24.548211 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:24.548354 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:24.550173 == Info: FTP 0x577dbc0 (line 477) state change from STOR to STOP
03:01:24.550923 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8168; line 1724 (connection #0)
03:01:24.551363 == Info: STATE: DO_DONE => PERFORM handle 0x56c8168; line 1749 (connection #0)
03:01:24.555707 => Send data, 51 bytes (0x33)
0000: data. to. see.that FTP.works. so does it?.
03:01:24.556402 == Info: We are completely uploaded and fine
03:01:24.558839 == Info: STATE: PERFORM => DONE handle 0x56c8168; line 1939 (connection #0)
03:01:24.559163 == Info: multi_done
03:01:24.561993 == Info: Remembering we are in dir ""
03:01:24.592250 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:24.592425 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:24.598627 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:24.600508 == Info: Expire cleared (transfer 0x56c8168)
=== End of file trace409
=== Start of file upload.409
data
to
see
that FTP
works
so does it?
=== End of file upload.409
=== Start of file valgrind409
==571== Invalid read of size 8
==571== at 0x53315A5: check_free (dlerror.c:188)
==571== by 0x5331AB1: free_key_mem (dlerror.c:221)
==571== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==571== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==571== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==571== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==571== by 0x4D60EB9: exit (exit.c:139)
==571== by 0x4D4B0A1: (below main) (libc-start.c:342)
==571== Address 0x5b31af0 is 0 bytes after a block of size 32 alloc'd
==571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==571== by 0x25C282: OPENSSL_malloc (mem.c:106)
==571== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==571== by 0x24B104: err_get_state (err.c:210)
==571== by 0x24BCDA: ERR_put_error (err.c:636)
==571== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==571== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==571== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==571== by 0x270326: by_file_ctrl (by_file.c:111)
==571== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==571== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==571== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==571== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==571== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==571== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==571== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==571==
==571== Invalid free() / delete / delete[] / realloc()
==571== at 0x48369AB: free (vg_replace_malloc.c:540)
==571== by 0x5331AB9: free_key_mem (dlerror.c:223)
==571== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==571== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==571== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==571== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==571== by 0x4D60EB9: exit (exit.c:139)
==571== by 0x4D4B0A1: (below main) (libc-start.c:342)
==571== Address 0x5b31ad8 is 8 bytes inside a block of size 32 alloc'd
==571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==571== by 0x25C282: OPENSSL_malloc (mem.c:106)
==571== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==571== by 0x24B104: err_get_state (err.c:210)
==571== by 0x24BCDA: ERR_put_error (err.c:636)
==571== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==571== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==571== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==571== by 0x270326: by_file_ctrl (by_file.c:111)
==571== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==571== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==571== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==571== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==571== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==571== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==571== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==571==
==571== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==571== by 0x25C282: OPENSSL_malloc (mem.c:106)
==571== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==571== by 0x24B104: err_get_state (err.c:210)
==571== by 0x24BCDA: ERR_put_error (err.c:636)
==571== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==571== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==571== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==571== by 0x270326: by_file_ctrl (by_file.c:111)
==571== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==571== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==571== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==571== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==571== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==571== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==571== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==571==
=== End of file valgrind409
test 0500...[simple libcurl HTTP GET tool]
--pd--oemv- OK (356 out of 1250, remaining: 25:33, took 1.1s, duration: 10:10)
test 0501...[simple libcurl attempt operation without URL set]
-------emv- OK (357 out of 1250, remaining: 25:29, took 0.9s, duration: 10:11)
test 0502...[simple multi file:// get]
---d---emv- OK (358 out of 1250, remaining: 25:25, took 1.0s, duration: 10:12)
test 0503...[simple multi http:// through proxytunnel with authentication info]
--pd-P-emv- OK (359 out of 1250, remaining: 25:23, took 1.6s, duration: 10:13)
test 0504...[simple multi through local proxy without listener]
-------emv- OK (360 out of 1250, remaining: 25:20, took 1.0s, duration: 10:14)
test 0505...[FTP upload with rename after transfer]
--p-u--emv- OK (361 out of 1250, remaining: 25:17, took 1.1s, duration: 10:16)
test 0506...[HTTP with shared cookie list (and dns cache)]
s-----oemv- OK (362 out of 1250, remaining: 25:14, took 1.2s, duration: 10:17)
test 0507...[multi interface get with non-existing host name]
-------emv- OK (363 out of 1250, remaining: 25:10, took 1.0s, duration: 10:18)
test 0508...[send HTTP POST using read callback]
--pd---emv- OK (364 out of 1250, remaining: 25:07, took 1.1s, duration: 10:19)
test 0509...[initialization with memory callbacks and actual usage]
s------emv- OK (365 out of 1250, remaining: 25:03, took 0.9s, duration: 10:20)
test 0510...[send HTTP POST using read callback, using chunked transfer-encoding]
--pd---emv- OK (366 out of 1250, remaining: 25:02, took 2.1s, duration: 10:22)
test 0511...[FTP with FILETIME and NOBODY but missing file]
--p----emv- OK (367 out of 1250, remaining: 24:59, took 1.1s, duration: 10:23)
test 0512...[simple curl_easy_duplicate() test]
--pd---emv- OK (368 out of 1250, remaining: 24:56, took 1.1s, duration: 10:24)
test 0513...[send HTTP POST using read callback that returns CURL_READFUNC_ABORT]
--p----emv- OK (369 out of 1250, remaining: 24:55, took 2.1s, duration: 10:26)
test 0514...[First set options to POST and then to make HEAD]
--pd---emv- OK (370 out of 1250, remaining: 24:55, took 2.1s, duration: 10:28)
test 0515...[make a POSTFIELDS set to NULL with POSTFIELDSIZE set to zero]
--pd---emv- OK (371 out of 1250, remaining: 24:51, took 1.0s, duration: 10:29)
test 0516...[make a HTTPPOST set to NULL]
--pd---emv- OK (372 out of 1250, remaining: 24:48, took 1.1s, duration: 10:30)
test 0517...[curl_getdate() testing]
-------emv- OK (373 out of 1250, remaining: 24:45, took 0.9s, duration: 10:31)
test 0518...[HTTP GET with more than FD_SETSIZE descriptors open]
valgrind SKIPPED
--pd---em-- OK (374 out of 1250, remaining: 24:39, took 0.0s, duration: 10:31)
test 0519...[GET same URL twice with different users]
--pd---emv- OK (375 out of 1250, remaining: 24:36, took 1.1s, duration: 10:32)
test 0520...[FTP RETR with FILETIME]
--pd---emv- OK (376 out of 1250, remaining: 24:33, took 1.1s, duration: 10:33)
test 0521...[FTP dir list PASV with CURLOPT_PORT]
--pd---emv- OK (377 out of 1250, remaining: 24:30, took 1.1s, duration: 10:34)
test 0522...[HTTP GET with CURLOPT_PORT]
s-p----emv- OK (378 out of 1250, remaining: 24:27, took 1.1s, duration: 10:36)
test 0523...[HTTP GET with proxy and CURLOPT_PORT]
s-p----emv- OK (379 out of 1250, remaining: 24:24, took 1.1s, duration: 10:37)
test 0524...[FTP upload with target URL ending with slash]
--p----emv- OK (380 out of 1250, remaining: 24:21, took 1.0s, duration: 10:38)
test 0525...[FTP PORT upload using multi interface]
--p-u--emv- OK (381 out of 1250, remaining: 24:18, took 1.1s, duration: 10:39)
test 0526...[FTP RETR same file using different handles but same connection]
--pd---emv- OK (382 out of 1250, remaining: 24:22, took 4.4s, duration: 10:43)
test 0527...[FTP RETR same file using different handles but same connection]
--pd---emv- OK (383 out of 1250, remaining: 24:26, took 4.3s, duration: 10:48)
test 0528...[HTTP GET same file using different handles but same connection]
--pd---emv- OK (384 out of 1250, remaining: 24:30, took 4.1s, duration: 10:52)
test 0529...[FTP PORT upload using multi interface (weird cleanup function sequence)]
--p-u--emv- OK (385 out of 1250, remaining: 24:27, took 1.1s, duration: 10:53)
test 0531...[FTP PORT upload using multi interface and get 425 response]
Killed
--p----emv- OK (386 out of 1250, remaining: 24:24, took 1.1s, duration: 10:54)
test 0532...[FTP RETR same file using reset handles between each transfer]
--pd---emv- OK (387 out of 1250, remaining: 24:28, took 4.3s, duration: 10:58)
test 0533...[FTP RETR a non-existing file twice using the multi interface]
Killed
Killed
--p----emv- OK (388 out of 1250, remaining: 24:27, took 2.1s, duration: 11:00)
test 0534...[FTP RETR twice using multi: non-existing host and non-existing file]
Killed
--p----emv- OK (389 out of 1250, remaining: 24:26, took 2.1s, duration: 11:02)
test 0535...[HTTP GET multi two files with FAILONERROR]
--pd---emv- OK (390 out of 1250, remaining: 24:25, took 2.1s, duration: 11:04)
test 0537...[HTTP GET with a HUGE number of file descriptors open]
--pd---emv- OK (391 out of 1250, remaining: 24:23, took 1.5s, duration: 11:06)
test 0538...[FTP multi-interface download, failed login: PASS not valid]
--p----emv- OK (392 out of 1250, remaining: 24:20, took 1.0s, duration: 11:07)
test 0539...[Two FTP fetches using different CURLOPT_FTP_FILEMETHOD]
--pd---emv- OK (393 out of 1250, remaining: 24:17, took 1.2s, duration: 11:08)
test 0540...[HTTP proxy auth Digest multi API re-using connection]
--pd---emv- OK (394 out of 1250, remaining: 24:14, took 1.2s, duration: 11:09)
test 0541...[FTP upload and upload same file again without rewind]
--p----emv- OK (395 out of 1250, remaining: 24:12, took 1.2s, duration: 11:10)
test 0542...[FTP a file with NOBODY yes and HEADER no]
--pd---emv- OK (396 out of 1250, remaining: 24:08, took 1.0s, duration: 11:11)
test 0543...[curl_easy_escape]
s------emv- OK (397 out of 1250, remaining: 24:05, took 0.9s, duration: 11:12)
test 0544...[HTTP POST text data using CURLOPT_COPYPOSTFIELDS]
--pd---emv- OK (398 out of 1250, remaining: 24:02, took 1.0s, duration: 11:13)
test 0545...[HTTP POST binary with embedded zero and no trailing zero]
--pd---emv- OK (399 out of 1250, remaining: 23:59, took 1.1s, duration: 11:14)
test 0546...[FTP RETR a non-existing file then a found one using the multi interface]
Killed
s-p----emv- OK (400 out of 1250, remaining: 23:58, took 2.2s, duration: 11:17)
test 0547...[HTTP proxy auth NTLM with POST data from read callback]
--pd---emv- OK (401 out of 1250, remaining: 23:55, took 1.2s, duration: 11:18)
test 0548...[HTTP proxy auth NTLM with POST data from CURLOPT_POSTFIELDS]
--pd---emv- OK (402 out of 1250, remaining: 23:53, took 1.2s, duration: 11:19)
test 0549...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE]
s-p----emv- OK (403 out of 1250, remaining: 23:50, took 1.1s, duration: 11:20)
test 0550...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE and ASCII transfer]
s-p----emv- OK (404 out of 1250, remaining: 23:47, took 1.1s, duration: 11:21)
test 0551...[HTTP proxy auth Digest with POST data from read callback]
--pd---emv- OK (405 out of 1250, remaining: 23:44, took 1.1s, duration: 11:22)
test 0552...[HTTP proxy auth Digest with 70K POST data from read callback]
--pd---emv- OK (406 out of 1250, remaining: 23:48, took 4.6s, duration: 11:27)
test 0553...[HTTP post with huge request headers and post data from callback]
--pd---emv- OK (407 out of 1250, remaining: 23:45, took 1.1s, duration: 11:28)
test 0554...[HTTP multi-part formpost using read callback for the file part]
--pd---emv- OK (408 out of 1250, remaining: 23:43, took 1.2s, duration: 11:29)
test 0555...[HTTP proxy auth NTLM with POST data from read callback multi-if]
--pd---emv- OK (409 out of 1250, remaining: 23:40, took 1.2s, duration: 11:30)
test 0556...[send and recv HTTP]
--pd---emv- OK (410 out of 1250, remaining: 23:37, took 1.1s, duration: 11:31)
test 0557...[curl_mprintf() testing]
s------emv- OK (411 out of 1250, remaining: 23:34, took 0.9s, duration: 11:32)
test 0558...[libtest memory tracking operational]
------oemv- OK (412 out of 1250, remaining: 23:30, took 0.9s, duration: 11:33)
test 0559...[use tiny CURLOPT_BUFFERSIZE]
---d---emv- OK (413 out of 1250, remaining: 23:27, took 1.0s, duration: 11:34)
test 0560...[simple HTTPS GET with multi interface]
goto problem 31
valgrind ERROR ==868== Invalid read of size 8
==868== at 0x53315A5: check_free (dlerror.c:188)
==868== by 0x5331AB1: free_key_mem (dlerror.c:221)
==868== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==868== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==868== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==868== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==868== by 0x4D60EB9: exit (exit.c:139)
==868== by 0x4D4B0A1: (below main) (libc-start.c:342)
==868== Address 0x5a994f0 is 0 bytes after a block of size 32 alloc'd
==868== at 0x483577F: malloc (vg_replace_malloc.c:309)
==868== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==868== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==868== by 0x225852: err_get_state (err.c:210)
==868== by 0x226428: ERR_put_error (err.c:636)
==868== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==868== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==868== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==868== by 0x24AA74: by_file_ctrl (by_file.c:111)
==868== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==868== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==868== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==868== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==868== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==868== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==868== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==868==
==868== Invalid free() / delete / delete[] / realloc()
==868== at 0x48369AB: free (vg_replace_malloc.c:540)
==868== by 0x5331AB9: free_key_mem (dlerror.c:223)
==868== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==868== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==868== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==868== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==868== by 0x4D60EB9: exit (exit.c:139)
==868== by 0x4D4B0A1: (below main) (libc-start.c:342)
==868== Address 0x5a994d8 is 8 bytes inside a block of size 32 alloc'd
==868== at 0x483577F: malloc (vg_replace_malloc.c:309)
==868== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==868== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==868== by 0x225852: err_get_state (err.c:210)
==868== by 0x226428: ERR_put_error (err.c:636)
==868== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==868== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==868== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==868== by 0x24AA74: by_file_ctrl (by_file.c:111)
==868== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==868== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==868== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==868== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==868== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==868== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==868== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==868==
==868== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==868== at 0x483577F: malloc (vg_replace_malloc.c:309)
==868== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==868== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==868== by 0x225852: err_get_state (err.c:210)
==868== by 0x226428: ERR_put_error (err.c:636)
==868== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==868== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==868== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==868== by 0x24AA74: by_file_ctrl (by_file.c:111)
==868== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==868== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==868== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==868== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==868== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==868== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==868== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==868==
== Contents of files in the log/ dir after test 560
=== Start of file http_server.log
03:02:52.979049 ====> Client connect
03:02:52.979104 accept_connection 3 returned 4
03:02:52.979125 accept_connection 3 returned 0
03:02:53.059410 Read 56 bytes
03:02:53.059455 Process 56 bytes request
03:02:53.059469 Got request: GET /560 HTTP/1.1
03:02:53.059478 Requested test number 560 part 0
03:02:53.059503 - request found to be complete
03:02:53.059528 Wrote request (56 bytes) input to log/server.input
03:02:53.059549 Send response test560 section <data>
03:02:53.059622 Response sent (108 bytes) and written to log/server.response
03:02:53.059633 => persistent connection request ended, awaits new request
03:02:53.109341 Connection closed by client
03:02:53.109380 ====> 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
==868== Invalid read of size 8
==868== at 0x53315A5: check_free (dlerror.c:188)
==868== by 0x5331AB1: free_key_mem (dlerror.c:221)
==868== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==868== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==868== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==868== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==868== by 0x4D60EB9: exit (exit.c:139)
==868== by 0x4D4B0A1: (below main) (libc-start.c:342)
==868== Address 0x5a994f0 is 0 bytes after a block of size 32 alloc'd
==868== at 0x483577F: malloc (vg_replace_malloc.c:309)
==868== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==868== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==868== by 0x225852: err_get_state (err.c:210)
==868== by 0x226428: ERR_put_error (err.c:636)
==868== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==868== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==868== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==868== by 0x24AA74: by_file_ctrl (by_file.c:111)
==868== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==868== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==868== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==868== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==868== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==868== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==868== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==868==
==868== Invalid free() / delete / delete[] / realloc()
==868== at 0x48369AB: free (vg_replace_malloc.c:540)
==868== by 0x5331AB9: free_key_mem (dlerror.c:223)
==868== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==868== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==868== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==868== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==868== by 0x4D60EB9: exit (exit.c:139)
==868== by 0x4D4B0A1: (below main) (libc-start.c:342)
==868== Address 0x5a994d8 is 8 bytes inside a block of size 32 alloc'd
==868== at 0x483577F: malloc (vg_replace_malloc.c:309)
==868== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==868== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==868== by 0x225852: err_get_state (err.c:210)
==868== by 0x226428: ERR_put_error (err.c:636)
==868== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==868== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==868== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==868== by 0x24AA74: by_file_ctrl (by_file.c:111)
==868== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==868== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==868== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==868== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==868== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==868== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==868== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==868==
==868== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==868== at 0x483577F: malloc (vg_replace_malloc.c:309)
==868== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==868== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==868== by 0x225852: err_get_state (err.c:210)
==868== by 0x226428: ERR_put_error (err.c:636)
==868== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==868== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==868== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==868== by 0x24AA74: by_file_ctrl (by_file.c:111)
==868== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==868== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==868== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==868== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==868== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==868== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==868== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==868==
=== End of file valgrind560
test 0561...[FTP RETR with CURLOPT_PROXY_TRANSFER_MODE, ASCII transfer and type=i]
s-p----emv- OK (415 out of 1250, remaining: 23:26, took 1.1s, duration: 11:38)
test 0562...[FTP a type=A URL and CURLOPT_PORT set]
--pd---emv- OK (416 out of 1250, remaining: 23:23, took 1.1s, duration: 11:39)
test 0563...[FTP type=A URL and CURLOPT_PORT set and proxy]
--p----emv- OK (417 out of 1250, remaining: 23:20, took 1.1s, duration: 11:41)
test 0564...[FTP RETR a file over a SOCKS proxy using the multi interface]
s-pd---emv- OK (418 out of 1250, remaining: 23:19, took 2.1s, duration: 11:43)
test 0565...[send HTTP POST using read callback, chunked transfer-encoding and Digest]
--pd---emv- OK (419 out of 1250, remaining: 23:18, took 2.1s, duration: 11:45)
test 0566...[HTTP GET with CURLINFO_CONTENT_LENGTH_DOWNLOAD and 0 bytes transfer]
--pd--oemv- OK (420 out of 1250, remaining: 23:15, took 1.0s, duration: 11:46)
test 0567...[simple RTSP OPTIONS command]
--pd---emv- OK (421 out of 1250, remaining: 23:16, took 3.1s, duration: 11:49)
test 0568...[RTSP Announce (PUT and POST style) test]
--p----emv- OK (422 out of 1250, remaining: 23:14, took 1.1s, duration: 11:50)
test 0569...[RTSP Session ID parsing]
--p---oemv- OK (423 out of 1250, remaining: 23:11, took 1.1s, duration: 11:51)
test 0570...[RTSP CSeq and Session Mismatch checks]
--p----emv- OK (424 out of 1250, remaining: 23:08, took 1.1s, duration: 11:52)
test 0571...[RTSP RTP Interleaving Test]
s-----oemv- OK (425 out of 1250, remaining: 23:05, took 1.1s, duration: 11:53)
test 0572...[RTSP GET_PARAMETER (Put/Heartbeat/Post)]
--p----emv- OK (426 out of 1250, remaining: 23:02, took 1.1s, duration: 11:54)
test 0573...[verify connect time with multi interface]
--pd---emv- OK (427 out of 1250, remaining: 23:00, took 1.1s, duration: 11:56)
test 0574...[FTP wildcard download - changed fnmatch, 2x perform (Unix LIST response)]
s-p----emv- OK (428 out of 1250, remaining: 22:58, took 1.8s, duration: 11:57)
test 0575...[FTP wildcard download - dup_handle and multi interface]
s-p----emv- OK (429 out of 1250, remaining: 22:57, took 2.2s, duration: 11:59)
test 0576...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (Unix)]
s------emv- OK (430 out of 1250, remaining: 22:55, took 1.4s, duration: 12:01)
test 0577...[Funny RTSP version in response]
--p----emv- OK (431 out of 1250, remaining: 22:52, took 1.0s, duration: 12:02)
test 0578...[HTTP POST lower than MAX_INITIAL_POST_SIZE with progress callback]
---d--oemv- OK (432 out of 1250, remaining: 22:49, took 1.1s, duration: 12:03)
test 0579...[small chunked HTTP POSTs with digest auth. and progress callback]
---d--oemv- OK (433 out of 1250, remaining: 22:49, took 2.1s, duration: 12:05)
test 0580...[multi interface, multiple Location: headers]
--pd---emv- OK (434 out of 1250, remaining: 22:46, took 1.0s, duration: 12:06)
test 0581...[multi interface, multiple Content-Type: headers]
--pd---emv- OK (435 out of 1250, remaining: 22:43, took 1.0s, duration: 12:07)
test 0582 SKIPPED: curl lacks sftp server support
test 0583 SKIPPED: curl lacks sftp server support
test 0585...[socket open/close callbacks]
--pd---emv- OK (438 out of 1250, remaining: 22:30, took 1.1s, duration: 12:08)
test 0586...[FTP and open/close socket callbacks]
--pd---emv- OK (439 out of 1250, remaining: 22:28, took 1.1s, duration: 12:09)
test 0587...[HTTP multi-part formpost with aborted read callback]
--p----emv- OK (440 out of 1250, remaining: 22:25, took 1.1s, duration: 12:10)
test 0588...[FTP PORT upload using multi interface, EPRT doesn't work]
--p-u--emv- OK (441 out of 1250, remaining: 22:23, took 1.1s, duration: 12:12)
test 0589...[make a HTTP MIME POST set to NULL]
--pd---emv- OK (442 out of 1250, remaining: 22:20, took 1.1s, duration: 12:13)
test 0590...[HTTP proxy offers Negotiate+NTLM, use only NTLM]
--pd---emv- OK (443 out of 1250, remaining: 22:17, took 1.2s, duration: 12:14)
test 0591...[FTP multi PORT and 425 on upload]
--p----emv- OK (444 out of 1250, remaining: 22:15, took 1.1s, duration: 12:15)
test 0592...[FTP multi PORT and 421 on upload]
--p----emv- OK (445 out of 1250, remaining: 22:12, took 1.1s, duration: 12:16)
test 0593...[FTP multi PORT upload, no data conn and no transient neg. reply]
--p----emv- OK (446 out of 1250, remaining: 22:13, took 3.1s, duration: 12:19)
test 0595...[verify close callbacks with passive FTP]
--pd---emv- OK (447 out of 1250, remaining: 22:10, took 1.1s, duration: 12:20)
test 0596...[verify close callbacks with active FTP]
--pd---emv- OK (448 out of 1250, remaining: 22:08, took 1.1s, duration: 12:21)
test 0597...[FTP connect only option]
--p----emv- OK (449 out of 1250, remaining: 22:05, took 1.1s, duration: 12:22)
test 0598...[curl_easy_reset with referer and other strings set]
--pd---emv- OK (450 out of 1250, remaining: 22:02, took 1.1s, duration: 12:23)
test 0599...[HTTP GET with progress callback and redirects changing content sizes]
---d--oemv- OK (451 out of 1250, remaining: 21:59, took 1.1s, duration: 12:25)
test 0600 SKIPPED: curl lacks sftp server support
test 0601 SKIPPED: curl lacks scp server support
test 0603 SKIPPED: curl lacks scp server support
test 0605 SKIPPED: curl lacks scp server support
test 0632 SKIPPED: curl lacks sftp support
test 0643...[HTTP multi-part mimepost using read callback for the file part]
--pd---emv- OK (495 out of 1250, remaining: 18:58, took 1.2s, duration: 12:26)
test 0644...[HTTP multi-part formpost with aborted read callback]
--p----emv- OK (496 out of 1250, remaining: 18:56, took 1.1s, duration: 12:27)
test 0645...[HTTP multi-part chunked mimepost using read callback for the file part]
--pd---emv- OK (497 out of 1250, remaining: 18:57, took 3.2s, duration: 12:30)
test 0646...[SMTP multipart using mime API]
--p-u--emv- OK (498 out of 1250, remaining: 18:58, took 3.3s, duration: 12:33)
test 0647...[IMAP APPEND multipart using mime API]
--p-u--emv- OK (499 out of 1250, remaining: 18:59, took 3.4s, duration: 12:37)
test 0648...[SMTP multipart with transfer content encoders]
--p-u--emv- OK (500 out of 1250, remaining: 18:57, took 1.2s, duration: 12:38)
test 0649...[SMTP multipart with 7bit encoder error]
--p-u--emv- OK (501 out of 1250, remaining: 18:55, took 1.2s, duration: 12:39)
test 0650...[HTTP formpost using form API]
--pd---emv- OK (502 out of 1250, remaining: 18:55, took 2.2s, duration: 12:41)
test 0651...[curl_formadd with huge COPYCONTENTS]
--pd---emv- OK (503 out of 1250, remaining: 18:54, took 2.1s, duration: 12:43)
test 0652...[SMTP with encoded huge mime data contents]
--p-u--emv- OK (504 out of 1250, remaining: 18:52, took 1.1s, duration: 12:45)
test 0653...[Reuse of handle after altering mime data]
--pd---emv- OK (505 out of 1250, remaining: 18:50, took 1.1s, duration: 12:46)
test 0654...[HTTP duplicate easy handle with mime data]
--pd---emv- OK (506 out of 1250, remaining: 18:49, took 2.2s, duration: 12:48)
test 0655...[resolver start callback]
---d---emv- OK (507 out of 1250, remaining: 18:47, took 1.1s, duration: 12:49)
test 0658...[Pass URL to libcurl with CURLOPT_CURLU]
--p----emv- OK (509 out of 1250, remaining: 18:41, took 1.1s, duration: 12:50)
test 0659...[CURLOPT_CURLU without the path set - over proxy]
--p----emv- OK (510 out of 1250, remaining: 18:39, took 1.1s, duration: 12:51)
test 0660...[IMAP CONNECT_ONLY option]
--p----emv- OK (511 out of 1250, remaining: 18:37, took 1.0s, duration: 12:52)
test 0700...[HTTP GET via SOCKS4 proxy]
--pd---emv- OK (512 out of 1250, remaining: 18:35, took 1.2s, duration: 12:53)
test 0701...[HTTP GET via SOCKS5 proxy]
--pd---emv- OK (513 out of 1250, remaining: 18:33, took 1.3s, duration: 12:55)
test 0702...[Attempt connect to non-listening HTTP server via SOCKS4 proxy]
-------emv- OK (514 out of 1250, remaining: 18:31, took 1.2s, duration: 12:56)
test 0703...[Attempt connect to non-listening HTTP server via SOCKS5 proxy]
-------emv- OK (515 out of 1250, remaining: 18:29, took 1.2s, duration: 12:57)
test 0704...[Attempt connect to non-listening SOCKS4 proxy]
-------emv- OK (516 out of 1250, remaining: 18:27, took 1.1s, duration: 12:58)
test 0705...[Attempt connect to non-listening SOCKS5 proxy]
-------emv- OK (517 out of 1250, remaining: 18:25, took 1.1s, duration: 12:59)
test 0706...[FTP dir list PASV via SOCKS4]
--pd---emv- OK (518 out of 1250, remaining: 18:23, took 1.3s, duration: 13:01)
test 0707...[FTP dir list PASV via SOCKS5]
--pd---emv- OK (519 out of 1250, remaining: 18:22, took 1.3s, duration: 13:02)
test 0708...[HTTP GET via SOCKS4 proxy]
--pd---emv- OK (520 out of 1250, remaining: 18:20, took 1.2s, duration: 13:03)
test 0709...[HTTP GET via SOCKS5 set in http_proxy environment variable]
--pd---emv- OK (521 out of 1250, remaining: 18:18, took 1.2s, duration: 13:04)
test 0710...[HTTP GET via SOCKS5 set with --proxy]
--pd---emv- OK (522 out of 1250, remaining: 18:16, took 1.3s, duration: 13:06)
test 0711...[FTP fetch with all_proxy set to socks5]
--pd---emv- OK (523 out of 1250, remaining: 18:14, took 1.3s, duration: 13:07)
test 0712...[FTP fetch with --proxy set to socks5://]
--pd---emv- OK (524 out of 1250, remaining: 18:12, took 1.3s, duration: 13:08)
test 0713...[FTP fetch with --proxy set to socks5:// and with --connect-to]
--pd---emv- OK (525 out of 1250, remaining: 18:11, took 1.3s, duration: 13:10)
test 0714...[FTP fetch with --proxy set to http:// and with --connect-to]
--p----emv- OK (526 out of 1250, remaining: 18:11, took 2.7s, duration: 13:12)
test 0715...[FTP fetch with --preproxy, --proxy and --connect-to]
--p----emv- OK (527 out of 1250, remaining: 18:11, took 2.7s, duration: 13:15)
test 0716...[SOCKS5 proxy with too long user name]
-------emv- OK (528 out of 1250, remaining: 18:09, took 1.2s, duration: 13:16)
test 0717...[SOCKS5 proxy auth]
--pd---emv- OK (529 out of 1250, remaining: 18:07, took 1.3s, duration: 13:17)
test 0800...[IMAP FETCH message]
--pd---emv- OK (530 out of 1250, remaining: 18:05, took 1.3s, duration: 13:19)
test 0801...[IMAP FETCH message by MAILINDEX and SECTION]
--pd---emv- OK (531 out of 1250, remaining: 18:03, took 1.3s, duration: 13:20)
test 0802...[IMAP SELECT UIDVALIDITY Success]
--pd---emv- OK (532 out of 1250, remaining: 18:02, took 1.3s, duration: 13:21)
test 0803...[IMAP SELECT UIDVALIDITY Failure]
--p----emv- OK (533 out of 1250, remaining: 18:00, took 1.3s, duration: 13:23)
test 0804...[IMAP doesn't perform SELECT if re-using the same mailbox]
--pd---emv- OK (534 out of 1250, remaining: 17:58, took 1.4s, duration: 13:24)
test 0805...[IMAP APPEND message]
--p-u--emv- OK (535 out of 1250, remaining: 17:56, took 1.3s, duration: 13:25)
test 0806...[IMAP LIST mailbox]
--pd---emv- OK (536 out of 1250, remaining: 17:55, took 1.3s, duration: 13:27)
test 0807...[IMAP LSUB mailbox]
--pd---emv- OK (537 out of 1250, remaining: 17:53, took 1.3s, duration: 13:28)
test 0808...[IMAP EXAMINE mailbox (CUSTOMREQUEST)]
--pd---emv- OK (538 out of 1250, remaining: 17:51, took 1.2s, duration: 13:29)
test 0809...[IMAP mailbox STATUS (CUSTOMREQUEST)]
--pd---emv- OK (539 out of 1250, remaining: 17:49, took 1.3s, duration: 13:30)
test 0810...[IMAP SEARCH for NEW messages]
--pd---emv- OK (540 out of 1250, remaining: 17:47, took 1.3s, duration: 13:32)
test 0811...[IMAP CREATE mailbox (CUSTOMREQUEST)]
--p----emv- OK (541 out of 1250, remaining: 17:45, took 1.2s, duration: 13:33)
test 0812...[IMAP DELETE mailbox (CUSTOMREQUEST)]
--p----emv- OK (542 out of 1250, remaining: 17:44, took 1.3s, duration: 13:34)
test 0813...[IMAP RENAME mailbox (CUSTOMREQUEST)]
--p----emv- OK (543 out of 1250, remaining: 17:42, took 1.3s, duration: 13:35)
test 0814...[IMAP CHECK mailbox (CUSTOMREQUEST)]
--p----emv- OK (544 out of 1250, remaining: 17:40, took 1.3s, duration: 13:37)
test 0815...[IMAP STORE - delete message (CUSTOMREQUEST)]
--p----emv- OK (545 out of 1250, remaining: 17:38, took 1.4s, duration: 13:38)
test 0816...[IMAP STORE - delete message with confirmation (CUSTOMREQUEST)]
--p----emv- OK (546 out of 1250, remaining: 17:37, took 1.4s, duration: 13:39)
test 0817...[IMAP COPY message to mailbox (CUSTOMREQUEST)]
--p----emv- OK (547 out of 1250, remaining: 17:35, took 1.3s, duration: 13:41)
test 0818...[IMAP NOOP (CUSTOMREQUEST)]
--pd---emv- OK (548 out of 1250, remaining: 17:33, took 1.3s, duration: 13:42)
test 0819...[IMAP plain authentication]
--pd---emv- OK (549 out of 1250, remaining: 17:31, took 1.4s, duration: 13:43)
test 0820...[IMAP login authentication]
--pd---emv- OK (550 out of 1250, remaining: 17:30, took 1.3s, duration: 13:45)
test 0821...[IMAP CRAM-MD5 authentication]
--pd---emv- OK (551 out of 1250, remaining: 17:28, took 1.4s, duration: 13:46)
test 0822...[IMAP NTLM authentication]
--pd---emv- OK (552 out of 1250, remaining: 17:27, took 1.5s, duration: 13:48)
test 0823...[IMAP DIGEST-MD5 authentication]
--pd---emv- OK (553 out of 1250, remaining: 17:25, took 1.4s, duration: 13:49)
test 0824...[IMAP OAuth 2.0 (XOAUTH2) authentication]
--pd---emv- OK (554 out of 1250, remaining: 17:23, took 1.4s, duration: 13:50)
test 0825...[IMAP plain authentication with initial response]
--pd---emv- OK (555 out of 1250, remaining: 17:22, took 1.3s, duration: 13:52)
test 0826...[IMAP login authentication with initial response]
--pd---emv- OK (556 out of 1250, remaining: 17:20, took 1.4s, duration: 13:53)
test 0827...[IMAP NTLM authentication with initial response]
--pd---emv- OK (557 out of 1250, remaining: 17:18, took 1.5s, duration: 13:55)
test 0828...[IMAP OAuth 2.0 (XOAUTH2) authentication with initial response]
--pd---emv- OK (558 out of 1250, remaining: 17:17, took 1.3s, duration: 13:56)
test 0829...[IMAP with URL-encoded CR LF in the URL]
-------emv- OK (559 out of 1250, remaining: 17:15, took 1.2s, duration: 13:57)
test 0830...[IMAP CRAM-MD5 graceful cancellation]
--p----emv- OK (560 out of 1250, remaining: 17:13, took 1.2s, duration: 13:58)
test 0831...[IMAP NTLM graceful cancellation]
--p----emv- OK (561 out of 1250, remaining: 17:11, took 1.2s, duration: 14:00)
test 0832...[IMAP DIGEST-MD5 graceful cancellation]
--p----emv- OK (562 out of 1250, remaining: 17:09, took 1.2s, duration: 14:01)
test 0833...[IMAP CRAM-MD5 authentication with SASL downgrade]
--pd---emv- OK (563 out of 1250, remaining: 17:08, took 1.4s, duration: 14:02)
test 0834...[IMAP NTLM authentication with SASL downgrade]
--pd---emv- OK (564 out of 1250, remaining: 17:06, took 1.4s, duration: 14:04)
test 0835...[IMAP DIGEST-MD5 authentication with SASL downgrade]
--pd---emv- OK (565 out of 1250, remaining: 17:04, took 1.3s, duration: 14:05)
test 0837...[IMAP external authentication]
--pd---emv- OK (566 out of 1250, remaining: 17:03, took 1.3s, duration: 14:06)
test 0838...[IMAP external authentication without credentials]
--pd---emv- OK (567 out of 1250, remaining: 17:01, took 1.3s, duration: 14:08)
test 0839...[IMAP external authentication with initial response]
--pd---emv- OK (568 out of 1250, remaining: 16:59, took 1.3s, duration: 14:09)
test 0840...[IMAP external authentication with initial response without credentials]
--pd---emv- OK (569 out of 1250, remaining: 16:58, took 1.4s, duration: 14:10)
test 0841...[IMAP custom request doesn't check continuation data]
--pd---emv- OK (570 out of 1250, remaining: 16:56, took 1.3s, duration: 14:12)
test 0842...[IMAP OAuth 2.0 (OAUTHBEARER) authentication]
--pd---emv- OK (571 out of 1250, remaining: 16:54, took 1.3s, duration: 14:13)
test 0843...[IMAP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--pd---emv- OK (572 out of 1250, remaining: 16:53, took 1.4s, duration: 14:14)
test 0844...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (573 out of 1250, remaining: 16:51, took 1.2s, duration: 14:15)
test 0845...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (574 out of 1250, remaining: 16:49, took 1.3s, duration: 14:17)
test 0846...[IMAP PREAUTH response]
--pd---emv- OK (575 out of 1250, remaining: 16:47, took 1.3s, duration: 14:18)
test 0847...[IMAP FETCH message]
--pd---emv- OK (576 out of 1250, remaining: 16:46, took 1.3s, duration: 14:19)
test 0848...[IMAP plain authentication with alternative authorization identity]
--pd---emv- OK (577 out of 1250, remaining: 16:44, took 1.4s, duration: 14:21)
test 0849...[IMAP plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (578 out of 1250, remaining: 16:42, took 1.2s, duration: 14:22)
test 0850...[POP3 RETR message]
--pd---emv- OK (579 out of 1250, remaining: 16:43, took 3.3s, duration: 14:25)
test 0851...[POP3 LIST one message]
--p----emv- OK (580 out of 1250, remaining: 16:41, took 1.2s, duration: 14:26)
test 0852...[POP3 LIST invalid message]
--p----emv- OK (581 out of 1250, remaining: 16:39, took 1.2s, duration: 14:28)
test 0853...[POP3 LIST messages from *SLOW* server]
--pd---emv- OK (582 out of 1250, remaining: 16:41, took 4.3s, duration: 14:32)
test 0854...[POP3 LIST no messages available]
--p----emv- OK (583 out of 1250, remaining: 16:39, took 1.2s, duration: 14:33)
test 0855...[POP3 RETR invalid message]
--p----emv- OK (584 out of 1250, remaining: 16:37, took 1.2s, duration: 14:34)
test 0856...[POP3 invalid login]
--p----emv- OK (585 out of 1250, remaining: 16:35, took 1.2s, duration: 14:36)
test 0857...[POP3 RETR message with dot-prefixed line]
--pd---emv- OK (586 out of 1250, remaining: 16:34, took 1.2s, duration: 14:37)
test 0858...[POP3 DELE message (CUSTOMREQUEST)]
--p----emv- OK (587 out of 1250, remaining: 16:32, took 1.2s, duration: 14:38)
test 0859...[POP3 STAT (CUSTOMREQUEST)]
--p----emv- OK (588 out of 1250, remaining: 16:30, took 1.2s, duration: 14:39)
test 0860...[POP3 NOOP (CUSTOMREQUEST)]
--p----emv- OK (589 out of 1250, remaining: 16:28, took 1.2s, duration: 14:40)
test 0861...[POP3 UIDL (CUSTOMREQUEST)]
--pd---emv- OK (590 out of 1250, remaining: 16:26, took 1.3s, duration: 14:42)
test 0862...[POP3 retrieve message header (CUSTOMREQUEST)]
--pd---emv- OK (591 out of 1250, remaining: 16:25, took 1.3s, duration: 14:43)
test 0863...[POP3 RSET (CUSTOMREQUEST)]
--p----emv- OK (592 out of 1250, remaining: 16:23, took 1.2s, duration: 14:44)
test 0864...[POP3 APOP authentication]
--pd---emv- OK (593 out of 1250, remaining: 16:21, took 1.2s, duration: 14:45)
test 0865...[POP3 plain authentication]
--pd---emv- OK (594 out of 1250, remaining: 16:19, took 1.3s, duration: 14:47)
test 0866...[POP3 login authentication]
--pd---emv- OK (595 out of 1250, remaining: 16:17, took 1.3s, duration: 14:48)
test 0867...[POP3 CRAM-MD5 authentication]
--pd---emv- OK (596 out of 1250, remaining: 16:16, took 1.3s, duration: 14:49)
test 0868...[POP3 NTLM authentication]
--pd---emv- OK (597 out of 1250, remaining: 16:14, took 1.3s, duration: 14:51)
test 0869...[POP3 DIGEST-MD5 authentication]
--pd---emv- OK (598 out of 1250, remaining: 16:12, took 1.3s, duration: 14:52)
test 0870...[POP3 OAuth 2.0 (XOAUTH2) authentication]
--pd---emv- OK (599 out of 1250, remaining: 16:11, took 1.3s, duration: 14:53)
test 0871...[POP3 plain authentication with initial response]
--pd---emv- OK (600 out of 1250, remaining: 16:09, took 1.3s, duration: 14:54)
test 0872...[POP3 login authentication with initial response]
--pd---emv- OK (601 out of 1250, remaining: 16:07, took 1.3s, duration: 14:56)
test 0873...[POP3 NTLM authentication with initial response]
--pd---emv- OK (602 out of 1250, remaining: 16:06, took 1.4s, duration: 14:57)
test 0874...[POP3 OAuth 2.0 (XOAUTH2) authentication with initial response]
--pd---emv- OK (603 out of 1250, remaining: 16:04, took 1.3s, duration: 14:58)
test 0875...[POP3 with URL-encoded CR LF in the URL]
-------emv- OK (604 out of 1250, remaining: 16:02, took 1.2s, duration: 15:00)
test 0876...[POP3 CRAM-MD5 graceful cancellation]
--p----emv- OK (605 out of 1250, remaining: 16:00, took 1.2s, duration: 15:01)
test 0877...[POP3 NTLM graceful cancellation]
--p----emv- OK (606 out of 1250, remaining: 15:59, took 1.2s, duration: 15:02)
test 0878...[POP3 DIGEST-MD5 graceful cancellation]
--p----emv- OK (607 out of 1250, remaining: 15:57, took 1.2s, duration: 15:03)
test 0879...[POP3 CRAM-MD5 authentication with SASL downgrade]
--pd---emv- OK (608 out of 1250, remaining: 15:55, took 1.3s, duration: 15:05)
test 0880...[POP3 NTLM authentication with SASL downgrade]
--pd---emv- OK (609 out of 1250, remaining: 15:53, took 1.3s, duration: 15:06)
test 0881...[POP3 DIGEST-MD5 authentication with SASL downgrade]
--pd---emv- OK (610 out of 1250, remaining: 15:52, took 1.3s, duration: 15:07)
test 0883...[POP3 external authentication]
--pd---emv- OK (611 out of 1250, remaining: 15:50, took 1.3s, duration: 15:08)
test 0884...[POP3 external authentication without credentials]
--pd---emv- OK (612 out of 1250, remaining: 15:48, took 1.3s, duration: 15:10)
test 0885...[POP3 external authentication with initial response]
--pd---emv- OK (613 out of 1250, remaining: 15:47, took 1.3s, duration: 15:11)
test 0886...[POP3 external authentication with initial response without credentials]
--pd---emv- OK (614 out of 1250, remaining: 15:45, took 1.3s, duration: 15:12)
test 0887...[POP3 OAuth 2.0 (OAUTHBEARER) authentication]
--pd---emv- OK (615 out of 1250, remaining: 15:43, took 1.3s, duration: 15:14)
test 0888...[POP3 OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--pd---emv- OK (616 out of 1250, remaining: 15:42, took 1.3s, duration: 15:15)
test 0889...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (617 out of 1250, remaining: 15:40, took 1.3s, duration: 15:16)
test 0890...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (618 out of 1250, remaining: 15:38, took 1.2s, duration: 15:17)
test 0891...[POP3 with short authentication response]
--p----emv- OK (619 out of 1250, remaining: 15:36, took 1.2s, duration: 15:19)
test 0892...[POP3 plain authentication with alternative authorization identity]
--pd---emv- OK (620 out of 1250, remaining: 15:35, took 1.3s, duration: 15:20)
test 0893...[POP3 plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (621 out of 1250, remaining: 15:33, took 1.2s, duration: 15:21)
test 0900...[SMTP]
--p-u--emv- OK (622 out of 1250, remaining: 15:31, took 1.2s, duration: 15:22)
test 0901...[SMTP with CRLF-dot-CRLF in data]
--p-u--emv- OK (623 out of 1250, remaining: 15:29, took 1.2s, duration: 15:23)
test 0902...[RFC821-only SMTP server (EHLO not supported)]
--p-u--emv- OK (624 out of 1250, remaining: 15:28, took 1.2s, duration: 15:25)
test 0903...[SMTP plain authentication]
--p-u--emv- OK (625 out of 1250, remaining: 15:26, took 1.3s, duration: 15:26)
test 0904...[SMTP login authentication]
--p-u--emv- OK (626 out of 1250, remaining: 15:24, took 1.3s, duration: 15:27)
test 0905...[SMTP CRAM-MD5 authentication]
--p-u--emv- OK (627 out of 1250, remaining: 15:23, took 1.3s, duration: 15:28)
test 0906...[SMTP NTLM authentication]
--p-u--emv- OK (628 out of 1250, remaining: 15:21, took 1.3s, duration: 15:30)
test 0907...[SMTP DIGEST-MD5 authentication]
--p-u--emv- OK (629 out of 1250, remaining: 15:19, took 1.3s, duration: 15:31)
test 0908...[SMTP OAuth 2.0 (XOAUTH2) authentication]
--p-u--emv- OK (630 out of 1250, remaining: 15:18, took 1.3s, duration: 15:32)
test 0909...[SMTP without SIZE support]
--p-u--emv- OK (631 out of 1250, remaining: 15:16, took 1.2s, duration: 15:34)
test 0910...[SMTP without terminating CRLF]
--p-u--emv- OK (632 out of 1250, remaining: 15:14, took 1.3s, duration: 15:35)
test 0911...[SMTP with no mail data]
--p-u--emv- OK (633 out of 1250, remaining: 15:12, took 1.2s, duration: 15:36)
test 0912...[SMTP with SIZE support]
--p-u--emv- OK (634 out of 1250, remaining: 15:11, took 1.2s, duration: 15:37)
test 0913...[SMTP with large message SIZE]
--p----emv- OK (635 out of 1250, remaining: 15:09, took 1.2s, duration: 15:38)
test 0914...[SMTP invalid --mail-from]
--p----emv- OK (636 out of 1250, remaining: 15:07, took 1.2s, duration: 15:40)
test 0915...[SMTP without --mail-from]
--p-u--emv- OK (637 out of 1250, remaining: 15:05, took 1.2s, duration: 15:41)
test 0916...[SMTP with invalid --mail-rcpt]
--p----emv- OK (638 out of 1250, remaining: 15:04, took 1.2s, duration: 15:42)
test 0917...[SMTP with multiple --mail-rcpt]
--p-u--emv- OK (639 out of 1250, remaining: 15:02, took 1.2s, duration: 15:43)
test 0918...[SMTP with multiple and invalid --mail-rcpt]
--p----emv- OK (640 out of 1250, remaining: 15:00, took 1.2s, duration: 15:45)
test 0919...[SMTP plain authentication with initial response]
--p-u--emv- OK (641 out of 1250, remaining: 14:59, took 1.3s, duration: 15:46)
test 0920...[SMTP login authentication with initial response]
--p-u--emv- OK (642 out of 1250, remaining: 14:57, took 1.3s, duration: 15:47)
test 0921...[SMTP NTLM authentication with initial response]
--p-u--emv- OK (643 out of 1250, remaining: 14:55, took 1.3s, duration: 15:48)
test 0922...[SMTP OAuth 2.0 (XOAUTH2) authentication with initial response]
--p-u--emv- OK (644 out of 1250, remaining: 14:54, took 1.2s, duration: 15:50)
test 0923...[SMTP VRFY]
--pd---emv- OK (645 out of 1250, remaining: 14:52, took 1.2s, duration: 15:51)
test 0924...[SMTP ambiguous VRFY]
--pd---emv- OK (646 out of 1250, remaining: 14:50, took 1.2s, duration: 15:52)
test 0925...[SMTP external VRFY]
--pd---emv- OK (647 out of 1250, remaining: 14:48, took 1.2s, duration: 15:53)
test 0926...[SMTP unknown user VRFY]
--p----emv- OK (648 out of 1250, remaining: 14:47, took 1.2s, duration: 15:54)
test 0927...[SMTP mailing list EXPN (CUSTOMREQUEST)]
--pd---emv- OK (649 out of 1250, remaining: 14:45, took 1.2s, duration: 15:56)
test 0928...[SMTP HELP]
--pd---emv- OK (650 out of 1250, remaining: 14:43, took 1.2s, duration: 15:57)
test 0929...[SMTP NOOP (CUSTOMREQUEST)]
--p----emv- OK (651 out of 1250, remaining: 14:42, took 1.3s, duration: 15:58)
test 0930...[SMTP RSET (CUSTOMREQUEST)]
--p----emv- OK (652 out of 1250, remaining: 14:40, took 1.2s, duration: 15:59)
test 0931...[SMTP with URL-encoded CR LF in the URL]
-------emv- OK (653 out of 1250, remaining: 14:38, took 1.2s, duration: 16:01)
test 0932...[SMTP CRAM-MD5 graceful cancellation]
--p----emv- OK (654 out of 1250, remaining: 14:37, took 1.3s, duration: 16:02)
test 0933...[SMTP NTLM graceful cancellation]
--p----emv- OK (655 out of 1250, remaining: 14:35, took 1.3s, duration: 16:03)
test 0934...[SMTP DIGEST-MD5 graceful cancellation]
--p----emv- OK (656 out of 1250, remaining: 14:33, took 1.3s, duration: 16:04)
test 0935...[SMTP CRAM-MD5 authentication with SASL downgrade]
--p-u--emv- OK (657 out of 1250, remaining: 14:32, took 1.3s, duration: 16:06)
test 0936...[SMTP NTLM authentication with SASL downgrade]
--p-u--emv- OK (658 out of 1250, remaining: 14:30, took 1.3s, duration: 16:07)
test 0937...[SMTP DIGEST-MD5 authentication with SASL downgrade]
--p-u--emv- OK (659 out of 1250, remaining: 14:28, took 1.3s, duration: 16:08)
test 0939...[RFC821-only SMTP with username and password]
--p-u--emv- OK (660 out of 1250, remaining: 14:27, took 1.2s, duration: 16:10)
test 0940...[SMTP with username and password but no AUTH capability]
--p-u--emv- OK (661 out of 1250, remaining: 14:25, took 1.2s, duration: 16:11)
test 0941...[SMTP with --crlf]
--p-u--emv- OK (662 out of 1250, remaining: 14:23, took 1.3s, duration: 16:12)
test 0942...[SMTP external authentication]
--p-u--emv- OK (663 out of 1250, remaining: 14:22, took 1.2s, duration: 16:13)
test 0943...[SMTP external authentication without credentials]
--p-u--emv- OK (664 out of 1250, remaining: 14:20, took 1.2s, duration: 16:14)
test 0944...[SMTP external authentication with initial response]
--p-u--emv- OK (665 out of 1250, remaining: 14:18, took 1.3s, duration: 16:16)
test 0945...[SMTP external authentication with initial response without credentials]
--p-u--emv- OK (666 out of 1250, remaining: 14:17, took 1.2s, duration: 16:17)
test 0946...[SMTP OAuth 2.0 (OAUTHBEARER) authentication]
--p-u--emv- OK (667 out of 1250, remaining: 14:15, took 1.3s, duration: 16:18)
test 0947...[SMTP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--p-u--emv- OK (668 out of 1250, remaining: 14:13, took 1.2s, duration: 16:19)
test 0948...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (669 out of 1250, remaining: 14:12, took 1.3s, duration: 16:21)
test 0949...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (670 out of 1250, remaining: 14:10, took 1.3s, duration: 16:22)
test 0950...[SMTP VRFY with custom request]
--pd---emv- OK (671 out of 1250, remaining: 14:08, took 1.2s, duration: 16:23)
test 0951...[SMTP data with dot as first character]
--p-u--emv- OK (672 out of 1250, remaining: 14:07, took 1.2s, duration: 16:24)
test 0952...[SMTP data with single dot-only line]
--p-u--emv- OK (673 out of 1250, remaining: 14:05, took 1.2s, duration: 16:26)
test 0953...[SMTP plain authentication with alternative authorization identity]
--p-u--emv- OK (674 out of 1250, remaining: 14:03, took 1.2s, duration: 16:27)
test 0954...[SMTP plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (675 out of 1250, remaining: 14:02, took 1.2s, duration: 16:28)
test 1000...[FTP dir list PASV with -I]
--p----emv- OK (676 out of 1250, remaining: 14:00, took 1.2s, duration: 16:29)
test 1001...[HTTP POST --digest with PUT and resumed upload and modified method]
--pd---emv- OK (677 out of 1250, remaining: 13:59, took 2.3s, duration: 16:32)
test 1002...[HTTP PUT with Digest auth, resumed upload and modified method, twice]
--pd---emv- OK (678 out of 1250, remaining: 13:59, took 3.3s, duration: 16:35)
test 1003...[FTP with excessively large server command response line]
--pd---emv- OK (679 out of 1250, remaining: 13:58, took 1.3s, duration: 16:36)
test 1004...[HTTP GET with empty proxy]
valgrind SKIPPED
--pd---em-- OK (680 out of 1250, remaining: 13:55, took 0.0s, duration: 16:36)
test 1005...[FTP with excessively large number of server command response lines]
--pd---emv- OK (681 out of 1250, remaining: 13:53, took 1.3s, duration: 16:38)
test 1006...[FTP with excessively large number of server command response lines (boundary condition)]
--pd---emv- OK (682 out of 1250, remaining: 13:52, took 1.3s, duration: 16:39)
test 1007...[TFTP send with invalid permission on server]
--p----emv- OK (683 out of 1250, remaining: 13:50, took 1.2s, duration: 16:40)
test 1008...[HTTP proxy CONNECT auth NTLM with chunked-encoded 407 response]
--pd---emv- OK (684 out of 1250, remaining: 13:49, took 1.5s, duration: 16:42)
test 1009...[TFTP retrieve with --local-port]
--pd---emv- OK (685 out of 1250, remaining: 13:47, took 1.2s, duration: 16:43)
test 1010...[FTP dir list nocwd]
--pd---emv- OK (686 out of 1250, remaining: 13:45, took 1.3s, duration: 16:44)
test 1011...[HTTP POST with 301 redirect]
--pd---emv- OK (687 out of 1250, remaining: 13:44, took 1.3s, duration: 16:45)
test 1012...[HTTP POST with 301 redirect and --post301]
--pd---emv- OK (688 out of 1250, remaining: 13:42, took 1.3s, duration: 16:47)
test 1013...[Compare curl --version with curl-config --protocols]
-------emv- OK (689 out of 1250, remaining: 13:40, took 0.9s, duration: 16:48)
test 1014...[Compare curl --version with curl-config --features]
-------emv- OK (690 out of 1250, remaining: 13:38, took 0.9s, duration: 16:48)
test 1015...[--data-urlencode]
--pd---emv- OK (691 out of 1250, remaining: 13:37, took 1.2s, duration: 16:50)
test 1016...[X-Y range on a file:// URL to stdout]
s------emv- OK (692 out of 1250, remaining: 13:35, took 1.1s, duration: 16:51)
test 1017...[0-Y range on a file:// URL to stdout]
s------emv- OK (693 out of 1250, remaining: 13:33, took 1.1s, duration: 16:52)
test 1018...[X-X range on a file:// URL to stdout]
s------emv- OK (694 out of 1250, remaining: 13:31, took 1.1s, duration: 16:53)
test 1019...[X- range on a file:// URL to stdout]
s------emv- OK (695 out of 1250, remaining: 13:30, took 1.2s, duration: 16:54)
test 1020...[-Y range on a file:// URL to stdout]
s------emv- OK (696 out of 1250, remaining: 13:28, took 1.1s, duration: 16:55)
test 1021...[HTTP proxy CONNECT with any proxyauth and proxy offers NTLM and close]
--pd---emv- OK (697 out of 1250, remaining: 13:27, took 1.4s, duration: 16:57)
test 1022...[Compare curl --version with curl-config --version]
-------emv- OK (698 out of 1250, remaining: 13:25, took 0.9s, duration: 16:58)
test 1023...[Compare curl --version with curl-config --vernum]
-------emv- OK (699 out of 1250, remaining: 13:23, took 0.9s, duration: 16:59)
test 1024...[HTTP Location: following with cookies]
--pd---emv- OK (700 out of 1250, remaining: 13:21, took 1.3s, duration: 17:00)
test 1025...[HTTP Location: following with command-line and server cookies]
--pd---emv- OK (701 out of 1250, remaining: 13:20, took 1.3s, duration: 17:01)
test 1026...[curl --manual ]
-------emv- OK (702 out of 1250, remaining: 13:18, took 0.9s, duration: 17:02)
test 1027...[curl --help]
-------emv- OK (703 out of 1250, remaining: 13:16, took 0.9s, duration: 17:03)
test 1028...[HTTP Location: redirect to FTP URL]
s-p----emv- OK (704 out of 1250, remaining: 13:14, took 1.3s, duration: 17:04)
test 1029...[HTTP Location: and 'redirect_url' check]
s-p----emv- OK (705 out of 1250, remaining: 13:13, took 1.2s, duration: 17:05)
test 1030...[HTTP PUT with --anyauth authorization (picking Digest)]
--pd---emv- OK (706 out of 1250, remaining: 13:13, took 3.3s, duration: 17:09)
test 1031...[HTTP Location: following to a query string]
--pd---emv- OK (707 out of 1250, remaining: 13:11, took 1.3s, duration: 17:10)
test 1032...[HTTP HEAD with --range]
--pd---emv- OK (708 out of 1250, remaining: 13:09, took 1.2s, duration: 17:11)
test 1033...[HTTP GET with 102 response!]
--pd---emv- OK (709 out of 1250, remaining: 13:08, took 1.3s, duration: 17:12)
test 1034...[HTTP over proxy with malformatted IDN host name]
-------emv- OK (710 out of 1250, remaining: 13:06, took 1.1s, duration: 17:14)
test 1035...[HTTP over proxy with too long IDN host name]
-------emv- OK (711 out of 1250, remaining: 13:04, took 1.1s, duration: 17:15)
test 1036...[FTP download resume from end of file]
--p---oemv- OK (712 out of 1250, remaining: 13:03, took 1.2s, duration: 17:16)
test 1037...[FTP download resume from end of empty file]
--p----emv- OK (713 out of 1250, remaining: 13:01, took 1.2s, duration: 17:17)
test 1038...[FTP PASV upload resume from end of file]
--p-u--emv- OK (714 out of 1250, remaining: 12:59, took 1.3s, duration: 17:18)
test 1039...[FTP PASV upload resume from end of empty file]
--p-u--emv- OK (715 out of 1250, remaining: 12:58, took 1.2s, duration: 17:20)
test 1040...[HTTP GET with resume from end of entirely-downloaded file]
--pd---emv- OK (716 out of 1250, remaining: 12:56, took 1.2s, duration: 17:21)
test 1041...[HTTP PUT with resume from end of already-uploaded file]
--pd---emv- OK (717 out of 1250, remaining: 12:55, took 2.2s, duration: 17:23)
test 1042...[HTTP GET beyond end of entirely-downloaded file, no server resume]
--pd---emv- OK (718 out of 1250, remaining: 12:54, took 1.2s, duration: 17:24)
test 1043...[HTTP GET with resume from end of file]
--pd---emv- OK (719 out of 1250, remaining: 12:52, took 1.2s, duration: 17:26)
test 1044...[FTP download large file info with -I]
s-p----emv- OK (720 out of 1250, remaining: 12:50, took 1.2s, duration: 17:27)
test 1045...[HTTP GET with numeric localhost --interface]
--pd---emv- OK (721 out of 1250, remaining: 12:49, took 1.2s, duration: 17:28)
test 1046...[HTTP-IPv6 GET with numeric localhost --interface]
--pd---emv- OK (722 out of 1250, remaining: 12:47, took 1.2s, duration: 17:29)
test 1047...[FTP dir list PASV with localhost --interface]
--pd---emv- OK (723 out of 1250, remaining: 12:46, took 1.3s, duration: 17:30)
test 1048...[FTP-IPv6 dir list PASV with localhost --interface]
--pd---emv- OK (724 out of 1250, remaining: 12:44, took 1.3s, duration: 17:32)
test 1049...[TFTP retrieve with localhost --interface]
--pd---emv- OK (725 out of 1250, remaining: 12:42, took 1.2s, duration: 17:33)
test 1050...[FTP-IPv6 dir list, EPRT with specified IP]
--pd---emv- OK (726 out of 1250, remaining: 12:41, took 1.3s, duration: 17:34)
test 1051...[HTTP PUT with Location: following]
--pd---emv- OK (727 out of 1250, remaining: 12:41, took 3.2s, duration: 17:37)
test 1052...[HTTP 1.0 PUT with Location: following]
--pd---emv- OK (728 out of 1250, remaining: 12:39, took 1.2s, duration: 17:39)
test 1053...[HTTP RFC1867-type formposting from file with Location: following]
--pd---emv- OK (729 out of 1250, remaining: 12:37, took 1.3s, duration: 17:40)
test 1054...[HTTP POST from file with 301 redirect and --post301]
--pd---emv- OK (730 out of 1250, remaining: 12:36, took 1.3s, duration: 17:41)
test 1055...[HTTP PUT Location: redirect to FTP URL]
--pdu--emv- OK (731 out of 1250, remaining: 12:35, took 2.3s, duration: 17:44)
test 1056...[HTTP follow redirect from IPv4 to IPv6 with scope]
--pd---emv- OK (732 out of 1250, remaining: 12:33, took 1.3s, duration: 17:45)
test 1057...[FTP retrieve a byte-range relative to end of file]
--pd---emv- OK (733 out of 1250, remaining: 12:32, took 1.3s, duration: 17:46)
test 1058...[HTTP range relative to end of file]
--pd---emv- OK (734 out of 1250, remaining: 12:30, took 1.2s, duration: 17:47)
test 1059...[HTTP CONNECT with proxytunnel to unsupported FTP URL]
--p----emv- OK (735 out of 1250, remaining: 12:29, took 1.2s, duration: 17:48)
test 1060...[HTTP proxy CONNECT auth Digest, large headers and data]
--pd---emv- OK (736 out of 1250, remaining: 12:29, took 3.6s, duration: 17:52)
test 1061...[HTTP proxy CONNECT auth Digest, large headers and chunked data]
--pd---emv- OK (737 out of 1250, remaining: 12:29, took 3.7s, duration: 17:56)
test 1062...[FTP with excessively long server command response lines, boundary condition]
--pd---emv- OK (738 out of 1250, remaining: 12:27, took 1.4s, duration: 17:57)
test 1063...[Invalid large X- range on a file://]
-------emv- OK (739 out of 1250, remaining: 12:25, took 1.1s, duration: 17:58)
test 1064...[HTTP PUT twice]
s-p----emv- OK (740 out of 1250, remaining: 12:24, took 1.2s, duration: 18:00)
test 1065...[HTTP PUT with one file but two URLs]
s-p----emv- OK (741 out of 1250, remaining: 12:22, took 1.2s, duration: 18:01)
test 1066...[HTTP --dump-header - with two URLs]
s-p----emv- OK (742 out of 1250, remaining: 12:21, took 1.3s, duration: 18:02)
test 1067...[HTTP Location: following with auto-referer]
--pd---emv- OK (743 out of 1250, remaining: 12:19, took 1.2s, duration: 18:03)
test 1068...[HTTP PUT from stdin]
--pd---emv- OK (744 out of 1250, remaining: 12:18, took 2.2s, duration: 18:05)
test 1069...[HTTP 1.0 PUT from stdin with no content length]
-------emv- OK (745 out of 1250, remaining: 12:16, took 1.2s, duration: 18:07)
test 1070...[HTTP POST with server closing connection before (all) data is received]
--pd---emv- OK (746 out of 1250, remaining: 12:15, took 2.2s, duration: 18:09)
test 1071...[Downgraded HTTP PUT to HTTP 1.0 with authorization]
--pd---emv- OK (747 out of 1250, remaining: 12:15, took 2.3s, duration: 18:11)
test 1072...[HTTP chunked PUT to HTTP 1.0 server with authorization]
--pd---emv- OK (748 out of 1250, remaining: 12:14, took 2.3s, duration: 18:13)
test 1073...[HTTP chunked PUT to HTTP 1.0 server with redirect]
--pd---emv- OK (749 out of 1250, remaining: 12:13, took 2.2s, duration: 18:16)
test 1074...[HTTP downgrade to HTTP/1.0 on second request]
s-p----emv- OK (750 out of 1250, remaining: 12:12, took 3.2s, duration: 18:19)
test 1075...[HTTP PUT with --anyauth authorization (picking Basic)]
--pd---emv- OK (751 out of 1250, remaining: 12:12, took 3.3s, duration: 18:22)
test 1076...[HTTP POST with 302 redirect and --post302]
--pd---emv- OK (752 out of 1250, remaining: 12:11, took 1.3s, duration: 18:23)
test 1077...[FTP over HTTP proxy with downgrade to HTTP 1.0]
--pd---emv- OK (753 out of 1250, remaining: 12:09, took 1.3s, duration: 18:25)
test 1078...[HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0]
s-p--P-emv- OK (754 out of 1250, remaining: 12:08, took 1.7s, duration: 18:26)
test 1079...[HTTP retry after closed connection and empty response]
--pd---emv- OK (755 out of 1250, remaining: 12:06, took 1.3s, duration: 18:28)
test 1080...[HTTP Location: on two URLs 'redirect_url' check]
s-p----emv- OK (756 out of 1250, remaining: 12:05, took 1.3s, duration: 18:29)
test 1081...[HTTP no Location: on second URL 'redirect_url' check]
s-p----emv- OK (757 out of 1250, remaining: 12:03, took 1.2s, duration: 18:30)
test 1082...[HTTP GET with localhost --interface]
--pd---emv- OK (758 out of 1250, remaining: 12:01, took 1.3s, duration: 18:32)
test 1083...[HTTP-IPv6 GET with ip6-localhost --interface]
--pd---emv- OK (759 out of 1250, remaining: 12:00, took 1.2s, duration: 18:33)
test 1084...[HTTP GET with invalid --interface]
-------emv- OK (760 out of 1250, remaining: 11:58, took 1.2s, duration: 18:34)
test 1085...[HTTP-IPv6 GET with invalid --interface]
-------emv- OK (761 out of 1250, remaining: 11:56, took 1.2s, duration: 18:35)
test 1086...[FTP download with strict timeout and slow data transfer]
Killed
Killed
--p----emv- OK (762 out of 1250, remaining: 12:03, took 14.1s, duration: 18:49)
test 1087...[HTTP, proxy with --anyauth and Location: to new host]
--pd---emv- OK (763 out of 1250, remaining: 12:01, took 1.3s, duration: 18:50)
test 1088...[HTTP, proxy with --anyauth and Location: to new host using location-trusted]
--pd---emv- OK (764 out of 1250, remaining: 12:00, took 1.3s, duration: 18:52)
test 1089...[HTTP GET --write-out with redirected fetch]
s-p----emv- OK (765 out of 1250, remaining: 11:58, took 1.2s, duration: 18:53)
test 1090...[HTTP GET --write-out with redirected fetch and chunked reply]
s-p----emv- OK (766 out of 1250, remaining: 11:56, took 1.2s, duration: 18:54)
test 1091...[FTP URL with type=i]
--pd---emv- OK (767 out of 1250, remaining: 11:56, took 3.3s, duration: 18:58)
test 1092...[FTP with type=i over HTTP proxy]
--pd---emv- OK (768 out of 1250, remaining: 11:55, took 1.2s, duration: 18:59)
test 1093...[TFTP retrieve with mode=i]
--pd---emv- OK (769 out of 1250, remaining: 11:53, took 1.2s, duration: 19:00)
test 1094...[TFTP retrieve with mode=netascii]
--pd---emv- OK (770 out of 1250, remaining: 11:51, took 1.2s, duration: 19:01)
test 1095...[HTTP with Digest and realm with quoted quotes]
--pd---emv- OK (771 out of 1250, remaining: 11:50, took 1.3s, duration: 19:02)
test 1096...[Two FTP downloads, with failed RETR but re-used control connection]
Killed
Killed
--p----emv- OK (772 out of 1250, remaining: 11:48, took 1.3s, duration: 19:04)
test 1097...[HTTP POST using CONNECT with --proxy-ntlm but no auth is required]
--pd---emv- OK (773 out of 1250, remaining: 11:46, took 1.2s, duration: 19:05)
test 1098...[FTP RETR twice over proxy confirming persistent connection]
s-p----emv- OK (774 out of 1250, remaining: 11:45, took 1.3s, duration: 19:06)
test 1099...[TFTP get first a non-existing file then an existing]
s-p----emv- OK (775 out of 1250, remaining: 11:43, took 1.2s, duration: 19:07)
test 1100...[HTTP POST with NTLM authorization and following a 302 redirect]
--pd---emv- OK (776 out of 1250, remaining: 11:41, took 1.3s, duration: 19:09)
test 1101...[NO_PROXY test, with user name in URL]
--pd---emv- OK (777 out of 1250, remaining: 11:40, took 1.2s, duration: 19:10)
test 1102...[FTP OS/400 server name format check]
--p----emv- OK (778 out of 1250, remaining: 11:38, took 1.3s, duration: 19:11)
test 1103...[FTP non-OS/400 server]
--p----emv- OK (779 out of 1250, remaining: 11:37, took 1.2s, duration: 19:12)
test 1104...[HTTP cookie expiry date at Jan 1 00:00:00 GMT 1970]
--pd---emv- OK (780 out of 1250, remaining: 11:35, took 1.3s, duration: 19:14)
test 1105...[HTTP with cookie parser and header recording]
--pd--oemv- OK (781 out of 1250, remaining: 11:33, took 1.2s, duration: 19:15)
test 1106...[FTP URL and with ftp_proxy environment variable set]
--p----emv- OK (782 out of 1250, remaining: 11:32, took 1.2s, duration: 19:16)
test 1107...[FTP RETR PASV with PRET]
--pd---emv- OK (783 out of 1250, remaining: 11:30, took 1.2s, duration: 19:17)
test 1108...[FTP RETR PASV with PRET not supported]
--p----emv- OK (784 out of 1250, remaining: 11:28, took 1.2s, duration: 19:19)
test 1109...[HTTP GET with URL that contains fragment after the path]
--pd---emv- OK (785 out of 1250, remaining: 11:27, took 1.2s, duration: 19:20)
test 1110...[HTTP GET with URL that contains a fragment after the query part]
--pd---emv- OK (786 out of 1250, remaining: 11:25, took 1.2s, duration: 19:21)
test 1111...[HTTP GET with URL whose fragment contains a # (which is illegal)]
--pd---emv- OK (787 out of 1250, remaining: 11:23, took 1.2s, duration: 19:22)
test 1112...[FTPS download with strict timeout and slow data transfer]
Killed
Killed
goto problem 32
valgrind ERROR ==2470== Invalid read of size 8
==2470== at 0x53315A5: check_free (dlerror.c:188)
==2470== by 0x5331AB1: free_key_mem (dlerror.c:221)
==2470== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==2470== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==2470== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==2470== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==2470== by 0x4D60EB9: exit (exit.c:139)
==2470== by 0x4D4B0A1: (below main) (libc-start.c:342)
==2470== Address 0x5af4ff0 is 0 bytes after a block of size 32 alloc'd
==2470== at 0x483577F: malloc (vg_replace_malloc.c:309)
==2470== by 0x25C282: OPENSSL_malloc (mem.c:106)
==2470== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==2470== by 0x24B104: err_get_state (err.c:210)
==2470== by 0x24BCDA: ERR_put_error (err.c:636)
==2470== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==2470== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==2470== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==2470== by 0x270326: by_file_ctrl (by_file.c:111)
==2470== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==2470== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==2470== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==2470== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==2470== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==2470== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==2470== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==2470==
==2470== Invalid free() / delete / delete[] / realloc()
==2470== at 0x48369AB: free (vg_replace_malloc.c:540)
==2470== by 0x5331AB9: free_key_mem (dlerror.c:223)
==2470== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==2470== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==2470== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==2470== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==2470== by 0x4D60EB9: exit (exit.c:139)
==2470== by 0x4D4B0A1: (below main) (libc-start.c:342)
==2470== Address 0x5af4fd8 is 8 bytes inside a block of size 32 alloc'd
==2470== at 0x483577F: malloc (vg_replace_malloc.c:309)
==2470== by 0x25C282: OPENSSL_malloc (mem.c:106)
==2470== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==2470== by 0x24B104: err_get_state (err.c:210)
==2470== by 0x24BCDA: ERR_put_error (err.c:636)
==2470== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==2470== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==2470== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==2470== by 0x270326: by_file_ctrl (by_file.c:111)
==2470== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==2470== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==2470== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==2470== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==2470== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==2470== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==2470== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==2470==
==2470== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==2470== at 0x483577F: malloc (vg_replace_malloc.c:309)
==2470== by 0x25C282: OPENSSL_malloc (mem.c:106)
==2470== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==2470== by 0x24B104: err_get_state (err.c:210)
==2470== by 0x24BCDA: ERR_put_error (err.c:636)
==2470== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==2470== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==2470== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==2470== by 0x270326: by_file_ctrl (by_file.c:111)
==2470== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==2470== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==2470== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==2470== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==2470== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==2470== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==2470== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==2470==
== 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:38.997968 ====> Client connect
03:10:38.998071 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:10:38.998380 < "USER anonymous"
03:10:38.998413 > "331 We are happy you popped in![CR][LF]"
03:10:38.998612 < "PASS ftp@example.com"
03:10:38.998640 > "230 Welcome you silly person[CR][LF]"
03:10:38.998827 < "PBSZ 0"
03:10:38.998854 > "500 PBSZ not implemented[CR][LF]"
03:10:38.999051 < "PROT C"
03:10:38.999078 > "500 PROT not implemented[CR][LF]"
03:10:38.999261 < "PWD"
03:10:38.999289 > "257 "/" is current directory[CR][LF]"
03:10:38.999503 < "EPSV"
03:10:38.999529 ====> Passive DATA channel requested by client
03:10:38.999541 DATA sockfilt for passive data channel starting...
03:10:39.000999 DATA sockfilt for passive data channel started (pid 2467)
03:10:39.001088 DATA sockfilt for passive data channel listens on port 43697
03:10:39.001125 > "229 Entering Passive Mode (|||43697|)[LF]"
03:10:39.001147 Client has been notified that DATA conn will be accepted on port 43697
03:10:39.001404 Client connects to port 43697
03:10:39.001432 ====> Client established passive DATA connection on port 43697
03:10:39.001505 < "TYPE I"
03:10:39.001532 > "200 I modify TYPE as you wanted[CR][LF]"
03:10:39.001755 < "SIZE verifiedserver"
03:10:39.001788 > "213 16[CR][LF]"
03:10:39.002026 < "RETR verifiedserver"
03:10:39.002061 > "150 Binary junk (16 bytes).[CR][LF]"
03:10:39.002125 =====> Closing passive DATA connection...
03:10:39.002147 Server disconnects passive DATA connection
03:10:39.002218 DATA sockfilt for passive data channel quits (pid 2468)
03:10:39.002239 =====> Closed passive DATA connection
03:10:39.002268 > "226 File transfer complete[CR][LF]"
03:10:39.043571 < "QUIT"
03:10:39.043618 > "221 bye bye baby[CR][LF]"
03:10:39.043753 MAIN sockfilt said DISC
03:10:39.043787 ====> Client disconnected
03:10:39.043838 Awaiting input
03:10:43.147676 ====> Client connect
03:10:43.147757 FTPD: Getting commands from log/ftpserver.cmd
03:10:43.147782 FTPD: send response with 0.01 sec delay between each byte
03:10:43.147852 FTPD: set custom reply for USER command
03:10:43.147889 FTPD: set custom reply for PASS command
03:10:43.147923 FTPD: set custom reply for PWD command
03:10:43.147955 FTPD: set custom reply for TYPE command
03:10:44.758914 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:10:44.759050 < "USER anonymous"
03:10:44.839620 > "331 OK[CR][LF]"
03:10:44.839730 < "PASS ftp@example.com"
03:10:44.920315 > "230 OK[CR][LF]"
03:10:44.920429 < "PBSZ 0"
03:10:45.182116 > "500 PBSZ not implemented[CR][LF]"
03:10:45.182241 < "PROT C"
03:10:45.444104 > "500 PROT not implemented[CR][LF]"
03:10:45.444222 < "PWD"
03:10:45.534878 > "257 "/"[CR][LF]"
03:10:45.534988 < "EPSV"
03:10:45.535019 ====> Passive DATA channel requested by client
03:10:45.535032 DATA sockfilt for passive data channel starting...
03:10:45.536506 DATA sockfilt for passive data channel started (pid 2476)
03:10:45.536630 DATA sockfilt for passive data channel listens on port 46803
03:10:45.919197 > "229 Entering Passive Mode (|||46803|)[LF]"
03:10:45.919246 Client has been notified that DATA conn will be accepted on port 46803
03:10:45.919292 Client connects to port 46803
03:10:45.919323 ====> Client established passive DATA connection on port 46803
03:10:45.922358 < "TYPE I"
03:10:46.002989 > "200 OK[CR][LF]"
03:10:46.003106 < "SIZE 1112"
03:10:46.104150 > "213 3600[CR][LF]"
03:10:46.104307 < "RETR 1112"
03:10:46.648240 > "150 Binary data connection for 1112 () (3600 bytes).[CR][LF]"
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:10:39.098679 ====> Client connect
03:10:39.098870 Received DATA (on stdin)
03:10:39.098890 > 160 bytes data, server => client
03:10:39.098910 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:10:39.098926 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:10:39.098937 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:10:39.099104 < 16 bytes data, client => server
03:10:39.099130 'USER anonymous\r\n'
03:10:39.099221 Received DATA (on stdin)
03:10:39.099241 > 33 bytes data, server => client
03:10:39.099253 '331 We are happy you popped in!\r\n'
03:10:39.099374 < 22 bytes data, client => server
03:10:39.099395 'PASS ftp@example.com\r\n'
03:10:39.099447 Received DATA (on stdin)
03:10:39.099465 > 30 bytes data, server => client
03:10:39.099481 '230 Welcome you silly person\r\n'
03:10:39.099590 < 8 bytes data, client => server
03:10:39.099608 'PBSZ 0\r\n'
03:10:39.099661 Received DATA (on stdin)
03:10:39.099679 > 26 bytes data, server => client
03:10:39.099695 '500 PBSZ not implemented\r\n'
03:10:39.099815 < 8 bytes data, client => server
03:10:39.099833 'PROT C\r\n'
03:10:39.099885 Received DATA (on stdin)
03:10:39.099903 > 26 bytes data, server => client
03:10:39.099918 '500 PROT not implemented\r\n'
03:10:39.100025 < 5 bytes data, client => server
03:10:39.100042 'PWD\r\n'
03:10:39.100096 Received DATA (on stdin)
03:10:39.100115 > 30 bytes data, server => client
03:10:39.100130 '257 "/" is current directory\r\n'
03:10:39.100269 < 6 bytes data, client => server
03:10:39.100285 'EPSV\r\n'
03:10:39.101929 Received DATA (on stdin)
03:10:39.101950 > 38 bytes data, server => client
03:10:39.101970 '229 Entering Passive Mode (|||43697|)\n'
03:10:39.102273 < 8 bytes data, client => server
03:10:39.102294 'TYPE I\r\n'
03:10:39.102354 Received DATA (on stdin)
03:10:39.102369 > 33 bytes data, server => client
03:10:39.102384 '200 I modify TYPE as you wanted\r\n'
03:10:39.102530 < 21 bytes data, client => server
03:10:39.102545 'SIZE verifiedserver\r\n'
03:10:39.102610 Received DATA (on stdin)
03:10:39.102625 > 8 bytes data, server => client
03:10:39.102638 '213 16\r\n'
03:10:39.102779 < 21 bytes data, client => server
03:10:39.102793 'RETR verifiedserver\r\n'
03:10:39.102884 Received DATA (on stdin)
03:10:39.102898 > 29 bytes data, server => client
03:10:39.102913 '150 Binary junk (16 bytes).\r\n'
03:10:39.103075 Received DATA (on stdin)
03:10:39.103093 > 28 bytes data, server => client
03:10:39.103111 '226 File transfer complete\r\n'
03:10:39.144273 < 6 bytes data, client => server
03:10:39.144311 'QUIT\r\n'
03:10:39.144423 Received DATA (on stdin)
03:10:39.144434 > 18 bytes data, server => client
03:10:39.144444 '221 bye bye baby\r\n'
03:10:39.144525 ====> Client disconnect
03:10:43.248421 ====> Client connect
03:10:43.248810 Received DATA (on stdin)
03:10:43.248825 > 1 bytes data, server => client
03:10:43.248835 '2'
03:10:43.258894 Received DATA (on stdin)
03:10:43.258921 > 1 bytes data, server => client
03:10:43.258930 '2'
03:10:43.268960 Received DATA (on stdin)
03:10:43.268980 > 1 bytes data, server => client
03:10:43.268990 '0'
03:10:43.279037 Received DATA (on stdin)
03:10:43.279083 > 1 bytes data, server => client
03:10:43.279094 '-'
03:10:43.289109 Received DATA (on stdin)
03:10:43.289149 > 1 bytes data, server => client
03:10:43.289165 ' '
03:10:43.299186 Received DATA (on stdin)
03:10:43.299226 > 1 bytes data, server => client
03:10:43.299237 ' '
03:10:43.309255 Received DATA (on stdin)
03:10:43.309282 > 1 bytes data, server => client
03:10:43.309292 ' '
03:10:43.319324 Received DATA (on stdin)
03:10:43.319349 > 1 bytes data, server => client
03:10:43.319358 ' '
03:10:43.329395 Received DATA (on stdin)
03:10:43.329416 > 1 bytes data, server => client
03:10:43.329426 ' '
03:10:43.339463 Received DATA (on stdin)
03:10:43.339480 > 1 bytes data, server => client
03:10:43.339490 ' '
03:10:43.349536 Received DATA (on stdin)
03:10:43.349560 > 1 bytes data, server => client
03:10:43.349574 ' '
03:10:43.359586 Received DATA (on stdin)
03:10:43.359613 > 1 bytes data, server => client
03:10:43.359627 ' '
03:10:43.369649 Received DATA (on stdin)
03:10:43.369674 > 1 bytes data, server => client
03:10:43.369688 '_'
03:10:43.379717 Received DATA (on stdin)
03:10:43.379742 > 1 bytes data, server => client
03:10:43.379756 ' '
03:10:43.389774 Received DATA (on stdin)
03:10:43.389806 > 1 bytes data, server => client
03:10:43.389820 ' '
03:10:43.399813 Received DATA (on stdin)
03:10:43.399851 > 1 bytes data, server => client
03:10:43.399865 ' '
03:10:43.409878 Received DATA (on stdin)
03:10:43.409902 > 1 bytes data, server => client
03:10:43.409916 '_'
03:10:43.419923 Received DATA (on stdin)
03:10:43.419947 > 1 bytes data, server => client
03:10:43.419958 ' '
03:10:43.430010 Received DATA (on stdin)
03:10:43.430036 > 1 bytes data, server => client
03:10:43.430049 '_'
03:10:43.440050 Received DATA (on stdin)
03:10:43.440071 > 1 bytes data, server => client
03:10:43.440082 '_'
03:10:43.450138 Received DATA (on stdin)
03:10:43.450165 > 1 bytes data, server => client
03:10:43.450175 '_'
03:10:43.460210 Received DATA (on stdin)
03:10:43.460234 > 1 bytes data, server => client
03:10:43.460244 '_'
03:10:43.470276 Received DATA (on stdin)
03:10:43.470294 > 1 bytes data, server => client
03:10:43.470303 ' '
03:10:43.480343 Received DATA (on stdin)
03:10:43.480361 > 1 bytes data, server => client
03:10:43.480370 ' '
03:10:43.490409 Received DATA (on stdin)
03:10:43.490433 > 1 bytes data, server => client
03:10:43.490444 '_'
03:10:43.500486 Received DATA (on stdin)
03:10:43.500527 > 1 bytes data, server => client
03:10:43.500538 ' '
03:10:43.510571 Received DATA (on stdin)
03:10:43.510618 > 1 bytes data, server => client
03:10:43.510629 ' '
03:10:43.520662 Received DATA (on stdin)
03:10:43.520698 > 1 bytes data, server => client
03:10:43.520711 ' '
03:10:43.530732 Received DATA (on stdin)
03:10:43.530765 > 1 bytes data, server => client
03:10:43.530779 ' '
03:10:43.540791 Received DATA (on stdin)
03:10:43.540815 > 1 bytes data, server => client
03:10:43.540829 ' '
03:10:43.550847 Received DATA (on stdin)
03:10:43.550890 > 1 bytes data, server => client
03:10:43.550902 '\r'
03:10:43.560933 Received DATA (on stdin)
03:10:43.560959 > 1 bytes data, server => client
03:10:43.560972 '\n'
03:10:43.571003 Received DATA (on stdin)
03:10:43.571028 > 1 bytes data, server => client
03:10:43.571041 '2'
03:10:43.581068 Received DATA (on stdin)
03:10:43.581107 > 1 bytes data, server => client
03:10:43.581120 '2'
03:10:43.591138 Received DATA (on stdin)
03:10:43.591175 > 1 bytes data, server => client
03:10:43.591191 '0'
03:10:43.601175 Received DATA (on stdin)
03:10:43.601210 > 1 bytes data, server => client
03:10:43.601221 '-'
03:10:43.611237 Received DATA (on stdin)
03:10:43.611259 > 1 bytes data, server => client
03:10:43.611271 ' '
03:10:43.621303 Received DATA (on stdin)
03:10:43.621328 > 1 bytes data, server => client
03:10:43.621339 ' '
03:10:43.631368 Received DATA (on stdin)
03:10:43.631392 > 1 bytes data, server => client
03:10:43.631402 ' '
03:10:43.641435 Received DATA (on stdin)
03:10:43.641453 > 1 bytes data, server => client
03:10:43.641463 ' '
03:10:43.651500 Received DATA (on stdin)
03:10:43.651526 > 1 bytes data, server => client
03:10:43.651536 '_'
03:10:43.661566 Received DATA (on stdin)
03:10:43.661591 > 1 bytes data, server => client
03:10:43.661601 '_'
03:10:43.671643 Received DATA (on stdin)
03:10:43.671666 > 1 bytes data, server => client
03:10:43.671680 '_'
03:10:43.681714 Received DATA (on stdin)
03:10:43.681738 > 1 bytes data, server => client
03:10:43.681752 '|'
03:10:43.691765 Received DATA (on stdin)
03:10:43.691803 > 1 bytes data, server => client
03:10:43.691814 ' '
03:10:43.701837 Received DATA (on stdin)
03:10:43.701860 > 1 bytes data, server => client
03:10:43.701870 '|'
03:10:43.711899 Received DATA (on stdin)
03:10:43.711916 > 1 bytes data, server => client
03:10:43.711926 ' '
03:10:43.721964 Received DATA (on stdin)
03:10:43.721990 > 1 bytes data, server => client
03:10:43.722000 '|'
03:10:43.732034 Received DATA (on stdin)
03:10:43.732055 > 1 bytes data, server => client
03:10:43.732069 ' '
03:10:43.742097 Received DATA (on stdin)
03:10:43.742124 > 1 bytes data, server => client
03:10:43.742134 '|'
03:10:43.752181 Received DATA (on stdin)
03:10:43.752210 > 1 bytes data, server => client
03:10:43.752224 ' '
03:10:43.762229 Received DATA (on stdin)
03:10:43.762251 > 1 bytes data, server => client
03:10:43.762262 ' '
03:10:43.772293 Received DATA (on stdin)
03:10:43.772311 > 1 bytes data, server => client
03:10:43.772321 '_'
03:10:43.782357 Received DATA (on stdin)
03:10:43.782374 > 1 bytes data, server => client
03:10:43.782384 ' '
03:10:43.792442 Received DATA (on stdin)
03:10:43.792495 > 1 bytes data, server => client
03:10:43.792514 '\'
03:10:43.802535 Received DATA (on stdin)
03:10:43.802572 > 1 bytes data, server => client
03:10:43.802586 '|'
03:10:43.812574 Received DATA (on stdin)
03:10:43.812596 > 1 bytes data, server => client
03:10:43.812607 ' '
03:10:43.822639 Received DATA (on stdin)
03:10:43.822663 > 1 bytes data, server => client
03:10:43.822673 '|'
03:10:43.832731 Received DATA (on stdin)
03:10:43.832758 > 1 bytes data, server => client
03:10:43.832772 ' '
03:10:43.842793 Received DATA (on stdin)
03:10:43.842817 > 1 bytes data, server => client
03:10:43.842831 ' '
03:10:43.852840 Received DATA (on stdin)
03:10:43.852868 > 1 bytes data, server => client
03:10:43.852878 ' '
03:10:43.862924 Received DATA (on stdin)
03:10:43.862948 > 1 bytes data, server => client
03:10:43.862962 ' '
03:10:43.872967 Received DATA (on stdin)
03:10:43.872990 > 1 bytes data, server => client
03:10:43.873000 '\r'
03:10:43.883027 Received DATA (on stdin)
03:10:43.883048 > 1 bytes data, server => client
03:10:43.883058 '\n'
03:10:43.893105 Received DATA (on stdin)
03:10:43.893142 > 1 bytes data, server => client
03:10:43.893153 '2'
03:10:43.903180 Received DATA (on stdin)
03:10:43.903221 > 1 bytes data, server => client
03:10:43.903233 '2'
03:10:43.913271 Received DATA (on stdin)
03:10:43.913309 > 1 bytes data, server => client
03:10:43.913323 '0'
03:10:43.923331 Received DATA (on stdin)
03:10:43.923372 > 1 bytes data, server => client
03:10:43.923386 '-'
03:10:43.933412 Received DATA (on stdin)
03:10:43.933456 > 1 bytes data, server => client
03:10:43.933470 ' '
03:10:43.943480 Received DATA (on stdin)
03:10:43.943506 > 1 bytes data, server => client
03:10:43.943519 ' '
03:10:43.953546 Received DATA (on stdin)
03:10:43.953570 > 1 bytes data, server => client
03:10:43.953584 ' '
03:10:43.963608 Received DATA (on stdin)
03:10:43.963628 > 1 bytes data, server => client
03:10:43.963640 '/'
03:10:43.973676 Received DATA (on stdin)
03:10:43.973699 > 1 bytes data, server => client
03:10:43.973711 ' '
03:10:43.983745 Received DATA (on stdin)
03:10:43.983772 > 1 bytes data, server => client
03:10:43.983786 '_'
03:10:43.993812 Received DATA (on stdin)
03:10:43.993845 > 1 bytes data, server => client
03:10:43.993858 '_'
03:10:44.003890 Received DATA (on stdin)
03:10:44.003929 > 1 bytes data, server => client
03:10:44.003943 '|'
03:10:44.013956 Received DATA (on stdin)
03:10:44.013976 > 1 bytes data, server => client
03:10:44.013989 ' '
03:10:44.024034 Received DATA (on stdin)
03:10:44.024075 > 1 bytes data, server => client
03:10:44.024089 '|'
03:10:44.034109 Received DATA (on stdin)
03:10:44.034143 > 1 bytes data, server => client
03:10:44.034156 ' '
03:10:44.044191 Received DATA (on stdin)
03:10:44.044240 > 1 bytes data, server => client
03:10:44.044253 '|'
03:10:44.054260 Received DATA (on stdin)
03:10:44.054291 > 1 bytes data, server => client
03:10:44.054304 ' '
03:10:44.064322 Received DATA (on stdin)
03:10:44.064342 > 1 bytes data, server => client
03:10:44.064354 '|'
03:10:44.074387 Received DATA (on stdin)
03:10:44.074412 > 1 bytes data, server => client
03:10:44.074425 ' '
03:10:44.084453 Received DATA (on stdin)
03:10:44.084478 > 1 bytes data, server => client
03:10:44.084490 '|'
03:10:44.094533 Received DATA (on stdin)
03:10:44.094561 > 1 bytes data, server => client
03:10:44.094576 '_'
03:10:44.104605 Received DATA (on stdin)
03:10:44.104628 > 1 bytes data, server => client
03:10:44.104642 ')'
03:10:44.114648 Received DATA (on stdin)
03:10:44.114683 > 1 bytes data, server => client
03:10:44.114694 ' '
03:10:44.124735 Received DATA (on stdin)
03:10:44.124764 > 1 bytes data, server => client
03:10:44.124778 '|'
03:10:44.134780 Received DATA (on stdin)
03:10:44.134808 > 1 bytes data, server => client
03:10:44.134818 ' '
03:10:44.144850 Received DATA (on stdin)
03:10:44.144870 > 1 bytes data, server => client
03:10:44.144879 '|'
03:10:44.154917 Received DATA (on stdin)
03:10:44.154939 > 1 bytes data, server => client
03:10:44.154950 ' '
03:10:44.165005 Received DATA (on stdin)
03:10:44.165030 > 1 bytes data, server => client
03:10:44.165043 ' '
03:10:44.175052 Received DATA (on stdin)
03:10:44.175073 > 1 bytes data, server => client
03:10:44.175083 ' '
03:10:44.185142 Received DATA (on stdin)
03:10:44.185175 > 1 bytes data, server => client
03:10:44.185189 ' '
03:10:44.195189 Received DATA (on stdin)
03:10:44.195211 > 1 bytes data, server => client
03:10:44.195221 '\r'
03:10:44.205276 Received DATA (on stdin)
03:10:44.205300 > 1 bytes data, server => client
03:10:44.205313 '\n'
03:10:44.215344 Received DATA (on stdin)
03:10:44.215368 > 1 bytes data, server => client
03:10:44.215382 '2'
03:10:44.225414 Received DATA (on stdin)
03:10:44.225440 > 1 bytes data, server => client
03:10:44.225453 '2'
03:10:44.235460 Received DATA (on stdin)
03:10:44.235486 > 1 bytes data, server => client
03:10:44.235497 '0'
03:10:44.245538 Received DATA (on stdin)
03:10:44.245588 > 1 bytes data, server => client
03:10:44.245606 '-'
03:10:44.255617 Received DATA (on stdin)
03:10:44.255680 > 1 bytes data, server => client
03:10:44.255691 ' '
03:10:44.265695 Received DATA (on stdin)
03:10:44.265739 > 1 bytes data, server => client
03:10:44.265750 ' '
03:10:44.275760 Received DATA (on stdin)
03:10:44.275795 > 1 bytes data, server => client
03:10:44.275811 '|'
03:10:44.285832 Received DATA (on stdin)
03:10:44.285861 > 1 bytes data, server => client
03:10:44.285871 ' '
03:10:44.295913 Received DATA (on stdin)
03:10:44.295956 > 1 bytes data, server => client
03:10:44.295967 '('
03:10:44.305973 Received DATA (on stdin)
03:10:44.305991 > 1 bytes data, server => client
03:10:44.306002 '_'
03:10:44.316040 Received DATA (on stdin)
03:10:44.316063 > 1 bytes data, server => client
03:10:44.316073 '_'
03:10:44.326112 Received DATA (on stdin)
03:10:44.326139 > 1 bytes data, server => client
03:10:44.326153 '|'
03:10:44.336194 Received DATA (on stdin)
03:10:44.336226 > 1 bytes data, server => client
03:10:44.336240 ' '
03:10:44.346253 Received DATA (on stdin)
03:10:44.346279 > 1 bytes data, server => client
03:10:44.346293 '|'
03:10:44.356294 Received DATA (on stdin)
03:10:44.356322 > 1 bytes data, server => client
03:10:44.356336 '_'
03:10:44.366339 Received DATA (on stdin)
03:10:44.366362 > 1 bytes data, server => client
03:10:44.366374 '|'
03:10:44.376406 Received DATA (on stdin)
03:10:44.376427 > 1 bytes data, server => client
03:10:44.376438 ' '
03:10:44.386475 Received DATA (on stdin)
03:10:44.386507 > 1 bytes data, server => client
03:10:44.386517 '|'
03:10:44.396574 Received DATA (on stdin)
03:10:44.396617 > 1 bytes data, server => client
03:10:44.396631 ' '
03:10:44.406640 Received DATA (on stdin)
03:10:44.406664 > 1 bytes data, server => client
03:10:44.406678 ' '
03:10:44.416689 Received DATA (on stdin)
03:10:44.416717 > 1 bytes data, server => client
03:10:44.416733 '_'
03:10:44.426759 Received DATA (on stdin)
03:10:44.426787 > 1 bytes data, server => client
03:10:44.426800 ' '
03:10:44.436832 Received DATA (on stdin)
03:10:44.436865 > 1 bytes data, server => client
03:10:44.436878 '{'
03:10:44.446901 Received DATA (on stdin)
03:10:44.446926 > 1 bytes data, server => client
03:10:44.446940 '|'
03:10:44.456978 Received DATA (on stdin)
03:10:44.457015 > 1 bytes data, server => client
03:10:44.457026 ' '
03:10:44.467046 Received DATA (on stdin)
03:10:44.467071 > 1 bytes data, server => client
03:10:44.467084 '|'
03:10:44.477115 Received DATA (on stdin)
03:10:44.477140 > 1 bytes data, server => client
03:10:44.477154 '_'
03:10:44.487179 Received DATA (on stdin)
03:10:44.487201 > 1 bytes data, server => client
03:10:44.487221 '_'
03:10:44.497251 Received DATA (on stdin)
03:10:44.497283 > 1 bytes data, server => client
03:10:44.497295 '_'
03:10:44.507336 Received DATA (on stdin)
03:10:44.507390 > 1 bytes data, server => client
03:10:44.507401 ' '
03:10:44.517407 Received DATA (on stdin)
03:10:44.517439 > 1 bytes data, server => client
03:10:44.517450 '\r'
03:10:44.527481 Received DATA (on stdin)
03:10:44.527518 > 1 bytes data, server => client
03:10:44.527528 '\n'
03:10:44.537557 Received DATA (on stdin)
03:10:44.537590 > 1 bytes data, server => client
03:10:44.537601 '2'
03:10:44.547625 Received DATA (on stdin)
03:10:44.547651 > 1 bytes data, server => client
03:10:44.547664 '2'
03:10:44.557700 Received DATA (on stdin)
03:10:44.557735 > 1 bytes data, server => client
03:10:44.557746 '0'
03:10:44.567773 Received DATA (on stdin)
03:10:44.567802 > 1 bytes data, server => client
03:10:44.567815 ' '
03:10:44.577843 Received DATA (on stdin)
03:10:44.577868 > 1 bytes data, server => client
03:10:44.577882 ' '
03:10:44.587908 Received DATA (on stdin)
03:10:44.587934 > 1 bytes data, server => client
03:10:44.587944 ' '
03:10:44.597982 Received DATA (on stdin)
03:10:44.598015 > 1 bytes data, server => client
03:10:44.598027 ' '
03:10:44.608046 Received DATA (on stdin)
03:10:44.608068 > 1 bytes data, server => client
03:10:44.608078 '\'
03:10:44.618110 Received DATA (on stdin)
03:10:44.618132 > 1 bytes data, server => client
03:10:44.618143 '_'
03:10:44.628173 Received DATA (on stdin)
03:10:44.628195 > 1 bytes data, server => client
03:10:44.628205 '_'
03:10:44.638248 Received DATA (on stdin)
03:10:44.638286 > 1 bytes data, server => client
03:10:44.638297 '_'
03:10:44.648328 Received DATA (on stdin)
03:10:44.648354 > 1 bytes data, server => client
03:10:44.648368 '|'
03:10:44.658390 Received DATA (on stdin)
03:10:44.658415 > 1 bytes data, server => client
03:10:44.658429 '\'
03:10:44.668459 Received DATA (on stdin)
03:10:44.668484 > 1 bytes data, server => client
03:10:44.668498 '_'
03:10:44.678502 Received DATA (on stdin)
03:10:44.678525 > 1 bytes data, server => client
03:10:44.678541 '_'
03:10:44.688565 Received DATA (on stdin)
03:10:44.688585 > 1 bytes data, server => client
03:10:44.688595 '_'
03:10:44.698636 Received DATA (on stdin)
03:10:44.698664 > 1 bytes data, server => client
03:10:44.698674 '/'
03:10:44.708700 Received DATA (on stdin)
03:10:44.708717 > 1 bytes data, server => client
03:10:44.708727 '|'
03:10:44.718766 Received DATA (on stdin)
03:10:44.718789 > 1 bytes data, server => client
03:10:44.718799 '_'
03:10:44.728847 Received DATA (on stdin)
03:10:44.728871 > 1 bytes data, server => client
03:10:44.728885 '|'
03:10:44.738893 Received DATA (on stdin)
03:10:44.738918 > 1 bytes data, server => client
03:10:44.738928 ' '
03:10:44.748965 Received DATA (on stdin)
03:10:44.748991 > 1 bytes data, server => client
03:10:44.749006 '\'
03:10:44.759034 Received DATA (on stdin)
03:10:44.759056 > 1 bytes data, server => client
03:10:44.759067 '_'
03:10:44.769101 Received DATA (on stdin)
03:10:44.769123 > 1 bytes data, server => client
03:10:44.769133 '\'
03:10:44.779170 Received DATA (on stdin)
03:10:44.779193 > 1 bytes data, server => client
03:10:44.779208 '_'
03:10:44.789242 Received DATA (on stdin)
03:10:44.789278 > 1 bytes data, server => client
03:10:44.789292 '_'
03:10:44.799319 Received DATA (on stdin)
03:10:44.799362 > 1 bytes data, server => client
03:10:44.799376 '_'
03:10:44.809384 Received DATA (on stdin)
03:10:44.809407 > 1 bytes data, server => client
03:10:44.809420 '_'
03:10:44.819447 Received DATA (on stdin)
03:10:44.819468 > 1 bytes data, server => client
03:10:44.819481 '_'
03:10:44.829509 Received DATA (on stdin)
03:10:44.829529 > 1 bytes data, server => client
03:10:44.829541 '|'
03:10:44.839579 Received DATA (on stdin)
03:10:44.839607 > 1 bytes data, server => client
03:10:44.839619 '\r'
03:10:44.849642 Received DATA (on stdin)
03:10:44.849666 > 1 bytes data, server => client
03:10:44.849678 '\n'
03:10:44.859474 < 16 bytes data, client => server
03:10:44.859499 'USER anonymous\r\n'
03:10:44.859898 Received DATA (on stdin)
03:10:44.859915 > 1 bytes data, server => client
03:10:44.859927 '3'
03:10:44.869959 Received DATA (on stdin)
03:10:44.869979 > 1 bytes data, server => client
03:10:44.869991 '3'
03:10:44.880022 Received DATA (on stdin)
03:10:44.880048 > 1 bytes data, server => client
03:10:44.880060 '1'
03:10:44.890088 Received DATA (on stdin)
03:10:44.890109 > 1 bytes data, server => client
03:10:44.890121 ' '
03:10:44.900155 Received DATA (on stdin)
03:10:44.900182 > 1 bytes data, server => client
03:10:44.900195 'O'
03:10:44.910219 Received DATA (on stdin)
03:10:44.910242 > 1 bytes data, server => client
03:10:44.910255 'K'
03:10:44.920295 Received DATA (on stdin)
03:10:44.920326 > 1 bytes data, server => client
03:10:44.920339 '\r'
03:10:44.930356 Received DATA (on stdin)
03:10:44.930376 > 1 bytes data, server => client
03:10:44.930388 '\n'
03:10:44.932261 < 22 bytes data, client => server
03:10:44.932283 'PASS ftp@example.com\r\n'
03:10:44.940570 Received DATA (on stdin)
03:10:44.940588 > 1 bytes data, server => client
03:10:44.940600 '2'
03:10:44.950638 Received DATA (on stdin)
03:10:44.950667 > 1 bytes data, server => client
03:10:44.950680 '3'
03:10:44.960699 Received DATA (on stdin)
03:10:44.960718 > 1 bytes data, server => client
03:10:44.960730 '0'
03:10:44.970760 Received DATA (on stdin)
03:10:44.970778 > 1 bytes data, server => client
03:10:44.970790 ' '
03:10:44.980821 Received DATA (on stdin)
03:10:44.980844 > 1 bytes data, server => client
03:10:44.980856 'O'
03:10:44.990886 Received DATA (on stdin)
03:10:44.990910 > 1 bytes data, server => client
03:10:44.990923 'K'
03:10:45.000979 Received DATA (on stdin)
03:10:45.001016 > 1 bytes data, server => client
03:10:45.001029 '\r'
03:10:45.011053 Received DATA (on stdin)
03:10:45.011093 > 1 bytes data, server => client
03:10:45.011104 '\n'
03:10:45.012490 < 8 bytes data, client => server
03:10:45.012505 'PBSZ 0\r\n'
03:10:45.021274 Received DATA (on stdin)
03:10:45.021294 > 1 bytes data, server => client
03:10:45.021305 '5'
03:10:45.031358 Received DATA (on stdin)
03:10:45.031385 > 1 bytes data, server => client
03:10:45.031398 '0'
03:10:45.041397 Received DATA (on stdin)
03:10:45.041418 > 1 bytes data, server => client
03:10:45.041429 '0'
03:10:45.051443 Received DATA (on stdin)
03:10:45.051482 > 1 bytes data, server => client
03:10:45.051496 ' '
03:10:45.061499 Received DATA (on stdin)
03:10:45.061524 > 1 bytes data, server => client
03:10:45.061535 'P'
03:10:45.071563 Received DATA (on stdin)
03:10:45.071583 > 1 bytes data, server => client
03:10:45.071593 'B'
03:10:45.081629 Received DATA (on stdin)
03:10:45.081651 > 1 bytes data, server => client
03:10:45.081661 'S'
03:10:45.091699 Received DATA (on stdin)
03:10:45.091746 > 1 bytes data, server => client
03:10:45.091756 'Z'
03:10:45.101768 Received DATA (on stdin)
03:10:45.101793 > 1 bytes data, server => client
03:10:45.101803 ' '
03:10:45.111794 Received DATA (on stdin)
03:10:45.111832 > 1 bytes data, server => client
03:10:45.111843 'n'
03:10:45.121878 Received DATA (on stdin)
03:10:45.121908 > 1 bytes data, server => client
03:10:45.121922 'o'
03:10:45.131946 Received DATA (on stdin)
03:10:45.131971 > 1 bytes data, server => client
03:10:45.131985 't'
03:10:45.141988 Received DATA (on stdin)
03:10:45.142009 > 1 bytes data, server => client
03:10:45.142019 ' '
03:10:45.152074 Received DATA (on stdin)
03:10:45.152107 > 1 bytes data, server => client
03:10:45.152121 'i'
03:10:45.162137 Received DATA (on stdin)
03:10:45.162162 > 1 bytes data, server => client
03:10:45.162176 'm'
03:10:45.172180 Received DATA (on stdin)
03:10:45.172200 > 1 bytes data, server => client
03:10:45.172214 'p'
03:10:45.182244 Received DATA (on stdin)
03:10:45.182263 > 1 bytes data, server => client
03:10:45.182277 'l'
03:10:45.192312 Received DATA (on stdin)
03:10:45.192341 > 1 bytes data, server => client
03:10:45.192352 'e'
03:10:45.202383 Received DATA (on stdin)
03:10:45.202415 > 1 bytes data, server => client
03:10:45.202426 'm'
03:10:45.212453 Received DATA (on stdin)
03:10:45.212490 > 1 bytes data, server => client
03:10:45.212510 'e'
03:10:45.222520 Received DATA (on stdin)
03:10:45.222546 > 1 bytes data, server => client
03:10:45.222557 'n'
03:10:45.232584 Received DATA (on stdin)
03:10:45.232602 > 1 bytes data, server => client
03:10:45.232612 't'
03:10:45.242642 Received DATA (on stdin)
03:10:45.242662 > 1 bytes data, server => client
03:10:45.242672 'e'
03:10:45.252710 Received DATA (on stdin)
03:10:45.252738 > 1 bytes data, server => client
03:10:45.252748 'd'
03:10:45.262778 Received DATA (on stdin)
03:10:45.262798 > 1 bytes data, server => client
03:10:45.262808 '\r'
03:10:45.272846 Received DATA (on stdin)
03:10:45.272863 > 1 bytes data, server => client
03:10:45.272872 '\n'
03:10:45.273986 < 8 bytes data, client => server
03:10:45.274011 'PROT C\r\n'
03:10:45.283087 Received DATA (on stdin)
03:10:45.283113 > 1 bytes data, server => client
03:10:45.283126 '5'
03:10:45.293163 Received DATA (on stdin)
03:10:45.293216 > 1 bytes data, server => client
03:10:45.293234 '0'
03:10:45.303236 Received DATA (on stdin)
03:10:45.303265 > 1 bytes data, server => client
03:10:45.303275 '0'
03:10:45.313316 Received DATA (on stdin)
03:10:45.313354 > 1 bytes data, server => client
03:10:45.313363 ' '
03:10:45.323382 Received DATA (on stdin)
03:10:45.323404 > 1 bytes data, server => client
03:10:45.323414 'P'
03:10:45.333454 Received DATA (on stdin)
03:10:45.333477 > 1 bytes data, server => client
03:10:45.333487 'R'
03:10:45.343516 Received DATA (on stdin)
03:10:45.343538 > 1 bytes data, server => client
03:10:45.343549 'O'
03:10:45.353584 Received DATA (on stdin)
03:10:45.353607 > 1 bytes data, server => client
03:10:45.353617 'T'
03:10:45.363651 Received DATA (on stdin)
03:10:45.363675 > 1 bytes data, server => client
03:10:45.363685 ' '
03:10:45.373718 Received DATA (on stdin)
03:10:45.373736 > 1 bytes data, server => client
03:10:45.373746 'n'
03:10:45.383789 Received DATA (on stdin)
03:10:45.383815 > 1 bytes data, server => client
03:10:45.383828 'o'
03:10:45.393856 Received DATA (on stdin)
03:10:45.393876 > 1 bytes data, server => client
03:10:45.393886 't'
03:10:45.403923 Received DATA (on stdin)
03:10:45.403947 > 1 bytes data, server => client
03:10:45.403958 ' '
03:10:45.413993 Received DATA (on stdin)
03:10:45.414027 > 1 bytes data, server => client
03:10:45.414037 'i'
03:10:45.424071 Received DATA (on stdin)
03:10:45.424116 > 1 bytes data, server => client
03:10:45.424127 'm'
03:10:45.434142 Received DATA (on stdin)
03:10:45.434166 > 1 bytes data, server => client
03:10:45.434177 'p'
03:10:45.444207 Received DATA (on stdin)
03:10:45.444228 > 1 bytes data, server => client
03:10:45.444238 'l'
03:10:45.454278 Received DATA (on stdin)
03:10:45.454305 > 1 bytes data, server => client
03:10:45.454315 'e'
03:10:45.464344 Received DATA (on stdin)
03:10:45.464365 > 1 bytes data, server => client
03:10:45.464378 'm'
03:10:45.474410 Received DATA (on stdin)
03:10:45.474430 > 1 bytes data, server => client
03:10:45.474440 'e'
03:10:45.484473 Received DATA (on stdin)
03:10:45.484492 > 1 bytes data, server => client
03:10:45.484502 'n'
03:10:45.494538 Received DATA (on stdin)
03:10:45.494561 > 1 bytes data, server => client
03:10:45.494581 't'
03:10:45.504625 Received DATA (on stdin)
03:10:45.504677 > 1 bytes data, server => client
03:10:45.504690 'e'
03:10:45.514702 Received DATA (on stdin)
03:10:45.514738 > 1 bytes data, server => client
03:10:45.514748 'd'
03:10:45.524774 Received DATA (on stdin)
03:10:45.524797 > 1 bytes data, server => client
03:10:45.524806 '\r'
03:10:45.534840 Received DATA (on stdin)
03:10:45.534862 > 1 bytes data, server => client
03:10:45.534873 '\n'
03:10:45.536150 < 5 bytes data, client => server
03:10:45.536174 'PWD\r\n'
03:10:45.545078 Received DATA (on stdin)
03:10:45.545096 > 1 bytes data, server => client
03:10:45.545110 '2'
03:10:45.555133 Received DATA (on stdin)
03:10:45.555165 > 1 bytes data, server => client
03:10:45.555176 '5'
03:10:45.565221 Received DATA (on stdin)
03:10:45.565245 > 1 bytes data, server => client
03:10:45.565259 '7'
03:10:45.575283 Received DATA (on stdin)
03:10:45.575309 > 1 bytes data, server => client
03:10:45.575334 ' '
03:10:45.585342 Received DATA (on stdin)
03:10:45.585369 > 1 bytes data, server => client
03:10:45.585384 '"'
03:10:45.595399 Received DATA (on stdin)
03:10:45.595426 > 1 bytes data, server => client
03:10:45.595437 '/'
03:10:45.605476 Received DATA (on stdin)
03:10:45.605516 > 1 bytes data, server => client
03:10:45.605529 '"'
03:10:45.615547 Received DATA (on stdin)
03:10:45.615575 > 1 bytes data, server => client
03:10:45.615587 '\r'
03:10:45.625616 Received DATA (on stdin)
03:10:45.625643 > 1 bytes data, server => client
03:10:45.625656 '\n'
03:10:45.633080 < 6 bytes data, client => server
03:10:45.633102 'EPSV\r\n'
03:10:45.637505 Received DATA (on stdin)
03:10:45.637529 > 1 bytes data, server => client
03:10:45.637543 '2'
03:10:45.647572 Received DATA (on stdin)
03:10:45.647607 > 1 bytes data, server => client
03:10:45.647620 '2'
03:10:45.657633 Received DATA (on stdin)
03:10:45.657657 > 1 bytes data, server => client
03:10:45.657671 '9'
03:10:45.667696 Received DATA (on stdin)
03:10:45.667719 > 1 bytes data, server => client
03:10:45.667733 ' '
03:10:45.677754 Received DATA (on stdin)
03:10:45.677779 > 1 bytes data, server => client
03:10:45.677792 'E'
03:10:45.687807 Received DATA (on stdin)
03:10:45.687832 > 1 bytes data, server => client
03:10:45.687846 'n'
03:10:45.697847 Received DATA (on stdin)
03:10:45.697869 > 1 bytes data, server => client
03:10:45.697879 't'
03:10:45.707944 Received DATA (on stdin)
03:10:45.707989 > 1 bytes data, server => client
03:10:45.708003 'e'
03:10:45.717988 Received DATA (on stdin)
03:10:45.718013 > 1 bytes data, server => client
03:10:45.718024 'r'
03:10:45.728071 Received DATA (on stdin)
03:10:45.728095 > 1 bytes data, server => client
03:10:45.728109 'i'
03:10:45.738110 Received DATA (on stdin)
03:10:45.738132 > 1 bytes data, server => client
03:10:45.738142 'n'
03:10:45.748195 Received DATA (on stdin)
03:10:45.748223 > 1 bytes data, server => client
03:10:45.748237 'g'
03:10:45.758239 Received DATA (on stdin)
03:10:45.758270 > 1 bytes data, server => client
03:10:45.758289 ' '
03:10:45.768317 Received DATA (on stdin)
03:10:45.768342 > 1 bytes data, server => client
03:10:45.768355 'P'
03:10:45.778362 Received DATA (on stdin)
03:10:45.778385 > 1 bytes data, server => client
03:10:45.778400 'a'
03:10:45.788433 Received DATA (on stdin)
03:10:45.788459 > 1 bytes data, server => client
03:10:45.788470 's'
03:10:45.798510 Received DATA (on stdin)
03:10:45.798550 > 1 bytes data, server => client
03:10:45.798561 's'
03:10:45.808587 Received DATA (on stdin)
03:10:45.808625 > 1 bytes data, server => client
03:10:45.808636 'i'
03:10:45.818655 Received DATA (on stdin)
03:10:45.818680 > 1 bytes data, server => client
03:10:45.818691 'v'
03:10:45.828723 Received DATA (on stdin)
03:10:45.828745 > 1 bytes data, server => client
03:10:45.828755 'e'
03:10:45.838791 Received DATA (on stdin)
03:10:45.838810 > 1 bytes data, server => client
03:10:45.838820 ' '
03:10:45.848861 Received DATA (on stdin)
03:10:45.848885 > 1 bytes data, server => client
03:10:45.848896 'M'
03:10:45.858929 Received DATA (on stdin)
03:10:45.858950 > 1 bytes data, server => client
03:10:45.858959 'o'
03:10:45.868996 Received DATA (on stdin)
03:10:45.869013 > 1 bytes data, server => client
03:10:45.869025 'd'
03:10:45.879064 Received DATA (on stdin)
03:10:45.879084 > 1 bytes data, server => client
03:10:45.879094 'e'
03:10:45.889133 Received DATA (on stdin)
03:10:45.889158 > 1 bytes data, server => client
03:10:45.889168 ' '
03:10:45.899199 Received DATA (on stdin)
03:10:45.899220 > 1 bytes data, server => client
03:10:45.899230 '('
03:10:45.909277 Received DATA (on stdin)
03:10:45.909308 > 1 bytes data, server => client
03:10:45.909318 '|'
03:10:45.919347 Received DATA (on stdin)
03:10:45.919371 > 1 bytes data, server => client
03:10:45.919381 '|'
03:10:45.929415 Received DATA (on stdin)
03:10:45.929434 > 1 bytes data, server => client
03:10:45.929443 '|'
03:10:45.939482 Received DATA (on stdin)
03:10:45.939499 > 1 bytes data, server => client
03:10:45.939509 '4'
03:10:45.949548 Received DATA (on stdin)
03:10:45.949567 > 1 bytes data, server => client
03:10:45.949577 '6'
03:10:45.959618 Received DATA (on stdin)
03:10:45.959645 > 1 bytes data, server => client
03:10:45.959655 '8'
03:10:45.969681 Received DATA (on stdin)
03:10:45.969699 > 1 bytes data, server => client
03:10:45.969712 '0'
03:10:45.979742 Received DATA (on stdin)
03:10:45.979761 > 1 bytes data, server => client
03:10:45.979778 '3'
03:10:45.989811 Received DATA (on stdin)
03:10:45.989834 > 1 bytes data, server => client
03:10:45.989843 '|'
03:10:45.999846 Received DATA (on stdin)
03:10:45.999888 > 1 bytes data, server => client
03:10:45.999899 ')'
03:10:46.009923 Received DATA (on stdin)
03:10:46.009958 > 1 bytes data, server => client
03:10:46.009969 '\n'
03:10:46.023073 < 8 bytes data, client => server
03:10:46.023105 'TYPE I\r\n'
03:10:46.023235 Received DATA (on stdin)
03:10:46.023258 > 1 bytes data, server => client
03:10:46.023272 '2'
03:10:46.033280 Received DATA (on stdin)
03:10:46.033304 > 1 bytes data, server => client
03:10:46.033315 '0'
03:10:46.043361 Received DATA (on stdin)
03:10:46.043411 > 1 bytes data, server => client
03:10:46.043423 '0'
03:10:46.053453 Received DATA (on stdin)
03:10:46.053498 > 1 bytes data, server => client
03:10:46.053512 ' '
03:10:46.063524 Received DATA (on stdin)
03:10:46.063555 > 1 bytes data, server => client
03:10:46.063568 'O'
03:10:46.073574 Received DATA (on stdin)
03:10:46.073607 > 1 bytes data, server => client
03:10:46.073617 'K'
03:10:46.083644 Received DATA (on stdin)
03:10:46.083677 > 1 bytes data, server => client
03:10:46.083691 '\r'
03:10:46.093723 Received DATA (on stdin)
03:10:46.093772 > 1 bytes data, server => client
03:10:46.093782 '\n'
03:10:46.095598 < 11 bytes data, client => server
03:10:46.095625 'SIZE 1112\r\n'
03:10:46.104234 Received DATA (on stdin)
03:10:46.104267 > 1 bytes data, server => client
03:10:46.104283 '2'
03:10:46.114312 Received DATA (on stdin)
03:10:46.114355 > 1 bytes data, server => client
03:10:46.114366 '1'
03:10:46.124418 Received DATA (on stdin)
03:10:46.124467 > 1 bytes data, server => client
03:10:46.124480 '3'
03:10:46.134473 Received DATA (on stdin)
03:10:46.134507 > 1 bytes data, server => client
03:10:46.134518 ' '
03:10:46.144552 Received DATA (on stdin)
03:10:46.144594 > 1 bytes data, server => client
03:10:46.144605 '3'
03:10:46.154618 Received DATA (on stdin)
03:10:46.154642 > 1 bytes data, server => client
03:10:46.154656 '6'
03:10:46.164683 Received DATA (on stdin)
03:10:46.164708 > 1 bytes data, server => client
03:10:46.164722 '0'
03:10:46.174748 Received DATA (on stdin)
03:10:46.174774 > 1 bytes data, server => client
03:10:46.174788 '0'
03:10:46.184812 Received DATA (on stdin)
03:10:46.184837 > 1 bytes data, server => client
03:10:46.184848 '\r'
03:10:46.194881 Received DATA (on stdin)
03:10:46.194911 > 1 bytes data, server => client
03:10:46.194922 '\n'
03:10:46.197139 < 11 bytes data, client => server
03:10:46.197157 'RETR 1112\r\n'
03:10:46.205378 Received DATA (on stdin)
03:10:46.205405 > 1 bytes data, server => client
03:10:46.205416 '1'
03:10:46.215453 Received DATA (on stdin)
03:10:46.215500 > 1 bytes data, server => client
03:10:46.215512 '5'
03:10:46.225521 Received DATA (on stdin)
03:10:46.225545 > 1 bytes data, server => client
03:10:46.225554 '0'
03:10:46.235589 Received DATA (on stdin)
03:10:46.235611 > 1 bytes data, server => client
03:10:46.235625 ' '
03:10:46.245685 Received DATA (on stdin)
03:10:46.245722 > 1 bytes data, server => client
03:10:46.245737 'B'
03:10:46.255732 Received DATA (on stdin)
03:10:46.255754 > 1 bytes data, server => client
03:10:46.255764 'i'
03:10:46.265812 Received DATA (on stdin)
03:10:46.265857 > 1 bytes data, server => client
03:10:46.265868 'n'
03:10:46.275885 Received DATA (on stdin)
03:10:46.275919 > 1 bytes data, server => client
03:10:46.275929 'a'
03:10:46.285955 Received DATA (on stdin)
03:10:46.285979 > 1 bytes data, server => client
03:10:46.285989 'r'
03:10:46.296030 Received DATA (on stdin)
03:10:46.296069 > 1 bytes data, server => client
03:10:46.296081 'y'
03:10:46.306105 Received DATA (on stdin)
03:10:46.306142 > 1 bytes data, server => client
03:10:46.306156 ' '
03:10:46.316168 Received DATA (on stdin)
03:10:46.316188 > 1 bytes data, server => client
03:10:46.316201 'd'
03:10:46.326238 Received DATA (on stdin)
03:10:46.326260 > 1 bytes data, server => client
03:10:46.326273 'a'
03:10:46.336303 Received DATA (on stdin)
03:10:46.336325 > 1 bytes data, server => client
03:10:46.336337 't'
03:10:46.346374 Received DATA (on stdin)
03:10:46.346408 > 1 bytes data, server => client
03:10:46.346421 'a'
03:10:46.356439 Received DATA (on stdin)
03:10:46.356462 > 1 bytes data, server => client
03:10:46.356475 ' '
03:10:46.366500 Received DATA (on stdin)
03:10:46.366519 > 1 bytes data, server => client
03:10:46.366532 'c'
03:10:46.376571 Received DATA (on stdin)
03:10:46.376603 > 1 bytes data, server => client
03:10:46.376616 'o'
03:10:46.386642 Received DATA (on stdin)
03:10:46.386670 > 1 bytes data, server => client
03:10:46.386683 'n'
03:10:46.396713 Received DATA (on stdin)
03:10:46.396740 > 1 bytes data, server => client
03:10:46.396753 'n'
03:10:46.406775 Received DATA (on stdin)
03:10:46.406797 > 1 bytes data, server => client
03:10:46.406810 'e'
03:10:46.416863 Received DATA (on stdin)
03:10:46.416883 > 1 bytes data, server => client
03:10:46.416895 'c'
03:10:46.426930 Received DATA (on stdin)
03:10:46.426949 > 1 bytes data, server => client
03:10:46.426961 't'
03:10:46.436996 Received DATA (on stdin)
03:10:46.437015 > 1 bytes data, server => client
03:10:46.437028 'i'
03:10:46.447072 Received DATA (on stdin)
03:10:46.447110 > 1 bytes data, server => client
03:10:46.447123 'o'
03:10:46.457141 Received DATA (on stdin)
03:10:46.457176 > 1 bytes data, server => client
03:10:46.457188 'n'
03:10:46.467206 Received DATA (on stdin)
03:10:46.467225 > 1 bytes data, server => client
03:10:46.467238 ' '
03:10:46.477273 Received DATA (on stdin)
03:10:46.477295 > 1 bytes data, server => client
03:10:46.477307 'f'
03:10:46.487340 Received DATA (on stdin)
03:10:46.487366 > 1 bytes data, server => client
03:10:46.487378 'o'
03:10:46.497407 Received DATA (on stdin)
03:10:46.497427 > 1 bytes data, server => client
03:10:46.497440 'r'
03:10:46.507492 Received DATA (on stdin)
03:10:46.507543 > 1 bytes data, server => client
03:10:46.507558 ' '
03:10:46.517561 Received DATA (on stdin)
03:10:46.517593 > 1 bytes data, server => client
03:10:46.517605 '1'
03:10:46.527625 Received DATA (on stdin)
03:10:46.527645 > 1 bytes data, server => client
03:10:46.527657 '1'
03:10:46.537692 Received DATA (on stdin)
03:10:46.537711 > 1 bytes data, server => client
03:10:46.537723 '1'
03:10:46.547762 Received DATA (on stdin)
03:10:46.547803 > 1 bytes data, server => client
03:10:46.547816 '2'
03:10:46.557843 Received DATA (on stdin)
03:10:46.557887 > 1 bytes data, server => client
03:10:46.557900 ' '
03:10:46.567902 Received DATA (on stdin)
03:10:46.567923 > 1 bytes data, server => client
03:10:46.567936 '('
03:10:46.577965 Received DATA (on stdin)
03:10:46.577986 > 1 bytes data, server => client
03:10:46.577999 ')'
03:10:46.588037 Received DATA (on stdin)
03:10:46.588067 > 1 bytes data, server => client
03:10:46.588080 ' '
03:10:46.598098 Received DATA (on stdin)
03:10:46.598119 > 1 bytes data, server => client
03:10:46.598131 '('
03:10:46.608162 Received DATA (on stdin)
03:10:46.608181 > 1 bytes data, server => client
03:10:46.608193 '3'
03:10:46.618230 Received DATA (on stdin)
03:10:46.618261 > 1 bytes data, server => client
03:10:46.618274 '6'
03:10:46.628291 Received DATA (on stdin)
03:10:46.628311 > 1 bytes data, server => client
03:10:46.628324 '0'
03:10:46.638352 Received DATA (on stdin)
03:10:46.638371 > 1 bytes data, server => client
03:10:46.638383 '0'
03:10:46.648424 Received DATA (on stdin)
03:10:46.648459 > 1 bytes data, server => client
03:10:46.648471 ' '
03:10:46.658488 Received DATA (on stdin)
03:10:46.658510 > 1 bytes data, server => client
03:10:46.658522 'b'
03:10:46.668550 Received DATA (on stdin)
03:10:46.668569 > 1 bytes data, server => client
03:10:46.668582 'y'
03:10:46.678612 Received DATA (on stdin)
03:10:46.678641 > 1 bytes data, server => client
03:10:46.678654 't'
03:10:46.688677 Received DATA (on stdin)
03:10:46.688706 > 1 bytes data, server => client
03:10:46.688718 'e'
03:10:46.698740 Received DATA (on stdin)
03:10:46.698764 > 1 bytes data, server => client
03:10:46.698777 's'
03:10:46.708802 Received DATA (on stdin)
03:10:46.708823 > 1 bytes data, server => client
03:10:46.708835 ')'
03:10:46.718848 Received DATA (on stdin)
03:10:46.718878 > 1 bytes data, server => client
03:10:46.718890 '.'
03:10:46.728910 Received DATA (on stdin)
03:10:46.728931 > 1 bytes data, server => client
03:10:46.728943 '\r'
03:10:46.738972 Received DATA (on stdin)
03:10:46.738990 > 1 bytes data, server => client
03:10:46.739002 '\n'
03:10:57.153883 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:10:38.101669 Running IPv4 version
03:10:38.101740 Listening on port 43697
03:10:38.101768 Wrote pid 2468 to ./.ftp_sockdata.pid
03:10:38.101783 Received PING (on stdin)
03:10:38.101841 Received PORT (on stdin)
03:10:38.102187 ====> Client connect
03:10:38.102896 Received DATA (on stdin)
03:10:38.102915 > 16 bytes data, server => client
03:10:38.102930 'WE ROOLZ: 2363\r\n'
03:10:38.102978 Received DISC (on stdin)
03:10:38.102991 ====> Client forcibly disconnected
03:10:38.103016 Received QUIT (on stdin)
03:10:38.103030 quits
03:10:38.103050 ============> sockfilt quits
03:10:45.637174 Running IPv4 version
03:10:45.637233 Listening on port 46803
03:10:45.637271 Wrote pid 2477 to ./.ftp_sockdata.pid
03:10:45.637286 Received PING (on stdin)
03:10:45.637375 Received PORT (on stdin)
03:10:46.016760 ====> Client connect
03:10:46.749147 Received DATA (on stdin)
03:10:46.749178 > 1 bytes data, server => client
03:10:46.749191 'L'
03:10:46.759193 Received DATA (on stdin)
03:10:46.759217 > 1 bytes data, server => client
03:10:46.759227 'o'
03:10:46.769260 Received DATA (on stdin)
03:10:46.769282 > 1 bytes data, server => client
03:10:46.769291 'n'
03:10:46.779328 Received DATA (on stdin)
03:10:46.779350 > 1 bytes data, server => client
03:10:46.779359 'g'
03:10:46.789402 Received DATA (on stdin)
03:10:46.789436 > 1 bytes data, server => client
03:10:46.789446 ' '
03:10:46.799478 Received DATA (on stdin)
03:10:46.799516 > 1 bytes data, server => client
03:10:46.799526 'c'
03:10:46.809540 Received DATA (on stdin)
03:10:46.809563 > 1 bytes data, server => client
03:10:46.809572 'h'
03:10:46.819605 Received DATA (on stdin)
03:10:46.819628 > 1 bytes data, server => client
03:10:46.819638 'u'
03:10:46.829673 Received DATA (on stdin)
03:10:46.829693 > 1 bytes data, server => client
03:10:46.829702 'n'
03:10:46.839737 Received DATA (on stdin)
03:10:46.839760 > 1 bytes data, server => client
03:10:46.839776 'k'
03:10:46.849808 Received DATA (on stdin)
03:10:46.849835 > 1 bytes data, server => client
03:10:46.849845 ' '
03:10:46.859896 Received DATA (on stdin)
03:10:46.859925 > 1 bytes data, server => client
03:10:46.859938 'o'
03:10:46.869968 Received DATA (on stdin)
03:10:46.869991 > 1 bytes data, server => client
03:10:46.870004 'f'
03:10:46.880025 Received DATA (on stdin)
03:10:46.880050 > 1 bytes data, server => client
03:10:46.880063 ' '
03:10:46.890091 Received DATA (on stdin)
03:10:46.890116 > 1 bytes data, server => client
03:10:46.890129 'd'
03:10:46.900156 Received DATA (on stdin)
03:10:46.900183 > 1 bytes data, server => client
03:10:46.900196 'a'
03:10:46.910221 Received DATA (on stdin)
03:10:46.910246 > 1 bytes data, server => client
03:10:46.910259 't'
03:10:46.920262 Received DATA (on stdin)
03:10:46.920284 > 1 bytes data, server => client
03:10:46.920294 'a'
03:10:46.930325 Received DATA (on stdin)
03:10:46.930342 > 1 bytes data, server => client
03:10:46.930351 ' '
03:10:46.940373 Received DATA (on stdin)
03:10:46.940401 > 1 bytes data, server => client
03:10:46.940415 't'
03:10:46.950450 Received DATA (on stdin)
03:10:46.950490 > 1 bytes data, server => client
03:10:46.950506 'h'
03:10:46.960512 Received DATA (on stdin)
03:10:46.960530 > 1 bytes data, server => client
03:10:46.960539 'a'
03:10:46.970579 Received DATA (on stdin)
03:10:46.970597 > 1 bytes data, server => client
03:10:46.970606 't'
03:10:46.980646 Received DATA (on stdin)
03:10:46.980666 > 1 bytes data, server => client
03:10:46.980675 ' '
03:10:46.990714 Received DATA (on stdin)
03:10:46.990732 > 1 bytes data, server => client
03:10:46.990741 'c'
03:10:47.000799 Received DATA (on stdin)
03:10:47.000831 > 1 bytes data, server => client
03:10:47.000841 'o'
03:10:47.010873 Received DATA (on stdin)
03:10:47.010905 > 1 bytes data, server => client
03:10:47.010915 'u'
03:10:47.020937 Received DATA (on stdin)
03:10:47.020960 > 1 bytes data, server => client
03:10:47.020971 'l'
03:10:47.030999 Received DATA (on stdin)
03:10:47.031017 > 1 bytes data, server => client
03:10:47.031026 'd'
03:10:47.041070 Received DATA (on stdin)
03:10:47.041104 > 1 bytes data, server => client
03:10:47.041130 'n'
03:10:47.051148 Received DATA (on stdin)
03:10:47.051192 > 1 bytes data, server => client
03:10:47.051202 '''
03:10:47.061214 Received DATA (on stdin)
03:10:47.061242 > 1 bytes data, server => client
03:10:47.061256 't'
03:10:47.071277 Received DATA (on stdin)
03:10:47.071299 > 1 bytes data, server => client
03:10:47.071309 ' '
03:10:47.081344 Received DATA (on stdin)
03:10:47.081362 > 1 bytes data, server => client
03:10:47.081371 'p'
03:10:47.091424 Received DATA (on stdin)
03:10:47.091451 > 1 bytes data, server => client
03:10:47.091464 'o'
03:10:47.101480 Received DATA (on stdin)
03:10:47.101512 > 1 bytes data, server => client
03:10:47.101530 's'
03:10:47.111541 Received DATA (on stdin)
03:10:47.111563 > 1 bytes data, server => client
03:10:47.111573 's'
03:10:47.121589 Received DATA (on stdin)
03:10:47.121634 > 1 bytes data, server => client
03:10:47.121648 'i'
03:10:47.131634 Received DATA (on stdin)
03:10:47.131656 > 1 bytes data, server => client
03:10:47.131666 'b'
03:10:47.141712 Received DATA (on stdin)
03:10:47.141734 > 1 bytes data, server => client
03:10:47.141744 'l'
03:10:47.151785 Received DATA (on stdin)
03:10:47.151815 > 1 bytes data, server => client
03:10:47.151827 'y'
03:10:47.161850 Received DATA (on stdin)
03:10:47.161871 > 1 bytes data, server => client
03:10:47.161883 ' '
03:10:47.171917 Received DATA (on stdin)
03:10:47.171944 > 1 bytes data, server => client
03:10:47.171956 'b'
03:10:47.181979 Received DATA (on stdin)
03:10:47.181997 > 1 bytes data, server => client
03:10:47.182008 'e'
03:10:47.192043 Received DATA (on stdin)
03:10:47.192066 > 1 bytes data, server => client
03:10:47.192078 ' '
03:10:47.202104 Received DATA (on stdin)
03:10:47.202123 > 1 bytes data, server => client
03:10:47.202134 's'
03:10:47.212195 Received DATA (on stdin)
03:10:47.212243 > 1 bytes data, server => client
03:10:47.212257 'e'
03:10:47.222268 Received DATA (on stdin)
03:10:47.222310 > 1 bytes data, server => client
03:10:47.222321 'n'
03:10:47.232354 Received DATA (on stdin)
03:10:47.232380 > 1 bytes data, server => client
03:10:47.232393 't'
03:10:47.242399 Received DATA (on stdin)
03:10:47.242422 > 1 bytes data, server => client
03:10:47.242432 ' '
03:10:47.252468 Received DATA (on stdin)
03:10:47.252497 > 1 bytes data, server => client
03:10:47.252506 'i'
03:10:47.262529 Received DATA (on stdin)
03:10:47.262550 > 1 bytes data, server => client
03:10:47.262559 'n'
03:10:47.272610 Received DATA (on stdin)
03:10:47.272661 > 1 bytes data, server => client
03:10:47.272676 ' '
03:10:47.282679 Received DATA (on stdin)
03:10:47.282709 > 1 bytes data, server => client
03:10:47.282719 't'
03:10:47.292757 Received DATA (on stdin)
03:10:47.292797 > 1 bytes data, server => client
03:10:47.292807 'h'
03:10:47.302832 Received DATA (on stdin)
03:10:47.302872 > 1 bytes data, server => client
03:10:47.302882 'e'
03:10:47.312931 Received DATA (on stdin)
03:10:47.312971 > 1 bytes data, server => client
03:10:47.312985 ' '
03:10:47.323007 Received DATA (on stdin)
03:10:47.323055 > 1 bytes data, server => client
03:10:47.323067 't'
03:10:47.333049 Received DATA (on stdin)
03:10:47.333071 > 1 bytes data, server => client
03:10:47.333081 'i'
03:10:47.343117 Received DATA (on stdin)
03:10:47.343139 > 1 bytes data, server => client
03:10:47.343148 'm'
03:10:47.353185 Received DATA (on stdin)
03:10:47.353211 > 1 bytes data, server => client
03:10:47.353221 'e'
03:10:47.363252 Received DATA (on stdin)
03:10:47.363268 > 1 bytes data, server => client
03:10:47.363278 ' '
03:10:47.373320 Received DATA (on stdin)
03:10:47.373343 > 1 bytes data, server => client
03:10:47.373353 'a'
03:10:47.383384 Received DATA (on stdin)
03:10:47.383407 > 1 bytes data, server => client
03:10:47.383416 'l'
03:10:47.393462 Received DATA (on stdin)
03:10:47.393497 > 1 bytes data, server => client
03:10:47.393507 'l'
03:10:47.403532 Received DATA (on stdin)
03:10:47.403557 > 1 bytes data, server => client
03:10:47.403566 'o'
03:10:47.413621 Received DATA (on stdin)
03:10:47.413646 > 1 bytes data, server => client
03:10:47.413660 't'
03:10:47.423691 Received DATA (on stdin)
03:10:47.423735 > 1 bytes data, server => client
03:10:47.423748 't'
03:10:47.433763 Received DATA (on stdin)
03:10:47.433788 > 1 bytes data, server => client
03:10:47.433801 'e'
03:10:47.443807 Received DATA (on stdin)
03:10:47.443831 > 1 bytes data, server => client
03:10:47.443844 'd'
03:10:47.453859 Received DATA (on stdin)
03:10:47.453892 > 1 bytes data, server => client
03:10:47.453902 '.'
03:10:47.463944 Received DATA (on stdin)
03:10:47.463968 > 1 bytes data, server => client
03:10:47.463981 '\n'
03:10:47.474027 Received DATA (on stdin)
03:10:47.474050 > 1 bytes data, server => client
03:10:47.474064 'L'
03:10:47.484068 Received DATA (on stdin)
03:10:47.484092 > 1 bytes data, server => client
03:10:47.484103 'o'
03:10:47.494152 Received DATA (on stdin)
03:10:47.494176 > 1 bytes data, server => client
03:10:47.494190 'n'
03:10:47.504234 Received DATA (on stdin)
03:10:47.504287 > 1 bytes data, server => client
03:10:47.504299 'g'
03:10:47.514296 Received DATA (on stdin)
03:10:47.514320 > 1 bytes data, server => client
03:10:47.514333 ' '
03:10:47.524376 Received DATA (on stdin)
03:10:47.524426 > 1 bytes data, server => client
03:10:47.524438 'c'
03:10:47.534442 Received DATA (on stdin)
03:10:47.534466 > 1 bytes data, server => client
03:10:47.534479 'h'
03:10:47.544506 Received DATA (on stdin)
03:10:47.544529 > 1 bytes data, server => client
03:10:47.544543 'u'
03:10:47.554562 Received DATA (on stdin)
03:10:47.554598 > 1 bytes data, server => client
03:10:47.554608 'n'
03:10:47.564649 Received DATA (on stdin)
03:10:47.564674 > 1 bytes data, server => client
03:10:47.564687 'k'
03:10:47.574716 Received DATA (on stdin)
03:10:47.574740 > 1 bytes data, server => client
03:10:47.574753 ' '
03:10:47.584759 Received DATA (on stdin)
03:10:47.584783 > 1 bytes data, server => client
03:10:47.584793 'o'
03:10:47.594825 Received DATA (on stdin)
03:10:47.594851 > 1 bytes data, server => client
03:10:47.594860 'f'
03:10:47.604888 Received DATA (on stdin)
03:10:47.604909 > 1 bytes data, server => client
03:10:47.604919 ' '
03:10:47.614953 Received DATA (on stdin)
03:10:47.614969 > 1 bytes data, server => client
03:10:47.614978 'd'
03:10:47.625032 Received DATA (on stdin)
03:10:47.625073 > 1 bytes data, server => client
03:10:47.625082 'a'
03:10:47.635115 Received DATA (on stdin)
03:10:47.635140 > 1 bytes data, server => client
03:10:47.635153 't'
03:10:47.645183 Received DATA (on stdin)
03:10:47.645208 > 1 bytes data, server => client
03:10:47.645221 'a'
03:10:47.655230 Received DATA (on stdin)
03:10:47.655253 > 1 bytes data, server => client
03:10:47.655263 ' '
03:10:47.665297 Received DATA (on stdin)
03:10:47.665319 > 1 bytes data, server => client
03:10:47.665329 't'
03:10:47.675361 Received DATA (on stdin)
03:10:47.675376 > 1 bytes data, server => client
03:10:47.675385 'h'
03:10:47.685426 Received DATA (on stdin)
03:10:47.685444 > 1 bytes data, server => client
03:10:47.685453 'a'
03:10:47.695493 Received DATA (on stdin)
03:10:47.695521 > 1 bytes data, server => client
03:10:47.695531 't'
03:10:47.705559 Received DATA (on stdin)
03:10:47.705579 > 1 bytes data, server => client
03:10:47.705588 ' '
03:10:47.715625 Received DATA (on stdin)
03:10:47.715640 > 1 bytes data, server => client
03:10:47.715648 'c'
03:10:47.725723 Received DATA (on stdin)
03:10:47.725772 > 1 bytes data, server => client
03:10:47.725784 'o'
03:10:47.735771 Received DATA (on stdin)
03:10:47.735794 > 1 bytes data, server => client
03:10:47.735803 'u'
03:10:47.745831 Received DATA (on stdin)
03:10:47.745853 > 1 bytes data, server => client
03:10:47.745863 'l'
03:10:47.755912 Received DATA (on stdin)
03:10:47.755938 > 1 bytes data, server => client
03:10:47.755951 'd'
03:10:47.765981 Received DATA (on stdin)
03:10:47.766008 > 1 bytes data, server => client
03:10:47.766021 'n'
03:10:47.776073 Received DATA (on stdin)
03:10:47.776097 > 1 bytes data, server => client
03:10:47.776110 '''
03:10:47.786121 Received DATA (on stdin)
03:10:47.786145 > 1 bytes data, server => client
03:10:47.786155 't'
03:10:47.796198 Received DATA (on stdin)
03:10:47.796251 > 1 bytes data, server => client
03:10:47.796262 ' '
03:10:47.806284 Received DATA (on stdin)
03:10:47.806310 > 1 bytes data, server => client
03:10:47.806323 'p'
03:10:47.816345 Received DATA (on stdin)
03:10:47.816375 > 1 bytes data, server => client
03:10:47.816389 'o'
03:10:47.826407 Received DATA (on stdin)
03:10:47.826438 > 1 bytes data, server => client
03:10:47.826448 's'
03:10:47.836476 Received DATA (on stdin)
03:10:47.836497 > 1 bytes data, server => client
03:10:47.836506 's'
03:10:47.846542 Received DATA (on stdin)
03:10:47.846559 > 1 bytes data, server => client
03:10:47.846568 'i'
03:10:47.856627 Received DATA (on stdin)
03:10:47.856653 > 1 bytes data, server => client
03:10:47.856667 'b'
03:10:47.866695 Received DATA (on stdin)
03:10:47.866719 > 1 bytes data, server => client
03:10:47.866732 'l'
03:10:47.876740 Received DATA (on stdin)
03:10:47.876759 > 1 bytes data, server => client
03:10:47.876769 'y'
03:10:47.886809 Received DATA (on stdin)
03:10:47.886835 > 1 bytes data, server => client
03:10:47.886849 ' '
03:10:47.896873 Received DATA (on stdin)
03:10:47.896893 > 1 bytes data, server => client
03:10:47.896902 'b'
03:10:47.906942 Received DATA (on stdin)
03:10:47.906961 > 1 bytes data, server => client
03:10:47.906970 'e'
03:10:47.917017 Received DATA (on stdin)
03:10:47.917060 > 1 bytes data, server => client
03:10:47.917076 ' '
03:10:47.927081 Received DATA (on stdin)
03:10:47.927100 > 1 bytes data, server => client
03:10:47.927110 's'
03:10:47.937149 Received DATA (on stdin)
03:10:47.937172 > 1 bytes data, server => client
03:10:47.937182 'e'
03:10:47.947233 Received DATA (on stdin)
03:10:47.947258 > 1 bytes data, server => client
03:10:47.947272 'n'
03:10:47.957302 Received DATA (on stdin)
03:10:47.957327 > 1 bytes data, server => client
03:10:47.957340 't'
03:10:47.967376 Received DATA (on stdin)
03:10:47.967400 > 1 bytes data, server => client
03:10:47.967413 ' '
03:10:47.977437 Received DATA (on stdin)
03:10:47.977462 > 1 bytes data, server => client
03:10:47.977475 'i'
03:10:47.987481 Received DATA (on stdin)
03:10:47.987505 > 1 bytes data, server => client
03:10:47.987515 'n'
03:10:47.997550 Received DATA (on stdin)
03:10:47.997579 > 1 bytes data, server => client
03:10:47.997589 ' '
03:10:48.007628 Received DATA (on stdin)
03:10:48.007670 > 1 bytes data, server => client
03:10:48.007684 't'
03:10:48.017705 Received DATA (on stdin)
03:10:48.017746 > 1 bytes data, server => client
03:10:48.017756 'h'
03:10:48.027766 Received DATA (on stdin)
03:10:48.027789 > 1 bytes data, server => client
03:10:48.027798 'e'
03:10:48.037833 Received DATA (on stdin)
03:10:48.037851 > 1 bytes data, server => client
03:10:48.037860 ' '
03:10:48.047903 Received DATA (on stdin)
03:10:48.047952 > 1 bytes data, server => client
03:10:48.047964 't'
03:10:48.057977 Received DATA (on stdin)
03:10:48.058014 > 1 bytes data, server => client
03:10:48.058024 'i'
03:10:48.068043 Received DATA (on stdin)
03:10:48.068065 > 1 bytes data, server => client
03:10:48.068075 'm'
03:10:48.078125 Received DATA (on stdin)
03:10:48.078151 > 1 bytes data, server => client
03:10:48.078164 'e'
03:10:48.088160 Received DATA (on stdin)
03:10:48.088181 > 1 bytes data, server => client
03:10:48.088191 ' '
03:10:48.098247 Received DATA (on stdin)
03:10:48.098274 > 1 bytes data, server => client
03:10:48.098287 'a'
03:10:48.108287 Received DATA (on stdin)
03:10:48.108309 > 1 bytes data, server => client
03:10:48.108319 'l'
03:10:48.118362 Received DATA (on stdin)
03:10:48.118398 > 1 bytes data, server => client
03:10:48.118411 'l'
03:10:48.128443 Received DATA (on stdin)
03:10:48.128467 > 1 bytes data, server => client
03:10:48.128480 'o'
03:10:48.138504 Received DATA (on stdin)
03:10:48.138528 > 1 bytes data, server => client
03:10:48.138541 't'
03:10:48.148567 Received DATA (on stdin)
03:10:48.148593 > 1 bytes data, server => client
03:10:48.148606 't'
03:10:48.158607 Received DATA (on stdin)
03:10:48.158630 > 1 bytes data, server => client
03:10:48.158640 'e'
03:10:48.168689 Received DATA (on stdin)
03:10:48.168715 > 1 bytes data, server => client
03:10:48.168739 'd'
03:10:48.178732 Received DATA (on stdin)
03:10:48.178758 > 1 bytes data, server => client
03:10:48.178769 '.'
03:10:48.188813 Received DATA (on stdin)
03:10:48.188840 > 1 bytes data, server => client
03:10:48.188853 '\n'
03:10:48.198890 Received DATA (on stdin)
03:10:48.198915 > 1 bytes data, server => client
03:10:48.198928 'L'
03:10:48.208951 Received DATA (on stdin)
03:10:48.208975 > 1 bytes data, server => client
03:10:48.208988 'o'
03:10:48.218993 Received DATA (on stdin)
03:10:48.219017 > 1 bytes data, server => client
03:10:48.219027 'n'
03:10:48.229094 Received DATA (on stdin)
03:10:48.229144 > 1 bytes data, server => client
03:10:48.229156 'g'
03:10:48.239157 Received DATA (on stdin)
03:10:48.239187 > 1 bytes data, server => client
03:10:48.239201 ' '
03:10:48.249241 Received DATA (on stdin)
03:10:48.249290 > 1 bytes data, server => client
03:10:48.249303 'c'
03:10:48.259305 Received DATA (on stdin)
03:10:48.259333 > 1 bytes data, server => client
03:10:48.259346 'h'
03:10:48.269364 Received DATA (on stdin)
03:10:48.269387 > 1 bytes data, server => client
03:10:48.269400 'u'
03:10:48.279410 Received DATA (on stdin)
03:10:48.279430 > 1 bytes data, server => client
03:10:48.279442 'n'
03:10:48.289480 Received DATA (on stdin)
03:10:48.289513 > 1 bytes data, server => client
03:10:48.289527 'k'
03:10:48.299558 Received DATA (on stdin)
03:10:48.299603 > 1 bytes data, server => client
03:10:48.299614 ' '
03:10:48.309621 Received DATA (on stdin)
03:10:48.309637 > 1 bytes data, server => client
03:10:48.309645 'o'
03:10:48.319688 Received DATA (on stdin)
03:10:48.319712 > 1 bytes data, server => client
03:10:48.319722 'f'
03:10:48.329777 Received DATA (on stdin)
03:10:48.329800 > 1 bytes data, server => client
03:10:48.329814 ' '
03:10:48.339791 Received DATA (on stdin)
03:10:48.339812 > 1 bytes data, server => client
03:10:48.339821 'd'
03:10:48.349873 Received DATA (on stdin)
03:10:48.349924 > 1 bytes data, server => client
03:10:48.349941 'a'
03:10:48.359949 Received DATA (on stdin)
03:10:48.359990 > 1 bytes data, server => client
03:10:48.359999 't'
03:10:48.370030 Received DATA (on stdin)
03:10:48.370055 > 1 bytes data, server => client
03:10:48.370068 'a'
03:10:48.380091 Received DATA (on stdin)
03:10:48.380115 > 1 bytes data, server => client
03:10:48.380128 ' '
03:10:48.390135 Received DATA (on stdin)
03:10:48.390164 > 1 bytes data, server => client
03:10:48.390177 't'
03:10:48.400200 Received DATA (on stdin)
03:10:48.400224 > 1 bytes data, server => client
03:10:48.400233 'h'
03:10:48.410266 Received DATA (on stdin)
03:10:48.410294 > 1 bytes data, server => client
03:10:48.410306 'a'
03:10:48.420332 Received DATA (on stdin)
03:10:48.420353 > 1 bytes data, server => client
03:10:48.420363 't'
03:10:48.430397 Received DATA (on stdin)
03:10:48.430420 > 1 bytes data, server => client
03:10:48.430430 ' '
03:10:48.440457 Received DATA (on stdin)
03:10:48.440473 > 1 bytes data, server => client
03:10:48.440482 'c'
03:10:48.450530 Received DATA (on stdin)
03:10:48.450567 > 1 bytes data, server => client
03:10:48.450583 'o'
03:10:48.460618 Received DATA (on stdin)
03:10:48.460647 > 1 bytes data, server => client
03:10:48.460660 'u'
03:10:48.470677 Received DATA (on stdin)
03:10:48.470700 > 1 bytes data, server => client
03:10:48.470713 'l'
03:10:48.480743 Received DATA (on stdin)
03:10:48.480769 > 1 bytes data, server => client
03:10:48.480782 'd'
03:10:48.490806 Received DATA (on stdin)
03:10:48.490830 > 1 bytes data, server => client
03:10:48.490844 'n'
03:10:48.500879 Received DATA (on stdin)
03:10:48.500920 > 1 bytes data, server => client
03:10:48.500933 '''
03:10:48.510934 Received DATA (on stdin)
03:10:48.510983 > 1 bytes data, server => client
03:10:48.510993 't'
03:10:48.521017 Received DATA (on stdin)
03:10:48.521043 > 1 bytes data, server => client
03:10:48.521056 ' '
03:10:48.531076 Received DATA (on stdin)
03:10:48.531102 > 1 bytes data, server => client
03:10:48.531115 'p'
03:10:48.541121 Received DATA (on stdin)
03:10:48.541143 > 1 bytes data, server => client
03:10:48.541165 'o'
03:10:48.551199 Received DATA (on stdin)
03:10:48.551240 > 1 bytes data, server => client
03:10:48.551251 's'
03:10:48.561297 Received DATA (on stdin)
03:10:48.561343 > 1 bytes data, server => client
03:10:48.561356 's'
03:10:48.571355 Received DATA (on stdin)
03:10:48.571379 > 1 bytes data, server => client
03:10:48.571392 'i'
03:10:48.581423 Received DATA (on stdin)
03:10:48.581447 > 1 bytes data, server => client
03:10:48.581460 'b'
03:10:48.591487 Received DATA (on stdin)
03:10:48.591514 > 1 bytes data, server => client
03:10:48.591527 'l'
03:10:48.601535 Received DATA (on stdin)
03:10:48.601559 > 1 bytes data, server => client
03:10:48.601568 'y'
03:10:48.611599 Received DATA (on stdin)
03:10:48.611617 > 1 bytes data, server => client
03:10:48.611626 ' '
03:10:48.621686 Received DATA (on stdin)
03:10:48.621713 > 1 bytes data, server => client
03:10:48.621726 'b'
03:10:48.631731 Received DATA (on stdin)
03:10:48.631756 > 1 bytes data, server => client
03:10:48.631765 'e'
03:10:48.641796 Received DATA (on stdin)
03:10:48.641817 > 1 bytes data, server => client
03:10:48.641827 ' '
03:10:48.651890 Received DATA (on stdin)
03:10:48.651930 > 1 bytes data, server => client
03:10:48.651943 's'
03:10:48.661933 Received DATA (on stdin)
03:10:48.661957 > 1 bytes data, server => client
03:10:48.661967 'e'
03:10:48.671995 Received DATA (on stdin)
03:10:48.672013 > 1 bytes data, server => client
03:10:48.672022 'n'
03:10:48.682082 Received DATA (on stdin)
03:10:48.682106 > 1 bytes data, server => client
03:10:48.682119 't'
03:10:48.692128 Received DATA (on stdin)
03:10:48.692153 > 1 bytes data, server => client
03:10:48.692163 ' '
03:10:48.702201 Received DATA (on stdin)
03:10:48.702230 > 1 bytes data, server => client
03:10:48.702240 'i'
03:10:48.712263 Received DATA (on stdin)
03:10:48.712278 > 1 bytes data, server => client
03:10:48.712287 'n'
03:10:48.722331 Received DATA (on stdin)
03:10:48.722356 > 1 bytes data, server => client
03:10:48.722365 ' '
03:10:48.732417 Received DATA (on stdin)
03:10:48.732442 > 1 bytes data, server => client
03:10:48.732455 't'
03:10:48.742484 Received DATA (on stdin)
03:10:48.742508 > 1 bytes data, server => client
03:10:48.742521 'h'
03:10:48.752537 Received DATA (on stdin)
03:10:48.752571 > 1 bytes data, server => client
03:10:48.752581 'e'
03:10:48.762625 Received DATA (on stdin)
03:10:48.762650 > 1 bytes data, server => client
03:10:48.762663 ' '
03:10:48.772691 Received DATA (on stdin)
03:10:48.772715 > 1 bytes data, server => client
03:10:48.772728 't'
03:10:48.782738 Received DATA (on stdin)
03:10:48.782759 > 1 bytes data, server => client
03:10:48.782769 'i'
03:10:48.792822 Received DATA (on stdin)
03:10:48.792867 > 1 bytes data, server => client
03:10:48.792878 'm'
03:10:48.802898 Received DATA (on stdin)
03:10:48.802932 > 1 bytes data, server => client
03:10:48.802942 'e'
03:10:48.812965 Received DATA (on stdin)
03:10:48.812982 > 1 bytes data, server => client
03:10:48.812991 ' '
03:10:48.823033 Received DATA (on stdin)
03:10:48.823060 > 1 bytes data, server => client
03:10:48.823069 'a'
03:10:48.833102 Received DATA (on stdin)
03:10:48.833120 > 1 bytes data, server => client
03:10:48.833129 'l'
03:10:48.843169 Received DATA (on stdin)
03:10:48.843189 > 1 bytes data, server => client
03:10:48.843197 'l'
03:10:48.853242 Received DATA (on stdin)
03:10:48.853280 > 1 bytes data, server => client
03:10:48.853290 'o'
03:10:48.863303 Received DATA (on stdin)
03:10:48.863320 > 1 bytes data, server => client
03:10:48.863329 't'
03:10:48.873365 Received DATA (on stdin)
03:10:48.873383 > 1 bytes data, server => client
03:10:48.873392 't'
03:10:48.883432 Received DATA (on stdin)
03:10:48.883449 > 1 bytes data, server => client
03:10:48.883462 'e'
03:10:48.893501 Received DATA (on stdin)
03:10:48.893523 > 1 bytes data, server => client
03:10:48.893536 'd'
03:10:48.903564 Received DATA (on stdin)
03:10:48.903583 > 1 bytes data, server => client
03:10:48.903592 '.'
03:10:48.913625 Received DATA (on stdin)
03:10:48.913642 > 1 bytes data, server => client
03:10:48.913655 '\n'
03:10:48.923704 Received DATA (on stdin)
03:10:48.923724 > 1 bytes data, server => client
03:10:48.923733 'L'
03:10:48.933765 Received DATA (on stdin)
03:10:48.933781 > 1 bytes data, server => client
03:10:48.933791 'o'
03:10:48.943802 Received DATA (on stdin)
03:10:48.943826 > 1 bytes data, server => client
03:10:48.943842 'n'
03:10:48.953852 Received DATA (on stdin)
03:10:48.953881 > 1 bytes data, server => client
03:10:48.953890 'g'
03:10:48.963915 Received DATA (on stdin)
03:10:48.963932 > 1 bytes data, server => client
03:10:48.963941 ' '
03:10:48.973977 Received DATA (on stdin)
03:10:48.973993 > 1 bytes data, server => client
03:10:48.974002 'c'
03:10:48.984043 Received DATA (on stdin)
03:10:48.984066 > 1 bytes data, server => client
03:10:48.984076 'h'
03:10:48.994109 Received DATA (on stdin)
03:10:48.994130 > 1 bytes data, server => client
03:10:48.994139 'u'
03:10:49.004187 Received DATA (on stdin)
03:10:49.004230 > 1 bytes data, server => client
03:10:49.004240 'n'
03:10:49.014257 Received DATA (on stdin)
03:10:49.014287 > 1 bytes data, server => client
03:10:49.014297 'k'
03:10:49.024349 Received DATA (on stdin)
03:10:49.024377 > 1 bytes data, server => client
03:10:49.024390 ' '
03:10:49.034409 Received DATA (on stdin)
03:10:49.034431 > 1 bytes data, server => client
03:10:49.034441 'o'
03:10:49.044472 Received DATA (on stdin)
03:10:49.044489 > 1 bytes data, server => client
03:10:49.044498 'f'
03:10:49.054553 Received DATA (on stdin)
03:10:49.054593 > 1 bytes data, server => client
03:10:49.054603 ' '
03:10:49.064618 Received DATA (on stdin)
03:10:49.064636 > 1 bytes data, server => client
03:10:49.064645 'd'
03:10:49.074687 Received DATA (on stdin)
03:10:49.074704 > 1 bytes data, server => client
03:10:49.074717 'a'
03:10:49.084754 Received DATA (on stdin)
03:10:49.084780 > 1 bytes data, server => client
03:10:49.084789 't'
03:10:49.094835 Received DATA (on stdin)
03:10:49.094861 > 1 bytes data, server => client
03:10:49.094874 'a'
03:10:49.104888 Received DATA (on stdin)
03:10:49.104908 > 1 bytes data, server => client
03:10:49.104917 ' '
03:10:49.114955 Received DATA (on stdin)
03:10:49.114971 > 1 bytes data, server => client
03:10:49.114979 't'
03:10:49.125025 Received DATA (on stdin)
03:10:49.125056 > 1 bytes data, server => client
03:10:49.125066 'h'
03:10:49.135107 Received DATA (on stdin)
03:10:49.135131 > 1 bytes data, server => client
03:10:49.135144 'a'
03:10:49.145159 Received DATA (on stdin)
03:10:49.145180 > 1 bytes data, server => client
03:10:49.145190 't'
03:10:49.155228 Received DATA (on stdin)
03:10:49.155260 > 1 bytes data, server => client
03:10:49.155270 ' '
03:10:49.165292 Received DATA (on stdin)
03:10:49.165317 > 1 bytes data, server => client
03:10:49.165326 'c'
03:10:49.175357 Received DATA (on stdin)
03:10:49.175374 > 1 bytes data, server => client
03:10:49.175384 'o'
03:10:49.185422 Received DATA (on stdin)
03:10:49.185446 > 1 bytes data, server => client
03:10:49.185456 'u'
03:10:49.195488 Received DATA (on stdin)
03:10:49.195510 > 1 bytes data, server => client
03:10:49.195519 'l'
03:10:49.205551 Received DATA (on stdin)
03:10:49.205569 > 1 bytes data, server => client
03:10:49.205578 'd'
03:10:49.215613 Received DATA (on stdin)
03:10:49.215630 > 1 bytes data, server => client
03:10:49.215639 'n'
03:10:49.225683 Received DATA (on stdin)
03:10:49.225708 > 1 bytes data, server => client
03:10:49.225718 '''
03:10:49.235747 Received DATA (on stdin)
03:10:49.235765 > 1 bytes data, server => client
03:10:49.235785 't'
03:10:49.245808 Received DATA (on stdin)
03:10:49.245824 > 1 bytes data, server => client
03:10:49.245833 ' '
03:10:49.255879 Received DATA (on stdin)
03:10:49.255914 > 1 bytes data, server => client
03:10:49.255924 'p'
03:10:49.265947 Received DATA (on stdin)
03:10:49.265964 > 1 bytes data, server => client
03:10:49.265974 'o'
03:10:49.276021 Received DATA (on stdin)
03:10:49.276041 > 1 bytes data, server => client
03:10:49.276054 's'
03:10:49.286070 Received DATA (on stdin)
03:10:49.286092 > 1 bytes data, server => client
03:10:49.286102 's'
03:10:49.296148 Received DATA (on stdin)
03:10:49.296199 > 1 bytes data, server => client
03:10:49.296210 'i'
03:10:49.306217 Received DATA (on stdin)
03:10:49.306238 > 1 bytes data, server => client
03:10:49.306247 'b'
03:10:49.316281 Received DATA (on stdin)
03:10:49.316305 > 1 bytes data, server => client
03:10:49.316315 'l'
03:10:49.326349 Received DATA (on stdin)
03:10:49.326372 > 1 bytes data, server => client
03:10:49.326381 'y'
03:10:49.336415 Received DATA (on stdin)
03:10:49.336433 > 1 bytes data, server => client
03:10:49.336442 ' '
03:10:49.346506 Received DATA (on stdin)
03:10:49.346530 > 1 bytes data, server => client
03:10:49.346544 'b'
03:10:49.356554 Received DATA (on stdin)
03:10:49.356579 > 1 bytes data, server => client
03:10:49.356589 'e'
03:10:49.366619 Received DATA (on stdin)
03:10:49.366641 > 1 bytes data, server => client
03:10:49.366650 ' '
03:10:49.376708 Received DATA (on stdin)
03:10:49.376734 > 1 bytes data, server => client
03:10:49.376747 's'
03:10:49.386754 Received DATA (on stdin)
03:10:49.386778 > 1 bytes data, server => client
03:10:49.386787 'e'
03:10:49.396828 Received DATA (on stdin)
03:10:49.396857 > 1 bytes data, server => client
03:10:49.396866 'n'
03:10:49.406916 Received DATA (on stdin)
03:10:49.406939 > 1 bytes data, server => client
03:10:49.406952 't'
03:10:49.416968 Received DATA (on stdin)
03:10:49.417013 > 1 bytes data, server => client
03:10:49.417029 ' '
03:10:49.427073 Received DATA (on stdin)
03:10:49.427121 > 1 bytes data, server => client
03:10:49.427138 'i'
03:10:49.437164 Received DATA (on stdin)
03:10:49.437211 > 1 bytes data, server => client
03:10:49.437223 'n'
03:10:49.447229 Received DATA (on stdin)
03:10:49.447252 > 1 bytes data, server => client
03:10:49.447266 ' '
03:10:49.457299 Received DATA (on stdin)
03:10:49.457325 > 1 bytes data, server => client
03:10:49.457339 't'
03:10:49.467347 Received DATA (on stdin)
03:10:49.467367 > 1 bytes data, server => client
03:10:49.467377 'h'
03:10:49.477415 Received DATA (on stdin)
03:10:49.477434 > 1 bytes data, server => client
03:10:49.477444 'e'
03:10:49.487481 Received DATA (on stdin)
03:10:49.487501 > 1 bytes data, server => client
03:10:49.487510 ' '
03:10:49.497550 Received DATA (on stdin)
03:10:49.497570 > 1 bytes data, server => client
03:10:49.497580 't'
03:10:49.507637 Received DATA (on stdin)
03:10:49.507696 > 1 bytes data, server => client
03:10:49.507707 'i'
03:10:49.517704 Received DATA (on stdin)
03:10:49.517726 > 1 bytes data, server => client
03:10:49.517736 'm'
03:10:49.527773 Received DATA (on stdin)
03:10:49.527798 > 1 bytes data, server => client
03:10:49.527811 'e'
03:10:49.537854 Received DATA (on stdin)
03:10:49.537897 > 1 bytes data, server => client
03:10:49.537909 ' '
03:10:49.547915 Received DATA (on stdin)
03:10:49.547938 > 1 bytes data, server => client
03:10:49.547951 'a'
03:10:49.557989 Received DATA (on stdin)
03:10:49.558028 > 1 bytes data, server => client
03:10:49.558040 'l'
03:10:49.568061 Received DATA (on stdin)
03:10:49.568085 > 1 bytes data, server => client
03:10:49.568097 'l'
03:10:49.578132 Received DATA (on stdin)
03:10:49.578156 > 1 bytes data, server => client
03:10:49.578169 'o'
03:10:49.588196 Received DATA (on stdin)
03:10:49.588219 > 1 bytes data, server => client
03:10:49.588231 't'
03:10:49.598263 Received DATA (on stdin)
03:10:49.598285 > 1 bytes data, server => client
03:10:49.598297 't'
03:10:49.608331 Received DATA (on stdin)
03:10:49.608351 > 1 bytes data, server => client
03:10:49.608362 'e'
03:10:49.618397 Received DATA (on stdin)
03:10:49.618423 > 1 bytes data, server => client
03:10:49.618433 'd'
03:10:49.628467 Received DATA (on stdin)
03:10:49.628499 > 1 bytes data, server => client
03:10:49.628510 '.'
03:10:49.638535 Received DATA (on stdin)
03:10:49.638555 > 1 bytes data, server => client
03:10:49.638564 '\n'
03:10:49.648618 Received DATA (on stdin)
03:10:49.648638 > 1 bytes data, server => client
03:10:49.648647 'L'
03:10:49.658687 Received DATA (on stdin)
03:10:49.658706 > 1 bytes data, server => client
03:10:49.658715 'o'
03:10:49.668752 Received DATA (on stdin)
03:10:49.668782 > 1 bytes data, server => client
03:10:49.668791 'n'
03:10:49.678821 Received DATA (on stdin)
03:10:49.678847 > 1 bytes data, server => client
03:10:49.678858 'g'
03:10:49.688886 Received DATA (on stdin)
03:10:49.688908 > 1 bytes data, server => client
03:10:49.688917 ' '
03:10:49.698954 Received DATA (on stdin)
03:10:49.698976 > 1 bytes data, server => client
03:10:49.698985 'c'
03:10:49.709020 Received DATA (on stdin)
03:10:49.709041 > 1 bytes data, server => client
03:10:49.709050 'h'
03:10:49.719084 Received DATA (on stdin)
03:10:49.719102 > 1 bytes data, server => client
03:10:49.719110 'u'
03:10:49.729156 Received DATA (on stdin)
03:10:49.729186 > 1 bytes data, server => client
03:10:49.729195 'n'
03:10:49.739221 Received DATA (on stdin)
03:10:49.739236 > 1 bytes data, server => client
03:10:49.739245 'k'
03:10:49.749285 Received DATA (on stdin)
03:10:49.749305 > 1 bytes data, server => client
03:10:49.749314 ' '
03:10:49.759356 Received DATA (on stdin)
03:10:49.759379 > 1 bytes data, server => client
03:10:49.759388 'o'
03:10:49.769418 Received DATA (on stdin)
03:10:49.769434 > 1 bytes data, server => client
03:10:49.769443 'f'
03:10:49.779484 Received DATA (on stdin)
03:10:49.779510 > 1 bytes data, server => client
03:10:49.779523 ' '
03:10:49.789556 Received DATA (on stdin)
03:10:49.789583 > 1 bytes data, server => client
03:10:49.789596 'd'
03:10:49.799635 Received DATA (on stdin)
03:10:49.799677 > 1 bytes data, server => client
03:10:49.799690 'a'
03:10:49.809702 Received DATA (on stdin)
03:10:49.809726 > 1 bytes data, server => client
03:10:49.809738 't'
03:10:49.819775 Received DATA (on stdin)
03:10:49.819801 > 1 bytes data, server => client
03:10:49.819813 'a'
03:10:49.829851 Received DATA (on stdin)
03:10:49.829890 > 1 bytes data, server => client
03:10:49.829903 ' '
03:10:49.839914 Received DATA (on stdin)
03:10:49.839933 > 1 bytes data, server => client
03:10:49.839945 't'
03:10:49.849977 Received DATA (on stdin)
03:10:49.849999 > 1 bytes data, server => client
03:10:49.850011 'h'
03:10:49.860042 Received DATA (on stdin)
03:10:49.860067 > 1 bytes data, server => client
03:10:49.860079 'a'
03:10:49.870102 Received DATA (on stdin)
03:10:49.870121 > 1 bytes data, server => client
03:10:49.870133 't'
03:10:49.880172 Received DATA (on stdin)
03:10:49.880192 > 1 bytes data, server => client
03:10:49.880203 ' '
03:10:49.890240 Received DATA (on stdin)
03:10:49.890265 > 1 bytes data, server => client
03:10:49.890277 'c'
03:10:49.900308 Received DATA (on stdin)
03:10:49.900332 > 1 bytes data, server => client
03:10:49.900343 'o'
03:10:49.910373 Received DATA (on stdin)
03:10:49.910391 > 1 bytes data, server => client
03:10:49.910403 'u'
03:10:49.920437 Received DATA (on stdin)
03:10:49.920458 > 1 bytes data, server => client
03:10:49.920470 'l'
03:10:49.930511 Received DATA (on stdin)
03:10:49.930547 > 1 bytes data, server => client
03:10:49.930559 'd'
03:10:49.940575 Received DATA (on stdin)
03:10:49.940594 > 1 bytes data, server => client
03:10:49.940606 'n'
03:10:49.950643 Received DATA (on stdin)
03:10:49.950669 > 1 bytes data, server => client
03:10:49.950681 '''
03:10:49.960671 Received DATA (on stdin)
03:10:49.960696 > 1 bytes data, server => client
03:10:49.960708 't'
03:10:49.970730 Received DATA (on stdin)
03:10:49.970750 > 1 bytes data, server => client
03:10:49.970761 ' '
03:10:49.980792 Received DATA (on stdin)
03:10:49.980811 > 1 bytes data, server => client
03:10:49.980823 'p'
03:10:49.990856 Received DATA (on stdin)
03:10:49.990880 > 1 bytes data, server => client
03:10:49.990892 'o'
03:10:50.000937 Received DATA (on stdin)
03:10:50.000982 > 1 bytes data, server => client
03:10:50.000994 's'
03:10:50.011012 Received DATA (on stdin)
03:10:50.011047 > 1 bytes data, server => client
03:10:50.011060 's'
03:10:50.021082 Received DATA (on stdin)
03:10:50.021113 > 1 bytes data, server => client
03:10:50.021125 'i'
03:10:50.031157 Received DATA (on stdin)
03:10:50.031195 > 1 bytes data, server => client
03:10:50.031208 'b'
=== File too long: 2379 lines omitted here
03:10:57.804044 Received DATA (on stdin)
03:10:57.804084 > 1 bytes data, server => client
03:10:57.804098 ' '
03:10:57.804107 *** We are disconnected
03:10:57.814103 Received DATA (on stdin)
03:10:57.814128 > 1 bytes data, server => client
03:10:57.814141 't'
03:10:57.814152 *** We are disconnected
03:10:57.824165 Received DATA (on stdin)
03:10:57.824190 > 1 bytes data, server => client
03:10:57.824203 'h'
03:10:57.824214 *** We are disconnected
03:10:57.834223 Received DATA (on stdin)
03:10:57.834247 > 1 bytes data, server => client
03:10:57.834261 'a'
03:10:57.834271 *** We are disconnected
03:10:57.844286 Received DATA (on stdin)
03:10:57.844310 > 1 bytes data, server => client
03:10:57.844323 't'
03:10:57.844334 *** We are disconnected
03:10:57.854345 Received DATA (on stdin)
03:10:57.854370 > 1 bytes data, server => client
03:10:57.854383 ' '
03:10:57.854394 *** We are disconnected
03:10:57.864405 Received DATA (on stdin)
03:10:57.864429 > 1 bytes data, server => client
03:10:57.864442 'c'
03:10:57.864453 *** We are disconnected
03:10:57.874467 Received DATA (on stdin)
03:10:57.874491 > 1 bytes data, server => client
03:10:57.874504 'o'
03:10:57.874515 *** We are disconnected
03:10:57.884511 Received DATA (on stdin)
03:10:57.884533 > 1 bytes data, server => client
03:10:57.884543 'u'
03:10:57.884554 *** We are disconnected
03:10:57.894580 Received DATA (on stdin)
03:10:57.894617 > 1 bytes data, server => client
03:10:57.894646 'l'
03:10:57.894655 *** We are disconnected
03:10:57.904654 Received DATA (on stdin)
03:10:57.904678 > 1 bytes data, server => client
03:10:57.904688 'd'
03:10:57.904701 *** We are disconnected
03:10:57.914720 Received DATA (on stdin)
03:10:57.914736 > 1 bytes data, server => client
03:10:57.914745 'n'
03:10:57.914752 *** We are disconnected
03:10:57.924786 Received DATA (on stdin)
03:10:57.924811 > 1 bytes data, server => client
03:10:57.924824 '''
03:10:57.924832 *** We are disconnected
03:10:57.934853 Received DATA (on stdin)
03:10:57.934877 > 1 bytes data, server => client
03:10:57.934887 't'
03:10:57.934894 *** We are disconnected
03:10:57.944917 Received DATA (on stdin)
03:10:57.944936 > 1 bytes data, server => client
03:10:57.944945 ' '
03:10:57.944952 *** We are disconnected
03:10:57.954985 Received DATA (on stdin)
03:10:57.955009 > 1 bytes data, server => client
03:10:57.955020 'p'
03:10:57.955028 *** We are disconnected
03:10:57.965050 Received DATA (on stdin)
03:10:57.965114 > 1 bytes data, server => client
03:10:57.965128 'o'
03:10:57.965136 *** We are disconnected
03:10:57.975116 Received DATA (on stdin)
03:10:57.975131 > 1 bytes data, server => client
03:10:57.975149 's'
03:10:57.975156 *** We are disconnected
03:10:57.985180 Received DATA (on stdin)
03:10:57.985198 > 1 bytes data, server => client
03:10:57.985207 's'
03:10:57.985217 *** We are disconnected
03:10:57.995252 Received DATA (on stdin)
03:10:57.995288 > 1 bytes data, server => client
03:10:57.995299 'i'
03:10:57.995307 *** We are disconnected
03:10:58.005329 Received DATA (on stdin)
03:10:58.005368 > 1 bytes data, server => client
03:10:58.005378 'b'
03:10:58.005386 *** We are disconnected
03:10:58.015395 Received DATA (on stdin)
03:10:58.015415 > 1 bytes data, server => client
03:10:58.015430 'l'
03:10:58.015438 *** We are disconnected
03:10:58.025462 Received DATA (on stdin)
03:10:58.025484 > 1 bytes data, server => client
03:10:58.025493 'y'
03:10:58.025500 *** We are disconnected
03:10:58.035525 Received DATA (on stdin)
03:10:58.035541 > 1 bytes data, server => client
03:10:58.035549 ' '
03:10:58.035557 *** We are disconnected
03:10:58.045587 Received DATA (on stdin)
03:10:58.045612 > 1 bytes data, server => client
03:10:58.045622 'b'
03:10:58.045629 *** We are disconnected
03:10:58.055656 Received DATA (on stdin)
03:10:58.055690 > 1 bytes data, server => client
03:10:58.055701 'e'
03:10:58.055711 *** We are disconnected
03:10:58.065731 Received DATA (on stdin)
03:10:58.065771 > 1 bytes data, server => client
03:10:58.065781 ' '
03:10:58.065789 *** We are disconnected
03:10:58.075799 Received DATA (on stdin)
03:10:58.075843 > 1 bytes data, server => client
03:10:58.075854 's'
03:10:58.075861 *** We are disconnected
03:10:58.085857 Received DATA (on stdin)
03:10:58.085876 > 1 bytes data, server => client
03:10:58.085885 'e'
03:10:58.085892 *** We are disconnected
03:10:58.095927 Received DATA (on stdin)
03:10:58.095959 > 1 bytes data, server => client
03:10:58.095968 'n'
03:10:58.095975 *** We are disconnected
03:10:58.105992 Received DATA (on stdin)
03:10:58.106007 > 1 bytes data, server => client
03:10:58.106016 't'
03:10:58.106023 *** We are disconnected
03:10:58.116054 Received DATA (on stdin)
03:10:58.116072 > 1 bytes data, server => client
03:10:58.116082 ' '
03:10:58.116089 *** We are disconnected
03:10:58.126122 Received DATA (on stdin)
03:10:58.126152 > 1 bytes data, server => client
03:10:58.126161 'i'
03:10:58.126168 *** We are disconnected
03:10:58.136182 Received DATA (on stdin)
03:10:58.136198 > 1 bytes data, server => client
03:10:58.136207 'n'
03:10:58.136215 *** We are disconnected
03:10:58.146242 Received DATA (on stdin)
03:10:58.146257 > 1 bytes data, server => client
03:10:58.146266 ' '
03:10:58.146273 *** We are disconnected
03:10:58.156304 Received DATA (on stdin)
03:10:58.156322 > 1 bytes data, server => client
03:10:58.156332 't'
03:10:58.156339 *** We are disconnected
03:10:58.166367 Received DATA (on stdin)
03:10:58.166389 > 1 bytes data, server => client
03:10:58.166399 'h'
03:10:58.166410 *** We are disconnected
03:10:58.176432 Received DATA (on stdin)
03:10:58.176447 > 1 bytes data, server => client
03:10:58.176456 'e'
03:10:58.176466 *** We are disconnected
03:10:58.186513 Received DATA (on stdin)
03:10:58.186557 > 1 bytes data, server => client
03:10:58.186567 ' '
03:10:58.186574 *** We are disconnected
03:10:58.196609 Received DATA (on stdin)
03:10:58.196660 > 1 bytes data, server => client
03:10:58.196674 't'
03:10:58.196681 *** We are disconnected
03:10:58.206699 Received DATA (on stdin)
03:10:58.206764 > 1 bytes data, server => client
03:10:58.206775 'i'
03:10:58.206782 *** We are disconnected
03:10:58.216771 Received DATA (on stdin)
03:10:58.216842 > 1 bytes data, server => client
03:10:58.216861 'm'
03:10:58.216875 *** We are disconnected
03:10:58.226846 Received DATA (on stdin)
03:10:58.226882 > 1 bytes data, server => client
03:10:58.226891 'e'
03:10:58.226899 *** We are disconnected
03:10:58.236927 Received DATA (on stdin)
03:10:58.236971 > 1 bytes data, server => client
03:10:58.236985 ' '
03:10:58.236993 *** We are disconnected
03:10:58.247000 Received DATA (on stdin)
03:10:58.247019 > 1 bytes data, server => client
03:10:58.247032 'a'
03:10:58.247052 *** We are disconnected
03:10:58.257061 Received DATA (on stdin)
03:10:58.257080 > 1 bytes data, server => client
03:10:58.257089 'l'
03:10:58.257096 *** We are disconnected
03:10:58.267145 Received DATA (on stdin)
03:10:58.267204 > 1 bytes data, server => client
03:10:58.267220 'l'
03:10:58.267231 *** We are disconnected
03:10:58.277228 Received DATA (on stdin)
03:10:58.277274 > 1 bytes data, server => client
03:10:58.277291 'o'
03:10:58.277304 *** We are disconnected
03:10:58.287302 Received DATA (on stdin)
03:10:58.287342 > 1 bytes data, server => client
03:10:58.287352 't'
03:10:58.287359 *** We are disconnected
03:10:58.297377 Received DATA (on stdin)
03:10:58.297417 > 1 bytes data, server => client
03:10:58.297434 't'
03:10:58.297443 *** We are disconnected
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.08.14 03:10:37 LOG5[2463]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.14 03:10:37 LOG5[2463]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.14 03:10:37 LOG5[2463]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.14 03:10:37 LOG5[2463]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.14 03:10:37 LOG5[2463]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.14 03:10:37 LOG5[2463]: Reading configuration from file /build-30040/tests/ftps_stunnel.conf
2019.08.14 03:10:37 LOG5[2463]: FIPS mode disabled
2019.08.14 03:10:37 LOG5[2463]: Configuration successful
2019.08.14 03:10:38 LOG5[2466]: Service [curltest] accepted connection from 127.0.0.1:42982
2019.08.14 03:10:38 LOG5[2466]: s_connect: connected 127.0.0.1:8992
2019.08.14 03:10:38 LOG5[2466]: Service [curltest] connected remote server from 127.0.0.1:60176
2019.08.14 03:10:39 LOG5[2466]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.08.14 03:10:41 LOG5[2471]: Service [curltest] accepted connection from 127.0.0.1:42988
2019.08.14 03:10:43 LOG5[2471]: s_connect: connected 127.0.0.1:8992
2019.08.14 03:10:43 LOG5[2471]: Service [curltest] connected remote server from 127.0.0.1:60182
2019.08.14 03:10:57 LOG5[2471]: Connection closed: 347 byte(s) sent to SSL, 95 byte(s) sent to socket
2019.08.14 03:10:58 LOG5[2463]: Terminated
=== End of file ftps_stunnel.log
=== Start of file ftps_verify.log
* STATE: INIT => CONNECT handle 0x55df7ca9e798; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8993...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55df7ca9e798; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55df7ca9e798; line 1538 (connection #0)
* Marked for [keep alive]: FTP default
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [126 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* FTP 0x55df7cab4370 (line 3092) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55df7ca9e798; line 1553 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x55df7cab4370 (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 0x55df7cab4370 (line 2520) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x55df7cab4370 (line 2496) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x55df7cab4370 (line 2709) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x55df7cab4370 (line 804) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x55df7cab4370 (line 2844) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x55df7ca9e798; line 1572 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x55df7cab4370 (line 1330) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x55df7ca9e798; line 1614 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||43697|)
* Trying 127.0.0.1:43697...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 43697
* FTP 0x55df7cab4370 (line 1977) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x55df7ca9e798; line 1699 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* DO-MORE connected phase starts
} [5 bytes data]
> TYPE I
* FTP 0x55df7cab4370 (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 0x55df7cab4370 (line 1743) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 16
} [5 bytes data]
> RETR verifiedserver
* FTP 0x55df7cab4370 (line 2229) state change from RETR_SIZE to RETR
{ [5 bytes data]
< 150 Binary junk (16 bytes).
* Maxdownload = -1
* Getting file with size: 16
* FTP 0x55df7cab4370 (line 477) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x55df7ca9e798; line 1724 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55df7ca9e798; line 1749 (connection #0)
{ [16 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x55df7ca9e798; line 1939 (connection #0)
* multi_done
* Remembering we are in dir ""
{ [5 bytes data]
< 226 File transfer complete
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55df7ca9e798)
=== End of file ftps_verify.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
EPSV
TYPE I
SIZE 1112
RETR 1112
=== End of file server.input
=== Start of file stderr1112
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0
0 3600 0 26 0 0 4 0 0:15:00 0:00:05 0:14:55 4
3 3600 3 126 0 0 18 0 0:03:20 0:00:06 0:03:14 26
6 3600 6 225 0 0 28 0 0:02:08 0:00:07 0:02:01 45
9 3600 9 324 0 0 36 0 0:01:40 0:00:08 0:01:32 64
11 3600 11 424 0 0 42 0 0:01:25 0:00:09 0:01:16 84
14 3600 14 523 0 0 48 0 0:01:15 0:00:10 0:01:05 99
17 3600 17 622 0 0 52 0 0:01:09 0:00:11 0:00:58 99
20 3600 20 722 0 0 56 0 0:01:04 0:00:12 0:00:52 99
22 3600 22 821 0 0 59 0 0:01:01 0:00:13 0:00:48 99
25 3600 25 920 0 0 61 0 0:00:59 0:00:14 0:00:45 99
28 3600 28 1020 0 0 64 0 0:00:56 0:00:15 0:00:41 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:41.123378 == Info: STATE: INIT => CONNECT handle 0x56c52e8; line 1362 (connection #-5000)
03:10:41.181384 == Info: Added connection 0. The cache now contains 1 members
03:10:41.199809 == Info: Trying 127.0.0.1:8993...
03:10:41.200457 == Info: TCP_NODELAY set
03:10:41.205043 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52e8; line 1418 (connection #0)
03:10:41.217000 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:10:41.217625 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52e8; line 1538 (connection #0)
03:10:41.218731 == Info: Marked for [keep alive]: FTP default
03:10:42.716688 == Info: successfully set certificate verify locations:
03:10:42.716964 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:10:42.836224 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:10:42.841290 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:10:42.841348 => Send SSL data, 126 bytes (0x7e)
0000: ...z.......DG......W4.....o...ky".C8......+./.,.0...............
0040: ../.5.....3...................................................
03:10:42.858357 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:10:42.864036 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:10:42.864093 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...He..t{..3....v.1#~..^..G_....N/ :. j.:.W...r|..57...)*A.;
0040: ..I..@../................
03:10:42.908246 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:42.908717 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:10:42.908773 <= 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:43.009661 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:10:43.009932 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:10:43.009992 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..|M".......N...e.PR......l.a...f.AT.~D6.KX[=.,........b
0040: 8...v..p(.......6}...#...S.,.}f{.t.....(b..Y.jg.,_.....#....asG.
0080: .,..[.i..}..".........`.0........3.:T........U(F.....F.1...+v.E.
00c0: .......W.5.HH..Ce.S*Z..K.R..+....s_,\..>.\.V....L.B.Rv1.NHs....]
0100: ..R...r..,..N........*.y/..J.b.&)......K...-.j...Do.P.......d'..
0140: y...2..q.C>..
03:10:43.081496 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.081844 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:10:43.081901 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:10:43.200184 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:10:43.200438 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:10:43.200494 => Send SSL data, 70 bytes (0x46)
0000: ...BA.5.....R;....g....n..Xs..>.p.e......}?h....V!..}.i..=.1g.O.
0040: i.9...
03:10:43.212456 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:43.213044 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:10:43.213100 => Send SSL data, 1 bytes (0x1)
0000: .
03:10:43.234886 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:10:43.234954 => Send SSL data, 16 bytes (0x10)
0000: .....-....\.7.].
03:10:43.247567 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:10:43.250280 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.251411 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:10:43.251468 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:10:43.253974 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:10:43.259867 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:10:43.259922 <= Recv SSL data, 16 bytes (0x10)
0000: ......$...&..+.|
03:10:43.291106 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:10:43.293901 == Info: Server certificate:
03:10:43.302224 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:10:43.308430 == Info: start date: Aug 31 23:39:18 2018 GMT
03:10:43.309418 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:10:43.310346 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:10:43.311272 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:10:43.312787 == Info: FTP 0x57410f0 (line 3092) state change from STOP to WAIT220
03:10:43.319035 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.322413 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.322657 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.322886 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.323112 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.323336 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.323559 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.323789 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.326725 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c52e8; line 1553 (connection #0)
03:10:43.332904 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.339686 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.349812 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.359821 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.369892 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.379968 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.390037 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.400115 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.410150 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.420155 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.430262 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.440288 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.450412 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.460454 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.470502 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.480571 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.490645 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.500797 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.510936 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.520950 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.531018 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.541039 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.551163 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.561158 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.561585 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:10:43.571229 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.581329 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.591496 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.601546 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.611454 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.621533 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.631584 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.641671 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.651732 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.661784 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.671869 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.681953 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.692063 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.702094 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.712119 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.722210 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.732273 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.742353 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.752451 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.762467 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.772550 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.782597 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.792812 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.802812 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.812787 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.822886 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.832994 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.843048 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.853085 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.863148 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.873209 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.883256 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.883401 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:10:43.893436 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.903470 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.913590 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.923660 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.933736 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.943734 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.953803 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.963847 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.973923 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.984013 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.994082 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.004198 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.014170 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.024344 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.034415 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.044532 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.054505 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.064540 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.074623 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.084687 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.094766 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.104845 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.114877 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.124985 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.135024 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.145065 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.155156 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.165252 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.175284 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.185400 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.195429 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.205516 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.205655 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:10:44.215587 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.225667 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.235719 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.245855 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.255960 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.266029 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.276031 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.286122 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.296228 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.306183 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.316260 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.326348 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.336471 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.346483 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.356556 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.366570 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.376640 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.386740 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.396880 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.406883 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.416962 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.427009 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.437125 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.447145 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.457268 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.467288 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.477356 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.487428 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.497498 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.507711 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.517667 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.527747 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.527917 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:10:44.537835 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.547852 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.557981 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.568019 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.578090 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.588140 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.598248 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.608278 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.618325 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.628405 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.638544 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.648582 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.658639 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.668713 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.678778 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.688804 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.698908 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.708929 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.718989 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.729089 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.739161 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.749235 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.759278 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.769346 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.779427 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.789531 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.799637 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.809611 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.819663 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.829720 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.839865 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.849872 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.850028 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:10:44.857775 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:10:44.860848 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:10:44.861678 == Info: FTP 0x57410f0 (line 792) state change from WAIT220 to USER
03:10:44.862067 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.904057 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.910451 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.920620 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.930569 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.930717 <= Recv header, 8 bytes (0x8)
0000: 331 OK
03:10:44.932089 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:44.932219 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:10:44.932608 == Info: FTP 0x57410f0 (line 2520) state change from USER to PASS
03:10:44.940803 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.984032 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.991173 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.001334 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.011377 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.011567 <= Recv header, 8 bytes (0x8)
0000: 230 OK
03:10:45.012334 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:45.012459 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:10:45.012841 == Info: FTP 0x57410f0 (line 2496) state change from PASS to PBSZ
03:10:45.021503 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.064041 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.071804 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.081866 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.091978 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.102016 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.112099 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.122141 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.132185 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.142210 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.152337 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.162361 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.172404 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.182461 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.192556 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.202654 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.212757 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.222783 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.232790 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.242845 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.252951 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.262990 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.273052 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.273194 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:10:45.273819 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:45.273942 => Send header, 8 bytes (0x8)
0000: PROT C
03:10:45.274290 == Info: FTP 0x57410f0 (line 2709) state change from PBSZ to PROT
03:10:45.283362 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.324027 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.333674 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.343732 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.353802 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.363898 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.373919 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.384074 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.394070 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.404164 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.414272 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.424385 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.434367 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.444428 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.454511 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.464556 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.474616 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.484711 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.494772 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.505012 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.514987 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.525024 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.535066 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.535215 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:10:45.535993 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:45.536117 => Send header, 5 bytes (0x5)
0000: PWD
03:10:45.536450 == Info: FTP 0x57410f0 (line 804) state change from PROT to PWD
03:10:45.545294 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.588024 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.595687 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.605778 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.615801 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.625856 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.626014 <= Recv header, 9 bytes (0x9)
0000: 257 "/"
03:10:45.627168 == Info: Entry path is '/'
03:10:45.627404 == Info: FTP 0x57410f0 (line 2844) state change from PWD to STOP
03:10:45.627574 == Info: protocol connect phase DONE
03:10:45.627862 == Info: STATE: PROTOCONNECT => DO handle 0x56c52e8; line 1572 (connection #0)
03:10:45.630691 == Info: DO phase starts
03:10:45.632925 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:45.633061 => Send header, 6 bytes (0x6)
0000: EPSV
03:10:45.633437 == Info: FTP 0x57410f0 (line 1330) state change from STOP to PASV
03:10:45.633624 == Info: Connect data stream passively
03:10:45.634569 == Info: ftp_perform ends with SECONDARY: 0
03:10:45.635309 == Info: STATE: DO => DOING handle 0x56c52e8; line 1614 (connection #0)
03:10:45.638363 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.680022 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.688065 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.698098 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.708255 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.718213 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.728329 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.738324 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.748440 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.758491 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.768537 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.778619 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.788705 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.798825 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.808900 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.818912 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.828970 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.839023 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.849120 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.859168 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.869225 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.879292 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.889390 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.899438 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.909580 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.919589 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.929650 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.939724 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.949789 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.959890 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.969920 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.979992 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.990061 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.000194 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.010204 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.010380 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||46803|).
03:10:46.016573 == Info: Trying 127.0.0.1:46803...
03:10:46.016645 == Info: TCP_NODELAY set
03:10:46.018305 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 46803
03:10:46.019448 == Info: FTP 0x57410f0 (line 1977) state change from PASV to STOP
03:10:46.020068 == Info: DO phase is complete2
03:10:46.020396 == Info: STATE: DOING => DO_MORE handle 0x56c52e8; line 1699 (connection #0)
03:10:46.021194 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:10:46.021422 == Info: DO-MORE connected phase starts
03:10:46.022896 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:46.023034 => Send header, 8 bytes (0x8)
0000: TYPE I
03:10:46.023442 == Info: FTP 0x57410f0 (line 3418) state change from STOP to RETR_TYPE
03:10:46.023873 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.064335 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.073833 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.083940 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.094046 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.094220 <= Recv header, 8 bytes (0x8)
0000: 200 OK
03:10:46.095449 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:10:46.095573 => Send header, 11 bytes (0xb)
0000: SIZE 1112
03:10:46.095970 == Info: FTP 0x57410f0 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:10:46.104536 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.148055 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.154847 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.164931 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.174994 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.185064 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.195114 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.195261 <= Recv header, 10 bytes (0xa)
0000: 213 3600
03:10:46.197005 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:10:46.197126 => Send header, 11 bytes (0xb)
0000: RETR 1112
03:10:46.197473 == Info: FTP 0x57410f0 (line 2229) state change from RETR_SIZE to RETR
03:10:46.205694 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.248044 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.255979 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.266149 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.276160 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.286208 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.296348 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.306423 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.316424 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.326485 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.336548 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.346645 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.356664 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.366708 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.376839 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.386892 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.396981 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.407003 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.417089 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.427141 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.437202 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.447365 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.457439 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.467432 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.477517 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.487577 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.497651 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.507833 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.517837 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.527845 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.537925 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.548050 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.558158 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.568117 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.578208 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.588287 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.598311 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.608400 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.618483 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.628517 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.638556 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.648704 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.658745 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.668872 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.678836 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.688941 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.698959 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.709054 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.719096 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.729154 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.739208 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.739351 <= Recv header, 54 bytes (0x36)
0000: 150 Binary data connection for 1112 () (3600 bytes).
03:10:46.740329 == Info: Maxdownload = -1
03:10:46.740552 == Info: Getting file with size: 3600
03:10:46.742043 == Info: FTP 0x57410f0 (line 477) state change from RETR to STOP
03:10:46.742633 == Info: STATE: DO_MORE => DO_DONE handle 0x56c52e8; line 1724 (connection #0)
03:10:46.743047 == Info: STATE: DO_DONE => PERFORM handle 0x56c52e8; line 1749 (connection #0)
03:10:46.752191 <= Recv data, 1 bytes (0x1)
0000: L
03:10:46.759326 <= Recv data, 1 bytes (0x1)
0000: o
03:10:46.769390 <= Recv data, 1 bytes (0x1)
0000: n
03:10:46.779452 <= Recv data, 1 bytes (0x1)
0000: g
03:10:46.789613 <= Recv data, 1 bytes (0x1)
0000:
03:10:46.799667 <= Recv data, 1 bytes (0x1)
0000: c
03:10:46.809669 <= Recv data, 1 bytes (0x1)
0000: h
03:10:46.819733 <= Recv data, 1 bytes (0x1)
0000: u
03:10:46.829825 <= Recv data, 1 bytes (0x1)
0000: n
03:10:46.839916 <= Recv data, 1 bytes (0x1)
0000: k
03:10:46.849960 <= Recv data, 1 bytes (0x1)
0000:
03:10:46.860048 <= Recv data, 1 bytes (0x1)
0000: o
03:10:46.870096 <= Recv data, 1 bytes (0x1)
0000: f
03:10:46.880160 <= Recv data, 1 bytes (0x1)
0000:
03:10:46.890226 <= Recv data, 1 bytes (0x1)
0000: d
03:10:46.900300 <= Recv data, 1 bytes (0x1)
0000: a
03:10:46.910362 <= Recv data, 1 bytes (0x1)
0000: t
03:10:46.920389 <= Recv data, 1 bytes (0x1)
0000: a
03:10:46.930449 <= Recv data, 1 bytes (0x1)
0000:
03:10:46.940508 <= Recv data, 1 bytes (0x1)
0000: t
03:10:46.950674 <= Recv data, 1 bytes (0x1)
0000: h
03:10:46.960663 <= Recv data, 1 bytes (0x1)
0000: a
03:10:46.970731 <= Recv data, 1 bytes (0x1)
0000: t
03:10:46.980803 <= Recv data, 1 bytes (0x1)
0000:
03:10:46.990840 <= Recv data, 1 bytes (0x1)
0000: c
03:10:47.001035 <= Recv data, 1 bytes (0x1)
0000: o
03:10:47.011059 <= Recv data, 1 bytes (0x1)
0000: u
03:10:47.021100 <= Recv data, 1 bytes (0x1)
0000: l
03:10:47.031159 <= Recv data, 1 bytes (0x1)
0000: d
03:10:47.041263 <= Recv data, 1 bytes (0x1)
0000: n
03:10:47.051381 <= Recv data, 1 bytes (0x1)
0000: '
03:10:47.061381 <= Recv data, 1 bytes (0x1)
0000: t
03:10:47.071432 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.081489 <= Recv data, 1 bytes (0x1)
0000: p
03:10:47.091599 <= Recv data, 1 bytes (0x1)
0000: o
03:10:47.101664 <= Recv data, 1 bytes (0x1)
0000: s
03:10:47.111691 <= Recv data, 1 bytes (0x1)
0000: s
03:10:47.121822 <= Recv data, 1 bytes (0x1)
0000: i
03:10:47.131791 <= Recv data, 1 bytes (0x1)
0000: b
03:10:47.141869 <= Recv data, 1 bytes (0x1)
0000: l
03:10:47.151950 <= Recv data, 1 bytes (0x1)
0000: y
03:10:47.162014 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.172088 <= Recv data, 1 bytes (0x1)
0000: b
03:10:47.182109 <= Recv data, 1 bytes (0x1)
0000: e
03:10:47.192220 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.202259 <= Recv data, 1 bytes (0x1)
0000: s
03:10:47.212466 <= Recv data, 1 bytes (0x1)
0000: e
03:10:47.222469 <= Recv data, 1 bytes (0x1)
0000: n
03:10:47.232507 <= Recv data, 1 bytes (0x1)
0000: t
03:10:47.242542 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.252623 <= Recv data, 1 bytes (0x1)
0000: i
03:10:47.262665 <= Recv data, 1 bytes (0x1)
0000: n
03:10:47.272849 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.282839 <= Recv data, 1 bytes (0x1)
0000: t
03:10:47.292962 <= Recv data, 1 bytes (0x1)
0000: h
03:10:47.303039 <= Recv data, 1 bytes (0x1)
0000: e
03:10:47.313130 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.323220 <= Recv data, 1 bytes (0x1)
0000: t
03:10:47.333214 <= Recv data, 1 bytes (0x1)
0000: i
03:10:47.343256 <= Recv data, 1 bytes (0x1)
0000: m
03:10:47.353327 <= Recv data, 1 bytes (0x1)
0000: e
03:10:47.363399 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.373483 <= Recv data, 1 bytes (0x1)
0000: a
03:10:47.383536 <= Recv data, 1 bytes (0x1)
0000: l
03:10:47.393657 <= Recv data, 1 bytes (0x1)
0000: l
03:10:47.403718 <= Recv data, 1 bytes (0x1)
0000: o
03:10:47.413802 <= Recv data, 1 bytes (0x1)
0000: t
03:10:47.423900 <= Recv data, 1 bytes (0x1)
0000: t
03:10:47.433904 <= Recv data, 1 bytes (0x1)
0000: e
03:10:47.443977 <= Recv data, 1 bytes (0x1)
0000: d
03:10:47.454050 <= Recv data, 1 bytes (0x1)
0000: .
03:10:47.464109 <= Recv data, 1 bytes (0x1)
0000: .
03:10:47.474196 <= Recv data, 1 bytes (0x1)
0000: L
03:10:47.484234 <= Recv data, 1 bytes (0x1)
0000: o
03:10:47.494319 <= Recv data, 1 bytes (0x1)
0000: n
03:10:47.504479 <= Recv data, 1 bytes (0x1)
0000: g
03:10:47.514464 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.524612 <= Recv data, 1 bytes (0x1)
0000: c
03:10:47.534609 <= Recv data, 1 bytes (0x1)
0000: h
03:10:47.544675 <= Recv data, 1 bytes (0x1)
0000: u
03:10:47.554762 <= Recv data, 1 bytes (0x1)
0000: n
03:10:47.564815 <= Recv data, 1 bytes (0x1)
0000: k
03:10:47.574883 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.584924 <= Recv data, 1 bytes (0x1)
0000: o
03:10:47.594991 <= Recv data, 1 bytes (0x1)
0000: f
03:10:47.605038 <= Recv data, 1 bytes (0x1)
=== File too long: 1704 lines omitted here
0000: o
03:10:56.193426 <= Recv data, 1 bytes (0x1)
0000: n
03:10:56.203493 <= Recv data, 1 bytes (0x1)
0000: g
03:10:56.213632 <= Recv data, 1 bytes (0x1)
0000:
03:10:56.223720 <= Recv data, 1 bytes (0x1)
0000: c
03:10:56.233736 <= Recv data, 1 bytes (0x1)
0000: h
03:10:56.243831 <= Recv data, 1 bytes (0x1)
0000: u
03:10:56.253906 <= Recv data, 1 bytes (0x1)
0000: n
03:10:56.264053 <= Recv data, 1 bytes (0x1)
0000: k
03:10:56.274070 <= Recv data, 1 bytes (0x1)
0000:
03:10:56.284151 <= Recv data, 1 bytes (0x1)
0000: o
03:10:56.294160 <= Recv data, 1 bytes (0x1)
0000: f
03:10:56.304343 <= Recv data, 1 bytes (0x1)
0000:
03:10:56.314364 <= Recv data, 1 bytes (0x1)
0000: d
03:10:56.324440 <= Recv data, 1 bytes (0x1)
0000: a
03:10:56.334477 <= Recv data, 1 bytes (0x1)
0000: t
03:10:56.344504 <= Recv data, 1 bytes (0x1)
0000: a
03:10:56.354620 <= Recv data, 1 bytes (0x1)
0000:
03:10:56.364724 <= Recv data, 1 bytes (0x1)
0000: t
03:10:56.374798 <= Recv data, 1 bytes (0x1)
0000: h
03:10:56.384818 <= Recv data, 1 bytes (0x1)
0000: a
03:10:56.394960 <= Recv data, 1 bytes (0x1)
0000: t
03:10:56.405005 <= Recv data, 1 bytes (0x1)
0000:
03:10:56.415041 <= Recv data, 1 bytes (0x1)
0000: c
03:10:56.425132 <= Recv data, 1 bytes (0x1)
0000: o
03:10:56.435164 <= Recv data, 1 bytes (0x1)
0000: u
03:10:56.445229 <= Recv data, 1 bytes (0x1)
0000: l
03:10:56.455300 <= Recv data, 1 bytes (0x1)
0000: d
03:10:56.465377 <= Recv data, 1 bytes (0x1)
0000: n
03:10:56.475449 <= Recv data, 1 bytes (0x1)
0000: '
03:10:56.485483 <= Recv data, 1 bytes (0x1)
0000: t
03:10:56.495552 <= Recv data, 1 bytes (0x1)
0000:
03:10:56.505729 <= Recv data, 1 bytes (0x1)
0000: p
03:10:56.515844 <= Recv data, 1 bytes (0x1)
0000: o
03:10:56.525889 <= Recv data, 1 bytes (0x1)
0000: s
03:10:56.535966 <= Recv data, 1 bytes (0x1)
0000: s
03:10:56.545996 <= Recv data, 1 bytes (0x1)
0000: i
03:10:56.555972 <= Recv data, 1 bytes (0x1)
0000: b
03:10:56.566054 <= Recv data, 1 bytes (0x1)
0000: l
03:10:56.576142 <= Recv data, 1 bytes (0x1)
0000: y
03:10:56.586170 <= Recv data, 1 bytes (0x1)
0000:
03:10:56.596248 <= Recv data, 1 bytes (0x1)
0000: b
03:10:56.606302 <= Recv data, 1 bytes (0x1)
0000: e
03:10:56.616365 <= Recv data, 1 bytes (0x1)
0000:
03:10:56.626420 <= Recv data, 1 bytes (0x1)
0000: s
03:10:56.636501 <= Recv data, 1 bytes (0x1)
0000: e
03:10:56.646567 <= Recv data, 1 bytes (0x1)
0000: n
03:10:56.656630 <= Recv data, 1 bytes (0x1)
0000: t
03:10:56.666716 <= Recv data, 1 bytes (0x1)
0000:
03:10:56.676762 <= Recv data, 1 bytes (0x1)
0000: i
03:10:56.686807 <= Recv data, 1 bytes (0x1)
0000: n
03:10:56.696863 <= Recv data, 1 bytes (0x1)
0000:
03:10:56.706943 <= Recv data, 1 bytes (0x1)
0000: t
03:10:56.717015 <= Recv data, 1 bytes (0x1)
0000: h
03:10:56.727093 <= Recv data, 1 bytes (0x1)
0000: e
03:10:56.737107 <= Recv data, 1 bytes (0x1)
0000:
03:10:56.747196 <= Recv data, 1 bytes (0x1)
0000: t
03:10:56.757261 <= Recv data, 1 bytes (0x1)
0000: i
03:10:56.767371 <= Recv data, 1 bytes (0x1)
0000: m
03:10:56.777403 <= Recv data, 1 bytes (0x1)
0000: e
03:10:56.787455 <= Recv data, 1 bytes (0x1)
0000:
03:10:56.797576 <= Recv data, 1 bytes (0x1)
0000: a
03:10:56.807624 <= Recv data, 1 bytes (0x1)
0000: l
03:10:56.817669 <= Recv data, 1 bytes (0x1)
0000: l
03:10:56.827712 <= Recv data, 1 bytes (0x1)
0000: o
03:10:56.837755 <= Recv data, 1 bytes (0x1)
0000: t
03:10:56.847863 <= Recv data, 1 bytes (0x1)
0000: t
03:10:56.857909 <= Recv data, 1 bytes (0x1)
0000: e
03:10:56.868004 <= Recv data, 1 bytes (0x1)
0000: d
03:10:56.877982 <= Recv data, 1 bytes (0x1)
0000: .
03:10:56.888073 <= Recv data, 1 bytes (0x1)
0000: .
03:10:56.898123 <= Recv data, 1 bytes (0x1)
0000: L
03:10:56.908220 <= Recv data, 1 bytes (0x1)
0000: o
03:10:56.918242 <= Recv data, 1 bytes (0x1)
0000: n
03:10:56.928310 <= Recv data, 1 bytes (0x1)
0000: g
03:10:56.938362 <= Recv data, 1 bytes (0x1)
0000:
03:10:56.948471 <= Recv data, 1 bytes (0x1)
0000: c
03:10:56.958521 <= Recv data, 1 bytes (0x1)
0000: h
03:10:56.968618 <= Recv data, 1 bytes (0x1)
0000: u
03:10:56.978626 <= Recv data, 1 bytes (0x1)
0000: n
03:10:56.988728 <= Recv data, 1 bytes (0x1)
0000: k
03:10:56.998819 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.008955 <= Recv data, 1 bytes (0x1)
0000: o
03:10:57.018970 <= Recv data, 1 bytes (0x1)
0000: f
03:10:57.028981 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.039066 <= Recv data, 1 bytes (0x1)
0000: d
03:10:57.049156 <= Recv data, 1 bytes (0x1)
0000: a
03:10:57.059203 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.069328 <= Recv data, 1 bytes (0x1)
0000: a
03:10:57.079341 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.089412 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.099447 <= Recv data, 1 bytes (0x1)
0000: h
03:10:57.109498 <= Recv data, 1 bytes (0x1)
0000: a
03:10:57.119590 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.129673 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.140661 == Info: Operation timed out after 16000 milliseconds with 1032 out of 3600 bytes received
03:10:57.141049 == Info: Marked for [closure]: Disconnected with pending data
03:10:57.141237 == Info: multi_done
03:10:57.152040 == Info: Closing connection 0
03:10:57.153683 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:57.154661 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
03:10:57.154720 => Send SSL data, 2 bytes (0x2)
0000: ..
03:10:57.215379 == Info: The cache now contains 0 members
03:10:57.222484 == Info: Expire cleared (transfer 0x56c52e8)
=== End of file trace1112
=== Start of file valgrind1112
==2470== Invalid read of size 8
==2470== at 0x53315A5: check_free (dlerror.c:188)
==2470== by 0x5331AB1: free_key_mem (dlerror.c:221)
==2470== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==2470== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==2470== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==2470== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==2470== by 0x4D60EB9: exit (exit.c:139)
==2470== by 0x4D4B0A1: (below main) (libc-start.c:342)
==2470== Address 0x5af4ff0 is 0 bytes after a block of size 32 alloc'd
==2470== at 0x483577F: malloc (vg_replace_malloc.c:309)
==2470== by 0x25C282: OPENSSL_malloc (mem.c:106)
==2470== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==2470== by 0x24B104: err_get_state (err.c:210)
==2470== by 0x24BCDA: ERR_put_error (err.c:636)
==2470== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==2470== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==2470== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==2470== by 0x270326: by_file_ctrl (by_file.c:111)
==2470== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==2470== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==2470== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==2470== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==2470== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==2470== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==2470== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==2470==
==2470== Invalid free() / delete / delete[] / realloc()
==2470== at 0x48369AB: free (vg_replace_malloc.c:540)
==2470== by 0x5331AB9: free_key_mem (dlerror.c:223)
==2470== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==2470== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==2470== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==2470== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==2470== by 0x4D60EB9: exit (exit.c:139)
==2470== by 0x4D4B0A1: (below main) (libc-start.c:342)
==2470== Address 0x5af4fd8 is 8 bytes inside a block of size 32 alloc'd
==2470== at 0x483577F: malloc (vg_replace_malloc.c:309)
==2470== by 0x25C282: OPENSSL_malloc (mem.c:106)
==2470== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==2470== by 0x24B104: err_get_state (err.c:210)
==2470== by 0x24BCDA: ERR_put_error (err.c:636)
==2470== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==2470== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==2470== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==2470== by 0x270326: by_file_ctrl (by_file.c:111)
==2470== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==2470== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==2470== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==2470== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==2470== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==2470== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==2470== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==2470==
==2470== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==2470== at 0x483577F: malloc (vg_replace_malloc.c:309)
==2470== by 0x25C282: OPENSSL_malloc (mem.c:106)
==2470== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==2470== by 0x24B104: err_get_state (err.c:210)
==2470== by 0x24BCDA: ERR_put_error (err.c:636)
==2470== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==2470== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==2470== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==2470== by 0x270326: by_file_ctrl (by_file.c:111)
==2470== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==2470== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==2470== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==2470== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==2470== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==2470== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==2470== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==2470==
=== End of file valgrind1112
test 1113...[FTP wildcard download - changed fnmatch, 2x perform (DOS LIST response)]
s-p----emv- OK (789 out of 1250, remaining: 11:36, took 3.8s, duration: 19:51)
test 1114...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (DOS)]
s------emv- OK (790 out of 1250, remaining: 11:34, took 1.4s, duration: 19:53)
test 1115...[HTTP GET with unexpected 1xx response]
--pd---emv- OK (791 out of 1250, remaining: 11:33, took 1.2s, duration: 19:54)
test 1116...[HTTP GET with chunked trailer without Trailer:]
--pd--oemv- OK (792 out of 1250, remaining: 11:31, took 1.2s, duration: 19:55)
test 1117...[HTTP with invalid range then another URL]
s-p----emv- OK (793 out of 1250, remaining: 11:42, took 24.1s, duration: 20:19)
test 1118...[URL without slash and @-letter in query]
--pd---emv- OK (794 out of 1250, remaining: 11:41, took 1.2s, duration: 20:20)
test 1119...[Verify that symbols-in-versions and headers are in sync]
-------e-- OK (795 out of 1250, remaining: 11:38, took 0.0s, duration: 20:20)
test 1120...[FTP with 421 timeout response]
--p----emv- OK (796 out of 1250, remaining: 11:37, took 1.2s, duration: 20:22)
test 1121...[HTTP multiple provided Host: headers]
--pd---emv- OK (797 out of 1250, remaining: 11:35, took 1.2s, duration: 20:23)
test 1122...[HTTP GET gzip transfer-encoded content]
--pd---emv- OK (798 out of 1250, remaining: 11:33, took 1.2s, duration: 20:24)
test 1123...[HTTP GET deflate transfer-encoded content]
--pd---emv- OK (799 out of 1250, remaining: 11:31, took 1.3s, duration: 20:25)
test 1124...[HTTP GET gzip+chunked transfer-encoded content]
--pd---emv- OK (800 out of 1250, remaining: 11:30, took 1.2s, duration: 20:27)
test 1125...[HTTP GET transfer-encoding with custom Connection:]
--pd---emv- OK (801 out of 1250, remaining: 11:28, took 1.2s, duration: 20:28)
test 1126...[HTTP 200 If-Modified-Since with newer document]
--pd---emv- OK (802 out of 1250, remaining: 11:26, took 1.2s, duration: 20:29)
test 1127...[HTTP 200 If-Modified-Since with older document]
--pd---emv- OK (803 out of 1250, remaining: 11:25, took 1.3s, duration: 20:30)
test 1128...[HTTP 200 If-Modified-Since with old+new documents]
s-p----emv- OK (804 out of 1250, remaining: 11:23, took 1.3s, duration: 20:32)
test 1129...[HTTP POST expect 100-continue with a 404]
s-p----emv- OK (805 out of 1250, remaining: 11:21, took 1.2s, duration: 20:33)
test 1130...[HTTP POST forced expect 100-continue with a 404]
s-p----emv- OK (806 out of 1250, remaining: 11:20, took 1.2s, duration: 20:34)
test 1131...[HTTP PUT expect 100-continue with a 400]
s-p----emv- OK (807 out of 1250, remaining: 11:18, took 1.2s, duration: 20:35)
test 1132...[Verify memory #include files in libcurl's C source files]
-------e-- OK (808 out of 1250, remaining: 11:15, took 0.0s, duration: 20:35)
test 1133...[HTTP RFC1867-type formposting with filename/data contains ',', ';', '"']
--pd---emv- OK (809 out of 1250, remaining: 11:14, took 2.3s, duration: 20:38)
test 1134...[HTTP connection re-use with different credentials]
--pd---emv- OK (810 out of 1250, remaining: 11:13, took 1.3s, duration: 20:39)
test 1135...[Verify CURL_EXTERN order]
s------e-- OK (811 out of 1250, remaining: 11:10, took 0.0s, duration: 20:39)
test 1136...[Check cookies against PSL]
---d--oemv- OK (812 out of 1250, remaining: 11:09, took 1.4s, duration: 20:40)
test 1137...[FTP RETR --ignore-content-length]
--pd---emv- OK (813 out of 1250, remaining: 11:07, took 1.3s, duration: 20:41)
test 1138...[HTTP redirect with UTF-8 characters]
--pd---emv- OK (814 out of 1250, remaining: 11:05, took 1.3s, duration: 20:43)
test 1139...[Verify that all libcurl options have man pages]
-------e-- OK (815 out of 1250, remaining: 11:03, took 0.1s, duration: 20:43)
test 1140...[Verify the nroff of man pages]
-------e-- OK (816 out of 1250, remaining: 11:01, took 0.0s, duration: 20:43)
test 1141...[HTTP redirect to http:/// (three slashes!)]
--pd---emv- OK (817 out of 1250, remaining: 10:59, took 1.3s, duration: 20:44)
test 1142...[HTTP redirect to http://// (four slashes!)]
--pd---emv- OK (818 out of 1250, remaining: 10:57, took 1.2s, duration: 20:45)
test 1143...[HTTP URL with http:/ (one slash!)]
--pd---emv- OK (819 out of 1250, remaining: 10:56, took 1.2s, duration: 20:47)
test 1144...[HTTP HEAD, receive no headers only body]
--pd---emv- OK (820 out of 1250, remaining: 10:54, took 1.2s, duration: 20:48)
test 1145...[file:// bad host]
-------emv- OK (821 out of 1250, remaining: 10:52, took 1.1s, duration: 20:49)
test 1146...[--proto-default file]
---d---emv- OK (822 out of 1250, remaining: 10:51, took 1.1s, duration: 20:50)
test 1147...[Get -H headers from a file]
--pd---emv- OK (823 out of 1250, remaining: 10:49, took 1.2s, duration: 20:51)
test 1148...[progress-bar]
--pd--oemv- OK (824 out of 1250, remaining: 10:47, took 1.2s, duration: 20:52)
test 1149...[FTP dir list multicwd then again nocwd]
--pd---emv- OK (825 out of 1250, remaining: 10:46, took 1.3s, duration: 20:54)
test 1150...[HTTP proxy with URLs using different ports]
--pd---emv- OK (826 out of 1250, remaining: 10:44, took 1.3s, duration: 20:55)
test 1151...[HTTP with too long cookies]
--pd--oemv- OK (827 out of 1250, remaining: 10:42, took 1.3s, duration: 20:56)
test 1152...[FTP with uneven quote in PWD response]
--pd---emv- OK (828 out of 1250, remaining: 10:41, took 1.3s, duration: 20:58)
test 1153...[FTP with quoted double quotes]
--pd---emv- OK (829 out of 1250, remaining: 10:39, took 1.2s, duration: 20:59)
test 1154...[HTTP GET]
--p----emv- OK (830 out of 1250, remaining: 10:37, took 1.2s, duration: 21:00)
test 1155...[HTTP cookie with parameter word as name]
--pd--oemv- OK (831 out of 1250, remaining: 10:36, took 1.2s, duration: 21:01)
test 1156...[HTTP resume/range fail range-error content-range combinations]
-------emv- OK (832 out of 1250, remaining: 10:34, took 1.2s, duration: 21:02)
test 1157...[Get -H headers from empty file]
--pd---emv- OK (833 out of 1250, remaining: 10:32, took 1.2s, duration: 21:04)
test 1158...[HTTP RFC1867-type formposting with filename containing '"']
--pd---emv- OK (834 out of 1250, remaining: 10:31, took 1.3s, duration: 21:05)
test 1159...[HTTP Location: and 'redirect_url' with non-supported scheme]
s-p----emv- OK (835 out of 1250, remaining: 10:29, took 1.2s, duration: 21:06)
test 1160...[HTTP with long funny format cookie]
--pd--oemv- OK (836 out of 1250, remaining: 10:27, took 1.2s, duration: 21:07)
test 1161...[HTTP cookie with path set twice]
--pd--oemv- OK (837 out of 1250, remaining: 10:26, took 1.2s, duration: 21:09)
test 1162...[FTP wildcard with crazy pattern]
--p----emv- OK (838 out of 1250, remaining: 10:24, took 1.2s, duration: 21:10)
test 1163...[FTP wildcard with pattern ending with an open-bracket]
--p----emv- OK (839 out of 1250, remaining: 10:22, took 1.1s, duration: 21:11)
test 1164...[HTTP/0.9 GET and all zeroes]
s-p----emv- OK (840 out of 1250, remaining: 10:21, took 1.3s, duration: 21:12)
test 1165...[Verify configure.ac and source code CURL_DISABLE_-sync]
-------e-- OK (841 out of 1250, remaining: 10:18, took 0.0s, duration: 21:12)
test 1170...[HTTP GET transfer-encoding with removed Connection:]
--pd---emv- OK (842 out of 1250, remaining: 10:17, took 1.2s, duration: 21:13)
test 1171...[HTTP GET transfer-encoding with blanked Connection:]
--pd---emv- OK (843 out of 1250, remaining: 10:15, took 1.2s, duration: 21:15)
test 1172...[HTTP/0.9 GET response denied]
--p----emv- OK (844 out of 1250, remaining: 10:13, took 1.2s, duration: 21:16)
test 1173...[Basic man page syntax check]
-------e-- OK (845 out of 1250, remaining: 10:11, took 0.0s, duration: 21:16)
test 1174...[HTTP/0.9 GET response denied by default]
--p----emv- OK (846 out of 1250, remaining: 10:10, took 1.2s, duration: 21:17)
test 1200...[Gopher index]
--pd---emv- OK (847 out of 1250, remaining: 10:09, took 3.3s, duration: 21:20)
test 1201...[Gopher selector]
--pd---emv- OK (848 out of 1250, remaining: 10:07, took 1.2s, duration: 21:21)
test 1202...[Gopher query]
--pd---emv- OK (849 out of 1250, remaining: 10:06, took 1.2s, duration: 21:23)
test 1203...[Gopher IPv6 index]
--pd---emv- OK (850 out of 1250, remaining: 10:05, took 3.3s, duration: 21:26)
test 1204...[HTTP with WWW-Authenticate and multiple auths in a single line]
--pd---emv- OK (851 out of 1250, remaining: 10:03, took 1.2s, duration: 21:27)
test 1205...[HTTP GET with 18K HTTP header]
--pd---emv- OK (852 out of 1250, remaining: 10:02, took 1.3s, duration: 21:28)
test 1206...[FTP PORT and 425 on download]
--p----emv- OK (853 out of 1250, remaining: 10:00, took 1.3s, duration: 21:30)
test 1207...[FTP PORT and 421 on download]
--p----emv- OK (854 out of 1250, remaining: 09:58, took 1.3s, duration: 21:31)
test 1208...[FTP PORT download, no data conn and no transient negative reply]
--p----emv- OK (855 out of 1250, remaining: 09:58, took 3.1s, duration: 21:34)
test 1210...[HTTP GET with -J without Content-Disposition]
--p---oemv- OK (856 out of 1250, remaining: 09:56, took 1.2s, duration: 21:35)
test 1212...[noproxy setting together with socks proxy]
--pd---emv- OK (857 out of 1250, remaining: 09:54, took 1.2s, duration: 21:36)
test 1213...[HTTP with proxy and host-only URL]
--pd---emv- OK (858 out of 1250, remaining: 09:53, took 1.2s, duration: 21:38)
test 1214...[HTTP with proxy and URL with ? and no slash separator]
--pd---emv- OK (859 out of 1250, remaining: 09:51, took 1.2s, duration: 21:39)
test 1215...[HTTP with server NTLM authorization using a proxy]
--pd---emv- OK (860 out of 1250, remaining: 09:49, took 1.3s, duration: 21:40)
test 1216...[HTTP cookie domains tailmatching the host name]
--pd---emv- OK (861 out of 1250, remaining: 09:48, took 1.3s, duration: 21:41)
test 1217...[FTP with rubbish before name in 257-response]
--pd---emv- OK (862 out of 1250, remaining: 09:46, took 1.3s, duration: 21:43)
test 1218...[HTTP cookies and domains with same prefix]
--pd---emv- OK (863 out of 1250, remaining: 09:45, took 1.3s, duration: 21:44)
test 1219...[FTP with no user+password required (230 response)]
--pd---emv- OK (864 out of 1250, remaining: 09:43, took 1.2s, duration: 21:45)
test 1220...[file:// URLs with query string]
s------emv- OK (865 out of 1250, remaining: 09:41, took 1.1s, duration: 21:46)
test 1221...[10 chars object name generation testing]
------oe-- OK (866 out of 1250, remaining: 09:39, took 0.2s, duration: 21:47)
test 1222...[8 chars object name generation testing]
------oe-- OK (867 out of 1250, remaining: 09:37, took 0.2s, duration: 21:47)
test 1223...[HTTP GET -w remote_ip and -w remote_port]
s-p----emv- OK (868 out of 1250, remaining: 09:35, took 1.2s, duration: 21:48)
test 1224...[FTP fetch a file from the root directory]
--pd---emv- OK (869 out of 1250, remaining: 09:34, took 1.2s, duration: 21:49)
test 1225...[FTP fetch two files using absolute paths]
--pd---emv- OK (870 out of 1250, remaining: 09:32, took 1.4s, duration: 21:51)
test 1226...[FTP fetch a file from the root directory with singlecwd]
--pd---emv- OK (871 out of 1250, remaining: 09:31, took 1.2s, duration: 21:52)
test 1227...[FTP fetch a file from the root directory with nocwd]
--pd---emv- OK (872 out of 1250, remaining: 09:29, took 1.2s, duration: 21:53)
test 1228...[HTTP cookie path match]
--pd---emv- OK (873 out of 1250, remaining: 09:27, took 1.3s, duration: 21:54)
test 1229...[HTTP with Digest authorization with user name needing escape]
--pd---emv- OK (874 out of 1250, remaining: 09:26, took 1.3s, duration: 21:56)
test 1230...[HTTP CONNECT to IPv6 numerical address]
--pd---emv- OK (875 out of 1250, remaining: 09:24, took 1.3s, duration: 21:57)
test 1231...[HTTP URL with dotdot removal from path]
--pd---emv- OK (876 out of 1250, remaining: 09:22, took 1.2s, duration: 21:58)
test 1232...[HTTP URL with dotdot removal from path using an HTTP proxy]
--pd---emv- OK (877 out of 1250, remaining: 09:21, took 1.2s, duration: 21:59)
test 1233...[FTP failing to connect to EPSV port, switching to PASV]
--pd---emv- OK (878 out of 1250, remaining: 09:19, took 1.3s, duration: 22:01)
test 1234...[abusing {}-globbing]
-------emv- OK (879 out of 1250, remaining: 09:18, took 0.9s, duration: 22:02)
test 1235...[multiple requests using {}{} in the URL]
s-p----emv- OK (880 out of 1250, remaining: 09:16, took 1.3s, duration: 22:03)
test 1236...[[] globbing overflowing the range counter]
-------emv- OK (881 out of 1250, remaining: 09:14, took 1.0s, duration: 22:04)
test 1237...[URL with 1000+ letter user name + password]
--pd---emv- OK (882 out of 1250, remaining: 09:13, took 1.2s, duration: 22:05)
test 1238...[slow TFTP retrieve cancel due to -Y and -y]
--p----emv- OK (883 out of 1250, remaining: 09:13, took 5.1s, duration: 22:10)
test 1239...[HTTP with -z + -w response_code and simulated 304]
s-p----emv- OK (884 out of 1250, remaining: 09:11, took 1.2s, duration: 22:11)
test 1240...[glob [0-1] with stuff after range (7.33.0 regression)]
--pd---emv- OK (885 out of 1250, remaining: 09:09, took 1.2s, duration: 22:13)
test 1241...[HTTP _without_ dotdot removal]
--pd---emv- OK (886 out of 1250, remaining: 09:08, took 1.3s, duration: 22:14)
test 1242...[TFTP retrieve without TFTP options requests]
--pd---emv- OK (887 out of 1250, remaining: 09:06, took 1.1s, duration: 22:15)
test 1243...[TFTP send without TFTP options requests]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (888 out of 1250, remaining: 09:05, took 3.2s, duration: 22:18)
test 1244...[HTTP GET same URL - different proxy ports]
--pd---emv- OK (889 out of 1250, remaining: 09:04, took 1.2s, duration: 22:19)
test 1245...[--proto deny must override --proto-redir allow]
--pd---emv- OK (890 out of 1250, remaining: 09:02, took 1.3s, duration: 22:21)
test 1246...[URL with '#' at end of host name instead of '/']
--pd---emv- OK (891 out of 1250, remaining: 09:00, took 1.2s, duration: 22:22)
test 1247...[--fail-early]
-------emv- OK (892 out of 1250, remaining: 08:59, took 1.1s, duration: 22:23)
test 1248...[Access a non-proxied host with using the combination of --proxy option and --noproxy option]
--pd---emv- OK (893 out of 1250, remaining: 08:57, took 1.3s, duration: 22:24)
test 1249...[Access a non-proxied host with using the combination of --proxy option and NO_PROXY env var]
--pd---emv- OK (894 out of 1250, remaining: 08:56, took 1.3s, duration: 22:26)
test 1250...[Access a non-proxied host with using the combination of http_proxy env var and --noproxy option]
--pd---emv- OK (895 out of 1250, remaining: 08:54, took 1.2s, duration: 22:27)
test 1251...[Access a non-proxied host with using the combination of http_proxy env var and NO_PROXY env var]
--pd---emv- OK (896 out of 1250, remaining: 08:52, took 1.3s, duration: 22:28)
test 1252...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL directly]
--pd---emv- OK (897 out of 1250, remaining: 08:51, took 1.2s, duration: 22:29)
test 1253...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (898 out of 1250, remaining: 08:49, took 1.2s, duration: 22:30)
test 1254...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (899 out of 1250, remaining: 08:47, took 1.3s, duration: 22:32)
test 1255...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL directly]
--pd---emv- OK (900 out of 1250, remaining: 08:46, took 1.2s, duration: 22:33)
test 1256...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (901 out of 1250, remaining: 08:44, took 1.2s, duration: 22:34)
test 1257...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (902 out of 1250, remaining: 08:43, took 1.2s, duration: 22:35)
test 1258...[HTTP, use cookies with localhost]
--pd---emv- OK (903 out of 1250, remaining: 08:41, took 1.3s, duration: 22:37)
test 1259...[HTTP URL with semicolon in password]
--pd---emv- OK (904 out of 1250, remaining: 08:39, took 1.2s, duration: 22:38)
test 1260...[HTTP URL with rubbish after port number]
-------emv- OK (905 out of 1250, remaining: 08:38, took 1.1s, duration: 22:39)
test 1261...['redirect_url' with --location and --max-redir]
s-p----emv- OK (906 out of 1250, remaining: 08:36, took 1.3s, duration: 22:40)
test 1262...[FTP request and denied to download an older file with -z]
--p----emv- OK (907 out of 1250, remaining: 08:35, took 1.2s, duration: 22:41)
test 1263...[HTTP URL with rubbish after IPv6 bracket]
-------emv- OK (908 out of 1250, remaining: 08:33, took 1.2s, duration: 22:43)
test 1264...[HTTP URL with space in host name]
-------emv- OK (909 out of 1250, remaining: 08:31, took 1.1s, duration: 22:44)
test 1265...[NO_PROXY with IPv6 numerical address]
--pd---emv- OK (910 out of 1250, remaining: 08:30, took 1.2s, duration: 22:45)
test 1266...[HTTP GET with a single-byte HTTP/0.9 response]
--pd---emv- OK (911 out of 1250, remaining: 08:28, took 1.3s, duration: 22:46)
test 1267...[HTTP GET with a invalid HTTP/1 response line start]
--pd---emv- OK (912 out of 1250, remaining: 08:26, took 1.2s, duration: 22:47)
test 1268...[file name argument looks like a flag]
------oemv- OK (913 out of 1250, remaining: 08:25, took 1.1s, duration: 22:48)
test 1269...[too large --retry-delay value]
-------emv- OK (914 out of 1250, remaining: 08:23, took 0.9s, duration: 22:49)
test 1280...[simple [a-d] globbing]
--pd---emv- OK (915 out of 1250, remaining: 08:21, took 1.3s, duration: 22:50)
test 1281...[reject non-numerical port number in URL]
-------emv- OK (916 out of 1250, remaining: 08:20, took 1.1s, duration: 22:52)
test 1282...[FTP with 633 response before gss initialized]
--p----emv- OK (917 out of 1250, remaining: 08:18, took 1.2s, duration: 22:53)
test 1283...[globbing range with same start and stop]
--p---oemv- OK (918 out of 1250, remaining: 08:17, took 1.3s, duration: 22:54)
test 1284...[HTTP POST --digest with user-specified Content-Length header]
--pd---emv- OK (919 out of 1250, remaining: 08:15, took 1.3s, duration: 22:55)
test 1285...[HTTP PUT --digest with user-specified Content-Length header]
--pd---emv- OK (920 out of 1250, remaining: 08:14, took 2.3s, duration: 22:58)
test 1286...[HTTP GET --digest increasing nonce-count]
--pd---emv- OK (921 out of 1250, remaining: 08:12, took 1.3s, duration: 22:59)
test 1287...[HTTP over proxy-tunnel ignore TE and CL in CONNECT 2xx responses]
--pd-Poemv- OK (922 out of 1250, remaining: 08:11, took 1.7s, duration: 23:01)
test 1288...[Suppress proxy CONNECT response headers]
s-p--P-emv- OK (923 out of 1250, remaining: 08:09, took 1.7s, duration: 23:02)
test 1289...[globbing with overflow and bad syntxx]
-------emv- OK (924 out of 1250, remaining: 08:08, took 0.9s, duration: 23:03)
test 1290...[Verify URL globbing ignores []]
--pd---emv- OK (925 out of 1250, remaining: 08:06, took 1.2s, duration: 23:04)
test 1291...[Attempt to upload 1000 files but fail immediately]
-------emv- OK (926 out of 1250, remaining: 08:09, took 14.4s, duration: 23:19)
test 1292...[Replaced internal headers with a blank one]
--pd---emv- OK (927 out of 1250, remaining: 08:07, took 1.2s, duration: 23:20)
test 1298...[HTTP GET special path with --request-target]
--pd---emv- OK (928 out of 1250, remaining: 08:06, took 1.2s, duration: 23:21)
test 1299...[Send "OPTIONS *" with --request-target]
--pd---emv- OK (929 out of 1250, remaining: 08:04, took 1.2s, duration: 23:22)
test 1300...[llist unit tests]
-------emv- OK (930 out of 1250, remaining: 08:02, took 0.8s, duration: 23:23)
test 1301...[curl_strcasecompare unit tests]
-------emv- OK (931 out of 1250, remaining: 08:01, took 0.8s, duration: 23:24)
test 1302...[base64 encode/decode unit tests]
-------emv- OK (932 out of 1250, remaining: 07:59, took 0.9s, duration: 23:25)
test 1303...[Curl_timeleft unit tests]
-------emv- OK (933 out of 1250, remaining: 07:57, took 0.9s, duration: 23:26)
test 1304...[netrc parsing unit tests]
-------emv- OK (934 out of 1250, remaining: 07:56, took 0.9s, duration: 23:27)
test 1305...[internal hash create/destroy testing]
-------emv- OK (935 out of 1250, remaining: 07:54, took 0.9s, duration: 23:28)
test 1306...[internal hash create/add/destroy testing]
-------emv- OK (936 out of 1250, remaining: 07:52, took 0.9s, duration: 23:28)
test 1308...[formpost unit tests]
-------emv- OK (937 out of 1250, remaining: 07:50, took 0.9s, duration: 23:29)
test 1309...[splay unit tests]
s------emv- OK (938 out of 1250, remaining: 07:49, took 0.9s, duration: 23:30)
test 1310...[HTTP with NTLM delegation to winbind helper]
--pd---emv- OK (939 out of 1250, remaining: 07:47, took 1.2s, duration: 23:31)
test 1311...[HTTP GET with -J and Content-Disposition]
--p---oemv- OK (940 out of 1250, remaining: 07:46, took 1.2s, duration: 23:33)
test 1312...[HTTP GET with -J, Content-Disposition and ; in filename]
--p---oemv- OK (941 out of 1250, remaining: 07:44, took 1.2s, duration: 23:34)
test 1313...[HTTP GET with -J, Content-Disposition, uneven quotes]
--p---oemv- OK (942 out of 1250, remaining: 07:42, took 1.2s, duration: 23:35)
test 1314...[HTTP Location: following a // prefixed url]
--pd---emv- OK (943 out of 1250, remaining: 07:41, took 1.2s, duration: 23:36)
test 1315...[HTTP RFC1867-type formposting - -F with three files, one with explicit type]
--pd---emv- OK (944 out of 1250, remaining: 07:39, took 1.3s, duration: 23:38)
test 1317...[HTTP with --resolve]
--pd---emv- OK (945 out of 1250, remaining: 07:38, took 1.2s, duration: 23:39)
test 1318...[HTTP with --resolve and same host name using different cases]
--pd---emv- OK (946 out of 1250, remaining: 07:36, took 1.3s, duration: 23:40)
test 1319...[POP3 fetch tunneled through HTTP proxy]
--pd-P-emv- OK (947 out of 1250, remaining: 07:35, took 1.8s, duration: 23:42)
test 1320...[SMTP send tunneled through HTTP proxy]
--p-uP-emv- OK (948 out of 1250, remaining: 07:33, took 1.7s, duration: 23:44)
test 1321...[IMAP FETCH tunneled through HTTP proxy]
--pd-P-emv- OK (949 out of 1250, remaining: 07:32, took 1.8s, duration: 23:45)
test 1322...[HTTP with --resolve and hostname with trailing dot]
--pd---emv- OK (950 out of 1250, remaining: 07:30, took 1.2s, duration: 23:47)
test 1323...[curlx_tvdiff]
-------emv- OK (951 out of 1250, remaining: 07:28, took 0.8s, duration: 23:48)
test 1324...[HTTP with --resolve and [ipv6address]]
--pd---emv- OK (952 out of 1250, remaining: 07:27, took 1.2s, duration: 23:49)
test 1325...[HTTP 308-redirect with POST]
--pd---emv- OK (953 out of 1250, remaining: 07:25, took 1.3s, duration: 23:50)
test 1326...[TELNET to HTTP server]
--pd---emv- OK (954 out of 1250, remaining: 07:24, took 1.4s, duration: 23:51)
test 1327...[TELNET check of upload with stdout redirected]
--p----emv- OK (955 out of 1250, remaining: 07:22, took 1.3s, duration: 23:53)
test 1328...[HTTP GET a globbed range with -f]
--pd---emv- OK (956 out of 1250, remaining: 07:21, took 1.2s, duration: 23:54)
test 1329...[/-prefixed proxy name]
-------emv- OK (957 out of 1250, remaining: 07:19, took 1.2s, duration: 23:55)
test 1330...[unit tests memory tracking operational]
------oemv- OK (958 out of 1250, remaining: 07:17, took 0.8s, duration: 23:56)
test 1331...[HTTP --proxy-anyauth and 407 with cookies]
--pd---emv- OK (959 out of 1250, remaining: 07:16, took 1.3s, duration: 23:57)
test 1332...[HTTP POST with 303 redirect and --post303]
--pd---emv- OK (960 out of 1250, remaining: 07:14, took 1.3s, duration: 23:58)
test 1333...[HTTP POST zero length, chunked-encoded]
--pd---emv- OK (961 out of 1250, remaining: 07:13, took 1.2s, duration: 24:00)
test 1334...[HTTP GET with -O without Content-Disposition, -D file]
--p---oemv- OK (962 out of 1250, remaining: 07:11, took 1.2s, duration: 24:01)
test 1335...[HTTP GET with -O without Content-Disposition, -D stdout]
--p---oemv- OK (963 out of 1250, remaining: 07:09, took 1.2s, duration: 24:02)
test 1336...[HTTP GET with -O and Content-Disposition, -D file]
--p---oemv- OK (964 out of 1250, remaining: 07:08, took 1.2s, duration: 24:03)
test 1337...[HTTP GET with -O and Content-Disposition, -D stdout]
--p---oemv- OK (965 out of 1250, remaining: 07:06, took 1.2s, duration: 24:04)
test 1338...[HTTP GET with -O -J without Content-Disposition, -D file]
--p---oemv- OK (966 out of 1250, remaining: 07:05, took 1.2s, duration: 24:06)
test 1339...[HTTP GET with -O -J without Content-Disposition, -D stdout]
--p---oemv- OK (967 out of 1250, remaining: 07:03, took 1.2s, duration: 24:07)
test 1340...[HTTP GET with -O -J and Content-Disposition, -D file]
--p---oemv- OK (968 out of 1250, remaining: 07:02, took 1.2s, duration: 24:08)
test 1341...[HTTP GET with -O -J and Content-Disposition, -D stdout]
--p---oemv- OK (969 out of 1250, remaining: 07:00, took 1.2s, duration: 24:09)
test 1342...[HTTP GET with -O -i without Content-Disposition, -D file]
--p---oemv- OK (970 out of 1250, remaining: 06:58, took 1.2s, duration: 24:11)
test 1343...[HTTP GET with -O -i without Content-Disposition, -D stdout]
--p---oemv- OK (971 out of 1250, remaining: 06:57, took 1.2s, duration: 24:12)
test 1344...[HTTP GET with -O -i and Content-Disposition, -D file]
--p---oemv- OK (972 out of 1250, remaining: 06:55, took 1.2s, duration: 24:13)
test 1345...[HTTP GET with -O -i and Content-Disposition, -D stdout]
--p---oemv- OK (973 out of 1250, remaining: 06:54, took 1.2s, duration: 24:14)
test 1346...[HTTP GET with -O -i without Content-Disposition, without -D]
--p---oemv- OK (974 out of 1250, remaining: 06:52, took 1.2s, duration: 24:15)
test 1347...[HTTP GET with -O -i and Content-Disposition, without -D]
--p---oemv- OK (975 out of 1250, remaining: 06:50, took 1.2s, duration: 24:17)
test 1348...[FTP download, file without Content-Disposition inside, using -O]
--p---oemv- OK (976 out of 1250, remaining: 06:49, took 1.2s, duration: 24:18)
test 1349...[FTP download, file without C-D inside, using -O -D file]
--p---oemv- OK (977 out of 1250, remaining: 06:47, took 1.3s, duration: 24:19)
test 1350...[FTP download, file without C-D inside, using -O -D stdout]
--p---oemv- OK (978 out of 1250, remaining: 06:46, took 1.3s, duration: 24:20)
test 1351...[FTP download, file without C-D inside, using -O -J -D file]
--p---oemv- OK (979 out of 1250, remaining: 06:44, took 1.3s, duration: 24:22)
test 1352...[FTP download, file without C-D inside, using -O -J -D stdout]
--p---oemv- OK (980 out of 1250, remaining: 06:43, took 1.2s, duration: 24:23)
test 1353...[FTP download, file without C-D inside, using -O -i -D file]
--p---oemv- OK (981 out of 1250, remaining: 06:41, took 1.3s, duration: 24:24)
test 1354...[FTP download, file without C-D inside, using -O -i -D stdout]
--p---oemv- OK (982 out of 1250, remaining: 06:40, took 1.3s, duration: 24:26)
test 1355...[FTP download, file without C-D inside, using -O -i, without -D]
--p---oemv- OK (983 out of 1250, remaining: 06:38, took 1.2s, duration: 24:27)
test 1356...[FTP download, file with Content-Disposition inside, using -O]
--p---oemv- OK (984 out of 1250, remaining: 06:36, took 1.2s, duration: 24:28)
test 1357...[FTP download, file with C-D inside, using -O -D file]
--p---oemv- OK (985 out of 1250, remaining: 06:35, took 1.3s, duration: 24:29)
test 1358...[FTP download, file with C-D inside, using -O -D stdout]
--p---oemv- OK (986 out of 1250, remaining: 06:33, took 1.2s, duration: 24:31)
test 1359...[FTP download, file with C-D inside, using -O -J -D file]
--p---oemv- OK (987 out of 1250, remaining: 06:32, took 1.3s, duration: 24:32)
test 1360...[FTP download, file with C-D inside, using -O -J -D stdout]
--p---oemv- OK (988 out of 1250, remaining: 06:30, took 1.3s, duration: 24:33)
test 1361...[FTP download, file with C-D inside, using -O -i -D file]
--p---oemv- OK (989 out of 1250, remaining: 06:29, took 1.2s, duration: 24:34)
test 1362...[FTP download, file with C-D inside, using -O -i -D stdout]
--p---oemv- OK (990 out of 1250, remaining: 06:27, took 1.3s, duration: 24:36)
test 1363...[FTP download, file with C-D inside, using -O -i, without -D]
--p---oemv- OK (991 out of 1250, remaining: 06:26, took 1.2s, duration: 24:37)
test 1364...[HTTP GET -o fname without Content-Disposition, -D file]
--p---oemv- OK (992 out of 1250, remaining: 06:24, took 1.2s, duration: 24:38)
test 1365...[HTTP GET -o fname without Content-Disposition, -D stdout]
--p---oemv- OK (993 out of 1250, remaining: 06:22, took 1.2s, duration: 24:39)
test 1366...[HTTP GET -o fname and Content-Disposition, -D file]
--p---oemv- OK (994 out of 1250, remaining: 06:21, took 1.3s, duration: 24:41)
test 1367...[HTTP GET -o fname and Content-Disposition, -D stdout]
--p---oemv- OK (995 out of 1250, remaining: 06:19, took 1.2s, duration: 24:42)
test 1368...[HTTP GET -o fname -J without Content-Disposition, -D file]
--p---oemv- OK (996 out of 1250, remaining: 06:18, took 1.2s, duration: 24:43)
test 1369...[HTTP GET -o fname -J without Content-Disposition, -D stdout]
--p---oemv- OK (997 out of 1250, remaining: 06:16, took 1.2s, duration: 24:44)
test 1370...[HTTP GET -o fname -J and Content-Disposition, -D file]
--p---oemv- OK (998 out of 1250, remaining: 06:15, took 1.2s, duration: 24:45)
test 1371...[HTTP GET -o fname -J and Content-Disposition, -D stdout]
--p---oemv- OK (999 out of 1250, remaining: 06:13, took 1.2s, duration: 24:47)
test 1372...[HTTP GET -o fname -i without Content-Disposition, -D file]
--p---oemv- OK (1000 out of 1250, remaining: 06:12, took 1.2s, duration: 24:48)
test 1373...[HTTP GET -o fname -i without Content-Disposition, -D stdout]
--p---oemv- OK (1001 out of 1250, remaining: 06:10, took 1.2s, duration: 24:49)
test 1374...[HTTP GET -o fname -i and Content-Disposition, -D file]
--p---oemv- OK (1002 out of 1250, remaining: 06:08, took 1.2s, duration: 24:50)
test 1375...[HTTP GET -o fname -i and Content-Disposition, -D stdout]
--p---oemv- OK (1003 out of 1250, remaining: 06:07, took 1.2s, duration: 24:51)
test 1376...[HTTP GET -o fname -i without Content-Disposition, without -D]
--p---oemv- OK (1004 out of 1250, remaining: 06:05, took 1.2s, duration: 24:53)
test 1377...[HTTP GET -o fname -i and Content-Disposition, without -D]
--p---oemv- OK (1005 out of 1250, remaining: 06:04, took 1.2s, duration: 24:54)
test 1378...[FTP DL, file without Content-Disposition inside, using -o fname]
--p---oemv- OK (1006 out of 1250, remaining: 06:02, took 1.3s, duration: 24:55)
test 1379...[FTP DL, file without C-D inside, using -o fname -D file]
--p---oemv- OK (1007 out of 1250, remaining: 06:01, took 1.3s, duration: 24:56)
test 1380...[FTP DL, file without C-D inside, using -o fname -D stdout]
--p---oemv- OK (1008 out of 1250, remaining: 05:59, took 1.2s, duration: 24:58)
test 1381...[FTP DL, file without C-D inside, using -o fname -J -D file]
--p---oemv- OK (1009 out of 1250, remaining: 05:58, took 1.2s, duration: 24:59)
test 1382...[FTP DL, file without C-D inside, using -o fname -J -D stdout]
--p---oemv- OK (1010 out of 1250, remaining: 05:56, took 1.3s, duration: 25:00)
test 1383...[FTP DL, file without C-D inside, using -o fname -i -D file]
--p---oemv- OK (1011 out of 1250, remaining: 05:55, took 1.3s, duration: 25:01)
test 1384...[FTP DL, file without C-D inside, using -o fname -i -D stdout]
--p---oemv- OK (1012 out of 1250, remaining: 05:53, took 1.3s, duration: 25:03)
test 1385...[FTP DL, file without C-D inside, using -o fname -i, without -D]
--p---oemv- OK (1013 out of 1250, remaining: 05:51, took 1.2s, duration: 25:04)
test 1386...[FTP DL, file with Content-Disposition inside, using -o fname]
--p---oemv- OK (1014 out of 1250, remaining: 05:50, took 1.3s, duration: 25:05)
test 1387...[FTP DL, file with C-D inside, using -o fname -D file]
--p---oemv- OK (1015 out of 1250, remaining: 05:48, took 1.2s, duration: 25:07)
test 1388...[FTP DL, file with C-D inside, using -o fname -D stdout]
--p---oemv- OK (1016 out of 1250, remaining: 05:47, took 1.3s, duration: 25:08)
test 1389...[FTP DL, file with C-D inside, using -o fname -J -D file]
--p---oemv- OK (1017 out of 1250, remaining: 05:45, took 1.2s, duration: 25:09)
test 1390...[FTP DL, file with C-D inside, using -o fname -J -D stdout]
--p---oemv- OK (1018 out of 1250, remaining: 05:44, took 1.3s, duration: 25:10)
test 1391...[FTP DL, file with C-D inside, using -o fname -i -D file]
--p---oemv- OK (1019 out of 1250, remaining: 05:42, took 1.3s, duration: 25:12)
test 1392...[FTP DL, file with C-D inside, using -o fname -i -D stdout]
--p---oemv- OK (1020 out of 1250, remaining: 05:41, took 1.3s, duration: 25:13)
test 1393...[FTP DL, file with C-D inside, using -o fname -i, without -D]
--p---oemv- OK (1021 out of 1250, remaining: 05:39, took 1.2s, duration: 25:14)
test 1394...[unit test for parse_cert_parameter()]
-------emv- OK (1022 out of 1250, remaining: 05:38, took 0.8s, duration: 25:15)
test 1395...[Curl_dedotdotify]
-------emv- OK (1023 out of 1250, remaining: 05:36, took 0.8s, duration: 25:16)
test 1396...[curl_easy_escape and curl_easy_unescape]
-------emv- OK (1024 out of 1250, remaining: 05:34, took 0.9s, duration: 25:17)
test 1397...[Check wildcard certificate matching function Curl_cert_hostcheck]
-------emv- OK (1025 out of 1250, remaining: 05:33, took 0.8s, duration: 25:18)
test 1398...[curl_msnprintf unit tests]
-------emv- OK (1026 out of 1250, remaining: 05:31, took 0.8s, duration: 25:18)
test 1399...[Curl_pgrsTime unit tests]
-------emv- OK (1027 out of 1250, remaining: 05:29, took 0.8s, duration: 25:19)
test 1400...[--libcurl for simple HTTP GET]
--pd--oemv- OK (1028 out of 1250, remaining: 05:28, took 1.2s, duration: 25:20)
test 1401...[--libcurl for GET with various options]
--pd--oemv- OK (1029 out of 1250, remaining: 05:26, took 1.2s, duration: 25:22)
test 1402...[--libcurl for simple POST]
--pd--oemv- OK (1030 out of 1250, remaining: 05:25, took 1.2s, duration: 25:23)
test 1403...[--libcurl for GET with query]
--pd--oemv- OK (1031 out of 1250, remaining: 05:23, took 1.2s, duration: 25:24)
test 1404...[--libcurl for HTTP RFC1867-type formposting - -F with 3 files, one with explicit type & encoder]
--pd--oemv- OK (1032 out of 1250, remaining: 05:22, took 1.4s, duration: 25:26)
test 1405...[--libcurl for FTP with quote ops]
--pd--oemv- OK (1033 out of 1250, remaining: 05:20, took 1.3s, duration: 25:27)
test 1406...[--libcurl for SMTP]
--p-u-oemv- OK (1034 out of 1250, remaining: 05:19, took 1.3s, duration: 25:28)
test 1407...[--libcurl for POP3 LIST one message]
--p---oemv- OK (1035 out of 1250, remaining: 05:17, took 1.2s, duration: 25:29)
test 1408...[HTTP receive cookies over IPV6]
--p----emv- OK (1036 out of 1250, remaining: 05:16, took 1.2s, duration: 25:31)
test 1409...[Pass in string to -C]
-------emv- OK (1037 out of 1250, remaining: 05:14, took 0.9s, duration: 25:32)
test 1410...[Pass in negative number to --max-time]
-------emv- OK (1038 out of 1250, remaining: 05:13, took 0.9s, duration: 25:32)
test 1411...[HTTP with zero size file PUT]
--pd---emv- OK (1039 out of 1250, remaining: 05:11, took 1.2s, duration: 25:34)
test 1412...[HTTP GET with --anyauth with two URLs (picking Digest) ]
--pd---emv- OK (1040 out of 1250, remaining: 05:10, took 1.3s, duration: 25:35)
test 1413...[HTTP redirect with fragment in new URL]
--pd---emv- OK (1041 out of 1250, remaining: 05:08, took 1.3s, duration: 25:36)
test 1414...[FTP PORT without SIZE or EPRT support]
--pd---emv- OK (1042 out of 1250, remaining: 05:07, took 1.3s, duration: 25:37)
test 1415...[Delete expired cookies]
--pd--oemv- OK (1043 out of 1250, remaining: 05:05, took 1.3s, duration: 25:39)
test 1416...[HTTP GET with chunked Transfer-Encoding overflowed chunked size]
--p----emv- OK (1044 out of 1250, remaining: 05:03, took 1.2s, duration: 25:40)
test 1417...[HTTP GET with chunked encoding and chunked trailer without CRs]
--pd--oemv- OK (1045 out of 1250, remaining: 05:02, took 1.2s, duration: 25:41)
test 1418...[HTTP with --anyauth and connection re-use]
--pd---emv- OK (1046 out of 1250, remaining: 05:00, took 1.3s, duration: 25:42)
test 1419...[HTTP with --anyauth (but no auth!) and connection re-use]
--pd---emv- OK (1047 out of 1250, remaining: 04:59, took 1.2s, duration: 25:44)
test 1420...[--libcurl for IMAP FETCH message]
--pd--oemv- OK (1048 out of 1250, remaining: 04:57, took 1.3s, duration: 25:45)
test 1421...[Re-using HTTP proxy connection for two different host names]
s-p----emv- OK (1049 out of 1250, remaining: 04:56, took 1.3s, duration: 25:46)
test 1422...[HTTP GET with -O -J and Content-Disposition (empty file)]
--p---oemv- OK (1050 out of 1250, remaining: 04:54, took 1.2s, duration: 25:48)
test 1423...[HTTP GET -o fname without Content-Disposition (empty file)]
--p---oemv- OK (1051 out of 1250, remaining: 04:53, took 1.2s, duration: 25:49)
test 1424...[HTTP GET -o fname without Content-Disposition (unmet time condition)]
--p---oemv- OK (1052 out of 1250, remaining: 04:51, took 1.2s, duration: 25:50)
test 1425...[Refuse binary output to terminal]
s-p----emv- OK (1053 out of 1250, remaining: 04:50, took 1.2s, duration: 25:51)
test 1426...[Okay binary output to terminal]
s-p----emv- OK (1054 out of 1250, remaining: 04:48, took 1.2s, duration: 25:52)
test 1427...[too large -m timeout value]
-------emv- OK (1055 out of 1250, remaining: 04:47, took 0.9s, duration: 25:53)
test 1428...[HTTP over proxy-tunnel with --proxy-header and --header]
--pd-P-emv- OK (1056 out of 1250, remaining: 04:45, took 1.7s, duration: 25:55)
test 1429...[HTTP GET with 4-digit response code]
s-p----emv- OK (1057 out of 1250, remaining: 04:44, took 1.2s, duration: 25:56)
test 1430...[HTTP GET with negative response code]
--pd---emv- OK (1058 out of 1250, remaining: 04:42, took 1.2s, duration: 25:57)
test 1431...[HTTP GET with single-digit response code]
--pd---emv- OK (1059 out of 1250, remaining: 04:41, took 1.2s, duration: 25:59)
test 1432...[HTTP GET with 100-digit response code and survive]
--p----emv- OK (1060 out of 1250, remaining: 04:39, took 1.2s, duration: 26:00)
test 1433...[HTTP GET with 100-digit subversion number in response]
--p----emv- OK (1061 out of 1250, remaining: 04:38, took 1.2s, duration: 26:01)
test 1434...[HTTP GET resume at exactly the existing file size is fine]
--pd---emv- OK (1062 out of 1250, remaining: 04:36, took 1.2s, duration: 26:02)
test 1435...[simple HTTP GET over Unix socket]
--pd---emv- OK (1063 out of 1250, remaining: 04:35, took 3.2s, duration: 26:05)
test 1436...[HTTP requests with multiple connections over Unix socket]
s-p----emv- OK (1064 out of 1250, remaining: 04:33, took 1.2s, duration: 26:07)
test 1437...[HTTP with duplicated WWW-Authenticate parameters]
--pd---emv- OK (1065 out of 1250, remaining: 04:32, took 1.3s, duration: 26:08)
test 1438...[Check if %{scheme} returns HTTP]
s-p----emv- OK (1066 out of 1250, remaining: 04:30, took 1.2s, duration: 26:09)
test 1439...[Check if %{scheme} returns HTTP]
s-p----emv- OK (1067 out of 1250, remaining: 04:29, took 1.2s, duration: 26:10)
test 1440...[Check --write-out with trailing %{]
s------emv- OK (1068 out of 1250, remaining: 04:27, took 1.1s, duration: 26:12)
test 1441...[Check --write-out with trailing %]
s------emv- OK (1069 out of 1250, remaining: 04:26, took 1.1s, duration: 26:13)
test 1442...[Check --write-out with trailing \]
s------emv- OK (1070 out of 1250, remaining: 04:24, took 1.1s, duration: 26:14)
test 1443...[HTTP GET with -O and --remote-time]
--p---oemv- OK (1071 out of 1250, remaining: 04:23, took 1.2s, duration: 26:15)
test 1444...[FTP with --remote-time]
--pd---emv- OK (1072 out of 1250, remaining: 04:21, took 1.3s, duration: 26:16)
test 1445...[file:// with --remote-time]
-------emv- OK (1073 out of 1250, remaining: 04:20, took 1.2s, duration: 26:17)
test 1447...[Provide illegal proxy name ]
-------emv- OK (1075 out of 1250, remaining: 04:17, took 1.1s, duration: 26:19)
test 1448...[Redirect following to UTF-8 IDN host name]
s-p----emv- OK (1076 out of 1250, remaining: 04:15, took 1.3s, duration: 26:20)
test 1449...[FTP download range with integer overflow]
Killed
--p----emv- OK (1077 out of 1250, remaining: 04:14, took 1.2s, duration: 26:21)
test 1450...[Basic DICT lookup]
-------emv- OK (1078 out of 1250, remaining: 04:12, took 3.2s, duration: 26:24)
test 1451...[Basic SMB request]
-------emv- OK (1079 out of 1250, remaining: 04:11, took 3.3s, duration: 26:28)
test 1452...[Basic TELNET negotiation]
-------emv- OK (1080 out of 1250, remaining: 04:10, took 3.2s, duration: 26:31)
test 1453...[Too long tftp filename]
-------emv- OK (1081 out of 1250, remaining: 04:08, took 1.2s, duration: 26:32)
test 1454 SKIPPED: curl has ipv6 support
test 1455...[HTTP GET when PROXY Protocol enabled]
--p----emv- OK (1083 out of 1250, remaining: 04:05, took 1.2s, duration: 26:33)
test 1456...[HTTP-IPv6 GET with PROXY protocol]
--p----emv- OK (1084 out of 1250, remaining: 04:04, took 1.2s, duration: 26:34)
test 1457...[Check if %{stderr} and %{stdout} switch between stdout and stderr.]
srp----emv- OK (1085 out of 1250, remaining: 04:02, took 1.2s, duration: 26:35)
test 1458...[HTTP with wildcard --resolve]
--pd---emv- OK (1086 out of 1250, remaining: 04:01, took 1.2s, duration: 26:37)
test 1500...[curl_multi_wait]
---d---emv- OK (1087 out of 1250, remaining: 03:59, took 1.0s, duration: 26:38)
test 1501...[FTP with multi interface and slow LIST response ]
--p----emv- OK (1088 out of 1250, remaining: 03:58, took 5.1s, duration: 26:43)
test 1502...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence UA]
--pd---emv- OK (1089 out of 1250, remaining: 03:57, took 1.1s, duration: 26:44)
test 1503...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence PA]
--pd---emv- OK (1090 out of 1250, remaining: 03:55, took 1.1s, duration: 26:45)
test 1504...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence UB]
--pd---emv- OK (1091 out of 1250, remaining: 03:54, took 1.1s, duration: 26:46)
test 1505...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence PB]
--pd---emv- OK (1092 out of 1250, remaining: 03:52, took 1.1s, duration: 26:47)
test 1506...[HTTP GET connection cache limit (CURLMOPT_MAXCONNECTS)]
--p---oemv- OK (1093 out of 1250, remaining: 03:51, took 1.1s, duration: 26:48)
test 1507...[SMTP with multi interface and CURLE_ABORTED_BY_CALLBACK]
--p----emv- OK (1094 out of 1250, remaining: 03:49, took 1.1s, duration: 26:49)
test 1508...[Close a multi handle without using it]
------oemv- OK (1095 out of 1250, remaining: 03:47, took 0.9s, duration: 26:50)
test 1509...[simple multi http:// through proxytunnel with authentication info]
--pd-P-emv- OK (1096 out of 1250, remaining: 03:46, took 1.6s, duration: 26:52)
test 1511...[HTTP GET time conditions in repeated requests]
---d---emv- OK (1097 out of 1250, remaining: 03:45, took 1.1s, duration: 26:53)
test 1513...[return failure immediately from progress callback]
s------emv- OK (1098 out of 1250, remaining: 03:43, took 1.0s, duration: 26:54)
test 1514...[HTTP POST with read callback and unknown data size]
--p----emv- OK (1099 out of 1250, remaining: 03:42, took 2.1s, duration: 26:56)
test 1515...[caching of manual libcurl DNS entries after DNS cache timeout]
---d---emv- OK (1100 out of 1250, remaining: 03:40, took 3.1s, duration: 26:59)
test 1516...[caching of manual libcurl DNS entries after dead connection]
-------emv- OK (1101 out of 1250, remaining: 03:39, took 3.1s, duration: 27:02)
test 1517...[HTTP POST, server responds before completed send]
--pd---emv- OK (1102 out of 1250, remaining: 03:38, took 1.0s, duration: 27:03)
test 1518...[Extract Location: with broken URL]
s------emv- OK (1103 out of 1250, remaining: 03:36, took 1.1s, duration: 27:04)
test 1519...[Extract Location: with broken absolute URL]
s------emv- OK (1104 out of 1250, remaining: 03:35, took 1.1s, duration: 27:05)
test 1520...[SMTP with CRLF-dot-CRLF in data]
--p-u--emv- OK (1105 out of 1250, remaining: 03:33, took 1.1s, duration: 27:07)
test 1521...[Test all curl_easy_setopt and curl_easy_getinfo options]
-------emv- OK (1106 out of 1250, remaining: 03:31, took 1.1s, duration: 27:08)
test 1522...[CURLINFO_SIZE_UPLOAD with small SO_SNDBUF]
s------emv- OK (1107 out of 1250, remaining: 03:30, took 1.1s, duration: 27:09)
test 1523...[CURLINFO_LOW_SPEED_LIMIT]
-------emv- OK (1108 out of 1250, remaining: 03:30, took 11.1s, duration: 27:20)
test 1525...[CURLOPT_PROXYHEADER is ignored CURLHEADER_UNIFIED]
--pd-P-emv- OK (1109 out of 1250, remaining: 03:29, took 4.1s, duration: 27:24)
test 1526...[CURLOPT_PROXYHEADER: separate host/proxy headers]
--pd-P-emv- OK (1110 out of 1250, remaining: 03:27, took 2.2s, duration: 27:26)
test 1527...[Check same headers are generated with CURLOPT_HEADEROPT == CURLHEADER_UNIFIED]
--pd-P-emv- OK (1111 out of 1250, remaining: 03:26, took 2.1s, duration: 27:28)
test 1528...[Separately specified proxy/server headers sent in a proxy GET]
---d-P-emv- OK (1112 out of 1250, remaining: 03:24, took 1.1s, duration: 27:29)
test 1529...[HTTP request-injection in URL sent over proxy]
-------emv- OK (1113 out of 1250, remaining: 03:23, took 1.0s, duration: 27:30)
test 1530...[CURLOPT_OPENSOCKETFUNCTION returns bad socket]
-------emv- OK (1114 out of 1250, remaining: 03:21, took 1.0s, duration: 27:31)
test 1531...[CURLOPT_POSTFIELDS with binary data set after multi_add_handle]
--p----emv- OK (1115 out of 1250, remaining: 03:20, took 1.1s, duration: 27:32)
test 1532...[Test CURLINFO_RESPONSE_CODE]
--p----emv- OK (1116 out of 1250, remaining: 03:18, took 1.1s, duration: 27:33)
test 1533...[HTTP with CURLOPT_KEEP_SENDING_ON_ERROR and an early error response]
--p----emv- OK (1117 out of 1250, remaining: 03:17, took 1.1s, duration: 27:35)
test 1534...[CURLINFO_FILETIME init and reset]
--p----emv- OK (1118 out of 1250, remaining: 03:15, took 1.1s, duration: 27:36)
test 1535...[Test CURLINFO_RESPONSE_CODE CURLINFO_PROTOCOL]
--p----emv- OK (1119 out of 1250, remaining: 03:14, took 1.1s, duration: 27:37)
test 1536...[Test CURLINFO_RESPONSE_CODE CURLINFO_SCHEME]
--p----emv- OK (1120 out of 1250, remaining: 03:12, took 1.1s, duration: 27:38)
test 1537...[libcurl URL escape/unescape tests]
s------emv- OK (1121 out of 1250, remaining: 03:10, took 0.9s, duration: 27:39)
test 1538...[libcurl strerror API call tests]
s------emv- OK (1122 out of 1250, remaining: 03:09, took 0.9s, duration: 27:39)
test 1540...[chunked with trailers and pausing the receive]
--pd---emv- OK (1123 out of 1250, remaining: 03:07, took 1.1s, duration: 27:41)
test 1541...[connection sharing using 67 parallel threads for 7 seconds]
-------emv- OK (1124 out of 1250, remaining: 03:06, took 0.8s, duration: 27:41)
test 1550...[verify setting pipeling blacklisting options]
-------emv- OK (1125 out of 1250, remaining: 03:04, took 0.9s, duration: 27:42)
test 1551...[re-run redirected transfer without setting URL again]
--pd---emv- OK (1126 out of 1250, remaining: 03:03, took 1.1s, duration: 27:43)
test 1552...[IMAP multi transfer error without curl_multi_remove_handle]
-------emv- OK (1127 out of 1250, remaining: 03:01, took 1.1s, duration: 27:45)
test 1553...[IMAP cleanup before a connection was created]
-------emv- OK (1128 out of 1250, remaining: 03:00, took 1.0s, duration: 27:46)
test 1554...[HTTP with shared connection cache]
---d---emv- OK (1129 out of 1250, remaining: 02:58, took 1.1s, duration: 27:47)
test 1555...[verify api is protected against calls from callbacks]
s------emv- OK (1130 out of 1250, remaining: 02:57, took 1.0s, duration: 27:48)
test 1556...[send long HTTP headers to header callback]
s-p----emv- OK (1131 out of 1250, remaining: 02:55, took 1.1s, duration: 27:49)
test 1557...[Removing easy handle that's in the pending connections list doesn't leave behind a dangling entry]
-------emv- OK (1132 out of 1250, remaining: 02:54, took 1.0s, duration: 27:50)
test 1558...[CURLINFO_PROTOCOL for file:// transfer]
s------emv- OK (1133 out of 1250, remaining: 02:52, took 1.0s, duration: 27:51)
test 1559...[Set excessive URL lengths]
s------emv- OK (1134 out of 1250, remaining: 02:51, took 1.2s, duration: 27:52)
test 1560...[URL API]
s------emv- OK (1135 out of 1250, remaining: 02:49, took 1.1s, duration: 27:53)
test 1561...[Cookies set over HTTP can't override secure ones]
goto problem 33
valgrind ERROR ==5833== Invalid read of size 8
==5833== at 0x53315A5: check_free (dlerror.c:188)
==5833== by 0x5331AB1: free_key_mem (dlerror.c:221)
==5833== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==5833== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5833== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5833== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5833== by 0x4D60EB9: exit (exit.c:139)
==5833== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5833== Address 0x5b529b0 is 0 bytes after a block of size 32 alloc'd
==5833== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5833== by 0x25C282: OPENSSL_malloc (mem.c:106)
==5833== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==5833== by 0x24B104: err_get_state (err.c:210)
==5833== by 0x24BCDA: ERR_put_error (err.c:636)
==5833== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==5833== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5833== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==5833== by 0x270326: by_file_ctrl (by_file.c:111)
==5833== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==5833== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==5833== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5833== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==5833== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==5833== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5833== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==5833==
==5833== Invalid free() / delete / delete[] / realloc()
==5833== at 0x48369AB: free (vg_replace_malloc.c:540)
==5833== by 0x5331AB9: free_key_mem (dlerror.c:223)
==5833== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==5833== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5833== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5833== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5833== by 0x4D60EB9: exit (exit.c:139)
==5833== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5833== Address 0x5b52998 is 8 bytes inside a block of size 32 alloc'd
==5833== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5833== by 0x25C282: OPENSSL_malloc (mem.c:106)
==5833== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==5833== by 0x24B104: err_get_state (err.c:210)
==5833== by 0x24BCDA: ERR_put_error (err.c:636)
==5833== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==5833== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5833== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==5833== by 0x270326: by_file_ctrl (by_file.c:111)
==5833== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==5833== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==5833== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5833== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==5833== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==5833== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5833== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==5833==
==5833== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==5833== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5833== by 0x25C282: OPENSSL_malloc (mem.c:106)
==5833== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==5833== by 0x24B104: err_get_state (err.c:210)
==5833== by 0x24BCDA: ERR_put_error (err.c:636)
==5833== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==5833== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5833== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==5833== by 0x270326: by_file_ctrl (by_file.c:111)
==5833== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==5833== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==5833== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5833== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==5833== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==5833== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5833== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==5833==
== 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:19:09.997111 ====> Client connect
03:19:09.997156 accept_connection 3 returned 4
03:19:09.997176 accept_connection 3 returned 0
03:19:09.997376 Read 96 bytes
03:19:09.997398 Process 96 bytes request
03:19:09.997415 Got request: GET /verifiedserver HTTP/1.1
03:19:09.997430 Are-we-friendly question received
03:19:09.997455 Wrote request (96 bytes) input to log/server.input
03:19:09.997473 Identifying ourselves as friends
03:19:09.997521 Response sent (55 bytes) and written to log/server.response
03:19:09.997536 special request received, no persistency
03:19:09.997544 ====> Client disconnect 0
03:19:14.126432 ====> Client connect
03:19:14.126455 accept_connection 3 returned 4
03:19:14.126470 accept_connection 3 returned 0
03:19:14.215614 Read 91 bytes
03:19:14.215647 Process 91 bytes request
03:19:14.215662 Got request: GET /15610001 HTTP/1.1
03:19:14.215672 Requested test number 1561 part 1
03:19:14.215698 - request found to be complete
03:19:14.215726 Wrote request (91 bytes) input to log/server.input
03:19:14.215751 Send response test1561 section <data1>
03:19:14.215914 Response sent (722 bytes) and written to log/server.response
03:19:14.215926 => persistent connection request ended, awaits new request
03:19:14.343373 ====> Client connect
03:19:14.343407 accept_connection 3 returned 5
03:19:14.343424 accept_connection 3 returned 0
03:19:14.347348 Read 91 bytes
03:19:14.347374 Process 91 bytes request
03:19:14.347391 Got request: GET /15610002 HTTP/1.1
03:19:14.347403 Requested test number 1561 part 2
03:19:14.347432 - request found to be complete
03:19:14.347444 Wrote request (91 bytes) input to log/server.input
03:19:14.347455 Send response test1561 section <data2>
03:19:14.347589 Response sent (966 bytes) and written to log/server.response
03:19:14.347599 => persistent connection request ended, awaits new request
03:19:14.380909 Connection closed by client
03:19:14.380953 ====> Client disconnect 0
03:19:14.449201 Connection closed by client
03:19:14.449245 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.08.14 03:19:08 LOG5[5828]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.14 03:19:08 LOG5[5828]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.14 03:19:08 LOG5[5828]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.14 03:19:08 LOG5[5828]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.14 03:19:08 LOG5[5828]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.14 03:19:08 LOG5[5828]: Reading configuration from file /build-30040/tests/https_stunnel.conf
2019.08.14 03:19:08 LOG5[5828]: FIPS mode disabled
2019.08.14 03:19:08 LOG5[5828]: Configuration successful
2019.08.14 03:19:09 LOG5[5831]: Service [curltest] accepted connection from 127.0.0.1:36142
2019.08.14 03:19:09 LOG5[5831]: s_connect: connected 127.0.0.1:8990
2019.08.14 03:19:09 LOG5[5831]: Service [curltest] connected remote server from 127.0.0.1:40436
2019.08.14 03:19:09 LOG5[5831]: Connection closed: 55 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.14 03:19:11 LOG5[5834]: Service [curltest] accepted connection from 127.0.0.1:36146
2019.08.14 03:19:14 LOG5[5834]: s_connect: connected 127.0.0.1:8990
2019.08.14 03:19:14 LOG5[5834]: Service [curltest] connected remote server from 127.0.0.1:40440
2019.08.14 03:19:14 LOG5[5834]: 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 0x563677cd87c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x563677cd87c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x563677cd87c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x563677cd87c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x563677cd87c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x563677cd87c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x563677cd87c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 16
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x563677cd87c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x563677cd87c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 5729
=== 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: 16
WE ROOLZ: 5729
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: super=secret; domain=example.com; path=/1561; secure;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login/; secure;
Set-Cookie: __Secure-SID=12345; Domain=example.com
Set-Cookie: __Secure-SID=12346; Secure; Domain=example.com
Set-Cookie: supersupersuper=secret; __Secure-SID=12346; Secure; Domain=example.com
Set-Cookie: __Host-SID=22345
Set-Cookie: __Host-SID=22346; Secure
Set-Cookie: __Host-SID=22347; Domain=example.com
Set-Cookie: __Host-SID=22348; Domain=example.com; Path=/
Set-Cookie: __Host-SID=22349; Secure; Domain=example.com; Path=/
Set-Cookie: __Host-SID=12346; Secure; Path=/
Content-Length: 7
nomnom
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: super=secret; domain=example.com; path=/1561; httponly;
Set-Cookie: super=secret; domain=example.com; path=/1561/; httponly;
Set-Cookie: super=secret; domain=example.com; path=/15; httponly;
Set-Cookie: public=yes; domain=example.com; path=/foo;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login/en;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login;
Set-Cookie: secureoverhttp=yes; domain=example.com; path=/1561; secure;
Set-Cookie: __Secure-SID=22345; Domain=example.com
Set-Cookie: __Secure-SID=22346; Secure; Domain=example.com
Set-Cookie: __Host-SID=32345
Set-Cookie: __Host-SID=32346; Secure
Set-Cookie: __Host-SID=32347; Domain=example.com
Set-Cookie: __Host-SID=32348; Domain=example.com; Path=/
Set-Cookie: __Host-SID=32349; Secure; Domain=example.com; Path=/
Set-Cookie: __Host-SID=32350; Secure; Path=/
Content-Length: 7
nomnom
=== End of file server.response
=== Start of file stderr1561
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 7 100 7 0 0 2 0 0:00:03 0:00:02 0:00:01 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 259 0 --:--:-- --:--:-- --:--:-- 318
=== 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:19:11.955101 == Info: STATE: INIT => CONNECT handle 0x56c7c78; line 1362 (connection #-5000)
03:19:12.011690 == Info: Added connection 0. The cache now contains 1 members
03:19:12.029983 == Info: Trying 127.0.0.1:8991...
03:19:12.030610 == Info: TCP_NODELAY set
03:19:12.035747 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7c78; line 1418 (connection #0)
03:19:12.047468 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:19:12.048042 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7c78; line 1538 (connection #0)
03:19:12.049116 == Info: Marked for [keep alive]: HTTP default
03:19:12.100838 == Info: ALPN, offering h2
03:19:12.101139 == Info: ALPN, offering http/1.1
03:19:13.595005 == Info: successfully set certificate verify locations:
03:19:13.595267 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:19:13.709323 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:13.714396 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:19:13.714455 => Send SSL data, 148 bytes (0x94)
0000: ......W|..m'....^m....a...........V.`.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:19:13.733577 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:19:13.739092 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:19:13.739157 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..s.........;...d....=.....3..,(.. ......"......ghZ@....=.m.
0040: k...!.K./................
03:19:13.783192 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:13.783678 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:19:13.783743 <= 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:19:13.884109 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:19:13.884382 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:19:13.884442 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.y.M....\........Tw..E!.9L.j.......t..IL......{9_..9...N
0040: .k.(..............-.F......(...<.#n.v.O........M.'.V..f..i".\.#[
0080: #...f.....O.....ntA.-8....8.p...-....k..>.Y..N..~...5.G3.e......
00c0: .jY...3..P...J.......3+..qC`.!O.......b..2O....O;.[...v....e._}.
0100: )....v....e>g9.T..[7F].^.[]...F.A\E.z!...M.{%.T....Y.nk.....j)....g
0140: ..W.J.D.).N`.
03:19:13.954372 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:13.954719 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:19:13.954778 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:19:14.076972 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:19:14.077264 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:19:14.077346 => Send SSL data, 70 bytes (0x46)
0000: ...BA...s...Q.'0f.r<77..?u.%...La.t......JR[B......<]3..C.......
0040: .[..K.
03:19:14.090683 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:14.091302 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:19:14.091362 => Send SSL data, 1 bytes (0x1)
0000: .
03:19:14.112857 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:19:14.112923 => Send SSL data, 16 bytes (0x10)
0000: ..........LD..].
03:19:14.125551 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:19:14.128275 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:14.129373 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:19:14.129432 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:19:14.131901 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:19:14.137620 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:19:14.137675 <= Recv SSL data, 16 bytes (0x10)
0000: ........u&8....S
03:19:14.166833 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:19:14.167531 == Info: ALPN, server did not agree to a protocol
03:19:14.170329 == Info: Server certificate:
03:19:14.178160 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:19:14.184711 == Info: start date: Aug 31 23:39:18 2018 GMT
03:19:14.185820 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:19:14.186843 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:19:14.187725 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:19:14.189241 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c7c78; line 1556 (connection #0)
03:19:14.213928 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:19:14.216914 => 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:19:14.220152 == Info: STATE: DO => DO_DONE handle 0x56c7c78; line 1627 (connection #0)
03:19:14.220740 == Info: STATE: DO_DONE => PERFORM handle 0x56c7c78; line 1749 (connection #0)
03:19:14.225584 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:19:14.235176 == Info: Mark bundle as not supporting multiuse
03:19:14.235794 == Info: HTTP 1.1 or later with persistent connection
03:19:14.238462 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:14.249770 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:14.250338 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:14.250592 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:14.269207 == Info: Added cookie super="secret" for domain example.com, path /1561, expire 0
03:19:14.269631 <= Recv header, 66 bytes (0x42)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561; secure
0040: ;.
03:19:14.270658 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:19:14.271165 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:19:14.272179 == Info: Added cookie supersuper="secret" for domain example.com, path /1561/login/, expire 0
03:19:14.272327 <= Recv header, 78 bytes (0x4e)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin/; secure;.
03:19:14.275106 <= Recv header, 51 bytes (0x33)
0000: Set-Cookie: __Secure-SID=12345; Domain=example.com.
03:19:14.275750 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:19:14.276174 <= Recv SSL data, 5 bytes (0x5)
0000: ....|
03:19:14.276729 == Info: Added cookie __Secure-SID="12346" for domain example.com, path /, expire 0
03:19:14.276785 <= Recv header, 59 bytes (0x3b)
0000: Set-Cookie: __Secure-SID=12346; Secure; Domain=example.com.
03:19:14.277816 == Info: Added cookie supersupersuper="secret" for domain example.com, path /, expire 0
03:19:14.277873 <= Recv header, 83 bytes (0x53)
0000: Set-Cookie: supersupersuper=secret; __Secure-SID=12346; Secure;
0040: Domain=example.com.
03:19:14.278387 <= Recv SSL data, 5 bytes (0x5)
0000: ....|
03:19:14.279631 <= Recv header, 29 bytes (0x1d)
0000: Set-Cookie: __Host-SID=22345.
03:19:14.280710 == Info: Added cookie __Host-SID="22346" for domain www.example.com, path /, expire 0
03:19:14.280768 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: __Host-SID=22346; Secure.
03:19:14.281121 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:14.285812 <= Recv header, 49 bytes (0x31)
0000: Set-Cookie: __Host-SID=22347; Domain=example.com.
03:19:14.286714 <= Recv header, 57 bytes (0x39)
0000: Set-Cookie: __Host-SID=22348; Domain=example.com; Path=/.
03:19:14.287626 <= Recv header, 65 bytes (0x41)
0000: Set-Cookie: __Host-SID=22349; Secure; Domain=example.com; Path=/
0040: .
03:19:14.288098 <= Recv SSL data, 5 bytes (0x5)
0000: ....V
03:19:14.290647 == Info: Replaced cookie __Host-SID="12346" for domain www.example.com, path /, expire 0
03:19:14.290756 <= Recv header, 45 bytes (0x2d)
0000: Set-Cookie: __Host-SID=12346; Secure; Path=/.
03:19:14.291903 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:14.294388 <= Recv header, 1 bytes (0x1)
0000: .
03:19:14.295032 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:19:14.298637 == Info: STATE: PERFORM => DONE handle 0x56c7c78; line 1939 (connection #0)
03:19:14.298966 == Info: multi_done
03:19:14.308064 == Info: Connection #0 to host 127.0.0.1 left intact
03:19:14.338625 == Info: STATE: INIT => CONNECT handle 0x5722998; line 1362 (connection #-5000)
03:19:14.342492 == Info: Added connection 1. The cache now contains 2 members
03:19:14.343165 == Info: Trying 127.0.0.1:8990...
03:19:14.343232 == Info: TCP_NODELAY set
03:19:14.343385 == Info: STATE: CONNECT => WAITCONNECT handle 0x5722998; line 1418 (connection #1)
03:19:14.344842 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#1)
03:19:14.344933 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5722998; line 1538 (connection #1)
03:19:14.345008 == Info: Marked for [keep alive]: HTTP default
03:19:14.345153 == Info: STATE: SENDPROTOCONNECT => DO handle 0x5722998; line 1556 (connection #1)
03:19:14.347693 => 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:19:14.348206 == Info: STATE: DO => DO_DONE handle 0x5722998; line 1627 (connection #1)
03:19:14.348295 == Info: STATE: DO_DONE => PERFORM handle 0x5722998; line 1749 (connection #1)
03:19:14.349383 == Info: Mark bundle as not supporting multiuse
03:19:14.349451 == Info: HTTP 1.1 or later with persistent connection
03:19:14.349514 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:14.349677 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:14.349898 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:14.351558 <= Recv header, 68 bytes (0x44)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561; httpon
0040: ly;.
03:19:14.352635 <= Recv header, 69 bytes (0x45)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561/; httpo
0040: nly;.
03:19:14.353887 == Info: Replaced cookie super="secret" for domain example.com, path /15, expire 0
03:19:14.353944 <= Recv header, 66 bytes (0x42)
0000: Set-Cookie: super=secret; domain=example.com; path=/15; httponly
0040: ;.
03:19:14.354739 == Info: Added cookie public="yes" for domain example.com, path /foo, expire 0
03:19:14.354796 <= Recv header, 55 bytes (0x37)
0000: Set-Cookie: public=yes; domain=example.com; path=/foo;.
03:19:14.355941 <= Recv header, 72 bytes (0x48)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin/en;.
03:19:14.357007 <= Recv header, 69 bytes (0x45)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin;.
03:19:14.358816 <= Recv header, 72 bytes (0x48)
0000: Set-Cookie: secureoverhttp=yes; domain=example.com; path=/1561;
0040: secure;.
03:19:14.359784 <= Recv header, 51 bytes (0x33)
0000: Set-Cookie: __Secure-SID=22345; Domain=example.com.
03:19:14.360469 <= Recv header, 59 bytes (0x3b)
0000: Set-Cookie: __Secure-SID=22346; Secure; Domain=example.com.
03:19:14.361286 <= Recv header, 29 bytes (0x1d)
0000: Set-Cookie: __Host-SID=32345.
03:19:14.361904 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: __Host-SID=32346; Secure.
03:19:14.362704 <= Recv header, 49 bytes (0x31)
0000: Set-Cookie: __Host-SID=32347; Domain=example.com.
03:19:14.363607 <= Recv header, 57 bytes (0x39)
0000: Set-Cookie: __Host-SID=32348; Domain=example.com; Path=/.
03:19:14.364337 <= Recv header, 65 bytes (0x41)
0000: Set-Cookie: __Host-SID=32349; Secure; Domain=example.com; Path=/
0040: .
03:19:14.365079 <= Recv header, 45 bytes (0x2d)
0000: Set-Cookie: __Host-SID=32350; Secure; Path=/.
03:19:14.365331 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:14.365484 <= Recv header, 1 bytes (0x1)
0000: .
03:19:14.365558 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:19:14.365970 == Info: STATE: PERFORM => DONE handle 0x5722998; line 1939 (connection #1)
03:19:14.366033 == Info: multi_done
03:19:14.366816 == Info: Connection #1 to host 127.0.0.1 left intact
03:19:14.368028 == Info: Expire cleared (transfer 0x5722998)
=== End of file trace1561
=== Start of file valgrind1561
==5833== Invalid read of size 8
==5833== at 0x53315A5: check_free (dlerror.c:188)
==5833== by 0x5331AB1: free_key_mem (dlerror.c:221)
==5833== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==5833== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5833== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5833== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5833== by 0x4D60EB9: exit (exit.c:139)
==5833== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5833== Address 0x5b529b0 is 0 bytes after a block of size 32 alloc'd
==5833== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5833== by 0x25C282: OPENSSL_malloc (mem.c:106)
==5833== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==5833== by 0x24B104: err_get_state (err.c:210)
==5833== by 0x24BCDA: ERR_put_error (err.c:636)
==5833== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==5833== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5833== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==5833== by 0x270326: by_file_ctrl (by_file.c:111)
==5833== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==5833== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==5833== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5833== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==5833== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==5833== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5833== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==5833==
==5833== Invalid free() / delete / delete[] / realloc()
==5833== at 0x48369AB: free (vg_replace_malloc.c:540)
==5833== by 0x5331AB9: free_key_mem (dlerror.c:223)
==5833== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==5833== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5833== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5833== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5833== by 0x4D60EB9: exit (exit.c:139)
==5833== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5833== Address 0x5b52998 is 8 bytes inside a block of size 32 alloc'd
==5833== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5833== by 0x25C282: OPENSSL_malloc (mem.c:106)
==5833== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==5833== by 0x24B104: err_get_state (err.c:210)
==5833== by 0x24BCDA: ERR_put_error (err.c:636)
==5833== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==5833== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5833== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==5833== by 0x270326: by_file_ctrl (by_file.c:111)
==5833== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==5833== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==5833== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5833== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==5833== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==5833== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5833== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==5833==
==5833== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==5833== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5833== by 0x25C282: OPENSSL_malloc (mem.c:106)
==5833== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==5833== by 0x24B104: err_get_state (err.c:210)
==5833== by 0x24BCDA: ERR_put_error (err.c:636)
==5833== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==5833== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5833== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==5833== by 0x270326: by_file_ctrl (by_file.c:111)
==5833== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==5833== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==5833== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5833== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==5833== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==5833== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5833== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==5833==
=== End of file valgrind1561
test 1562...[Expire secure cookies over HTTPS]
goto problem 34
valgrind ERROR ==5837== Invalid read of size 8
==5837== at 0x53315A5: check_free (dlerror.c:188)
==5837== by 0x5331AB1: free_key_mem (dlerror.c:221)
==5837== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==5837== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5837== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5837== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5837== by 0x4D60EB9: exit (exit.c:139)
==5837== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5837== Address 0x5bad0b0 is 0 bytes after a block of size 32 alloc'd
==5837== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5837== by 0x25C282: OPENSSL_malloc (mem.c:106)
==5837== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==5837== by 0x24B104: err_get_state (err.c:210)
==5837== by 0x24BCDA: ERR_put_error (err.c:636)
==5837== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==5837== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5837== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==5837== by 0x270326: by_file_ctrl (by_file.c:111)
==5837== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==5837== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==5837== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5837== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==5837== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==5837== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5837== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==5837==
==5837== Invalid free() / delete / delete[] / realloc()
==5837== at 0x48369AB: free (vg_replace_malloc.c:540)
==5837== by 0x5331AB9: free_key_mem (dlerror.c:223)
==5837== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==5837== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5837== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5837== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5837== by 0x4D60EB9: exit (exit.c:139)
==5837== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5837== Address 0x5bad098 is 8 bytes inside a block of size 32 alloc'd
==5837== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5837== by 0x25C282: OPENSSL_malloc (mem.c:106)
==5837== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==5837== by 0x24B104: err_get_state (err.c:210)
==5837== by 0x24BCDA: ERR_put_error (err.c:636)
==5837== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==5837== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5837== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==5837== by 0x270326: by_file_ctrl (by_file.c:111)
==5837== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==5837== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==5837== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5837== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==5837== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==5837== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5837== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==5837==
==5837== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==5837== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5837== by 0x25C282: OPENSSL_malloc (mem.c:106)
==5837== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==5837== by 0x24B104: err_get_state (err.c:210)
==5837== by 0x24BCDA: ERR_put_error (err.c:636)
==5837== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==5837== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5837== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==5837== by 0x270326: by_file_ctrl (by_file.c:111)
==5837== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==5837== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==5837== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5837== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==5837== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==5837== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5837== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==5837==
== 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:19:17.609076 ====> Client connect
03:19:17.609114 accept_connection 3 returned 4
03:19:17.609129 accept_connection 3 returned 0
03:19:17.698078 Read 91 bytes
03:19:17.698116 Process 91 bytes request
03:19:17.698131 Got request: GET /15620001 HTTP/1.1
03:19:17.698141 Requested test number 1562 part 1
03:19:17.698167 - request found to be complete
03:19:17.698194 Wrote request (91 bytes) input to log/server.input
03:19:17.698219 Send response test1562 section <data1>
03:19:17.698298 Response sent (140 bytes) and written to log/server.response
03:19:17.698309 => persistent connection request ended, awaits new request
03:19:17.815929 Read 108 bytes
03:19:17.815964 Process 108 bytes request
03:19:17.815981 Got request: GET /15620002 HTTP/1.1
03:19:17.815992 Requested test number 1562 part 2
03:19:17.816016 - request found to be complete
03:19:17.816028 Wrote request (108 bytes) input to log/server.input
03:19:17.816039 Send response test1562 section <data2>
03:19:17.816112 Response sent (178 bytes) and written to log/server.response
03:19:17.816122 => persistent connection request ended, awaits new request
03:19:17.838837 Read 91 bytes
03:19:17.838871 Process 91 bytes request
03:19:17.838887 Got request: GET /15620001 HTTP/1.1
03:19:17.838898 Requested test number 1562 part 1
03:19:17.838923 - request found to be complete
03:19:17.838934 Wrote request (91 bytes) input to log/server.input
03:19:17.838946 Send response test1562 section <data1>
03:19:17.839005 Response sent (140 bytes) and written to log/server.response
03:19:17.839014 => persistent connection request ended, awaits new request
03:19:17.859455 Connection closed by client
03:19:17.859491 ====> 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 --:--:-- --:--:-- --:--:-- 437
% 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 538 0 --:--:-- --:--:-- --:--:-- 700
=== 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:19:15.473822 == Info: STATE: INIT => CONNECT handle 0x56c73b8; line 1362 (connection #-5000)
03:19:15.529377 == Info: Added connection 0. The cache now contains 1 members
03:19:15.547118 == Info: Trying 127.0.0.1:8991...
03:19:15.547739 == Info: TCP_NODELAY set
03:19:15.552972 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c73b8; line 1418 (connection #0)
03:19:15.564585 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:19:15.565159 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c73b8; line 1538 (connection #0)
03:19:15.566244 == Info: Marked for [keep alive]: HTTP default
03:19:15.617080 == Info: ALPN, offering h2
03:19:15.617392 == Info: ALPN, offering http/1.1
03:19:17.078444 == Info: successfully set certificate verify locations:
03:19:17.078706 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:19:17.193369 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:17.198379 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:19:17.198445 => Send SSL data, 148 bytes (0x94)
0000: ..........=....0w.6W..C...RqO....D`.j.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:19:17.215472 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:19:17.221607 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:19:17.221693 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..Rs.0}5y.d.S.8.h..R.....q.c...... ...}.F.=..4Au/fD..7..%..~
0040: .V9..um./................
03:19:17.266589 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:17.267059 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:19:17.267113 <= 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:19:17.367697 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:19:17.367980 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:19:17.368036 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.y.M....\........Tw..E!.9L.j.......t..IL......{9_..9...N
0040: .k.(..........N....g...~..g.33......{j..Ol...-..C8...?..tC|.vHn.
0080: ..Z....G....I..z.{..~.D*:..mkv.\.[7F]..$.....O..f..b.....CV.. .m~..
00c0: 9O.=s..k.(....^..\..*.`...X.4.:.`..w.x.(........9&<..M.....8..\.
0100: ....,.]..+Vz....*\.=...]..mw.}.7............M!..5.Bb...v..&.>..T
0140: ....2......W.
03:19:17.438133 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:17.438481 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:19:17.438537 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:19:17.559906 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:19:17.560163 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:19:17.560219 => Send SSL data, 70 bytes (0x46)
0000: ...BA..3...$].D...=...6TQ...RJ_.~>V.Q.[7F]..,R.U1.n...Q....z......2
0040: .....H
03:19:17.572605 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:17.573187 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:19:17.573243 => Send SSL data, 1 bytes (0x1)
0000: .
03:19:17.595298 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:19:17.595370 => Send SSL data, 16 bytes (0x10)
0000: ....W....+..|...
03:19:17.608168 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:19:17.610864 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:17.612008 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:19:17.612066 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:19:17.614548 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:19:17.620341 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:19:17.620396 <= Recv SSL data, 16 bytes (0x10)
0000: ....?pqhF..@i[7F]..
03:19:17.649707 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:19:17.650435 == Info: ALPN, server did not agree to a protocol
03:19:17.653216 == Info: Server certificate:
03:19:17.661005 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:19:17.667193 == Info: start date: Aug 31 23:39:18 2018 GMT
03:19:17.668148 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:19:17.669078 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:19:17.669943 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:19:17.671479 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c73b8; line 1556 (connection #0)
03:19:17.696375 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:19:17.699350 => 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:19:17.702342 == Info: STATE: DO => DO_DONE handle 0x56c73b8; line 1627 (connection #0)
03:19:17.702814 == Info: STATE: DO_DONE => PERFORM handle 0x56c73b8; line 1749 (connection #0)
03:19:17.707239 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:19:17.716416 == Info: Mark bundle as not supporting multiuse
03:19:17.717066 == Info: HTTP 1.1 or later with persistent connection
03:19:17.719957 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:17.731965 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:19:17.732845 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:17.733092 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:17.733947 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:19:17.747928 == Info: Added cookie foo="123" for domain www.example.com, path /, expire 0
03:19:17.748332 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: foo=123; path=/; secure;.
03:19:17.749455 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:17.752085 <= Recv header, 1 bytes (0x1)
0000: .
03:19:17.752737 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:19:17.756536 == Info: STATE: PERFORM => DONE handle 0x56c73b8; line 1939 (connection #0)
03:19:17.756873 == Info: multi_done
03:19:17.766083 == Info: Connection #0 to host 127.0.0.1 left intact
03:19:17.792767 == Info: STATE: INIT => CONNECT handle 0x5722138; line 1362 (connection #-5000)
03:19:17.797217 == Info: Found bundle for host 127.0.0.1: 0x5807108 [serially]
03:19:17.797552 == Info: Can not multiplex, even if we wanted to
03:19:17.806283 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:19:17.807108 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:19:17.807322 == Info: STATE: CONNECT => DO handle 0x5722138; line 1411 (connection #0)
03:19:17.815723 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:17.815875 => 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:19:17.816443 == Info: STATE: DO => DO_DONE handle 0x5722138; line 1627 (connection #0)
03:19:17.816531 == Info: STATE: DO_DONE => PERFORM handle 0x5722138; line 1749 (connection #0)
03:19:17.816731 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:19:17.816932 == Info: Mark bundle as not supporting multiuse
03:19:17.816996 == Info: HTTP 1.1 or later with persistent connection
03:19:17.817064 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:17.817401 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:17.817838 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:17.818071 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:17.818394 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:19:17.822393 == Info: Replaced cookie foo="" for domain www.example.com, path /, expire 1
03:19:17.822501 <= Recv header, 75 bytes (0x4b)
0000: Set-Cookie: foo=; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age
0040: =0; Path=/.
03:19:17.822871 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:17.823022 <= Recv header, 1 bytes (0x1)
0000: .
03:19:17.823097 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:19:17.823482 == Info: STATE: PERFORM => DONE handle 0x5722138; line 1939 (connection #0)
03:19:17.823545 == Info: multi_done
03:19:17.824399 == Info: Connection #0 to host 127.0.0.1 left intact
03:19:17.832418 == Info: STATE: INIT => CONNECT handle 0x577c118; line 1362 (connection #-5000)
03:19:17.834419 == Info: Found bundle for host 127.0.0.1: 0x5807108 [serially]
03:19:17.834490 == Info: Can not multiplex, even if we wanted to
03:19:17.835481 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:19:17.835658 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:19:17.835745 == Info: STATE: CONNECT => DO handle 0x577c118; line 1411 (connection #0)
03:19:17.838648 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:19:17.838788 => 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:19:17.839286 == Info: STATE: DO => DO_DONE handle 0x577c118; line 1627 (connection #0)
03:19:17.839377 == Info: STATE: DO_DONE => PERFORM handle 0x577c118; line 1749 (connection #0)
03:19:17.839554 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:17.844107 == Info: Mark bundle as not supporting multiuse
03:19:17.844222 == Info: HTTP 1.1 or later with persistent connection
03:19:17.844324 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:17.844511 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:17.844733 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:17.845355 == Info: Added cookie foo="123" for domain www.example.com, path /, expire 0
03:19:17.845410 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: foo=123; path=/; secure;.
03:19:17.845629 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:17.845777 <= Recv header, 1 bytes (0x1)
0000: .
03:19:17.845852 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:19:17.845999 == Info: STATE: PERFORM => DONE handle 0x577c118; line 1939 (connection #0)
03:19:17.846062 == Info: multi_done
03:19:17.846867 == Info: Connection #0 to host 127.0.0.1 left intact
03:19:17.848074 == Info: Expire cleared (transfer 0x577c118)
=== End of file trace1562
=== Start of file valgrind1562
==5837== Invalid read of size 8
==5837== at 0x53315A5: check_free (dlerror.c:188)
==5837== by 0x5331AB1: free_key_mem (dlerror.c:221)
==5837== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==5837== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5837== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5837== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5837== by 0x4D60EB9: exit (exit.c:139)
==5837== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5837== Address 0x5bad0b0 is 0 bytes after a block of size 32 alloc'd
==5837== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5837== by 0x25C282: OPENSSL_malloc (mem.c:106)
==5837== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==5837== by 0x24B104: err_get_state (err.c:210)
==5837== by 0x24BCDA: ERR_put_error (err.c:636)
==5837== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==5837== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5837== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==5837== by 0x270326: by_file_ctrl (by_file.c:111)
==5837== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==5837== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==5837== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5837== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==5837== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==5837== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5837== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==5837==
==5837== Invalid free() / delete / delete[] / realloc()
==5837== at 0x48369AB: free (vg_replace_malloc.c:540)
==5837== by 0x5331AB9: free_key_mem (dlerror.c:223)
==5837== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==5837== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5837== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5837== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5837== by 0x4D60EB9: exit (exit.c:139)
==5837== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5837== Address 0x5bad098 is 8 bytes inside a block of size 32 alloc'd
==5837== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5837== by 0x25C282: OPENSSL_malloc (mem.c:106)
==5837== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==5837== by 0x24B104: err_get_state (err.c:210)
==5837== by 0x24BCDA: ERR_put_error (err.c:636)
==5837== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==5837== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5837== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==5837== by 0x270326: by_file_ctrl (by_file.c:111)
==5837== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==5837== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==5837== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5837== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==5837== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==5837== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5837== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==5837==
==5837== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==5837== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5837== by 0x25C282: OPENSSL_malloc (mem.c:106)
==5837== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==5837== by 0x24B104: err_get_state (err.c:210)
==5837== by 0x24BCDA: ERR_put_error (err.c:636)
==5837== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==5837== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5837== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==5837== by 0x270326: by_file_ctrl (by_file.c:111)
==5837== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==5837== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==5837== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5837== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==5837== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==5837== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5837== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==5837==
=== End of file valgrind1562
test 1563...[Make sure redirects to CURLPROTO_GOPHER are forbidden by default]
--p----emv- OK (1138 out of 1250, remaining: 02:45, took 1.3s, duration: 28:03)
test 1590...[IMAP cleanup before a connection was created]
-------emv- OK (1139 out of 1250, remaining: 02:44, took 1.1s, duration: 28:04)
test 1591 SKIPPED: curl lacks HTTP support
test 1592...[HTTP request, remove handle while resolving, don't block]
valgrind SKIPPED
-------em-- OK (1141 out of 1250, remaining: 02:40, took 0.0s, duration: 28:04)
test 1593...[HTTP custom header overrides CURLOPT_TIMECONDITION]
--p----emv- OK (1142 out of 1250, remaining: 02:39, took 1.0s, duration: 28:05)
test 1594...[HTTP Retry-After header parsing and extraction]
s-p----emv- OK (1143 out of 1250, remaining: 02:37, took 1.1s, duration: 28:07)
Warning: test1595 not present in tests/data/Makefile.inc
test 1595...[HTTP Retry-After header extraction (without header)]
s-p----emv- OK (1144 out of 1250, remaining: 02:36, took 1.1s, duration: 28:08)
Warning: test1596 not present in tests/data/Makefile.inc
test 1596...[HTTP Retry-After header parsing using a date]
s-p----emv- OK (1145 out of 1250, remaining: 02:34, took 1.1s, duration: 28:09)
test 1600...[NTLM unit tests]
-------emv- OK (1146 out of 1250, remaining: 02:33, took 0.9s, duration: 28:10)
test 1601...[MD5 unit tests]
-------emv- OK (1147 out of 1250, remaining: 02:31, took 0.9s, duration: 28:10)
test 1602...[Internal hash create/add/destroy testing, exercising clean functions]
-------emv- OK (1148 out of 1250, remaining: 02:30, took 0.9s, duration: 28:11)
test 1603...[Internal hash add, retrieval, deletion testing]
-------emv- OK (1149 out of 1250, remaining: 02:28, took 0.8s, duration: 28:12)
test 1604...[Test WIN32/MSDOS filename sanitization]
-------emv- OK (1150 out of 1250, remaining: 02:27, took 0.8s, duration: 28:13)
test 1605...[Test negative data lengths as input to libcurl functions]
-------emv- OK (1151 out of 1250, remaining: 02:25, took 0.9s, duration: 28:14)
test 1606...[verify speedcheck]
-------emv- OK (1152 out of 1250, remaining: 02:24, took 0.9s, duration: 28:15)
test 1607...[CURLOPT_RESOLVE parsing]
-------emv- OK (1153 out of 1250, remaining: 02:22, took 1.0s, duration: 28:16)
test 1608...[verify DNS shuffling]
-------emv- OK (1154 out of 1250, remaining: 02:21, took 0.9s, duration: 28:17)
test 1609...[CURLOPT_RESOLVE parsing]
-------emv- OK (1155 out of 1250, remaining: 02:19, took 0.9s, duration: 28:18)
test 1620...[unit tests for url.c]
-------emv- OK (1156 out of 1250, remaining: 02:18, took 0.9s, duration: 28:18)
test 1621...[unit tests for stripcredentials from URL]
-------emv- OK (1157 out of 1250, remaining: 02:16, took 0.9s, duration: 28:19)
test 1650...[DOH]
-------emv- OK (1158 out of 1250, remaining: 02:15, took 0.8s, duration: 28:20)
test 1651...[x509 parsing]
-------emv- OK (1159 out of 1250, remaining: 02:13, took 0.8s, duration: 28:21)
test 1652...[infof]
-------emv- OK (1160 out of 1250, remaining: 02:12, took 0.9s, duration: 28:22)
test 1653...[urlapi]
-------emv- OK (1161 out of 1250, remaining: 02:10, took 0.9s, duration: 28:23)
test 1654 SKIPPED: curl lacks alt-svc support
RUN: failed to start the HTTP/2 server
test 1700 SKIPPED: failed starting HTTP/2 server
test 1701 SKIPPED: failed starting HTTP/2 server
test 1702 SKIPPED: failed starting HTTP/2 server
test 1800...[HTTP/2 upgrade refused]
--pd---emv- OK (1166 out of 1250, remaining: 02:03, took 1.2s, duration: 28:29)
test 1904...[HTTP CONNECT with 204 response]
--pd-P-emv- OK (1167 out of 1250, remaining: 02:01, took 1.7s, duration: 28:31)
test 1905...[CURLOPT_COOKIELIST set to "FLUSH" of a shared cookie object]
--p---oemv- OK (1168 out of 1250, remaining: 02:00, took 1.1s, duration: 28:32)
test 1906...[CURLOPT_CURLU and CURLOPT_PORT]
--p----emv- OK (1169 out of 1250, remaining: 01:58, took 1.1s, duration: 28:33)
test 2000...[FTP RETR followed by FILE]
s-p----emv- OK (1170 out of 1250, remaining: 01:57, took 1.3s, duration: 28:34)
test 2001...[HTTP GET followed by FTP RETR followed by FILE]
s-p----emv- OK (1171 out of 1250, remaining: 01:55, took 1.3s, duration: 28:35)
test 2002...[HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ]
s-p----emv- OK (1172 out of 1250, remaining: 01:54, took 1.4s, duration: 28:37)
test 2003...[HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ then again in reverse order]
s-p----emv- OK (1173 out of 1250, remaining: 01:52, took 1.5s, duration: 28:38)
test 2005 SKIPPED: curl lacks Metalink support
test 2006 SKIPPED: curl lacks Metalink support
test 2007 SKIPPED: curl lacks Metalink support
test 2023...[HTTP authorization retry (Basic)]
--pd---emv- OK (1193 out of 1250, remaining: 01:22, took 1.1s, duration: 28:39)
test 2024...[HTTP authorization retry (Basic switching to Digest)]
--pd---emv- OK (1194 out of 1250, remaining: 01:20, took 1.2s, duration: 28:41)
test 2025...[HTTP authorization retry (Basic switching to NTLM)]
--pd---emv- OK (1195 out of 1250, remaining: 01:19, took 1.2s, duration: 28:42)
test 2026...[HTTP authorization retry (Digest switching to Basic)]
--pd---emv- OK (1196 out of 1250, remaining: 01:17, took 1.2s, duration: 28:43)
test 2027...[HTTP authorization retry (Digest)]
--pd---emv- OK (1197 out of 1250, remaining: 01:16, took 1.2s, duration: 28:44)
test 2028...[HTTP authorization retry (Digest switching to NTLM)]
--pd---emv- OK (1198 out of 1250, remaining: 01:14, took 1.3s, duration: 28:45)
test 2029...[HTTP authorization retry (NTLM switching to Basic)]
--pd---emv- OK (1199 out of 1250, remaining: 01:13, took 1.2s, duration: 28:47)
test 2030...[HTTP authorization retry (NTLM switching to Digest)]
--pd---emv- OK (1200 out of 1250, remaining: 01:12, took 1.2s, duration: 28:48)
test 2031...[HTTP authorization retry (NTLM)]
--pd---emv- OK (1201 out of 1250, remaining: 01:10, took 1.2s, duration: 28:49)
test 2032...[NTLM connection mapping]
--pd---emv- OK (1202 out of 1250, remaining: 01:09, took 1.2s, duration: 28:50)
test 2034...[simple HTTPS GET with DER public key pinning]
goto problem 35
valgrind ERROR ==6036== Invalid read of size 8
==6036== at 0x53315A5: check_free (dlerror.c:188)
==6036== by 0x5331AB1: free_key_mem (dlerror.c:221)
==6036== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==6036== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6036== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6036== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==6036== by 0x4D60EB9: exit (exit.c:139)
==6036== by 0x4D4B0A1: (below main) (libc-start.c:342)
==6036== Address 0x57644c0 is 0 bytes after a block of size 32 alloc'd
==6036== at 0x483577F: malloc (vg_replace_malloc.c:309)
==6036== by 0x25C282: OPENSSL_malloc (mem.c:106)
==6036== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==6036== by 0x24B104: err_get_state (err.c:210)
==6036== by 0x24BCDA: ERR_put_error (err.c:636)
==6036== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==6036== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==6036== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==6036== by 0x270326: by_file_ctrl (by_file.c:111)
==6036== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==6036== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==6036== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==6036== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==6036== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==6036== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==6036== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==6036==
==6036== Invalid free() / delete / delete[] / realloc()
==6036== at 0x48369AB: free (vg_replace_malloc.c:540)
==6036== by 0x5331AB9: free_key_mem (dlerror.c:223)
==6036== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==6036== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6036== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6036== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==6036== by 0x4D60EB9: exit (exit.c:139)
==6036== by 0x4D4B0A1: (below main) (libc-start.c:342)
==6036== Address 0x57644a8 is 8 bytes inside a block of size 32 alloc'd
==6036== at 0x483577F: malloc (vg_replace_malloc.c:309)
==6036== by 0x25C282: OPENSSL_malloc (mem.c:106)
==6036== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==6036== by 0x24B104: err_get_state (err.c:210)
==6036== by 0x24BCDA: ERR_put_error (err.c:636)
==6036== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==6036== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==6036== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==6036== by 0x270326: by_file_ctrl (by_file.c:111)
==6036== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==6036== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==6036== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==6036== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==6036== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==6036== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==6036== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==6036==
==6036== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==6036== at 0x483577F: malloc (vg_replace_malloc.c:309)
==6036== by 0x25C282: OPENSSL_malloc (mem.c:106)
==6036== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==6036== by 0x24B104: err_get_state (err.c:210)
==6036== by 0x24BCDA: ERR_put_error (err.c:636)
==6036== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==6036== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==6036== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==6036== by 0x270326: by_file_ctrl (by_file.c:111)
==6036== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==6036== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==6036== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==6036== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==6036== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==6036== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==6036== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==6036==
== 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:20:06.142944 signalled to die
03:20:06.143036 ========> IPv4 sws (port 8990 pid: 5729) exits with signal (15)
03:20:11.157361 Running HTTP IPv4 version on port 8990
03:20:11.157472 Wrote pid 6022 to .http_server.pid
03:20:12.155697 ====> Client connect
03:20:12.155719 accept_connection 3 returned 4
03:20:12.155736 accept_connection 3 returned 0
03:20:12.155750 Read 96 bytes
03:20:12.155760 Process 96 bytes request
03:20:12.155786 Got request: GET /verifiedserver HTTP/1.1
03:20:12.155796 Are-we-friendly question received
03:20:12.155812 Wrote request (96 bytes) input to log/server.input
03:20:12.155831 Identifying ourselves as friends
03:20:12.155879 Response sent (55 bytes) and written to log/server.response
03:20:12.155890 special request received, no persistency
03:20:12.155901 ====> Client disconnect 0
03:20:14.189344 ====> Client connect
03:20:14.189374 accept_connection 3 returned 4
03:20:14.189392 accept_connection 3 returned 0
03:20:14.189521 Read 96 bytes
03:20:14.189538 Process 96 bytes request
03:20:14.189555 Got request: GET /verifiedserver HTTP/1.1
03:20:14.189566 Are-we-friendly question received
03:20:14.189581 Wrote request (96 bytes) input to log/server.input
03:20:14.189596 Identifying ourselves as friends
03:20:14.189648 Response sent (55 bytes) and written to log/server.response
03:20:14.189662 special request received, no persistency
03:20:14.189674 ====> Client disconnect 0
03:20:16.990984 ====> Client connect
03:20:16.991013 accept_connection 3 returned 4
03:20:16.991028 accept_connection 3 returned 0
03:20:17.085379 Read 86 bytes
03:20:17.085415 Process 86 bytes request
03:20:17.085431 Got request: GET /2034 HTTP/1.1
03:20:17.085441 Requested test number 2034 part 0
03:20:17.085478 - request found to be complete
03:20:17.085509 Wrote request (86 bytes) input to log/server.input
03:20:17.085533 Send response test2034 section <data>
03:20:17.085608 Response sent (103 bytes) and written to log/server.response
03:20:17.085619 => persistent connection request ended, awaits new request
03:20:17.161569 Connection closed by client
03:20:17.161608 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55864b8247c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55864b8247c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55864b8247c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55864b8247c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55864b8247c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55864b8247c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 16
<
{ [16 bytes data]
* STATE: PERFORM => DONE handle 0x55864b8247c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55864b8247c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 6022
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.14 03:20:13 LOG5[6029]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.14 03:20:13 LOG5[6029]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.14 03:20:13 LOG5[6029]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.14 03:20:13 LOG5[6029]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.14 03:20:13 LOG5[6029]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.14 03:20:13 LOG5[6029]: Reading configuration from file /build-30040/tests/https_stunnel.conf
2019.08.14 03:20:13 LOG5[6029]: FIPS mode disabled
2019.08.14 03:20:13 LOG5[6029]: Configuration successful
2019.08.14 03:20:14 LOG5[6032]: Service [curltest] accepted connection from 127.0.0.1:36268
2019.08.14 03:20:14 LOG5[6032]: s_connect: connected 127.0.0.1:8990
2019.08.14 03:20:14 LOG5[6032]: Service [curltest] connected remote server from 127.0.0.1:40562
2019.08.14 03:20:14 LOG5[6032]: Connection closed: 55 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.14 03:20:16 LOG5[6038]: Service [curltest] accepted connection from 127.0.0.1:36276
2019.08.14 03:20:16 LOG5[6038]: s_connect: connected 127.0.0.1:8990
2019.08.14 03:20:16 LOG5[6038]: Service [curltest] connected remote server from 127.0.0.1:40570
2019.08.14 03:20:17 LOG5[6038]: 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 0x55a8d328c7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55a8d328c7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55a8d328c7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55a8d328c7c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [977 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:13:14 2018 GMT
* expire date: Dec 6 07:13:14 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55a8d328c7c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55a8d328c7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55a8d328c7c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 16
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x55a8d328c7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55a8d328c7c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 6022
=== 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: 16
WE ROOLZ: 6022
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6022
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:20:16.146879 == Info: STATE: INIT => CONNECT handle 0x56c5c98; line 1362 (connection #-5000)
03:20:16.202532 == Info: Added connection 0. The cache now contains 1 members
03:20:16.258358 == Info: Trying ::1:8991...
03:20:16.259017 == Info: TCP_NODELAY set
03:20:16.263925 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5c98; line 1418 (connection #0)
03:20:16.278520 == Info: connect to ::1 port 8991 failed: Connection refused
03:20:16.280680 == Info: Trying 127.0.0.1:8991...
03:20:16.280744 == Info: TCP_NODELAY set
03:20:16.289086 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:20:16.289611 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5c98; line 1538 (connection #0)
03:20:16.290647 == Info: Marked for [keep alive]: HTTP default
03:20:16.341444 == Info: ALPN, offering h2
03:20:16.341732 == Info: ALPN, offering http/1.1
03:20:16.433277 == Info: successfully set certificate verify locations:
03:20:16.433544 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:20:16.553284 => Send SSL data, 5 bytes (0x5)
0000: .....
03:20:16.558322 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:20:16.558390 => Send SSL data, 166 bytes (0xa6)
0000: ......\...-.)...F....?F.J#.......?_.J.....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:20:16.575544 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:20:16.581071 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:20:16.581131 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y..=....C.J...-..[..0..u.l-......9 .Q7.....czmGh..0..#S;...|
0040: .V.-.FI./....................
03:20:16.626212 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:20:16.626680 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:20:16.626737 <= 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:20:16.807758 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:20:16.808036 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:20:16.808094 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A....hfw|......A...[7F]*>h-.......y..;.6`ONJ..a........|....
0040: E....#e........[#.8....-...y>1.48........z..A...W.\^.<.Z....Z]..
0080: .....a.....z........4............k....._..........G...F...\m.K..
00c0: ......{.tYi.O...f.zH..+o.lr.1..."....3...c.)N.{..F........7=y*..
0100: .1ix.H.H7...0....K.`.L...Inh.c3.J..cSC`.a.......q8...!i.@...t\.K
0140: .......v..!.)
03:20:16.822970 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:20:16.823295 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:20:16.823351 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:20:16.942029 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:20:16.942279 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:20:16.942337 => Send SSL data, 70 bytes (0x46)
0000: ...BA.H4.g.....C.#.......$8.1.[7F]Q...T.D.....F7b._.^...H..[7F]...U.}.
0040: ..._).
03:20:16.954741 => Send SSL data, 5 bytes (0x5)
0000: .....
03:20:16.955365 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:20:16.955429 => Send SSL data, 1 bytes (0x1)
0000: .
03:20:16.977093 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:20:16.977159 => Send SSL data, 16 bytes (0x10)
0000: ....3......(.p.9
03:20:16.990089 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:20:16.992960 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:20:16.994079 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:20:16.994137 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:20:16.996622 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:20:17.002851 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:20:17.002921 <= Recv SSL data, 16 bytes (0x10)
0000: .......|.o..`.s.
03:20:17.031258 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:20:17.031956 == Info: ALPN, server did not agree to a protocol
03:20:17.034575 == Info: Server certificate:
03:20:17.042718 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
03:20:17.047605 == Info: start date: Sep 19 07:13:14 2018 GMT
03:20:17.048973 == Info: expire date: Dec 6 07:13:14 2026 GMT
03:20:17.052334 == Info: subjectAltName: host "localhost" matched cert's "localhost"
03:20:17.054656 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
03:20:17.055245 == Info: SSL certificate verify ok.
03:20:17.062183 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c5c98; line 1556 (connection #0)
03:20:17.083436 => Send SSL data, 5 bytes (0x5)
0000: ....n
03:20:17.087088 => 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:20:17.090031 == Info: STATE: DO => DO_DONE handle 0x56c5c98; line 1627 (connection #0)
03:20:17.090502 == Info: STATE: DO_DONE => PERFORM handle 0x56c5c98; line 1749 (connection #0)
03:20:17.094945 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:20:17.104055 == Info: Mark bundle as not supporting multiuse
03:20:17.104651 == Info: HTTP 1.1 or later with persistent connection
03:20:17.107370 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:20:17.114570 <= Recv SSL data, 5 bytes (0x5)
0000: ....k
03:20:17.114831 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:20:17.115059 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:20:17.116226 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:20:17.119007 <= Recv header, 1 bytes (0x1)
0000: .
03:20:17.119654 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:20:17.123285 == Info: STATE: PERFORM => DONE handle 0x56c5c98; line 1939 (connection #0)
03:20:17.123619 == Info: multi_done
03:20:17.132775 == Info: Connection #0 to host localhost left intact
03:20:17.134628 == Info: Expire cleared (transfer 0x56c5c98)
=== End of file trace2034
=== Start of file valgrind2034
==6036== Invalid read of size 8
==6036== at 0x53315A5: check_free (dlerror.c:188)
==6036== by 0x5331AB1: free_key_mem (dlerror.c:221)
==6036== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==6036== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6036== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6036== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==6036== by 0x4D60EB9: exit (exit.c:139)
==6036== by 0x4D4B0A1: (below main) (libc-start.c:342)
==6036== Address 0x57644c0 is 0 bytes after a block of size 32 alloc'd
==6036== at 0x483577F: malloc (vg_replace_malloc.c:309)
==6036== by 0x25C282: OPENSSL_malloc (mem.c:106)
==6036== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==6036== by 0x24B104: err_get_state (err.c:210)
==6036== by 0x24BCDA: ERR_put_error (err.c:636)
==6036== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==6036== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==6036== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==6036== by 0x270326: by_file_ctrl (by_file.c:111)
==6036== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==6036== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==6036== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==6036== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==6036== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==6036== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==6036== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==6036==
==6036== Invalid free() / delete / delete[] / realloc()
==6036== at 0x48369AB: free (vg_replace_malloc.c:540)
==6036== by 0x5331AB9: free_key_mem (dlerror.c:223)
==6036== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==6036== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6036== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6036== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==6036== by 0x4D60EB9: exit (exit.c:139)
==6036== by 0x4D4B0A1: (below main) (libc-start.c:342)
==6036== Address 0x57644a8 is 8 bytes inside a block of size 32 alloc'd
==6036== at 0x483577F: malloc (vg_replace_malloc.c:309)
==6036== by 0x25C282: OPENSSL_malloc (mem.c:106)
==6036== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==6036== by 0x24B104: err_get_state (err.c:210)
==6036== by 0x24BCDA: ERR_put_error (err.c:636)
==6036== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==6036== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==6036== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==6036== by 0x270326: by_file_ctrl (by_file.c:111)
==6036== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==6036== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==6036== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==6036== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==6036== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==6036== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==6036== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==6036==
==6036== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==6036== at 0x483577F: malloc (vg_replace_malloc.c:309)
==6036== by 0x25C282: OPENSSL_malloc (mem.c:106)
==6036== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==6036== by 0x24B104: err_get_state (err.c:210)
==6036== by 0x24BCDA: ERR_put_error (err.c:636)
==6036== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==6036== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==6036== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==6036== by 0x270326: by_file_ctrl (by_file.c:111)
==6036== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==6036== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==6036== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==6036== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==6036== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==6036== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==6036== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==6036==
=== End of file valgrind2034
test 2035...[HTTPS wrong DER pinnedpubkey but right CN]
goto problem 36
valgrind ERROR ==6044== Invalid read of size 8
==6044== at 0x53315A5: check_free (dlerror.c:188)
==6044== by 0x5331AB1: free_key_mem (dlerror.c:221)
==6044== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==6044== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6044== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6044== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==6044== by 0x4D60EB9: exit (exit.c:139)
==6044== by 0x4D4B0A1: (below main) (libc-start.c:342)
==6044== Address 0x57644c0 is 0 bytes after a block of size 32 alloc'd
==6044== at 0x483577F: malloc (vg_replace_malloc.c:309)
==6044== by 0x25C282: OPENSSL_malloc (mem.c:106)
==6044== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==6044== by 0x24B104: err_get_state (err.c:210)
==6044== by 0x24BCDA: ERR_put_error (err.c:636)
==6044== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==6044== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==6044== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==6044== by 0x270326: by_file_ctrl (by_file.c:111)
==6044== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==6044== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==6044== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==6044== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==6044== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==6044== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==6044== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==6044==
==6044== Invalid free() / delete / delete[] / realloc()
==6044== at 0x48369AB: free (vg_replace_malloc.c:540)
==6044== by 0x5331AB9: free_key_mem (dlerror.c:223)
==6044== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==6044== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6044== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6044== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==6044== by 0x4D60EB9: exit (exit.c:139)
==6044== by 0x4D4B0A1: (below main) (libc-start.c:342)
==6044== Address 0x57644a8 is 8 bytes inside a block of size 32 alloc'd
==6044== at 0x483577F: malloc (vg_replace_malloc.c:309)
==6044== by 0x25C282: OPENSSL_malloc (mem.c:106)
==6044== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==6044== by 0x24B104: err_get_state (err.c:210)
==6044== by 0x24BCDA: ERR_put_error (err.c:636)
==6044== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==6044== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==6044== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==6044== by 0x270326: by_file_ctrl (by_file.c:111)
==6044== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==6044== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==6044== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==6044== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==6044== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==6044== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==6044== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==6044==
==6044== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==6044== at 0x483577F: malloc (vg_replace_malloc.c:309)
==6044== by 0x25C282: OPENSSL_malloc (mem.c:106)
==6044== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==6044== by 0x24B104: err_get_state (err.c:210)
==6044== by 0x24BCDA: ERR_put_error (err.c:636)
==6044== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==6044== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==6044== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==6044== by 0x270326: by_file_ctrl (by_file.c:111)
==6044== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==6044== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==6044== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==6044== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==6044== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==6044== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==6044== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==6044==
== Contents of files in the log/ dir after test 2035
=== Start of file http_server.log
03:20:19.050702 ====> Client connect
03:20:19.050740 accept_connection 3 returned 4
03:20:19.050756 accept_connection 3 returned 0
03:20:19.138672 Connection closed by client
03:20:19.138706 ====> 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:20:18.199717 == Info: STATE: INIT => CONNECT handle 0x56c5c98; line 1362 (connection #-5000)
03:20:18.257460 == Info: Added connection 0. The cache now contains 1 members
03:20:18.314931 == Info: Trying ::1:8991...
03:20:18.315587 == Info: TCP_NODELAY set
03:20:18.320636 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5c98; line 1418 (connection #0)
03:20:18.335108 == Info: connect to ::1 port 8991 failed: Connection refused
03:20:18.337306 == Info: Trying 127.0.0.1:8991...
03:20:18.337371 == Info: TCP_NODELAY set
03:20:18.346023 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:20:18.346808 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5c98; line 1538 (connection #0)
03:20:18.347976 == Info: Marked for [keep alive]: HTTP default
03:20:18.400292 == Info: ALPN, offering h2
03:20:18.400584 == Info: ALPN, offering http/1.1
03:20:18.491584 == Info: successfully set certificate verify locations:
03:20:18.491855 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:20:18.610503 => Send SSL data, 5 bytes (0x5)
0000: .....
03:20:18.615525 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:20:18.615588 => Send SSL data, 166 bytes (0xa6)
0000: .............6NF.d......s.....3...g.H.....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:20:18.633185 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:20:18.638800 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:20:18.638862 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y....$O.........l....W.....2..%./.. 9?.6.l.X....u:..]...g.S..
0040: .:z.W.H./....................
03:20:18.685457 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:20:18.685946 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:20:18.686006 <= 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:20:18.864720 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:20:18.864996 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:20:18.865057 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A....hfw|......A...[7F]*>h-.......y..;.6`ONJ..a........|....
0040: E....#e......!..J....+...*'..2B....&.R..-.....U....J:.l....".<2.
0080: .....t}O....j...q..80sz.....(h...&W..p[7F]I._...._...;V*4...z|V..!B
00c0: JL.....l..P.....d..h...Oq.....n......t...c..(...M.)..:$tl...Z...
0100: ..3..Rj......G}a..........F[..`.,......A.6.'b..T.O`N.c........2<
0140: %.....4.B-9=.
03:20:18.880459 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:20:18.880797 == Info: TLSv1.2 (IN), TLS handshak