curl / Autobuilds / Log From 2019-01-13

Log from 2019-01-13

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 42 (last) test results

testcurl: NAME = Daniel Stenberg
testcurl: EMAIL = daniel -at- haxx -dot- se
testcurl: DESC = Debian Linux 64bit BoringSSL
testcurl: NOTES =
testcurl: CONFOPTS = --disable-shared --enable-debug --with-ssl=/home/daniel/src/boringssl --without-libssh2 --enable-ares=/home/daniel/src/c-ares --with-gssapi --with-ntlm-auth
testcurl: RUNTESTOPTS =
testcurl: CPPFLAGS =
testcurl: CFLAGS =
testcurl: LDFLAGS =
testcurl: LIBS = -lpthread
testcurl: CC =
testcurl: TMPDIR =
testcurl: MAKEFLAGS =
testcurl: ACLOCAL_FLAGS =
testcurl: PKG_CONFIG_PATH =
testcurl: DYLD_LIBRARY_PATH =
testcurl: LD_LIBRARY_PATH = /home/daniel/src/c-ares/.libs:/home/daniel/src/boringssl/lib
testcurl: LIBRARY_PATH =
testcurl: SHLIB_PATH =
testcurl: LIBPATH =
testcurl: target =
testcurl: version = 2014-11-25
testcurl: date = Sun Jan 13 01:50:46 2019 UTC
testcurl: ./ is verified to be a fine git source dir
testcurl: build dir build-4871 was created fine
testcurl: run git pull in curl
Already up to date.
testcurl: The most recent curl git commits:
testcurl: 52e27fe9c cmake: added checks for HAVE_VARIADIC_MACROS_C99 and HAVE_VARIADIC_MACROS_GCC
testcurl: ba243235e urldata: rename easy_conn to just conn
testcurl: 61faa0b42 tool_cb_prg: avoid integer overflow
testcurl: 90254d0d6 travis: turn off copyright year checks in checksrc
testcurl: 13f09f6f6 KNOWN_BUGS: cmake makes unusable tool_hugehelp.c with MinGW
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:194: installing './config.guess'
configure.ac:194: installing './config.sub'
configure.ac:132: installing './install-sh'
configure.ac:140: 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 whether to build with 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.64.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 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 Apple OS native SSL/TLS... 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 SSL_get_shutdown... yes
checking for SSLv2_client_method... no
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 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 sys/types.h... (cached) yes
checking for stdio.h... yes
checking if fdopen can be linked... yes
checking if fdopen is prototyped... yes
checking if fdopen is compilable... yes
checking if fdopen usage allowed... yes
checking if fdopen 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 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 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 enable support for cookies... yes
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.64.0-DEV
SSL support: enabled (BoringSSL)
SSH support: no (--with-libssh2)
zlib support: enabled
brotli support: enabled (libbrotlidec)
GSS-API support: enabled (MIT Kerberos/Heimdal)
TLS-SRP support: no (--enable-tls-srp)
resolver: c-ares
IPv6 support: enabled
Unix sockets support: enabled
IDN support: enabled (libidn2)
Build libcurl: Shared=no, Static=yes
Built-in manual: enabled
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: enabled (--disable-verbose)
SSPI support: no (--enable-sspi)
ca cert bundle: /etc/ssl/certs/ca-certificates.crt
ca cert path: no
ca fallback: no
LDAP support: enabled (OpenLDAP)
LDAPS support: enabled
RTSP support: enabled
RTMP support: enabled (librtmp)
metalink support: no (--with-libmetalink)
PSL support: yes
HTTP2 support: enabled (nghttp2)
Protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS POP3 POP3S RTMP RTSP SMB SMBS SMTP SMTPS TELNET TFTP

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.64.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_FDOPEN 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_GETPPID 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWUID_R 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETSERVBYPORT_R 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_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_SSL_GET_SHUTDOWN 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDIO_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_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-4871/lib'
make all-am
make[2]: Entering directory '/build-4871/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-pipeline.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 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:390: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:1536: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:2495: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:3039: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-cyassl.lo
CC vtls/libcurl_la-schannel.lo
CC vtls/libcurl_la-schannel_verify.lo
CC vtls/libcurl_la-darwinssl.lo
CC vtls/libcurl_la-gskit.lo
CC vtls/libcurl_la-mbedtls.lo
CC vtls/libcurl_la-mesalink.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-pipeline.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 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:390: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:1536: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:2495: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:3039: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-cyassl.lo
CC vtls/libcurlu_la-schannel.lo
CC vtls/libcurlu_la-schannel_verify.lo
CC vtls/libcurlu_la-darwinssl.lo
CC vtls/libcurlu_la-gskit.lo
CC vtls/libcurlu_la-mbedtls.lo
CC vtls/libcurlu_la-mesalink.lo
CCLD libcurlu.la
/usr/bin/perl /lib/checksrc.pl -D/lib -W/lib/curl_config.h \
/lib/*.[ch] /lib/vauth/*.[ch] /lib/vtls/*.[ch]
make[2]: Leaving directory '/build-4871/lib'
make[1]: Leaving directory '/build-4871/lib'
Making all in src
make[1]: Entering directory '/build-4871/src'
Making all in ../docs
make[2]: Entering directory '/build-4871/docs'
Making all in .
make[3]: Entering directory '/build-4871/docs'
if test "..x" != "x" -a -e "/docs/curl.1"; then \
cp -fp "/docs/curl.1" /build-4871/docs/curl.1; fi
cd cmdline-opts && make
make[4]: Entering directory '/build-4871/docs/cmdline-opts'
/usr/bin/perl /docs/cmdline-opts/gen.pl mainpage /docs/cmdline-opts > ../../docs/curl.1
make[4]: Leaving directory '/build-4871/docs/cmdline-opts'
make[3]: Leaving directory '/build-4871/docs'
Making all in cmdline-opts
make[3]: Entering directory '/build-4871/docs/cmdline-opts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-4871/docs/cmdline-opts'
make[2]: Leaving directory '/build-4871/docs'
make[2]: Entering directory '/build-4871/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
echo '#include "tool_setup.h"' > tool_hugehelp.c
echo '#ifndef HAVE_LIBZ' >> tool_hugehelp.c
env LC_ALL=C /usr/bin/nroff -man /build-4871/docs/curl.1 | /usr/bin/perl /src/mkhelp.pl /docs/MANUAL >> tool_hugehelp.c
echo '#else' >> tool_hugehelp.c
env LC_ALL=C /usr/bin/nroff -man /build-4871/docs/curl.1 | /usr/bin/perl /src/mkhelp.pl -c /docs/MANUAL >> tool_hugehelp.c
echo '#endif /* HAVE_LIBZ */' >> 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_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_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
/usr/bin/perl /lib/checksrc.pl -D/src \
-W/src/tool_hugehelp.c /src/*.[ch]
make[2]: Leaving directory '/build-4871/src'
make[1]: Leaving directory '/build-4871/src'
make[1]: Entering directory '/build-4871'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/build-4871'
testcurl: libcurl was created fine (libcurl.la)
testcurl: curl was created fine (curl)
testcurl: display curl --version output
curl 7.64.0-DEV (x86_64-pc-linux-gnu) libcurl/7.64.0-DEV BoringSSL zlib/1.2.11 brotli/1.0.7 c-ares/1.15.0 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.35.1 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 Debug TrackMemory IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz brotli HTTP2 UnixSockets HTTPS-proxy PSL
testcurl: make -k test-full
make[1]: Entering directory '/build-4871/tests'
Making all in certs
make[2]: Entering directory '/build-4871/tests/certs'
Making all in scripts
make[3]: Entering directory '/build-4871/tests/certs/scripts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-4871/tests/certs/scripts'
make[3]: Entering directory '/build-4871/tests/certs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build-4871/tests/certs'
make[2]: Leaving directory '/build-4871/tests/certs'
Making all in data
make[2]: Entering directory '/build-4871/tests/data'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build-4871/tests/data'
Making all in server
make[2]: Entering directory '/build-4871/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
/usr/bin/perl /lib/checksrc.pl /tests/server/*.c
make[2]: Leaving directory '/build-4871/tests/server'
Making all in libtest
make[2]: Entering directory '/build-4871/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 lib536-lib536.o
CC lib536-first.o
CC lib536-testutil.o
CC ../../lib/lib536-warnless.o
CCLD lib536
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 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 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 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 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 lib1900-lib1900.o
CC lib1900-first.o
CC lib1900-testutil.o
CC ../../lib/lib1900-warnless.o
CCLD lib1900
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
/usr/bin/perl /lib/checksrc.pl /tests/libtest/*.c
make[2]: Leaving directory '/build-4871/tests/libtest'
Making all in unit
make[2]: Entering directory '/build-4871/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
make[2]: Leaving directory '/build-4871/tests/unit'
make[2]: Entering directory '/build-4871/tests'
cd libtest && make checksrc
make[3]: Entering directory '/build-4871/tests/libtest'
/usr/bin/perl /lib/checksrc.pl /tests/libtest/*.c
make[3]: Leaving directory '/build-4871/tests/libtest'
cd unit && make checksrc
make[3]: Entering directory '/build-4871/tests/unit'
/usr/bin/perl /lib/checksrc.pl /tests/unit/*.c
make[3]: Leaving directory '/build-4871/tests/unit'
cd server && make checksrc
make[3]: Entering directory '/build-4871/tests/server'
/usr/bin/perl /lib/checksrc.pl /tests/server/*.c
make[3]: Leaving directory '/build-4871/tests/server'
make[2]: Leaving directory '/build-4871/tests'
srcdir=/tests /usr/bin/perl -I/tests /tests/runtests.pl -a -p -r
********* System characteristics ********
* curl 7.64.0-DEV (x86_64-pc-linux-gnu)
* libcurl/7.64.0-DEV BoringSSL zlib/1.2.11 brotli/1.0.7 c-ares/1.15.0 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.35.1 librtmp/2.3
* Features: AsynchDNS Debug TrackMemory IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz brotli HTTP2 UnixSockets HTTPS-proxy PSL
* Host: storebror.haxx.se
* System: Linux storebror.haxx.se 4.18.0-2-amd64 #1 SMP Debian 4.18.10-2 (2018-11-02) x86_64 GNU/Linux
* Servers: SSL HTTP-IPv6 HTTP-unix FTP-IPv6
* Env: Valgrind
*****************************************
test 0001...[HTTP GET]
-pd---emv- OK (1 out of 1217, remaining: 64:54)
test 0002...[HTTP GET with user and password]
-pd---emv- OK (2 out of 1217, remaining: 44:27)
test 0003...[HTTP POST with auth and contents but with content-length set to 0]
-pd---emv- OK (3 out of 1217, remaining: 37:36)
test 0004...[Replaced internal and added custom HTTP headers]
-pd---emv- OK (4 out of 1217, remaining: 34:32)
test 0005...[HTTP over proxy]
-pd---emv- OK (5 out of 1217, remaining: 32:22)
test 0006...[HTTP with simple cookie send]
-pd---emv- OK (6 out of 1217, remaining: 30:55)
test 0007...[HTTP with cookie parser and header recording]
-pd--oemv- OK (7 out of 1217, remaining: 29:58)
test 0008...[HTTP with cookie parsing from header file]
-pd---emv- OK (8 out of 1217, remaining: 29:17)
test 0009...[HTTP RFC1867-type formposting]
-pd---emv- OK (9 out of 1217, remaining: 28:49)
test 0010...[simple HTTP PUT from file]
-pd---emv- OK (10 out of 1217, remaining: 30:19)
test 0011...[simple HTTP Location: following]
-pd---emv- OK (11 out of 1217, remaining: 29:44)
test 0012...[HTTP range support]
-pd---emv- OK (12 out of 1217, remaining: 29:16)
test 0013...[HTTP custom request 'DELETE']
-pd---emv- OK (13 out of 1217, remaining: 28:46)
test 0014...[HTTP HEAD with Connection: close]
-pd---emv- OK (14 out of 1217, remaining: 28:20)
test 0015...[--write-out test]
sp----emv- OK (15 out of 1217, remaining: 28:03)
test 0016...[HTTP with proxy authorization]
-pd---emv- OK (16 out of 1217, remaining: 27:45)
test 0017...[HTTP with config file on stdin]
-pd---emv- OK (17 out of 1217, remaining: 27:29)
test 0018...[multiple requests using {} in URL]
sp----emv- OK (18 out of 1217, remaining: 27:15)
test 0019...[attempt connect to non-listening socket]
------emv- OK (19 out of 1217, remaining: 26:59)
test 0020...[attempt connect to non-existing host name]
------emv- OK (20 out of 1217, remaining: 26:44)
test 0021...[use curl with multiple request methods]
------emv- OK (21 out of 1217, remaining: 26:20)
test 0022...[get HTTP with URL > 10000 bytes]
-pd---emv- OK (22 out of 1217, remaining: 26:14)
test 0023...[unsupported protocol:// URL]
------emv- OK (23 out of 1217, remaining: 25:59)
test 0024...[HTTP GET fail silently on HTTP error return]
-p---oemv- OK (24 out of 1217, remaining: 25:51)
test 0025...[looping HTTP Location: following with --max-redirs]
-pd---emv- OK (25 out of 1217, remaining: 25:46)
test 0026...[specify more -o than URLs]
-pd---emv- OK (26 out of 1217, remaining: 25:41)
test 0027...[Get same cookie page several times]
-pd---emv- OK (27 out of 1217, remaining: 25:38)
test 0028...[HTTP Location: following with extra spaces in header]
-pd---emv- OK (28 out of 1217, remaining: 25:34)
test 0029...[HTTP with 2 secs timeout]
-pd---emv- OK (29 out of 1217, remaining: 32:15)
test 0030...[HTTP with no data in server reply]
-p----emv- OK (30 out of 1217, remaining: 31:57)
test 0031...[HTTP with weirdly formatted cookies and cookiejar storage]
-pd--oemv- OK (31 out of 1217, remaining: 31:41)
test 0032...[HTTP with -d and -G]
-pd---emv- OK (32 out of 1217, remaining: 31:23)
test 0033...[HTTP PUT with resume]
-pd---emv- OK (33 out of 1217, remaining: 31:43)
test 0034...[HTTP GET with chunked Transfer-Encoding]
-pd---emv- OK (34 out of 1217, remaining: 31:26)
test 0035...[HTTP POST binary data with embedded NUL]
-pd---emv- OK (35 out of 1217, remaining: 31:12)
test 0036...[HTTP GET with bad chunked Transfer-Encoding]
-pd---emv- OK (36 out of 1217, remaining: 30:56)
test 0037...[HTTP GET with nothing returned from server]
-p----emv- OK (37 out of 1217, remaining: 30:44)
test 0038...[HTTP resume request without server supporting it]
-p---oemv- OK (38 out of 1217, remaining: 30:30)
test 0039...[HTTP RFC1867-type formposting with filename= and type=]
-pd---emv- OK (39 out of 1217, remaining: 30:49)
test 0040...[HTTP redirect with whitespace after ? (and conversion)]
-pd---emv- OK (40 out of 1217, remaining: 30:39)
test 0041...[HTTP formpost with missing file]
------emv- OK (41 out of 1217, remaining: 30:55)
test 0042...[HTTP redirect with whitespace in path (and conversion)]
-pd---emv- OK (42 out of 1217, remaining: 30:45)
test 0043...[HTTP Location: following over HTTP proxy]
-pd---emv- OK (43 out of 1217, remaining: 30:33)
test 0044...[HTTP RFC1867-type formposting without Expect: header]
-pd---emv- OK (44 out of 1217, remaining: 30:23)
test 0045...[simple HTTP Location: without protocol in initial URL]
-pd---emv- OK (45 out of 1217, remaining: 30:11)
test 0046...[HTTP with bad domain name, get cookies and store in cookie jar]
-pd--oemv- OK (46 out of 1217, remaining: 30:03)
test 0047...[simple HTTP 1.0 GET]
-pd---emv- OK (47 out of 1217, remaining: 29:53)
test 0048...[HTTP with -d and -G and -I]
-pd---emv- OK (48 out of 1217, remaining: 29:44)
test 0049...[HTTP follow redirect with ../]
-pd---emv- OK (49 out of 1217, remaining: 29:36)
test 0050...[HTTP follow redirect with ../../]
-pd---emv- OK (50 out of 1217, remaining: 29:28)
test 0051...[HTTP follow redirect with excessive ../]
-pd---emv- OK (51 out of 1217, remaining: 29:20)
test 0052...[HTTP follow redirect with ./-prefix]
-pd---emv- OK (52 out of 1217, remaining: 29:13)
test 0053...[HTTP, junk session cookies]
-pd---emv- OK (53 out of 1217, remaining: 29:04)
test 0054...[HTTP with blank Location:]
-pd---emv- OK (54 out of 1217, remaining: 28:56)
test 0055...[HTTP follow redirect with single slash in path]
-pd---emv- OK (55 out of 1217, remaining: 28:50)
test 0056...[HTTP POST with *HUGE* request and chunked transfer-encoding]
-pd---emv- OK (56 out of 1217, remaining: 28:52)
test 0057...[HTTP content-type with spaces in]
sp----emv- OK (57 out of 1217, remaining: 28:44)
test 0058...[HTTP PUT from file with weird letters]
-pd---emv- OK (58 out of 1217, remaining: 28:58)
test 0059...[HTTP URL with slash but with "parameter"]
-pd---emv- OK (59 out of 1217, remaining: 28:50)
test 0060...[HTTP PUT from stdin with wrong content-length]
-pd---emv- OK (60 out of 1217, remaining: 29:03)
test 0061...[HTTP with various cookies and custom Host:]
-pd--oemv- OK (61 out of 1217, remaining: 28:56)
test 0062...[HTTP, send cookies when using custom Host:]
-pd---emv- OK (62 out of 1217, remaining: 28:49)
test 0063...[HTTP with proxy authorization set in environment]
-pd---emv- OK (63 out of 1217, remaining: 28:42)
test 0064...[HTTP with Digest authorization]
-pd---emv- OK (64 out of 1217, remaining: 28:36)
test 0065...[HTTP with Digest authorization with bad password]
-pd---emv- OK (65 out of 1217, remaining: 28:29)
test 0066...[HTTP GET without headers in the response]
-pd---emv- OK (66 out of 1217, remaining: 28:23)
test 0067...[HTTP with NTLM authorization]
-pd---emv- OK (67 out of 1217, remaining: 28:18)
test 0068...[HTTP with NTLM authorization and wrong password]
-pd---emv- OK (68 out of 1217, remaining: 28:13)
test 0069...[HTTP with NTLM, Basic or Wild-and-crazy authorization]
-pd---emv- OK (69 out of 1217, remaining: 28:08)
test 0070...[HTTP with Digest *OR* NTLM authorization]
-pd---emv- OK (70 out of 1217, remaining: 28:02)
test 0071...[HTTP and -F upload in config file]
-pd---emv- OK (71 out of 1217, remaining: 27:57)
test 0072...[HTTP with Digest *OR* Basic authorization]
-pd---emv- OK (72 out of 1217, remaining: 27:52)
test 0073...[HTTP, receive cookies when using custom Host:, domain using only two dots]
-pd--oemv- OK (73 out of 1217, remaining: 27:47)
test 0074...[HTTP, urlglob {}-retrieval and -o #[num] usage]
-p---oemv- OK (74 out of 1217, remaining: 27:42)
test 0075...[HTTP, urlglob retrieval with bad range]
s-----emv- OK (75 out of 1217, remaining: 27:33)
test 0076...[HTTP, -O with no file name part in the URL]
------emv- OK (76 out of 1217, remaining: 27:24)
test 0077...[HTTP with -z "older date"]
-pd---emv- OK (77 out of 1217, remaining: 27:18)
test 0078...[HTTP with -z "newer date"]
-pd---emv- OK (78 out of 1217, remaining: 27:13)
test 0079...[FTP over HTTP proxy]
-pd---emv- OK (79 out of 1217, remaining: 27:08)
test 0080...[HTTP 1.0 CONNECT with proxytunnel and proxy+host Basic authentication]
-pd-P-emv- OK (80 out of 1217, remaining: 27:38)
test 0081...[HTTP with proxy using NTLM authorization]
-pd---emv- OK (81 out of 1217, remaining: 27:35)
test 0082...[HTTP with proxy requiring NTLM, but we send Basic]
-pd---emv- OK (82 out of 1217, remaining: 27:30)
test 0083...[HTTP over proxy-tunnel with site authentication]
-pd-P-emv- OK (83 out of 1217, remaining: 27:31)
test 0084...[HTTP over proxy with site authentication]
-pd---emv- OK (84 out of 1217, remaining: 27:26)
test 0085...[HTTP over proxy with site and proxy authentication]
-pd---emv- OK (85 out of 1217, remaining: 27:22)
test 0086...[HTTP, urlglob []-retrieval and -o #[num] usage]
-p---oemv- OK (86 out of 1217, remaining: 27:19)
test 0087...[urlglob with out of range -o #[num] usage]
-----oemv- OK (87 out of 1217, remaining: 27:14)
test 0088...[HTTP PUT with Digest authorization]
-pd---emv- OK (88 out of 1217, remaining: 27:23)
test 0089...[HTTP with NTLM and follow-location]
-pd---emv- OK (89 out of 1217, remaining: 27:20)
test 0090...[HTTP with NTLM via --anyauth, and then follow-location with NTLM again]
-pd---emv- OK (90 out of 1217, remaining: 27:19)
test 0091...[HTTP with NTLM/Negotiate/Basic, anyauth and user with domain, with size 0]
-pd---emv- OK (91 out of 1217, remaining: 27:15)
test 0092...[HTTP resume transfer with the whole file already downloaded]
-pd---emv- OK (92 out of 1217, remaining: 27:10)
test 0093...[HTTP GET with failed proxy auth]
-pd---emv- OK (93 out of 1217, remaining: 27:05)
test 0094...[HTTPS GET with failed proxy auth (CONNECT 1.0)]
-p----emv- OK (94 out of 1217, remaining: 27:00)
test 0095...[HTTP over proxytunnel using POST]
-pd-P-emv- OK (95 out of 1217, remaining: 27:01)
test 0096...[curl memory tracking operational]
-----oemv- OK (96 out of 1217, remaining: 26:54)
test 0097...[HTTP POST with custom content-type]
-pd---emv- OK (97 out of 1217, remaining: 26:49)
test 0098...[HTTP PUT from stdin with set size, disabling chunked transfer-encoding]
-pd---emv- OK (98 out of 1217, remaining: 26:56)
test 0099...[HTTP GET with large-file resume point and failed resume]
-pd---emv- OK (99 out of 1217, remaining: 26:51)
test 0100...[FTP dir list PASV]
-pd---emv- OK (100 out of 1217, remaining: 27:10)
test 0101...[FTP dir list, PORT with specified IP]
-pd---emv- OK (101 out of 1217, remaining: 27:06)
test 0102...[FTP RETR PASV]
-pd---emv- OK (102 out of 1217, remaining: 27:02)
test 0103...[FTP RETR PORT with CWD]
-pd---emv- OK (103 out of 1217, remaining: 26:57)
test 0104...[FTP --head to get file size only]
-p----emv- OK (104 out of 1217, remaining: 26:53)
test 0105...[FTP user+password in URL and ASCII transfer]
-pd---emv- OK (105 out of 1217, remaining: 26:49)
test 0106...[FTP GET with type=A style ASCII URL using %20 codes]
-pd---emv- OK (106 out of 1217, remaining: 26:45)
test 0107...[FTP PASV upload file]
-p-u--emv- OK (107 out of 1217, remaining: 26:41)
test 0108...[FTP PORT upload with CWD]
-p-u--emv- OK (108 out of 1217, remaining: 26:37)
test 0109...[FTP PASV upload append]
-p-u--emv- OK (109 out of 1217, remaining: 26:34)
test 0110...[FTP download resume with set limit]
-pd---emv- OK (110 out of 1217, remaining: 26:30)
test 0111...[FTP download resume beyond file size]
Killed
-p----emv- OK (111 out of 1217, remaining: 26:26)
test 0112...[FTP PASV upload resume]
-p-u--emv- OK (112 out of 1217, remaining: 26:23)
test 0113...[FTP download, failed login: USER not valid]
-p----emv- OK (113 out of 1217, remaining: 26:18)
test 0114...[FTP download, failed login: PASS not valid]
-p----emv- OK (114 out of 1217, remaining: 26:14)
test 0115...[FTP download, failed PASV]
-p----emv- OK (115 out of 1217, remaining: 26:10)
test 0116...[FTP download, failed PORT]
-p----emv- OK (116 out of 1217, remaining: 26:06)
test 0117...[FTP download, failed TYPE]
Killed
-p----emv- OK (117 out of 1217, remaining: 26:02)
test 0118...[FTP download, failed RETR]
Killed
-p----emv- OK (118 out of 1217, remaining: 25:59)
test 0119...[FTP download, failed RETR with PORT]
Killed
-p----emv- OK (119 out of 1217, remaining: 25:55)
test 0120...[ftp download with post-quote delete operation]
-pd---emv- OK (120 out of 1217, remaining: 25:52)
test 0121...[ftp download with post- and pre-transfer delete operations]
-pd---emv- OK (121 out of 1217, remaining: 25:48)
test 0122...[FTP download resume with whole file already downloaded]
Killed
-p----emv- OK (122 out of 1217, remaining: 25:45)
test 0123...[FTP upload resume with whole file already downloaded]
Killed
-p----emv- OK (123 out of 1217, remaining: 25:41)
test 0124...[FTP download, failed PWD]
-pd---emv- OK (124 out of 1217, remaining: 25:38)
test 0125...[FTP download, failed CWD]
-p----emv- OK (125 out of 1217, remaining: 25:35)
test 0126...[FTP download with multiple replies at once in RETR]
-pd---emv- OK (126 out of 1217, remaining: 25:31)
test 0127...[FTP --disable-epsv]
-pd---emv- OK (127 out of 1217, remaining: 25:28)
test 0128...[FTP upload with --crlf]
-p-u--emv- OK (128 out of 1217, remaining: 25:25)
test 0129...[FTP GET with type=A style ASCII URL and understated server SIZE]
-pd---emv- OK (129 out of 1217, remaining: 25:22)
test 0130...[FTP (optional .netrc; no user/pass) dir list PASV]
-pd---emv- OK (130 out of 1217, remaining: 25:19)
test 0131...[FTP (optional .netrc; user/no pass) dir list PASV]
-pd---emv- OK (131 out of 1217, remaining: 25:16)
test 0132...[FTP (optional .netrc; user/passwd supplied) dir list PASV]
-pd---emv- OK (132 out of 1217, remaining: 25:13)
test 0133...[FTP (compulsory .netrc; ignored user/passwd) dir list PASV]
-pd---emv- OK (133 out of 1217, remaining: 25:11)
test 0134...[FTP (optional .netrc; programmatic user/passwd) dir list PASV]
-pd---emv- OK (134 out of 1217, remaining: 25:08)
test 0135...[FTP retrieve a byte-range]
-pd---emv- OK (135 out of 1217, remaining: 25:05)
test 0136...[FTP with user and no password]
-pd---emv- OK (136 out of 1217, remaining: 25:02)
test 0137...[FTP download without size in RETR string]
-pd---emv- OK (137 out of 1217, remaining: 24:59)
test 0138...[FTP download without size in RETR string and no SIZE command]
-pd---emv- OK (138 out of 1217, remaining: 24:56)
test 0139...[FTP download a newer file with -z]
-pd---emv- OK (139 out of 1217, remaining: 24:54)
test 0140...[FTP download file with -z, expected to not transfer]
-p----emv- OK (140 out of 1217, remaining: 24:51)
test 0141...[FTP download info with -I]
sp----emv- OK (141 out of 1217, remaining: 24:48)
test 0142...[FTP URL with 150 dir levels]
-pd---emv- OK (142 out of 1217, remaining: 24:46)
test 0143...[FTP URL with type=a]
-pd---emv- OK (143 out of 1217, remaining: 24:43)
test 0144...[FTP NLST dir list without contents, using PORT]
Killed
-p----emv- OK (144 out of 1217, remaining: 24:40)
test 0145...[FTP NLST dir list with weird reply code, using PORT]
Killed
-p----emv- OK (145 out of 1217, remaining: 24:37)
test 0146...[persistent FTP with different paths]
-pd---emv- OK (146 out of 1217, remaining: 24:35)
test 0147...[FTP with --ftp-create-dirs (failing CWD)]
-pd---emv- OK (147 out of 1217, remaining: 24:32)
test 0148...[FTP with --ftp-create-dirs (failing MKD)]
-p----emv- OK (148 out of 1217, remaining: 24:29)
test 0149...[FTP with multiple uploads]
-p---oemv- OK (149 out of 1217, remaining: 24:27)
test 0150...[HTTP with NTLM authorization and --fail]
-pd---emv- OK (150 out of 1217, remaining: 24:25)
test 0151...[HTTP GET with an error code that might trick authentication]
-pd---emv- OK (151 out of 1217, remaining: 24:23)
test 0152...[HTTP GET with an error code that might trick authentication and --fail]
-p----emv- OK (152 out of 1217, remaining: 24:20)
test 0153...[HTTP with Digest authorization with stale=true]
sp----emv- OK (153 out of 1217, remaining: 24:17)
test 0154...[HTTP PUT with --anyauth authorization (picking Digest)]
-pd---emv- OK (154 out of 1217, remaining: 24:22)
test 0155...[HTTP PUT with --anyauth authorization (picking NTLM)]
-pd---emv- OK (155 out of 1217, remaining: 24:27)
test 0156...[HTTP PUT with --anyauth (when the server requires none)]
-pd---emv- OK (156 out of 1217, remaining: 24:31)
test 0157...[HTTP GET with --anyauth (when the server requires none)]
-pd---emv- OK (157 out of 1217, remaining: 24:28)
test 0158...[HTTP multipart formpost with only a 100 reply]
-pd---emv- OK (158 out of 1217, remaining: 24:26)
test 0159...[HTTP with NTLM authorization when talking HTTP/1.0 (known to fail)]
-pd---emv- OK (159 out of 1217, remaining: 24:23)
test 0160...[HTTP with delayed close, conn reuse, connection reset and retry]
sp----emv- OK (160 out of 1217, remaining: 24:34)
test 0161...[FTP RETR PASV]
-pd---emv- OK (161 out of 1217, remaining: 24:31)
test 0162...[HTTP GET asking for --proxy-ntlm when some other authentication is required]
-p----emv- OK (162 out of 1217, remaining: 24:28)
test 0163...[HTTP multipart formpost with contents from a file]
-pd---emv- OK (163 out of 1217, remaining: 24:26)
test 0164...[HTTP range with multiple ranges]
-pd---emv- OK (164 out of 1217, remaining: 24:23)
test 0165...[HTTP over proxy with IDN host name]
-pd---emv- OK (165 out of 1217, remaining: 24:21)
test 0166...[HTTP formpost a file with spaces in name]
-pd---emv- OK (166 out of 1217, remaining: 24:18)
test 0167...[HTTP with proxy-requiring-Basic to site-requiring-Digest]
-pd---emv- OK (167 out of 1217, remaining: 24:16)
test 0168...[HTTP with proxy-requiring-Digest to site-requiring-Digest]
-pd---emv- OK (168 out of 1217, remaining: 24:14)
test 0169...[HTTP with proxy-requiring-NTLM to site-requiring-Digest]
-pd---emv- OK (169 out of 1217, remaining: 24:12)
test 0170...[HTTP POST with --proxy-ntlm and no SSL with no response]
-p----emv- OK (170 out of 1217, remaining: 24:09)
test 0171...[HTTP, get cookie with dot prefixed full domain]
-pd--oemv- OK (171 out of 1217, remaining: 24:07)
test 0172...[HTTP with cookies file and custom added cookie]
-pd---emv- OK (172 out of 1217, remaining: 24:04)
test 0173...[HTTP RFC1867-formpost a file from stdin with "faked" filename]
-pd---emv- OK (173 out of 1217, remaining: 24:02)
test 0174...[HTTP POST --anyauth to server not requiring any auth at all]
-pd---emv- OK (174 out of 1217, remaining: 23:59)
test 0175...[HTTP POST --digest to server not requiring any auth at all]
-pd---emv- OK (175 out of 1217, remaining: 23:57)
test 0176...[HTTP POST --ntlm to server not requiring any auth at all]
-pd---emv- OK (176 out of 1217, remaining: 23:54)
test 0177...[HTTP POST --digest to server doing a 302-location response]
-pd---emv- OK (177 out of 1217, remaining: 23:52)
test 0178...[HTTP response with negative Content-Length]
-pd---emv- OK (178 out of 1217, remaining: 23:49)
test 0179...[HTTP using proxy and cookies with path checks]
-pd---emv- OK (179 out of 1217, remaining: 23:47)
test 0180...[HTTP 1.0 PUT]
-pd---emv- OK (180 out of 1217, remaining: 23:44)
test 0181...[HTTP 1.0 POST]
-pd---emv- OK (181 out of 1217, remaining: 23:42)
test 0182...[FTP download an empty file]
-pd---emv- OK (182 out of 1217, remaining: 23:40)
test 0183...[HTTP GET two URLs over a single proxy with persistent connection]
-pd---emv- OK (183 out of 1217, remaining: 23:37)
test 0184...[HTTP replace Host: when following Location: to new host]
-pd---emv- OK (184 out of 1217, remaining: 23:35)
test 0185...[HTTP replace Host: when following Location: on the same host]
-pd---emv- OK (185 out of 1217, remaining: 23:33)
test 0186...[HTTP RFC1867-type formposting with types on text fields]
-pd---emv- OK (186 out of 1217, remaining: 23:30)
test 0187...[HTTP redirect with bad host name separation and slash in parameters]
-pd---emv- OK (187 out of 1217, remaining: 23:28)
test 0188...[HTTP GET with resume and redirect]
-pd---emv- OK (188 out of 1217, remaining: 23:26)
test 0189...[HTTP GET with resume and redirect (to a page that doesn't resume)]
-pd---emv- OK (189 out of 1217, remaining: 23:23)
test 0190...[FTP download with strict timeout and slow CWD]
Killed
-p----emv- OK (190 out of 1217, remaining: 24:09)
test 0191...[FTP URL with ?-letters in username and password ]
-pd---emv- OK (191 out of 1217, remaining: 24:17)
test 0192...[HTTP GET -w num_connects with one simple connect]
sp----emv- OK (192 out of 1217, remaining: 24:15)
test 0193...[HTTP GET -w num_connects with redirected fetch (2 connects)]
sp----emv- OK (193 out of 1217, remaining: 24:12)
test 0194...[HTTP resume transfer with the whole file already downloaded and --fail]
-pd---emv- OK (194 out of 1217, remaining: 24:09)
test 0195...[FTP response 530 after PASS, temporarily not allowed access]
-p----emv- OK (195 out of 1217, remaining: 24:06)
test 0196...[FTP transient error, retry request once]
-p----emv- OK (196 out of 1217, remaining: 24:09)
test 0197...[HTTP GET --retry on 503 error with output to stdout]
sp----emv- OK (197 out of 1217, remaining: 24:11)
test 0198...[HTTP GET --retry on 503 error with output to file]
-pd---emv- OK (198 out of 1217, remaining: 24:14)
test 0199...[HTTP with -d, -G and {}]
-pd---emv- OK (199 out of 1217, remaining: 24:11)
test 0200...[basic file:// file]
--d---emv- OK (200 out of 1217, remaining: 24:08)
test 0201...[missing file:// file]
------emv- OK (201 out of 1217, remaining: 24:05)
test 0202...[two file:// URLs to stdout]
s-----emv- OK (202 out of 1217, remaining: 24:02)
test 0203...[file:/path URL with a single slash]
--d---emv- OK (203 out of 1217, remaining: 23:58)
test 0204...["upload" with file://]
-----oemv- OK (204 out of 1217, remaining: 23:55)
test 0205...["upload" with file://]
------emv- OK (205 out of 1217, remaining: 23:53)
test 0206...[HTTP proxy CONNECT auth Digest]
-pd---emv- OK (206 out of 1217, remaining: 23:50)
test 0207...[HTTP GET with chunked Transfer-Encoding closed prematurely]
-pd---emv- OK (207 out of 1217, remaining: 23:48)
test 0208...[HTTP PUT to a FTP URL with username+password - over HTTP proxy]
-pd---emv- OK (208 out of 1217, remaining: 23:50)
test 0209...[HTTP proxy CONNECT auth NTLM]
-pd---emv- OK (209 out of 1217, remaining: 23:48)
test 0210...[Get two FTP files from the same remote dir: no second CWD]
-pd---emv- OK (210 out of 1217, remaining: 23:46)
test 0211...[Get two FTP files with no remote EPSV support]
-pd---emv- OK (211 out of 1217, remaining: 23:44)
test 0212...[Get two FTP files with no remote EPRT support]
-pd---emv- OK (212 out of 1217, remaining: 23:42)
test 0213...[HTTP 1.0 proxy CONNECT auth NTLM and then POST]
-pd---emv- OK (213 out of 1217, remaining: 23:40)
test 0214...[HTTP URL with escaped { and }]
-pd---emv- OK (214 out of 1217, remaining: 23:37)
test 0215...[Get two FTP dir listings from the same remote dir: no second CWD]
-pd---emv- OK (215 out of 1217, remaining: 23:35)
test 0216...[FTP upload two files to the same dir]
-p----emv- OK (216 out of 1217, remaining: 23:33)
test 0217...[HTTP proxy CONNECT to proxy returning 405]
sp----emv- OK (217 out of 1217, remaining: 23:30)
test 0218...[HTTP PUT from a file but enforce chunked transfer-encoding]
-pd---emv- OK (218 out of 1217, remaining: 23:32)
test 0219...[try using proxy with unsupported scheme]
------emv- OK (219 out of 1217, remaining: 23:29)
test 0220...[HTTP GET gzip compressed content]
-pd---emv- OK (220 out of 1217, remaining: 23:27)
test 0221...[HTTP GET gzip compressed content with broken gzip header]
-pd---emv- OK (221 out of 1217, remaining: 23:24)
test 0222...[HTTP GET deflate compressed content]
-pd---emv- OK (222 out of 1217, remaining: 23:22)
test 0223...[HTTP GET deflate compressed content with broken deflate header]
-pd---emv- OK (223 out of 1217, remaining: 23:20)
test 0224...[HTTP GET gzip compressed content with huge comment and extra field]
-pd---emv- OK (224 out of 1217, remaining: 23:17)
test 0225...[FTP %0a-code in URL's name part]
------emv- OK (225 out of 1217, remaining: 23:14)
test 0226...[FTP %0d-code in URL's CWD part]
------emv- OK (226 out of 1217, remaining: 23:12)
test 0227...[FTP with quote ops]
-pd---emv- OK (227 out of 1217, remaining: 23:10)
test 0228...[FTP RETR with ACCT]
-pd---emv- OK (228 out of 1217, remaining: 23:07)
test 0229...[FTP RETR with bad ACCT]
-p----emv- OK (229 out of 1217, remaining: 23:05)
test 0230...[HTTP GET multiply compressed content]
-pd---emv- OK (230 out of 1217, remaining: 23:03)
test 0231...[file:// with resume]
--d---emv- OK (231 out of 1217, remaining: 23:00)
test 0232...[HTTP GET deflate raw-compressed content]
-pd---emv- OK (232 out of 1217, remaining: 22:58)
test 0233...[HTTP, proxy, site+proxy auth and Location: to new host]
-pd---emv- OK (233 out of 1217, remaining: 22:55)
test 0234...[HTTP, proxy, site+proxy auth and Location: to new host using location-trusted]
-pd---emv- OK (234 out of 1217, remaining: 22:53)
test 0235...[FTP resumed upload but no file present remotely]
-p-u--emv- OK (235 out of 1217, remaining: 22:51)
test 0236...[FTP resume upload but denied access to remote file]
Killed
-p----emv- OK (236 out of 1217, remaining: 22:49)
test 0237...[FTP getting bad host in 227-response to PASV]
-p----emv- OK (237 out of 1217, remaining: 22:46)
test 0238...[FTP getting bad port in response to EPSV]
-p----emv- OK (238 out of 1217, remaining: 22:44)
test 0239...[HTTP proxy-auth NTLM and then POST]
-pd---emv- OK (239 out of 1217, remaining: 22:42)
test 0240...[HTTP-IPv6 GET]
-pd---emv- OK (240 out of 1217, remaining: 22:48)
test 0241...[HTTP-IPv6 GET (using ip6-localhost)]
-pd---emv- OK (241 out of 1217, remaining: 22:46)
test 0242...[HTTP-IPv6 GET with username+password in URL]
-pd---emv- OK (242 out of 1217, remaining: 22:43)
test 0243...[HTTP POST with --proxy-anyauth, picking NTLM]
-pd---emv- OK (243 out of 1217, remaining: 22:41)
test 0244...[FTP dir listing with nocwd and URL encoded path]
-pd---emv- OK (244 out of 1217, remaining: 22:39)
test 0245...[HTTP POST --digest]
-pd---emv- OK (245 out of 1217, remaining: 22:37)
test 0246...[HTTP POST --digest with server doing a 100 before 401 response]
-pd---emv- OK (246 out of 1217, remaining: 22:35)
test 0247...[FTP upload time condition evaluates TRUE => skip upload]
-p----emv- OK (247 out of 1217, remaining: 22:33)
test 0248...[FTP upload time condition evaluates FALSE => upload anyway]
-p-u--emv- OK (248 out of 1217, remaining: 22:31)
test 0249...[HTTP 304 response with "illegal" Content-Length: header]
-pd---emv- OK (249 out of 1217, remaining: 22:28)
test 0250...[FTP dir list PASV with slow response]
-pd---emv- OK (250 out of 1217, remaining: 23:06)
test 0251...[FTP dir list, PORT with specified IP and slow response]
-pd---emv- OK (251 out of 1217, remaining: 23:43)
test 0252...[FTP IPv6 dir list PASV]
-pd---emv- OK (252 out of 1217, remaining: 23:48)
test 0253...[FTP IPv6 dir list with EPRT]
-pd---emv- OK (253 out of 1217, remaining: 23:46)
test 0254...[FTP IPv6 dir list PASV and --disable-epsv]
-pd---emv- OK (254 out of 1217, remaining: 23:43)
test 0255...[FTP IPv6 dir list with EPRT and --disable-eprt]
-pd---emv- OK (255 out of 1217, remaining: 23:41)
test 0256...[HTTP resume request over proxy with auth without server supporting it]
-p---oemv- OK (256 out of 1217, remaining: 23:38)
test 0257...[HTTP Location: following with --netrc-optional]
-pd---emv- OK (257 out of 1217, remaining: 23:36)
test 0258...[HTTP POST multipart without Expect: header using proxy anyauth (Digest)]
-pd---emv- OK (258 out of 1217, remaining: 23:34)
test 0259...[HTTP POST multipart with Expect: header using proxy anyauth (Digest)]
-pd---emv- OK (259 out of 1217, remaining: 23:39)
test 0260...[HTTP GET URL without slash but with questionmark]
-pd---emv- OK (260 out of 1217, remaining: 23:36)
test 0261...[FTP RETR with 226 response code to TYPE]
-pd---emv- OK (261 out of 1217, remaining: 23:34)
test 0262...[HTTP GET with binary zeroes in header]
-pd---emv- OK (262 out of 1217, remaining: 23:31)
test 0263...[HTTP-IPv6 GET with proxy specified using IPv6-numerical address]
-pd---emv- OK (263 out of 1217, remaining: 23:28)
test 0264...[HTTP with proxy string including http:// and user+password]
-pd---emv- OK (264 out of 1217, remaining: 23:26)
test 0265...[HTTP proxy CONNECT auth NTLM and then POST, response-body in the 407]
-pd---emv- OK (265 out of 1217, remaining: 23:24)
test 0266...[HTTP GET with chunked Transfer-Encoding and chunked trailer]
-pd--oemv- OK (266 out of 1217, remaining: 23:21)
test 0267...[HTTP POST with NTLM authorization and added custom headers]
-pd---emv- OK (267 out of 1217, remaining: 23:19)
test 0268...[HTTP POST a non-existing file]
-pd---emv- OK (268 out of 1217, remaining: 23:16)
test 0269...[HTTP --ignore-content-length]
-pd---emv- OK (269 out of 1217, remaining: 23:14)
test 0270...[FTP RETR PASV --ftp-skip-pasv-ip]
-pd---emv- OK (270 out of 1217, remaining: 23:12)
test 0271...[TFTP retrieve]
-pd---emv- OK (271 out of 1217, remaining: 23:16)
test 0272...[FTP timed conditioned get file with identical time stamp ]
-p----emv- OK (272 out of 1217, remaining: 23:13)
test 0273...[HTTP with two Digest authorization headers]
-pd---emv- OK (273 out of 1217, remaining: 23:11)
test 0274...[HTTP Location: following with --max-redirs 0]
-pd---emv- OK (274 out of 1217, remaining: 23:09)
test 0275...[HTTP CONNECT with proxytunnel getting two URLs from the same host]
-pd-P-emv- OK (275 out of 1217, remaining: 23:08)
test 0276...[HTTP Location: following with multiple question marks in URLs]
-pd---emv- OK (276 out of 1217, remaining: 23:05)
test 0277...[HTTP RFC1867-type formposting with custom Content-Type]
-pd---emv- OK (277 out of 1217, remaining: 23:03)
test 0278...[HTTP with proxy string including http:// and user+empty password]
-pd---emv- OK (278 out of 1217, remaining: 23:01)
test 0279...[HTTP with proxy string including http:// and user only]
-pd---emv- OK (279 out of 1217, remaining: 22:58)
test 0280...[FTP --ftp-alternative-to-user on USER failure]
-pd---emv- OK (280 out of 1217, remaining: 22:56)
test 0281...[HTTP PUT from file with 100 + 401 responses and -f without auth given]
-pd---emv- OK (281 out of 1217, remaining: 22:57)
test 0282...[HTTP GET with no response body or headers]
-pd---emv- OK (282 out of 1217, remaining: 22:54)
test 0283...[TFTP retrieve on invalid file]
-p----emv- OK (283 out of 1217, remaining: 22:51)
test 0284...[TFTP retrieve of boundary case 512 byte file]
-pd---emv- OK (284 out of 1217, remaining: 22:49)
test 0285...[TFTP send]
-p-u--emv- OK (285 out of 1217, remaining: 23:02)
test 0286...[TFTP send of boundary case 512 byte file]
-p-u--emv- OK (286 out of 1217, remaining: 23:16)
test 0287...[HTTP proxy CONNECT with custom User-Agent header]
sp----emv- OK (287 out of 1217, remaining: 23:13)
test 0288...[file:// with (unsupported) proxy, authentication and range]
--d---emv- OK (288 out of 1217, remaining: 23:10)
test 0289...[FTP resume upload but denied access to local file]
------emv- OK (289 out of 1217, remaining: 23:07)
test 0290...[FTP download maximum filesize exceeded]
Killed
-p----emv- OK (290 out of 1217, remaining: 23:04)
test 0291...[FTP download maximum filesize not exceeded]
-pd---emv- OK (291 out of 1217, remaining: 23:02)
test 0292...[HTTP GET with maximum filesize not exceeded]
-pd---emv- OK (292 out of 1217, remaining: 23:00)
test 0293...[HTTP GET with maximum filesize exceeded]
-p----emv- OK (293 out of 1217, remaining: 22:57)
test 0294...[FTP --ftp-account on ACCT request]
-pd---emv- OK (294 out of 1217, remaining: 22:55)
test 0295...[FTP ACCT request without --ftp-account]
-p----emv- OK (295 out of 1217, remaining: 22:52)
test 0296...[FTP CWD with --ftp-method multicwd]
-pd---emv- OK (296 out of 1217, remaining: 22:50)
test 0297...[FTP CWD with --ftp-method singlecwd]
-pd---emv- OK (297 out of 1217, remaining: 22:47)
test 0298...[FTP CWD with --ftp-method nocwd]
-pd---emv- OK (298 out of 1217, remaining: 22:45)
test 0299...[FTP over HTTP proxy with user:pass not in url]
-pd---emv- OK (299 out of 1217, remaining: 22:43)
test 0300...[simple HTTPS GET]
goto problem 10
valgrind ERROR ==5965== Invalid read of size 8
==5965== at 0x5E745A5: check_free (dlerror.c:188)
==5965== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==5965== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==5965== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5965== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5965== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5965== by 0x559AF79: exit (exit.c:139)
==5965== by 0x55850A1: (below main) (libc-start.c:342)
==5965== Address 0x66ad610 is 0 bytes after a block of size 32 alloc'd
==5965== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5965== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5965== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5965== by 0x4DD0E85: err_get_state (err.c:210)
==5965== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5965== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5965== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5965== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5965== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5965== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5965== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5965== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5965== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5965== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5965== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5965== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5965==
==5965== Invalid free() / delete / delete[] / realloc()
==5965== at 0x48369AB: free (vg_replace_malloc.c:530)
==5965== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==5965== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==5965== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5965== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5965== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5965== by 0x559AF79: exit (exit.c:139)
==5965== by 0x55850A1: (below main) (libc-start.c:342)
==5965== Address 0x66ad5f8 is 8 bytes inside a block of size 32 alloc'd
==5965== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5965== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5965== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5965== by 0x4DD0E85: err_get_state (err.c:210)
==5965== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5965== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5965== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5965== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5965== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5965== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5965== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5965== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5965== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5965== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5965== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5965== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5965==
==5965== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==5965== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5965== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5965== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5965== by 0x4DD0E85: err_get_state (err.c:210)
==5965== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5965== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5965== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5965== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5965== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5965== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5965== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5965== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5965== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5965== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5965== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5965== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5965==
== 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
03:00:48.726619 ====> Client connect
03:00:48.726656 accept_connection 3 returned 4
03:00:48.726670 accept_connection 3 returned 0
03:00:48.726912 Read 96 bytes
03:00:48.726937 Process 96 bytes request
03:00:48.726953 Got request: GET /verifiedserver HTTP/1.1
03:00:48.726964 Are-we-friendly question received
03:00:48.726985 Wrote request (96 bytes) input to log/server.input
03:00:48.727001 Identifying ourselves as friends
03:00:48.727044 Response sent (55 bytes) and written to log/server.response
03:00:48.727054 special request received, no persistency
03:00:48.727062 ====> Client disconnect 0
03:00:52.406246 ====> Client connect
03:00:52.406269 accept_connection 3 returned 4
03:00:52.406281 accept_connection 3 returned 0
03:00:52.481933 Read 85 bytes
03:00:52.481977 Process 85 bytes request
03:00:52.481993 Got request: GET /300 HTTP/1.1
03:00:52.482003 Requested test number 300 part 0
03:00:52.482027 - request found to be complete
03:00:52.482054 Wrote request (85 bytes) input to log/server.input
03:00:52.482077 Send response test300 section <data>
03:00:52.482139 Response sent (103 bytes) and written to log/server.response
03:00:52.482149 => persistent connection request ended, awaits new request
03:00:52.549746 Connection closed by client
03:00:52.549782 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.01.13 03:00:47 LOG5[5958]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.13 03:00:47 LOG5[5958]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.13 03:00:47 LOG5[5958]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.13 03:00:47 LOG5[5958]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.13 03:00:47 LOG5[5958]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.13 03:00:47 LOG5[5958]: Reading configuration from file /build-4871/tests/https_stunnel.conf
2019.01.13 03:00:47 LOG5[5958]: FIPS mode disabled
2019.01.13 03:00:47 LOG5[5958]: Configuration successful
2019.01.13 03:00:48 LOG5[5963]: Service [curltest] accepted connection from 127.0.0.1:52522
2019.01.13 03:00:48 LOG5[5963]: s_connect: connected 127.0.0.1:8990
2019.01.13 03:00:48 LOG5[5963]: Service [curltest] connected remote server from 127.0.0.1:47134
2019.01.13 03:00:48 LOG5[5963]: Connection closed: 55 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.13 03:00:50 LOG5[5968]: Service [curltest] accepted connection from 127.0.0.1:52526
2019.01.13 03:00:52 LOG5[5968]: s_connect: connected 127.0.0.1:8990
2019.01.13 03:00:52 LOG5[5968]: Service [curltest] connected remote server from 127.0.0.1:47138
2019.01.13 03:00:52 LOG5[5968]: 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
* Expire in 0 ms for 6 (transfer 0x55acded1c6a8)
* Expire in 13000 ms for 8 (transfer 0x55acded1c6a8)
* STATE: INIT => CONNECT handle 0x55acded1c6a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55acded1c6a8)
* STATE: CONNECT => WAITCONNECT handle 0x55acded1c6a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55acded1c6a8; line 1613 (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):
} [160 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55acded1c6a8; line 1627 (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 0x55acded1c6a8; line 1648 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55acded1c6a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55acded1c6a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55acded1c6a8; line 1849 (connection #0)
{ [5 bytes data]
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 16
<
{ [16 bytes data]
* STATE: PERFORM => DONE handle 0x55acded1c6a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55acded1c6a8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 4647
=== 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.64.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 4647
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:01 --:--:-- 0
100 7 100 7 0 0 3 0 0:00:02 0:00:01 0:00:01 3
=== End of file stderr300
=== Start of file trace300
03:00:50.650111 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:00:50.675121 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:00:50.712755 == Info: Added connection 0. The cache now contains 1 members
03:00:50.729337 == Info: Trying 127.0.0.1...
03:00:50.729934 == Info: TCP_NODELAY set
03:00:50.732991 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:00:50.735180 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:00:50.746503 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:00:50.747052 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:00:50.748188 == Info: Marked for [keep alive]: HTTP default
03:00:50.773130 == Info: ALPN, offering h2
03:00:50.773433 == Info: ALPN, offering http/1.1
03:00:51.919904 == Info: successfully set certificate verify locations:
03:00:51.920169 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:51.999630 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:52.005063 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:52.005131 => Send SSL data, 160 bytes (0xa0)
0000: ......w..T^..j.h...vG....+.!...G,..3.u..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:00:52.022609 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:52.027255 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:52.027316 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..9..Kv...d...=..=!bX...........t. ...*.?..p.-.7m....!a.....
0040: c.n...#./................
03:00:52.073689 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:52.074158 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:52.074217 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:00:52.172639 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:52.172904 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:52.172962 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A......#......g..uo....f0.sHw.t^.j..9b#..._.`.`^[*.x...1.
0040: ..N.d..b......%.....q^..a.>...VW..W.}`.m..Oz.R`.S..=_.....@.C.Us
0080: .d..........P"y...~k.....I....T.[7F].U..#mi#....%..U../(D.N........
00c0: n.h...j...E..8.A..W4..e..a)|...6a...yH..3'..s.~...p......:...5..
0100: .J(....p.I|..c:[7F]..w......4;.V....1....7g@.J&.......~C..-......a.
0140: FAV. ........
03:00:52.241825 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:52.242163 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:52.242220 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:52.360010 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:52.360261 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:52.360322 => Send SSL data, 70 bytes (0x46)
0000: ...BA.DU.m.p.......(..oN..G..Qq....b(..H...$:.iK[.9..w.......{..
0040: $,(.|.
03:00:52.372866 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:52.373425 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:52.373490 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:52.405133 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:52.405329 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:52.405383 => Send SSL data, 16 bytes (0x10)
0000: ....'.%.Y..~Yr..
03:00:52.408072 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:52.409110 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:52.409166 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:52.411597 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:52.416926 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:52.416994 <= Recv SSL data, 16 bytes (0x10)
0000: ....s....{.\...[
03:00:52.438958 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:52.439675 == Info: ALPN, server did not agree to a protocol
03:00:52.441901 == Info: Server certificate:
03:00:52.449265 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:52.455491 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:52.456442 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:52.457280 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:52.458172 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:52.459679 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #0)
03:00:52.480335 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:00:52.483173 => Send header, 85 bytes (0x55)
0000: GET /300 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: User-Agent: curl/7.64.0-DEV
0046: Accept: */*
0053:
03:00:52.486095 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #0)
03:00:52.487119 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:00:52.487885 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:00:52.492442 <= Recv SSL data, 5 bytes (0x5)
0000: ....[7F]
03:00:52.502922 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:00:52.505393 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:00:52.509039 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:00:52.510872 == Info: Server test-server/fake is not blacklisted
03:00:52.511158 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:00:52.512223 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:00:52.514420 <= Recv header, 1 bytes (0x1)
0000: .
03:00:52.515205 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:00:52.521765 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:00:52.522232 == Info: multi_done
03:00:52.530677 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:52.532768 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace300
=== Start of file valgrind300
==5965== Invalid read of size 8
==5965== at 0x5E745A5: check_free (dlerror.c:188)
==5965== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==5965== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==5965== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5965== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5965== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5965== by 0x559AF79: exit (exit.c:139)
==5965== by 0x55850A1: (below main) (libc-start.c:342)
==5965== Address 0x66ad610 is 0 bytes after a block of size 32 alloc'd
==5965== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5965== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5965== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5965== by 0x4DD0E85: err_get_state (err.c:210)
==5965== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5965== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5965== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5965== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5965== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5965== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5965== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5965== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5965== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5965== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5965== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5965== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5965==
==5965== Invalid free() / delete / delete[] / realloc()
==5965== at 0x48369AB: free (vg_replace_malloc.c:530)
==5965== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==5965== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==5965== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5965== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5965== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5965== by 0x559AF79: exit (exit.c:139)
==5965== by 0x55850A1: (below main) (libc-start.c:342)
==5965== Address 0x66ad5f8 is 8 bytes inside a block of size 32 alloc'd
==5965== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5965== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5965== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5965== by 0x4DD0E85: err_get_state (err.c:210)
==5965== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5965== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5965== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5965== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5965== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5965== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5965== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5965== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5965== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5965== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5965== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5965== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5965==
==5965== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==5965== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5965== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5965== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5965== by 0x4DD0E85: err_get_state (err.c:210)
==5965== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5965== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5965== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5965== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5965== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5965== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5965== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5965== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5965== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5965== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5965== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5965== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5965==
=== End of file valgrind300
test 0301...[HTTPS GET with user and password]
goto problem 11
valgrind ERROR ==5971== Invalid read of size 8
==5971== at 0x5E745A5: check_free (dlerror.c:188)
==5971== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==5971== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==5971== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5971== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5971== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5971== by 0x559AF79: exit (exit.c:139)
==5971== by 0x55850A1: (below main) (libc-start.c:342)
==5971== Address 0x66b0690 is 0 bytes after a block of size 32 alloc'd
==5971== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5971== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5971== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5971== by 0x4DD0E85: err_get_state (err.c:210)
==5971== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5971== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5971== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5971== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5971== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5971== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5971== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5971== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5971== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5971== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5971== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5971== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5971==
==5971== Invalid free() / delete / delete[] / realloc()
==5971== at 0x48369AB: free (vg_replace_malloc.c:530)
==5971== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==5971== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==5971== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5971== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5971== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5971== by 0x559AF79: exit (exit.c:139)
==5971== by 0x55850A1: (below main) (libc-start.c:342)
==5971== Address 0x66b0678 is 8 bytes inside a block of size 32 alloc'd
==5971== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5971== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5971== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5971== by 0x4DD0E85: err_get_state (err.c:210)
==5971== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5971== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5971== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5971== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5971== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5971== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5971== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5971== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5971== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5971== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5971== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5971== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5971==
==5971== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==5971== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5971== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5971== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5971== by 0x4DD0E85: err_get_state (err.c:210)
==5971== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5971== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5971== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5971== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5971== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5971== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5971== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5971== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5971== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5971== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5971== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5971== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5971==
== 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
03:00:48.726619 ====> Client connect
03:00:48.726656 accept_connection 3 returned 4
03:00:48.726670 accept_connection 3 returned 0
03:00:48.726912 Read 96 bytes
03:00:48.726937 Process 96 bytes request
03:00:48.726953 Got request: GET /verifiedserver HTTP/1.1
03:00:48.726964 Are-we-friendly question received
03:00:48.726985 Wrote request (96 bytes) input to log/server.input
03:00:48.727001 Identifying ourselves as friends
03:00:48.727044 Response sent (55 bytes) and written to log/server.response
03:00:48.727054 special request received, no persistency
03:00:48.727062 ====> Client disconnect 0
03:00:52.406246 ====> Client connect
03:00:52.406269 accept_connection 3 returned 4
03:00:52.406281 accept_connection 3 returned 0
03:00:52.481933 Read 85 bytes
03:00:52.481977 Process 85 bytes request
03:00:52.481993 Got request: GET /300 HTTP/1.1
03:00:52.482003 Requested test number 300 part 0
03:00:52.482027 - request found to be complete
03:00:52.482054 Wrote request (85 bytes) input to log/server.input
03:00:52.482077 Send response test300 section <data>
03:00:52.482139 Response sent (103 bytes) and written to log/server.response
03:00:52.482149 => persistent connection request ended, awaits new request
03:00:52.549746 Connection closed by client
03:00:52.549782 ====> Client disconnect 0
03:00:55.357983 ====> Client connect
03:00:55.358007 accept_connection 3 returned 4
03:00:55.358021 accept_connection 3 returned 0
03:00:55.435688 Read 120 bytes
03:00:55.435729 Process 120 bytes request
03:00:55.435744 Got request: GET /301 HTTP/1.1
03:00:55.435752 Requested test number 301 part 0
03:00:55.435776 - request found to be complete
03:00:55.435804 Wrote request (120 bytes) input to log/server.input
03:00:55.435826 Send response test301 section <data>
03:00:55.435849 connection close instruction "swsclose" found in response
03:00:55.435899 Response sent (130 bytes) and written to log/server.response
03:00:55.435908 instructed to close connection after server-reply
03:00:55.435915 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.01.13 03:00:47 LOG5[5958]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.13 03:00:47 LOG5[5958]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.13 03:00:47 LOG5[5958]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.13 03:00:47 LOG5[5958]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.13 03:00:47 LOG5[5958]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.13 03:00:47 LOG5[5958]: Reading configuration from file /build-4871/tests/https_stunnel.conf
2019.01.13 03:00:47 LOG5[5958]: FIPS mode disabled
2019.01.13 03:00:47 LOG5[5958]: Configuration successful
2019.01.13 03:00:48 LOG5[5963]: Service [curltest] accepted connection from 127.0.0.1:52522
2019.01.13 03:00:48 LOG5[5963]: s_connect: connected 127.0.0.1:8990
2019.01.13 03:00:48 LOG5[5963]: Service [curltest] connected remote server from 127.0.0.1:47134
2019.01.13 03:00:48 LOG5[5963]: Connection closed: 55 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.13 03:00:50 LOG5[5968]: Service [curltest] accepted connection from 127.0.0.1:52526
2019.01.13 03:00:52 LOG5[5968]: s_connect: connected 127.0.0.1:8990
2019.01.13 03:00:52 LOG5[5968]: Service [curltest] connected remote server from 127.0.0.1:47138
2019.01.13 03:00:52 LOG5[5968]: Connection closed: 103 byte(s) sent to SSL, 85 byte(s) sent to socket
2019.01.13 03:00:53 LOG5[5972]: Service [curltest] accepted connection from 127.0.0.1:52530
2019.01.13 03:00:55 LOG5[5972]: s_connect: connected 127.0.0.1:8990
2019.01.13 03:00:55 LOG5[5972]: Service [curltest] connected remote server from 127.0.0.1:47142
2019.01.13 03:00:55 LOG5[5972]: Connection closed: 130 byte(s) sent to SSL, 120 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* Expire in 0 ms for 6 (transfer 0x55acded1c6a8)
* Expire in 13000 ms for 8 (transfer 0x55acded1c6a8)
* STATE: INIT => CONNECT handle 0x55acded1c6a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55acded1c6a8)
* STATE: CONNECT => WAITCONNECT handle 0x55acded1c6a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55acded1c6a8; line 1613 (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):
} [160 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55acded1c6a8; line 1627 (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 0x55acded1c6a8; line 1648 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55acded1c6a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55acded1c6a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55acded1c6a8; line 1849 (connection #0)
{ [5 bytes data]
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 16
<
{ [16 bytes data]
* STATE: PERFORM => DONE handle 0x55acded1c6a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55acded1c6a8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 4647
=== End of file https_verify.out
=== Start of file server.input
GET /301 HTTP/1.1
Host: 127.0.0.1:8991
Authorization: Basic ZmFrZTp1c2Vy
User-Agent: curl/7.64.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 4647
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
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:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
=== End of file stderr301
=== Start of file trace301
03:00:53.589466 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:00:53.614370 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:00:53.654549 == Info: Added connection 0. The cache now contains 1 members
03:00:53.671387 == Info: Trying 127.0.0.1...
03:00:53.671987 == Info: TCP_NODELAY set
03:00:53.675160 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:00:53.677404 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:00:53.688476 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:00:53.689038 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:00:53.690163 == Info: Marked for [keep alive]: HTTP default
03:00:53.710565 == Info: ALPN, offering h2
03:00:53.710848 == Info: ALPN, offering http/1.1
03:00:54.872847 == Info: successfully set certificate verify locations:
03:00:54.873108 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:54.952271 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:54.957262 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:54.957323 => Send SSL data, 160 bytes (0xa0)
0000: ........M\.;.w<9.....E....YG;.k..}......*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:00:54.974827 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:54.979355 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:54.979414 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..E........Z.K....{.!.B.i 2.w.t.8. ......5.D..:...^.&.=.m.sm
0040: .[7F]..y.../................
03:00:55.023915 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:55.024384 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:55.024442 <= 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:55.123396 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:55.123663 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:55.123721 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A......#......g..uo....f0.sHw.t^.j..9b#..._.`.`^[*.x...1.
0040: ..N.d..b.....l...{..H.hI5x|..._'=wt..Q:.."...Oo.r.'o.1g..]M...\.
0080: ...>L9Q..Ny.ou...,.._....+f.m.j..H6.....V.L...w.D.k...Ug~....i..
00c0: .n-A..b.. )%..-N..0wy:....6W...e.\&3.z..N..[7F]..a.a.N...J..R...&..
0100: ...\....._.L....2..u.u.....PE][7F]......Q>.?P..\. a....?....LW..u.+
0140: SQ..5O...1l..
03:00:55.192986 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:55.193324 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:55.193381 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:55.312016 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:55.312261 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:55.312318 => Send SSL data, 70 bytes (0x46)
0000: ...BA.`r.?..7Y...\..../..&...0.k|....(0.....3..9......=l.......,
0040: [7F]d|v..
03:00:55.324795 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:55.325347 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:55.325402 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:55.356854 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:55.357047 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:55.357102 => Send SSL data, 16 bytes (0x10)
0000: ......B5..*P.K5.
03:00:55.359649 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:55.360683 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:55.360739 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:55.363136 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:55.368444 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:55.368500 <= Recv SSL data, 16 bytes (0x10)
0000: .....uxF...2....
03:00:55.390069 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:55.390776 == Info: ALPN, server did not agree to a protocol
03:00:55.393010 == Info: Server certificate:
03:00:55.400433 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:55.406656 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:55.407600 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:55.408448 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:55.409359 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:55.410868 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #0)
03:00:55.417834 == Info: Server auth using Basic with user 'fake'
03:00:55.434236 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:55.436897 => 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.64.0-DEV
0069: Accept: */*
0076:
03:00:55.439922 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #0)
03:00:55.440915 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:00:55.441673 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:00:55.446380 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:00:55.458509 <= Recv SSL data, 5 bytes (0x5)
0000: ....h
03:00:55.464062 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:00:55.466537 <= Recv header, 25 bytes (0x19)
0000: HTTP/1.1 200 OK swsclose.
03:00:55.470188 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:00:55.472050 == Info: Server test-server/fake is not blacklisted
03:00:55.472335 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:00:55.473185 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:00:55.473742 <= Recv header, 24 bytes (0x18)
0000: Content-Type: text/html.
03:00:55.473921 <= Recv header, 19 bytes (0x13)
0000: Funny-head: yesyes.
03:00:55.474619 == Info: no chunk, no close, no size. Assume close to signal end
03:00:55.474903 == Info: Marked for [closure]: HTTP: No end-of-message indicator
03:00:55.476862 <= Recv header, 1 bytes (0x1)
0000: .
03:00:55.486206 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:55.487671 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
03:00:55.487727 <= Recv SSL data, 2 bytes (0x2)
0000: ..
03:00:55.489533 <= Recv data, 0 bytes (0x0)
03:00:55.492424 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:00:55.492892 == Info: multi_done
03:00:55.501249 == Info: Closing connection 0
03:00:55.503821 == Info: The cache now contains 0 members
=== End of file trace301
=== Start of file valgrind301
==5971== Invalid read of size 8
==5971== at 0x5E745A5: check_free (dlerror.c:188)
==5971== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==5971== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==5971== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5971== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5971== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5971== by 0x559AF79: exit (exit.c:139)
==5971== by 0x55850A1: (below main) (libc-start.c:342)
==5971== Address 0x66b0690 is 0 bytes after a block of size 32 alloc'd
==5971== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5971== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5971== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5971== by 0x4DD0E85: err_get_state (err.c:210)
==5971== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5971== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5971== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5971== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5971== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5971== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5971== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5971== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5971== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5971== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5971== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5971== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5971==
==5971== Invalid free() / delete / delete[] / realloc()
==5971== at 0x48369AB: free (vg_replace_malloc.c:530)
==5971== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==5971== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==5971== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5971== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5971== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5971== by 0x559AF79: exit (exit.c:139)
==5971== by 0x55850A1: (below main) (libc-start.c:342)
==5971== Address 0x66b0678 is 8 bytes inside a block of size 32 alloc'd
==5971== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5971== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5971== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5971== by 0x4DD0E85: err_get_state (err.c:210)
==5971== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5971== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5971== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5971== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5971== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5971== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5971== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5971== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5971== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5971== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5971== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5971== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5971==
==5971== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==5971== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5971== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5971== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5971== by 0x4DD0E85: err_get_state (err.c:210)
==5971== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5971== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5971== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5971== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5971== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5971== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5971== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5971== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5971== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5971== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5971== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5971== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5971==
=== End of file valgrind301
test 0302...[HTTPS GET over HTTP proxy fails]
------emv- OK (302 out of 1217, remaining: 22:52)
test 0303...[HTTPS with 8 secs timeout]
goto problem 12
valgrind ERROR ==5978== Invalid read of size 8
==5978== at 0x5E745A5: check_free (dlerror.c:188)
==5978== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==5978== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==5978== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5978== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5978== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5978== by 0x559AF79: exit (exit.c:139)
==5978== by 0x55850A1: (below main) (libc-start.c:342)
==5978== Address 0x66ad670 is 0 bytes after a block of size 32 alloc'd
==5978== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5978== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5978== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5978== by 0x4DD0E85: err_get_state (err.c:210)
==5978== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5978== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5978== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5978== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5978== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5978== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5978== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5978== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5978== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5978== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5978== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5978== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5978==
==5978== Invalid free() / delete / delete[] / realloc()
==5978== at 0x48369AB: free (vg_replace_malloc.c:530)
==5978== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==5978== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==5978== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5978== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5978== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5978== by 0x559AF79: exit (exit.c:139)
==5978== by 0x55850A1: (below main) (libc-start.c:342)
==5978== Address 0x66ad658 is 8 bytes inside a block of size 32 alloc'd
==5978== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5978== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5978== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5978== by 0x4DD0E85: err_get_state (err.c:210)
==5978== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5978== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5978== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5978== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5978== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5978== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5978== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5978== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5978== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5978== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5978== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5978== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5978==
==5978== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==5978== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5978== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5978== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5978== by 0x4DD0E85: err_get_state (err.c:210)
==5978== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5978== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5978== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5978== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5978== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5978== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5978== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5978== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5978== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5978== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5978== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5978== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5978==
== 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
03:00:59.449860 ====> Client connect
03:00:59.449898 accept_connection 3 returned 4
03:00:59.449913 accept_connection 3 returned 0
03:00:59.523713 Read 90 bytes
03:00:59.523752 Process 90 bytes request
03:00:59.523769 Got request: GET /want/303 HTTP/1.1
03:00:59.523779 Requested test number 303 part 0
03:00:59.523807 - request found to be complete
03:00:59.523856 Wrote request (90 bytes) input to log/server.input
03:00:59.523888 Send response test303 section <data>
03:00:59.523959 Response sent (94 bytes) and written to log/server.response
03:00:59.523971 Told to sleep for 20 seconds
03:01:19.543825 Continuing after sleeping 20 seconds
03:01:19.543879 => persistent connection request ended, awaits new request
03:01:19.543896 Connection closed by client
03:01:19.543903 ====> Client disconnect 0
=== 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.64.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:01 --:--:-- 0
100 19 0 19 0 0 6 0 --:--:-- 0:00:02 --:--:-- 6
100 19 0 19 0 0 4 0 --:--:-- 0:00:03 --:--:-- 5
100 19 0 19 0 0 3 0 --:--:-- 0:00:04 --:--:-- 3
100 19 0 19 0 0 3 0 --:--:-- 0:00:05 --:--:-- 3
100 19 0 19 0 0 2 0 --:--:-- 0:00:06 --:--:-- 3
100 19 0 19 0 0 2 0 --:--:-- 0:00:07 --:--:-- 0
100 19 0 19 0 0 2 0 --:--:-- 0:00:09 --:--:-- 0
curl: (28) Operation timed out after 8999 milliseconds with 19 bytes received
=== End of file stderr303
=== Start of file trace303
03:00:57.701967 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:00:57.726019 == Info: Expire in 8000 ms for 8 (transfer 0x626d7a8)
03:00:57.728386 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:00:57.767568 == Info: Added connection 0. The cache now contains 1 members
03:00:57.784320 == Info: Trying 127.0.0.1...
03:00:57.784919 == Info: TCP_NODELAY set
03:00:57.787917 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:00:57.789506 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:00:57.800574 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:00:57.801123 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:00:57.802251 == Info: Marked for [keep alive]: HTTP default
03:00:57.822440 == Info: ALPN, offering h2
03:00:57.822721 == Info: ALPN, offering http/1.1
03:00:58.962632 == Info: successfully set certificate verify locations:
03:00:58.962892 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:59.042574 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:59.047629 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:59.047696 => Send SSL data, 160 bytes (0xa0)
0000: .......A[7F]?..R.Z....a....V...T.....u.....*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:00:59.065123 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:59.069609 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:59.069679 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..<...Y.......+v...l...R:D}...~... .&Hb(..?v.P..;C..C.wL..B^
0040: .$i.`.../................
03:00:59.114209 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:59.114666 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:59.114722 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:00:59.214527 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:59.214793 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:59.214851 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A......#......g..uo....f0.sHw.t^.j..9b#..._.`.`^[*.x...1.
0040: ..N.d..b.....v..q.S. ..pQ#+>+...e..U..e.C)/..+"..~..:...LA1A.,..
0080: 2=QY7.....A.7..]Q.eDs.9e..........y..'B.I..[7F]G.E.]....zBR.5J~.l.J
00c0: =F.%..(6+...p.$....L .iz.m.=..l+@XV....M[7F]...-.Rp/......"T...H...
0100: .C.m...j..N$.......w=0...(....0.x...S<v$%....|mP.s.q!V:bw...j...
0140: ..........E..
03:00:59.284354 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:59.284693 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:59.284751 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:59.403542 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:59.403840 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:59.403902 => Send SSL data, 70 bytes (0x46)
0000: ...BA..'s...mK.fk..U..^ZvO..8.3...$2w$.*.5W..E3~.;=ay...e!..R.(e
0040: .bHG.%
03:00:59.416349 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:59.416899 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:59.416955 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:59.448721 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:59.448924 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:59.448980 => Send SSL data, 16 bytes (0x10)
0000: ....8...M.I.)JVp
03:00:59.451498 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:59.452550 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:59.452609 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:59.455005 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:59.460336 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:59.460391 <= Recv SSL data, 16 bytes (0x10)
0000: ....&......S...i
03:00:59.482188 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:59.482963 == Info: ALPN, server did not agree to a protocol
03:00:59.485192 == Info: Server certificate:
03:00:59.492530 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:59.498778 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:59.499719 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:59.500588 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:59.501485 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:59.503083 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #0)
03:00:59.522256 => Send SSL data, 5 bytes (0x5)
0000: ....r
03:00:59.524887 => Send header, 90 bytes (0x5a)
0000: GET /want/303 HTTP/1.1
0018: Host: 127.0.0.1:8991
002e: User-Agent: curl/7.64.0-DEV
004b: Accept: */*
0058:
03:00:59.527810 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #0)
03:00:59.528808 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:00:59.529570 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:00:59.534102 <= Recv SSL data, 5 bytes (0x5)
0000: ....v
03:00:59.544160 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:00:59.546601 <= Recv header, 17 bytes (0x11)
0000: HTTP/1.1 200 OK
03:00:59.550245 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
03:00:59.551316 == Info: Marked for [closure]: Connection: close used
03:00:59.551432 <= Recv header, 19 bytes (0x13)
0000: Connection: close
03:00:59.553716 <= Recv header, 2 bytes (0x2)
0000:
03:00:59.554518 <= Recv data, 19 bytes (0x13)
0000: _data_result_data_.
03:01:06.729044 == Info: Operation timed out after 8999 milliseconds with 19 bytes received
03:01:06.729467 == Info: multi_done
03:01:06.738353 == Info: Closing connection 0
03:01:06.740956 == Info: The cache now contains 0 members
=== End of file trace303
=== Start of file valgrind303
==5978== Invalid read of size 8
==5978== at 0x5E745A5: check_free (dlerror.c:188)
==5978== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==5978== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==5978== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5978== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5978== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5978== by 0x559AF79: exit (exit.c:139)
==5978== by 0x55850A1: (below main) (libc-start.c:342)
==5978== Address 0x66ad670 is 0 bytes after a block of size 32 alloc'd
==5978== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5978== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5978== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5978== by 0x4DD0E85: err_get_state (err.c:210)
==5978== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5978== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5978== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5978== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5978== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5978== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5978== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5978== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5978== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5978== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5978== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5978== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5978==
==5978== Invalid free() / delete / delete[] / realloc()
==5978== at 0x48369AB: free (vg_replace_malloc.c:530)
==5978== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==5978== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==5978== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5978== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5978== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5978== by 0x559AF79: exit (exit.c:139)
==5978== by 0x55850A1: (below main) (libc-start.c:342)
==5978== Address 0x66ad658 is 8 bytes inside a block of size 32 alloc'd
==5978== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5978== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5978== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5978== by 0x4DD0E85: err_get_state (err.c:210)
==5978== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5978== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5978== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5978== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5978== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5978== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5978== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5978== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5978== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5978== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5978== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5978== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5978==
==5978== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==5978== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5978== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5978== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5978== by 0x4DD0E85: err_get_state (err.c:210)
==5978== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5978== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5978== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5978== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5978== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5978== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5978== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5978== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5978== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5978== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5978== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5978== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5978==
=== End of file valgrind303
test 0304...[HTTPS multipart formpost]
goto problem 13
valgrind ERROR ==5985== Invalid read of size 8
==5985== at 0x5E745A5: check_free (dlerror.c:188)
==5985== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==5985== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==5985== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5985== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5985== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5985== by 0x559AF79: exit (exit.c:139)
==5985== by 0x55850A1: (below main) (libc-start.c:342)
==5985== Address 0x66b65f0 is 0 bytes after a block of size 32 alloc'd
==5985== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5985== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5985== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5985== by 0x4DD0E85: err_get_state (err.c:210)
==5985== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5985== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5985== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5985== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5985== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5985== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5985== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5985== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5985== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5985== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5985== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5985== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5985==
==5985== Invalid free() / delete / delete[] / realloc()
==5985== at 0x48369AB: free (vg_replace_malloc.c:530)
==5985== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==5985== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==5985== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5985== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5985== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5985== by 0x559AF79: exit (exit.c:139)
==5985== by 0x55850A1: (below main) (libc-start.c:342)
==5985== Address 0x66b65d8 is 8 bytes inside a block of size 32 alloc'd
==5985== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5985== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5985== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5985== by 0x4DD0E85: err_get_state (err.c:210)
==5985== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5985== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5985== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5985== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5985== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5985== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5985== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5985== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5985== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5985== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5985== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5985== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5985==
==5985== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==5985== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5985== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5985== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5985== by 0x4DD0E85: err_get_state (err.c:210)
==5985== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5985== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5985== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5985== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5985== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5985== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5985== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5985== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5985== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5985== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5985== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5985== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5985==
== 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
03:00:59.449860 ====> Client connect
03:00:59.449898 accept_connection 3 returned 4
03:00:59.449913 accept_connection 3 returned 0
03:00:59.523713 Read 90 bytes
03:00:59.523752 Process 90 bytes request
03:00:59.523769 Got request: GET /want/303 HTTP/1.1
03:00:59.523779 Requested test number 303 part 0
03:00:59.523807 - request found to be complete
03:00:59.523856 Wrote request (90 bytes) input to log/server.input
03:00:59.523888 Send response test303 section <data>
03:00:59.523959 Response sent (94 bytes) and written to log/server.response
03:00:59.523971 Told to sleep for 20 seconds
03:01:19.543825 Continuing after sleeping 20 seconds
03:01:19.543879 => persistent connection request ended, awaits new request
03:01:19.543896 Connection closed by client
03:01:19.543903 ====> Client disconnect 0
03:01:22.254357 ====> Client connect
03:01:22.254380 accept_connection 3 returned 4
03:01:22.254394 accept_connection 3 returned 0
03:01:22.343594 Read 224 bytes
03:01:22.343633 Process 224 bytes request
03:01:22.343647 Got request: POST /we/want/304 HTTP/1.1
03:01:22.343656 Requested test number 304 part 0
03:01:22.343684 - request found to be complete
03:01:22.343694 Found Content-Length: 1386 in the request
03:01:23.364991 Read 1386 bytes
03:01:23.365028 Process 1610 bytes request [CONTINUED]
03:01:23.365041 - request found to be complete
03:01:23.365073 Wrote request (1610 bytes) input to log/server.input
03:01:23.365097 Send response test304 section <data>
03:01:23.365177 Response sent (108 bytes) and written to log/server.response
03:01:23.365188 => persistent connection request ended, awaits new request
03:01:23.427998 Connection closed by client
03:01:23.428039 ====> 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.64.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
Connection: close
_data_result_data_
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:01 --:--:-- 0
0 1386 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 1396 100 10 100 1386 3 483 0:00:03 0:00:02 0:00:01 497
=== End of file stderr304
=== Start of file test304.txt
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
=== End of file test304.txt
=== Start of file trace304
03:01:20.514947 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:01:20.539557 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:01:20.577004 == Info: Added connection 0. The cache now contains 1 members
03:01:20.593525 == Info: Trying 127.0.0.1...
03:01:20.594120 == Info: TCP_NODELAY set
03:01:20.597192 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:01:20.599400 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:01:20.610473 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:01:20.611023 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:01:20.612154 == Info: Marked for [keep alive]: HTTP default
03:01:20.632322 == Info: ALPN, offering h2
03:01:20.632607 == Info: ALPN, offering http/1.1
03:01:21.767026 == Info: successfully set certificate verify locations:
03:01:21.767282 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:21.848325 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:21.853315 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:21.853376 => Send SSL data, 160 bytes (0xa0)
0000: ........6.-xd.F+.SBL.KX.kU...zS.........*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:01:21.870899 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:21.875316 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:21.875375 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.......L?...}^..G.en.hV...~..:..T. l...K......b..m..@...2...
0040: ....|.S./................
03:01:21.920907 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:21.921373 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:21.921431 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:01:22.020654 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:22.020921 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:22.020979 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A......#......g..uo....f0.sHw.t^.j..9b#..._.`.`^[*.x...1.
0040: ..N.d..b.........MX"....m...")...&t..._S.qP..J..... ....'<..b:1.
0080: .'.....y.n.-./?.....{.i9.%.v.4'h.......dr...L..T..-M:(b.3.T.w.).
00c0: ........%.\"..O..."....6..l'h.4..tw..-..-......j.R.F(T.....+...L
0100: ..y.U:.~.<O.o.@....W..........a..!z.3..Z...#s..f......S.@.T....2
0140: .. ..RY...g8.
03:01:22.090054 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:22.090390 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:22.090447 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:22.208375 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:22.208621 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:22.208679 => Send SSL data, 70 bytes (0x46)
0000: ...BA.Rr....B.f.U.dV^.........l.....j..0q.I#...p5B.9..;y).}."'..
0040: .6[7F]...
03:01:22.221180 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:22.221732 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:22.221787 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:22.253212 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:22.253414 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:22.253470 => Send SSL data, 16 bytes (0x10)
0000: ....Xa.,l.......
03:01:22.255997 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:22.257032 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:22.257091 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:22.259502 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:22.264806 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:22.264862 <= Recv SSL data, 16 bytes (0x10)
0000: ......$.3..V}-7%
03:01:22.286276 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:22.286980 == Info: ALPN, server did not agree to a protocol
03:01:22.289202 == Info: Server certificate:
03:01:22.296512 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:22.302765 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:22.303728 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:22.304590 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:22.305501 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:22.307012 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #0)
03:01:22.342197 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:22.344804 => 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.64.0-DEV
004f: Accept: */*
005c: Content-Length: 1386
0072: Content-Type: multipart/form-data; boundary=--------------------
00b2: ----3433323135333231
00c8: Expect: 100-continue
00de:
03:01:22.347690 == Info: Expire in 1000 ms for 0 (transfer 0x626d7a8)
03:01:22.348703 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #0)
03:01:22.349703 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:01:22.350463 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:01:23.350361 == Info: Done waiting for 100-continue
03:01:23.364758 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:23.365138 => 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--
03:01:23.374958 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:23.384409 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:01:23.386785 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:01:23.390572 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:01:23.392328 == Info: Server test-server/fake is not blacklisted
03:01:23.392613 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:01:23.393646 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 10
03:01:23.395825 <= Recv header, 1 bytes (0x1)
0000: .
03:01:23.396618 <= Recv data, 10 bytes (0xa)
0000: blablabla.
03:01:23.402454 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:01:23.402918 == Info: multi_done
03:01:23.411616 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace304
=== Start of file valgrind304
==5985== Invalid read of size 8
==5985== at 0x5E745A5: check_free (dlerror.c:188)
==5985== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==5985== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==5985== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5985== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5985== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5985== by 0x559AF79: exit (exit.c:139)
==5985== by 0x55850A1: (below main) (libc-start.c:342)
==5985== Address 0x66b65f0 is 0 bytes after a block of size 32 alloc'd
==5985== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5985== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5985== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5985== by 0x4DD0E85: err_get_state (err.c:210)
==5985== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5985== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5985== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5985== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5985== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5985== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5985== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5985== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5985== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5985== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5985== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5985== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5985==
==5985== Invalid free() / delete / delete[] / realloc()
==5985== at 0x48369AB: free (vg_replace_malloc.c:530)
==5985== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==5985== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==5985== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5985== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5985== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5985== by 0x559AF79: exit (exit.c:139)
==5985== by 0x55850A1: (below main) (libc-start.c:342)
==5985== Address 0x66b65d8 is 8 bytes inside a block of size 32 alloc'd
==5985== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5985== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5985== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5985== by 0x4DD0E85: err_get_state (err.c:210)
==5985== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5985== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5985== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5985== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5985== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5985== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5985== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5985== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5985== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5985== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5985== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5985== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5985==
==5985== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==5985== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5985== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5985== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5985== by 0x4DD0E85: err_get_state (err.c:210)
==5985== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5985== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5985== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5985== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5985== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5985== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5985== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5985== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5985== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5985== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5985== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5985== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5985==
=== End of file valgrind304
test 0305...[insecure HTTPS without permission]
goto problem 14
valgrind ERROR ==5989== Invalid read of size 8
==5989== at 0x5E745A5: check_free (dlerror.c:188)
==5989== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==5989== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==5989== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5989== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5989== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5989== by 0x559AF79: exit (exit.c:139)
==5989== by 0x55850A1: (below main) (libc-start.c:342)
==5989== Address 0x6302300 is 0 bytes after a block of size 32 alloc'd
==5989== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5989== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5989== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5989== by 0x4DD0E85: err_get_state (err.c:210)
==5989== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5989== by 0x4E67EB5: BIO_new_file (file.c:95)
==5989== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==5989== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5989== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5989== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5989== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5989== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5989== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5989== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5989== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5989== by 0x1714CE: https_connecting (http.c:1521)
==5989==
==5989== Invalid free() / delete / delete[] / realloc()
==5989== at 0x48369AB: free (vg_replace_malloc.c:530)
==5989== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==5989== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==5989== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5989== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5989== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5989== by 0x559AF79: exit (exit.c:139)
==5989== by 0x55850A1: (below main) (libc-start.c:342)
==5989== Address 0x63022e8 is 8 bytes inside a block of size 32 alloc'd
==5989== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5989== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5989== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5989== by 0x4DD0E85: err_get_state (err.c:210)
==5989== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5989== by 0x4E67EB5: BIO_new_file (file.c:95)
==5989== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==5989== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5989== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5989== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5989== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5989== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5989== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5989== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5989== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5989== by 0x1714CE: https_connecting (http.c:1521)
==5989==
==5989== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==5989== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5989== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5989== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5989== by 0x4DD0E85: err_get_state (err.c:210)
==5989== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5989== by 0x4E67EB5: BIO_new_file (file.c:95)
==5989== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==5989== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5989== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5989== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5989== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5989== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5989== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5989== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5989== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5989== by 0x1714CE: https_connecting (http.c:1521)
==5989==
== Contents of files in the log/ dir after test 305
=== Start of file http_server.log
03:00:59.449860 ====> Client connect
03:00:59.449898 accept_connection 3 returned 4
03:00:59.449913 accept_connection 3 returned 0
03:00:59.523713 Read 90 bytes
03:00:59.523752 Process 90 bytes request
03:00:59.523769 Got request: GET /want/303 HTTP/1.1
03:00:59.523779 Requested test number 303 part 0
03:00:59.523807 - request found to be complete
03:00:59.523856 Wrote request (90 bytes) input to log/server.input
03:00:59.523888 Send response test303 section <data>
03:00:59.523959 Response sent (94 bytes) and written to log/server.response
03:00:59.523971 Told to sleep for 20 seconds
03:01:19.543825 Continuing after sleeping 20 seconds
03:01:19.543879 => persistent connection request ended, awaits new request
03:01:19.543896 Connection closed by client
03:01:19.543903 ====> Client disconnect 0
03:01:22.254357 ====> Client connect
03:01:22.254380 accept_connection 3 returned 4
03:01:22.254394 accept_connection 3 returned 0
03:01:22.343594 Read 224 bytes
03:01:22.343633 Process 224 bytes request
03:01:22.343647 Got request: POST /we/want/304 HTTP/1.1
03:01:22.343656 Requested test number 304 part 0
03:01:22.343684 - request found to be complete
03:01:22.343694 Found Content-Length: 1386 in the request
03:01:23.364991 Read 1386 bytes
03:01:23.365028 Process 1610 bytes request [CONTINUED]
03:01:23.365041 - request found to be complete
03:01:23.365073 Wrote request (1610 bytes) input to log/server.input
03:01:23.365097 Send response test304 section <data>
03:01:23.365177 Response sent (108 bytes) and written to log/server.response
03:01:23.365188 => persistent connection request ended, awaits new request
03:01:23.427998 Connection closed by client
03:01:23.428039 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.response
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
_data_result_data_
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 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
03:01:24.464562 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:01:24.489591 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:01:24.527037 == Info: Added connection 0. The cache now contains 1 members
03:01:24.543738 == Info: Trying 127.0.0.1...
03:01:24.544375 == Info: TCP_NODELAY set
03:01:24.547571 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:01:24.549809 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:01:24.560870 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:01:24.561422 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:01:24.562583 == Info: Marked for [keep alive]: HTTP default
03:01:24.582747 == Info: ALPN, offering h2
03:01:24.583021 == Info: ALPN, offering http/1.1
03:01:24.592823 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
03:01:24.593287 == Info: Marked for [closure]: Failed HTTPS connection
03:01:24.593816 == Info: multi_done
03:01:24.602625 == Info: Closing connection 0
03:01:24.605398 == Info: The cache now contains 0 members
03:01:24.622899 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace305
=== Start of file valgrind305
==5989== Invalid read of size 8
==5989== at 0x5E745A5: check_free (dlerror.c:188)
==5989== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==5989== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==5989== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5989== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5989== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5989== by 0x559AF79: exit (exit.c:139)
==5989== by 0x55850A1: (below main) (libc-start.c:342)
==5989== Address 0x6302300 is 0 bytes after a block of size 32 alloc'd
==5989== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5989== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5989== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5989== by 0x4DD0E85: err_get_state (err.c:210)
==5989== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5989== by 0x4E67EB5: BIO_new_file (file.c:95)
==5989== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==5989== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5989== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5989== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5989== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5989== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5989== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5989== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5989== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5989== by 0x1714CE: https_connecting (http.c:1521)
==5989==
==5989== Invalid free() / delete / delete[] / realloc()
==5989== at 0x48369AB: free (vg_replace_malloc.c:530)
==5989== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==5989== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==5989== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5989== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5989== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5989== by 0x559AF79: exit (exit.c:139)
==5989== by 0x55850A1: (below main) (libc-start.c:342)
==5989== Address 0x63022e8 is 8 bytes inside a block of size 32 alloc'd
==5989== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5989== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5989== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5989== by 0x4DD0E85: err_get_state (err.c:210)
==5989== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5989== by 0x4E67EB5: BIO_new_file (file.c:95)
==5989== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==5989== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5989== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5989== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5989== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5989== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5989== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5989== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5989== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5989== by 0x1714CE: https_connecting (http.c:1521)
==5989==
==5989== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==5989== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5989== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5989== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5989== by 0x4DD0E85: err_get_state (err.c:210)
==5989== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5989== by 0x4E67EB5: BIO_new_file (file.c:95)
==5989== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==5989== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5989== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5989== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5989== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5989== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5989== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5989== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5989== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5989== by 0x1714CE: https_connecting (http.c:1521)
==5989==
=== End of file valgrind305
test 0306...[HTTPS GET, receive no headers only data!]
goto problem 15
valgrind ERROR ==5993== Invalid read of size 8
==5993== at 0x5E745A5: check_free (dlerror.c:188)
==5993== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==5993== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==5993== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5993== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5993== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5993== by 0x559AF79: exit (exit.c:139)
==5993== by 0x55850A1: (below main) (libc-start.c:342)
==5993== Address 0x66ad610 is 0 bytes after a block of size 32 alloc'd
==5993== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5993== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5993== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5993== by 0x4DD0E85: err_get_state (err.c:210)
==5993== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5993== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5993== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5993== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5993== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5993== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5993== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5993== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5993== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5993== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5993== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5993== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5993==
==5993== Invalid free() / delete / delete[] / realloc()
==5993== at 0x48369AB: free (vg_replace_malloc.c:530)
==5993== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==5993== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==5993== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5993== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5993== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5993== by 0x559AF79: exit (exit.c:139)
==5993== by 0x55850A1: (below main) (libc-start.c:342)
==5993== Address 0x66ad5f8 is 8 bytes inside a block of size 32 alloc'd
==5993== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5993== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5993== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5993== by 0x4DD0E85: err_get_state (err.c:210)
==5993== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5993== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5993== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5993== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5993== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5993== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5993== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5993== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5993== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5993== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5993== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5993== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5993==
==5993== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==5993== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5993== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5993== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5993== by 0x4DD0E85: err_get_state (err.c:210)
==5993== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5993== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5993== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5993== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5993== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5993== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5993== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5993== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5993== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5993== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5993== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5993== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5993==
== 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
03:00:59.449860 ====> Client connect
03:00:59.449898 accept_connection 3 returned 4
03:00:59.449913 accept_connection 3 returned 0
03:00:59.523713 Read 90 bytes
03:00:59.523752 Process 90 bytes request
03:00:59.523769 Got request: GET /want/303 HTTP/1.1
03:00:59.523779 Requested test number 303 part 0
03:00:59.523807 - request found to be complete
03:00:59.523856 Wrote request (90 bytes) input to log/server.input
03:00:59.523888 Send response test303 section <data>
03:00:59.523959 Response sent (94 bytes) and written to log/server.response
03:00:59.523971 Told to sleep for 20 seconds
03:01:19.543825 Continuing after sleeping 20 seconds
03:01:19.543879 => persistent connection request ended, awaits new request
03:01:19.543896 Connection closed by client
03:01:19.543903 ====> Client disconnect 0
03:01:22.254357 ====> Client connect
03:01:22.254380 accept_connection 3 returned 4
03:01:22.254394 accept_connection 3 returned 0
03:01:22.343594 Read 224 bytes
03:01:22.343633 Process 224 bytes request
03:01:22.343647 Got request: POST /we/want/304 HTTP/1.1
03:01:22.343656 Requested test number 304 part 0
03:01:22.343684 - request found to be complete
03:01:22.343694 Found Content-Length: 1386 in the request
03:01:23.364991 Read 1386 bytes
03:01:23.365028 Process 1610 bytes request [CONTINUED]
03:01:23.365041 - request found to be complete
03:01:23.365073 Wrote request (1610 bytes) input to log/server.input
03:01:23.365097 Send response test304 section <data>
03:01:23.365177 Response sent (108 bytes) and written to log/server.response
03:01:23.365188 => persistent connection request ended, awaits new request
03:01:23.427998 Connection closed by client
03:01:23.428039 ====> Client disconnect 0
03:01:27.400836 ====> Client connect
03:01:27.400860 accept_connection 3 returned 4
03:01:27.400873 accept_connection 3 returned 0
03:01:27.473823 Read 85 bytes
03:01:27.473861 Process 85 bytes request
03:01:27.473875 Got request: GET /306 HTTP/1.1
03:01:27.473884 Requested test number 306 part 0
03:01:27.473908 - request found to be complete
03:01:27.473936 Wrote request (85 bytes) input to log/server.input
03:01:27.473959 Send response test306 section <data>
03:01:27.473982 connection close instruction "swsclose" found in response
03:01:27.474029 Response sent (107 bytes) and written to log/server.response
03:01:27.474039 instructed to close connection after server-reply
03:01:27.474046 ====> 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.64.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_
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 10
blablabla
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:01 --:--:-- 0
100 107 0 107 0 0 56 0 --:--:-- 0:00:01 --:--:-- 58
=== End of file stderr306
=== Start of file trace306
03:01:25.623337 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:01:25.648231 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:01:25.685909 == Info: Added connection 0. The cache now contains 1 members
03:01:25.702663 == Info: Trying 127.0.0.1...
03:01:25.703318 == Info: TCP_NODELAY set
03:01:25.706624 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:01:25.708848 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:01:25.720093 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:01:25.720664 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:01:25.721791 == Info: Marked for [keep alive]: HTTP default
03:01:25.742333 == Info: ALPN, offering h2
03:01:25.742655 == Info: ALPN, offering http/1.1
03:01:26.918164 == Info: successfully set certificate verify locations:
03:01:26.918420 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:26.997127 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:27.002130 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:27.002195 => Send SSL data, 160 bytes (0xa0)
0000: ............r....n2..jb0r.....|E.q{..(..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:01:27.019618 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:27.024070 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:27.024131 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..Q\.J........z.....$..i..i...6... ......Q.`..%...xgW.Y...a.
0040: ....N&./................
03:01:27.068033 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:27.068493 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:27.068549 <= 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:27.166666 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:27.166929 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:27.166986 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A......#......g..uo....f0.sHw.t^.j..9b#..._.`.`^[*.x...1.
0040: ..N.d..b......IL.d;\Z...j]Y...9hx..Vg..e.w...-....D.c.}.x._U....
0080: ....._.'..c...r\s.....@..Hkx..}Jz.&[....Z......v..,...w..=.....W
00c0: v..d'0.`.<...p*....?....k..d(. $...^....E(.V..*......A.n........
0100: ..[7F]M.ao....E..2..ZV....d.)..B-.s......S..'.D....qZ9;]..M].U.ck..
0140: 6......FG%..^
03:01:27.236368 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:27.236730 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:27.236791 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:27.355012 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:27.355259 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:27.355317 => Send SSL data, 70 bytes (0x46)
0000: ...BA... ......y.^=...#{.....U:...T.k..l_1.C.>.......=......u...
0040: .g..t-
03:01:27.367743 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:27.368296 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:27.368351 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:27.399703 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:27.399888 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:27.399943 => Send SSL data, 16 bytes (0x10)
0000: ....o..Vx..6....
03:01:27.402442 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:27.403483 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:27.403545 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:27.406030 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:27.411354 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:27.411410 <= Recv SSL data, 16 bytes (0x10)
0000: .......3.7w#...[
03:01:27.432847 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:27.433548 == Info: ALPN, server did not agree to a protocol
03:01:27.435767 == Info: Server certificate:
03:01:27.443102 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:27.449373 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:27.450317 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:27.451150 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:27.452048 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:27.453559 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #0)
03:01:27.472456 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:01:27.475009 => Send header, 85 bytes (0x55)
0000: GET /306 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: User-Agent: curl/7.64.0-DEV
0046: Accept: */*
0053:
03:01:27.477907 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #0)
03:01:27.478894 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:01:27.479651 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:01:27.484174 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:27.489986 == Info: Marked for [closure]: bad HTTP: No end-of-message indicator
03:01:27.490851 <= Recv data, 38 bytes (0x26)
0000: No headers at all, just data swsclose.
03:01:27.491408 <= Recv data, 69 bytes (0x45)
0000: .Let's get..a little..so that..we..have..some..test..data to..ve
0040: rify.
03:01:27.491995 == Info: Increasing bytecount by 38 from hbuflen
03:01:27.524863 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:27.526353 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
03:01:27.526416 <= Recv SSL data, 2 bytes (0x2)
0000: ..
03:01:27.527971 == Info: nread <= 0, server closed connection, bailing
03:01:27.529795 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:01:27.530265 == Info: multi_done
03:01:27.538755 == Info: Closing connection 0
03:01:27.541347 == Info: The cache now contains 0 members
=== End of file trace306
=== Start of file valgrind306
==5993== Invalid read of size 8
==5993== at 0x5E745A5: check_free (dlerror.c:188)
==5993== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==5993== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==5993== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5993== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5993== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5993== by 0x559AF79: exit (exit.c:139)
==5993== by 0x55850A1: (below main) (libc-start.c:342)
==5993== Address 0x66ad610 is 0 bytes after a block of size 32 alloc'd
==5993== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5993== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5993== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5993== by 0x4DD0E85: err_get_state (err.c:210)
==5993== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5993== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5993== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5993== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5993== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5993== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5993== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5993== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5993== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5993== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5993== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5993== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5993==
==5993== Invalid free() / delete / delete[] / realloc()
==5993== at 0x48369AB: free (vg_replace_malloc.c:530)
==5993== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==5993== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==5993== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5993== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5993== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5993== by 0x559AF79: exit (exit.c:139)
==5993== by 0x55850A1: (below main) (libc-start.c:342)
==5993== Address 0x66ad5f8 is 8 bytes inside a block of size 32 alloc'd
==5993== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5993== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5993== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5993== by 0x4DD0E85: err_get_state (err.c:210)
==5993== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5993== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5993== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5993== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5993== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5993== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5993== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5993== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5993== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5993== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5993== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5993== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5993==
==5993== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==5993== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5993== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5993== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5993== by 0x4DD0E85: err_get_state (err.c:210)
==5993== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5993== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5993== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5993== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5993== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5993== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5993== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5993== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5993== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5993== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5993== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5993== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5993==
=== 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 ==5999== Invalid read of size 8
==5999== at 0x5E745A5: check_free (dlerror.c:188)
==5999== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==5999== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==5999== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5999== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5999== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5999== by 0x559AF79: exit (exit.c:139)
==5999== by 0x55850A1: (below main) (libc-start.c:342)
==5999== Address 0x66e8110 is 0 bytes after a block of size 32 alloc'd
==5999== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5999== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5999== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5999== by 0x4DD0E85: err_get_state (err.c:210)
==5999== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5999== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5999== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5999== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5999== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5999== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5999== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5999== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5999== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5999== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5999== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5999== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5999==
==5999== Invalid free() / delete / delete[] / realloc()
==5999== at 0x48369AB: free (vg_replace_malloc.c:530)
==5999== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==5999== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==5999== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5999== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5999== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5999== by 0x559AF79: exit (exit.c:139)
==5999== by 0x55850A1: (below main) (libc-start.c:342)
==5999== Address 0x66e80f8 is 8 bytes inside a block of size 32 alloc'd
==5999== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5999== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5999== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5999== by 0x4DD0E85: err_get_state (err.c:210)
==5999== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5999== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5999== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5999== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5999== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5999== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5999== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5999== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5999== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5999== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5999== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5999== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5999==
==5999== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==5999== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5999== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5999== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5999== by 0x4DD0E85: err_get_state (err.c:210)
==5999== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5999== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5999== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5999== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5999== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5999== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5999== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5999== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5999== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5999== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5999== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5999== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5999==
== 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
03:00:59.449860 ====> Client connect
03:00:59.449898 accept_connection 3 returned 4
03:00:59.449913 accept_connection 3 returned 0
03:00:59.523713 Read 90 bytes
03:00:59.523752 Process 90 bytes request
03:00:59.523769 Got request: GET /want/303 HTTP/1.1
03:00:59.523779 Requested test number 303 part 0
03:00:59.523807 - request found to be complete
03:00:59.523856 Wrote request (90 bytes) input to log/server.input
03:00:59.523888 Send response test303 section <data>
03:00:59.523959 Response sent (94 bytes) and written to log/server.response
03:00:59.523971 Told to sleep for 20 seconds
03:01:19.543825 Continuing after sleeping 20 seconds
03:01:19.543879 => persistent connection request ended, awaits new request
03:01:19.543896 Connection closed by client
03:01:19.543903 ====> Client disconnect 0
03:01:22.254357 ====> Client connect
03:01:22.254380 accept_connection 3 returned 4
03:01:22.254394 accept_connection 3 returned 0
03:01:22.343594 Read 224 bytes
03:01:22.343633 Process 224 bytes request
03:01:22.343647 Got request: POST /we/want/304 HTTP/1.1
03:01:22.343656 Requested test number 304 part 0
03:01:22.343684 - request found to be complete
03:01:22.343694 Found Content-Length: 1386 in the request
03:01:23.364991 Read 1386 bytes
03:01:23.365028 Process 1610 bytes request [CONTINUED]
03:01:23.365041 - request found to be complete
03:01:23.365073 Wrote request (1610 bytes) input to log/server.input
03:01:23.365097 Send response test304 section <data>
03:01:23.365177 Response sent (108 bytes) and written to log/server.response
03:01:23.365188 => persistent connection request ended, awaits new request
03:01:23.427998 Connection closed by client
03:01:23.428039 ====> Client disconnect 0
03:01:27.400836 ====> Client connect
03:01:27.400860 accept_connection 3 returned 4
03:01:27.400873 accept_connection 3 returned 0
03:01:27.473823 Read 85 bytes
03:01:27.473861 Process 85 bytes request
03:01:27.473875 Got request: GET /306 HTTP/1.1
03:01:27.473884 Requested test number 306 part 0
03:01:27.473908 - request found to be complete
03:01:27.473936 Wrote request (85 bytes) input to log/server.input
03:01:27.473959 Send response test306 section <data>
03:01:27.473982 connection close instruction "swsclose" found in response
03:01:27.474029 Response sent (107 bytes) and written to log/server.response
03:01:27.474039 instructed to close connection after server-reply
03:01:27.474046 ====> Client disconnect 0
03:01:28.680360 ====> Client connect
03:01:28.680390 accept_connection 3 returned 4
03:01:28.680410 accept_connection 3 returned 0
03:01:28.708514 Read 90 bytes
03:01:28.708569 Process 90 bytes request
03:01:28.708593 Got request: GET /want/309 HTTP/1.1
03:01:28.708608 Requested test number 309 part 0
03:01:28.708647 - request found to be complete
03:01:28.708685 Wrote request (90 bytes) input to log/server.input
03:01:28.708716 Send response test309 section <data>
03:01:28.708756 connection close instruction "swsclose" found in response
03:01:28.708868 Response sent (277 bytes) and written to log/server.response
03:01:28.708884 instructed to close connection after server-reply
03:01:28.708896 ====> Client disconnect 0
03:01:30.467105 ====> Client connect
03:01:30.467131 accept_connection 3 returned 4
03:01:30.467151 accept_connection 3 returned 0
03:01:30.532815 Read 111 bytes
03:01:30.532861 Process 111 bytes request
03:01:30.532882 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
03:01:30.532896 Requested test number 309 part 2
03:01:30.532932 - request found to be complete
03:01:30.532950 Wrote request (111 bytes) input to log/server.input
03:01:30.532970 Send response test309 section <data2>
03:01:30.533007 connection close instruction "swsclose" found in response
03:01:30.533087 Response sent (179 bytes) and written to log/server.response
03:01:30.533102 instructed to close connection after server-reply
03:01:30.533115 ====> 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.64.0-DEV
Accept: */*
GET /data/3090002.txt?coolsite=yes HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.64.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_
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 10
blablabla
No headers at all, just data swsclose
Let's get
a little
so that
we
have
some
test
data to
verify
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
Connection: close
This server reply is for testing a simple Location: following to HTTPS URL
HTTP/1.1 200 Followed here fine swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 52
If this is received, the location following worked
=== End of file server.response
=== Start of file stderr309
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

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

0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 52 100 52 0 0 26 0 0:00:02 0:00:01 0:00:01 1485
=== End of file stderr309
=== Start of file trace309
03:01:28.598488 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:01:28.623324 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:01:28.660339 == Info: Added connection 0. The cache now contains 1 members
03:01:28.677269 == Info: Trying 127.0.0.1...
03:01:28.677869 == Info: TCP_NODELAY set
03:01:28.680968 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:01:28.683158 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:01:28.694246 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
03:01:28.694797 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:01:28.695926 == Info: Marked for [keep alive]: HTTP default
03:01:28.696873 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #0)
03:01:28.709328 => Send header, 90 bytes (0x5a)
0000: GET /want/309 HTTP/1.1
0018: Host: 127.0.0.1:8990
002e: User-Agent: curl/7.64.0-DEV
004b: Accept: */*
0058:
03:01:28.714127 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #0)
03:01:28.715126 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:01:28.715909 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:01:28.726264 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:01:28.729959 <= Recv header, 53 bytes (0x35)
0000: HTTP/1.1 301 This is a weirdo text message swsclose
03:01:28.735670 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
03:01:28.738412 == Info: Server test-server/fake is not blacklisted
03:01:28.738847 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
03:01:28.740270 <= Recv header, 64 bytes (0x40)
0000: Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
03:01:28.741869 == Info: Marked for [closure]: Connection: close used
03:01:28.742032 <= Recv header, 19 bytes (0x13)
0000: Connection: close
03:01:28.745100 <= Recv header, 2 bytes (0x2)
0000:
03:01:28.747751 == Info: multi_done
03:01:28.756517 == Info: Closing connection 0
03:01:28.759262 == Info: The cache now contains 0 members
03:01:28.770586 == Info: Issue another request to this URL: 'https://127.0.0.1:8991/data/3090002.txt?coolsite=yes'
03:01:28.771396 == Info: STATE: PERFORM => CONNECT handle 0x626d7a8; line 2022 (connection #-5000)
03:01:28.774826 == Info: Added connection 1. The cache now contains 1 members
03:01:28.775542 == Info: Trying 127.0.0.1...
03:01:28.775602 == Info: TCP_NODELAY set
03:01:28.775745 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:01:28.776219 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #1)
03:01:28.776351 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#1)
03:01:28.776432 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #1)
03:01:28.776504 == Info: Marked for [keep alive]: HTTP default
03:01:28.796565 == Info: ALPN, offering h2
03:01:28.796843 == Info: ALPN, offering http/1.1
03:01:29.985557 == Info: successfully set certificate verify locations:
03:01:29.985818 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:30.064903 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:30.068378 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:30.068441 => Send SSL data, 160 bytes (0xa0)
0000: .......}...2..-..o-..u....+.P.q.xi...o..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:01:30.085737 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:30.090171 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:30.090230 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..sq...Qb....;^^.q..Q..q...o.....4 .i.....\}h^\..E.2....;h.r
0040: +..v.A../................
03:01:30.134433 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:30.134918 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:30.134977 <= 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:30.233152 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:30.233417 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:30.233474 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A......#......g..uo....f0.sHw.t^.j..9b#..._.`.`^[*.x...1.
0040: ..N.d..b..........8|..Z...-.....W._.....&...f......O..5...._...B
0080: 9...(....W...........oq*..c^.X...L.p_.....5R..(./3...R......R.BF
00c0: :.8....<pB9....U.jw.;.@.{.(.!...I....s.. ...f.M........T.)..ztg.
0100: Qv.#..6Kn9.\V;GV..w'!.H.[7F]..<K0/.(..v......P..........{.........<
0140: ..v.}...F3...
03:01:30.302319 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:30.302659 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:30.302716 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:30.420874 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:30.421113 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:30.421171 => Send SSL data, 70 bytes (0x46)
0000: ...BA.......K.......F..g..../..S...E...$..J4....\.,;v.....X...*E
0040: :.4k.#
03:01:30.433704 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:30.434255 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:30.434311 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:30.465980 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:30.466181 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:30.466241 => Send SSL data, 16 bytes (0x10)
0000: .....UG*lTOQ..jO
03:01:30.468793 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:30.469826 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:30.469882 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:30.472299 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:30.477647 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:30.477702 <= Recv SSL data, 16 bytes (0x10)
0000: .....s....u...J.
03:01:30.499320 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:30.500030 == Info: ALPN, server did not agree to a protocol
03:01:30.502297 == Info: Server certificate:
03:01:30.509864 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:30.516104 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:30.517046 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:30.517872 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:30.518767 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:30.519880 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #1)
03:01:30.531412 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:30.533824 => 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.64.0-DEV
0060: Accept: */*
006d:
03:01:30.534407 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #1)
03:01:30.534499 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #1)
03:01:30.534585 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #1)
03:01:30.537319 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:01:30.547315 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:01:30.547659 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:01:30.547730 <= Recv header, 42 bytes (0x2a)
0000: HTTP/1.1 200 Followed here fine swsclose
03:01:30.548531 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:01:30.548689 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
03:01:30.549023 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:01:30.549221 == Info: Server test-server/fake is not blacklisted
03:01:30.549303 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
03:01:30.550530 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 52
03:01:30.550876 <= Recv header, 2 bytes (0x2)
0000:
03:01:30.551244 <= Recv data, 13 bytes (0xd)
0000: If this is re
03:01:30.553725 <= Recv SSL data, 5 bytes (0x5)
0000: ....?
03:01:30.553870 <= Recv data, 39 bytes (0x27)
0000: ceived, the location following worked..
03:01:30.555091 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #1)
03:01:30.555526 == Info: multi_done
03:01:30.557716 == Info: Connection #1 to host 127.0.0.1 left intact
=== End of file trace309
=== Start of file valgrind309
==5999== Invalid read of size 8
==5999== at 0x5E745A5: check_free (dlerror.c:188)
==5999== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==5999== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==5999== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5999== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5999== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5999== by 0x559AF79: exit (exit.c:139)
==5999== by 0x55850A1: (below main) (libc-start.c:342)
==5999== Address 0x66e8110 is 0 bytes after a block of size 32 alloc'd
==5999== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5999== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5999== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5999== by 0x4DD0E85: err_get_state (err.c:210)
==5999== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5999== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5999== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5999== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5999== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5999== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5999== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5999== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5999== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5999== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5999== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5999== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5999==
==5999== Invalid free() / delete / delete[] / realloc()
==5999== at 0x48369AB: free (vg_replace_malloc.c:530)
==5999== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==5999== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==5999== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5999== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5999== by 0x559AF49: __run_exit_handlers (exit.c:132)
==5999== by 0x559AF79: exit (exit.c:139)
==5999== by 0x55850A1: (below main) (libc-start.c:342)
==5999== Address 0x66e80f8 is 8 bytes inside a block of size 32 alloc'd
==5999== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5999== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5999== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5999== by 0x4DD0E85: err_get_state (err.c:210)
==5999== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5999== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5999== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5999== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5999== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5999== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5999== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5999== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5999== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5999== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5999== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5999== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5999==
==5999== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==5999== at 0x483577F: malloc (vg_replace_malloc.c:299)
==5999== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==5999== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==5999== by 0x4DD0E85: err_get_state (err.c:210)
==5999== by 0x4DD1A5D: ERR_put_error (err.c:636)
==5999== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==5999== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==5999== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==5999== by 0x4E91358: by_file_ctrl (by_file.c:111)
==5999== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==5999== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==5999== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==5999== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==5999== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==5999== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==5999== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==5999==
=== End of file valgrind309
test 0310...[simple HTTPS GET]
goto problem 17
valgrind ERROR ==6041== Invalid read of size 8
==6041== at 0x5E745A5: check_free (dlerror.c:188)
==6041== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6041== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6041== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6041== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6041== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6041== by 0x559AF79: exit (exit.c:139)
==6041== by 0x55850A1: (below main) (libc-start.c:342)
==6041== Address 0x6311a80 is 0 bytes after a block of size 32 alloc'd
==6041== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6041== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6041== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6041== by 0x4DD0E85: err_get_state (err.c:210)
==6041== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6041== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6041== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6041== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6041== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6041== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6041== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6041== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6041== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6041== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6041== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6041== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6041==
==6041== Invalid free() / delete / delete[] / realloc()
==6041== at 0x48369AB: free (vg_replace_malloc.c:530)
==6041== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6041== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6041== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6041== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6041== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6041== by 0x559AF79: exit (exit.c:139)
==6041== by 0x55850A1: (below main) (libc-start.c:342)
==6041== Address 0x6311a68 is 8 bytes inside a block of size 32 alloc'd
==6041== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6041== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6041== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6041== by 0x4DD0E85: err_get_state (err.c:210)
==6041== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6041== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6041== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6041== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6041== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6041== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6041== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6041== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6041== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6041== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6041== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6041== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6041==
==6041== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6041== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6041== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6041== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6041== by 0x4DD0E85: err_get_state (err.c:210)
==6041== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6041== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6041== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6041== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6041== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6041== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6041== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6041== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6041== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6041== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6041== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6041== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6041==
== 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
03:00:59.449860 ====> Client connect
03:00:59.449898 accept_connection 3 returned 4
03:00:59.449913 accept_connection 3 returned 0
03:00:59.523713 Read 90 bytes
03:00:59.523752 Process 90 bytes request
03:00:59.523769 Got request: GET /want/303 HTTP/1.1
03:00:59.523779 Requested test number 303 part 0
03:00:59.523807 - request found to be complete
03:00:59.523856 Wrote request (90 bytes) input to log/server.input
03:00:59.523888 Send response test303 section <data>
03:00:59.523959 Response sent (94 bytes) and written to log/server.response
03:00:59.523971 Told to sleep for 20 seconds
03:01:19.543825 Continuing after sleeping 20 seconds
03:01:19.543879 => persistent connection request ended, awaits new request
03:01:19.543896 Connection closed by client
03:01:19.543903 ====> Client disconnect 0
03:01:22.254357 ====> Client connect
03:01:22.254380 accept_connection 3 returned 4
03:01:22.254394 accept_connection 3 returned 0
03:01:22.343594 Read 224 bytes
03:01:22.343633 Process 224 bytes request
03:01:22.343647 Got request: POST /we/want/304 HTTP/1.1
03:01:22.343656 Requested test number 304 part 0
03:01:22.343684 - request found to be complete
03:01:22.343694 Found Content-Length: 1386 in the request
03:01:23.364991 Read 1386 bytes
03:01:23.365028 Process 1610 bytes request [CONTINUED]
03:01:23.365041 - request found to be complete
03:01:23.365073 Wrote request (1610 bytes) input to log/server.input
03:01:23.365097 Send response test304 section <data>
03:01:23.365177 Response sent (108 bytes) and written to log/server.response
03:01:23.365188 => persistent connection request ended, awaits new request
03:01:23.427998 Connection closed by client
03:01:23.428039 ====> Client disconnect 0
03:01:27.400836 ====> Client connect
03:01:27.400860 accept_connection 3 returned 4
03:01:27.400873 accept_connection 3 returned 0
03:01:27.473823 Read 85 bytes
03:01:27.473861 Process 85 bytes request
03:01:27.473875 Got request: GET /306 HTTP/1.1
03:01:27.473884 Requested test number 306 part 0
03:01:27.473908 - request found to be complete
03:01:27.473936 Wrote request (85 bytes) input to log/server.input
03:01:27.473959 Send response test306 section <data>
03:01:27.473982 connection close instruction "swsclose" found in response
03:01:27.474029 Response sent (107 bytes) and written to log/server.response
03:01:27.474039 instructed to close connection after server-reply
03:01:27.474046 ====> Client disconnect 0
03:01:28.680360 ====> Client connect
03:01:28.680390 accept_connection 3 returned 4
03:01:28.680410 accept_connection 3 returned 0
03:01:28.708514 Read 90 bytes
03:01:28.708569 Process 90 bytes request
03:01:28.708593 Got request: GET /want/309 HTTP/1.1
03:01:28.708608 Requested test number 309 part 0
03:01:28.708647 - request found to be complete
03:01:28.708685 Wrote request (90 bytes) input to log/server.input
03:01:28.708716 Send response test309 section <data>
03:01:28.708756 connection close instruction "swsclose" found in response
03:01:28.708868 Response sent (277 bytes) and written to log/server.response
03:01:28.708884 instructed to close connection after server-reply
03:01:28.708896 ====> Client disconnect 0
03:01:30.467105 ====> Client connect
03:01:30.467131 accept_connection 3 returned 4
03:01:30.467151 accept_connection 3 returned 0
03:01:30.532815 Read 111 bytes
03:01:30.532861 Process 111 bytes request
03:01:30.532882 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
03:01:30.532896 Requested test number 309 part 2
03:01:30.532932 - request found to be complete
03:01:30.532950 Wrote request (111 bytes) input to log/server.input
03:01:30.532970 Send response test309 section <data2>
03:01:30.533007 connection close instruction "swsclose" found in response
03:01:30.533087 Response sent (179 bytes) and written to log/server.response
03:01:30.533102 instructed to close connection after server-reply
03:01:30.533115 ====> Client disconnect 0
03:01:30.684942 signalled to die
03:01:30.685015 ========> IPv4 sws (port 8990 pid: 4647) exits with signal (15)
03:01:35.698890 Running HTTP IPv4 version on port 8990
03:01:35.699001 Wrote pid 6028 to .http_server.pid
03:01:36.698630 ====> Client connect
03:01:36.698656 accept_connection 3 returned 4
03:01:36.698670 accept_connection 3 returned 0
03:01:36.698683 Read 96 bytes
03:01:36.698692 Process 96 bytes request
03:01:36.698708 Got request: GET /verifiedserver HTTP/1.1
03:01:36.698719 Are-we-friendly question received
03:01:36.698730 Wrote request (96 bytes) input to log/server.input
03:01:36.698744 Identifying ourselves as friends
03:01:36.698786 Response sent (55 bytes) and written to log/server.response
03:01:36.698795 special request received, no persistency
03:01:36.698802 ====> Client disconnect 0
03:01:38.731142 ====> Client connect
03:01:38.731169 accept_connection 3 returned 4
03:01:38.731186 accept_connection 3 returned 0
03:01:38.731389 Read 96 bytes
03:01:38.731407 Process 96 bytes request
03:01:38.731424 Got request: GET /verifiedserver HTTP/1.1
03:01:38.731432 Are-we-friendly question received
03:01:38.731442 Wrote request (96 bytes) input to log/server.input
03:01:38.731452 Identifying ourselves as friends
03:01:38.731486 Response sent (55 bytes) and written to log/server.response
03:01:38.731498 special request received, no persistency
03:01:38.731510 ====> Client disconnect 0
03:01:41.439090 ====> Client connect
03:01:41.439119 accept_connection 3 returned 4
03:01:41.439134 accept_connection 3 returned 0
03:01:41.515714 Read 85 bytes
03:01:41.515757 Process 85 bytes request
03:01:41.515776 Got request: GET /310 HTTP/1.1
03:01:41.515787 Requested test number 310 part 0
03:01:41.515818 - request found to be complete
03:01:41.515847 Wrote request (85 bytes) input to log/server.input
03:01:41.515870 Send response test310 section <data>
03:01:41.515933 Response sent (103 bytes) and written to log/server.response
03:01:41.515944 => persistent connection request ended, awaits new request
03:01:41.580467 Connection closed by client
03:01:41.580525 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* Expire in 0 ms for 6 (transfer 0x55ed8d8fa6a8)
* Expire in 13000 ms for 8 (transfer 0x55ed8d8fa6a8)
* STATE: INIT => CONNECT handle 0x55ed8d8fa6a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55ed8d8fa6a8)
* STATE: CONNECT => WAITCONNECT handle 0x55ed8d8fa6a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55ed8d8fa6a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55ed8d8fa6a8; line 1631 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55ed8d8fa6a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55ed8d8fa6a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55ed8d8fa6a8; line 1849 (connection #0)
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 16
<
{ [16 bytes data]
* STATE: PERFORM => DONE handle 0x55ed8d8fa6a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55ed8d8fa6a8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 6028
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.01.13 03:01:37 LOG5[6034]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.13 03:01:37 LOG5[6034]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.13 03:01:37 LOG5[6034]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.13 03:01:37 LOG5[6034]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.13 03:01:37 LOG5[6034]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.13 03:01:37 LOG5[6034]: Reading configuration from file /build-4871/tests/https_stunnel.conf
2019.01.13 03:01:37 LOG5[6034]: FIPS mode disabled
2019.01.13 03:01:37 LOG5[6034]: Configuration successful
2019.01.13 03:01:38 LOG5[6037]: Service [curltest] accepted connection from 127.0.0.1:52558
2019.01.13 03:01:38 LOG5[6037]: s_connect: connected 127.0.0.1:8990
2019.01.13 03:01:38 LOG5[6037]: Service [curltest] connected remote server from 127.0.0.1:47170
2019.01.13 03:01:38 LOG5[6037]: Connection closed: 55 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.13 03:01:40 LOG5[6042]: Service [curltest] accepted connection from 127.0.0.1:52564
2019.01.13 03:01:41 LOG5[6042]: s_connect: connected 127.0.0.1:8990
2019.01.13 03:01:41 LOG5[6042]: Service [curltest] connected remote server from 127.0.0.1:47176
2019.01.13 03:01:41 LOG5[6042]: 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
* Expire in 0 ms for 6 (transfer 0x55604734f6a8)
* Expire in 13000 ms for 8 (transfer 0x55604734f6a8)
* STATE: INIT => CONNECT handle 0x55604734f6a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55604734f6a8)
* STATE: CONNECT => WAITCONNECT handle 0x55604734f6a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55604734f6a8; line 1613 (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):
} [160 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55604734f6a8; line 1627 (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 0x55604734f6a8; line 1648 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55604734f6a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55604734f6a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55604734f6a8; line 1849 (connection #0)
{ [5 bytes data]
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 16
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x55604734f6a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55604734f6a8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 6028
=== End of file https_verify.out
=== Start of file server.input
GET /310 HTTP/1.1
Host: localhost:8991
User-Agent: curl/7.64.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_
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 10
blablabla
No headers at all, just data swsclose
Let's get
a little
so that
we
have
some
test
data to
verify
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
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6028
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6028
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 8 0 --:--:-- --:--:-- --:--:-- 8
=== End of file stderr310
=== Start of file trace310
03:01:40.665042 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:01:40.689750 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:01:40.727133 == Info: Added connection 0. The cache now contains 1 members
03:01:40.759549 == Info: STATE: CONNECT => WAITRESOLVE handle 0x626d7a8; line 1478 (connection #0)
03:01:40.769287 == Info: Expire in 4983 ms for 1 (transfer 0x626d7a8)
03:01:40.770317 == Info: Expire in 4981 ms for 1 (transfer 0x626d7a8)
03:01:40.780383 == Info: Expire in 4999 ms for 1 (transfer 0x626d7a8)
03:01:40.783055 == Info: Expire in 4996 ms for 1 (transfer 0x626d7a8)
03:01:40.783144 == Info: Expire in 4996 ms for 1 (transfer 0x626d7a8)
03:01:40.792208 == Info: Expire in 300000 ms for 1 (transfer 0x626d7a8)
03:01:40.800686 == Info: Trying ::1...
03:01:40.801308 == Info: TCP_NODELAY set
03:01:40.803775 == Info: Expire in 149949 ms for 3 (transfer 0x626d7a8)
03:01:40.805131 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:01:40.805846 == Info: STATE: WAITRESOLVE => WAITCONNECT handle 0x626d7a8; line 1559 (connection #0)
03:01:40.813543 == Info: connect to ::1 port 8991 failed: Connection refused
03:01:40.815644 == Info: Trying 127.0.0.1...
03:01:40.815708 == Info: TCP_NODELAY set
03:01:40.815827 == Info: Expire in 149942 ms for 3 (transfer 0x626d7a8)
03:01:40.820713 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:01:40.821248 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:01:40.822249 == Info: Marked for [keep alive]: HTTP default
03:01:40.842525 == Info: ALPN, offering h2
03:01:40.842817 == Info: ALPN, offering http/1.1
03:01:40.925304 == Info: successfully set certificate verify locations:
03:01:40.925564 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:01:41.006322 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:41.011336 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:41.011397 => Send SSL data, 178 bytes (0xb2)
0000: ......{..e74+Du.M.Q..&.....t.F...?.*[7F]"..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....[..............localhost..................
0080: ..........3t.........h2.http/1.1..................
03:01:41.028885 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:01:41.033328 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:41.033385 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y..W'_....'cJ)T.BW`....jo.O.Z.Z..&X ..:.}..K.F.5G.n.Q,.G$.O*8
0040: ...K;.`./....................
03:01:41.078343 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:41.078811 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:41.078867 <= 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:01:41.253041 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:41.253306 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:41.253365 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.......6IY.ZY..q...`H...@...^8.8h....}.C...,..R.....`.V.
0040: .j.r<..Bx....%j....Q..7..[..J_,j.~.v.T..#h.h..1.?.....h.....U.X.
0080: i,rq.fy..m.7%..w.../,K..>h.Yu.2..z.bb.i..^.o..@...k..0.Qjr.j..g.
00c0: m......mc..w...U.'.... .:".z.zX.[.?...F....z}p..U.Q.../*..}..^.p
0100: m........V.8.o'...m...8......"...`(T.E.?{!....{.......g.l.RW....
0140: ...k|N(.._[7F].z
03:01:41.273644 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:41.273967 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:41.274023 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:41.392781 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:41.393034 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:41.393094 => Send SSL data, 70 bytes (0x46)
0000: ...BA..L"2............+.S/+e..T0..,..]....J~....!..=f.5.6.......
0040: `..-..
03:01:41.405761 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:41.406317 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:41.406375 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:41.437970 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:41.438161 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:41.438216 => Send SSL data, 16 bytes (0x10)
0000: ....[4.9...0...3
03:01:41.440732 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:41.441760 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:41.441818 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:41.444242 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:41.449574 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:41.449630 <= Recv SSL data, 16 bytes (0x10)
0000: .......S...\.id.
03:01:41.471329 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:41.472048 == Info: ALPN, server did not agree to a protocol
03:01:41.474194 == Info: Server certificate:
03:01:41.481752 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
03:01:41.486547 == Info: start date: Sep 19 07:13:14 2018 GMT
03:01:41.487897 == Info: expire date: Dec 6 07:13:14 2026 GMT
03:01:41.490974 == Info: subjectAltName: host "localhost" matched cert's "localhost"
03:01:41.493267 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
03:01:41.494017 == Info: SSL certificate verify ok.
03:01:41.495515 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #0)
03:01:41.514268 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:01:41.516854 => Send header, 85 bytes (0x55)
0000: GET /310 HTTP/1.1
0013: Host: localhost:8991
0029: User-Agent: curl/7.64.0-DEV
0046: Accept: */*
0053:
03:01:41.519726 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #0)
03:01:41.520722 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:01:41.521509 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:01:41.526074 <= Recv SSL data, 5 bytes (0x5)
0000: ....[7F]
03:01:41.536581 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:01:41.539095 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:01:41.542743 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:01:41.544595 == Info: Server test-server/fake is not blacklisted
03:01:41.544881 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:01:41.545912 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:01:41.548124 <= Recv header, 1 bytes (0x1)
0000: .
03:01:41.548911 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:01:41.555316 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:01:41.555799 == Info: multi_done
03:01:41.563988 == Info: Connection #0 to host localhost left intact
03:01:41.565381 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace310
=== Start of file valgrind310
==6041== Invalid read of size 8
==6041== at 0x5E745A5: check_free (dlerror.c:188)
==6041== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6041== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6041== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6041== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6041== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6041== by 0x559AF79: exit (exit.c:139)
==6041== by 0x55850A1: (below main) (libc-start.c:342)
==6041== Address 0x6311a80 is 0 bytes after a block of size 32 alloc'd
==6041== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6041== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6041== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6041== by 0x4DD0E85: err_get_state (err.c:210)
==6041== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6041== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6041== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6041== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6041== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6041== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6041== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6041== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6041== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6041== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6041== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6041== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6041==
==6041== Invalid free() / delete / delete[] / realloc()
==6041== at 0x48369AB: free (vg_replace_malloc.c:530)
==6041== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6041== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6041== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6041== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6041== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6041== by 0x559AF79: exit (exit.c:139)
==6041== by 0x55850A1: (below main) (libc-start.c:342)
==6041== Address 0x6311a68 is 8 bytes inside a block of size 32 alloc'd
==6041== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6041== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6041== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6041== by 0x4DD0E85: err_get_state (err.c:210)
==6041== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6041== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6041== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6041== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6041== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6041== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6041== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6041== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6041== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6041== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6041== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6041== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6041==
==6041== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6041== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6041== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6041== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6041== by 0x4DD0E85: err_get_state (err.c:210)
==6041== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6041== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6041== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6041== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6041== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6041== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6041== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6041== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6041== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6041== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6041== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6041== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6041==
=== End of file valgrind310
test 0311...[HTTPS wrong subjectAltName but right CN]
goto problem 18
valgrind ERROR ==6058== Invalid read of size 8
==6058== at 0x5E745A5: check_free (dlerror.c:188)
==6058== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6058== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6058== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6058== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6058== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6058== by 0x559AF79: exit (exit.c:139)
==6058== by 0x55850A1: (below main) (libc-start.c:342)
==6058== Address 0x630f450 is 0 bytes after a block of size 32 alloc'd
==6058== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6058== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6058== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6058== by 0x4DD0E85: err_get_state (err.c:210)
==6058== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6058== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6058== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6058== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6058== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6058== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6058== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6058== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6058== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6058== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6058== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6058== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6058==
==6058== Invalid free() / delete / delete[] / realloc()
==6058== at 0x48369AB: free (vg_replace_malloc.c:530)
==6058== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6058== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6058== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6058== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6058== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6058== by 0x559AF79: exit (exit.c:139)
==6058== by 0x55850A1: (below main) (libc-start.c:342)
==6058== Address 0x630f438 is 8 bytes inside a block of size 32 alloc'd
==6058== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6058== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6058== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6058== by 0x4DD0E85: err_get_state (err.c:210)
==6058== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6058== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6058== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6058== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6058== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6058== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6058== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6058== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6058== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6058== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6058== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6058== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6058==
==6058== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6058== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6058== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6058== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6058== by 0x4DD0E85: err_get_state (err.c:210)
==6058== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6058== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6058== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6058== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6058== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6058== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6058== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6058== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6058== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6058== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6058== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6058== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6058==
== Contents of files in the log/ dir after test 311
=== Start of file http_server.log
03:00:59.449860 ====> Client connect
03:00:59.449898 accept_connection 3 returned 4
03:00:59.449913 accept_connection 3 returned 0
03:00:59.523713 Read 90 bytes
03:00:59.523752 Process 90 bytes request
03:00:59.523769 Got request: GET /want/303 HTTP/1.1
03:00:59.523779 Requested test number 303 part 0
03:00:59.523807 - request found to be complete
03:00:59.523856 Wrote request (90 bytes) input to log/server.input
03:00:59.523888 Send response test303 section <data>
03:00:59.523959 Response sent (94 bytes) and written to log/server.response
03:00:59.523971 Told to sleep for 20 seconds
03:01:19.543825 Continuing after sleeping 20 seconds
03:01:19.543879 => persistent connection request ended, awaits new request
03:01:19.543896 Connection closed by client
03:01:19.543903 ====> Client disconnect 0
03:01:22.254357 ====> Client connect
03:01:22.254380 accept_connection 3 returned 4
03:01:22.254394 accept_connection 3 returned 0
03:01:22.343594 Read 224 bytes
03:01:22.343633 Process 224 bytes request
03:01:22.343647 Got request: POST /we/want/304 HTTP/1.1
03:01:22.343656 Requested test number 304 part 0
03:01:22.343684 - request found to be complete
03:01:22.343694 Found Content-Length: 1386 in the request
03:01:23.364991 Read 1386 bytes
03:01:23.365028 Process 1610 bytes request [CONTINUED]
03:01:23.365041 - request found to be complete
03:01:23.365073 Wrote request (1610 bytes) input to log/server.input
03:01:23.365097 Send response test304 section <data>
03:01:23.365177 Response sent (108 bytes) and written to log/server.response
03:01:23.365188 => persistent connection request ended, awaits new request
03:01:23.427998 Connection closed by client
03:01:23.428039 ====> Client disconnect 0
03:01:27.400836 ====> Client connect
03:01:27.400860 accept_connection 3 returned 4
03:01:27.400873 accept_connection 3 returned 0
03:01:27.473823 Read 85 bytes
03:01:27.473861 Process 85 bytes request
03:01:27.473875 Got request: GET /306 HTTP/1.1
03:01:27.473884 Requested test number 306 part 0
03:01:27.473908 - request found to be complete
03:01:27.473936 Wrote request (85 bytes) input to log/server.input
03:01:27.473959 Send response test306 section <data>
03:01:27.473982 connection close instruction "swsclose" found in response
03:01:27.474029 Response sent (107 bytes) and written to log/server.response
03:01:27.474039 instructed to close connection after server-reply
03:01:27.474046 ====> Client disconnect 0
03:01:28.680360 ====> Client connect
03:01:28.680390 accept_connection 3 returned 4
03:01:28.680410 accept_connection 3 returned 0
03:01:28.708514 Read 90 bytes
03:01:28.708569 Process 90 bytes request
03:01:28.708593 Got request: GET /want/309 HTTP/1.1
03:01:28.708608 Requested test number 309 part 0
03:01:28.708647 - request found to be complete
03:01:28.708685 Wrote request (90 bytes) input to log/server.input
03:01:28.708716 Send response test309 section <data>
03:01:28.708756 connection close instruction "swsclose" found in response
03:01:28.708868 Response sent (277 bytes) and written to log/server.response
03:01:28.708884 instructed to close connection after server-reply
03:01:28.708896 ====> Client disconnect 0
03:01:30.467105 ====> Client connect
03:01:30.467131 accept_connection 3 returned 4
03:01:30.467151 accept_connection 3 returned 0
03:01:30.532815 Read 111 bytes
03:01:30.532861 Process 111 bytes request
03:01:30.532882 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
03:01:30.532896 Requested test number 309 part 2
03:01:30.532932 - request found to be complete
03:01:30.532950 Wrote request (111 bytes) input to log/server.input
03:01:30.532970 Send response test309 section <data2>
03:01:30.533007 connection close instruction "swsclose" found in response
03:01:30.533087 Response sent (179 bytes) and written to log/server.response
03:01:30.533102 instructed to close connection after server-reply
03:01:30.533115 ====> Client disconnect 0
03:01:30.684942 signalled to die
03:01:30.685015 ========> IPv4 sws (port 8990 pid: 4647) exits with signal (15)
03:01:35.698890 Running HTTP IPv4 version on port 8990
03:01:35.699001 Wrote pid 6028 to .http_server.pid
03:01:36.698630 ====> Client connect
03:01:36.698656 accept_connection 3 returned 4
03:01:36.698670 accept_connection 3 returned 0
03:01:36.698683 Read 96 bytes
03:01:36.698692 Process 96 bytes request
03:01:36.698708 Got request: GET /verifiedserver HTTP/1.1
03:01:36.698719 Are-we-friendly question received
03:01:36.698730 Wrote request (96 bytes) input to log/server.input
03:01:36.698744 Identifying ourselves as friends
03:01:36.698786 Response sent (55 bytes) and written to log/server.response
03:01:36.698795 special request received, no persistency
03:01:36.698802 ====> Client disconnect 0
03:01:38.731142 ====> Client connect
03:01:38.731169 accept_connection 3 returned 4
03:01:38.731186 accept_connection 3 returned 0
03:01:38.731389 Read 96 bytes
03:01:38.731407 Process 96 bytes request
03:01:38.731424 Got request: GET /verifiedserver HTTP/1.1
03:01:38.731432 Are-we-friendly question received
03:01:38.731442 Wrote request (96 bytes) input to log/server.input
03:01:38.731452 Identifying ourselves as friends
03:01:38.731486 Response sent (55 bytes) and written to log/server.response
03:01:38.731498 special request received, no persistency
03:01:38.731510 ====> Client disconnect 0
03:01:41.439090 ====> Client connect
03:01:41.439119 accept_connection 3 returned 4
03:01:41.439134 accept_connection 3 returned 0
03:01:41.515714 Read 85 bytes
03:01:41.515757 Process 85 bytes request
03:01:41.515776 Got request: GET /310 HTTP/1.1
03:01:41.515787 Requested test number 310 part 0
03:01:41.515818 - request found to be complete
03:01:41.515847 Wrote request (85 bytes) input to log/server.input
03:01:41.515870 Send response test310 section <data>
03:01:41.515933 Response sent (103 bytes) and written to log/server.response
03:01:41.515944 => persistent connection request ended, awaits new request
03:01:41.580467 Connection closed by client
03:01:41.580525 ====> Client disconnect 0
03:01:41.667577 signalled to die
03:01:41.667643 ========> IPv4 sws (port 8990 pid: 6028) exits with signal (15)
03:01:46.681790 Running HTTP IPv4 version on port 8990
03:01:46.681890 Wrote pid 6045 to .http_server.pid
03:01:47.681215 ====> Client connect
03:01:47.681239 accept_connection 3 returned 4
03:01:47.681253 accept_connection 3 returned 0
03:01:47.681266 Read 96 bytes
03:01:47.681276 Process 96 bytes request
03:01:47.681292 Got request: GET /verifiedserver HTTP/1.1
03:01:47.681303 Are-we-friendly question received
03:01:47.681314 Wrote request (96 bytes) input to log/server.input
03:01:47.681329 Identifying ourselves as friends
03:01:47.681371 Response sent (55 bytes) and written to log/server.response
03:01:47.681380 special request received, no persistency
03:01:47.681387 ====> Client disconnect 0
03:01:49.713965 ====> Client connect
03:01:49.713993 accept_connection 3 returned 4
03:01:49.714007 accept_connection 3 returned 0
03:01:49.714192 Read 96 bytes
03:01:49.714217 Process 96 bytes request
03:01:49.714233 Got request: GET /verifiedserver HTTP/1.1
03:01:49.714241 Are-we-friendly question received
03:01:49.714251 Wrote request (96 bytes) input to log/server.input
03:01:49.714262 Identifying ourselves as friends
03:01:49.714305 Response sent (55 bytes) and written to log/server.response
03:01:49.714320 special request received, no persistency
03:01:49.714328 ====> Client disconnect 0
03:01:52.403984 ====> Client connect
03:01:52.404018 accept_connection 3 returned 4
03:01:52.404039 accept_connection 3 returned 0
03:01:52.474780 Connection closed by client
03:01:52.474818 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* Expire in 0 ms for 6 (transfer 0x55fd64ec16a8)
* Expire in 13000 ms for 8 (transfer 0x55fd64ec16a8)
* STATE: INIT => CONNECT handle 0x55fd64ec16a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55fd64ec16a8)
* STATE: CONNECT => WAITCONNECT handle 0x55fd64ec16a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55fd64ec16a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55fd64ec16a8; line 1631 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55fd64ec16a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55fd64ec16a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55fd64ec16a8; line 1849 (connection #0)
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 16
<
{ [16 bytes data]
* STATE: PERFORM => DONE handle 0x55fd64ec16a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55fd64ec16a8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 6045
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.01.13 03:01:48 LOG5[6051]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.13 03:01:48 LOG5[6051]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.13 03:01:48 LOG5[6051]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.13 03:01:48 LOG5[6051]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.13 03:01:48 LOG5[6051]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.13 03:01:48 LOG5[6051]: Reading configuration from file /build-4871/tests/https_stunnel.conf
2019.01.13 03:01:48 LOG5[6051]: FIPS mode disabled
2019.01.13 03:01:48 LOG5[6051]: Configuration successful
2019.01.13 03:01:49 LOG5[6054]: Service [curltest] accepted connection from 127.0.0.1:52570
2019.01.13 03:01:49 LOG5[6054]: s_connect: connected 127.0.0.1:8990
2019.01.13 03:01:49 LOG5[6054]: Service [curltest] connected remote server from 127.0.0.1:47182
2019.01.13 03:01:49 LOG5[6054]: Connection closed: 55 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.13 03:01:51 LOG5[6059]: Service [curltest] accepted connection from 127.0.0.1:52576
2019.01.13 03:01:52 LOG5[6059]: s_connect: connected 127.0.0.1:8990
2019.01.13 03:01:52 LOG5[6059]: Service [curltest] connected remote server from 127.0.0.1:47188
2019.01.13 03:01:52 LOG5[6059]: 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
* Expire in 0 ms for 6 (transfer 0x55b4144746a8)
* Expire in 13000 ms for 8 (transfer 0x55b4144746a8)
* STATE: INIT => CONNECT handle 0x55b4144746a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55b4144746a8)
* STATE: CONNECT => WAITCONNECT handle 0x55b4144746a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55b4144746a8; line 1613 (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):
} [160 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55b4144746a8; line 1627 (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 0x55b4144746a8; line 1648 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55b4144746a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55b4144746a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55b4144746a8; line 1849 (connection #0)
{ [5 bytes data]
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 16
<
{ [16 bytes data]
* STATE: PERFORM => DONE handle 0x55b4144746a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55b4144746a8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 6045
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
_data_result_data_
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 10
blablabla
No headers at all, just data swsclose
Let's get
a little
so that
we
have
some
test
data to
verify
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
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6028
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6028
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6045
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6045
=== 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
03:01:51.635589 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:01:51.660547 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:01:51.698064 == Info: Added connection 0. The cache now contains 1 members
03:01:51.750883 == Info: Trying ::1...
03:01:51.751521 == Info: TCP_NODELAY set
03:01:51.753955 == Info: Expire in 149959 ms for 3 (transfer 0x626d7a8)
03:01:51.755819 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:01:51.757391 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:01:51.771470 == Info: connect to ::1 port 8991 failed: Connection refused
03:01:51.773589 == Info: Trying 127.0.0.1...
03:01:51.773653 == Info: TCP_NODELAY set
03:01:51.773773 == Info: Expire in 149949 ms for 3 (transfer 0x626d7a8)
03:01:51.782161 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:01:51.782699 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:01:51.783801 == Info: Marked for [keep alive]: HTTP default
03:01:51.806562 == Info: ALPN, offering h2
03:01:51.806854 == Info: ALPN, offering http/1.1
03:01:51.889225 == Info: successfully set certificate verify locations:
03:01:51.889485 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:01:51.972678 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:51.978070 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:51.978137 => Send SSL data, 178 bytes (0xb2)
0000: ......g..G...8..)....S..BY.tl@Q.[7F].u.^...*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....[..............localhost..................
0080: ..........3t.........h2.http/1.1..................
03:01:51.995606 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:01:52.000035 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:52.000093 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y..r.....M...`l.j..r...h*&5..@....n .C.......)..&?....* ,.&.J
0040: ..FZe.s./....................
03:01:52.045966 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:52.046435 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:52.046491 <= 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.
03:01:52.219159 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:52.219419 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:52.219482 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.x...........Zb...'....k..w....]w.\...MR..... y..Z.....J
0040: 2S..v\S.,....i....U.....\.9j.QR....a.p..$.Z....@N..)V......N..0.
0080: .....P....,..6RY>.A*.u.......C...q.9....f...ZL.GQbhm...NS...4...
00c0: O..x)B}j.{X..'.}........`.p-$.:.8.".,!..q..._....[....p @....,..
0100: .A...+..`..|.q....*D#..}.ZX.@-x.,4...CLy.. S.(......P...^...^N.7
0140: p..F..l.Hc.N.
03:01:52.239653 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:52.239983 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:52.240043 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:52.357835 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:52.358084 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:52.358142 => Send SSL data, 70 bytes (0x46)
0000: ...BA..h.....C}.>u...ZIj..2..G14.....Z-.f.q....r.".G..{>...G..&.
0040: ..Fv..
03:01:52.370600 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:52.371178 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:52.371237 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:52.402820 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:52.403009 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:52.403065 => Send SSL data, 16 bytes (0x10)
0000: ....tM.R.......0
03:01:52.405640 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:52.406673 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:52.406731 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:52.409162 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:52.414481 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:52.414538 <= Recv SSL data, 16 bytes (0x10)
0000: ....{n....s1....
03:01:52.436094 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:52.436817 == Info: ALPN, server did not agree to a protocol
03:01:52.439017 == Info: Server certificate:
03:01:52.446563 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
03:01:52.451395 == Info: start date: Sep 19 07:14:23 2018 GMT
03:01:52.452743 == Info: expire date: Dec 6 07:14:23 2026 GMT
03:01:52.455895 == Info: subjectAltName does not match localhost
03:01:52.456593 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
03:01:52.457318 == Info: Marked for [closure]: Failed HTTPS connection
03:01:52.457849 == Info: multi_done
03:01:52.466494 == Info: Closing connection 0
03:01:52.469069 == Info: The cache now contains 0 members
03:01:52.496287 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace311
=== Start of file valgrind311
==6058== Invalid read of size 8
==6058== at 0x5E745A5: check_free (dlerror.c:188)
==6058== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6058== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6058== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6058== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6058== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6058== by 0x559AF79: exit (exit.c:139)
==6058== by 0x55850A1: (below main) (libc-start.c:342)
==6058== Address 0x630f450 is 0 bytes after a block of size 32 alloc'd
==6058== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6058== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6058== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6058== by 0x4DD0E85: err_get_state (err.c:210)
==6058== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6058== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6058== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6058== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6058== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6058== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6058== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6058== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6058== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6058== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6058== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6058== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6058==
==6058== Invalid free() / delete / delete[] / realloc()
==6058== at 0x48369AB: free (vg_replace_malloc.c:530)
==6058== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6058== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6058== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6058== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6058== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6058== by 0x559AF79: exit (exit.c:139)
==6058== by 0x55850A1: (below main) (libc-start.c:342)
==6058== Address 0x630f438 is 8 bytes inside a block of size 32 alloc'd
==6058== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6058== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6058== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6058== by 0x4DD0E85: err_get_state (err.c:210)
==6058== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6058== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6058== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6058== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6058== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6058== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6058== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6058== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6058== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6058== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6058== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6058== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6058==
==6058== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6058== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6058== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6058== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6058== by 0x4DD0E85: err_get_state (err.c:210)
==6058== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6058== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6058== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6058== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6058== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6058== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6058== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6058== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6058== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6058== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6058== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6058== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6058==
=== End of file valgrind311
test 0312...[HTTPS GET to localhost and null-prefixed CN cert]
goto problem 19
valgrind ERROR ==6077== Invalid read of size 8
==6077== at 0x5E745A5: check_free (dlerror.c:188)
==6077== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6077== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6077== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6077== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6077== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6077== by 0x559AF79: exit (exit.c:139)
==6077== by 0x55850A1: (below main) (libc-start.c:342)
==6077== Address 0x630f450 is 0 bytes after a block of size 32 alloc'd
==6077== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6077== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6077== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6077== by 0x4DD0E85: err_get_state (err.c:210)
==6077== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6077== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6077== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6077== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6077== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6077== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6077== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6077== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6077== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6077== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6077== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6077== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6077==
==6077== Invalid free() / delete / delete[] / realloc()
==6077== at 0x48369AB: free (vg_replace_malloc.c:530)
==6077== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6077== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6077== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6077== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6077== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6077== by 0x559AF79: exit (exit.c:139)
==6077== by 0x55850A1: (below main) (libc-start.c:342)
==6077== Address 0x630f438 is 8 bytes inside a block of size 32 alloc'd
==6077== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6077== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6077== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6077== by 0x4DD0E85: err_get_state (err.c:210)
==6077== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6077== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6077== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6077== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6077== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6077== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6077== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6077== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6077== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6077== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6077== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6077== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6077==
==6077== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6077== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6077== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6077== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6077== by 0x4DD0E85: err_get_state (err.c:210)
==6077== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6077== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6077== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6077== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6077== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6077== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6077== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6077== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6077== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6077== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6077== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6077== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6077==
== Contents of files in the log/ dir after test 312
=== Start of file http_server.log
03:00:59.449860 ====> Client connect
03:00:59.449898 accept_connection 3 returned 4
03:00:59.449913 accept_connection 3 returned 0
03:00:59.523713 Read 90 bytes
03:00:59.523752 Process 90 bytes request
03:00:59.523769 Got request: GET /want/303 HTTP/1.1
03:00:59.523779 Requested test number 303 part 0
03:00:59.523807 - request found to be complete
03:00:59.523856 Wrote request (90 bytes) input to log/server.input
03:00:59.523888 Send response test303 section <data>
03:00:59.523959 Response sent (94 bytes) and written to log/server.response
03:00:59.523971 Told to sleep for 20 seconds
03:01:19.543825 Continuing after sleeping 20 seconds
03:01:19.543879 => persistent connection request ended, awaits new request
03:01:19.543896 Connection closed by client
03:01:19.543903 ====> Client disconnect 0
03:01:22.254357 ====> Client connect
03:01:22.254380 accept_connection 3 returned 4
03:01:22.254394 accept_connection 3 returned 0
03:01:22.343594 Read 224 bytes
03:01:22.343633 Process 224 bytes request
03:01:22.343647 Got request: POST /we/want/304 HTTP/1.1
03:01:22.343656 Requested test number 304 part 0
03:01:22.343684 - request found to be complete
03:01:22.343694 Found Content-Length: 1386 in the request
03:01:23.364991 Read 1386 bytes
03:01:23.365028 Process 1610 bytes request [CONTINUED]
03:01:23.365041 - request found to be complete
03:01:23.365073 Wrote request (1610 bytes) input to log/server.input
03:01:23.365097 Send response test304 section <data>
03:01:23.365177 Response sent (108 bytes) and written to log/server.response
03:01:23.365188 => persistent connection request ended, awaits new request
03:01:23.427998 Connection closed by client
03:01:23.428039 ====> Client disconnect 0
03:01:27.400836 ====> Client connect
03:01:27.400860 accept_connection 3 returned 4
03:01:27.400873 accept_connection 3 returned 0
03:01:27.473823 Read 85 bytes
03:01:27.473861 Process 85 bytes request
03:01:27.473875 Got request: GET /306 HTTP/1.1
03:01:27.473884 Requested test number 306 part 0
03:01:27.473908 - request found to be complete
03:01:27.473936 Wrote request (85 bytes) input to log/server.input
03:01:27.473959 Send response test306 section <data>
03:01:27.473982 connection close instruction "swsclose" found in response
03:01:27.474029 Response sent (107 bytes) and written to log/server.response
03:01:27.474039 instructed to close connection after server-reply
03:01:27.474046 ====> Client disconnect 0
03:01:28.680360 ====> Client connect
03:01:28.680390 accept_connection 3 returned 4
03:01:28.680410 accept_connection 3 returned 0
03:01:28.708514 Read 90 bytes
03:01:28.708569 Process 90 bytes request
03:01:28.708593 Got request: GET /want/309 HTTP/1.1
03:01:28.708608 Requested test number 309 part 0
03:01:28.708647 - request found to be complete
03:01:28.708685 Wrote request (90 bytes) input to log/server.input
03:01:28.708716 Send response test309 section <data>
03:01:28.708756 connection close instruction "swsclose" found in response
03:01:28.708868 Response sent (277 bytes) and written to log/server.response
03:01:28.708884 instructed to close connection after server-reply
03:01:28.708896 ====> Client disconnect 0
03:01:30.467105 ====> Client connect
03:01:30.467131 accept_connection 3 returned 4
03:01:30.467151 accept_connection 3 returned 0
03:01:30.532815 Read 111 bytes
03:01:30.532861 Process 111 bytes request
03:01:30.532882 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
03:01:30.532896 Requested test number 309 part 2
03:01:30.532932 - request found to be complete
03:01:30.532950 Wrote request (111 bytes) input to log/server.input
03:01:30.532970 Send response test309 section <data2>
03:01:30.533007 connection close instruction "swsclose" found in response
03:01:30.533087 Response sent (179 bytes) and written to log/server.response
03:01:30.533102 instructed to close connection after server-reply
03:01:30.533115 ====> Client disconnect 0
03:01:30.684942 signalled to die
03:01:30.685015 ========> IPv4 sws (port 8990 pid: 4647) exits with signal (15)
03:01:35.698890 Running HTTP IPv4 version on port 8990
03:01:35.699001 Wrote pid 6028 to .http_server.pid
03:01:36.698630 ====> Client connect
03:01:36.698656 accept_connection 3 returned 4
03:01:36.698670 accept_connection 3 returned 0
03:01:36.698683 Read 96 bytes
03:01:36.698692 Process 96 bytes request
03:01:36.698708 Got request: GET /verifiedserver HTTP/1.1
03:01:36.698719 Are-we-friendly question received
03:01:36.698730 Wrote request (96 bytes) input to log/server.input
03:01:36.698744 Identifying ourselves as friends
03:01:36.698786 Response sent (55 bytes) and written to log/server.response
03:01:36.698795 special request received, no persistency
03:01:36.698802 ====> Client disconnect 0
03:01:38.731142 ====> Client connect
03:01:38.731169 accept_connection 3 returned 4
03:01:38.731186 accept_connection 3 returned 0
03:01:38.731389 Read 96 bytes
03:01:38.731407 Process 96 bytes request
03:01:38.731424 Got request: GET /verifiedserver HTTP/1.1
03:01:38.731432 Are-we-friendly question received
03:01:38.731442 Wrote request (96 bytes) input to log/server.input
03:01:38.731452 Identifying ourselves as friends
03:01:38.731486 Response sent (55 bytes) and written to log/server.response
03:01:38.731498 special request received, no persistency
03:01:38.731510 ====> Client disconnect 0
03:01:41.439090 ====> Client connect
03:01:41.439119 accept_connection 3 returned 4
03:01:41.439134 accept_connection 3 returned 0
03:01:41.515714 Read 85 bytes
03:01:41.515757 Process 85 bytes request
03:01:41.515776 Got request: GET /310 HTTP/1.1
03:01:41.515787 Requested test number 310 part 0
03:01:41.515818 - request found to be complete
03:01:41.515847 Wrote request (85 bytes) input to log/server.input
03:01:41.515870 Send response test310 section <data>
03:01:41.515933 Response sent (103 bytes) and written to log/server.response
03:01:41.515944 => persistent connection request ended, awaits new request
03:01:41.580467 Connection closed by client
03:01:41.580525 ====> Client disconnect 0
03:01:41.667577 signalled to die
03:01:41.667643 ========> IPv4 sws (port 8990 pid: 6028) exits with signal (15)
03:01:46.681790 Running HTTP IPv4 version on port 8990
03:01:46.681890 Wrote pid 6045 to .http_server.pid
03:01:47.681215 ====> Client connect
03:01:47.681239 accept_connection 3 returned 4
03:01:47.681253 accept_connection 3 returned 0
03:01:47.681266 Read 96 bytes
03:01:47.681276 Process 96 bytes request
03:01:47.681292 Got request: GET /verifiedserver HTTP/1.1
03:01:47.681303 Are-we-friendly question received
03:01:47.681314 Wrote request (96 bytes) input to log/server.input
03:01:47.681329 Identifying ourselves as friends
03:01:47.681371 Response sent (55 bytes) and written to log/server.response
03:01:47.681380 special request received, no persistency
03:01:47.681387 ====> Client disconnect 0
03:01:49.713965 ====> Client connect
03:01:49.713993 accept_connection 3 returned 4
03:01:49.714007 accept_connection 3 returned 0
03:01:49.714192 Read 96 bytes
03:01:49.714217 Process 96 bytes request
03:01:49.714233 Got request: GET /verifiedserver HTTP/1.1
03:01:49.714241 Are-we-friendly question received
03:01:49.714251 Wrote request (96 bytes) input to log/server.input
03:01:49.714262 Identifying ourselves as friends
03:01:49.714305 Response sent (55 bytes) and written to log/server.response
03:01:49.714320 special request received, no persistency
03:01:49.714328 ====> Client disconnect 0
03:01:52.403984 ====> Client connect
03:01:52.404018 accept_connection 3 returned 4
03:01:52.404039 accept_connection 3 returned 0
03:01:52.474780 Connection closed by client
03:01:52.474818 ====> Client disconnect 0
03:01:52.572107 signalled to die
03:01:52.572159 ========> IPv4 sws (port 8990 pid: 6045) exits with signal (15)
03:01:57.586238 Running HTTP IPv4 version on port 8990
03:01:57.586339 Wrote pid 6064 to .http_server.pid
03:01:58.585657 ====> Client connect
03:01:58.585683 accept_connection 3 returned 4
03:01:58.585700 accept_connection 3 returned 0
03:01:58.585733 Read 96 bytes
03:01:58.585750 Process 96 bytes request
03:01:58.585773 Got request: GET /verifiedserver HTTP/1.1
03:01:58.585790 Are-we-friendly question received
03:01:58.585818 Wrote request (96 bytes) input to log/server.input
03:01:58.585835 Identifying ourselves as friends
03:01:58.585879 Response sent (55 bytes) and written to log/server.response
03:01:58.585894 special request received, no persistency
03:01:58.585905 ====> Client disconnect 0
03:02:00.618485 ====> Client connect
03:02:00.618510 accept_connection 3 returned 4
03:02:00.618522 accept_connection 3 returned 0
03:02:00.618690 Read 96 bytes
03:02:00.618715 Process 96 bytes request
03:02:00.618731 Got request: GET /verifiedserver HTTP/1.1
03:02:00.618742 Are-we-friendly question received
03:02:00.618755 Wrote request (96 bytes) input to log/server.input
03:02:00.618766 Identifying ourselves as friends
03:02:00.618803 Response sent (55 bytes) and written to log/server.response
03:02:00.618812 special request received, no persistency
03:02:00.618819 ====> Client disconnect 0
03:02:03.328196 ====> Client connect
03:02:03.328218 accept_connection 3 returned 4
03:02:03.328232 accept_connection 3 returned 0
03:02:03.403294 Connection closed by client
03:02:03.403334 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* Expire in 0 ms for 6 (transfer 0x562f215576a8)
* Expire in 13000 ms for 8 (transfer 0x562f215576a8)
* STATE: INIT => CONNECT handle 0x562f215576a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x562f215576a8)
* STATE: CONNECT => WAITCONNECT handle 0x562f215576a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x562f215576a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x562f215576a8; line 1631 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x562f215576a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x562f215576a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x562f215576a8; line 1849 (connection #0)
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 16
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x562f215576a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x562f215576a8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 6064
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.01.13 03:01:59 LOG5[6070]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.13 03:01:59 LOG5[6070]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.13 03:01:59 LOG5[6070]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.13 03:01:59 LOG5[6070]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.13 03:01:59 LOG5[6070]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.13 03:01:59 LOG5[6070]: Reading configuration from file /build-4871/tests/https_stunnel.conf
2019.01.13 03:01:59 LOG5[6070]: FIPS mode disabled
2019.01.13 03:01:59 LOG5[6070]: Configuration successful
2019.01.13 03:02:00 LOG5[6073]: Service [curltest] accepted connection from 127.0.0.1:52582
2019.01.13 03:02:00 LOG5[6073]: s_connect: connected 127.0.0.1:8990
2019.01.13 03:02:00 LOG5[6073]: Service [curltest] connected remote server from 127.0.0.1:47194
2019.01.13 03:02:00 LOG5[6073]: Connection closed: 55 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.13 03:02:02 LOG5[6080]: Service [curltest] accepted connection from 127.0.0.1:52588
2019.01.13 03:02:03 LOG5[6080]: s_connect: connected 127.0.0.1:8990
2019.01.13 03:02:03 LOG5[6080]: Service [curltest] connected remote server from 127.0.0.1:47200
2019.01.13 03:02:03 LOG5[6080]: 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
* Expire in 0 ms for 6 (transfer 0x55a4214866a8)
* Expire in 13000 ms for 8 (transfer 0x55a4214866a8)
* STATE: INIT => CONNECT handle 0x55a4214866a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55a4214866a8)
* STATE: CONNECT => WAITCONNECT handle 0x55a4214866a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55a4214866a8; line 1613 (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):
} [160 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55a4214866a8; line 1627 (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 0x55a4214866a8; line 1648 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55a4214866a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55a4214866a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55a4214866a8; line 1849 (connection #0)
{ [5 bytes data]
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 16
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x55a4214866a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55a4214866a8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 6064
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
_data_result_data_
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 10
blablabla
No headers at all, just data swsclose
Let's get
a little
so that
we
have
some
test
data to
verify
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
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6028
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6028
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6045
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6045
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6064
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6064
=== 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
03:02:02.557955 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:02:02.582818 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:02:02.620433 == Info: Added connection 0. The cache now contains 1 members
03:02:02.673269 == Info: Trying ::1...
03:02:02.673973 == Info: TCP_NODELAY set
03:02:02.676419 == Info: Expire in 149959 ms for 3 (transfer 0x626d7a8)
03:02:02.678289 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:02:02.679862 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:02:02.693875 == Info: connect to ::1 port 8991 failed: Connection refused
03:02:02.696024 == Info: Trying 127.0.0.1...
03:02:02.696090 == Info: TCP_NODELAY set
03:02:02.696208 == Info: Expire in 149949 ms for 3 (transfer 0x626d7a8)
03:02:02.704765 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:02:02.705277 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:02:02.706278 == Info: Marked for [keep alive]: HTTP default
03:02:02.726509 == Info: ALPN, offering h2
03:02:02.726783 == Info: ALPN, offering http/1.1
03:02:02.809712 == Info: successfully set certificate verify locations:
03:02:02.809969 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:02:02.890927 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:02.895998 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:02:02.896067 => Send SSL data, 178 bytes (0xb2)
0000: .......^.({..n.#......,..m.X{.^?...)5...*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....[..............localhost..................
0080: ..........3t.........h2.http/1.1..................
03:02:02.913874 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:02:02.918313 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:02:02.918374 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y..?.P.....CtT......7.'...~..-|...E j.>....sVs6..|sn../....bF
0040: ...S.:../....................
03:02:02.963843 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:02.964317 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:02:02.964376 <= 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:02:03.139530 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:02:03.139796 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:02:03.139861 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A........>f!.0.7....&.O..{L....A...|.A...Y'.......L.n....
0040: .3.B...E.....r......e5.......<.`6.f......GW..........b.f,...K...
0080: .....S....=.. ..g}.......%.3j`..[.."......y.\....6<.....p......c
00c0: #[7F].;S.A..(./..kFDI...[7F]A.6T.Z.6..N.}...... 9.*.5z..E..@.R..n....v
0100: ...|.p1R..Y..(.%.H..KC..j....]ni.a.9...6...+..G....e-:A7.]......
0140: .....1.9.N"..
03:02:03.160289 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:03.160614 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:02:03.160670 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:02:03.281347 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:02:03.281607 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:02:03.281667 => Send SSL data, 70 bytes (0x46)
0000: ...BA..[B}.ma+.>.U...#...6....>...Z0....lq.....Y3..@...T.z..Zq.%
0040: r.....
03:02:03.294275 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:03.294955 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:02:03.295016 => Send SSL data, 1 bytes (0x1)
0000: .
03:02:03.327055 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:02:03.327245 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:02:03.327301 => Send SSL data, 16 bytes (0x10)
0000: .....16...<.K...
03:02:03.329919 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:03.331020 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:02:03.331101 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:02:03.333590 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:02:03.339163 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:02:03.339221 <= Recv SSL data, 16 bytes (0x10)
0000: ......w.\.*..g.0
03:02:03.361624 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:02:03.362338 == Info: ALPN, server did not agree to a protocol
03:02:03.364577 == Info: Server certificate:
03:02:03.372559 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost.nn
03:02:03.377702 == Info: start date: Sep 19 07:14:12 2018 GMT
03:02:03.379396 == Info: expire date: Dec 6 07:14:12 2026 GMT
03:02:03.384054 == Info: subjectAltName does not match localhost
03:02:03.384754 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
03:02:03.385572 == Info: Marked for [closure]: Failed HTTPS connection
03:02:03.386109 == Info: multi_done
03:02:03.394823 == Info: Closing connection 0
03:02:03.397411 == Info: The cache now contains 0 members
03:02:03.425633 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace312
=== Start of file valgrind312
==6077== Invalid read of size 8
==6077== at 0x5E745A5: check_free (dlerror.c:188)
==6077== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6077== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6077== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6077== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6077== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6077== by 0x559AF79: exit (exit.c:139)
==6077== by 0x55850A1: (below main) (libc-start.c:342)
==6077== Address 0x630f450 is 0 bytes after a block of size 32 alloc'd
==6077== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6077== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6077== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6077== by 0x4DD0E85: err_get_state (err.c:210)
==6077== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6077== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6077== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6077== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6077== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6077== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6077== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6077== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6077== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6077== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6077== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6077== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6077==
==6077== Invalid free() / delete / delete[] / realloc()
==6077== at 0x48369AB: free (vg_replace_malloc.c:530)
==6077== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6077== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6077== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6077== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6077== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6077== by 0x559AF79: exit (exit.c:139)
==6077== by 0x55850A1: (below main) (libc-start.c:342)
==6077== Address 0x630f438 is 8 bytes inside a block of size 32 alloc'd
==6077== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6077== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6077== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6077== by 0x4DD0E85: err_get_state (err.c:210)
==6077== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6077== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6077== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6077== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6077== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6077== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6077== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6077== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6077== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6077== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6077== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6077== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6077==
==6077== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6077== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6077== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6077== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6077== by 0x4DD0E85: err_get_state (err.c:210)
==6077== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6077== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6077== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6077== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6077== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6077== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6077== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6077== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6077== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6077== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6077== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6077== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6077==
=== End of file valgrind312
test 0313...[CRL test]
goto problem 20
valgrind ERROR ==6110== Invalid read of size 8
==6110== at 0x5E745A5: check_free (dlerror.c:188)
==6110== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6110== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6110== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6110== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6110== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6110== by 0x559AF79: exit (exit.c:139)
==6110== by 0x55850A1: (below main) (libc-start.c:342)
==6110== Address 0x63113f0 is 0 bytes after a block of size 32 alloc'd
==6110== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6110== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6110== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6110== by 0x4DD0E85: err_get_state (err.c:210)
==6110== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6110== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6110== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6110== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6110== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6110== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6110== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6110== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6110== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6110== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6110== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6110== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6110==
==6110== Invalid free() / delete / delete[] / realloc()
==6110== at 0x48369AB: free (vg_replace_malloc.c:530)
==6110== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6110== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6110== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6110== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6110== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6110== by 0x559AF79: exit (exit.c:139)
==6110== by 0x55850A1: (below main) (libc-start.c:342)
==6110== Address 0x63113d8 is 8 bytes inside a block of size 32 alloc'd
==6110== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6110== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6110== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6110== by 0x4DD0E85: err_get_state (err.c:210)
==6110== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6110== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6110== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6110== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6110== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6110== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6110== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6110== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6110== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6110== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6110== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6110== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6110==
==6110== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==6110== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6110== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6110== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6110== by 0x4DD0E85: err_get_state (err.c:210)
==6110== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6110== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6110== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6110== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6110== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6110== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6110== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6110== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6110== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6110== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6110== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6110== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6110==
== Contents of files in the log/ dir after test 313
=== Start of file http_server.log
03:00:59.449860 ====> Client connect
03:00:59.449898 accept_connection 3 returned 4
03:00:59.449913 accept_connection 3 returned 0
03:00:59.523713 Read 90 bytes
03:00:59.523752 Process 90 bytes request
03:00:59.523769 Got request: GET /want/303 HTTP/1.1
03:00:59.523779 Requested test number 303 part 0
03:00:59.523807 - request found to be complete
03:00:59.523856 Wrote request (90 bytes) input to log/server.input
03:00:59.523888 Send response test303 section <data>
03:00:59.523959 Response sent (94 bytes) and written to log/server.response
03:00:59.523971 Told to sleep for 20 seconds
03:01:19.543825 Continuing after sleeping 20 seconds
03:01:19.543879 => persistent connection request ended, awaits new request
03:01:19.543896 Connection closed by client
03:01:19.543903 ====> Client disconnect 0
03:01:22.254357 ====> Client connect
03:01:22.254380 accept_connection 3 returned 4
03:01:22.254394 accept_connection 3 returned 0
03:01:22.343594 Read 224 bytes
03:01:22.343633 Process 224 bytes request
03:01:22.343647 Got request: POST /we/want/304 HTTP/1.1
03:01:22.343656 Requested test number 304 part 0
03:01:22.343684 - request found to be complete
03:01:22.343694 Found Content-Length: 1386 in the request
03:01:23.364991 Read 1386 bytes
03:01:23.365028 Process 1610 bytes request [CONTINUED]
03:01:23.365041 - request found to be complete
03:01:23.365073 Wrote request (1610 bytes) input to log/server.input
03:01:23.365097 Send response test304 section <data>
03:01:23.365177 Response sent (108 bytes) and written to log/server.response
03:01:23.365188 => persistent connection request ended, awaits new request
03:01:23.427998 Connection closed by client
03:01:23.428039 ====> Client disconnect 0
03:01:27.400836 ====> Client connect
03:01:27.400860 accept_connection 3 returned 4
03:01:27.400873 accept_connection 3 returned 0
03:01:27.473823 Read 85 bytes
03:01:27.473861 Process 85 bytes request
03:01:27.473875 Got request: GET /306 HTTP/1.1
03:01:27.473884 Requested test number 306 part 0
03:01:27.473908 - request found to be complete
03:01:27.473936 Wrote request (85 bytes) input to log/server.input
03:01:27.473959 Send response test306 section <data>
03:01:27.473982 connection close instruction "swsclose" found in response
03:01:27.474029 Response sent (107 bytes) and written to log/server.response
03:01:27.474039 instructed to close connection after server-reply
03:01:27.474046 ====> Client disconnect 0
03:01:28.680360 ====> Client connect
03:01:28.680390 accept_connection 3 returned 4
03:01:28.680410 accept_connection 3 returned 0
03:01:28.708514 Read 90 bytes
03:01:28.708569 Process 90 bytes request
03:01:28.708593 Got request: GET /want/309 HTTP/1.1
03:01:28.708608 Requested test number 309 part 0
03:01:28.708647 - request found to be complete
03:01:28.708685 Wrote request (90 bytes) input to log/server.input
03:01:28.708716 Send response test309 section <data>
03:01:28.708756 connection close instruction "swsclose" found in response
03:01:28.708868 Response sent (277 bytes) and written to log/server.response
03:01:28.708884 instructed to close connection after server-reply
03:01:28.708896 ====> Client disconnect 0
03:01:30.467105 ====> Client connect
03:01:30.467131 accept_connection 3 returned 4
03:01:30.467151 accept_connection 3 returned 0
03:01:30.532815 Read 111 bytes
03:01:30.532861 Process 111 bytes request
03:01:30.532882 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
03:01:30.532896 Requested test number 309 part 2
03:01:30.532932 - request found to be complete
03:01:30.532950 Wrote request (111 bytes) input to log/server.input
03:01:30.532970 Send response test309 section <data2>
03:01:30.533007 connection close instruction "swsclose" found in response
03:01:30.533087 Response sent (179 bytes) and written to log/server.response
03:01:30.533102 instructed to close connection after server-reply
03:01:30.533115 ====> Client disconnect 0
03:01:30.684942 signalled to die
03:01:30.685015 ========> IPv4 sws (port 8990 pid: 4647) exits with signal (15)
03:01:35.698890 Running HTTP IPv4 version on port 8990
03:01:35.699001 Wrote pid 6028 to .http_server.pid
03:01:36.698630 ====> Client connect
03:01:36.698656 accept_connection 3 returned 4
03:01:36.698670 accept_connection 3 returned 0
03:01:36.698683 Read 96 bytes
03:01:36.698692 Process 96 bytes request
03:01:36.698708 Got request: GET /verifiedserver HTTP/1.1
03:01:36.698719 Are-we-friendly question received
03:01:36.698730 Wrote request (96 bytes) input to log/server.input
03:01:36.698744 Identifying ourselves as friends
03:01:36.698786 Response sent (55 bytes) and written to log/server.response
03:01:36.698795 special request received, no persistency
03:01:36.698802 ====> Client disconnect 0
03:01:38.731142 ====> Client connect
03:01:38.731169 accept_connection 3 returned 4
03:01:38.731186 accept_connection 3 returned 0
03:01:38.731389 Read 96 bytes
03:01:38.731407 Process 96 bytes request
03:01:38.731424 Got request: GET /verifiedserver HTTP/1.1
03:01:38.731432 Are-we-friendly question received
03:01:38.731442 Wrote request (96 bytes) input to log/server.input
03:01:38.731452 Identifying ourselves as friends
03:01:38.731486 Response sent (55 bytes) and written to log/server.response
03:01:38.731498 special request received, no persistency
03:01:38.731510 ====> Client disconnect 0
03:01:41.439090 ====> Client connect
03:01:41.439119 accept_connection 3 returned 4
03:01:41.439134 accept_connection 3 returned 0
03:01:41.515714 Read 85 bytes
03:01:41.515757 Process 85 bytes request
03:01:41.515776 Got request: GET /310 HTTP/1.1
03:01:41.515787 Requested test number 310 part 0
03:01:41.515818 - request found to be complete
03:01:41.515847 Wrote request (85 bytes) input to log/server.input
03:01:41.515870 Send response test310 section <data>
03:01:41.515933 Response sent (103 bytes) and written to log/server.response
03:01:41.515944 => persistent connection request ended, awaits new request
03:01:41.580467 Connection closed by client
03:01:41.580525 ====> Client disconnect 0
03:01:41.667577 signalled to die
03:01:41.667643 ========> IPv4 sws (port 8990 pid: 6028) exits with signal (15)
03:01:46.681790 Running HTTP IPv4 version on port 8990
03:01:46.681890 Wrote pid 6045 to .http_server.pid
03:01:47.681215 ====> Client connect
03:01:47.681239 accept_connection 3 returned 4
03:01:47.681253 accept_connection 3 returned 0
03:01:47.681266 Read 96 bytes
03:01:47.681276 Process 96 bytes request
03:01:47.681292 Got request: GET /verifiedserver HTTP/1.1
03:01:47.681303 Are-we-friendly question received
03:01:47.681314 Wrote request (96 bytes) input to log/server.input
03:01:47.681329 Identifying ourselves as friends
03:01:47.681371 Response sent (55 bytes) and written to log/server.response
03:01:47.681380 special request received, no persistency
03:01:47.681387 ====> Client disconnect 0
03:01:49.713965 ====> Client connect
03:01:49.713993 accept_connection 3 returned 4
03:01:49.714007 accept_connection 3 returned 0
03:01:49.714192 Read 96 bytes
03:01:49.714217 Process 96 bytes request
03:01:49.714233 Got request: GET /verifiedserver HTTP/1.1
03:01:49.714241 Are-we-friendly question received
03:01:49.714251 Wrote request (96 bytes) input to log/server.input
03:01:49.714262 Identifying ourselves as friends
03:01:49.714305 Response sent (55 bytes) and written to log/server.response
03:01:49.714320 special request received, no persistency
03:01:49.714328 ====> Client disconnect 0
03:01:52.403984 ====> Client connect
03:01:52.404018 accept_connection 3 returned 4
03:01:52.404039 accept_connection 3 returned 0
03:01:52.474780 Connection closed by client
03:01:52.474818 ====> Client disconnect 0
03:01:52.572107 signalled to die
03:01:52.572159 ========> IPv4 sws (port 8990 pid: 6045) exits with signal (15)
03:01:57.586238 Running HTTP IPv4 version on port 8990
03:01:57.586339 Wrote pid 6064 to .http_server.pid
03:01:58.585657 ====> Client connect
03:01:58.585683 accept_connection 3 returned 4
03:01:58.585700 accept_connection 3 returned 0
03:01:58.585733 Read 96 bytes
03:01:58.585750 Process 96 bytes request
03:01:58.585773 Got request: GET /verifiedserver HTTP/1.1
03:01:58.585790 Are-we-friendly question received
03:01:58.585818 Wrote request (96 bytes) input to log/server.input
03:01:58.585835 Identifying ourselves as friends
03:01:58.585879 Response sent (55 bytes) and written to log/server.response
03:01:58.585894 special request received, no persistency
03:01:58.585905 ====> Client disconnect 0
03:02:00.618485 ====> Client connect
03:02:00.618510 accept_connection 3 returned 4
03:02:00.618522 accept_connection 3 returned 0
03:02:00.618690 Read 96 bytes
03:02:00.618715 Process 96 bytes request
03:02:00.618731 Got request: GET /verifiedserver HTTP/1.1
03:02:00.618742 Are-we-friendly question received
03:02:00.618755 Wrote request (96 bytes) input to log/server.input
03:02:00.618766 Identifying ourselves as friends
03:02:00.618803 Response sent (55 bytes) and written to log/server.response
03:02:00.618812 special request received, no persistency
03:02:00.618819 ====> Client disconnect 0
03:02:03.328196 ====> Client connect
03:02:03.328218 accept_connection 3 returned 4
03:02:03.328232 accept_connection 3 returned 0
03:02:03.403294 Connection closed by client
03:02:03.403334 ====> Client disconnect 0
03:02:03.502393 signalled to die
03:02:03.502444 ========> IPv4 sws (port 8990 pid: 6064) exits with signal (15)
03:02:08.516495 Running HTTP IPv4 version on port 8990
03:02:08.516593 Wrote pid 6086 to .http_server.pid
03:02:09.515824 ====> Client connect
03:02:09.515850 accept_connection 3 returned 4
03:02:09.515864 accept_connection 3 returned 0
03:02:09.515877 Read 96 bytes
03:02:09.515886 Process 96 bytes request
03:02:09.515902 Got request: GET /verifiedserver HTTP/1.1
03:02:09.515912 Are-we-friendly question received
03:02:09.515928 Wrote request (96 bytes) input to log/server.input
03:02:09.515948 Identifying ourselves as friends
03:02:09.515990 Response sent (55 bytes) and written to log/server.response
03:02:09.516004 special request received, no persistency
03:02:09.516015 ====> Client disconnect 0
03:02:11.548577 ====> Client connect
03:02:11.548608 accept_connection 3 returned 4
03:02:11.548627 accept_connection 3 returned 0
03:02:11.548779 Read 96 bytes
03:02:11.548797 Process 96 bytes request
03:02:11.548814 Got request: GET /verifiedserver HTTP/1.1
03:02:11.548827 Are-we-friendly question received
03:02:11.548843 Wrote request (96 bytes) input to log/server.input
03:02:11.548858 Identifying ourselves as friends
03:02:11.548907 Response sent (55 bytes) and written to log/server.response
03:02:11.548921 special request received, no persistency
03:02:11.548932 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* Expire in 0 ms for 6 (transfer 0x5648c75fc6a8)
* Expire in 13000 ms for 8 (transfer 0x5648c75fc6a8)
* STATE: INIT => CONNECT handle 0x5648c75fc6a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x5648c75fc6a8)
* STATE: CONNECT => WAITCONNECT handle 0x5648c75fc6a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5648c75fc6a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x5648c75fc6a8; line 1631 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x5648c75fc6a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x5648c75fc6a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x5648c75fc6a8; line 1849 (connection #0)
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 16
<
{ [16 bytes data]
* STATE: PERFORM => DONE handle 0x5648c75fc6a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5648c75fc6a8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 6086
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.01.13 03:02:10 LOG5[6103]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.13 03:02:10 LOG5[6103]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.13 03:02:10 LOG5[6103]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.13 03:02:10 LOG5[6103]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.13 03:02:10 LOG5[6103]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.13 03:02:10 LOG5[6103]: Reading configuration from file /build-4871/tests/https_stunnel.conf
2019.01.13 03:02:10 LOG5[6103]: FIPS mode disabled
2019.01.13 03:02:10 LOG5[6103]: Configuration successful
2019.01.13 03:02:11 LOG5[6106]: Service [curltest] accepted connection from 127.0.0.1:52594
2019.01.13 03:02:11 LOG5[6106]: s_connect: connected 127.0.0.1:8990
2019.01.13 03:02:11 LOG5[6106]: Service [curltest] connected remote server from 127.0.0.1:47206
2019.01.13 03:02:11 LOG5[6106]: Connection closed: 55 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.13 03:02:13 LOG5[6111]: Service [curltest] accepted connection from 127.0.0.1:52600
2019.01.13 03:02:13 LOG3[6111]: SSL_accept: 14094415: error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired
2019.01.13 03:02:13 LOG5[6111]: 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
* Expire in 0 ms for 6 (transfer 0x5629fc6f66a8)
* Expire in 13000 ms for 8 (transfer 0x5629fc6f66a8)
* STATE: INIT => CONNECT handle 0x5629fc6f66a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x5629fc6f66a8)
* STATE: CONNECT => WAITCONNECT handle 0x5629fc6f66a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5629fc6f66a8; line 1613 (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):
} [160 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x5629fc6f66a8; line 1627 (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 0x5629fc6f66a8; line 1648 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x5629fc6f66a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x5629fc6f66a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x5629fc6f66a8; line 1849 (connection #0)
{ [5 bytes data]
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 16
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x5629fc6f66a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5629fc6f66a8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 6086
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
_data_result_data_
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 10
blablabla
No headers at all, just data swsclose
Let's get
a little
so that
we
have
some
test
data to
verify
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
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6028
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6028
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6045
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6045
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6064
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6064
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6086
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6086
=== 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:02:13.469656 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:02:13.494462 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:02:13.532217 == Info: Added connection 0. The cache now contains 1 members
03:02:13.585003 == Info: Trying ::1...
03:02:13.585637 == Info: TCP_NODELAY set
03:02:13.588098 == Info: Expire in 149959 ms for 3 (transfer 0x626d7a8)
03:02:13.589960 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:02:13.591527 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:02:13.605711 == Info: connect to ::1 port 8991 failed: Connection refused
03:02:13.607818 == Info: Trying 127.0.0.1...
03:02:13.607884 == Info: TCP_NODELAY set
03:02:13.608050 == Info: Expire in 149949 ms for 3 (transfer 0x626d7a8)
03:02:13.616369 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:02:13.616873 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:02:13.617872 == Info: Marked for [keep alive]: HTTP default
03:02:13.638178 == Info: ALPN, offering h2
03:02:13.638454 == Info: ALPN, offering http/1.1
03:02:13.721052 == Info: successfully set certificate verify locations:
03:02:13.721311 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:02:13.769172 == Info: successfully load CRL file:
03:02:13.769783 == Info: CRLfile: /tests/certs/Server-localhost-sv.crl
03:02:13.850259 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:13.855258 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:02:13.855323 => Send SSL data, 178 bytes (0xb2)
0000: ......R....%T....[.q.X.u.....S$...v.)...*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....[..............localhost..................
0080: ..........3t.........h2.http/1.1..................
03:02:13.873190 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:02:13.877639 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:02:13.877700 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y.......uJ&e..,L(u.G...7..x.E9b<... m..A....e..\.Nd........^.
0040: jX..fJ../....................
03:02:13.922116 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:13.922575 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:02:13.922633 <= 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:02:14.010436 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:14.013230 == Info: TLSv1.2 (OUT), TLS alert, certificate expired (557):
03:02:14.013295 => Send SSL data, 2 bytes (0x2)
0000: .-
03:02:14.018976 == Info: SSL certificate problem: CRL has expired
03:02:14.019483 == Info: Marked for [closure]: Failed HTTPS connection
03:02:14.020022 == Info: multi_done
03:02:14.028513 == Info: Closing connection 0
03:02:14.031076 == Info: The cache now contains 0 members
03:02:14.063444 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace313
=== Start of file valgrind313
==6110== Invalid read of size 8
==6110== at 0x5E745A5: check_free (dlerror.c:188)
==6110== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6110== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6110== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6110== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6110== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6110== by 0x559AF79: exit (exit.c:139)
==6110== by 0x55850A1: (below main) (libc-start.c:342)
==6110== Address 0x63113f0 is 0 bytes after a block of size 32 alloc'd
==6110== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6110== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6110== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6110== by 0x4DD0E85: err_get_state (err.c:210)
==6110== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6110== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6110== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6110== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6110== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6110== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6110== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6110== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6110== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6110== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6110== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6110== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6110==
==6110== Invalid free() / delete / delete[] / realloc()
==6110== at 0x48369AB: free (vg_replace_malloc.c:530)
==6110== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6110== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6110== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6110== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6110== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6110== by 0x559AF79: exit (exit.c:139)
==6110== by 0x55850A1: (below main) (libc-start.c:342)
==6110== Address 0x63113d8 is 8 bytes inside a block of size 32 alloc'd
==6110== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6110== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6110== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6110== by 0x4DD0E85: err_get_state (err.c:210)
==6110== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6110== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6110== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6110== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6110== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6110== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6110== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6110== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6110== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6110== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6110== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6110== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6110==
==6110== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==6110== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6110== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6110== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6110== by 0x4DD0E85: err_get_state (err.c:210)
==6110== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6110== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6110== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6110== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6110== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6110== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6110== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6110== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6110== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6110== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6110== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6110== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6110==
=== End of file valgrind313
test 0314...[HTTP GET brotli compressed content]
-pd---emv- OK (314 out of 1217, remaining: 25:28)
test 0315...[HTTP GET brotli compressed content with broken header]
-pd---emv- OK (315 out of 1217, remaining: 25:25)
test 0316...[HTTP GET brotli compressed content of size more than CURL_MAX_WRITE_SIZE]
-pd---emv- OK (316 out of 1217, remaining: 25:22)
test 0317...[HTTP with custom Authorization: and redirect to new host]
-pd---emv- OK (317 out of 1217, remaining: 25:19)
test 0318...[HTTP with custom Authorization: and redirect to new host]
-pd---emv- OK (318 out of 1217, remaining: 25:16)
test 0319...[HTTP GET gzip transfer-encoded data in raw mode]
-pd---emv- OK (319 out of 1217, remaining: 25:13)
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 ==6149== Invalid read of size 8
==6149== at 0x5E745A5: check_free (dlerror.c:188)
==6149== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6149== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6149== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6149== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6149== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6149== by 0x559AF79: exit (exit.c:139)
==6149== by 0x55850A1: (below main) (libc-start.c:342)
==6149== Address 0x66aded0 is 0 bytes after a block of size 32 alloc'd
==6149== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6149== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6149== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6149== by 0x4DD0E85: err_get_state (err.c:210)
==6149== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6149== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6149== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6149== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6149== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6149== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6149== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6149== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6149== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6149== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6149== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6149== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6149==
==6149== Invalid free() / delete / delete[] / realloc()
==6149== at 0x48369AB: free (vg_replace_malloc.c:530)
==6149== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6149== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6149== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6149== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6149== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6149== by 0x559AF79: exit (exit.c:139)
==6149== by 0x55850A1: (below main) (libc-start.c:342)
==6149== Address 0x66adeb8 is 8 bytes inside a block of size 32 alloc'd
==6149== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6149== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6149== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6149== by 0x4DD0E85: err_get_state (err.c:210)
==6149== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6149== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6149== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6149== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6149== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6149== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6149== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6149== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6149== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6149== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6149== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6149== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6149==
==6149== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6149== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6149== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6149== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6149== by 0x4DD0E85: err_get_state (err.c:210)
==6149== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6149== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6149== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6149== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6149== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6149== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6149== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6149== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6149== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6149== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6149== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6149== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6149==
== 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:02:21.308138 signalled to die
03:02:21.308216 ========> IPv4 sws (port 8990 pid: 6086) exits with signal (15)
03:02:26.322312 Running HTTP IPv4 version on port 8990
03:02:26.322417 Wrote pid 6136 to .http_server.pid
03:02:27.321673 ====> Client connect
03:02:27.321696 accept_connection 3 returned 4
03:02:27.321711 accept_connection 3 returned 0
03:02:27.321724 Read 96 bytes
03:02:27.321734 Process 96 bytes request
03:02:27.321750 Got request: GET /verifiedserver HTTP/1.1
03:02:27.321761 Are-we-friendly question received
03:02:27.321777 Wrote request (96 bytes) input to log/server.input
03:02:27.321796 Identifying ourselves as friends
03:02:27.321844 Response sent (55 bytes) and written to log/server.response
03:02:27.321855 special request received, no persistency
03:02:27.321862 ====> Client disconnect 0
03:02:29.354659 ====> Client connect
03:02:29.354685 accept_connection 3 returned 4
03:02:29.354699 accept_connection 3 returned 0
03:02:29.354883 Read 96 bytes
03:02:29.354906 Process 96 bytes request
03:02:29.354922 Got request: GET /verifiedserver HTTP/1.1
03:02:29.354933 Are-we-friendly question received
03:02:29.354946 Wrote request (96 bytes) input to log/server.input
03:02:29.354957 Identifying ourselves as friends
03:02:29.354991 Response sent (55 bytes) and written to log/server.response
03:02:29.355001 special request received, no persistency
03:02:29.355008 ====> Client disconnect 0
03:02:33.037946 ====> Client connect
03:02:33.037968 accept_connection 3 returned 4
03:02:33.037982 accept_connection 3 returned 0
03:02:33.111174 Read 85 bytes
03:02:33.111217 Process 85 bytes request
03:02:33.111238 Got request: GET /325 HTTP/1.1
03:02:33.111252 Requested test number 325 part 0
03:02:33.111296 - request found to be complete
03:02:33.111338 Wrote request (85 bytes) input to log/server.input
03:02:33.111369 Send response test325 section <data>
03:02:33.111467 Response sent (134 bytes) and written to log/server.response
03:02:33.111483 => persistent connection request ended, awaits new request
03:02:33.196726 Connection closed by client
03:02:33.196764 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* Expire in 0 ms for 6 (transfer 0x55e0e386f6a8)
* Expire in 13000 ms for 8 (transfer 0x55e0e386f6a8)
* STATE: INIT => CONNECT handle 0x55e0e386f6a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55e0e386f6a8)
* STATE: CONNECT => WAITCONNECT handle 0x55e0e386f6a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55e0e386f6a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55e0e386f6a8; line 1631 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55e0e386f6a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55e0e386f6a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55e0e386f6a8; line 1849 (connection #0)
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 16
<
{ [16 bytes data]
* STATE: PERFORM => DONE handle 0x55e0e386f6a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55e0e386f6a8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 6136
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.01.13 03:02:28 LOG5[6142]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.13 03:02:28 LOG5[6142]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.13 03:02:28 LOG5[6142]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.13 03:02:28 LOG5[6142]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.13 03:02:28 LOG5[6142]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.13 03:02:28 LOG5[6142]: Reading configuration from file /build-4871/tests/https_stunnel.conf
2019.01.13 03:02:28 LOG5[6142]: FIPS mode disabled
2019.01.13 03:02:28 LOG5[6142]: Configuration successful
2019.01.13 03:02:29 LOG5[6147]: Service [curltest] accepted connection from 127.0.0.1:52620
2019.01.13 03:02:29 LOG5[6147]: s_connect: connected 127.0.0.1:8990
2019.01.13 03:02:29 LOG5[6147]: Service [curltest] connected remote server from 127.0.0.1:47232
2019.01.13 03:02:29 LOG5[6147]: Connection closed: 55 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.13 03:02:31 LOG5[6150]: Service [curltest] accepted connection from 127.0.0.1:52624
2019.01.13 03:02:32 LOG5[6150]: s_connect: connected 127.0.0.1:8990
2019.01.13 03:02:32 LOG5[6150]: Service [curltest] connected remote server from 127.0.0.1:47236
2019.01.13 03:02:32 LOG5[6150]: 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
* Expire in 0 ms for 6 (transfer 0x55ec901546a8)
* Expire in 13000 ms for 8 (transfer 0x55ec901546a8)
* STATE: INIT => CONNECT handle 0x55ec901546a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55ec901546a8)
* STATE: CONNECT => WAITCONNECT handle 0x55ec901546a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55ec901546a8; line 1613 (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):
} [160 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55ec901546a8; line 1627 (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 0x55ec901546a8; line 1648 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55ec901546a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55ec901546a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55ec901546a8; line 1849 (connection #0)
{ [5 bytes data]
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 16
<
{ [16 bytes data]
* STATE: PERFORM => DONE handle 0x55ec901546a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55ec901546a8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 6136
=== 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.64.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6136
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 6136
HTTP/1.1 301 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
Location: http://somewhere/325
MooMoo
=== End of file server.response
=== Start of file stderr325
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 7 100 7 0 0 3 0 0:00:02 0:00:01 0:00:01 3
curl: (1) Protocol "http" not supported or disabled in libcurl
=== End of file stderr325
=== Start of file trace325
03:02:31.279795 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:02:31.304381 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:02:31.341300 == Info: Added connection 0. The cache now contains 1 members
03:02:31.358103 == Info: Trying 127.0.0.1...
03:02:31.358697 == Info: TCP_NODELAY set
03:02:31.361749 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:02:31.363938 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:02:31.375028 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:02:31.375576 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:02:31.376724 == Info: Marked for [keep alive]: HTTP default
03:02:31.397254 == Info: ALPN, offering h2
03:02:31.397533 == Info: ALPN, offering http/1.1
03:02:32.544893 == Info: successfully set certificate verify locations:
03:02:32.545159 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:02:32.624362 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:32.629383 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:02:32.629444 => Send SSL data, 160 bytes (0xa0)
0000: ........BpWt....7y.].:..1.9......c...`..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:02:32.646905 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:02:32.651398 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:02:32.651471 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.......m/..M..k..9v}...&.I..L\.... .....S^...Za...w......P.F
0040: Q.xFd9../................
03:02:32.702180 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:32.702835 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:02:32.702914 <= 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:02:32.802176 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:02:32.802461 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:02:32.802517 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.K%}[7F][7F].i.d..9.R..mu)t....`.x%.}A~in|nzm..c})X.....r.....
0040: IS).GG.C........!M@~...r.).&'.H....o...M.....|...E?.m......C..2.
0080: .O...W.........!..$t.h&nUA.IE.XM..]....#...td..^.........8/.....
00c0: ........X0..e[7F]^....."99...U.....2[7F].W./F....n..8D.......c) ...82.
0100: .^.G'...v)........[.).Jc.(P..H.....c...G8~...P.P...~ !....^;.}.?
0140: .!.....{.O..j
03:02:32.872301 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:32.872643 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:02:32.872697 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:02:32.991443 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:02:32.991697 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:02:32.991752 => Send SSL data, 70 bytes (0x46)
0000: ...BA..,..9d...]...uc....7.d...E9D...q%O4o.-......(..[7F]bH.!.....)
0040: _.+...
03:02:33.004271 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:33.004853 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:02:33.004909 => Send SSL data, 1 bytes (0x1)
0000: .
03:02:33.036753 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:02:33.036978 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:02:33.037038 => Send SSL data, 16 bytes (0x10)
0000: ......)..z......
03:02:33.039756 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:33.040799 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:02:33.040855 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:02:33.043256 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:02:33.048575 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:02:33.048631 <= Recv SSL data, 16 bytes (0x10)
0000: ......x.......o.
03:02:33.070176 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:02:33.070912 == Info: ALPN, server did not agree to a protocol
03:02:33.073157 == Info: Server certificate:
03:02:33.080492 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:02:33.086728 == Info: start date: Aug 31 23:39:18 2018 GMT
03:02:33.087672 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:02:33.088516 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:02:33.089410 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:02:33.090918 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #0)
03:02:33.109785 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:02:33.112476 => Send header, 85 bytes (0x55)
0000: GET /325 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: User-Agent: curl/7.64.0-DEV
0046: Accept: */*
0053:
03:02:33.115363 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #0)
03:02:33.116366 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:02:33.117126 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:02:33.121727 <= Recv SSL data, 5 bytes (0x5)
0000: ....|
03:02:33.132274 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:02:33.134847 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 301 OK.
03:02:33.138549 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:02:33.140402 == Info: Server test-server/fake is not blacklisted
03:02:33.140687 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:02:33.141725 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:02:33.149679 <= Recv SSL data, 5 bytes (0x5)
0000: ....:
03:02:33.150654 <= Recv header, 31 bytes (0x1f)
0000: Location: http://somewhere/325.
03:02:33.153065 <= Recv header, 1 bytes (0x1)
0000: .
03:02:33.153558 == Info: Ignoring the response-body
03:02:33.153898 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:02:33.156780 == Info: multi_done
03:02:33.165338 == Info: Connection #0 to host 127.0.0.1 left intact
03:02:33.168898 == Info: Issue another request to this URL: 'http://somewhere/325'
03:02:33.169680 == Info: STATE: PERFORM => CONNECT handle 0x626d7a8; line 2022 (connection #-5000)
03:02:33.172365 == Info: Protocol "http" not supported or disabled in libcurl
03:02:33.173890 == Info: Closing connection -1
03:02:33.182338 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace325
=== Start of file valgrind325
==6149== Invalid read of size 8
==6149== at 0x5E745A5: check_free (dlerror.c:188)
==6149== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6149== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6149== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6149== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6149== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6149== by 0x559AF79: exit (exit.c:139)
==6149== by 0x55850A1: (below main) (libc-start.c:342)
==6149== Address 0x66aded0 is 0 bytes after a block of size 32 alloc'd
==6149== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6149== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6149== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6149== by 0x4DD0E85: err_get_state (err.c:210)
==6149== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6149== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6149== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6149== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6149== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6149== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6149== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6149== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6149== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6149== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6149== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6149== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6149==
==6149== Invalid free() / delete / delete[] / realloc()
==6149== at 0x48369AB: free (vg_replace_malloc.c:530)
==6149== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6149== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6149== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6149== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6149== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6149== by 0x559AF79: exit (exit.c:139)
==6149== by 0x55850A1: (below main) (libc-start.c:342)
==6149== Address 0x66adeb8 is 8 bytes inside a block of size 32 alloc'd
==6149== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6149== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6149== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6149== by 0x4DD0E85: err_get_state (err.c:210)
==6149== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6149== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6149== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6149== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6149== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6149== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6149== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6149== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6149== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6149== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6149== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6149== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6149==
==6149== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6149== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6149== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6149== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6149== by 0x4DD0E85: err_get_state (err.c:210)
==6149== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6149== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6149== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6149== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6149== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6149== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6149== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6149== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6149== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6149== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6149== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6149== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==6149==
=== End of file valgrind325
test 0326...[HTTP GET chunked data in raw mode]
-pd---emv- OK (326 out of 1217, remaining: 25:05)
test 0327...[HTTP with cookiejar without cookies left]
-pd--oemv- OK (327 out of 1217, remaining: 25:02)
test 0328...[HTTP with "Content-Encoding: none]
-pd---emv- OK (328 out of 1217, remaining: 24:59)
test 0329...[HTTP cookie with Max-Age=0]
-pd---emv- OK (329 out of 1217, remaining: 24:56)
test 0330...[HTTP with custom Cookie: and redirect to new host]
-pd---emv- OK (330 out of 1217, remaining: 24:53)
test 0340...[FTP using %00 in path with singlecwd]
-p----emv- OK (331 out of 1217, remaining: 24:50)
test 0350...[FTP root dir list multicwd]
-pd---emv- OK (332 out of 1217, remaining: 24:47)
test 0351...[FTP root dir list nocwd]
-pd---emv- OK (333 out of 1217, remaining: 24:44)
test 0352...[FTP root dir list singlecwd]
-pd---emv- OK (334 out of 1217, remaining: 24:41)
test 0353...[FTP home dir list singlecwd]
-pd---emv- OK (335 out of 1217, remaining: 24:38)
test 0354...[FTP without password]
-pd---emv- OK (336 out of 1217, remaining: 24:35)
test 0393...[HTTP max-filesize and out-of-range Content-Length]
-p----emv- OK (337 out of 1217, remaining: 24:32)
test 0394...[HTTP with rubbish in Content-Length]
-p----emv- OK (338 out of 1217, remaining: 24:29)
test 0395...[HTTP and out-of-range Content-Length]
-p----emv- OK (339 out of 1217, remaining: 24:26)
test 0400...[FTPS dir list PASV unencrypted data]
goto problem 22
valgrind ERROR ==6225== Invalid read of size 8
==6225== at 0x5E745A5: check_free (dlerror.c:188)
==6225== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6225== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6225== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6225== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6225== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6225== by 0x559AF79: exit (exit.c:139)
==6225== by 0x55850A1: (below main) (libc-start.c:342)
==6225== Address 0x66ad2b0 is 0 bytes after a block of size 32 alloc'd
==6225== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6225== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6225== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6225== by 0x4DD0E85: err_get_state (err.c:210)
==6225== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6225== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6225== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6225== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6225== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6225== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6225== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6225== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6225== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6225== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6225== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6225== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6225==
==6225== Invalid free() / delete / delete[] / realloc()
==6225== at 0x48369AB: free (vg_replace_malloc.c:530)
==6225== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6225== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6225== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6225== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6225== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6225== by 0x559AF79: exit (exit.c:139)
==6225== by 0x55850A1: (below main) (libc-start.c:342)
==6225== Address 0x66ad298 is 8 bytes inside a block of size 32 alloc'd
==6225== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6225== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6225== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6225== by 0x4DD0E85: err_get_state (err.c:210)
==6225== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6225== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6225== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6225== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6225== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6225== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6225== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6225== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6225== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6225== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6225== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6225== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6225==
==6225== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6225== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6225== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6225== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6225== by 0x4DD0E85: err_get_state (err.c:210)
==6225== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6225== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6225== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6225== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6225== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6225== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6225== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6225== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6225== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6225== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6225== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6225== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6225==
== 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:02:50.813859 ====> Client connect
03:02:50.813987 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:02:50.814349 < "USER anonymous"
03:02:50.814387 > "331 We are happy you popped in![CR][LF]"
03:02:50.814592 < "PASS ftp@example.com"
03:02:50.814622 > "230 Welcome you silly person[CR][LF]"
03:02:50.814820 < "PBSZ 0"
03:02:50.814848 > "500 PBSZ not implemented[CR][LF]"
03:02:50.815051 < "PROT C"
03:02:50.815079 > "500 PROT not implemented[CR][LF]"
03:02:50.815278 < "PWD"
03:02:50.815309 > "257 "/" is current directory[CR][LF]"
03:02:50.815545 < "EPSV"
03:02:50.815570 ====> Passive DATA channel requested by client
03:02:50.815586 DATA sockfilt for passive data channel starting...
03:02:50.817121 DATA sockfilt for passive data channel started (pid 6222)
03:02:50.817209 DATA sockfilt for passive data channel listens on port 42885
03:02:50.817246 > "229 Entering Passive Mode (|||42885|)[LF]"
03:02:50.817266 Client has been notified that DATA conn will be accepted on port 42885
03:02:50.817422 Client connects to port 42885
03:02:50.817446 ====> Client established passive DATA connection on port 42885
03:02:50.817567 < "TYPE I"
03:02:50.817598 > "200 I modify TYPE as you wanted[CR][LF]"
03:02:50.817762 < "SIZE verifiedserver"
03:02:50.817800 > "213 16[CR][LF]"
03:02:50.818058 < "RETR verifiedserver"
03:02:50.818094 > "150 Binary junk (16 bytes).[CR][LF]"
03:02:50.818160 =====> Closing passive DATA connection...
03:02:50.818178 Server disconnects passive DATA connection
03:02:50.818259 DATA sockfilt for passive data channel quits (pid 6223)
03:02:50.818278 =====> Closed passive DATA connection
03:02:50.818304 > "226 File transfer complete[CR][LF]"
03:02:50.861012 < "QUIT"
03:02:50.861062 > "221 bye bye baby[CR][LF]"
03:02:50.861254 MAIN sockfilt said DISC
03:02:50.861277 ====> Client disconnected
03:02:50.861326 Awaiting input
03:02:54.538890 ====> Client connect
03:02:54.539018 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:02:54.618998 < "USER anonymous"
03:02:54.619053 > "331 We are happy you popped in![CR][LF]"
03:02:54.630002 < "PASS ftp@example.com"
03:02:54.630044 > "230 Welcome you silly person[CR][LF]"
03:02:54.632327 < "PBSZ 0"
03:02:54.632365 > "500 PBSZ not implemented[CR][LF]"
03:02:54.633704 < "PROT C"
03:02:54.633737 > "500 PROT not implemented[CR][LF]"
03:02:54.635154 < "PWD"
03:02:54.635189 > "257 "/" is current directory[CR][LF]"
03:02:54.641711 < "EPSV"
03:02:54.641739 ====> Passive DATA channel requested by client
03:02:54.641755 DATA sockfilt for passive data channel starting...
03:02:54.643499 DATA sockfilt for passive data channel started (pid 6229)
03:02:54.643614 DATA sockfilt for passive data channel listens on port 40981
03:02:54.643652 > "229 Entering Passive Mode (|||40981|)[LF]"
03:02:54.643670 Client has been notified that DATA conn will be accepted on port 40981
03:02:54.650365 Client connects to port 40981
03:02:54.650399 ====> Client established passive DATA connection on port 40981
03:02:54.655420 < "TYPE A"
03:02:54.655456 > "200 I modify TYPE as you wanted[CR][LF]"
03:02:54.657659 < "LIST"
03:02:54.657690 > "150 here comes a directory[CR][LF]"
03:02:54.657718 pass LIST data on data connection
03:02:54.657814 =====> Closing passive DATA connection...
03:02:54.657832 Server disconnects passive DATA connection
03:02:54.658272 DATA sockfilt for passive data channel quits (pid 6230)
03:02:54.658291 =====> Closed passive DATA connection
03:02:54.658319 > "226 ASCII transfer complete[CR][LF]"
03:02:54.720579 < "QUIT"
03:02:54.720631 > "221 bye bye baby[CR][LF]"
03:02:54.727205 MAIN sockfilt said DISC
03:02:54.727238 ====> Client disconnected
03:02:54.727293 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:02:51.025096 ====> Client connect
03:02:51.025322 Received DATA (on stdin)
03:02:51.025346 > 160 bytes data, server => client
03:02:51.025364 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:02:51.025379 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:02:51.025392 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:02:51.025593 < 16 bytes data, client => server
03:02:51.025609 'USER anonymous\r\n'
03:02:51.025708 Received DATA (on stdin)
03:02:51.025718 > 33 bytes data, server => client
03:02:51.025728 '331 We are happy you popped in!\r\n'
03:02:51.025877 < 22 bytes data, client => server
03:02:51.025890 'PASS ftp@example.com\r\n'
03:02:51.025943 Received DATA (on stdin)
03:02:51.025952 > 30 bytes data, server => client
03:02:51.025962 '230 Welcome you silly person\r\n'
03:02:51.026107 < 8 bytes data, client => server
03:02:51.026119 'PBSZ 0\r\n'
03:02:51.026172 Received DATA (on stdin)
03:02:51.026183 > 26 bytes data, server => client
03:02:51.026193 '500 PBSZ not implemented\r\n'
03:02:51.026339 < 8 bytes data, client => server
03:02:51.026351 'PROT C\r\n'
03:02:51.026402 Received DATA (on stdin)
03:02:51.026412 > 26 bytes data, server => client
03:02:51.026421 '500 PROT not implemented\r\n'
03:02:51.026566 < 5 bytes data, client => server
03:02:51.026578 'PWD\r\n'
03:02:51.026633 Received DATA (on stdin)
03:02:51.026643 > 30 bytes data, server => client
03:02:51.026653 '257 "/" is current directory\r\n'
03:02:51.026834 < 6 bytes data, client => server
03:02:51.026846 'EPSV\r\n'
03:02:51.028567 Received DATA (on stdin)
03:02:51.028580 > 38 bytes data, server => client
03:02:51.028591 '229 Entering Passive Mode (|||42885|)\n'
03:02:51.028846 < 8 bytes data, client => server
03:02:51.028868 'TYPE I\r\n'
03:02:51.028920 Received DATA (on stdin)
03:02:51.028932 > 33 bytes data, server => client
03:02:51.028942 '200 I modify TYPE as you wanted\r\n'
03:02:51.029049 < 21 bytes data, client => server
03:02:51.029062 'SIZE verifiedserver\r\n'
03:02:51.029146 Received DATA (on stdin)
03:02:51.029169 > 8 bytes data, server => client
03:02:51.029183 '213 16\r\n'
03:02:51.029346 < 21 bytes data, client => server
03:02:51.029360 'RETR verifiedserver\r\n'
03:02:51.029417 Received DATA (on stdin)
03:02:51.029426 > 29 bytes data, server => client
03:02:51.029436 '150 Binary junk (16 bytes).\r\n'
03:02:51.029627 Received DATA (on stdin)
03:02:51.029639 > 28 bytes data, server => client
03:02:51.029649 '226 File transfer complete\r\n'
03:02:51.072242 < 6 bytes data, client => server
03:02:51.072280 'QUIT\r\n'
03:02:51.072382 Received DATA (on stdin)
03:02:51.072395 > 18 bytes data, server => client
03:02:51.072405 '221 bye bye baby\r\n'
03:02:51.072548 ====> Client disconnect
03:02:54.750153 ====> Client connect
03:02:54.750354 Received DATA (on stdin)
03:02:54.750380 > 160 bytes data, server => client
03:02:54.750398 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:02:54.750413 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:02:54.750425 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:02:54.830181 < 16 bytes data, client => server
03:02:54.830220 'USER anonymous\r\n'
03:02:54.830396 Received DATA (on stdin)
03:02:54.830420 > 33 bytes data, server => client
03:02:54.830436 '331 We are happy you popped in!\r\n'
03:02:54.841252 < 22 bytes data, client => server
03:02:54.841277 'PASS ftp@example.com\r\n'
03:02:54.841387 Received DATA (on stdin)
03:02:54.841410 > 30 bytes data, server => client
03:02:54.841426 '230 Welcome you silly person\r\n'
03:02:54.843585 < 8 bytes data, client => server
03:02:54.843608 'PBSZ 0\r\n'
03:02:54.843702 Received DATA (on stdin)
03:02:54.843716 > 26 bytes data, server => client
03:02:54.843729 '500 PBSZ not implemented\r\n'
03:02:54.844982 < 8 bytes data, client => server
03:02:54.845004 'PROT C\r\n'
03:02:54.845081 Received DATA (on stdin)
03:02:54.845103 > 26 bytes data, server => client
03:02:54.845118 '500 PROT not implemented\r\n'
03:02:54.846438 < 5 bytes data, client => server
03:02:54.846459 'PWD\r\n'
03:02:54.846536 Received DATA (on stdin)
03:02:54.846567 > 30 bytes data, server => client
03:02:54.846582 '257 "/" is current directory\r\n'
03:02:54.852991 < 6 bytes data, client => server
03:02:54.853013 'EPSV\r\n'
03:02:54.854994 Received DATA (on stdin)
03:02:54.855017 > 38 bytes data, server => client
03:02:54.855033 '229 Entering Passive Mode (|||40981|)\n'
03:02:54.866685 < 8 bytes data, client => server
03:02:54.866708 'TYPE A\r\n'
03:02:54.866799 Received DATA (on stdin)
03:02:54.866822 > 33 bytes data, server => client
03:02:54.866837 '200 I modify TYPE as you wanted\r\n'
03:02:54.868939 < 6 bytes data, client => server
03:02:54.868961 'LIST\r\n'
03:02:54.869034 Received DATA (on stdin)
03:02:54.869056 > 28 bytes data, server => client
03:02:54.869071 '150 here comes a directory\r\n'
03:02:54.869653 Received DATA (on stdin)
03:02:54.869681 > 29 bytes data, server => client
03:02:54.869700 '226 ASCII transfer complete\r\n'
03:02:54.931793 < 6 bytes data, client => server
03:02:54.931828 'QUIT\r\n'
03:02:54.931951 Received DATA (on stdin)
03:02:54.931963 > 18 bytes data, server => client
03:02:54.931973 '221 bye bye baby\r\n'
03:02:54.938496 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:02:50.028313 Running IPv4 version
03:02:50.028379 Listening on port 42885
03:02:50.028406 Wrote pid 6223 to ./.ftp_sockdata.pid
03:02:50.028421 Received PING (on stdin)
03:02:50.028479 Received PORT (on stdin)
03:02:50.028728 ====> Client connect
03:02:50.029472 Received DATA (on stdin)
03:02:50.029496 > 16 bytes data, server => client
03:02:50.029510 'WE ROOLZ: 5458\r\n'
03:02:50.029538 Received DISC (on stdin)
03:02:50.029551 ====> Client forcibly disconnected
03:02:50.029569 Received QUIT (on stdin)
03:02:50.029578 quits
03:02:50.029593 ============> sockfilt quits
03:02:54.854683 Running IPv4 version
03:02:54.854744 Listening on port 40981
03:02:54.854781 Wrote pid 6230 to ./.ftp_sockdata.pid
03:02:54.854798 Received PING (on stdin)
03:02:54.854862 Received PORT (on stdin)
03:02:54.861658 ====> Client connect
03:02:54.869097 Received DATA (on stdin)
03:02:54.869128 > 10 bytes data, server => client
03:02:54.869143 'total 20\r\n'
03:02:54.869168 Received DATA (on stdin)
03:02:54.869179 > 57 bytes data, server => client
03:02:54.869191 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:02:54.869207 Received DATA (on stdin)
03:02:54.869217 > 58 bytes data, server => client
03:02:54.869228 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:02:54.869243 Received DATA (on stdin)
03:02:54.869252 > 61 bytes data, server => client
03:02:54.869264 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:02:54.869271 '\n'
03:02:54.869284 Received DATA (on stdin)
03:02:54.869293 > 62 bytes data, server => client
03:02:54.869305 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:02:54.869312 '\n'
03:02:54.869325 Received DATA (on stdin)
03:02:54.869334 > 70 bytes data, server => client
03:02:54.869346 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:02:54.869354 'usr/bin\r\n'
03:02:54.869367 Received DATA (on stdin)
03:02:54.869377 > 59 bytes data, server => client
03:02:54.869388 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:02:54.869402 Received DATA (on stdin)
03:02:54.869411 > 69 bytes data, server => client
03:02:54.869423 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:02:54.869431 'd.html\r\n'
03:02:54.869444 Received DATA (on stdin)
03:02:54.869453 > 59 bytes data, server => client
03:02:54.869465 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:02:54.869478 Received DATA (on stdin)
03:02:54.869487 > 59 bytes data, server => client
03:02:54.869499 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:02:54.869513 Received DATA (on stdin)
03:02:54.869522 > 59 bytes data, server => client
03:02:54.869533 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:02:54.869548 Received DISC (on stdin)
03:02:54.869559 ====> Client forcibly disconnected
03:02:54.869577 Received QUIT (on stdin)
03:02:54.869586 quits
03:02:54.869603 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.01.13 03:02:49 LOG5[6209]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.13 03:02:49 LOG5[6209]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.13 03:02:49 LOG5[6209]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.13 03:02:49 LOG5[6209]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.13 03:02:49 LOG5[6209]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.13 03:02:49 LOG5[6209]: Reading configuration from file /build-4871/tests/ftps_stunnel.conf
2019.01.13 03:02:49 LOG5[6209]: FIPS mode disabled
2019.01.13 03:02:49 LOG5[6209]: Configuration successful
2019.01.13 03:02:50 LOG5[6221]: Service [curltest] accepted connection from 127.0.0.1:57668
2019.01.13 03:02:50 LOG5[6221]: s_connect: connected 127.0.0.1:8992
2019.01.13 03:02:50 LOG5[6221]: Service [curltest] connected remote server from 127.0.0.1:40168
2019.01.13 03:02:50 LOG5[6221]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.01.13 03:02:52 LOG5[6228]: Service [curltest] accepted connection from 127.0.0.1:57674
2019.01.13 03:02:54 LOG5[6228]: s_connect: connected 127.0.0.1:8992
2019.01.13 03:02:54 LOG5[6228]: Service [curltest] connected remote server from 127.0.0.1:40174
2019.01.13 03:02:54 LOG5[6228]: 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
* Expire in 0 ms for 6 (transfer 0x55d491d426a8)
* Expire in 13000 ms for 8 (transfer 0x55d491d426a8)
* STATE: INIT => CONNECT handle 0x55d491d426a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55d491d426a8)
* STATE: CONNECT => WAITCONNECT handle 0x55d491d426a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55d491d426a8; line 1613 (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):
} [138 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 0x55d491d885f8 (line 3118) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55d491d426a8; line 1627 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x55d491d885f8 (line 803) state change from WAIT220 to USER
{ [5 bytes data]
< 331 We are happy you popped in
} [5 bytes data]
> PASS ftp@example.com
* FTP 0x55d491d885f8 (line 2546) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x55d491d885f8 (line 2522) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x55d491d885f8 (line 2735) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x55d491d885f8 (line 815) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x55d491d885f8 (line 2870) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x55d491d426a8; line 1648 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x55d491d885f8 (line 1346) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x55d491d426a8; line 1697 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||42885|)
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55d491d426a8)
* Connecting to 127.0.0.1 (127.0.0.1) port 42885
* FTP 0x55d491d885f8 (line 2003) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x55d491d426a8; line 1781 (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 0x55d491d885f8 (line 3444) state change from STOP to RETR_TYPE
{ [5 bytes data]
< 200 I modify TYPE as you wanted
} [5 bytes data]
> SIZE verifiedserver
* FTP 0x55d491d885f8 (line 1769) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 16
} [5 bytes data]
> RETR verifiedserver
* FTP 0x55d491d885f8 (line 2255) state change from RETR_SIZE to RETR
{ [5 bytes data]
< 150 Binary junk (16 bytes).
* Maxdownload = -1
* Getting file with size: 16
* FTP 0x55d491d885f8 (line 485) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x55d491d426a8; line 1807 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55d491d426a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55d491d426a8; line 1849 (connection #0)
{ [16 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x55d491d426a8; line 2046 (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 0x55d491d426a8)
=== 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:01 --:--:-- 0
100 623 0 623 0 0 328 0 --:--:-- 0:00:01 --:--:-- 339
=== End of file stderr400
=== Start of file trace400
03:02:52.990797 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:02:53.016399 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:02:53.054228 == Info: Added connection 0. The cache now contains 1 members
03:02:53.071212 == Info: Trying 127.0.0.1...
03:02:53.071841 == Info: TCP_NODELAY set
03:02:53.074927 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:02:53.077149 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:02:53.088213 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:02:53.088762 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:02:53.089872 == Info: Marked for [keep alive]: FTP default
03:02:54.266494 == Info: successfully set certificate verify locations:
03:02:54.266753 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:02:54.344696 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:54.349678 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:02:54.349742 => Send SSL data, 138 bytes (0x8a)
0000: ......t..x(....s.&...M.a..(`^C\..8!.....*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:02:54.367081 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:02:54.371537 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:02:54.371596 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...T.2.'.=N ...._<`.$C......k.;x.. 9X.K..L.]*g.C............
0040: #..n..../................
03:02:54.415420 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:54.415880 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:02:54.415940 <= 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:02:54.514297 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:02:54.514560 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:02:54.514619 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.].nv..v.....?y..l`..$...s.:..a.....VG.OLb.....J.bd...kC
0040: ...O.{0.......7..O.c.......s..M/J.=m3. .........SyO}B...F2..8..L
0080: .8e.tbr$.....n.&.pqK..g*P. .BQ..Ay...5dDl|.=GFc...[7F].....\q......
00c0: +.....{...B....AW...V3.^u[7F]I...X.......l.......(......./...s..Q#9
0100: .,.&o..G..|...../.....R.#z"...O.b.1.....s_....Gr.M...2VNB....'..
0140: ....S.&B....z
03:02:54.583948 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:54.584289 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:02:54.584347 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:02:54.704320 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:02:54.704570 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:02:54.704629 => Send SSL data, 70 bytes (0x46)
0000: ...BA..%.....7|m...}.k...[7F].[7F]J.......Z.......c.m.U.r...+..`.."...
0040: {Bo...
03:02:54.717031 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:54.717591 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:02:54.717647 => Send SSL data, 1 bytes (0x1)
0000: .
03:02:54.749049 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:02:54.749243 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:02:54.749299 => Send SSL data, 16 bytes (0x10)
0000: ......bQ.Z.\.:w.
03:02:54.751791 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:54.752828 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:02:54.752886 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:02:54.755293 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:02:54.760600 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:02:54.760656 <= Recv SSL data, 16 bytes (0x10)
0000: .....vi....%....
03:02:54.782158 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:02:54.784330 == Info: Server certificate:
03:02:54.791723 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:02:54.797995 == Info: start date: Aug 31 23:39:18 2018 GMT
03:02:54.798942 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:02:54.799796 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:02:54.800709 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:02:54.802165 == Info: FTP 0x62ec468 (line 3118) state change from STOP to WAIT220
03:02:54.808362 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:54.817480 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:02:54.820946 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:02:54.821160 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:02:54.821345 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:02:54.821526 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:02:54.828809 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:02:54.831379 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:02:54.832153 == Info: FTP 0x62ec468 (line 803) state change from WAIT220 to USER
03:02:54.832858 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626d7a8; line 1627 (connection #0)
03:02:54.839131 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:02:54.839791 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:02:54.841057 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:54.841189 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:02:54.841566 == Info: FTP 0x62ec468 (line 2546) state change from USER to PASS
03:02:54.842574 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:02:54.842720 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:02:54.843401 => Send SSL data, 5 bytes (0x5)
0000: ....
03:02:54.843519 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:02:54.843841 == Info: FTP 0x62ec468 (line 2522) state change from PASS to PBSZ
03:02:54.844138 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:02:54.844279 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:02:54.844804 => Send SSL data, 5 bytes (0x5)
0000: ....
03:02:54.844918 => Send header, 8 bytes (0x8)
0000: PROT C
03:02:54.845237 == Info: FTP 0x62ec468 (line 2735) state change from PBSZ to PROT
03:02:54.845477 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:02:54.845612 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:02:54.846262 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:54.846375 => Send header, 5 bytes (0x5)
0000: PWD
03:02:54.846688 == Info: FTP 0x62ec468 (line 815) state change from PROT to PWD
03:02:54.847006 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:02:54.847143 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:02:54.848327 == Info: Entry path is '/'
03:02:54.848549 == Info: FTP 0x62ec468 (line 2870) state change from PWD to STOP
03:02:54.848713 == Info: protocol connect phase DONE
03:02:54.849050 == Info: STATE: PROTOCONNECT => DO handle 0x626d7a8; line 1648 (connection #0)
03:02:54.850935 == Info: DO phase starts
03:02:54.852806 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:54.852927 => Send header, 6 bytes (0x6)
0000: EPSV
03:02:54.853259 == Info: FTP 0x62ec468 (line 1346) state change from STOP to PASV
03:02:54.853431 == Info: Connect data stream passively
03:02:54.854188 == Info: ftp_perform ends with SECONDARY: 0
03:02:54.854910 == Info: STATE: DO => DOING handle 0x626d7a8; line 1697 (connection #0)
03:02:54.855715 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:02:54.855861 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||40981|).
03:02:54.861488 == Info: Trying 127.0.0.1...
03:02:54.861551 == Info: TCP_NODELAY set
03:02:54.861674 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:02:54.862449 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 40981
03:02:54.863342 == Info: FTP 0x62ec468 (line 2003) state change from PASV to STOP
03:02:54.863940 == Info: DO phase is complete2
03:02:54.864357 == Info: STATE: DOING => DO_MORE handle 0x626d7a8; line 1781 (connection #0)
03:02:54.865033 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:02:54.865245 == Info: DO-MORE connected phase starts
03:02:54.866499 => Send SSL data, 5 bytes (0x5)
0000: ....
03:02:54.866706 => Send header, 8 bytes (0x8)
0000: TYPE A
03:02:54.867043 == Info: FTP 0x62ec468 (line 3444) state change from STOP to LIST_TYPE
03:02:54.867422 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:02:54.867564 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:02:54.868758 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:54.868874 => Send header, 6 bytes (0x6)
0000: LIST
03:02:54.869396 == Info: FTP 0x62ec468 (line 1502) state change from LIST_TYPE to LIST
03:02:54.871028 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:02:54.871175 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:02:54.871755 == Info: Maxdownload = -1
03:02:54.873064 == Info: FTP 0x62ec468 (line 485) state change from LIST to STOP
03:02:54.873822 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:02:54.874809 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:02:54.875572 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:02:54.878765 <= 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:02:54.887707 == Info: nread <= 0, server closed connection, bailing
03:02:54.889506 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:02:54.889969 == Info: multi_done
03:02:54.893477 == Info: Remembering we are in dir ""
03:02:54.912473 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:02:54.912638 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:02:54.917427 == Info: Connection #0 to host 127.0.0.1 left intact
03:02:54.919319 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace400
=== Start of file valgrind400
==6225== Invalid read of size 8
==6225== at 0x5E745A5: check_free (dlerror.c:188)
==6225== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6225== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6225== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6225== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6225== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6225== by 0x559AF79: exit (exit.c:139)
==6225== by 0x55850A1: (below main) (libc-start.c:342)
==6225== Address 0x66ad2b0 is 0 bytes after a block of size 32 alloc'd
==6225== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6225== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6225== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6225== by 0x4DD0E85: err_get_state (err.c:210)
==6225== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6225== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6225== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6225== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6225== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6225== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6225== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6225== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6225== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6225== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6225== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6225== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6225==
==6225== Invalid free() / delete / delete[] / realloc()
==6225== at 0x48369AB: free (vg_replace_malloc.c:530)
==6225== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6225== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6225== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6225== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6225== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6225== by 0x559AF79: exit (exit.c:139)
==6225== by 0x55850A1: (below main) (libc-start.c:342)
==6225== Address 0x66ad298 is 8 bytes inside a block of size 32 alloc'd
==6225== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6225== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6225== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6225== by 0x4DD0E85: err_get_state (err.c:210)
==6225== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6225== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6225== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6225== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6225== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6225== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6225== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6225== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6225== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6225== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6225== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6225== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6225==
==6225== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6225== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6225== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6225== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6225== by 0x4DD0E85: err_get_state (err.c:210)
==6225== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6225== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6225== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6225== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6225== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6225== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6225== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6225== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6225== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6225== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6225== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6225== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6225==
=== End of file valgrind400
test 0401...[FTPS PASV upload file]
goto problem 23
valgrind ERROR ==6233== Invalid read of size 8
==6233== at 0x5E745A5: check_free (dlerror.c:188)
==6233== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6233== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6233== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6233== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6233== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6233== by 0x559AF79: exit (exit.c:139)
==6233== by 0x55850A1: (below main) (libc-start.c:342)
==6233== Address 0x66b05a0 is 0 bytes after a block of size 32 alloc'd
==6233== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6233== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6233== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6233== by 0x4DD0E85: err_get_state (err.c:210)
==6233== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6233== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6233== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6233== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6233== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6233== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6233== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6233== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6233== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6233== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6233== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6233== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6233==
==6233== Invalid free() / delete / delete[] / realloc()
==6233== at 0x48369AB: free (vg_replace_malloc.c:530)
==6233== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6233== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6233== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6233== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6233== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6233== by 0x559AF79: exit (exit.c:139)
==6233== by 0x55850A1: (below main) (libc-start.c:342)
==6233== Address 0x66b0588 is 8 bytes inside a block of size 32 alloc'd
==6233== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6233== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6233== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6233== by 0x4DD0E85: err_get_state (err.c:210)
==6233== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6233== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6233== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6233== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6233== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6233== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6233== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6233== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6233== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6233== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6233== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6233== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6233==
==6233== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6233== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6233== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6233== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6233== by 0x4DD0E85: err_get_state (err.c:210)
==6233== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6233== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6233== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6233== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6233== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6233== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6233== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6233== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6233== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6233== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6233== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6233== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6233==
== Contents of files in the log/ dir after test 401
=== Start of file ftp_server.log
03:02:50.813859 ====> Client connect
03:02:50.813987 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:02:50.814349 < "USER anonymous"
03:02:50.814387 > "331 We are happy you popped in![CR][LF]"
03:02:50.814592 < "PASS ftp@example.com"
03:02:50.814622 > "230 Welcome you silly person[CR][LF]"
03:02:50.814820 < "PBSZ 0"
03:02:50.814848 > "500 PBSZ not implemented[CR][LF]"
03:02:50.815051 < "PROT C"
03:02:50.815079 > "500 PROT not implemented[CR][LF]"
03:02:50.815278 < "PWD"
03:02:50.815309 > "257 "/" is current directory[CR][LF]"
03:02:50.815545 < "EPSV"
03:02:50.815570 ====> Passive DATA channel requested by client
03:02:50.815586 DATA sockfilt for passive data channel starting...
03:02:50.817121 DATA sockfilt for passive data channel started (pid 6222)
03:02:50.817209 DATA sockfilt for passive data channel listens on port 42885
03:02:50.817246 > "229 Entering Passive Mode (|||42885|)[LF]"
03:02:50.817266 Client has been notified that DATA conn will be accepted on port 42885
03:02:50.817422 Client connects to port 42885
03:02:50.817446 ====> Client established passive DATA connection on port 42885
03:02:50.817567 < "TYPE I"
03:02:50.817598 > "200 I modify TYPE as you wanted[CR][LF]"
03:02:50.817762 < "SIZE verifiedserver"
03:02:50.817800 > "213 16[CR][LF]"
03:02:50.818058 < "RETR verifiedserver"
03:02:50.818094 > "150 Binary junk (16 bytes).[CR][LF]"
03:02:50.818160 =====> Closing passive DATA connection...
03:02:50.818178 Server disconnects passive DATA connection
03:02:50.818259 DATA sockfilt for passive data channel quits (pid 6223)
03:02:50.818278 =====> Closed passive DATA connection
03:02:50.818304 > "226 File transfer complete[CR][LF]"
03:02:50.861012 < "QUIT"
03:02:50.861062 > "221 bye bye baby[CR][LF]"
03:02:50.861254 MAIN sockfilt said DISC
03:02:50.861277 ====> Client disconnected
03:02:50.861326 Awaiting input
03:02:54.538890 ====> Client connect
03:02:54.539018 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:02:54.618998 < "USER anonymous"
03:02:54.619053 > "331 We are happy you popped in![CR][LF]"
03:02:54.630002 < "PASS ftp@example.com"
03:02:54.630044 > "230 Welcome you silly person[CR][LF]"
03:02:54.632327 < "PBSZ 0"
03:02:54.632365 > "500 PBSZ not implemented[CR][LF]"
03:02:54.633704 < "PROT C"
03:02:54.633737 > "500 PROT not implemented[CR][LF]"
03:02:54.635154 < "PWD"
03:02:54.635189 > "257 "/" is current directory[CR][LF]"
03:02:54.641711 < "EPSV"
03:02:54.641739 ====> Passive DATA channel requested by client
03:02:54.641755 DATA sockfilt for passive data channel starting...
03:02:54.643499 DATA sockfilt for passive data channel started (pid 6229)
03:02:54.643614 DATA sockfilt for passive data channel listens on port 40981
03:02:54.643652 > "229 Entering Passive Mode (|||40981|)[LF]"
03:02:54.643670 Client has been notified that DATA conn will be accepted on port 40981
03:02:54.650365 Client connects to port 40981
03:02:54.650399 ====> Client established passive DATA connection on port 40981
03:02:54.655420 < "TYPE A"
03:02:54.655456 > "200 I modify TYPE as you wanted[CR][LF]"
03:02:54.657659 < "LIST"
03:02:54.657690 > "150 here comes a directory[CR][LF]"
03:02:54.657718 pass LIST data on data connection
03:02:54.657814 =====> Closing passive DATA connection...
03:02:54.657832 Server disconnects passive DATA connection
03:02:54.658272 DATA sockfilt for passive data channel quits (pid 6230)
03:02:54.658291 =====> Closed passive DATA connection
03:02:54.658319 > "226 ASCII transfer complete[CR][LF]"
03:02:54.720579 < "QUIT"
03:02:54.720631 > "221 bye bye baby[CR][LF]"
03:02:54.727205 MAIN sockfilt said DISC
03:02:54.727238 ====> Client disconnected
03:02:54.727293 Awaiting input
03:02:57.539896 ====> Client connect
03:02:57.540023 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:02:57.622491 < "USER anonymous"
03:02:57.622552 > "331 We are happy you popped in![CR][LF]"
03:02:57.634428 < "PASS ftp@example.com"
03:02:57.634481 > "230 Welcome you silly person[CR][LF]"
03:02:57.636750 < "PBSZ 0"
03:02:57.636783 > "500 PBSZ not implemented[CR][LF]"
03:02:57.638225 < "PROT C"
03:02:57.638256 > "500 PROT not implemented[CR][LF]"
03:02:57.639724 < "PWD"
03:02:57.639760 > "257 "/" is current directory[CR][LF]"
03:02:57.646982 < "EPSV"
03:02:57.647011 ====> Passive DATA channel requested by client
03:02:57.647024 DATA sockfilt for passive data channel starting...
03:02:57.648895 DATA sockfilt for passive data channel started (pid 6235)
03:02:57.649014 DATA sockfilt for passive data channel listens on port 43093
03:02:57.649064 > "229 Entering Passive Mode (|||43093|)[LF]"
03:02:57.649089 Client has been notified that DATA conn will be accepted on port 43093
03:02:57.656439 Client connects to port 43093
03:02:57.656498 ====> Client established passive DATA connection on port 43093
03:02:57.661657 < "TYPE I"
03:02:57.661717 > "200 I modify TYPE as you wanted[CR][LF]"
03:02:57.663930 < "STOR 401"
03:02:57.663964 STOR test number 401 in log/upload.401
03:02:57.664000 > "125 Gimme gimme gimme![CR][LF]"
03:02:57.674306 > Appending 52 bytes to file
03:02:57.684460 =====> Closing passive DATA connection...
03:02:57.684498 Server knows passive DATA connection is already disconnected
03:02:57.684566 DATA sockfilt for passive data channel quits (pid 6236)
03:02:57.684591 =====> Closed passive DATA connection
03:02:57.684617 received 52 bytes upload
03:02:57.684657 > "226 File transfer complete[CR][LF]"
03:02:57.726822 < "QUIT"
03:02:57.726883 > "221 bye bye baby[CR][LF]"
03:02:57.733800 MAIN sockfilt said DISC
03:02:57.733854 ====> Client disconnected
03:02:57.733921 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:02:51.025096 ====> Client connect
03:02:51.025322 Received DATA (on stdin)
03:02:51.025346 > 160 bytes data, server => client
03:02:51.025364 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:02:51.025379 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:02:51.025392 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:02:51.025593 < 16 bytes data, client => server
03:02:51.025609 'USER anonymous\r\n'
03:02:51.025708 Received DATA (on stdin)
03:02:51.025718 > 33 bytes data, server => client
03:02:51.025728 '331 We are happy you popped in!\r\n'
03:02:51.025877 < 22 bytes data, client => server
03:02:51.025890 'PASS ftp@example.com\r\n'
03:02:51.025943 Received DATA (on stdin)
03:02:51.025952 > 30 bytes data, server => client
03:02:51.025962 '230 Welcome you silly person\r\n'
03:02:51.026107 < 8 bytes data, client => server
03:02:51.026119 'PBSZ 0\r\n'
03:02:51.026172 Received DATA (on stdin)
03:02:51.026183 > 26 bytes data, server => client
03:02:51.026193 '500 PBSZ not implemented\r\n'
03:02:51.026339 < 8 bytes data, client => server
03:02:51.026351 'PROT C\r\n'
03:02:51.026402 Received DATA (on stdin)
03:02:51.026412 > 26 bytes data, server => client
03:02:51.026421 '500 PROT not implemented\r\n'
03:02:51.026566 < 5 bytes data, client => server
03:02:51.026578 'PWD\r\n'
03:02:51.026633 Received DATA (on stdin)
03:02:51.026643 > 30 bytes data, server => client
03:02:51.026653 '257 "/" is current directory\r\n'
03:02:51.026834 < 6 bytes data, client => server
03:02:51.026846 'EPSV\r\n'
03:02:51.028567 Received DATA (on stdin)
03:02:51.028580 > 38 bytes data, server => client
03:02:51.028591 '229 Entering Passive Mode (|||42885|)\n'
03:02:51.028846 < 8 bytes data, client => server
03:02:51.028868 'TYPE I\r\n'
03:02:51.028920 Received DATA (on stdin)
03:02:51.028932 > 33 bytes data, server => client
03:02:51.028942 '200 I modify TYPE as you wanted\r\n'
03:02:51.029049 < 21 bytes data, client => server
03:02:51.029062 'SIZE verifiedserver\r\n'
03:02:51.029146 Received DATA (on stdin)
03:02:51.029169 > 8 bytes data, server => client
03:02:51.029183 '213 16\r\n'
03:02:51.029346 < 21 bytes data, client => server
03:02:51.029360 'RETR verifiedserver\r\n'
03:02:51.029417 Received DATA (on stdin)
03:02:51.029426 > 29 bytes data, server => client
03:02:51.029436 '150 Binary junk (16 bytes).\r\n'
03:02:51.029627 Received DATA (on stdin)
03:02:51.029639 > 28 bytes data, server => client
03:02:51.029649 '226 File transfer complete\r\n'
03:02:51.072242 < 6 bytes data, client => server
03:02:51.072280 'QUIT\r\n'
03:02:51.072382 Received DATA (on stdin)
03:02:51.072395 > 18 bytes data, server => client
03:02:51.072405 '221 bye bye baby\r\n'
03:02:51.072548 ====> Client disconnect
03:02:54.750153 ====> Client connect
03:02:54.750354 Received DATA (on stdin)
03:02:54.750380 > 160 bytes data, server => client
03:02:54.750398 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:02:54.750413 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:02:54.750425 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:02:54.830181 < 16 bytes data, client => server
03:02:54.830220 'USER anonymous\r\n'
03:02:54.830396 Received DATA (on stdin)
03:02:54.830420 > 33 bytes data, server => client
03:02:54.830436 '331 We are happy you popped in!\r\n'
03:02:54.841252 < 22 bytes data, client => server
03:02:54.841277 'PASS ftp@example.com\r\n'
03:02:54.841387 Received DATA (on stdin)
03:02:54.841410 > 30 bytes data, server => client
03:02:54.841426 '230 Welcome you silly person\r\n'
03:02:54.843585 < 8 bytes data, client => server
03:02:54.843608 'PBSZ 0\r\n'
03:02:54.843702 Received DATA (on stdin)
03:02:54.843716 > 26 bytes data, server => client
03:02:54.843729 '500 PBSZ not implemented\r\n'
03:02:54.844982 < 8 bytes data, client => server
03:02:54.845004 'PROT C\r\n'
03:02:54.845081 Received DATA (on stdin)
03:02:54.845103 > 26 bytes data, server => client
03:02:54.845118 '500 PROT not implemented\r\n'
03:02:54.846438 < 5 bytes data, client => server
03:02:54.846459 'PWD\r\n'
03:02:54.846536 Received DATA (on stdin)
03:02:54.846567 > 30 bytes data, server => client
03:02:54.846582 '257 "/" is current directory\r\n'
03:02:54.852991 < 6 bytes data, client => server
03:02:54.853013 'EPSV\r\n'
03:02:54.854994 Received DATA (on stdin)
03:02:54.855017 > 38 bytes data, server => client
03:02:54.855033 '229 Entering Passive Mode (|||40981|)\n'
03:02:54.866685 < 8 bytes data, client => server
03:02:54.866708 'TYPE A\r\n'
03:02:54.866799 Received DATA (on stdin)
03:02:54.866822 > 33 bytes data, server => client
03:02:54.866837 '200 I modify TYPE as you wanted\r\n'
03:02:54.868939 < 6 bytes data, client => server
03:02:54.868961 'LIST\r\n'
03:02:54.869034 Received DATA (on stdin)
03:02:54.869056 > 28 bytes data, server => client
03:02:54.869071 '150 here comes a directory\r\n'
03:02:54.869653 Received DATA (on stdin)
03:02:54.869681 > 29 bytes data, server => client
03:02:54.869700 '226 ASCII transfer complete\r\n'
03:02:54.931793 < 6 bytes data, client => server
03:02:54.931828 'QUIT\r\n'
03:02:54.931951 Received DATA (on stdin)
03:02:54.931963 > 18 bytes data, server => client
03:02:54.931973 '221 bye bye baby\r\n'
03:02:54.938496 ====> Client disconnect
03:02:57.751158 ====> Client connect
03:02:57.751359 Received DATA (on stdin)
03:02:57.751385 > 160 bytes data, server => client
03:02:57.751403 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:02:57.751418 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:02:57.751431 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:02:57.833662 < 16 bytes data, client => server
03:02:57.833712 'USER anonymous\r\n'
03:02:57.833874 Received DATA (on stdin)
03:02:57.833898 > 33 bytes data, server => client
03:02:57.833916 '331 We are happy you popped in!\r\n'
03:02:57.845642 < 22 bytes data, client => server
03:02:57.845683 'PASS ftp@example.com\r\n'
03:02:57.845804 Received DATA (on stdin)
03:02:57.845826 > 30 bytes data, server => client
03:02:57.845843 '230 Welcome you silly person\r\n'
03:02:57.848006 < 8 bytes data, client => server
03:02:57.848029 'PBSZ 0\r\n'
03:02:57.848108 Received DATA (on stdin)
03:02:57.848127 > 26 bytes data, server => client
03:02:57.848145 '500 PBSZ not implemented\r\n'
03:02:57.849470 < 8 bytes data, client => server
03:02:57.849491 'PROT C\r\n'
03:02:57.849582 Received DATA (on stdin)
03:02:57.849601 > 26 bytes data, server => client
03:02:57.849617 '500 PROT not implemented\r\n'
03:02:57.850973 < 5 bytes data, client => server
03:02:57.850994 'PWD\r\n'
03:02:57.851086 Received DATA (on stdin)
03:02:57.851105 > 30 bytes data, server => client
03:02:57.851122 '257 "/" is current directory\r\n'
03:02:57.858220 < 6 bytes data, client => server
03:02:57.858246 'EPSV\r\n'
03:02:57.860406 Received DATA (on stdin)
03:02:57.860431 > 38 bytes data, server => client
03:02:57.860447 '229 Entering Passive Mode (|||43093|)\n'
03:02:57.872857 < 8 bytes data, client => server
03:02:57.872890 'TYPE I\r\n'
03:02:57.873049 Received DATA (on stdin)
03:02:57.873063 > 33 bytes data, server => client
03:02:57.873077 '200 I modify TYPE as you wanted\r\n'
03:02:57.875185 < 10 bytes data, client => server
03:02:57.875201 'STOR 401\r\n'
03:02:57.875342 Received DATA (on stdin)
03:02:57.875387 > 24 bytes data, server => client
03:02:57.875401 '125 Gimme gimme gimme!\r\n'
03:02:57.896016 Received DATA (on stdin)
03:02:57.896050 > 28 bytes data, server => client
03:02:57.896069 '226 File transfer complete\r\n'
03:02:57.938022 < 6 bytes data, client => server
03:02:57.938062 'QUIT\r\n'
03:02:57.938202 Received DATA (on stdin)
03:02:57.938215 > 18 bytes data, server => client
03:02:57.938225 '221 bye bye baby\r\n'
03:02:57.945058 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:02:50.028313 Running IPv4 version
03:02:50.028379 Listening on port 42885
03:02:50.028406 Wrote pid 6223 to ./.ftp_sockdata.pid
03:02:50.028421 Received PING (on stdin)
03:02:50.028479 Received PORT (on stdin)
03:02:50.028728 ====> Client connect
03:02:50.029472 Received DATA (on stdin)
03:02:50.029496 > 16 bytes data, server => client
03:02:50.029510 'WE ROOLZ: 5458\r\n'
03:02:50.029538 Received DISC (on stdin)
03:02:50.029551 ====> Client forcibly disconnected
03:02:50.029569 Received QUIT (on stdin)
03:02:50.029578 quits
03:02:50.029593 ============> sockfilt quits
03:02:54.854683 Running IPv4 version
03:02:54.854744 Listening on port 40981
03:02:54.854781 Wrote pid 6230 to ./.ftp_sockdata.pid
03:02:54.854798 Received PING (on stdin)
03:02:54.854862 Received PORT (on stdin)
03:02:54.861658 ====> Client connect
03:02:54.869097 Received DATA (on stdin)
03:02:54.869128 > 10 bytes data, server => client
03:02:54.869143 'total 20\r\n'
03:02:54.869168 Received DATA (on stdin)
03:02:54.869179 > 57 bytes data, server => client
03:02:54.869191 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:02:54.869207 Received DATA (on stdin)
03:02:54.869217 > 58 bytes data, server => client
03:02:54.869228 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:02:54.869243 Received DATA (on stdin)
03:02:54.869252 > 61 bytes data, server => client
03:02:54.869264 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:02:54.869271 '\n'
03:02:54.869284 Received DATA (on stdin)
03:02:54.869293 > 62 bytes data, server => client
03:02:54.869305 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:02:54.869312 '\n'
03:02:54.869325 Received DATA (on stdin)
03:02:54.869334 > 70 bytes data, server => client
03:02:54.869346 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:02:54.869354 'usr/bin\r\n'
03:02:54.869367 Received DATA (on stdin)
03:02:54.869377 > 59 bytes data, server => client
03:02:54.869388 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:02:54.869402 Received DATA (on stdin)
03:02:54.869411 > 69 bytes data, server => client
03:02:54.869423 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:02:54.869431 'd.html\r\n'
03:02:54.869444 Received DATA (on stdin)
03:02:54.869453 > 59 bytes data, server => client
03:02:54.869465 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:02:54.869478 Received DATA (on stdin)
03:02:54.869487 > 59 bytes data, server => client
03:02:54.869499 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:02:54.869513 Received DATA (on stdin)
03:02:54.869522 > 59 bytes data, server => client
03:02:54.869533 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:02:54.869548 Received DISC (on stdin)
03:02:54.869559 ====> Client forcibly disconnected
03:02:54.869577 Received QUIT (on stdin)
03:02:54.869586 quits
03:02:54.869603 ============> sockfilt quits
03:02:57.860029 Running IPv4 version
03:02:57.860107 Listening on port 43093
03:02:57.860160 Wrote pid 6236 to ./.ftp_sockdata.pid
03:02:57.860182 Received PING (on stdin)
03:02:57.860265 Received PORT (on stdin)
03:02:57.867708 ====> Client connect
03:02:57.885556 < 52 bytes data, client => server
03:02:57.885609 'data\n to\n see\nthat FTPS\nworks\n so does it?\n'
03:02:57.895627 ====> Client disconnect
03:02:57.895853 Received QUIT (on stdin)
03:02:57.895870 quits
03:02:57.895891 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.01.13 03:02:49 LOG5[6209]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.13 03:02:49 LOG5[6209]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.13 03:02:49 LOG5[6209]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.13 03:02:49 LOG5[6209]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.13 03:02:49 LOG5[6209]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.13 03:02:49 LOG5[6209]: Reading configuration from file /build-4871/tests/ftps_stunnel.conf
2019.01.13 03:02:49 LOG5[6209]: FIPS mode disabled
2019.01.13 03:02:49 LOG5[6209]: Configuration successful
2019.01.13 03:02:50 LOG5[6221]: Service [curltest] accepted connection from 127.0.0.1:57668
2019.01.13 03:02:50 LOG5[6221]: s_connect: connected 127.0.0.1:8992
2019.01.13 03:02:50 LOG5[6221]: Service [curltest] connected remote server from 127.0.0.1:40168
2019.01.13 03:02:50 LOG5[6221]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.01.13 03:02:52 LOG5[6228]: Service [curltest] accepted connection from 127.0.0.1:57674
2019.01.13 03:02:54 LOG5[6228]: s_connect: connected 127.0.0.1:8992
2019.01.13 03:02:54 LOG5[6228]: Service [curltest] connected remote server from 127.0.0.1:40174
2019.01.13 03:02:54 LOG5[6228]: Connection closed: 451 byte(s) sent to SSL, 85 byte(s) sent to socket
2019.01.13 03:02:55 LOG5[6234]: Service [curltest] accepted connection from 127.0.0.1:57680
2019.01.13 03:02:57 LOG5[6234]: s_connect: connected 127.0.0.1:8992
2019.01.13 03:02:57 LOG5[6234]: Service [curltest] connected remote server from 127.0.0.1:40180
2019.01.13 03:02:57 LOG5[6234]: Connection closed: 446 byte(s) sent to SSL, 89 byte(s) sent to socket
=== End of file ftps_stunnel.log
=== Start of file ftps_verify.log
* Expire in 0 ms for 6 (transfer 0x55d491d426a8)
* Expire in 13000 ms for 8 (transfer 0x55d491d426a8)
* STATE: INIT => CONNECT handle 0x55d491d426a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55d491d426a8)
* STATE: CONNECT => WAITCONNECT handle 0x55d491d426a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55d491d426a8; line 1613 (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):
} [138 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 0x55d491d885f8 (line 3118) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55d491d426a8; line 1627 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x55d491d885f8 (line 803) state change from WAIT220 to USER
{ [5 bytes data]
< 331 We are happy you popped in
} [5 bytes data]
> PASS ftp@example.com
* FTP 0x55d491d885f8 (line 2546) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x55d491d885f8 (line 2522) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x55d491d885f8 (line 2735) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x55d491d885f8 (line 815) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x55d491d885f8 (line 2870) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x55d491d426a8; line 1648 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x55d491d885f8 (line 1346) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x55d491d426a8; line 1697 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||42885|)
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55d491d426a8)
* Connecting to 127.0.0.1 (127.0.0.1) port 42885
* FTP 0x55d491d885f8 (line 2003) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x55d491d426a8; line 1781 (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 0x55d491d885f8 (line 3444) state change from STOP to RETR_TYPE
{ [5 bytes data]
< 200 I modify TYPE as you wanted
} [5 bytes data]
> SIZE verifiedserver
* FTP 0x55d491d885f8 (line 1769) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 16
} [5 bytes data]
> RETR verifiedserver
* FTP 0x55d491d885f8 (line 2255) state change from RETR_SIZE to RETR
{ [5 bytes data]
< 150 Binary junk (16 bytes).
* Maxdownload = -1
* Getting file with size: 16
* FTP 0x55d491d885f8 (line 485) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x55d491d426a8; line 1807 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55d491d426a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55d491d426a8; line 1849 (connection #0)
{ [16 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x55d491d426a8; line 2046 (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 0x55d491d426a8)
=== 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
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:01 --:--:-- 0
100 52 0 0 100 52 0 27 0:00:01 0:00:01 --:--:-- 28
=== 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:02:55.984854 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:02:56.010458 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:02:56.047889 == Info: Added connection 0. The cache now contains 1 members
03:02:56.064825 == Info: Trying 127.0.0.1...
03:02:56.065425 == Info: TCP_NODELAY set
03:02:56.068537 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:02:56.070821 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:02:56.081872 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:02:56.082500 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:02:56.083646 == Info: Marked for [keep alive]: FTP default
03:02:57.267376 == Info: successfully set certificate verify locations:
03:02:57.267637 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:02:57.346098 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:57.351111 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:02:57.351177 => Send SSL data, 138 bytes (0x8a)
0000: .......c.........wYQ..$..?..+.5....]1...*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:02:57.368611 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:02:57.373055 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:02:57.373115 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...P.m...n..`O.......Mc...E.4x.flf $.>.~..\m.%...S.UW.S.O1><
0040: \.....f./................
03:02:57.417197 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:57.417698 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:02:57.417758 <= 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:02:57.516609 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:02:57.516875 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:02:57.516934 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.].nv..v.....?y..l`..$...s.:..a.....VG.OLb.....J.bd...kC
0040: ...O.{0.......I....#.......gm.[7F]-M6.l.X0XR..*C...dL[b.5F..q.. ?.9
0080: EC...+...........J3....k9`.x[.sm/..c...WkX.1.....8Dpz.K...>....A
00c0: g.`..X.."..%-..eG3.H<=.[....t...'..;...W..8cZ.@.r..!.w[7F].42jV#.P.
0100: ..]....h[.<..QdmSI......^..R..&.Y.Po!..b@0 ...m_p.............a.
0140: .G2.......tQ.
03:02:57.586427 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:57.586768 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:02:57.586827 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:02:57.705172 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:02:57.705418 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:02:57.705477 => Send SSL data, 70 bytes (0x46)
0000: ...BA..o...me.(..U......t'7.,..[..nO6.b/.pqt..]!.Bt.#.%0......3.
0040: ...[7F]4
03:02:57.717914 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:57.718470 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:02:57.718526 => Send SSL data, 1 bytes (0x1)
0000: .
03:02:57.750082 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:02:57.750276 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:02:57.750331 => Send SSL data, 16 bytes (0x10)
0000: ..........wK...s
03:02:57.752862 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:57.753897 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:02:57.753954 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:02:57.756365 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:02:57.761695 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:02:57.761751 <= Recv SSL data, 16 bytes (0x10)
0000: ....pb...]Z..D..
03:02:57.783401 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:02:57.785707 == Info: Server certificate:
03:02:57.793837 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:02:57.800848 == Info: start date: Aug 31 23:39:18 2018 GMT
03:02:57.801842 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:02:57.802723 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:02:57.803696 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:02:57.805317 == Info: FTP 0x62ef748 (line 3118) state change from STOP to WAIT220
03:02:57.811502 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:57.820702 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:02:57.824330 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:02:57.824551 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:02:57.824740 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:02:57.824922 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:02:57.832288 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:02:57.835036 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:02:57.835851 == Info: FTP 0x62ef748 (line 803) state change from WAIT220 to USER
03:02:57.836739 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626d7a8; line 1627 (connection #0)
03:02:57.843274 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:02:57.843963 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:02:57.845446 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:57.845581 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:02:57.846008 == Info: FTP 0x62ef748 (line 2546) state change from USER to PASS
03:02:57.847023 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:02:57.847169 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:02:57.847839 => Send SSL data, 5 bytes (0x5)
0000: ....
03:02:57.847957 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:02:57.848331 == Info: FTP 0x62ef748 (line 2522) state change from PASS to PBSZ
03:02:57.848622 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:02:57.848760 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:02:57.849310 => Send SSL data, 5 bytes (0x5)
0000: ....
03:02:57.849426 => Send header, 8 bytes (0x8)
0000: PROT C
03:02:57.849792 == Info: FTP 0x62ef748 (line 2735) state change from PBSZ to PROT
03:02:57.850034 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:02:57.850170 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:02:57.850815 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:57.850931 => Send header, 5 bytes (0x5)
0000: PWD
03:02:57.851288 == Info: FTP 0x62ef748 (line 815) state change from PROT to PWD
03:02:57.851606 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:02:57.851742 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:02:57.852845 == Info: Entry path is '/'
03:02:57.853066 == Info: FTP 0x62ef748 (line 2870) state change from PWD to STOP
03:02:57.853229 == Info: protocol connect phase DONE
03:02:57.853568 == Info: STATE: PROTOCONNECT => DO handle 0x626d7a8; line 1648 (connection #0)
03:02:57.856156 == Info: DO phase starts
03:02:57.858035 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:57.858169 => Send header, 6 bytes (0x6)
0000: EPSV
03:02:57.858543 == Info: FTP 0x62ef748 (line 1346) state change from STOP to PASV
03:02:57.858716 == Info: Connect data stream passively
03:02:57.859517 == Info: ftp_perform ends with SECONDARY: 0
03:02:57.860276 == Info: STATE: DO => DOING handle 0x626d7a8; line 1697 (connection #0)
03:02:57.861162 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:02:57.861321 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||43093|).
03:02:57.867511 == Info: Trying 127.0.0.1...
03:02:57.867582 == Info: TCP_NODELAY set
03:02:57.867721 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:02:57.868547 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 43093
03:02:57.869549 == Info: FTP 0x62ef748 (line 2003) state change from PASV to STOP
03:02:57.870281 == Info: DO phase is complete2
03:02:57.870773 == Info: STATE: DOING => DO_MORE handle 0x626d7a8; line 1781 (connection #0)
03:02:57.871467 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:02:57.871680 == Info: DO-MORE connected phase starts
03:02:57.872650 => Send SSL data, 5 bytes (0x5)
0000: ....
03:02:57.872795 => Send header, 8 bytes (0x8)
0000: TYPE I
03:02:57.873199 == Info: FTP 0x62ef748 (line 3444) state change from STOP to STOR_TYPE
03:02:57.873593 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:02:57.873744 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:02:57.875031 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:02:57.875153 => Send header, 10 bytes (0xa)
0000: STOR 401
03:02:57.875564 == Info: FTP 0x62ef748 (line 1677) state change from STOR_TYPE to STOR
03:02:57.877322 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:02:57.877477 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:02:57.879249 == Info: FTP 0x62ef748 (line 485) state change from STOR to STOP
03:02:57.880021 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:02:57.881060 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:02:57.881824 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:02:57.886114 => Send data, 52 bytes (0x34)
0000: data. to. see.that FTPS.works. so does it?.
03:02:57.886735 == Info: We are completely uploaded and fine
03:02:57.890332 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:02:57.890809 == Info: multi_done
03:02:57.894122 == Info: Remembering we are in dir ""
03:02:57.916541 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:02:57.916740 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:02:57.922158 == Info: Connection #0 to host 127.0.0.1 left intact
03:02:57.924059 == Info: Expire cleared (transfer 0x626d7a8)
=== 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
==6233== Invalid read of size 8
==6233== at 0x5E745A5: check_free (dlerror.c:188)
==6233== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6233== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6233== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6233== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6233== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6233== by 0x559AF79: exit (exit.c:139)
==6233== by 0x55850A1: (below main) (libc-start.c:342)
==6233== Address 0x66b05a0 is 0 bytes after a block of size 32 alloc'd
==6233== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6233== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6233== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6233== by 0x4DD0E85: err_get_state (err.c:210)
==6233== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6233== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6233== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6233== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6233== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6233== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6233== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6233== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6233== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6233== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6233== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6233== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6233==
==6233== Invalid free() / delete / delete[] / realloc()
==6233== at 0x48369AB: free (vg_replace_malloc.c:530)
==6233== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6233== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6233== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6233== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6233== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6233== by 0x559AF79: exit (exit.c:139)
==6233== by 0x55850A1: (below main) (libc-start.c:342)
==6233== Address 0x66b0588 is 8 bytes inside a block of size 32 alloc'd
==6233== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6233== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6233== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6233== by 0x4DD0E85: err_get_state (err.c:210)
==6233== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6233== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6233== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6233== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6233== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6233== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6233== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6233== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6233== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6233== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6233== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6233== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6233==
==6233== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6233== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6233== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6233== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6233== by 0x4DD0E85: err_get_state (err.c:210)
==6233== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6233== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6233== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6233== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6233== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6233== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6233== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6233== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6233== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6233== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6233== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6233== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6233==
=== End of file valgrind401
test 0402...[FTP SSL required on non-SSL server]
-p----emv- OK (342 out of 1217, remaining: 24:32)
test 0403...[FTPS with CCC not supported by server]
goto problem 24
valgrind ERROR ==6242== Invalid read of size 8
==6242== at 0x5E745A5: check_free (dlerror.c:188)
==6242== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6242== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6242== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6242== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6242== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6242== by 0x559AF79: exit (exit.c:139)
==6242== by 0x55850A1: (below main) (libc-start.c:342)
==6242== Address 0x66ad2b0 is 0 bytes after a block of size 32 alloc'd
==6242== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6242== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6242== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6242== by 0x4DD0E85: err_get_state (err.c:210)
==6242== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6242== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6242== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6242== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6242== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6242== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6242== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6242== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6242== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6242== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6242== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6242== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6242==
==6242== Invalid free() / delete / delete[] / realloc()
==6242== at 0x48369AB: free (vg_replace_malloc.c:530)
==6242== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6242== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6242== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6242== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6242== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6242== by 0x559AF79: exit (exit.c:139)
==6242== by 0x55850A1: (below main) (libc-start.c:342)
==6242== Address 0x66ad298 is 8 bytes inside a block of size 32 alloc'd
==6242== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6242== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6242== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6242== by 0x4DD0E85: err_get_state (err.c:210)
==6242== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6242== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6242== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6242== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6242== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6242== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6242== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6242== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6242== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6242== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6242== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6242== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6242==
==6242== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6242== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6242== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6242== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6242== by 0x4DD0E85: err_get_state (err.c:210)
==6242== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6242== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6242== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6242== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6242== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6242== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6242== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6242== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6242== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6242== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6242== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6242== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6242==
== 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:03:01.673791 ====> Client connect
03:03:01.673896 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:01.753898 < "USER anonymous"
03:03:01.753945 > "331 We are happy you popped in![CR][LF]"
03:03:01.765088 < "PASS ftp@example.com"
03:03:01.765130 > "230 Welcome you silly person[CR][LF]"
03:03:01.767369 < "PBSZ 0"
03:03:01.767403 > "500 PBSZ not implemented[CR][LF]"
03:03:01.768747 < "PROT C"
03:03:01.768778 > "500 PROT not implemented[CR][LF]"
03:03:01.770155 < "CCC"
03:03:01.770175 CCC wasn't handled
03:03:01.770198 > "500 CCC is not dealt with![CR][LF]"
03:03:01.771642 < "PWD"
03:03:01.771678 > "257 "/" is current directory[CR][LF]"
03:03:01.778127 < "EPSV"
03:03:01.778153 ====> Passive DATA channel requested by client
03:03:01.778165 DATA sockfilt for passive data channel starting...
03:03:01.779811 DATA sockfilt for passive data channel started (pid 6244)
03:03:01.779926 DATA sockfilt for passive data channel listens on port 43485
03:03:01.779964 > "229 Entering Passive Mode (|||43485|)[LF]"
03:03:01.779986 Client has been notified that DATA conn will be accepted on port 43485
03:03:01.787395 Client connects to port 43485
03:03:01.787463 ====> Client established passive DATA connection on port 43485
03:03:01.793372 < "TYPE A"
03:03:01.793420 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:01.795487 < "LIST"
03:03:01.795528 > "150 here comes a directory[CR][LF]"
03:03:01.795563 pass LIST data on data connection
03:03:01.795676 =====> Closing passive DATA connection...
03:03:01.795700 Server disconnects passive DATA connection
03:03:01.796285 DATA sockfilt for passive data channel quits (pid 6253)
03:03:01.796306 =====> Closed passive DATA connection
03:03:01.796334 > "226 ASCII transfer complete[CR][LF]"
03:03:01.856719 < "QUIT"
03:03:01.856763 > "221 bye bye baby[CR][LF]"
03:03:01.863628 MAIN sockfilt said DISC
03:03:01.863667 ====> Client disconnected
03:03:01.863714 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:01.885029 ====> Client connect
03:03:01.885211 Received DATA (on stdin)
03:03:01.885234 > 160 bytes data, server => client
03:03:01.885254 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:01.885269 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:01.885279 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:01.965081 < 16 bytes data, client => server
03:03:01.965125 'USER anonymous\r\n'
03:03:01.965266 Received DATA (on stdin)
03:03:01.965287 > 33 bytes data, server => client
03:03:01.965304 '331 We are happy you popped in!\r\n'
03:03:01.976318 < 22 bytes data, client => server
03:03:01.976357 'PASS ftp@example.com\r\n'
03:03:01.976451 Received DATA (on stdin)
03:03:01.976472 > 30 bytes data, server => client
03:03:01.976489 '230 Welcome you silly person\r\n'
03:03:01.978623 < 8 bytes data, client => server
03:03:01.978651 'PBSZ 0\r\n'
03:03:01.978725 Received DATA (on stdin)
03:03:01.978744 > 26 bytes data, server => client
03:03:01.978760 '500 PBSZ not implemented\r\n'
03:03:01.980007 < 8 bytes data, client => server
03:03:01.980036 'PROT C\r\n'
03:03:01.980101 Received DATA (on stdin)
03:03:01.980120 > 26 bytes data, server => client
03:03:01.980137 '500 PROT not implemented\r\n'
03:03:01.981418 < 5 bytes data, client => server
03:03:01.981445 'CCC\r\n'
03:03:01.981521 Received DATA (on stdin)
03:03:01.981539 > 28 bytes data, server => client
03:03:01.981555 '500 CCC is not dealt with!\r\n'
03:03:01.982903 < 5 bytes data, client => server
03:03:01.982931 'PWD\r\n'
03:03:01.983001 Received DATA (on stdin)
03:03:01.983020 > 30 bytes data, server => client
03:03:01.983036 '257 "/" is current directory\r\n'
03:03:01.989387 < 6 bytes data, client => server
03:03:01.989417 'EPSV\r\n'
03:03:01.991284 Received DATA (on stdin)
03:03:01.991304 > 38 bytes data, server => client
03:03:01.991323 '229 Entering Passive Mode (|||43485|)\n'
03:03:02.004586 < 8 bytes data, client => server
03:03:02.004624 'TYPE A\r\n'
03:03:02.004740 Received DATA (on stdin)
03:03:02.004761 > 33 bytes data, server => client
03:03:02.004778 '200 I modify TYPE as you wanted\r\n'
03:03:02.006743 < 6 bytes data, client => server
03:03:02.006768 'LIST\r\n'
03:03:02.006851 Received DATA (on stdin)
03:03:02.006872 > 28 bytes data, server => client
03:03:02.006890 '150 here comes a directory\r\n'
03:03:02.007659 Received DATA (on stdin)
03:03:02.007681 > 29 bytes data, server => client
03:03:02.007699 '226 ASCII transfer complete\r\n'
03:03:02.067909 < 6 bytes data, client => server
03:03:02.067948 'QUIT\r\n'
03:03:02.068088 Received DATA (on stdin)
03:03:02.068112 > 18 bytes data, server => client
03:03:02.068128 '221 bye bye baby\r\n'
03:03:02.074892 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:01.990987 Running IPv4 version
03:03:01.991066 Listening on port 43485
03:03:01.991093 Wrote pid 6253 to ./.ftp_sockdata.pid
03:03:01.991108 Received PING (on stdin)
03:03:01.991168 Received PORT (on stdin)
03:03:01.998652 ====> Client connect
03:03:02.006931 Received DATA (on stdin)
03:03:02.006959 > 10 bytes data, server => client
03:03:02.006974 'total 20\r\n'
03:03:02.007004 Received DATA (on stdin)
03:03:02.007019 > 57 bytes data, server => client
03:03:02.007036 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:02.007059 Received DATA (on stdin)
03:03:02.007072 > 58 bytes data, server => client
03:03:02.007089 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:02.007108 Received DATA (on stdin)
03:03:02.007121 > 61 bytes data, server => client
03:03:02.007139 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:02.007150 '\n'
03:03:02.007168 Received DATA (on stdin)
03:03:02.007180 > 62 bytes data, server => client
03:03:02.007197 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:02.007208 '\n'
03:03:02.007226 Received DATA (on stdin)
03:03:02.007238 > 70 bytes data, server => client
03:03:02.007255 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:02.007268 'usr/bin\r\n'
03:03:02.007287 Received DATA (on stdin)
03:03:02.007299 > 59 bytes data, server => client
03:03:02.007316 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:02.007335 Received DATA (on stdin)
03:03:02.007347 > 69 bytes data, server => client
03:03:02.007364 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:02.007375 'd.html\r\n'
03:03:02.007394 Received DATA (on stdin)
03:03:02.007406 > 59 bytes data, server => client
03:03:02.007422 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:02.007441 Received DATA (on stdin)
03:03:02.007453 > 59 bytes data, server => client
03:03:02.007470 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:02.007489 Received DATA (on stdin)
03:03:02.007501 > 59 bytes data, server => client
03:03:02.007519 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:02.007538 Received DISC (on stdin)
03:03:02.007552 ====> Client forcibly disconnected
03:03:02.007577 Received QUIT (on stdin)
03:03:02.007589 quits
03:03:02.007608 ============> 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:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 623 0 623 0 0 331 0 --:--:-- 0:00:01 --:--:-- 343
=== End of file stderr403
=== Start of file trace403
03:02:59.148233 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:02:59.173021 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:02:59.210701 == Info: Added connection 0. The cache now contains 1 members
03:02:59.229141 == Info: Trying 127.0.0.1...
03:02:59.229752 == Info: TCP_NODELAY set
03:02:59.233009 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:02:59.235303 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:02:59.247119 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:02:59.247674 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:02:59.248791 == Info: Marked for [keep alive]: FTP default
03:03:00.402500 == Info: successfully set certificate verify locations:
03:03:00.402759 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:00.480634 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:00.485645 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:00.485708 => Send SSL data, 138 bytes (0x8a)
0000: ............ri8Z..O.V...qL........8..F..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:00.503385 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:00.507830 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:00.507891 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....f........J..\:(...;........4*. .y..7iS.<..)'~.3|..W{...{
0040: X..8..../................
03:03:00.551895 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:00.552373 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:00.552434 <= 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:03:00.650860 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:00.651124 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:00.651182 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.].nv..v.....?y..l`..$...s.:..a.....VG.OLb.....J.bd...kC
0040: ...O.{0....../%...D....`..~@.NEqO`Goz!~......6.X....P...?..R[r/.
0080: ...R.j3?r*.......#e...;OS..=..B..S..3.R...H..]!B}b.%o.B\.:X8...n
00c0: .....+..\.../9.........5.-._{h.x.;.B6s.x...I7.l.....bu.....d.L..
0100: ..\AG..B/.... ....s4.|&&M.t2.-..CQ..G./..............>.....~T...
0140: ?.K.....x.%M.
03:03:00.719832 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:00.720172 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:00.720230 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:00.839141 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:00.839392 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:00.839450 => Send SSL data, 70 bytes (0x46)
0000: ...BA......-pJ.7.............f.L.:P..}(. .*....@.N....z..E...=.v
0040: .=..@.
03:03:00.851894 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:00.852459 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:00.852515 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:00.883926 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:00.884124 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:00.884179 => Send SSL data, 16 bytes (0x10)
0000: ........./8N..G.
03:03:00.886827 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:00.887860 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:00.887916 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:00.890325 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:00.895698 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:00.895753 <= Recv SSL data, 16 bytes (0x10)
0000: ......C.......W.
03:03:00.917208 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:00.919375 == Info: Server certificate:
03:03:00.926710 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:00.932933 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:00.933874 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:00.934703 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:00.935598 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:00.937058 == Info: FTP 0x62ec468 (line 3118) state change from STOP to WAIT220
03:03:00.943244 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:00.952369 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:00.955818 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:00.956014 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:00.956238 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:00.956421 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:00.963707 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:00.966278 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:00.967044 == Info: FTP 0x62ec468 (line 803) state change from WAIT220 to USER
03:03:00.967746 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626d7a8; line 1627 (connection #0)
03:03:00.974088 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:00.974831 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:00.976119 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:00.976245 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:00.976618 == Info: FTP 0x62ec468 (line 2546) state change from USER to PASS
03:03:00.977629 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:00.977774 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:00.978442 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:00.978558 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:00.978879 == Info: FTP 0x62ec468 (line 2522) state change from PASS to PBSZ
03:03:00.979169 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:00.979306 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:00.979832 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:00.979946 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:00.980270 == Info: FTP 0x62ec468 (line 2735) state change from PBSZ to PROT
03:03:00.980511 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:00.980647 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:00.981240 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:00.981354 => Send header, 5 bytes (0x5)
0000: CCC
03:03:00.981754 == Info: FTP 0x62ec468 (line 2754) state change from PROT to CCC
03:03:00.981997 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:00.982133 <= Recv header, 28 bytes (0x1c)
0000: 500 CCC is not dealt with
03:03:00.982726 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:00.982839 => Send header, 5 bytes (0x5)
0000: PWD
03:03:00.983148 == Info: FTP 0x62ec468 (line 815) state change from CCC to PWD
03:03:00.983468 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:00.983604 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:00.984714 == Info: Entry path is '/'
03:03:00.984933 == Info: FTP 0x62ec468 (line 2870) state change from PWD to STOP
03:03:00.985095 == Info: protocol connect phase DONE
03:03:00.985432 == Info: STATE: PROTOCONNECT => DO handle 0x626d7a8; line 1648 (connection #0)
03:03:00.987287 == Info: DO phase starts
03:03:00.989206 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:00.989323 => Send header, 6 bytes (0x6)
0000: EPSV
03:03:00.989657 == Info: FTP 0x62ec468 (line 1346) state change from STOP to PASV
03:03:00.989827 == Info: Connect data stream passively
03:03:00.990591 == Info: ftp_perform ends with SECONDARY: 0
03:03:00.991312 == Info: STATE: DO => DOING handle 0x626d7a8; line 1697 (connection #0)
03:03:00.992440 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:03:00.992604 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||43485|).
03:03:00.998434 == Info: Trying 127.0.0.1...
03:03:00.998510 == Info: TCP_NODELAY set
03:03:00.998649 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:00.999431 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 43485
03:03:01.000350 == Info: FTP 0x62ec468 (line 2003) state change from PASV to STOP
03:03:01.001012 == Info: DO phase is complete2
03:03:01.001638 == Info: STATE: DOING => DO_MORE handle 0x626d7a8; line 1781 (connection #0)
03:03:01.002824 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:01.003038 == Info: DO-MORE connected phase starts
03:03:01.004404 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:01.004544 => Send header, 8 bytes (0x8)
0000: TYPE A
03:03:01.004887 == Info: FTP 0x62ec468 (line 3444) state change from STOP to LIST_TYPE
03:03:01.005279 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:01.005430 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:01.006607 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:01.006725 => Send header, 6 bytes (0x6)
0000: LIST
03:03:01.007306 == Info: FTP 0x62ec468 (line 1502) state change from LIST_TYPE to LIST
03:03:01.009098 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:01.009247 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:03:01.009849 == Info: Maxdownload = -1
03:03:01.011180 == Info: FTP 0x62ec468 (line 485) state change from LIST to STOP
03:03:01.011953 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:03:01.013050 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:03:01.013834 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:03:01.017083 <= 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:03:01.026227 == Info: nread <= 0, server closed connection, bailing
03:03:01.028050 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:03:01.028515 == Info: multi_done
03:03:01.032120 == Info: Remembering we are in dir ""
03:03:01.048497 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:01.048672 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:03:01.053455 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:01.055332 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace403
=== Start of file valgrind403
==6242== Invalid read of size 8
==6242== at 0x5E745A5: check_free (dlerror.c:188)
==6242== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6242== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6242== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6242== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6242== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6242== by 0x559AF79: exit (exit.c:139)
==6242== by 0x55850A1: (below main) (libc-start.c:342)
==6242== Address 0x66ad2b0 is 0 bytes after a block of size 32 alloc'd
==6242== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6242== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6242== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6242== by 0x4DD0E85: err_get_state (err.c:210)
==6242== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6242== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6242== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6242== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6242== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6242== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6242== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6242== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6242== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6242== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6242== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6242== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6242==
==6242== Invalid free() / delete / delete[] / realloc()
==6242== at 0x48369AB: free (vg_replace_malloc.c:530)
==6242== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6242== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6242== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6242== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6242== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6242== by 0x559AF79: exit (exit.c:139)
==6242== by 0x55850A1: (below main) (libc-start.c:342)
==6242== Address 0x66ad298 is 8 bytes inside a block of size 32 alloc'd
==6242== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6242== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6242== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6242== by 0x4DD0E85: err_get_state (err.c:210)
==6242== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6242== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6242== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6242== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6242== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6242== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6242== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6242== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6242== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6242== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6242== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6242== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6242==
==6242== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6242== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6242== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6242== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6242== by 0x4DD0E85: err_get_state (err.c:210)
==6242== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6242== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6242== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6242== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6242== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6242== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6242== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6242== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6242== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6242== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6242== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6242== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6242==
=== End of file valgrind403
test 0404...[FTPS with invalid cacert]
goto problem 25
valgrind ERROR ==6256== Invalid read of size 8
==6256== at 0x5E745A5: check_free (dlerror.c:188)
==6256== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6256== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6256== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6256== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6256== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6256== by 0x559AF79: exit (exit.c:139)
==6256== by 0x55850A1: (below main) (libc-start.c:342)
==6256== Address 0x6301f80 is 0 bytes after a block of size 32 alloc'd
==6256== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6256== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6256== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6256== by 0x4DD0E85: err_get_state (err.c:210)
==6256== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6256== by 0x4E67EB5: BIO_new_file (file.c:95)
==6256== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==6256== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6256== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6256== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6256== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6256== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6256== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6256== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6256== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6256== by 0x1B9F19: ftp_connect (ftp.c:3109)
==6256==
==6256== Invalid free() / delete / delete[] / realloc()
==6256== at 0x48369AB: free (vg_replace_malloc.c:530)
==6256== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6256== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6256== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6256== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6256== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6256== by 0x559AF79: exit (exit.c:139)
==6256== by 0x55850A1: (below main) (libc-start.c:342)
==6256== Address 0x6301f68 is 8 bytes inside a block of size 32 alloc'd
==6256== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6256== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6256== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6256== by 0x4DD0E85: err_get_state (err.c:210)
==6256== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6256== by 0x4E67EB5: BIO_new_file (file.c:95)
==6256== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==6256== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6256== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6256== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6256== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6256== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6256== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6256== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6256== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6256== by 0x1B9F19: ftp_connect (ftp.c:3109)
==6256==
==6256== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==6256== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6256== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6256== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6256== by 0x4DD0E85: err_get_state (err.c:210)
==6256== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6256== by 0x4E67EB5: BIO_new_file (file.c:95)
==6256== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==6256== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6256== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6256== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6256== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6256== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6256== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6256== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6256== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6256== by 0x1B9F19: ftp_connect (ftp.c:3109)
==6256==
== Contents of files in the log/ dir after test 404
=== Start of file ftp_server.log
03:03:01.673791 ====> Client connect
03:03:01.673896 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:01.753898 < "USER anonymous"
03:03:01.753945 > "331 We are happy you popped in![CR][LF]"
03:03:01.765088 < "PASS ftp@example.com"
03:03:01.765130 > "230 Welcome you silly person[CR][LF]"
03:03:01.767369 < "PBSZ 0"
03:03:01.767403 > "500 PBSZ not implemented[CR][LF]"
03:03:01.768747 < "PROT C"
03:03:01.768778 > "500 PROT not implemented[CR][LF]"
03:03:01.770155 < "CCC"
03:03:01.770175 CCC wasn't handled
03:03:01.770198 > "500 CCC is not dealt with![CR][LF]"
03:03:01.771642 < "PWD"
03:03:01.771678 > "257 "/" is current directory[CR][LF]"
03:03:01.778127 < "EPSV"
03:03:01.778153 ====> Passive DATA channel requested by client
03:03:01.778165 DATA sockfilt for passive data channel starting...
03:03:01.779811 DATA sockfilt for passive data channel started (pid 6244)
03:03:01.779926 DATA sockfilt for passive data channel listens on port 43485
03:03:01.779964 > "229 Entering Passive Mode (|||43485|)[LF]"
03:03:01.779986 Client has been notified that DATA conn will be accepted on port 43485
03:03:01.787395 Client connects to port 43485
03:03:01.787463 ====> Client established passive DATA connection on port 43485
03:03:01.793372 < "TYPE A"
03:03:01.793420 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:01.795487 < "LIST"
03:03:01.795528 > "150 here comes a directory[CR][LF]"
03:03:01.795563 pass LIST data on data connection
03:03:01.795676 =====> Closing passive DATA connection...
03:03:01.795700 Server disconnects passive DATA connection
03:03:01.796285 DATA sockfilt for passive data channel quits (pid 6253)
03:03:01.796306 =====> Closed passive DATA connection
03:03:01.796334 > "226 ASCII transfer complete[CR][LF]"
03:03:01.856719 < "QUIT"
03:03:01.856763 > "221 bye bye baby[CR][LF]"
03:03:01.863628 MAIN sockfilt said DISC
03:03:01.863667 ====> Client disconnected
03:03:01.863714 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:01.885029 ====> Client connect
03:03:01.885211 Received DATA (on stdin)
03:03:01.885234 > 160 bytes data, server => client
03:03:01.885254 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:01.885269 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:01.885279 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:01.965081 < 16 bytes data, client => server
03:03:01.965125 'USER anonymous\r\n'
03:03:01.965266 Received DATA (on stdin)
03:03:01.965287 > 33 bytes data, server => client
03:03:01.965304 '331 We are happy you popped in!\r\n'
03:03:01.976318 < 22 bytes data, client => server
03:03:01.976357 'PASS ftp@example.com\r\n'
03:03:01.976451 Received DATA (on stdin)
03:03:01.976472 > 30 bytes data, server => client
03:03:01.976489 '230 Welcome you silly person\r\n'
03:03:01.978623 < 8 bytes data, client => server
03:03:01.978651 'PBSZ 0\r\n'
03:03:01.978725 Received DATA (on stdin)
03:03:01.978744 > 26 bytes data, server => client
03:03:01.978760 '500 PBSZ not implemented\r\n'
03:03:01.980007 < 8 bytes data, client => server
03:03:01.980036 'PROT C\r\n'
03:03:01.980101 Received DATA (on stdin)
03:03:01.980120 > 26 bytes data, server => client
03:03:01.980137 '500 PROT not implemented\r\n'
03:03:01.981418 < 5 bytes data, client => server
03:03:01.981445 'CCC\r\n'
03:03:01.981521 Received DATA (on stdin)
03:03:01.981539 > 28 bytes data, server => client
03:03:01.981555 '500 CCC is not dealt with!\r\n'
03:03:01.982903 < 5 bytes data, client => server
03:03:01.982931 'PWD\r\n'
03:03:01.983001 Received DATA (on stdin)
03:03:01.983020 > 30 bytes data, server => client
03:03:01.983036 '257 "/" is current directory\r\n'
03:03:01.989387 < 6 bytes data, client => server
03:03:01.989417 'EPSV\r\n'
03:03:01.991284 Received DATA (on stdin)
03:03:01.991304 > 38 bytes data, server => client
03:03:01.991323 '229 Entering Passive Mode (|||43485|)\n'
03:03:02.004586 < 8 bytes data, client => server
03:03:02.004624 'TYPE A\r\n'
03:03:02.004740 Received DATA (on stdin)
03:03:02.004761 > 33 bytes data, server => client
03:03:02.004778 '200 I modify TYPE as you wanted\r\n'
03:03:02.006743 < 6 bytes data, client => server
03:03:02.006768 'LIST\r\n'
03:03:02.006851 Received DATA (on stdin)
03:03:02.006872 > 28 bytes data, server => client
03:03:02.006890 '150 here comes a directory\r\n'
03:03:02.007659 Received DATA (on stdin)
03:03:02.007681 > 29 bytes data, server => client
03:03:02.007699 '226 ASCII transfer complete\r\n'
03:03:02.067909 < 6 bytes data, client => server
03:03:02.067948 'QUIT\r\n'
03:03:02.068088 Received DATA (on stdin)
03:03:02.068112 > 18 bytes data, server => client
03:03:02.068128 '221 bye bye baby\r\n'
03:03:02.074892 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:01.990987 Running IPv4 version
03:03:01.991066 Listening on port 43485
03:03:01.991093 Wrote pid 6253 to ./.ftp_sockdata.pid
03:03:01.991108 Received PING (on stdin)
03:03:01.991168 Received PORT (on stdin)
03:03:01.998652 ====> Client connect
03:03:02.006931 Received DATA (on stdin)
03:03:02.006959 > 10 bytes data, server => client
03:03:02.006974 'total 20\r\n'
03:03:02.007004 Received DATA (on stdin)
03:03:02.007019 > 57 bytes data, server => client
03:03:02.007036 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:02.007059 Received DATA (on stdin)
03:03:02.007072 > 58 bytes data, server => client
03:03:02.007089 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:02.007108 Received DATA (on stdin)
03:03:02.007121 > 61 bytes data, server => client
03:03:02.007139 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:02.007150 '\n'
03:03:02.007168 Received DATA (on stdin)
03:03:02.007180 > 62 bytes data, server => client
03:03:02.007197 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:02.007208 '\n'
03:03:02.007226 Received DATA (on stdin)
03:03:02.007238 > 70 bytes data, server => client
03:03:02.007255 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:02.007268 'usr/bin\r\n'
03:03:02.007287 Received DATA (on stdin)
03:03:02.007299 > 59 bytes data, server => client
03:03:02.007316 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:02.007335 Received DATA (on stdin)
03:03:02.007347 > 69 bytes data, server => client
03:03:02.007364 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:02.007375 'd.html\r\n'
03:03:02.007394 Received DATA (on stdin)
03:03:02.007406 > 59 bytes data, server => client
03:03:02.007422 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:02.007441 Received DATA (on stdin)
03:03:02.007453 > 59 bytes data, server => client
03:03:02.007470 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:02.007489 Received DATA (on stdin)
03:03:02.007501 > 59 bytes data, server => client
03:03:02.007519 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:02.007538 Received DISC (on stdin)
03:03:02.007552 ====> Client forcibly disconnected
03:03:02.007577 Received QUIT (on stdin)
03:03:02.007589 quits
03:03:02.007608 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== 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:03:02.113100 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:02.138132 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:02.175824 == Info: Added connection 0. The cache now contains 1 members
03:03:02.192667 == Info: Trying 127.0.0.1...
03:03:02.193291 == Info: TCP_NODELAY set
03:03:02.196365 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:02.198681 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:03:02.209727 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:02.210280 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:03:02.211393 == Info: Marked for [keep alive]: FTP default
03:03:02.239860 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
03:03:02.240678 == Info: multi_done
03:03:02.243594 == Info: Marked for [closure]: FTP ended with bad error code
03:03:02.250453 == Info: Closing connection 0
03:03:02.253132 == Info: The cache now contains 0 members
03:03:02.270630 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace404
=== Start of file valgrind404
==6256== Invalid read of size 8
==6256== at 0x5E745A5: check_free (dlerror.c:188)
==6256== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6256== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6256== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6256== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6256== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6256== by 0x559AF79: exit (exit.c:139)
==6256== by 0x55850A1: (below main) (libc-start.c:342)
==6256== Address 0x6301f80 is 0 bytes after a block of size 32 alloc'd
==6256== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6256== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6256== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6256== by 0x4DD0E85: err_get_state (err.c:210)
==6256== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6256== by 0x4E67EB5: BIO_new_file (file.c:95)
==6256== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==6256== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6256== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6256== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6256== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6256== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6256== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6256== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6256== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6256== by 0x1B9F19: ftp_connect (ftp.c:3109)
==6256==
==6256== Invalid free() / delete / delete[] / realloc()
==6256== at 0x48369AB: free (vg_replace_malloc.c:530)
==6256== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6256== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6256== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6256== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6256== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6256== by 0x559AF79: exit (exit.c:139)
==6256== by 0x55850A1: (below main) (libc-start.c:342)
==6256== Address 0x6301f68 is 8 bytes inside a block of size 32 alloc'd
==6256== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6256== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6256== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6256== by 0x4DD0E85: err_get_state (err.c:210)
==6256== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6256== by 0x4E67EB5: BIO_new_file (file.c:95)
==6256== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==6256== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6256== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6256== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6256== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6256== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6256== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6256== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6256== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6256== by 0x1B9F19: ftp_connect (ftp.c:3109)
==6256==
==6256== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==6256== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6256== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6256== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6256== by 0x4DD0E85: err_get_state (err.c:210)
==6256== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6256== by 0x4E67EB5: BIO_new_file (file.c:95)
==6256== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==6256== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6256== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6256== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6256== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6256== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6256== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6256== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6256== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6256== by 0x1B9F19: ftp_connect (ftp.c:3109)
==6256==
=== End of file valgrind404
test 0405...[FTPS operation to FTP port]
goto problem 26
valgrind ERROR ==6260== Invalid read of size 8
==6260== at 0x5E745A5: check_free (dlerror.c:188)
==6260== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6260== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6260== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6260== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6260== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6260== by 0x559AF79: exit (exit.c:139)
==6260== by 0x55850A1: (below main) (libc-start.c:342)
==6260== Address 0x66ad390 is 0 bytes after a block of size 32 alloc'd
==6260== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6260== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6260== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6260== by 0x4DD0E85: err_get_state (err.c:210)
==6260== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6260== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6260== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6260== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6260== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6260== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6260== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6260== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6260== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6260== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6260== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6260== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6260==
==6260== Invalid free() / delete / delete[] / realloc()
==6260== at 0x48369AB: free (vg_replace_malloc.c:530)
==6260== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6260== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6260== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6260== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6260== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6260== by 0x559AF79: exit (exit.c:139)
==6260== by 0x55850A1: (below main) (libc-start.c:342)
==6260== Address 0x66ad378 is 8 bytes inside a block of size 32 alloc'd
==6260== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6260== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6260== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6260== by 0x4DD0E85: err_get_state (err.c:210)
==6260== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6260== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6260== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6260== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6260== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6260== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6260== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6260== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6260== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6260== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6260== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6260== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6260==
==6260== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==6260== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6260== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6260== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6260== by 0x4DD0E85: err_get_state (err.c:210)
==6260== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6260== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6260== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6260== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6260== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6260== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6260== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6260== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6260== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6260== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6260== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6260== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6260==
== Contents of files in the log/ dir after test 405
=== Start of file ftp_server.log
03:03:01.673791 ====> Client connect
03:03:01.673896 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:01.753898 < "USER anonymous"
03:03:01.753945 > "331 We are happy you popped in![CR][LF]"
03:03:01.765088 < "PASS ftp@example.com"
03:03:01.765130 > "230 Welcome you silly person[CR][LF]"
03:03:01.767369 < "PBSZ 0"
03:03:01.767403 > "500 PBSZ not implemented[CR][LF]"
03:03:01.768747 < "PROT C"
03:03:01.768778 > "500 PROT not implemented[CR][LF]"
03:03:01.770155 < "CCC"
03:03:01.770175 CCC wasn't handled
03:03:01.770198 > "500 CCC is not dealt with![CR][LF]"
03:03:01.771642 < "PWD"
03:03:01.771678 > "257 "/" is current directory[CR][LF]"
03:03:01.778127 < "EPSV"
03:03:01.778153 ====> Passive DATA channel requested by client
03:03:01.778165 DATA sockfilt for passive data channel starting...
03:03:01.779811 DATA sockfilt for passive data channel started (pid 6244)
03:03:01.779926 DATA sockfilt for passive data channel listens on port 43485
03:03:01.779964 > "229 Entering Passive Mode (|||43485|)[LF]"
03:03:01.779986 Client has been notified that DATA conn will be accepted on port 43485
03:03:01.787395 Client connects to port 43485
03:03:01.787463 ====> Client established passive DATA connection on port 43485
03:03:01.793372 < "TYPE A"
03:03:01.793420 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:01.795487 < "LIST"
03:03:01.795528 > "150 here comes a directory[CR][LF]"
03:03:01.795563 pass LIST data on data connection
03:03:01.795676 =====> Closing passive DATA connection...
03:03:01.795700 Server disconnects passive DATA connection
03:03:01.796285 DATA sockfilt for passive data channel quits (pid 6253)
03:03:01.796306 =====> Closed passive DATA connection
03:03:01.796334 > "226 ASCII transfer complete[CR][LF]"
03:03:01.856719 < "QUIT"
03:03:01.856763 > "221 bye bye baby[CR][LF]"
03:03:01.863628 MAIN sockfilt said DISC
03:03:01.863667 ====> Client disconnected
03:03:01.863714 Awaiting input
03:03:04.141222 ====> Client connect
03:03:04.141332 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:05.506168 MAIN sockfilt said DISC
03:03:05.506223 ====> Client disconnected
03:03:05.506266 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:01.885029 ====> Client connect
03:03:01.885211 Received DATA (on stdin)
03:03:01.885234 > 160 bytes data, server => client
03:03:01.885254 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:01.885269 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:01.885279 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:01.965081 < 16 bytes data, client => server
03:03:01.965125 'USER anonymous\r\n'
03:03:01.965266 Received DATA (on stdin)
03:03:01.965287 > 33 bytes data, server => client
03:03:01.965304 '331 We are happy you popped in!\r\n'
03:03:01.976318 < 22 bytes data, client => server
03:03:01.976357 'PASS ftp@example.com\r\n'
03:03:01.976451 Received DATA (on stdin)
03:03:01.976472 > 30 bytes data, server => client
03:03:01.976489 '230 Welcome you silly person\r\n'
03:03:01.978623 < 8 bytes data, client => server
03:03:01.978651 'PBSZ 0\r\n'
03:03:01.978725 Received DATA (on stdin)
03:03:01.978744 > 26 bytes data, server => client
03:03:01.978760 '500 PBSZ not implemented\r\n'
03:03:01.980007 < 8 bytes data, client => server
03:03:01.980036 'PROT C\r\n'
03:03:01.980101 Received DATA (on stdin)
03:03:01.980120 > 26 bytes data, server => client
03:03:01.980137 '500 PROT not implemented\r\n'
03:03:01.981418 < 5 bytes data, client => server
03:03:01.981445 'CCC\r\n'
03:03:01.981521 Received DATA (on stdin)
03:03:01.981539 > 28 bytes data, server => client
03:03:01.981555 '500 CCC is not dealt with!\r\n'
03:03:01.982903 < 5 bytes data, client => server
03:03:01.982931 'PWD\r\n'
03:03:01.983001 Received DATA (on stdin)
03:03:01.983020 > 30 bytes data, server => client
03:03:01.983036 '257 "/" is current directory\r\n'
03:03:01.989387 < 6 bytes data, client => server
03:03:01.989417 'EPSV\r\n'
03:03:01.991284 Received DATA (on stdin)
03:03:01.991304 > 38 bytes data, server => client
03:03:01.991323 '229 Entering Passive Mode (|||43485|)\n'
03:03:02.004586 < 8 bytes data, client => server
03:03:02.004624 'TYPE A\r\n'
03:03:02.004740 Received DATA (on stdin)
03:03:02.004761 > 33 bytes data, server => client
03:03:02.004778 '200 I modify TYPE as you wanted\r\n'
03:03:02.006743 < 6 bytes data, client => server
03:03:02.006768 'LIST\r\n'
03:03:02.006851 Received DATA (on stdin)
03:03:02.006872 > 28 bytes data, server => client
03:03:02.006890 '150 here comes a directory\r\n'
03:03:02.007659 Received DATA (on stdin)
03:03:02.007681 > 29 bytes data, server => client
03:03:02.007699 '226 ASCII transfer complete\r\n'
03:03:02.067909 < 6 bytes data, client => server
03:03:02.067948 'QUIT\r\n'
03:03:02.068088 Received DATA (on stdin)
03:03:02.068112 > 18 bytes data, server => client
03:03:02.068128 '221 bye bye baby\r\n'
03:03:02.074892 ====> Client disconnect
03:03:04.352460 ====> Client connect
03:03:04.352672 Received DATA (on stdin)
03:03:04.352697 > 160 bytes data, server => client
03:03:04.352714 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:04.352729 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:04.352741 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:05.623759 < 143 bytes data, client => server
03:03:05.623800 '............%.v&c.h7\rI5F......I].....Q+0.....*.+./.,.0..... '
03:03:05.623816 '.#...'.\n.$...(...../.<.5.=.\n...3..........\r...............'
03:03:05.623826 '........[0B].....\n..........'
03:03:05.641494 < 7 bytes data, client => server
03:03:05.641525 '......F'
03:03:05.717407 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:01.990987 Running IPv4 version
03:03:01.991066 Listening on port 43485
03:03:01.991093 Wrote pid 6253 to ./.ftp_sockdata.pid
03:03:01.991108 Received PING (on stdin)
03:03:01.991168 Received PORT (on stdin)
03:03:01.998652 ====> Client connect
03:03:02.006931 Received DATA (on stdin)
03:03:02.006959 > 10 bytes data, server => client
03:03:02.006974 'total 20\r\n'
03:03:02.007004 Received DATA (on stdin)
03:03:02.007019 > 57 bytes data, server => client
03:03:02.007036 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:02.007059 Received DATA (on stdin)
03:03:02.007072 > 58 bytes data, server => client
03:03:02.007089 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:02.007108 Received DATA (on stdin)
03:03:02.007121 > 61 bytes data, server => client
03:03:02.007139 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:02.007150 '\n'
03:03:02.007168 Received DATA (on stdin)
03:03:02.007180 > 62 bytes data, server => client
03:03:02.007197 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:02.007208 '\n'
03:03:02.007226 Received DATA (on stdin)
03:03:02.007238 > 70 bytes data, server => client
03:03:02.007255 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:02.007268 'usr/bin\r\n'
03:03:02.007287 Received DATA (on stdin)
03:03:02.007299 > 59 bytes data, server => client
03:03:02.007316 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:02.007335 Received DATA (on stdin)
03:03:02.007347 > 69 bytes data, server => client
03:03:02.007364 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:02.007375 'd.html\r\n'
03:03:02.007394 Received DATA (on stdin)
03:03:02.007406 > 59 bytes data, server => client
03:03:02.007422 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:02.007441 Received DATA (on stdin)
03:03:02.007453 > 59 bytes data, server => client
03:03:02.007470 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:02.007489 Received DATA (on stdin)
03:03:02.007501 > 59 bytes data, server => client
03:03:02.007519 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:02.007538 Received DISC (on stdin)
03:03:02.007552 ====> Client forcibly disconnected
03:03:02.007577 Received QUIT (on stdin)
03:03:02.007589 quits
03:03:02.007608 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file server.input
[16][03][01]
I5F[A1][04][DD][FD].[06]I][E2][07][1B][04][99]Q+0[E6][D6][10]
[C0]$[C0][14][C0](
[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:03:04.269685 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:04.293509 == Info: Expire in 5000 ms for 8 (transfer 0x626d7a8)
03:03:04.295826 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:04.332744 == Info: Added connection 0. The cache now contains 1 members
03:03:04.349397 == Info: Trying 127.0.0.1...
03:03:04.349993 == Info: TCP_NODELAY set
03:03:04.352957 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:04.354525 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:03:04.365540 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8992 (#0)
03:03:04.366084 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:03:04.367202 == Info: Marked for [keep alive]: FTP default
03:03:05.534614 == Info: successfully set certificate verify locations:
03:03:05.534886 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:05.613436 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:05.618466 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:05.618530 => Send SSL data, 138 bytes (0x8a)
0000: .......%.v&c.h7.I5F......I].....Q+0.....*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:05.640239 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:05.642989 == Info: TLSv1.2 (OUT), TLS alert, protocol version (582):
03:03:05.643049 => Send SSL data, 2 bytes (0x2)
0000: .F
03:03:05.649390 == Info: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
03:03:05.650209 == Info: multi_done
03:03:05.653078 == Info: Marked for [closure]: FTP ended with bad error code
03:03:05.660308 == Info: Closing connection 0
03:03:05.662895 == Info: The cache now contains 0 members
03:03:05.724629 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace405
=== Start of file valgrind405
==6260== Invalid read of size 8
==6260== at 0x5E745A5: check_free (dlerror.c:188)
==6260== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6260== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6260== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6260== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6260== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6260== by 0x559AF79: exit (exit.c:139)
==6260== by 0x55850A1: (below main) (libc-start.c:342)
==6260== Address 0x66ad390 is 0 bytes after a block of size 32 alloc'd
==6260== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6260== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6260== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6260== by 0x4DD0E85: err_get_state (err.c:210)
==6260== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6260== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6260== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6260== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6260== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6260== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6260== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6260== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6260== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6260== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6260== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6260== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6260==
==6260== Invalid free() / delete / delete[] / realloc()
==6260== at 0x48369AB: free (vg_replace_malloc.c:530)
==6260== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6260== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6260== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6260== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6260== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6260== by 0x559AF79: exit (exit.c:139)
==6260== by 0x55850A1: (below main) (libc-start.c:342)
==6260== Address 0x66ad378 is 8 bytes inside a block of size 32 alloc'd
==6260== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6260== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6260== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6260== by 0x4DD0E85: err_get_state (err.c:210)
==6260== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6260== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6260== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6260== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6260== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6260== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6260== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6260== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6260== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6260== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6260== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6260== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6260==
==6260== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==6260== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6260== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6260== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6260== by 0x4DD0E85: err_get_state (err.c:210)
==6260== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6260== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6260== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6260== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6260== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6260== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6260== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6260== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6260== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6260== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6260== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6260== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6260==
=== End of file valgrind405
test 0406...[FTPS dir list, PORT with specified IP]
goto problem 27
valgrind ERROR ==6263== Invalid read of size 8
==6263== at 0x5E745A5: check_free (dlerror.c:188)
==6263== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6263== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6263== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6263== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6263== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6263== by 0x559AF79: exit (exit.c:139)
==6263== by 0x55850A1: (below main) (libc-start.c:342)
==6263== Address 0x66adbb0 is 0 bytes after a block of size 32 alloc'd
==6263== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6263== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6263== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6263== by 0x4DD0E85: err_get_state (err.c:210)
==6263== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6263== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6263== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6263== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6263== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6263== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6263== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6263== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6263== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6263== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6263== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6263== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6263==
==6263== Invalid free() / delete / delete[] / realloc()
==6263== at 0x48369AB: free (vg_replace_malloc.c:530)
==6263== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6263== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6263== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6263== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6263== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6263== by 0x559AF79: exit (exit.c:139)
==6263== by 0x55850A1: (below main) (libc-start.c:342)
==6263== Address 0x66adb98 is 8 bytes inside a block of size 32 alloc'd
==6263== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6263== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6263== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6263== by 0x4DD0E85: err_get_state (err.c:210)
==6263== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6263== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6263== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6263== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6263== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6263== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6263== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6263== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6263== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6263== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6263== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6263== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6263==
==6263== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6263== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6263== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6263== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6263== by 0x4DD0E85: err_get_state (err.c:210)
==6263== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6263== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6263== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6263== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6263== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6263== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6263== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6263== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6263== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6263== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6263== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6263== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6263==
== 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:03:01.673791 ====> Client connect
03:03:01.673896 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:01.753898 < "USER anonymous"
03:03:01.753945 > "331 We are happy you popped in![CR][LF]"
03:03:01.765088 < "PASS ftp@example.com"
03:03:01.765130 > "230 Welcome you silly person[CR][LF]"
03:03:01.767369 < "PBSZ 0"
03:03:01.767403 > "500 PBSZ not implemented[CR][LF]"
03:03:01.768747 < "PROT C"
03:03:01.768778 > "500 PROT not implemented[CR][LF]"
03:03:01.770155 < "CCC"
03:03:01.770175 CCC wasn't handled
03:03:01.770198 > "500 CCC is not dealt with![CR][LF]"
03:03:01.771642 < "PWD"
03:03:01.771678 > "257 "/" is current directory[CR][LF]"
03:03:01.778127 < "EPSV"
03:03:01.778153 ====> Passive DATA channel requested by client
03:03:01.778165 DATA sockfilt for passive data channel starting...
03:03:01.779811 DATA sockfilt for passive data channel started (pid 6244)
03:03:01.779926 DATA sockfilt for passive data channel listens on port 43485
03:03:01.779964 > "229 Entering Passive Mode (|||43485|)[LF]"
03:03:01.779986 Client has been notified that DATA conn will be accepted on port 43485
03:03:01.787395 Client connects to port 43485
03:03:01.787463 ====> Client established passive DATA connection on port 43485
03:03:01.793372 < "TYPE A"
03:03:01.793420 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:01.795487 < "LIST"
03:03:01.795528 > "150 here comes a directory[CR][LF]"
03:03:01.795563 pass LIST data on data connection
03:03:01.795676 =====> Closing passive DATA connection...
03:03:01.795700 Server disconnects passive DATA connection
03:03:01.796285 DATA sockfilt for passive data channel quits (pid 6253)
03:03:01.796306 =====> Closed passive DATA connection
03:03:01.796334 > "226 ASCII transfer complete[CR][LF]"
03:03:01.856719 < "QUIT"
03:03:01.856763 > "221 bye bye baby[CR][LF]"
03:03:01.863628 MAIN sockfilt said DISC
03:03:01.863667 ====> Client disconnected
03:03:01.863714 Awaiting input
03:03:04.141222 ====> Client connect
03:03:04.141332 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:05.506168 MAIN sockfilt said DISC
03:03:05.506223 ====> Client disconnected
03:03:05.506266 Awaiting input
03:03:08.319218 ====> Client connect
03:03:08.319345 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:08.400303 < "USER anonymous"
03:03:08.400364 > "331 We are happy you popped in![CR][LF]"
03:03:08.411477 < "PASS ftp@example.com"
03:03:08.411526 > "230 Welcome you silly person[CR][LF]"
03:03:08.413831 < "PBSZ 0"
03:03:08.413873 > "500 PBSZ not implemented[CR][LF]"
03:03:08.415274 < "PROT C"
03:03:08.415313 > "500 PROT not implemented[CR][LF]"
03:03:08.416791 < "PWD"
03:03:08.416836 > "257 "/" is current directory[CR][LF]"
03:03:08.437559 < "EPRT |1|127.0.0.1|52903|"
03:03:08.437600 ====> Active DATA channel requested by client
03:03:08.437643 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:08.437668 DATA sockfilt for active data channel starting...
03:03:08.439434 DATA sockfilt for active data channel started (pid 6266)
03:03:08.439468 ====> Active DATA channel connected to client port 52903
03:03:08.442669 < "TYPE A"
03:03:08.442719 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:08.444967 < "LIST"
03:03:08.445007 > "150 here comes a directory[CR][LF]"
03:03:08.445042 pass LIST data on data connection
03:03:08.445148 =====> Closing active DATA connection...
03:03:08.445176 Server disconnects active DATA connection
03:03:08.445622 DATA sockfilt for active data channel quits (pid 6267)
03:03:08.445648 =====> Closed active DATA connection
03:03:08.445683 > "226 ASCII transfer complete[CR][LF]"
03:03:08.507576 < "QUIT"
03:03:08.507633 > "221 bye bye baby[CR][LF]"
03:03:08.514360 MAIN sockfilt said DISC
03:03:08.514399 ====> Client disconnected
03:03:08.514464 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:01.885029 ====> Client connect
03:03:01.885211 Received DATA (on stdin)
03:03:01.885234 > 160 bytes data, server => client
03:03:01.885254 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:01.885269 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:01.885279 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:01.965081 < 16 bytes data, client => server
03:03:01.965125 'USER anonymous\r\n'
03:03:01.965266 Received DATA (on stdin)
03:03:01.965287 > 33 bytes data, server => client
03:03:01.965304 '331 We are happy you popped in!\r\n'
03:03:01.976318 < 22 bytes data, client => server
03:03:01.976357 'PASS ftp@example.com\r\n'
03:03:01.976451 Received DATA (on stdin)
03:03:01.976472 > 30 bytes data, server => client
03:03:01.976489 '230 Welcome you silly person\r\n'
03:03:01.978623 < 8 bytes data, client => server
03:03:01.978651 'PBSZ 0\r\n'
03:03:01.978725 Received DATA (on stdin)
03:03:01.978744 > 26 bytes data, server => client
03:03:01.978760 '500 PBSZ not implemented\r\n'
03:03:01.980007 < 8 bytes data, client => server
03:03:01.980036 'PROT C\r\n'
03:03:01.980101 Received DATA (on stdin)
03:03:01.980120 > 26 bytes data, server => client
03:03:01.980137 '500 PROT not implemented\r\n'
03:03:01.981418 < 5 bytes data, client => server
03:03:01.981445 'CCC\r\n'
03:03:01.981521 Received DATA (on stdin)
03:03:01.981539 > 28 bytes data, server => client
03:03:01.981555 '500 CCC is not dealt with!\r\n'
03:03:01.982903 < 5 bytes data, client => server
03:03:01.982931 'PWD\r\n'
03:03:01.983001 Received DATA (on stdin)
03:03:01.983020 > 30 bytes data, server => client
03:03:01.983036 '257 "/" is current directory\r\n'
03:03:01.989387 < 6 bytes data, client => server
03:03:01.989417 'EPSV\r\n'
03:03:01.991284 Received DATA (on stdin)
03:03:01.991304 > 38 bytes data, server => client
03:03:01.991323 '229 Entering Passive Mode (|||43485|)\n'
03:03:02.004586 < 8 bytes data, client => server
03:03:02.004624 'TYPE A\r\n'
03:03:02.004740 Received DATA (on stdin)
03:03:02.004761 > 33 bytes data, server => client
03:03:02.004778 '200 I modify TYPE as you wanted\r\n'
03:03:02.006743 < 6 bytes data, client => server
03:03:02.006768 'LIST\r\n'
03:03:02.006851 Received DATA (on stdin)
03:03:02.006872 > 28 bytes data, server => client
03:03:02.006890 '150 here comes a directory\r\n'
03:03:02.007659 Received DATA (on stdin)
03:03:02.007681 > 29 bytes data, server => client
03:03:02.007699 '226 ASCII transfer complete\r\n'
03:03:02.067909 < 6 bytes data, client => server
03:03:02.067948 'QUIT\r\n'
03:03:02.068088 Received DATA (on stdin)
03:03:02.068112 > 18 bytes data, server => client
03:03:02.068128 '221 bye bye baby\r\n'
03:03:02.074892 ====> Client disconnect
03:03:04.352460 ====> Client connect
03:03:04.352672 Received DATA (on stdin)
03:03:04.352697 > 160 bytes data, server => client
03:03:04.352714 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:04.352729 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:04.352741 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:05.623759 < 143 bytes data, client => server
03:03:05.623800 '............%.v&c.h7\rI5F......I].....Q+0.....*.+./.,.0..... '
03:03:05.623816 '.#...'.\n.$...(...../.<.5.=.\n...3..........\r...............'
03:03:05.623826 '........[0B].....\n..........'
03:03:05.641494 < 7 bytes data, client => server
03:03:05.641525 '......F'
03:03:05.717407 ====> Client disconnect
03:03:08.530481 ====> Client connect
03:03:08.530681 Received DATA (on stdin)
03:03:08.530706 > 160 bytes data, server => client
03:03:08.530724 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:08.530744 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:08.530761 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:08.611479 < 16 bytes data, client => server
03:03:08.611518 'USER anonymous\r\n'
03:03:08.611697 Received DATA (on stdin)
03:03:08.611712 > 33 bytes data, server => client
03:03:08.611726 '331 We are happy you popped in!\r\n'
03:03:08.622718 < 22 bytes data, client => server
03:03:08.622753 'PASS ftp@example.com\r\n'
03:03:08.622867 Received DATA (on stdin)
03:03:08.622891 > 30 bytes data, server => client
03:03:08.622906 '230 Welcome you silly person\r\n'
03:03:08.625090 < 8 bytes data, client => server
03:03:08.625113 'PBSZ 0\r\n'
03:03:08.625216 Received DATA (on stdin)
03:03:08.625240 > 26 bytes data, server => client
03:03:08.625254 '500 PBSZ not implemented\r\n'
03:03:08.626538 < 8 bytes data, client => server
03:03:08.626560 'PROT C\r\n'
03:03:08.626657 Received DATA (on stdin)
03:03:08.626680 > 26 bytes data, server => client
03:03:08.626695 '500 PROT not implemented\r\n'
03:03:08.628058 < 5 bytes data, client => server
03:03:08.628081 'PWD\r\n'
03:03:08.628179 Received DATA (on stdin)
03:03:08.628202 > 30 bytes data, server => client
03:03:08.628217 '257 "/" is current directory\r\n'
03:03:08.648799 < 26 bytes data, client => server
03:03:08.648827 'EPRT |1|127.0.0.1|52903|\r\n'
03:03:08.648979 Received DATA (on stdin)
03:03:08.648994 > 50 bytes data, server => client
03:03:08.649010 '200 Thanks for dropping by. We contact you later\r\n'
03:03:08.653909 < 8 bytes data, client => server
03:03:08.653933 'TYPE A\r\n'
03:03:08.654058 Received DATA (on stdin)
03:03:08.654082 > 33 bytes data, server => client
03:03:08.654097 '200 I modify TYPE as you wanted\r\n'
03:03:08.656230 < 6 bytes data, client => server
03:03:08.656253 'LIST\r\n'
03:03:08.656351 Received DATA (on stdin)
03:03:08.656374 > 28 bytes data, server => client
03:03:08.656389 '150 here comes a directory\r\n'
03:03:08.657028 Received DATA (on stdin)
03:03:08.657057 > 29 bytes data, server => client
03:03:08.657078 '226 ASCII transfer complete\r\n'
03:03:08.718789 < 6 bytes data, client => server
03:03:08.718822 'QUIT\r\n'
03:03:08.718974 Received DATA (on stdin)
03:03:08.719000 > 18 bytes data, server => client
03:03:08.719014 '221 bye bye baby\r\n'
03:03:08.725642 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:01.990987 Running IPv4 version
03:03:01.991066 Listening on port 43485
03:03:01.991093 Wrote pid 6253 to ./.ftp_sockdata.pid
03:03:01.991108 Received PING (on stdin)
03:03:01.991168 Received PORT (on stdin)
03:03:01.998652 ====> Client connect
03:03:02.006931 Received DATA (on stdin)
03:03:02.006959 > 10 bytes data, server => client
03:03:02.006974 'total 20\r\n'
03:03:02.007004 Received DATA (on stdin)
03:03:02.007019 > 57 bytes data, server => client
03:03:02.007036 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:02.007059 Received DATA (on stdin)
03:03:02.007072 > 58 bytes data, server => client
03:03:02.007089 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:02.007108 Received DATA (on stdin)
03:03:02.007121 > 61 bytes data, server => client
03:03:02.007139 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:02.007150 '\n'
03:03:02.007168 Received DATA (on stdin)
03:03:02.007180 > 62 bytes data, server => client
03:03:02.007197 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:02.007208 '\n'
03:03:02.007226 Received DATA (on stdin)
03:03:02.007238 > 70 bytes data, server => client
03:03:02.007255 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:02.007268 'usr/bin\r\n'
03:03:02.007287 Received DATA (on stdin)
03:03:02.007299 > 59 bytes data, server => client
03:03:02.007316 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:02.007335 Received DATA (on stdin)
03:03:02.007347 > 69 bytes data, server => client
03:03:02.007364 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:02.007375 'd.html\r\n'
03:03:02.007394 Received DATA (on stdin)
03:03:02.007406 > 59 bytes data, server => client
03:03:02.007422 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:02.007441 Received DATA (on stdin)
03:03:02.007453 > 59 bytes data, server => client
03:03:02.007470 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:02.007489 Received DATA (on stdin)
03:03:02.007501 > 59 bytes data, server => client
03:03:02.007519 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:02.007538 Received DISC (on stdin)
03:03:02.007552 ====> Client forcibly disconnected
03:03:02.007577 Received QUIT (on stdin)
03:03:02.007589 quits
03:03:02.007608 ============> sockfilt quits
03:03:08.650601 ====> Client connect
03:03:08.650664 Running IPv4 version
03:03:08.650673 Connected to port 52903
03:03:08.650715 Wrote pid 6267 to ./.ftp_sockdata.pid
03:03:08.650731 Received PING (on stdin)
03:03:08.656424 Received DATA (on stdin)
03:03:08.656454 > 10 bytes data, server => client
03:03:08.656469 'total 20\r\n'
03:03:08.656494 Received DATA (on stdin)
03:03:08.656504 > 57 bytes data, server => client
03:03:08.656516 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:08.656533 Received DATA (on stdin)
03:03:08.656547 > 58 bytes data, server => client
03:03:08.656561 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:08.656577 Received DATA (on stdin)
03:03:08.656586 > 61 bytes data, server => client
03:03:08.656598 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:08.656605 '\n'
03:03:08.656619 Received DATA (on stdin)
03:03:08.656628 > 62 bytes data, server => client
03:03:08.656640 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:08.656647 '\n'
03:03:08.656661 Received DATA (on stdin)
03:03:08.656670 > 70 bytes data, server => client
03:03:08.656682 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:08.656690 'usr/bin\r\n'
03:03:08.656703 Received DATA (on stdin)
03:03:08.656712 > 59 bytes data, server => client
03:03:08.656724 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:08.656738 Received DATA (on stdin)
03:03:08.656747 > 69 bytes data, server => client
03:03:08.656759 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:08.656767 'd.html\r\n'
03:03:08.656780 Received DATA (on stdin)
03:03:08.656789 > 59 bytes data, server => client
03:03:08.656807 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:08.656822 Received DATA (on stdin)
03:03:08.656831 > 59 bytes data, server => client
03:03:08.656842 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:08.656856 Received DATA (on stdin)
03:03:08.656866 > 59 bytes data, server => client
03:03:08.656877 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:08.656891 Received DISC (on stdin)
03:03:08.656902 ====> Client forcibly disconnected
03:03:08.656918 disconnected, no socket to read on
03:03:08.656929 Received QUIT (on stdin)
03:03:08.656936 quits
03:03:08.656947 ============> 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|52903|
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:01 --:--:-- 0
100 623 0 623 0 0 326 0 --:--:-- 0:00:01 --:--:-- 337
=== End of file stderr406
=== Start of file trace406
03:03:06.769227 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:06.794000 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:06.831935 == Info: Added connection 0. The cache now contains 1 members
03:03:06.848845 == Info: Trying 127.0.0.1...
03:03:06.849516 == Info: TCP_NODELAY set
03:03:06.852581 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:06.854921 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:03:06.865933 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:06.866480 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:03:06.867587 == Info: Marked for [keep alive]: FTP default
03:03:08.044810 == Info: successfully set certificate verify locations:
03:03:08.045072 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:08.123363 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:08.128414 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:08.128479 => Send SSL data, 138 bytes (0x8a)
0000: ........?.@.5..n....jz....n...D.........*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:08.145957 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:08.150366 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:08.150425 <= Recv SSL data, 89 bytes (0x59)
0000: ...U......B. ..'.......e|>/d......0l.. ...b*.-.J.Gr.a.."K% .S...
0040: ..N#..../................
03:03:08.194499 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:08.194953 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:08.195011 <= 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:03:08.294492 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:08.294760 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:08.294819 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.].nv..v.....?y..l`..$...s.:..a.....VG.OLb.....J.bd...kC
0040: ...O.{0........,m .o.[.....[7F].......[...../ .........N.f..cV.....
0080: V.K..l.c.f0..Q[7F]h.kc..=..9.....h...YJ....F.TJ.F..sVW...QA.6.y...h
00c0: .....p!$....kT.mcm.u8...f....=.`..;.....~'.|."...d'ez.iif+o.Y..o
0100: ......"D.x.E...."[%."....T3..-.4.GOO.-*......f...."j...7.....i.
0140: ~.4.l.1-~..NL
03:03:08.364388 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:08.364726 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:08.364783 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:08.484176 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:08.484428 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:08.484486 => Send SSL data, 70 bytes (0x46)
0000: ...BA.7gzk...r$..j\I...{C..9x)'...=v|..z.$.?.~...`!..~.&5.[7F]..k.s
0040: e.y.<.
03:03:08.496916 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:08.497480 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:08.497539 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:08.529379 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:08.529575 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:08.529631 => Send SSL data, 16 bytes (0x10)
0000: .....T[7F].)..3..rv
03:03:08.532184 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:08.533225 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:08.533282 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:08.535683 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:08.541297 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:08.541354 <= Recv SSL data, 16 bytes (0x10)
0000: .....&..[....MV.
03:03:08.563026 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:08.565208 == Info: Server certificate:
03:03:08.572734 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:08.578995 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:08.579998 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:08.580849 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:08.581753 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:08.583195 == Info: FTP 0x62ecda8 (line 3118) state change from STOP to WAIT220
03:03:08.589310 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:08.598460 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:08.602021 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:08.602220 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:08.602405 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:08.602586 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:08.610101 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:08.612763 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:08.613543 == Info: FTP 0x62ecda8 (line 803) state change from WAIT220 to USER
03:03:08.614258 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626d7a8; line 1627 (connection #0)
03:03:08.620597 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:08.621266 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:08.622527 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:08.622649 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:08.623076 == Info: FTP 0x62ecda8 (line 2546) state change from USER to PASS
03:03:08.624091 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:08.624236 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:08.624906 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:08.625024 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:08.625394 == Info: FTP 0x62ecda8 (line 2522) state change from PASS to PBSZ
03:03:08.625693 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:08.625832 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:08.626360 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:08.626474 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:08.626846 == Info: FTP 0x62ecda8 (line 2735) state change from PBSZ to PROT
03:03:08.627089 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:08.627227 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:08.627881 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:08.627996 => Send header, 5 bytes (0x5)
0000: PWD
03:03:08.628450 == Info: FTP 0x62ecda8 (line 815) state change from PROT to PWD
03:03:08.628773 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:08.628910 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:08.630032 == Info: Entry path is '/'
03:03:08.630255 == Info: FTP 0x62ecda8 (line 2870) state change from PWD to STOP
03:03:08.630419 == Info: protocol connect phase DONE
03:03:08.630756 == Info: STATE: PROTOCONNECT => DO handle 0x626d7a8; line 1648 (connection #0)
03:03:08.632637 == Info: DO phase starts
03:03:08.648598 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:03:08.648737 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|52903|
03:03:08.649475 == Info: FTP 0x62ecda8 (line 1309) state change from STOP to PORT
03:03:08.650198 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:03:08.650556 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:03:08.651109 == Info: Connect data stream actively
03:03:08.651314 == Info: FTP 0x62ecda8 (line 2037) state change from PORT to STOP
03:03:08.651817 == Info: ftp_perform ends with SECONDARY: 1
03:03:08.652038 == Info: DO phase is complete1
03:03:08.653719 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:08.653841 => Send header, 8 bytes (0x8)
0000: TYPE A
03:03:08.654258 == Info: FTP 0x62ecda8 (line 3444) state change from STOP to LIST_TYPE
03:03:08.654723 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:08.654865 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:08.656046 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:08.656165 => Send header, 6 bytes (0x6)
0000: LIST
03:03:08.656793 == Info: FTP 0x62ecda8 (line 1502) state change from LIST_TYPE to LIST
03:03:08.657992 == Info: STATE: DO => DO_MORE handle 0x626d7a8; line 1705 (connection #0)
03:03:08.659177 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:08.659321 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:03:08.659910 == Info: Maxdownload = -1
03:03:08.660299 == Info: Preparing for accepting server on data port
03:03:08.661333 == Info: Checking for server connect
03:03:08.662160 == Info: Ready to accept data connection from server
03:03:08.663866 == Info: Connection accepted from server
03:03:08.665306 == Info: FTP 0x62ecda8 (line 485) state change from LIST to STOP
03:03:08.666356 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:03:08.667343 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:03:08.668110 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:03:08.671512 <= 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:03:08.680548 == Info: nread <= 0, server closed connection, bailing
03:03:08.682347 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:03:08.682810 == Info: multi_done
03:03:08.686318 == Info: Remembering we are in dir ""
03:03:08.700542 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:08.700704 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:03:08.705697 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace406
=== Start of file valgrind406
==6263== Invalid read of size 8
==6263== at 0x5E745A5: check_free (dlerror.c:188)
==6263== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6263== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6263== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6263== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6263== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6263== by 0x559AF79: exit (exit.c:139)
==6263== by 0x55850A1: (below main) (libc-start.c:342)
==6263== Address 0x66adbb0 is 0 bytes after a block of size 32 alloc'd
==6263== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6263== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6263== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6263== by 0x4DD0E85: err_get_state (err.c:210)
==6263== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6263== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6263== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6263== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6263== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6263== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6263== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6263== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6263== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6263== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6263== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6263== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6263==
==6263== Invalid free() / delete / delete[] / realloc()
==6263== at 0x48369AB: free (vg_replace_malloc.c:530)
==6263== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6263== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6263== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6263== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6263== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6263== by 0x559AF79: exit (exit.c:139)
==6263== by 0x55850A1: (below main) (libc-start.c:342)
==6263== Address 0x66adb98 is 8 bytes inside a block of size 32 alloc'd
==6263== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6263== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6263== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6263== by 0x4DD0E85: err_get_state (err.c:210)
==6263== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6263== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6263== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6263== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6263== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6263== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6263== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6263== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6263== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6263== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6263== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6263== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6263==
==6263== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6263== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6263== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6263== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6263== by 0x4DD0E85: err_get_state (err.c:210)
==6263== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6263== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6263== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6263== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6263== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6263== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6263== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6263== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6263== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6263== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6263== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6263== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6263==
=== End of file valgrind406
test 0407...[Get two FTPS files from the same remote dir: no second CWD]
goto problem 28
valgrind ERROR ==6270== Invalid read of size 8
==6270== at 0x5E745A5: check_free (dlerror.c:188)
==6270== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6270== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6270== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6270== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6270== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6270== by 0x559AF79: exit (exit.c:139)
==6270== by 0x55850A1: (below main) (libc-start.c:342)
==6270== Address 0x66adc80 is 0 bytes after a block of size 32 alloc'd
==6270== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6270== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6270== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6270== by 0x4DD0E85: err_get_state (err.c:210)
==6270== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6270== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6270== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6270== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6270== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6270== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6270== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6270== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6270== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6270== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6270== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6270== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6270==
==6270== Invalid free() / delete / delete[] / realloc()
==6270== at 0x48369AB: free (vg_replace_malloc.c:530)
==6270== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6270== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6270== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6270== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6270== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6270== by 0x559AF79: exit (exit.c:139)
==6270== by 0x55850A1: (below main) (libc-start.c:342)
==6270== Address 0x66adc68 is 8 bytes inside a block of size 32 alloc'd
==6270== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6270== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6270== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6270== by 0x4DD0E85: err_get_state (err.c:210)
==6270== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6270== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6270== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6270== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6270== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6270== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6270== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6270== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6270== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6270== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6270== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6270== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6270==
==6270== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6270== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6270== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6270== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6270== by 0x4DD0E85: err_get_state (err.c:210)
==6270== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6270== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6270== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6270== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6270== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6270== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6270== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6270== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6270== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6270== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6270== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6270== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6270==
== 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:03:01.673791 ====> Client connect
03:03:01.673896 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:01.753898 < "USER anonymous"
03:03:01.753945 > "331 We are happy you popped in![CR][LF]"
03:03:01.765088 < "PASS ftp@example.com"
03:03:01.765130 > "230 Welcome you silly person[CR][LF]"
03:03:01.767369 < "PBSZ 0"
03:03:01.767403 > "500 PBSZ not implemented[CR][LF]"
03:03:01.768747 < "PROT C"
03:03:01.768778 > "500 PROT not implemented[CR][LF]"
03:03:01.770155 < "CCC"
03:03:01.770175 CCC wasn't handled
03:03:01.770198 > "500 CCC is not dealt with![CR][LF]"
03:03:01.771642 < "PWD"
03:03:01.771678 > "257 "/" is current directory[CR][LF]"
03:03:01.778127 < "EPSV"
03:03:01.778153 ====> Passive DATA channel requested by client
03:03:01.778165 DATA sockfilt for passive data channel starting...
03:03:01.779811 DATA sockfilt for passive data channel started (pid 6244)
03:03:01.779926 DATA sockfilt for passive data channel listens on port 43485
03:03:01.779964 > "229 Entering Passive Mode (|||43485|)[LF]"
03:03:01.779986 Client has been notified that DATA conn will be accepted on port 43485
03:03:01.787395 Client connects to port 43485
03:03:01.787463 ====> Client established passive DATA connection on port 43485
03:03:01.793372 < "TYPE A"
03:03:01.793420 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:01.795487 < "LIST"
03:03:01.795528 > "150 here comes a directory[CR][LF]"
03:03:01.795563 pass LIST data on data connection
03:03:01.795676 =====> Closing passive DATA connection...
03:03:01.795700 Server disconnects passive DATA connection
03:03:01.796285 DATA sockfilt for passive data channel quits (pid 6253)
03:03:01.796306 =====> Closed passive DATA connection
03:03:01.796334 > "226 ASCII transfer complete[CR][LF]"
03:03:01.856719 < "QUIT"
03:03:01.856763 > "221 bye bye baby[CR][LF]"
03:03:01.863628 MAIN sockfilt said DISC
03:03:01.863667 ====> Client disconnected
03:03:01.863714 Awaiting input
03:03:04.141222 ====> Client connect
03:03:04.141332 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:05.506168 MAIN sockfilt said DISC
03:03:05.506223 ====> Client disconnected
03:03:05.506266 Awaiting input
03:03:08.319218 ====> Client connect
03:03:08.319345 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:08.400303 < "USER anonymous"
03:03:08.400364 > "331 We are happy you popped in![CR][LF]"
03:03:08.411477 < "PASS ftp@example.com"
03:03:08.411526 > "230 Welcome you silly person[CR][LF]"
03:03:08.413831 < "PBSZ 0"
03:03:08.413873 > "500 PBSZ not implemented[CR][LF]"
03:03:08.415274 < "PROT C"
03:03:08.415313 > "500 PROT not implemented[CR][LF]"
03:03:08.416791 < "PWD"
03:03:08.416836 > "257 "/" is current directory[CR][LF]"
03:03:08.437559 < "EPRT |1|127.0.0.1|52903|"
03:03:08.437600 ====> Active DATA channel requested by client
03:03:08.437643 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:08.437668 DATA sockfilt for active data channel starting...
03:03:08.439434 DATA sockfilt for active data channel started (pid 6266)
03:03:08.439468 ====> Active DATA channel connected to client port 52903
03:03:08.442669 < "TYPE A"
03:03:08.442719 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:08.444967 < "LIST"
03:03:08.445007 > "150 here comes a directory[CR][LF]"
03:03:08.445042 pass LIST data on data connection
03:03:08.445148 =====> Closing active DATA connection...
03:03:08.445176 Server disconnects active DATA connection
03:03:08.445622 DATA sockfilt for active data channel quits (pid 6267)
03:03:08.445648 =====> Closed active DATA connection
03:03:08.445683 > "226 ASCII transfer complete[CR][LF]"
03:03:08.507576 < "QUIT"
03:03:08.507633 > "221 bye bye baby[CR][LF]"
03:03:08.514360 MAIN sockfilt said DISC
03:03:08.514399 ====> Client disconnected
03:03:08.514464 Awaiting input
03:03:11.320306 ====> Client connect
03:03:11.320410 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:11.400696 < "USER anonymous"
03:03:11.400744 > "331 We are happy you popped in![CR][LF]"
03:03:11.411646 < "PASS ftp@example.com"
03:03:11.411685 > "230 Welcome you silly person[CR][LF]"
03:03:11.413933 < "PBSZ 0"
03:03:11.413965 > "500 PBSZ not implemented[CR][LF]"
03:03:11.415329 < "PROT C"
03:03:11.415361 > "500 PROT not implemented[CR][LF]"
03:03:11.416852 < "PWD"
03:03:11.416888 > "257 "/" is current directory[CR][LF]"
03:03:11.423816 < "CWD a"
03:03:11.423848 > "250 CWD command successful.[CR][LF]"
03:03:11.425361 < "CWD path"
03:03:11.425390 > "250 CWD command successful.[CR][LF]"
03:03:11.428930 < "EPSV"
03:03:11.428962 ====> Passive DATA channel requested by client
03:03:11.428976 DATA sockfilt for passive data channel starting...
03:03:11.430621 DATA sockfilt for passive data channel started (pid 6272)
03:03:11.430776 DATA sockfilt for passive data channel listens on port 35923
03:03:11.430823 > "229 Entering Passive Mode (|||35923|)[LF]"
03:03:11.430843 Client has been notified that DATA conn will be accepted on port 35923
03:03:11.437232 Client connects to port 35923
03:03:11.437272 ====> Client established passive DATA connection on port 35923
03:03:11.441886 < "TYPE I"
03:03:11.441921 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:11.444056 < "SIZE 407"
03:03:11.444214 > "213 11[CR][LF]"
03:03:11.448001 < "RETR 407"
03:03:11.448114 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:11.448167 =====> Closing passive DATA connection...
03:03:11.448181 Server disconnects passive DATA connection
03:03:11.448318 DATA sockfilt for passive data channel quits (pid 6273)
03:03:11.448344 =====> Closed passive DATA connection
03:03:11.448370 > "226 File transfer complete[CR][LF]"
03:03:11.523755 < "EPSV"
03:03:11.523792 ====> Passive DATA channel requested by client
03:03:11.523805 DATA sockfilt for passive data channel starting...
03:03:11.525466 DATA sockfilt for passive data channel started (pid 6274)
03:03:11.525608 DATA sockfilt for passive data channel listens on port 43899
03:03:11.525657 > "229 Entering Passive Mode (|||43899|)[LF]"
03:03:11.525672 Client has been notified that DATA conn will be accepted on port 43899
03:03:11.527271 Client connects to port 43899
03:03:11.527308 ====> Client established passive DATA connection on port 43899
03:03:11.528673 < "SIZE 407"
03:03:11.528844 > "213 11[CR][LF]"
03:03:11.529753 < "RETR 407"
03:03:11.529866 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:11.529918 =====> Closing passive DATA connection...
03:03:11.529935 Server disconnects passive DATA connection
03:03:11.530059 DATA sockfilt for passive data channel quits (pid 6275)
03:03:11.530085 =====> Closed passive DATA connection
03:03:11.530111 > "226 File transfer complete[CR][LF]"
03:03:11.579486 < "QUIT"
03:03:11.579528 > "221 bye bye baby[CR][LF]"
03:03:11.585999 MAIN sockfilt said DISC
03:03:11.586045 ====> Client disconnected
03:03:11.586105 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:01.885029 ====> Client connect
03:03:01.885211 Received DATA (on stdin)
03:03:01.885234 > 160 bytes data, server => client
03:03:01.885254 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:01.885269 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:01.885279 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:01.965081 < 16 bytes data, client => server
03:03:01.965125 'USER anonymous\r\n'
03:03:01.965266 Received DATA (on stdin)
03:03:01.965287 > 33 bytes data, server => client
03:03:01.965304 '331 We are happy you popped in!\r\n'
03:03:01.976318 < 22 bytes data, client => server
03:03:01.976357 'PASS ftp@example.com\r\n'
03:03:01.976451 Received DATA (on stdin)
03:03:01.976472 > 30 bytes data, server => client
03:03:01.976489 '230 Welcome you silly person\r\n'
03:03:01.978623 < 8 bytes data, client => server
03:03:01.978651 'PBSZ 0\r\n'
03:03:01.978725 Received DATA (on stdin)
03:03:01.978744 > 26 bytes data, server => client
03:03:01.978760 '500 PBSZ not implemented\r\n'
03:03:01.980007 < 8 bytes data, client => server
03:03:01.980036 'PROT C\r\n'
03:03:01.980101 Received DATA (on stdin)
03:03:01.980120 > 26 bytes data, server => client
03:03:01.980137 '500 PROT not implemented\r\n'
03:03:01.981418 < 5 bytes data, client => server
03:03:01.981445 'CCC\r\n'
03:03:01.981521 Received DATA (on stdin)
03:03:01.981539 > 28 bytes data, server => client
03:03:01.981555 '500 CCC is not dealt with!\r\n'
03:03:01.982903 < 5 bytes data, client => server
03:03:01.982931 'PWD\r\n'
03:03:01.983001 Received DATA (on stdin)
03:03:01.983020 > 30 bytes data, server => client
03:03:01.983036 '257 "/" is current directory\r\n'
03:03:01.989387 < 6 bytes data, client => server
03:03:01.989417 'EPSV\r\n'
03:03:01.991284 Received DATA (on stdin)
03:03:01.991304 > 38 bytes data, server => client
03:03:01.991323 '229 Entering Passive Mode (|||43485|)\n'
03:03:02.004586 < 8 bytes data, client => server
03:03:02.004624 'TYPE A\r\n'
03:03:02.004740 Received DATA (on stdin)
03:03:02.004761 > 33 bytes data, server => client
03:03:02.004778 '200 I modify TYPE as you wanted\r\n'
03:03:02.006743 < 6 bytes data, client => server
03:03:02.006768 'LIST\r\n'
03:03:02.006851 Received DATA (on stdin)
03:03:02.006872 > 28 bytes data, server => client
03:03:02.006890 '150 here comes a directory\r\n'
03:03:02.007659 Received DATA (on stdin)
03:03:02.007681 > 29 bytes data, server => client
03:03:02.007699 '226 ASCII transfer complete\r\n'
03:03:02.067909 < 6 bytes data, client => server
03:03:02.067948 'QUIT\r\n'
03:03:02.068088 Received DATA (on stdin)
03:03:02.068112 > 18 bytes data, server => client
03:03:02.068128 '221 bye bye baby\r\n'
03:03:02.074892 ====> Client disconnect
03:03:04.352460 ====> Client connect
03:03:04.352672 Received DATA (on stdin)
03:03:04.352697 > 160 bytes data, server => client
03:03:04.352714 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:04.352729 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:04.352741 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:05.623759 < 143 bytes data, client => server
03:03:05.623800 '............%.v&c.h7\rI5F......I].....Q+0.....*.+./.,.0..... '
03:03:05.623816 '.#...'.\n.$...(...../.<.5.=.\n...3..........\r...............'
03:03:05.623826 '........[0B].....\n..........'
03:03:05.641494 < 7 bytes data, client => server
03:03:05.641525 '......F'
03:03:05.717407 ====> Client disconnect
03:03:08.530481 ====> Client connect
03:03:08.530681 Received DATA (on stdin)
03:03:08.530706 > 160 bytes data, server => client
03:03:08.530724 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:08.530744 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:08.530761 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:08.611479 < 16 bytes data, client => server
03:03:08.611518 'USER anonymous\r\n'
03:03:08.611697 Received DATA (on stdin)
03:03:08.611712 > 33 bytes data, server => client
03:03:08.611726 '331 We are happy you popped in!\r\n'
03:03:08.622718 < 22 bytes data, client => server
03:03:08.622753 'PASS ftp@example.com\r\n'
03:03:08.622867 Received DATA (on stdin)
03:03:08.622891 > 30 bytes data, server => client
03:03:08.622906 '230 Welcome you silly person\r\n'
03:03:08.625090 < 8 bytes data, client => server
03:03:08.625113 'PBSZ 0\r\n'
03:03:08.625216 Received DATA (on stdin)
03:03:08.625240 > 26 bytes data, server => client
03:03:08.625254 '500 PBSZ not implemented\r\n'
03:03:08.626538 < 8 bytes data, client => server
03:03:08.626560 'PROT C\r\n'
03:03:08.626657 Received DATA (on stdin)
03:03:08.626680 > 26 bytes data, server => client
03:03:08.626695 '500 PROT not implemented\r\n'
03:03:08.628058 < 5 bytes data, client => server
03:03:08.628081 'PWD\r\n'
03:03:08.628179 Received DATA (on stdin)
03:03:08.628202 > 30 bytes data, server => client
03:03:08.628217 '257 "/" is current directory\r\n'
03:03:08.648799 < 26 bytes data, client => server
03:03:08.648827 'EPRT |1|127.0.0.1|52903|\r\n'
03:03:08.648979 Received DATA (on stdin)
03:03:08.648994 > 50 bytes data, server => client
03:03:08.649010 '200 Thanks for dropping by. We contact you later\r\n'
03:03:08.653909 < 8 bytes data, client => server
03:03:08.653933 'TYPE A\r\n'
03:03:08.654058 Received DATA (on stdin)
03:03:08.654082 > 33 bytes data, server => client
03:03:08.654097 '200 I modify TYPE as you wanted\r\n'
03:03:08.656230 < 6 bytes data, client => server
03:03:08.656253 'LIST\r\n'
03:03:08.656351 Received DATA (on stdin)
03:03:08.656374 > 28 bytes data, server => client
03:03:08.656389 '150 here comes a directory\r\n'
03:03:08.657028 Received DATA (on stdin)
03:03:08.657057 > 29 bytes data, server => client
03:03:08.657078 '226 ASCII transfer complete\r\n'
03:03:08.718789 < 6 bytes data, client => server
03:03:08.718822 'QUIT\r\n'
03:03:08.718974 Received DATA (on stdin)
03:03:08.719000 > 18 bytes data, server => client
03:03:08.719014 '221 bye bye baby\r\n'
03:03:08.725642 ====> Client disconnect
03:03:11.531556 ====> Client connect
03:03:11.531743 Received DATA (on stdin)
03:03:11.531759 > 160 bytes data, server => client
03:03:11.531776 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:11.531791 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:11.531805 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:11.611880 < 16 bytes data, client => server
03:03:11.611920 'USER anonymous\r\n'
03:03:11.612088 Received DATA (on stdin)
03:03:11.612113 > 33 bytes data, server => client
03:03:11.612129 '331 We are happy you popped in!\r\n'
03:03:11.622878 < 22 bytes data, client => server
03:03:11.622904 'PASS ftp@example.com\r\n'
03:03:11.623029 Received DATA (on stdin)
03:03:11.623052 > 30 bytes data, server => client
03:03:11.623067 '230 Welcome you silly person\r\n'
03:03:11.625180 < 8 bytes data, client => server
03:03:11.625203 'PBSZ 0\r\n'
03:03:11.625311 Received DATA (on stdin)
03:03:11.625334 > 26 bytes data, server => client
03:03:11.625349 '500 PBSZ not implemented\r\n'
03:03:11.626578 < 8 bytes data, client => server
03:03:11.626600 'PROT C\r\n'
03:03:11.626706 Received DATA (on stdin)
03:03:11.626728 > 26 bytes data, server => client
03:03:11.626743 '500 PROT not implemented\r\n'
03:03:11.628118 < 5 bytes data, client => server
03:03:11.628141 'PWD\r\n'
03:03:11.628212 Received DATA (on stdin)
03:03:11.628226 > 30 bytes data, server => client
03:03:11.628241 '257 "/" is current directory\r\n'
03:03:11.635067 < 7 bytes data, client => server
03:03:11.635090 'CWD a\r\n'
03:03:11.635194 Received DATA (on stdin)
03:03:11.635217 > 29 bytes data, server => client
03:03:11.635233 '250 CWD command successful.\r\n'
03:03:11.636630 < 10 bytes data, client => server
03:03:11.636655 'CWD path\r\n'
03:03:11.636716 Received DATA (on stdin)
03:03:11.636736 > 29 bytes data, server => client
03:03:11.636753 '250 CWD command successful.\r\n'
03:03:11.640186 < 6 bytes data, client => server
03:03:11.640209 'EPSV\r\n'
03:03:11.642143 Received DATA (on stdin)
03:03:11.642166 > 38 bytes data, server => client
03:03:11.642187 '229 Entering Passive Mode (|||35923|)\n'
03:03:11.653127 < 8 bytes data, client => server
03:03:11.653158 'TYPE I\r\n'
03:03:11.653246 Received DATA (on stdin)
03:03:11.653267 > 33 bytes data, server => client
03:03:11.653284 '200 I modify TYPE as you wanted\r\n'
03:03:11.655313 < 10 bytes data, client => server
03:03:11.655334 'SIZE 407\r\n'
03:03:11.655540 Received DATA (on stdin)
03:03:11.655561 > 8 bytes data, server => client
03:03:11.655576 '213 11\r\n'
03:03:11.659261 < 10 bytes data, client => server
03:03:11.659284 'RETR 407\r\n'
03:03:11.659441 Received DATA (on stdin)
03:03:11.659461 > 51 bytes data, server => client
03:03:11.659481 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:11.659695 Received DATA (on stdin)
03:03:11.659715 > 28 bytes data, server => client
03:03:11.659734 '226 File transfer complete\r\n'
03:03:11.734957 < 6 bytes data, client => server
03:03:11.734994 'EPSV\r\n'
03:03:11.736980 Received DATA (on stdin)
03:03:11.737012 > 38 bytes data, server => client
03:03:11.737030 '229 Entering Passive Mode (|||43899|)\n'
03:03:11.739926 < 10 bytes data, client => server
03:03:11.739948 'SIZE 407\r\n'
03:03:11.740168 Received DATA (on stdin)
03:03:11.740190 > 8 bytes data, server => client
03:03:11.740207 '213 11\r\n'
03:03:11.741015 < 10 bytes data, client => server
03:03:11.741035 'RETR 407\r\n'
03:03:11.741191 Received DATA (on stdin)
03:03:11.741210 > 51 bytes data, server => client
03:03:11.741230 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:11.741437 Received DATA (on stdin)
03:03:11.741456 > 28 bytes data, server => client
03:03:11.741472 '226 File transfer complete\r\n'
03:03:11.790699 < 6 bytes data, client => server
03:03:11.790735 'QUIT\r\n'
03:03:11.790852 Received DATA (on stdin)
03:03:11.790873 > 18 bytes data, server => client
03:03:11.790890 '221 bye bye baby\r\n'
03:03:11.797270 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:01.990987 Running IPv4 version
03:03:01.991066 Listening on port 43485
03:03:01.991093 Wrote pid 6253 to ./.ftp_sockdata.pid
03:03:01.991108 Received PING (on stdin)
03:03:01.991168 Received PORT (on stdin)
03:03:01.998652 ====> Client connect
03:03:02.006931 Received DATA (on stdin)
03:03:02.006959 > 10 bytes data, server => client
03:03:02.006974 'total 20\r\n'
03:03:02.007004 Received DATA (on stdin)
03:03:02.007019 > 57 bytes data, server => client
03:03:02.007036 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:02.007059 Received DATA (on stdin)
03:03:02.007072 > 58 bytes data, server => client
03:03:02.007089 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:02.007108 Received DATA (on stdin)
03:03:02.007121 > 61 bytes data, server => client
03:03:02.007139 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:02.007150 '\n'
03:03:02.007168 Received DATA (on stdin)
03:03:02.007180 > 62 bytes data, server => client
03:03:02.007197 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:02.007208 '\n'
03:03:02.007226 Received DATA (on stdin)
03:03:02.007238 > 70 bytes data, server => client
03:03:02.007255 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:02.007268 'usr/bin\r\n'
03:03:02.007287 Received DATA (on stdin)
03:03:02.007299 > 59 bytes data, server => client
03:03:02.007316 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:02.007335 Received DATA (on stdin)
03:03:02.007347 > 69 bytes data, server => client
03:03:02.007364 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:02.007375 'd.html\r\n'
03:03:02.007394 Received DATA (on stdin)
03:03:02.007406 > 59 bytes data, server => client
03:03:02.007422 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:02.007441 Received DATA (on stdin)
03:03:02.007453 > 59 bytes data, server => client
03:03:02.007470 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:02.007489 Received DATA (on stdin)
03:03:02.007501 > 59 bytes data, server => client
03:03:02.007519 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:02.007538 Received DISC (on stdin)
03:03:02.007552 ====> Client forcibly disconnected
03:03:02.007577 Received QUIT (on stdin)
03:03:02.007589 quits
03:03:02.007608 ============> sockfilt quits
03:03:08.650601 ====> Client connect
03:03:08.650664 Running IPv4 version
03:03:08.650673 Connected to port 52903
03:03:08.650715 Wrote pid 6267 to ./.ftp_sockdata.pid
03:03:08.650731 Received PING (on stdin)
03:03:08.656424 Received DATA (on stdin)
03:03:08.656454 > 10 bytes data, server => client
03:03:08.656469 'total 20\r\n'
03:03:08.656494 Received DATA (on stdin)
03:03:08.656504 > 57 bytes data, server => client
03:03:08.656516 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:08.656533 Received DATA (on stdin)
03:03:08.656547 > 58 bytes data, server => client
03:03:08.656561 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:08.656577 Received DATA (on stdin)
03:03:08.656586 > 61 bytes data, server => client
03:03:08.656598 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:08.656605 '\n'
03:03:08.656619 Received DATA (on stdin)
03:03:08.656628 > 62 bytes data, server => client
03:03:08.656640 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:08.656647 '\n'
03:03:08.656661 Received DATA (on stdin)
03:03:08.656670 > 70 bytes data, server => client
03:03:08.656682 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:08.656690 'usr/bin\r\n'
03:03:08.656703 Received DATA (on stdin)
03:03:08.656712 > 59 bytes data, server => client
03:03:08.656724 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:08.656738 Received DATA (on stdin)
03:03:08.656747 > 69 bytes data, server => client
03:03:08.656759 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:08.656767 'd.html\r\n'
03:03:08.656780 Received DATA (on stdin)
03:03:08.656789 > 59 bytes data, server => client
03:03:08.656807 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:08.656822 Received DATA (on stdin)
03:03:08.656831 > 59 bytes data, server => client
03:03:08.656842 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:08.656856 Received DATA (on stdin)
03:03:08.656866 > 59 bytes data, server => client
03:03:08.656877 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:08.656891 Received DISC (on stdin)
03:03:08.656902 ====> Client forcibly disconnected
03:03:08.656918 disconnected, no socket to read on
03:03:08.656929 Received QUIT (on stdin)
03:03:08.656936 quits
03:03:08.656947 ============> sockfilt quits
03:03:11.641790 Running IPv4 version
03:03:11.641847 Listening on port 35923
03:03:11.641884 Wrote pid 6273 to ./.ftp_sockdata.pid
03:03:11.641900 Received PING (on stdin)
03:03:11.642018 Received PORT (on stdin)
03:03:11.648515 ====> Client connect
03:03:11.659491 Received DATA (on stdin)
03:03:11.659518 > 11 bytes data, server => client
03:03:11.659538 'data blobb\n'
03:03:11.659565 Received DISC (on stdin)
03:03:11.659577 ====> Client forcibly disconnected
03:03:11.659623 Received QUIT (on stdin)
03:03:11.659636 quits
03:03:11.659654 ============> sockfilt quits
03:03:11.736643 Running IPv4 version
03:03:11.736707 Listening on port 43899
03:03:11.736747 Wrote pid 6275 to ./.ftp_sockdata.pid
03:03:11.736764 Received PING (on stdin)
03:03:11.736830 Received PORT (on stdin)
03:03:11.738545 ====> Client connect
03:03:11.741242 Received DATA (on stdin)
03:03:11.741265 > 11 bytes data, server => client
03:03:11.741279 'data blobb\n'
03:03:11.741307 Received DISC (on stdin)
03:03:11.741320 ====> Client forcibly disconnected
03:03:11.741374 Received QUIT (on stdin)
03:03:11.741396 quits
03:03:11.741416 ============> 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:01 --:--:-- 0
100 11 100 11 0 0 5 0 0:00:02 0:00:01 0:00:01 5

100 11 100 11 0 0 171 0 --:--:-- --:--:-- --:--:-- 171
=== End of file stderr407
=== Start of file stdout407
data blobb
=== End of file stdout407
=== Start of file trace407
03:03:09.763672 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:09.788359 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:09.825947 == Info: Added connection 0. The cache now contains 1 members
03:03:09.843000 == Info: Trying 127.0.0.1...
03:03:09.843607 == Info: TCP_NODELAY set
03:03:09.846844 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:09.849202 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:03:09.860205 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:09.860753 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:03:09.861859 == Info: Marked for [keep alive]: FTP default
03:03:11.045805 == Info: successfully set certificate verify locations:
03:03:11.046065 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:11.124283 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:11.129315 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:11.129376 => Send SSL data, 138 bytes (0x8a)
0000: ......|..S .......VOq.t..Yp.n?..v.......*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:11.146835 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:11.151261 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:11.151320 <= Recv SSL data, 89 bytes (0x59)
0000: ...U......V...]@.1.[vzI1.~......N.0..~ ..vj\?8...3.$.X..Z.....%b
0040: B.@...i./................
03:03:11.195231 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:11.195687 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:11.195745 <= 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:03:11.297698 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:11.297964 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:11.298022 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.].nv..v.....?y..l`..$...s.:..a.....VG.OLb.....J.bd...kC
0040: ...O.{0.........WS..'F&..Dr..n..e..[......%3D6H.&ZCS...C9.WQ '..
0080: .v...;C..O..G.v...wi.1.Qa._..B.0W........U`~..)tiiA.<......=.,.`
00c0: Iu>..n.S..F4...UH.b....<.1<;3.+l..4......2~..K..u[7F]....s...R.. [.
0100: ....{iL"....O.B*...}S....H.SrlsR'.:..~g|g.^.nO.=.;...W..RS...;<.
0140: .]..k~.)....U
03:03:11.367418 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:11.367756 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:11.367815 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:11.485494 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:11.485742 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:11.485800 => Send SSL data, 70 bytes (0x46)
0000: ...BA..^.......z .E|.H...(.....W.%...Y..+.2.....b.:.3b}x........
0040: T..o.K
03:03:11.498184 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:11.498747 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:11.498804 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:11.530466 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:11.530658 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:11.530713 => Send SSL data, 16 bytes (0x10)
0000: ....u...j.......
03:03:11.533370 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:11.534403 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:11.534461 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:11.536940 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:11.542456 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:11.542516 <= Recv SSL data, 16 bytes (0x10)
0000: ....SHa'.....W.G
03:03:11.563905 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:11.566065 == Info: Server certificate:
03:03:11.573428 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:11.579679 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:11.580644 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:11.581485 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:11.582383 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:11.583818 == Info: FTP 0x62ece38 (line 3118) state change from STOP to WAIT220
03:03:11.589927 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:11.599043 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:11.602548 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:11.602744 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:11.602928 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:11.603108 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:11.610501 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:11.613084 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:11.613851 == Info: FTP 0x62ece38 (line 803) state change from WAIT220 to USER
03:03:11.614555 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626d7a8; line 1627 (connection #0)
03:03:11.620778 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:11.621439 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:11.622692 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:11.622813 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:11.623180 == Info: FTP 0x62ece38 (line 2546) state change from USER to PASS
03:03:11.624191 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:11.624334 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:11.625001 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:11.625117 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:11.625439 == Info: FTP 0x62ece38 (line 2522) state change from PASS to PBSZ
03:03:11.625728 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:11.625873 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:11.626399 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:11.626513 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:11.626833 == Info: FTP 0x62ece38 (line 2735) state change from PBSZ to PROT
03:03:11.627074 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:11.627209 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:11.627954 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:11.628074 => Send header, 5 bytes (0x5)
0000: PWD
03:03:11.628383 == Info: FTP 0x62ece38 (line 815) state change from PROT to PWD
03:03:11.628703 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:11.628840 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:11.629954 == Info: Entry path is '/'
03:03:11.630175 == Info: FTP 0x62ece38 (line 2870) state change from PWD to STOP
03:03:11.630338 == Info: protocol connect phase DONE
03:03:11.630678 == Info: STATE: PROTOCONNECT => DO handle 0x626d7a8; line 1648 (connection #0)
03:03:11.633830 == Info: DO phase starts
03:03:11.634881 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:11.635003 => Send header, 7 bytes (0x7)
0000: CWD a
03:03:11.635320 == Info: FTP 0x62ece38 (line 911) state change from STOP to CWD
03:03:11.635721 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:11.635858 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:03:11.636464 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:11.636595 => Send header, 10 bytes (0xa)
0000: CWD path
03:03:11.636984 == Info: ftp_perform ends with SECONDARY: 0
03:03:11.637744 == Info: STATE: DO => DOING handle 0x626d7a8; line 1697 (connection #0)
03:03:11.638558 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:11.638700 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:03:11.640032 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:11.640149 => Send header, 6 bytes (0x6)
0000: EPSV
03:03:11.640505 == Info: FTP 0x62ece38 (line 1346) state change from CWD to PASV
03:03:11.640695 == Info: Connect data stream passively
03:03:11.642404 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:03:11.642552 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||35923|).
03:03:11.648334 == Info: Trying 127.0.0.1...
03:03:11.648396 == Info: TCP_NODELAY set
03:03:11.648519 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:11.649147 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 35923
03:03:11.650039 == Info: FTP 0x62ece38 (line 2003) state change from PASV to STOP
03:03:11.650555 == Info: DO phase is complete2
03:03:11.650810 == Info: STATE: DOING => DO_MORE handle 0x626d7a8; line 1781 (connection #0)
03:03:11.651485 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:11.651698 == Info: DO-MORE connected phase starts
03:03:11.652958 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:11.653080 => Send header, 8 bytes (0x8)
0000: TYPE I
03:03:11.653471 == Info: FTP 0x62ece38 (line 3444) state change from STOP to RETR_TYPE
03:03:11.653855 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:11.653997 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:11.655148 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:11.655269 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:03:11.655647 == Info: FTP 0x62ece38 (line 1769) state change from RETR_TYPE to RETR_SIZE
03:03:11.657337 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:03:11.657507 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:03:11.659099 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:11.659216 => Send header, 10 bytes (0xa)
0000: RETR 407
03:03:11.659591 == Info: FTP 0x62ece38 (line 2255) state change from RETR_SIZE to RETR
03:03:11.660129 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:03:11.660478 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:03:11.661331 == Info: Maxdownload = -1
03:03:11.661536 == Info: Getting file with size: 11
03:03:11.662882 == Info: FTP 0x62ece38 (line 485) state change from RETR to STOP
03:03:11.663485 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:03:11.664478 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:03:11.665238 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:03:11.668432 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:03:11.673880 == Info: readwrite_data: we're done
03:03:11.674163 == Info: nread <= 0, server closed connection, bailing
03:03:11.676019 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:03:11.676485 == Info: multi_done
03:03:11.679588 == Info: Remembering we are in dir "a/path/"
03:03:11.700474 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:11.700633 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:03:11.706040 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:11.707910 == Info: Expire cleared (transfer 0x626d7a8)
03:03:11.719803 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:11.720057 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:11.724251 == Info: Found bundle for host 127.0.0.1: 0x62faa88 [serially]
03:03:11.732225 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:03:11.733014 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:11.733316 == Info: STATE: CONNECT => DO handle 0x626d7a8; line 1487 (connection #0)
03:03:11.734171 == Info: Request has same path as previous transfer
03:03:11.734354 == Info: DO phase starts
03:03:11.734762 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:11.734898 => Send header, 6 bytes (0x6)
0000: EPSV
03:03:11.735066 == Info: FTP 0x62ece38 (line 1346) state change from STOP to PASV
03:03:11.735127 == Info: Connect data stream passively
03:03:11.735324 == Info: ftp_perform ends with SECONDARY: 0
03:03:11.735404 == Info: STATE: DO => DOING handle 0x626d7a8; line 1697 (connection #0)
03:03:11.737283 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:03:11.737498 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||43899|).
03:03:11.738384 == Info: Trying 127.0.0.1...
03:03:11.738444 == Info: TCP_NODELAY set
03:03:11.738562 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:11.738649 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 43899
03:03:11.738794 == Info: FTP 0x62ece38 (line 2003) state change from PASV to STOP
03:03:11.738854 == Info: DO phase is complete2
03:03:11.738929 == Info: STATE: DOING => DO_MORE handle 0x626d7a8; line 1781 (connection #0)
03:03:11.739025 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:11.739084 == Info: DO-MORE connected phase starts
03:03:11.739350 == Info: FTP 0x62ece38 (line 3439) state change from STOP to RETR_TYPE
03:03:11.739759 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:11.739878 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:03:11.740063 == Info: FTP 0x62ece38 (line 1769) state change from RETR_TYPE to RETR_SIZE
03:03:11.740397 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:03:11.740534 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:03:11.740849 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:11.740970 => Send header, 10 bytes (0xa)
0000: RETR 407
03:03:11.741145 == Info: FTP 0x62ece38 (line 2255) state change from RETR_SIZE to RETR
03:03:11.741397 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:03:11.741562 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:03:11.741823 == Info: Maxdownload = -1
03:03:11.741881 == Info: Getting file with size: 11
03:03:11.741953 == Info: FTP 0x62ece38 (line 485) state change from RETR to STOP
03:03:11.742036 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:03:11.742122 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:03:11.742208 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:03:11.742313 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:03:11.742757 == Info: readwrite_data: we're done
03:03:11.742820 == Info: nread <= 0, server closed connection, bailing
03:03:11.742909 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:03:11.742971 == Info: multi_done
03:03:11.743196 == Info: Remembering we are in dir "a/path/"
03:03:11.784231 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:11.784395 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:03:11.785229 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:11.785354 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace407
=== Start of file valgrind407
==6270== Invalid read of size 8
==6270== at 0x5E745A5: check_free (dlerror.c:188)
==6270== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6270== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6270== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6270== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6270== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6270== by 0x559AF79: exit (exit.c:139)
==6270== by 0x55850A1: (below main) (libc-start.c:342)
==6270== Address 0x66adc80 is 0 bytes after a block of size 32 alloc'd
==6270== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6270== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6270== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6270== by 0x4DD0E85: err_get_state (err.c:210)
==6270== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6270== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6270== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6270== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6270== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6270== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6270== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6270== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6270== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6270== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6270== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6270== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6270==
==6270== Invalid free() / delete / delete[] / realloc()
==6270== at 0x48369AB: free (vg_replace_malloc.c:530)
==6270== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6270== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6270== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6270== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6270== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6270== by 0x559AF79: exit (exit.c:139)
==6270== by 0x55850A1: (below main) (libc-start.c:342)
==6270== Address 0x66adc68 is 8 bytes inside a block of size 32 alloc'd
==6270== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6270== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6270== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6270== by 0x4DD0E85: err_get_state (err.c:210)
==6270== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6270== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6270== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6270== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6270== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6270== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6270== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6270== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6270== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6270== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6270== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6270== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6270==
==6270== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6270== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6270== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6270== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6270== by 0x4DD0E85: err_get_state (err.c:210)
==6270== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6270== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6270== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6270== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6270== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6270== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6270== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6270== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6270== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6270== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6270== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6270== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6270==
=== End of file valgrind407
test 0408...[FTPS PORT upload with CWD]
goto problem 29
valgrind ERROR ==6278== Invalid read of size 8
==6278== at 0x5E745A5: check_free (dlerror.c:188)
==6278== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6278== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6278== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6278== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6278== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6278== by 0x559AF79: exit (exit.c:139)
==6278== by 0x55850A1: (below main) (libc-start.c:342)
==6278== Address 0x66b0f40 is 0 bytes after a block of size 32 alloc'd
==6278== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6278== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6278== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6278== by 0x4DD0E85: err_get_state (err.c:210)
==6278== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6278== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6278== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6278== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6278== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6278== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6278== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6278== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6278== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6278== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6278== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6278== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6278==
==6278== Invalid free() / delete / delete[] / realloc()
==6278== at 0x48369AB: free (vg_replace_malloc.c:530)
==6278== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6278== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6278== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6278== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6278== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6278== by 0x559AF79: exit (exit.c:139)
==6278== by 0x55850A1: (below main) (libc-start.c:342)
==6278== Address 0x66b0f28 is 8 bytes inside a block of size 32 alloc'd
==6278== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6278== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6278== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6278== by 0x4DD0E85: err_get_state (err.c:210)
==6278== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6278== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6278== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6278== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6278== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6278== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6278== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6278== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6278== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6278== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6278== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6278== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6278==
==6278== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6278== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6278== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6278== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6278== by 0x4DD0E85: err_get_state (err.c:210)
==6278== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6278== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6278== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6278== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6278== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6278== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6278== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6278== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6278== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6278== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6278== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6278== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6278==
== Contents of files in the log/ dir after test 408
=== Start of file ftp_server.log
03:03:01.673791 ====> Client connect
03:03:01.673896 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:01.753898 < "USER anonymous"
03:03:01.753945 > "331 We are happy you popped in![CR][LF]"
03:03:01.765088 < "PASS ftp@example.com"
03:03:01.765130 > "230 Welcome you silly person[CR][LF]"
03:03:01.767369 < "PBSZ 0"
03:03:01.767403 > "500 PBSZ not implemented[CR][LF]"
03:03:01.768747 < "PROT C"
03:03:01.768778 > "500 PROT not implemented[CR][LF]"
03:03:01.770155 < "CCC"
03:03:01.770175 CCC wasn't handled
03:03:01.770198 > "500 CCC is not dealt with![CR][LF]"
03:03:01.771642 < "PWD"
03:03:01.771678 > "257 "/" is current directory[CR][LF]"
03:03:01.778127 < "EPSV"
03:03:01.778153 ====> Passive DATA channel requested by client
03:03:01.778165 DATA sockfilt for passive data channel starting...
03:03:01.779811 DATA sockfilt for passive data channel started (pid 6244)
03:03:01.779926 DATA sockfilt for passive data channel listens on port 43485
03:03:01.779964 > "229 Entering Passive Mode (|||43485|)[LF]"
03:03:01.779986 Client has been notified that DATA conn will be accepted on port 43485
03:03:01.787395 Client connects to port 43485
03:03:01.787463 ====> Client established passive DATA connection on port 43485
03:03:01.793372 < "TYPE A"
03:03:01.793420 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:01.795487 < "LIST"
03:03:01.795528 > "150 here comes a directory[CR][LF]"
03:03:01.795563 pass LIST data on data connection
03:03:01.795676 =====> Closing passive DATA connection...
03:03:01.795700 Server disconnects passive DATA connection
03:03:01.796285 DATA sockfilt for passive data channel quits (pid 6253)
03:03:01.796306 =====> Closed passive DATA connection
03:03:01.796334 > "226 ASCII transfer complete[CR][LF]"
03:03:01.856719 < "QUIT"
03:03:01.856763 > "221 bye bye baby[CR][LF]"
03:03:01.863628 MAIN sockfilt said DISC
03:03:01.863667 ====> Client disconnected
03:03:01.863714 Awaiting input
03:03:04.141222 ====> Client connect
03:03:04.141332 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:05.506168 MAIN sockfilt said DISC
03:03:05.506223 ====> Client disconnected
03:03:05.506266 Awaiting input
03:03:08.319218 ====> Client connect
03:03:08.319345 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:08.400303 < "USER anonymous"
03:03:08.400364 > "331 We are happy you popped in![CR][LF]"
03:03:08.411477 < "PASS ftp@example.com"
03:03:08.411526 > "230 Welcome you silly person[CR][LF]"
03:03:08.413831 < "PBSZ 0"
03:03:08.413873 > "500 PBSZ not implemented[CR][LF]"
03:03:08.415274 < "PROT C"
03:03:08.415313 > "500 PROT not implemented[CR][LF]"
03:03:08.416791 < "PWD"
03:03:08.416836 > "257 "/" is current directory[CR][LF]"
03:03:08.437559 < "EPRT |1|127.0.0.1|52903|"
03:03:08.437600 ====> Active DATA channel requested by client
03:03:08.437643 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:08.437668 DATA sockfilt for active data channel starting...
03:03:08.439434 DATA sockfilt for active data channel started (pid 6266)
03:03:08.439468 ====> Active DATA channel connected to client port 52903
03:03:08.442669 < "TYPE A"
03:03:08.442719 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:08.444967 < "LIST"
03:03:08.445007 > "150 here comes a directory[CR][LF]"
03:03:08.445042 pass LIST data on data connection
03:03:08.445148 =====> Closing active DATA connection...
03:03:08.445176 Server disconnects active DATA connection
03:03:08.445622 DATA sockfilt for active data channel quits (pid 6267)
03:03:08.445648 =====> Closed active DATA connection
03:03:08.445683 > "226 ASCII transfer complete[CR][LF]"
03:03:08.507576 < "QUIT"
03:03:08.507633 > "221 bye bye baby[CR][LF]"
03:03:08.514360 MAIN sockfilt said DISC
03:03:08.514399 ====> Client disconnected
03:03:08.514464 Awaiting input
03:03:11.320306 ====> Client connect
03:03:11.320410 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:11.400696 < "USER anonymous"
03:03:11.400744 > "331 We are happy you popped in![CR][LF]"
03:03:11.411646 < "PASS ftp@example.com"
03:03:11.411685 > "230 Welcome you silly person[CR][LF]"
03:03:11.413933 < "PBSZ 0"
03:03:11.413965 > "500 PBSZ not implemented[CR][LF]"
03:03:11.415329 < "PROT C"
03:03:11.415361 > "500 PROT not implemented[CR][LF]"
03:03:11.416852 < "PWD"
03:03:11.416888 > "257 "/" is current directory[CR][LF]"
03:03:11.423816 < "CWD a"
03:03:11.423848 > "250 CWD command successful.[CR][LF]"
03:03:11.425361 < "CWD path"
03:03:11.425390 > "250 CWD command successful.[CR][LF]"
03:03:11.428930 < "EPSV"
03:03:11.428962 ====> Passive DATA channel requested by client
03:03:11.428976 DATA sockfilt for passive data channel starting...
03:03:11.430621 DATA sockfilt for passive data channel started (pid 6272)
03:03:11.430776 DATA sockfilt for passive data channel listens on port 35923
03:03:11.430823 > "229 Entering Passive Mode (|||35923|)[LF]"
03:03:11.430843 Client has been notified that DATA conn will be accepted on port 35923
03:03:11.437232 Client connects to port 35923
03:03:11.437272 ====> Client established passive DATA connection on port 35923
03:03:11.441886 < "TYPE I"
03:03:11.441921 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:11.444056 < "SIZE 407"
03:03:11.444214 > "213 11[CR][LF]"
03:03:11.448001 < "RETR 407"
03:03:11.448114 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:11.448167 =====> Closing passive DATA connection...
03:03:11.448181 Server disconnects passive DATA connection
03:03:11.448318 DATA sockfilt for passive data channel quits (pid 6273)
03:03:11.448344 =====> Closed passive DATA connection
03:03:11.448370 > "226 File transfer complete[CR][LF]"
03:03:11.523755 < "EPSV"
03:03:11.523792 ====> Passive DATA channel requested by client
03:03:11.523805 DATA sockfilt for passive data channel starting...
03:03:11.525466 DATA sockfilt for passive data channel started (pid 6274)
03:03:11.525608 DATA sockfilt for passive data channel listens on port 43899
03:03:11.525657 > "229 Entering Passive Mode (|||43899|)[LF]"
03:03:11.525672 Client has been notified that DATA conn will be accepted on port 43899
03:03:11.527271 Client connects to port 43899
03:03:11.527308 ====> Client established passive DATA connection on port 43899
03:03:11.528673 < "SIZE 407"
03:03:11.528844 > "213 11[CR][LF]"
03:03:11.529753 < "RETR 407"
03:03:11.529866 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:11.529918 =====> Closing passive DATA connection...
03:03:11.529935 Server disconnects passive DATA connection
03:03:11.530059 DATA sockfilt for passive data channel quits (pid 6275)
03:03:11.530085 =====> Closed passive DATA connection
03:03:11.530111 > "226 File transfer complete[CR][LF]"
03:03:11.579486 < "QUIT"
03:03:11.579528 > "221 bye bye baby[CR][LF]"
03:03:11.585999 MAIN sockfilt said DISC
03:03:11.586045 ====> Client disconnected
03:03:11.586105 Awaiting input
03:03:14.379517 ====> Client connect
03:03:14.379651 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:14.460137 < "USER anonymous"
03:03:14.460198 > "331 We are happy you popped in![CR][LF]"
03:03:14.471325 < "PASS ftp@example.com"
03:03:14.471373 > "230 Welcome you silly person[CR][LF]"
03:03:14.473700 < "PBSZ 0"
03:03:14.473742 > "500 PBSZ not implemented[CR][LF]"
03:03:14.475153 < "PROT C"
03:03:14.475195 > "500 PROT not implemented[CR][LF]"
03:03:14.476656 < "PWD"
03:03:14.476704 > "257 "/" is current directory[CR][LF]"
03:03:14.483725 < "CWD CWD"
03:03:14.483765 > "250 CWD command successful.[CR][LF]"
03:03:14.485374 < "CWD STOR"
03:03:14.485412 > "250 CWD command successful.[CR][LF]"
03:03:14.487913 < "CWD RETR"
03:03:14.487950 > "250 CWD command successful.[CR][LF]"
03:03:14.494032 < "EPRT |1|127.0.0.1|35323|"
03:03:14.494071 ====> Active DATA channel requested by client
03:03:14.494110 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:14.494137 DATA sockfilt for active data channel starting...
03:03:14.495880 DATA sockfilt for active data channel started (pid 6280)
03:03:14.495915 ====> Active DATA channel connected to client port 35323
03:03:14.498767 < "TYPE I"
03:03:14.498819 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:14.501075 < "STOR 408"
03:03:14.501109 STOR test number 408 in log/upload.408
03:03:14.501142 > "125 Gimme gimme gimme![CR][LF]"
03:03:14.515123 > Appending 27 bytes to file
03:03:14.524529 =====> Closing active DATA connection...
03:03:14.524557 Server knows active DATA connection is already disconnected
03:03:14.524619 DATA sockfilt for active data channel quits (pid 6281)
03:03:14.524644 =====> Closed active DATA connection
03:03:14.524669 received 27 bytes upload
03:03:14.524707 > "226 File transfer complete[CR][LF]"
03:03:14.564937 < "QUIT"
03:03:14.564990 > "221 bye bye baby[CR][LF]"
03:03:14.571727 MAIN sockfilt said DISC
03:03:14.571764 ====> Client disconnected
03:03:14.571823 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:01.885029 ====> Client connect
03:03:01.885211 Received DATA (on stdin)
03:03:01.885234 > 160 bytes data, server => client
03:03:01.885254 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:01.885269 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:01.885279 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:01.965081 < 16 bytes data, client => server
03:03:01.965125 'USER anonymous\r\n'
03:03:01.965266 Received DATA (on stdin)
03:03:01.965287 > 33 bytes data, server => client
03:03:01.965304 '331 We are happy you popped in!\r\n'
03:03:01.976318 < 22 bytes data, client => server
03:03:01.976357 'PASS ftp@example.com\r\n'
03:03:01.976451 Received DATA (on stdin)
03:03:01.976472 > 30 bytes data, server => client
03:03:01.976489 '230 Welcome you silly person\r\n'
03:03:01.978623 < 8 bytes data, client => server
03:03:01.978651 'PBSZ 0\r\n'
03:03:01.978725 Received DATA (on stdin)
03:03:01.978744 > 26 bytes data, server => client
03:03:01.978760 '500 PBSZ not implemented\r\n'
03:03:01.980007 < 8 bytes data, client => server
03:03:01.980036 'PROT C\r\n'
03:03:01.980101 Received DATA (on stdin)
03:03:01.980120 > 26 bytes data, server => client
03:03:01.980137 '500 PROT not implemented\r\n'
03:03:01.981418 < 5 bytes data, client => server
03:03:01.981445 'CCC\r\n'
03:03:01.981521 Received DATA (on stdin)
03:03:01.981539 > 28 bytes data, server => client
03:03:01.981555 '500 CCC is not dealt with!\r\n'
03:03:01.982903 < 5 bytes data, client => server
03:03:01.982931 'PWD\r\n'
03:03:01.983001 Received DATA (on stdin)
03:03:01.983020 > 30 bytes data, server => client
03:03:01.983036 '257 "/" is current directory\r\n'
03:03:01.989387 < 6 bytes data, client => server
03:03:01.989417 'EPSV\r\n'
03:03:01.991284 Received DATA (on stdin)
03:03:01.991304 > 38 bytes data, server => client
03:03:01.991323 '229 Entering Passive Mode (|||43485|)\n'
03:03:02.004586 < 8 bytes data, client => server
03:03:02.004624 'TYPE A\r\n'
03:03:02.004740 Received DATA (on stdin)
03:03:02.004761 > 33 bytes data, server => client
03:03:02.004778 '200 I modify TYPE as you wanted\r\n'
03:03:02.006743 < 6 bytes data, client => server
03:03:02.006768 'LIST\r\n'
03:03:02.006851 Received DATA (on stdin)
03:03:02.006872 > 28 bytes data, server => client
03:03:02.006890 '150 here comes a directory\r\n'
03:03:02.007659 Received DATA (on stdin)
03:03:02.007681 > 29 bytes data, server => client
03:03:02.007699 '226 ASCII transfer complete\r\n'
03:03:02.067909 < 6 bytes data, client => server
03:03:02.067948 'QUIT\r\n'
03:03:02.068088 Received DATA (on stdin)
03:03:02.068112 > 18 bytes data, server => client
03:03:02.068128 '221 bye bye baby\r\n'
03:03:02.074892 ====> Client disconnect
03:03:04.352460 ====> Client connect
03:03:04.352672 Received DATA (on stdin)
03:03:04.352697 > 160 bytes data, server => client
03:03:04.352714 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:04.352729 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:04.352741 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:05.623759 < 143 bytes data, client => server
03:03:05.623800 '............%.v&c.h7\rI5F......I].....Q+0.....*.+./.,.0..... '
03:03:05.623816 '.#...'.\n.$...(...../.<.5.=.\n...3..........\r...............'
03:03:05.623826 '........[0B].....\n..........'
03:03:05.641494 < 7 bytes data, client => server
03:03:05.641525 '......F'
03:03:05.717407 ====> Client disconnect
03:03:08.530481 ====> Client connect
03:03:08.530681 Received DATA (on stdin)
03:03:08.530706 > 160 bytes data, server => client
03:03:08.530724 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:08.530744 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:08.530761 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:08.611479 < 16 bytes data, client => server
03:03:08.611518 'USER anonymous\r\n'
03:03:08.611697 Received DATA (on stdin)
03:03:08.611712 > 33 bytes data, server => client
03:03:08.611726 '331 We are happy you popped in!\r\n'
03:03:08.622718 < 22 bytes data, client => server
03:03:08.622753 'PASS ftp@example.com\r\n'
03:03:08.622867 Received DATA (on stdin)
03:03:08.622891 > 30 bytes data, server => client
03:03:08.622906 '230 Welcome you silly person\r\n'
03:03:08.625090 < 8 bytes data, client => server
03:03:08.625113 'PBSZ 0\r\n'
03:03:08.625216 Received DATA (on stdin)
03:03:08.625240 > 26 bytes data, server => client
03:03:08.625254 '500 PBSZ not implemented\r\n'
03:03:08.626538 < 8 bytes data, client => server
03:03:08.626560 'PROT C\r\n'
03:03:08.626657 Received DATA (on stdin)
03:03:08.626680 > 26 bytes data, server => client
03:03:08.626695 '500 PROT not implemented\r\n'
03:03:08.628058 < 5 bytes data, client => server
03:03:08.628081 'PWD\r\n'
03:03:08.628179 Received DATA (on stdin)
03:03:08.628202 > 30 bytes data, server => client
03:03:08.628217 '257 "/" is current directory\r\n'
03:03:08.648799 < 26 bytes data, client => server
03:03:08.648827 'EPRT |1|127.0.0.1|52903|\r\n'
03:03:08.648979 Received DATA (on stdin)
03:03:08.648994 > 50 bytes data, server => client
03:03:08.649010 '200 Thanks for dropping by. We contact you later\r\n'
03:03:08.653909 < 8 bytes data, client => server
03:03:08.653933 'TYPE A\r\n'
03:03:08.654058 Received DATA (on stdin)
03:03:08.654082 > 33 bytes data, server => client
03:03:08.654097 '200 I modify TYPE as you wanted\r\n'
03:03:08.656230 < 6 bytes data, client => server
03:03:08.656253 'LIST\r\n'
03:03:08.656351 Received DATA (on stdin)
03:03:08.656374 > 28 bytes data, server => client
03:03:08.656389 '150 here comes a directory\r\n'
03:03:08.657028 Received DATA (on stdin)
03:03:08.657057 > 29 bytes data, server => client
03:03:08.657078 '226 ASCII transfer complete\r\n'
03:03:08.718789 < 6 bytes data, client => server
03:03:08.718822 'QUIT\r\n'
03:03:08.718974 Received DATA (on stdin)
03:03:08.719000 > 18 bytes data, server => client
03:03:08.719014 '221 bye bye baby\r\n'
03:03:08.725642 ====> Client disconnect
03:03:11.531556 ====> Client connect
03:03:11.531743 Received DATA (on stdin)
03:03:11.531759 > 160 bytes data, server => client
03:03:11.531776 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:11.531791 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:11.531805 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:11.611880 < 16 bytes data, client => server
03:03:11.611920 'USER anonymous\r\n'
03:03:11.612088 Received DATA (on stdin)
03:03:11.612113 > 33 bytes data, server => client
03:03:11.612129 '331 We are happy you popped in!\r\n'
03:03:11.622878 < 22 bytes data, client => server
03:03:11.622904 'PASS ftp@example.com\r\n'
03:03:11.623029 Received DATA (on stdin)
03:03:11.623052 > 30 bytes data, server => client
03:03:11.623067 '230 Welcome you silly person\r\n'
03:03:11.625180 < 8 bytes data, client => server
03:03:11.625203 'PBSZ 0\r\n'
03:03:11.625311 Received DATA (on stdin)
03:03:11.625334 > 26 bytes data, server => client
03:03:11.625349 '500 PBSZ not implemented\r\n'
03:03:11.626578 < 8 bytes data, client => server
03:03:11.626600 'PROT C\r\n'
03:03:11.626706 Received DATA (on stdin)
03:03:11.626728 > 26 bytes data, server => client
03:03:11.626743 '500 PROT not implemented\r\n'
03:03:11.628118 < 5 bytes data, client => server
03:03:11.628141 'PWD\r\n'
03:03:11.628212 Received DATA (on stdin)
03:03:11.628226 > 30 bytes data, server => client
03:03:11.628241 '257 "/" is current directory\r\n'
03:03:11.635067 < 7 bytes data, client => server
03:03:11.635090 'CWD a\r\n'
03:03:11.635194 Received DATA (on stdin)
03:03:11.635217 > 29 bytes data, server => client
03:03:11.635233 '250 CWD command successful.\r\n'
03:03:11.636630 < 10 bytes data, client => server
03:03:11.636655 'CWD path\r\n'
03:03:11.636716 Received DATA (on stdin)
03:03:11.636736 > 29 bytes data, server => client
03:03:11.636753 '250 CWD command successful.\r\n'
03:03:11.640186 < 6 bytes data, client => server
03:03:11.640209 'EPSV\r\n'
03:03:11.642143 Received DATA (on stdin)
03:03:11.642166 > 38 bytes data, server => client
03:03:11.642187 '229 Entering Passive Mode (|||35923|)\n'
03:03:11.653127 < 8 bytes data, client => server
03:03:11.653158 'TYPE I\r\n'
03:03:11.653246 Received DATA (on stdin)
03:03:11.653267 > 33 bytes data, server => client
03:03:11.653284 '200 I modify TYPE as you wanted\r\n'
03:03:11.655313 < 10 bytes data, client => server
03:03:11.655334 'SIZE 407\r\n'
03:03:11.655540 Received DATA (on stdin)
03:03:11.655561 > 8 bytes data, server => client
03:03:11.655576 '213 11\r\n'
03:03:11.659261 < 10 bytes data, client => server
03:03:11.659284 'RETR 407\r\n'
03:03:11.659441 Received DATA (on stdin)
03:03:11.659461 > 51 bytes data, server => client
03:03:11.659481 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:11.659695 Received DATA (on stdin)
03:03:11.659715 > 28 bytes data, server => client
03:03:11.659734 '226 File transfer complete\r\n'
03:03:11.734957 < 6 bytes data, client => server
03:03:11.734994 'EPSV\r\n'
03:03:11.736980 Received DATA (on stdin)
03:03:11.737012 > 38 bytes data, server => client
03:03:11.737030 '229 Entering Passive Mode (|||43899|)\n'
03:03:11.739926 < 10 bytes data, client => server
03:03:11.739948 'SIZE 407\r\n'
03:03:11.740168 Received DATA (on stdin)
03:03:11.740190 > 8 bytes data, server => client
03:03:11.740207 '213 11\r\n'
03:03:11.741015 < 10 bytes data, client => server
03:03:11.741035 'RETR 407\r\n'
03:03:11.741191 Received DATA (on stdin)
03:03:11.741210 > 51 bytes data, server => client
03:03:11.741230 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:11.741437 Received DATA (on stdin)
03:03:11.741456 > 28 bytes data, server => client
03:03:11.741472 '226 File transfer complete\r\n'
03:03:11.790699 < 6 bytes data, client => server
03:03:11.790735 'QUIT\r\n'
03:03:11.790852 Received DATA (on stdin)
03:03:11.790873 > 18 bytes data, server => client
03:03:11.790890 '221 bye bye baby\r\n'
03:03:11.797270 ====> Client disconnect
03:03:14.590776 ====> Client connect
03:03:14.590985 Received DATA (on stdin)
03:03:14.591011 > 160 bytes data, server => client
03:03:14.591029 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:14.591044 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:14.591056 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:14.671308 < 16 bytes data, client => server
03:03:14.671346 'USER anonymous\r\n'
03:03:14.671516 Received DATA (on stdin)
03:03:14.671528 > 33 bytes data, server => client
03:03:14.671538 '331 We are happy you popped in!\r\n'
03:03:14.682573 < 22 bytes data, client => server
03:03:14.682600 'PASS ftp@example.com\r\n'
03:03:14.682714 Received DATA (on stdin)
03:03:14.682738 > 30 bytes data, server => client
03:03:14.682753 '230 Welcome you silly person\r\n'
03:03:14.684960 < 8 bytes data, client => server
03:03:14.684983 'PBSZ 0\r\n'
03:03:14.685084 Received DATA (on stdin)
03:03:14.685108 > 26 bytes data, server => client
03:03:14.685123 '500 PBSZ not implemented\r\n'
03:03:14.686419 < 8 bytes data, client => server
03:03:14.686441 'PROT C\r\n'
03:03:14.686539 Received DATA (on stdin)
03:03:14.686562 > 26 bytes data, server => client
03:03:14.686577 '500 PROT not implemented\r\n'
03:03:14.687924 < 5 bytes data, client => server
03:03:14.687946 'PWD\r\n'
03:03:14.688040 Received DATA (on stdin)
03:03:14.688056 > 30 bytes data, server => client
03:03:14.688070 '257 "/" is current directory\r\n'
03:03:14.694992 < 9 bytes data, client => server
03:03:14.695015 'CWD CWD\r\n'
03:03:14.695108 Received DATA (on stdin)
03:03:14.695132 > 29 bytes data, server => client
03:03:14.695147 '250 CWD command successful.\r\n'
03:03:14.696642 < 10 bytes data, client => server
03:03:14.696665 'CWD STOR\r\n'
03:03:14.696756 Received DATA (on stdin)
03:03:14.696780 > 29 bytes data, server => client
03:03:14.696795 '250 CWD command successful.\r\n'
03:03:14.699182 < 10 bytes data, client => server
03:03:14.699204 'CWD RETR\r\n'
03:03:14.699294 Received DATA (on stdin)
03:03:14.699317 > 29 bytes data, server => client
03:03:14.699332 '250 CWD command successful.\r\n'
03:03:14.705282 < 26 bytes data, client => server
03:03:14.705309 'EPRT |1|127.0.0.1|35323|\r\n'
03:03:14.705453 Received DATA (on stdin)
03:03:14.705485 > 50 bytes data, server => client
03:03:14.705501 '200 Thanks for dropping by. We contact you later\r\n'
03:03:14.710014 < 8 bytes data, client => server
03:03:14.710037 'TYPE I\r\n'
03:03:14.710158 Received DATA (on stdin)
03:03:14.710182 > 33 bytes data, server => client
03:03:14.710197 '200 I modify TYPE as you wanted\r\n'
03:03:14.712340 < 10 bytes data, client => server
03:03:14.712363 'STOR 408\r\n'
03:03:14.712485 Received DATA (on stdin)
03:03:14.712516 > 24 bytes data, server => client
03:03:14.712530 '125 Gimme gimme gimme!\r\n'
03:03:14.736030 Received DATA (on stdin)
03:03:14.736047 > 28 bytes data, server => client
03:03:14.736058 '226 File transfer complete\r\n'
03:03:14.776151 < 6 bytes data, client => server
03:03:14.776188 'QUIT\r\n'
03:03:14.776333 Received DATA (on stdin)
03:03:14.776358 > 18 bytes data, server => client
03:03:14.776373 '221 bye bye baby\r\n'
03:03:14.783016 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:01.990987 Running IPv4 version
03:03:01.991066 Listening on port 43485
03:03:01.991093 Wrote pid 6253 to ./.ftp_sockdata.pid
03:03:01.991108 Received PING (on stdin)
03:03:01.991168 Received PORT (on stdin)
03:03:01.998652 ====> Client connect
03:03:02.006931 Received DATA (on stdin)
03:03:02.006959 > 10 bytes data, server => client
03:03:02.006974 'total 20\r\n'
03:03:02.007004 Received DATA (on stdin)
03:03:02.007019 > 57 bytes data, server => client
03:03:02.007036 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:02.007059 Received DATA (on stdin)
03:03:02.007072 > 58 bytes data, server => client
03:03:02.007089 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:02.007108 Received DATA (on stdin)
03:03:02.007121 > 61 bytes data, server => client
03:03:02.007139 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:02.007150 '\n'
03:03:02.007168 Received DATA (on stdin)
03:03:02.007180 > 62 bytes data, server => client
03:03:02.007197 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:02.007208 '\n'
03:03:02.007226 Received DATA (on stdin)
03:03:02.007238 > 70 bytes data, server => client
03:03:02.007255 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:02.007268 'usr/bin\r\n'
03:03:02.007287 Received DATA (on stdin)
03:03:02.007299 > 59 bytes data, server => client
03:03:02.007316 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:02.007335 Received DATA (on stdin)
03:03:02.007347 > 69 bytes data, server => client
03:03:02.007364 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:02.007375 'd.html\r\n'
03:03:02.007394 Received DATA (on stdin)
03:03:02.007406 > 59 bytes data, server => client
03:03:02.007422 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:02.007441 Received DATA (on stdin)
03:03:02.007453 > 59 bytes data, server => client
03:03:02.007470 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:02.007489 Received DATA (on stdin)
03:03:02.007501 > 59 bytes data, server => client
03:03:02.007519 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:02.007538 Received DISC (on stdin)
03:03:02.007552 ====> Client forcibly disconnected
03:03:02.007577 Received QUIT (on stdin)
03:03:02.007589 quits
03:03:02.007608 ============> sockfilt quits
03:03:08.650601 ====> Client connect
03:03:08.650664 Running IPv4 version
03:03:08.650673 Connected to port 52903
03:03:08.650715 Wrote pid 6267 to ./.ftp_sockdata.pid
03:03:08.650731 Received PING (on stdin)
03:03:08.656424 Received DATA (on stdin)
03:03:08.656454 > 10 bytes data, server => client
03:03:08.656469 'total 20\r\n'
03:03:08.656494 Received DATA (on stdin)
03:03:08.656504 > 57 bytes data, server => client
03:03:08.656516 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:08.656533 Received DATA (on stdin)
03:03:08.656547 > 58 bytes data, server => client
03:03:08.656561 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:08.656577 Received DATA (on stdin)
03:03:08.656586 > 61 bytes data, server => client
03:03:08.656598 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:08.656605 '\n'
03:03:08.656619 Received DATA (on stdin)
03:03:08.656628 > 62 bytes data, server => client
03:03:08.656640 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:08.656647 '\n'
03:03:08.656661 Received DATA (on stdin)
03:03:08.656670 > 70 bytes data, server => client
03:03:08.656682 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:08.656690 'usr/bin\r\n'
03:03:08.656703 Received DATA (on stdin)
03:03:08.656712 > 59 bytes data, server => client
03:03:08.656724 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:08.656738 Received DATA (on stdin)
03:03:08.656747 > 69 bytes data, server => client
03:03:08.656759 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:08.656767 'd.html\r\n'
03:03:08.656780 Received DATA (on stdin)
03:03:08.656789 > 59 bytes data, server => client
03:03:08.656807 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:08.656822 Received DATA (on stdin)
03:03:08.656831 > 59 bytes data, server => client
03:03:08.656842 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:08.656856 Received DATA (on stdin)
03:03:08.656866 > 59 bytes data, server => client
03:03:08.656877 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:08.656891 Received DISC (on stdin)
03:03:08.656902 ====> Client forcibly disconnected
03:03:08.656918 disconnected, no socket to read on
03:03:08.656929 Received QUIT (on stdin)
03:03:08.656936 quits
03:03:08.656947 ============> sockfilt quits
03:03:11.641790 Running IPv4 version
03:03:11.641847 Listening on port 35923
03:03:11.641884 Wrote pid 6273 to ./.ftp_sockdata.pid
03:03:11.641900 Received PING (on stdin)
03:03:11.642018 Received PORT (on stdin)
03:03:11.648515 ====> Client connect
03:03:11.659491 Received DATA (on stdin)
03:03:11.659518 > 11 bytes data, server => client
03:03:11.659538 'data blobb\n'
03:03:11.659565 Received DISC (on stdin)
03:03:11.659577 ====> Client forcibly disconnected
03:03:11.659623 Received QUIT (on stdin)
03:03:11.659636 quits
03:03:11.659654 ============> sockfilt quits
03:03:11.736643 Running IPv4 version
03:03:11.736707 Listening on port 43899
03:03:11.736747 Wrote pid 6275 to ./.ftp_sockdata.pid
03:03:11.736764 Received PING (on stdin)
03:03:11.736830 Received PORT (on stdin)
03:03:11.738545 ====> Client connect
03:03:11.741242 Received DATA (on stdin)
03:03:11.741265 > 11 bytes data, server => client
03:03:11.741279 'data blobb\n'
03:03:11.741307 Received DISC (on stdin)
03:03:11.741320 ====> Client forcibly disconnected
03:03:11.741374 Received QUIT (on stdin)
03:03:11.741396 quits
03:03:11.741416 ============> sockfilt quits
03:03:14.707050 ====> Client connect
03:03:14.707113 Running IPv4 version
03:03:14.707122 Connected to port 35323
03:03:14.707162 Wrote pid 6281 to ./.ftp_sockdata.pid
03:03:14.707177 Received PING (on stdin)
03:03:14.726408 < 27 bytes data, client => server
03:03:14.726433 'Moooooooooooo\n upload this\n'
03:03:14.735756 ====> Client disconnect
03:03:14.735805 disconnected, no socket to read on
03:03:14.735910 Received QUIT (on stdin)
03:03:14.735920 quits
03:03:14.735931 ============> 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|35323|
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:01 --:--:-- 0
100 27 0 0 100 27 0 14 0:00:01 0:00:01 --:--:-- 14
=== End of file stderr408
=== Start of file trace408
03:03:12.844818 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:12.869532 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:12.906746 == Info: Added connection 0. The cache now contains 1 members
03:03:12.923641 == Info: Trying 127.0.0.1...
03:03:12.924238 == Info: TCP_NODELAY set
03:03:12.927416 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:12.929763 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:03:12.940755 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:12.941303 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:03:12.942444 == Info: Marked for [keep alive]: FTP default
03:03:14.106188 == Info: successfully set certificate verify locations:
03:03:14.106448 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:14.184786 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:14.189805 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:14.189869 => Send SSL data, 138 bytes (0x8a)
0000: ................r...........h..C.WWj....*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:14.207426 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:14.211885 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:14.211947 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..J..@.[7F].p..............|(a$...... .Z..g..q......3....1...O.
0040: ...?;.3./................
03:03:14.256167 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:14.256628 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:14.256686 <= 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:03:14.356379 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:14.356645 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:14.356700 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.].nv..v.....?y..l`..$...s.:..a.....VG.OLb.....J.bd...kC
0040: ...O.{0......0....V!..Y...)...C............._QE....a..6.A..u..F.
0080: ..u.........i.......$......1.P...d.......u"...E.u2y.....}...E}..
00c0: c..2.p.. ...y+N-R..No=...C....gM>J.2.$~twD. .t....K..5....o@.b."
0100: ..z|...).g.~$..P.;.Mc....w...w.8%..J._.qcC.......y.K.q...;M.....
0140: .}C......o...
03:03:14.425875 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:14.426216 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:14.426273 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:14.544741 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:14.544989 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:14.545046 => Send SSL data, 70 bytes (0x46)
0000: ...BA.^l...<......z..B<8...pg.M.M.sN....e...........C.........W.
0040: .gJ..q
03:03:14.557482 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:14.558040 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:14.558095 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:14.589689 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:14.589878 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:14.589932 => Send SSL data, 16 bytes (0x10)
0000: .......V=M!].E..
03:03:14.592508 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:14.593547 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:14.593603 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:14.595998 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:14.601448 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:14.601505 <= Recv SSL data, 16 bytes (0x10)
0000: ....NP..U.....,.
03:03:14.622993 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:14.625197 == Info: Server certificate:
03:03:14.632502 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:14.638932 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:14.639880 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:14.640724 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:14.641624 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:14.643074 == Info: FTP 0x62f00d8 (line 3118) state change from STOP to WAIT220
03:03:14.649229 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:14.658395 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:14.661873 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:14.662071 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:14.662255 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:14.662434 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:14.669935 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:14.672644 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:14.673417 == Info: FTP 0x62f00d8 (line 803) state change from WAIT220 to USER
03:03:14.674123 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626d7a8; line 1627 (connection #0)
03:03:14.680372 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:14.681124 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:14.682382 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:14.682503 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:14.682928 == Info: FTP 0x62f00d8 (line 2546) state change from USER to PASS
03:03:14.683940 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:14.684092 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:14.684778 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:14.684896 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:14.685286 == Info: FTP 0x62f00d8 (line 2522) state change from PASS to PBSZ
03:03:14.685578 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:14.685716 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:14.686241 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:14.686355 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:14.686724 == Info: FTP 0x62f00d8 (line 2735) state change from PBSZ to PROT
03:03:14.686965 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:14.687101 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:14.687752 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:14.687866 => Send header, 5 bytes (0x5)
0000: PWD
03:03:14.688225 == Info: FTP 0x62f00d8 (line 815) state change from PROT to PWD
03:03:14.688544 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:14.688682 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:14.689778 == Info: Entry path is '/'
03:03:14.689998 == Info: FTP 0x62f00d8 (line 2870) state change from PWD to STOP
03:03:14.690160 == Info: protocol connect phase DONE
03:03:14.690496 == Info: STATE: PROTOCONNECT => DO handle 0x626d7a8; line 1648 (connection #0)
03:03:14.693760 == Info: DO phase starts
03:03:14.694808 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:14.694931 => Send header, 9 bytes (0x9)
0000: CWD CWD
03:03:14.695311 == Info: FTP 0x62f00d8 (line 911) state change from STOP to CWD
03:03:14.695714 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:14.695853 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:03:14.696463 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:14.696578 => Send header, 10 bytes (0xa)
0000: CWD STOR
03:03:14.696947 == Info: ftp_perform ends with SECONDARY: 0
03:03:14.697679 == Info: STATE: DO => DOING handle 0x626d7a8; line 1697 (connection #0)
03:03:14.698484 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:14.698626 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:03:14.699006 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:14.699118 => Send header, 10 bytes (0xa)
0000: CWD RETR
03:03:14.699746 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:14.699884 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:03:14.705090 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:03:14.705219 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|35323|
03:03:14.705957 == Info: FTP 0x62f00d8 (line 1309) state change from CWD to PORT
03:03:14.706527 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:03:14.706886 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:03:14.707435 == Info: Connect data stream actively
03:03:14.707640 == Info: FTP 0x62f00d8 (line 2037) state change from PORT to STOP
03:03:14.708290 == Info: DO phase is complete2
03:03:14.708546 == Info: STATE: DOING => DO_MORE handle 0x626d7a8; line 1781 (connection #0)
03:03:14.709827 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:14.709947 => Send header, 8 bytes (0x8)
0000: TYPE I
03:03:14.710338 == Info: FTP 0x62f00d8 (line 3444) state change from STOP to STOR_TYPE
03:03:14.710721 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:14.710863 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:14.712158 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:14.712277 => Send header, 10 bytes (0xa)
0000: STOR 408
03:03:14.712671 == Info: FTP 0x62f00d8 (line 1677) state change from STOR_TYPE to STOR
03:03:14.714070 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:03:14.714211 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:03:14.714714 == Info: FTP 0x62f00d8 (line 2356) state change from STOR to STOP
03:03:14.714893 == Info: Preparing for accepting server on data port
03:03:14.715938 == Info: Checking for server connect
03:03:14.716773 == Info: Ready to accept data connection from server
03:03:14.718479 == Info: Connection accepted from server
03:03:14.721001 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:03:14.722032 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:03:14.722791 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:03:14.726937 => Send data, 27 bytes (0x1b)
0000: Moooooooooooo. upload this.
03:03:14.727460 == Info: We are completely uploaded and fine
03:03:14.731000 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:03:14.731464 == Info: multi_done
03:03:14.734569 == Info: Remembering we are in dir "CWD/STOR/RETR/"
03:03:14.756478 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:14.756649 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:03:14.761889 == 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
==6278== Invalid read of size 8
==6278== at 0x5E745A5: check_free (dlerror.c:188)
==6278== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6278== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6278== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6278== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6278== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6278== by 0x559AF79: exit (exit.c:139)
==6278== by 0x55850A1: (below main) (libc-start.c:342)
==6278== Address 0x66b0f40 is 0 bytes after a block of size 32 alloc'd
==6278== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6278== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6278== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6278== by 0x4DD0E85: err_get_state (err.c:210)
==6278== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6278== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6278== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6278== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6278== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6278== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6278== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6278== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6278== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6278== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6278== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6278== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6278==
==6278== Invalid free() / delete / delete[] / realloc()
==6278== at 0x48369AB: free (vg_replace_malloc.c:530)
==6278== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6278== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6278== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6278== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6278== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6278== by 0x559AF79: exit (exit.c:139)
==6278== by 0x55850A1: (below main) (libc-start.c:342)
==6278== Address 0x66b0f28 is 8 bytes inside a block of size 32 alloc'd
==6278== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6278== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6278== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6278== by 0x4DD0E85: err_get_state (err.c:210)
==6278== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6278== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6278== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6278== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6278== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6278== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6278== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6278== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6278== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6278== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6278== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6278== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6278==
==6278== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6278== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6278== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6278== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6278== by 0x4DD0E85: err_get_state (err.c:210)
==6278== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6278== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6278== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6278== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6278== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6278== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6278== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6278== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6278== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6278== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6278== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6278== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6278==
=== End of file valgrind408
test 0409...[FTPS PASV upload file]
goto problem 30
valgrind ERROR ==6284== Invalid read of size 8
==6284== at 0x5E745A5: check_free (dlerror.c:188)
==6284== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6284== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6284== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6284== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6284== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6284== by 0x559AF79: exit (exit.c:139)
==6284== by 0x55850A1: (below main) (libc-start.c:342)
==6284== Address 0x66b05a0 is 0 bytes after a block of size 32 alloc'd
==6284== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6284== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6284== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6284== by 0x4DD0E85: err_get_state (err.c:210)
==6284== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6284== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6284== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6284== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6284== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6284== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6284== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6284== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6284== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6284== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6284== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6284== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6284==
==6284== Invalid free() / delete / delete[] / realloc()
==6284== at 0x48369AB: free (vg_replace_malloc.c:530)
==6284== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6284== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6284== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6284== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6284== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6284== by 0x559AF79: exit (exit.c:139)
==6284== by 0x55850A1: (below main) (libc-start.c:342)
==6284== Address 0x66b0588 is 8 bytes inside a block of size 32 alloc'd
==6284== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6284== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6284== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6284== by 0x4DD0E85: err_get_state (err.c:210)
==6284== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6284== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6284== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6284== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6284== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6284== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6284== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6284== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6284== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6284== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6284== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6284== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6284==
==6284== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6284== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6284== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6284== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6284== by 0x4DD0E85: err_get_state (err.c:210)
==6284== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6284== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6284== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6284== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6284== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6284== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6284== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6284== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6284== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6284== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6284== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6284== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6284==
== Contents of files in the log/ dir after test 409
=== Start of file ftp_server.log
03:03:01.673791 ====> Client connect
03:03:01.673896 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:01.753898 < "USER anonymous"
03:03:01.753945 > "331 We are happy you popped in![CR][LF]"
03:03:01.765088 < "PASS ftp@example.com"
03:03:01.765130 > "230 Welcome you silly person[CR][LF]"
03:03:01.767369 < "PBSZ 0"
03:03:01.767403 > "500 PBSZ not implemented[CR][LF]"
03:03:01.768747 < "PROT C"
03:03:01.768778 > "500 PROT not implemented[CR][LF]"
03:03:01.770155 < "CCC"
03:03:01.770175 CCC wasn't handled
03:03:01.770198 > "500 CCC is not dealt with![CR][LF]"
03:03:01.771642 < "PWD"
03:03:01.771678 > "257 "/" is current directory[CR][LF]"
03:03:01.778127 < "EPSV"
03:03:01.778153 ====> Passive DATA channel requested by client
03:03:01.778165 DATA sockfilt for passive data channel starting...
03:03:01.779811 DATA sockfilt for passive data channel started (pid 6244)
03:03:01.779926 DATA sockfilt for passive data channel listens on port 43485
03:03:01.779964 > "229 Entering Passive Mode (|||43485|)[LF]"
03:03:01.779986 Client has been notified that DATA conn will be accepted on port 43485
03:03:01.787395 Client connects to port 43485
03:03:01.787463 ====> Client established passive DATA connection on port 43485
03:03:01.793372 < "TYPE A"
03:03:01.793420 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:01.795487 < "LIST"
03:03:01.795528 > "150 here comes a directory[CR][LF]"
03:03:01.795563 pass LIST data on data connection
03:03:01.795676 =====> Closing passive DATA connection...
03:03:01.795700 Server disconnects passive DATA connection
03:03:01.796285 DATA sockfilt for passive data channel quits (pid 6253)
03:03:01.796306 =====> Closed passive DATA connection
03:03:01.796334 > "226 ASCII transfer complete[CR][LF]"
03:03:01.856719 < "QUIT"
03:03:01.856763 > "221 bye bye baby[CR][LF]"
03:03:01.863628 MAIN sockfilt said DISC
03:03:01.863667 ====> Client disconnected
03:03:01.863714 Awaiting input
03:03:04.141222 ====> Client connect
03:03:04.141332 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:05.506168 MAIN sockfilt said DISC
03:03:05.506223 ====> Client disconnected
03:03:05.506266 Awaiting input
03:03:08.319218 ====> Client connect
03:03:08.319345 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:08.400303 < "USER anonymous"
03:03:08.400364 > "331 We are happy you popped in![CR][LF]"
03:03:08.411477 < "PASS ftp@example.com"
03:03:08.411526 > "230 Welcome you silly person[CR][LF]"
03:03:08.413831 < "PBSZ 0"
03:03:08.413873 > "500 PBSZ not implemented[CR][LF]"
03:03:08.415274 < "PROT C"
03:03:08.415313 > "500 PROT not implemented[CR][LF]"
03:03:08.416791 < "PWD"
03:03:08.416836 > "257 "/" is current directory[CR][LF]"
03:03:08.437559 < "EPRT |1|127.0.0.1|52903|"
03:03:08.437600 ====> Active DATA channel requested by client
03:03:08.437643 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:08.437668 DATA sockfilt for active data channel starting...
03:03:08.439434 DATA sockfilt for active data channel started (pid 6266)
03:03:08.439468 ====> Active DATA channel connected to client port 52903
03:03:08.442669 < "TYPE A"
03:03:08.442719 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:08.444967 < "LIST"
03:03:08.445007 > "150 here comes a directory[CR][LF]"
03:03:08.445042 pass LIST data on data connection
03:03:08.445148 =====> Closing active DATA connection...
03:03:08.445176 Server disconnects active DATA connection
03:03:08.445622 DATA sockfilt for active data channel quits (pid 6267)
03:03:08.445648 =====> Closed active DATA connection
03:03:08.445683 > "226 ASCII transfer complete[CR][LF]"
03:03:08.507576 < "QUIT"
03:03:08.507633 > "221 bye bye baby[CR][LF]"
03:03:08.514360 MAIN sockfilt said DISC
03:03:08.514399 ====> Client disconnected
03:03:08.514464 Awaiting input
03:03:11.320306 ====> Client connect
03:03:11.320410 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:11.400696 < "USER anonymous"
03:03:11.400744 > "331 We are happy you popped in![CR][LF]"
03:03:11.411646 < "PASS ftp@example.com"
03:03:11.411685 > "230 Welcome you silly person[CR][LF]"
03:03:11.413933 < "PBSZ 0"
03:03:11.413965 > "500 PBSZ not implemented[CR][LF]"
03:03:11.415329 < "PROT C"
03:03:11.415361 > "500 PROT not implemented[CR][LF]"
03:03:11.416852 < "PWD"
03:03:11.416888 > "257 "/" is current directory[CR][LF]"
03:03:11.423816 < "CWD a"
03:03:11.423848 > "250 CWD command successful.[CR][LF]"
03:03:11.425361 < "CWD path"
03:03:11.425390 > "250 CWD command successful.[CR][LF]"
03:03:11.428930 < "EPSV"
03:03:11.428962 ====> Passive DATA channel requested by client
03:03:11.428976 DATA sockfilt for passive data channel starting...
03:03:11.430621 DATA sockfilt for passive data channel started (pid 6272)
03:03:11.430776 DATA sockfilt for passive data channel listens on port 35923
03:03:11.430823 > "229 Entering Passive Mode (|||35923|)[LF]"
03:03:11.430843 Client has been notified that DATA conn will be accepted on port 35923
03:03:11.437232 Client connects to port 35923
03:03:11.437272 ====> Client established passive DATA connection on port 35923
03:03:11.441886 < "TYPE I"
03:03:11.441921 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:11.444056 < "SIZE 407"
03:03:11.444214 > "213 11[CR][LF]"
03:03:11.448001 < "RETR 407"
03:03:11.448114 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:11.448167 =====> Closing passive DATA connection...
03:03:11.448181 Server disconnects passive DATA connection
03:03:11.448318 DATA sockfilt for passive data channel quits (pid 6273)
03:03:11.448344 =====> Closed passive DATA connection
03:03:11.448370 > "226 File transfer complete[CR][LF]"
03:03:11.523755 < "EPSV"
03:03:11.523792 ====> Passive DATA channel requested by client
03:03:11.523805 DATA sockfilt for passive data channel starting...
03:03:11.525466 DATA sockfilt for passive data channel started (pid 6274)
03:03:11.525608 DATA sockfilt for passive data channel listens on port 43899
03:03:11.525657 > "229 Entering Passive Mode (|||43899|)[LF]"
03:03:11.525672 Client has been notified that DATA conn will be accepted on port 43899
03:03:11.527271 Client connects to port 43899
03:03:11.527308 ====> Client established passive DATA connection on port 43899
03:03:11.528673 < "SIZE 407"
03:03:11.528844 > "213 11[CR][LF]"
03:03:11.529753 < "RETR 407"
03:03:11.529866 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:11.529918 =====> Closing passive DATA connection...
03:03:11.529935 Server disconnects passive DATA connection
03:03:11.530059 DATA sockfilt for passive data channel quits (pid 6275)
03:03:11.530085 =====> Closed passive DATA connection
03:03:11.530111 > "226 File transfer complete[CR][LF]"
03:03:11.579486 < "QUIT"
03:03:11.579528 > "221 bye bye baby[CR][LF]"
03:03:11.585999 MAIN sockfilt said DISC
03:03:11.586045 ====> Client disconnected
03:03:11.586105 Awaiting input
03:03:14.379517 ====> Client connect
03:03:14.379651 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:14.460137 < "USER anonymous"
03:03:14.460198 > "331 We are happy you popped in![CR][LF]"
03:03:14.471325 < "PASS ftp@example.com"
03:03:14.471373 > "230 Welcome you silly person[CR][LF]"
03:03:14.473700 < "PBSZ 0"
03:03:14.473742 > "500 PBSZ not implemented[CR][LF]"
03:03:14.475153 < "PROT C"
03:03:14.475195 > "500 PROT not implemented[CR][LF]"
03:03:14.476656 < "PWD"
03:03:14.476704 > "257 "/" is current directory[CR][LF]"
03:03:14.483725 < "CWD CWD"
03:03:14.483765 > "250 CWD command successful.[CR][LF]"
03:03:14.485374 < "CWD STOR"
03:03:14.485412 > "250 CWD command successful.[CR][LF]"
03:03:14.487913 < "CWD RETR"
03:03:14.487950 > "250 CWD command successful.[CR][LF]"
03:03:14.494032 < "EPRT |1|127.0.0.1|35323|"
03:03:14.494071 ====> Active DATA channel requested by client
03:03:14.494110 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:14.494137 DATA sockfilt for active data channel starting...
03:03:14.495880 DATA sockfilt for active data channel started (pid 6280)
03:03:14.495915 ====> Active DATA channel connected to client port 35323
03:03:14.498767 < "TYPE I"
03:03:14.498819 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:14.501075 < "STOR 408"
03:03:14.501109 STOR test number 408 in log/upload.408
03:03:14.501142 > "125 Gimme gimme gimme![CR][LF]"
03:03:14.515123 > Appending 27 bytes to file
03:03:14.524529 =====> Closing active DATA connection...
03:03:14.524557 Server knows active DATA connection is already disconnected
03:03:14.524619 DATA sockfilt for active data channel quits (pid 6281)
03:03:14.524644 =====> Closed active DATA connection
03:03:14.524669 received 27 bytes upload
03:03:14.524707 > "226 File transfer complete[CR][LF]"
03:03:14.564937 < "QUIT"
03:03:14.564990 > "221 bye bye baby[CR][LF]"
03:03:14.571727 MAIN sockfilt said DISC
03:03:14.571764 ====> Client disconnected
03:03:14.571823 Awaiting input
03:03:17.344700 ====> Client connect
03:03:17.344809 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:17.425098 < "USER anonymous"
03:03:17.425153 > "331 We are happy you popped in![CR][LF]"
03:03:17.436327 < "PASS ftp@example.com"
03:03:17.436366 > "230 Welcome you silly person[CR][LF]"
03:03:17.438614 < "PBSZ 0"
03:03:17.438649 > "500 PBSZ not implemented[CR][LF]"
03:03:17.440007 < "PROT C"
03:03:17.440039 > "500 PROT not implemented[CR][LF]"
03:03:17.441462 < "PWD"
03:03:17.441499 > "257 "/" is current directory[CR][LF]"
03:03:17.448726 < "EPSV"
03:03:17.448759 ====> Passive DATA channel requested by client
03:03:17.448772 DATA sockfilt for passive data channel starting...
03:03:17.450415 DATA sockfilt for passive data channel started (pid 6288)
03:03:17.450569 DATA sockfilt for passive data channel listens on port 35745
03:03:17.450616 > "229 Entering Passive Mode (|||35745|)[LF]"
03:03:17.450631 Client has been notified that DATA conn will be accepted on port 35745
03:03:17.457454 Client connects to port 35745
03:03:17.457491 ====> Client established passive DATA connection on port 35745
03:03:17.462251 < "TYPE I"
03:03:17.462286 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:17.464521 < "STOR 409"
03:03:17.464545 STOR test number 409 in log/upload.409
03:03:17.464566 > "125 Gimme gimme gimme![CR][LF]"
03:03:17.474607 > Appending 51 bytes to file
03:03:17.484603 =====> Closing passive DATA connection...
03:03:17.484624 Server knows passive DATA connection is already disconnected
03:03:17.484670 DATA sockfilt for passive data channel quits (pid 6289)
03:03:17.484694 =====> Closed passive DATA connection
03:03:17.484711 received 51 bytes upload
03:03:17.484732 > "226 File transfer complete[CR][LF]"
03:03:17.526099 < "QUIT"
03:03:17.526144 > "221 bye bye baby[CR][LF]"
03:03:17.532869 MAIN sockfilt said DISC
03:03:17.532907 ====> Client disconnected
03:03:17.532967 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:01.885029 ====> Client connect
03:03:01.885211 Received DATA (on stdin)
03:03:01.885234 > 160 bytes data, server => client
03:03:01.885254 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:01.885269 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:01.885279 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:01.965081 < 16 bytes data, client => server
03:03:01.965125 'USER anonymous\r\n'
03:03:01.965266 Received DATA (on stdin)
03:03:01.965287 > 33 bytes data, server => client
03:03:01.965304 '331 We are happy you popped in!\r\n'
03:03:01.976318 < 22 bytes data, client => server
03:03:01.976357 'PASS ftp@example.com\r\n'
03:03:01.976451 Received DATA (on stdin)
03:03:01.976472 > 30 bytes data, server => client
03:03:01.976489 '230 Welcome you silly person\r\n'
03:03:01.978623 < 8 bytes data, client => server
03:03:01.978651 'PBSZ 0\r\n'
03:03:01.978725 Received DATA (on stdin)
03:03:01.978744 > 26 bytes data, server => client
03:03:01.978760 '500 PBSZ not implemented\r\n'
03:03:01.980007 < 8 bytes data, client => server
03:03:01.980036 'PROT C\r\n'
03:03:01.980101 Received DATA (on stdin)
03:03:01.980120 > 26 bytes data, server => client
03:03:01.980137 '500 PROT not implemented\r\n'
03:03:01.981418 < 5 bytes data, client => server
03:03:01.981445 'CCC\r\n'
03:03:01.981521 Received DATA (on stdin)
03:03:01.981539 > 28 bytes data, server => client
03:03:01.981555 '500 CCC is not dealt with!\r\n'
03:03:01.982903 < 5 bytes data, client => server
03:03:01.982931 'PWD\r\n'
03:03:01.983001 Received DATA (on stdin)
03:03:01.983020 > 30 bytes data, server => client
03:03:01.983036 '257 "/" is current directory\r\n'
03:03:01.989387 < 6 bytes data, client => server
03:03:01.989417 'EPSV\r\n'
03:03:01.991284 Received DATA (on stdin)
03:03:01.991304 > 38 bytes data, server => client
03:03:01.991323 '229 Entering Passive Mode (|||43485|)\n'
03:03:02.004586 < 8 bytes data, client => server
03:03:02.004624 'TYPE A\r\n'
03:03:02.004740 Received DATA (on stdin)
03:03:02.004761 > 33 bytes data, server => client
03:03:02.004778 '200 I modify TYPE as you wanted\r\n'
03:03:02.006743 < 6 bytes data, client => server
03:03:02.006768 'LIST\r\n'
03:03:02.006851 Received DATA (on stdin)
03:03:02.006872 > 28 bytes data, server => client
03:03:02.006890 '150 here comes a directory\r\n'
03:03:02.007659 Received DATA (on stdin)
03:03:02.007681 > 29 bytes data, server => client
03:03:02.007699 '226 ASCII transfer complete\r\n'
03:03:02.067909 < 6 bytes data, client => server
03:03:02.067948 'QUIT\r\n'
03:03:02.068088 Received DATA (on stdin)
03:03:02.068112 > 18 bytes data, server => client
03:03:02.068128 '221 bye bye baby\r\n'
03:03:02.074892 ====> Client disconnect
03:03:04.352460 ====> Client connect
03:03:04.352672 Received DATA (on stdin)
03:03:04.352697 > 160 bytes data, server => client
03:03:04.352714 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:04.352729 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:04.352741 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:05.623759 < 143 bytes data, client => server
03:03:05.623800 '............%.v&c.h7\rI5F......I].....Q+0.....*.+./.,.0..... '
03:03:05.623816 '.#...'.\n.$...(...../.<.5.=.\n...3..........\r...............'
03:03:05.623826 '........[0B].....\n..........'
03:03:05.641494 < 7 bytes data, client => server
03:03:05.641525 '......F'
03:03:05.717407 ====> Client disconnect
03:03:08.530481 ====> Client connect
03:03:08.530681 Received DATA (on stdin)
03:03:08.530706 > 160 bytes data, server => client
03:03:08.530724 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:08.530744 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:08.530761 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:08.611479 < 16 bytes data, client => server
03:03:08.611518 'USER anonymous\r\n'
03:03:08.611697 Received DATA (on stdin)
03:03:08.611712 > 33 bytes data, server => client
03:03:08.611726 '331 We are happy you popped in!\r\n'
03:03:08.622718 < 22 bytes data, client => server
03:03:08.622753 'PASS ftp@example.com\r\n'
03:03:08.622867 Received DATA (on stdin)
03:03:08.622891 > 30 bytes data, server => client
03:03:08.622906 '230 Welcome you silly person\r\n'
03:03:08.625090 < 8 bytes data, client => server
03:03:08.625113 'PBSZ 0\r\n'
03:03:08.625216 Received DATA (on stdin)
03:03:08.625240 > 26 bytes data, server => client
03:03:08.625254 '500 PBSZ not implemented\r\n'
03:03:08.626538 < 8 bytes data, client => server
03:03:08.626560 'PROT C\r\n'
03:03:08.626657 Received DATA (on stdin)
03:03:08.626680 > 26 bytes data, server => client
03:03:08.626695 '500 PROT not implemented\r\n'
03:03:08.628058 < 5 bytes data, client => server
03:03:08.628081 'PWD\r\n'
03:03:08.628179 Received DATA (on stdin)
03:03:08.628202 > 30 bytes data, server => client
03:03:08.628217 '257 "/" is current directory\r\n'
03:03:08.648799 < 26 bytes data, client => server
03:03:08.648827 'EPRT |1|127.0.0.1|52903|\r\n'
03:03:08.648979 Received DATA (on stdin)
03:03:08.648994 > 50 bytes data, server => client
03:03:08.649010 '200 Thanks for dropping by. We contact you later\r\n'
03:03:08.653909 < 8 bytes data, client => server
03:03:08.653933 'TYPE A\r\n'
03:03:08.654058 Received DATA (on stdin)
03:03:08.654082 > 33 bytes data, server => client
03:03:08.654097 '200 I modify TYPE as you wanted\r\n'
03:03:08.656230 < 6 bytes data, client => server
03:03:08.656253 'LIST\r\n'
03:03:08.656351 Received DATA (on stdin)
03:03:08.656374 > 28 bytes data, server => client
03:03:08.656389 '150 here comes a directory\r\n'
03:03:08.657028 Received DATA (on stdin)
03:03:08.657057 > 29 bytes data, server => client
03:03:08.657078 '226 ASCII transfer complete\r\n'
03:03:08.718789 < 6 bytes data, client => server
03:03:08.718822 'QUIT\r\n'
03:03:08.718974 Received DATA (on stdin)
03:03:08.719000 > 18 bytes data, server => client
03:03:08.719014 '221 bye bye baby\r\n'
03:03:08.725642 ====> Client disconnect
03:03:11.531556 ====> Client connect
03:03:11.531743 Received DATA (on stdin)
03:03:11.531759 > 160 bytes data, server => client
03:03:11.531776 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:11.531791 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:11.531805 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:11.611880 < 16 bytes data, client => server
03:03:11.611920 'USER anonymous\r\n'
03:03:11.612088 Received DATA (on stdin)
03:03:11.612113 > 33 bytes data, server => client
03:03:11.612129 '331 We are happy you popped in!\r\n'
03:03:11.622878 < 22 bytes data, client => server
03:03:11.622904 'PASS ftp@example.com\r\n'
03:03:11.623029 Received DATA (on stdin)
03:03:11.623052 > 30 bytes data, server => client
03:03:11.623067 '230 Welcome you silly person\r\n'
03:03:11.625180 < 8 bytes data, client => server
03:03:11.625203 'PBSZ 0\r\n'
03:03:11.625311 Received DATA (on stdin)
03:03:11.625334 > 26 bytes data, server => client
03:03:11.625349 '500 PBSZ not implemented\r\n'
03:03:11.626578 < 8 bytes data, client => server
03:03:11.626600 'PROT C\r\n'
03:03:11.626706 Received DATA (on stdin)
03:03:11.626728 > 26 bytes data, server => client
03:03:11.626743 '500 PROT not implemented\r\n'
03:03:11.628118 < 5 bytes data, client => server
03:03:11.628141 'PWD\r\n'
03:03:11.628212 Received DATA (on stdin)
03:03:11.628226 > 30 bytes data, server => client
03:03:11.628241 '257 "/" is current directory\r\n'
03:03:11.635067 < 7 bytes data, client => server
03:03:11.635090 'CWD a\r\n'
03:03:11.635194 Received DATA (on stdin)
03:03:11.635217 > 29 bytes data, server => client
03:03:11.635233 '250 CWD command successful.\r\n'
03:03:11.636630 < 10 bytes data, client => server
03:03:11.636655 'CWD path\r\n'
03:03:11.636716 Received DATA (on stdin)
03:03:11.636736 > 29 bytes data, server => client
03:03:11.636753 '250 CWD command successful.\r\n'
03:03:11.640186 < 6 bytes data, client => server
03:03:11.640209 'EPSV\r\n'
03:03:11.642143 Received DATA (on stdin)
03:03:11.642166 > 38 bytes data, server => client
03:03:11.642187 '229 Entering Passive Mode (|||35923|)\n'
03:03:11.653127 < 8 bytes data, client => server
03:03:11.653158 'TYPE I\r\n'
03:03:11.653246 Received DATA (on stdin)
03:03:11.653267 > 33 bytes data, server => client
03:03:11.653284 '200 I modify TYPE as you wanted\r\n'
03:03:11.655313 < 10 bytes data, client => server
03:03:11.655334 'SIZE 407\r\n'
03:03:11.655540 Received DATA (on stdin)
03:03:11.655561 > 8 bytes data, server => client
03:03:11.655576 '213 11\r\n'
03:03:11.659261 < 10 bytes data, client => server
03:03:11.659284 'RETR 407\r\n'
03:03:11.659441 Received DATA (on stdin)
03:03:11.659461 > 51 bytes data, server => client
03:03:11.659481 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:11.659695 Received DATA (on stdin)
03:03:11.659715 > 28 bytes data, server => client
03:03:11.659734 '226 File transfer complete\r\n'
03:03:11.734957 < 6 bytes data, client => server
03:03:11.734994 'EPSV\r\n'
03:03:11.736980 Received DATA (on stdin)
03:03:11.737012 > 38 bytes data, server => client
03:03:11.737030 '229 Entering Passive Mode (|||43899|)\n'
03:03:11.739926 < 10 bytes data, client => server
03:03:11.739948 'SIZE 407\r\n'
03:03:11.740168 Received DATA (on stdin)
03:03:11.740190 > 8 bytes data, server => client
03:03:11.740207 '213 11\r\n'
03:03:11.741015 < 10 bytes data, client => server
03:03:11.741035 'RETR 407\r\n'
03:03:11.741191 Received DATA (on stdin)
03:03:11.741210 > 51 bytes data, server => client
03:03:11.741230 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:11.741437 Received DATA (on stdin)
03:03:11.741456 > 28 bytes data, server => client
03:03:11.741472 '226 File transfer complete\r\n'
03:03:11.790699 < 6 bytes data, client => server
03:03:11.790735 'QUIT\r\n'
03:03:11.790852 Received DATA (on stdin)
03:03:11.790873 > 18 bytes data, server => client
03:03:11.790890 '221 bye bye baby\r\n'
03:03:11.797270 ====> Client disconnect
03:03:14.590776 ====> Client connect
03:03:14.590985 Received DATA (on stdin)
03:03:14.591011 > 160 bytes data, server => client
03:03:14.591029 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:14.591044 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:14.591056 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:14.671308 < 16 bytes data, client => server
03:03:14.671346 'USER anonymous\r\n'
03:03:14.671516 Received DATA (on stdin)
03:03:14.671528 > 33 bytes data, server => client
03:03:14.671538 '331 We are happy you popped in!\r\n'
03:03:14.682573 < 22 bytes data, client => server
03:03:14.682600 'PASS ftp@example.com\r\n'
03:03:14.682714 Received DATA (on stdin)
03:03:14.682738 > 30 bytes data, server => client
03:03:14.682753 '230 Welcome you silly person\r\n'
03:03:14.684960 < 8 bytes data, client => server
03:03:14.684983 'PBSZ 0\r\n'
03:03:14.685084 Received DATA (on stdin)
03:03:14.685108 > 26 bytes data, server => client
03:03:14.685123 '500 PBSZ not implemented\r\n'
03:03:14.686419 < 8 bytes data, client => server
03:03:14.686441 'PROT C\r\n'
03:03:14.686539 Received DATA (on stdin)
03:03:14.686562 > 26 bytes data, server => client
03:03:14.686577 '500 PROT not implemented\r\n'
03:03:14.687924 < 5 bytes data, client => server
03:03:14.687946 'PWD\r\n'
03:03:14.688040 Received DATA (on stdin)
03:03:14.688056 > 30 bytes data, server => client
03:03:14.688070 '257 "/" is current directory\r\n'
03:03:14.694992 < 9 bytes data, client => server
03:03:14.695015 'CWD CWD\r\n'
03:03:14.695108 Received DATA (on stdin)
03:03:14.695132 > 29 bytes data, server => client
03:03:14.695147 '250 CWD command successful.\r\n'
03:03:14.696642 < 10 bytes data, client => server
03:03:14.696665 'CWD STOR\r\n'
03:03:14.696756 Received DATA (on stdin)
03:03:14.696780 > 29 bytes data, server => client
03:03:14.696795 '250 CWD command successful.\r\n'
03:03:14.699182 < 10 bytes data, client => server
03:03:14.699204 'CWD RETR\r\n'
03:03:14.699294 Received DATA (on stdin)
03:03:14.699317 > 29 bytes data, server => client
03:03:14.699332 '250 CWD command successful.\r\n'
03:03:14.705282 < 26 bytes data, client => server
03:03:14.705309 'EPRT |1|127.0.0.1|35323|\r\n'
03:03:14.705453 Received DATA (on stdin)
03:03:14.705485 > 50 bytes data, server => client
03:03:14.705501 '200 Thanks for dropping by. We contact you later\r\n'
03:03:14.710014 < 8 bytes data, client => server
03:03:14.710037 'TYPE I\r\n'
03:03:14.710158 Received DATA (on stdin)
03:03:14.710182 > 33 bytes data, server => client
03:03:14.710197 '200 I modify TYPE as you wanted\r\n'
03:03:14.712340 < 10 bytes data, client => server
03:03:14.712363 'STOR 408\r\n'
03:03:14.712485 Received DATA (on stdin)
03:03:14.712516 > 24 bytes data, server => client
03:03:14.712530 '125 Gimme gimme gimme!\r\n'
03:03:14.736030 Received DATA (on stdin)
03:03:14.736047 > 28 bytes data, server => client
03:03:14.736058 '226 File transfer complete\r\n'
03:03:14.776151 < 6 bytes data, client => server
03:03:14.776188 'QUIT\r\n'
03:03:14.776333 Received DATA (on stdin)
03:03:14.776358 > 18 bytes data, server => client
03:03:14.776373 '221 bye bye baby\r\n'
03:03:14.783016 ====> Client disconnect
03:03:17.555933 ====> Client connect
03:03:17.556146 Received DATA (on stdin)
03:03:17.556172 > 160 bytes data, server => client
03:03:17.556190 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:17.556205 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:17.556217 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:17.636243 < 16 bytes data, client => server
03:03:17.636283 'USER anonymous\r\n'
03:03:17.636478 Received DATA (on stdin)
03:03:17.636508 > 33 bytes data, server => client
03:03:17.636528 '331 We are happy you popped in!\r\n'
03:03:17.647553 < 22 bytes data, client => server
03:03:17.647579 'PASS ftp@example.com\r\n'
03:03:17.647703 Received DATA (on stdin)
03:03:17.647717 > 30 bytes data, server => client
03:03:17.647731 '230 Welcome you silly person\r\n'
03:03:17.649857 < 8 bytes data, client => server
03:03:17.649880 'PBSZ 0\r\n'
03:03:17.649994 Received DATA (on stdin)
03:03:17.650017 > 26 bytes data, server => client
03:03:17.650032 '500 PBSZ not implemented\r\n'
03:03:17.651255 < 8 bytes data, client => server
03:03:17.651277 'PROT C\r\n'
03:03:17.651383 Received DATA (on stdin)
03:03:17.651405 > 26 bytes data, server => client
03:03:17.651420 '500 PROT not implemented\r\n'
03:03:17.652711 < 5 bytes data, client => server
03:03:17.652733 'PWD\r\n'
03:03:17.652843 Received DATA (on stdin)
03:03:17.652866 > 30 bytes data, server => client
03:03:17.652881 '257 "/" is current directory\r\n'
03:03:17.659965 < 6 bytes data, client => server
03:03:17.659986 'EPSV\r\n'
03:03:17.661958 Received DATA (on stdin)
03:03:17.661983 > 38 bytes data, server => client
03:03:17.661999 '229 Entering Passive Mode (|||35745|)\n'
03:03:17.673505 < 8 bytes data, client => server
03:03:17.673527 'TYPE I\r\n'
03:03:17.673629 Received DATA (on stdin)
03:03:17.673652 > 33 bytes data, server => client
03:03:17.673668 '200 I modify TYPE as you wanted\r\n'
03:03:17.675792 < 10 bytes data, client => server
03:03:17.675815 'STOR 409\r\n'
03:03:17.675889 Received DATA (on stdin)
03:03:17.675901 > 24 bytes data, server => client
03:03:17.675910 '125 Gimme gimme gimme!\r\n'
03:03:17.696058 Received DATA (on stdin)
03:03:17.696080 > 28 bytes data, server => client
03:03:17.696096 '226 File transfer complete\r\n'
03:03:17.737307 < 6 bytes data, client => server
03:03:17.737337 'QUIT\r\n'
03:03:17.737466 Received DATA (on stdin)
03:03:17.737478 > 18 bytes data, server => client
03:03:17.737488 '221 bye bye baby\r\n'
03:03:17.744156 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:01.990987 Running IPv4 version
03:03:01.991066 Listening on port 43485
03:03:01.991093 Wrote pid 6253 to ./.ftp_sockdata.pid
03:03:01.991108 Received PING (on stdin)
03:03:01.991168 Received PORT (on stdin)
03:03:01.998652 ====> Client connect
03:03:02.006931 Received DATA (on stdin)
03:03:02.006959 > 10 bytes data, server => client
03:03:02.006974 'total 20\r\n'
03:03:02.007004 Received DATA (on stdin)
03:03:02.007019 > 57 bytes data, server => client
03:03:02.007036 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:02.007059 Received DATA (on stdin)
03:03:02.007072 > 58 bytes data, server => client
03:03:02.007089 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:02.007108 Received DATA (on stdin)
03:03:02.007121 > 61 bytes data, server => client
03:03:02.007139 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:02.007150 '\n'
03:03:02.007168 Received DATA (on stdin)
03:03:02.007180 > 62 bytes data, server => client
03:03:02.007197 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:02.007208 '\n'
03:03:02.007226 Received DATA (on stdin)
03:03:02.007238 > 70 bytes data, server => client
03:03:02.007255 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:02.007268 'usr/bin\r\n'
03:03:02.007287 Received DATA (on stdin)
03:03:02.007299 > 59 bytes data, server => client
03:03:02.007316 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:02.007335 Received DATA (on stdin)
03:03:02.007347 > 69 bytes data, server => client
03:03:02.007364 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:02.007375 'd.html\r\n'
03:03:02.007394 Received DATA (on stdin)
03:03:02.007406 > 59 bytes data, server => client
03:03:02.007422 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:02.007441 Received DATA (on stdin)
03:03:02.007453 > 59 bytes data, server => client
03:03:02.007470 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:02.007489 Received DATA (on stdin)
03:03:02.007501 > 59 bytes data, server => client
03:03:02.007519 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:02.007538 Received DISC (on stdin)
03:03:02.007552 ====> Client forcibly disconnected
03:03:02.007577 Received QUIT (on stdin)
03:03:02.007589 quits
03:03:02.007608 ============> sockfilt quits
03:03:08.650601 ====> Client connect
03:03:08.650664 Running IPv4 version
03:03:08.650673 Connected to port 52903
03:03:08.650715 Wrote pid 6267 to ./.ftp_sockdata.pid
03:03:08.650731 Received PING (on stdin)
03:03:08.656424 Received DATA (on stdin)
03:03:08.656454 > 10 bytes data, server => client
03:03:08.656469 'total 20\r\n'
03:03:08.656494 Received DATA (on stdin)
03:03:08.656504 > 57 bytes data, server => client
03:03:08.656516 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:08.656533 Received DATA (on stdin)
03:03:08.656547 > 58 bytes data, server => client
03:03:08.656561 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:08.656577 Received DATA (on stdin)
03:03:08.656586 > 61 bytes data, server => client
03:03:08.656598 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:08.656605 '\n'
03:03:08.656619 Received DATA (on stdin)
03:03:08.656628 > 62 bytes data, server => client
03:03:08.656640 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:08.656647 '\n'
03:03:08.656661 Received DATA (on stdin)
03:03:08.656670 > 70 bytes data, server => client
03:03:08.656682 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:08.656690 'usr/bin\r\n'
03:03:08.656703 Received DATA (on stdin)
03:03:08.656712 > 59 bytes data, server => client
03:03:08.656724 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:08.656738 Received DATA (on stdin)
03:03:08.656747 > 69 bytes data, server => client
03:03:08.656759 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:08.656767 'd.html\r\n'
03:03:08.656780 Received DATA (on stdin)
03:03:08.656789 > 59 bytes data, server => client
03:03:08.656807 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:08.656822 Received DATA (on stdin)
03:03:08.656831 > 59 bytes data, server => client
03:03:08.656842 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:08.656856 Received DATA (on stdin)
03:03:08.656866 > 59 bytes data, server => client
03:03:08.656877 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:08.656891 Received DISC (on stdin)
03:03:08.656902 ====> Client forcibly disconnected
03:03:08.656918 disconnected, no socket to read on
03:03:08.656929 Received QUIT (on stdin)
03:03:08.656936 quits
03:03:08.656947 ============> sockfilt quits
03:03:11.641790 Running IPv4 version
03:03:11.641847 Listening on port 35923
03:03:11.641884 Wrote pid 6273 to ./.ftp_sockdata.pid
03:03:11.641900 Received PING (on stdin)
03:03:11.642018 Received PORT (on stdin)
03:03:11.648515 ====> Client connect
03:03:11.659491 Received DATA (on stdin)
03:03:11.659518 > 11 bytes data, server => client
03:03:11.659538 'data blobb\n'
03:03:11.659565 Received DISC (on stdin)
03:03:11.659577 ====> Client forcibly disconnected
03:03:11.659623 Received QUIT (on stdin)
03:03:11.659636 quits
03:03:11.659654 ============> sockfilt quits
03:03:11.736643 Running IPv4 version
03:03:11.736707 Listening on port 43899
03:03:11.736747 Wrote pid 6275 to ./.ftp_sockdata.pid
03:03:11.736764 Received PING (on stdin)
03:03:11.736830 Received PORT (on stdin)
03:03:11.738545 ====> Client connect
03:03:11.741242 Received DATA (on stdin)
03:03:11.741265 > 11 bytes data, server => client
03:03:11.741279 'data blobb\n'
03:03:11.741307 Received DISC (on stdin)
03:03:11.741320 ====> Client forcibly disconnected
03:03:11.741374 Received QUIT (on stdin)
03:03:11.741396 quits
03:03:11.741416 ============> sockfilt quits
03:03:14.707050 ====> Client connect
03:03:14.707113 Running IPv4 version
03:03:14.707122 Connected to port 35323
03:03:14.707162 Wrote pid 6281 to ./.ftp_sockdata.pid
03:03:14.707177 Received PING (on stdin)
03:03:14.726408 < 27 bytes data, client => server
03:03:14.726433 'Moooooooooooo\n upload this\n'
03:03:14.735756 ====> Client disconnect
03:03:14.735805 disconnected, no socket to read on
03:03:14.735910 Received QUIT (on stdin)
03:03:14.735920 quits
03:03:14.735931 ============> sockfilt quits
03:03:17.661580 Running IPv4 version
03:03:17.661639 Listening on port 35745
03:03:17.661676 Wrote pid 6289 to ./.ftp_sockdata.pid
03:03:17.661691 Received PING (on stdin)
03:03:17.661800 Received PORT (on stdin)
03:03:17.668724 ====> Client connect
03:03:17.685877 < 51 bytes data, client => server
03:03:17.685904 'data\n to\n see\nthat FTP\nworks\n so does it?\n'
03:03:17.695810 ====> Client disconnect
03:03:17.695967 Received QUIT (on stdin)
03:03:17.695980 quits
03:03:17.695995 ============> 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:01 --:--:-- 0
100 51 0 0 100 51 0 27 0:00:01 0:00:01 --:--:-- 28
=== 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:03:15.825444 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:15.851051 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:15.888381 == Info: Added connection 0. The cache now contains 1 members
03:03:15.905463 == Info: Trying 127.0.0.1...
03:03:15.906062 == Info: TCP_NODELAY set
03:03:15.909138 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:15.911474 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:03:15.922492 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:15.923040 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:03:15.924149 == Info: Marked for [keep alive]: FTP default
03:03:17.072021 == Info: successfully set certificate verify locations:
03:03:17.072285 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:17.150324 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:17.155301 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:17.155362 => Send SSL data, 138 bytes (0x8a)
0000: ......yyIB...#F..O)h.....K..H..j.4..R...*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:17.172801 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:17.177303 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:17.177363 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..a..|._[.i3......C.N... ...D.".&. LFg.S...[........h@.....j
0040: i...=C../................
03:03:17.221413 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:17.221869 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:17.221927 <= 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:03:17.320786 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:17.321054 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:17.321112 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.].nv..v.....?y..l`..$...s.:..a.....VG.OLb.....J.bd...kC
0040: ...O.{0......[....m.......&.'wSv)20..Q...n._w....xm....*~..Q....
0080: .Z..d..U{)O.]z..l./...a-9..P......3Eh..`ho.P......P...H!D..F;#..
00c0: .~.......e..m|.....:4F....?..X..c.;.!_.-..H.<...S.r.##.&o2..P.NB
0100: .[7F]z.......KK...]..h~.b.;.,........[7F].....YUD.../.k..d....Y...!..T
0140: ,@.%F.,h.eK..
03:03:17.390775 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:17.391110 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:17.391168 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:17.509772 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:17.510019 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:17.510077 => Send SSL data, 70 bytes (0x46)
0000: ...BA.....A(0}dU.p...A.X.(Y...Y;.../$.....s...A2...B.J..01i..[.=
0040: ......
03:03:17.522577 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:17.523138 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:17.523194 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:17.554796 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:17.555000 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:17.555056 => Send SSL data, 16 bytes (0x10)
0000: .......\L...[7F]...
03:03:17.557626 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:17.558675 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:17.558732 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:17.561151 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:17.566492 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:17.566548 <= Recv SSL data, 16 bytes (0x10)
0000: .........l.[7F].7..
03:03:17.588149 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:17.590322 == Info: Server certificate:
03:03:17.597723 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:17.604109 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:17.605056 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:17.605890 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:17.606789 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:17.608237 == Info: FTP 0x62ef748 (line 3118) state change from STOP to WAIT220
03:03:17.614369 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:17.623472 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:17.627024 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:17.627223 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:17.627405 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:17.627582 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:17.634902 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:17.637634 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:17.638410 == Info: FTP 0x62ef748 (line 803) state change from WAIT220 to USER
03:03:17.639116 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626d7a8; line 1627 (connection #0)
03:03:17.645372 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:17.646037 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:17.647380 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:17.647505 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:17.647873 == Info: FTP 0x62ef748 (line 2546) state change from USER to PASS
03:03:17.648883 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:17.649029 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:17.649694 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:17.649811 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:17.650129 == Info: FTP 0x62ef748 (line 2522) state change from PASS to PBSZ
03:03:17.650417 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:17.650553 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:17.651095 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:17.651210 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:17.651528 == Info: FTP 0x62ef748 (line 2735) state change from PBSZ to PROT
03:03:17.651770 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:17.651906 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:17.652552 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:17.652669 => Send header, 5 bytes (0x5)
0000: PWD
03:03:17.652978 == Info: FTP 0x62ef748 (line 815) state change from PROT to PWD
03:03:17.653294 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:17.653430 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:17.654554 == Info: Entry path is '/'
03:03:17.654774 == Info: FTP 0x62ef748 (line 2870) state change from PWD to STOP
03:03:17.654938 == Info: protocol connect phase DONE
03:03:17.655275 == Info: STATE: PROTOCONNECT => DO handle 0x626d7a8; line 1648 (connection #0)
03:03:17.657849 == Info: DO phase starts
03:03:17.659815 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:17.659946 => Send header, 6 bytes (0x6)
0000: EPSV
03:03:17.660290 == Info: FTP 0x62ef748 (line 1346) state change from STOP to PASV
03:03:17.660463 == Info: Connect data stream passively
03:03:17.661226 == Info: ftp_perform ends with SECONDARY: 0
03:03:17.661949 == Info: STATE: DO => DOING handle 0x626d7a8; line 1697 (connection #0)
03:03:17.662765 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:03:17.662913 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||35745|).
03:03:17.668538 == Info: Trying 127.0.0.1...
03:03:17.668599 == Info: TCP_NODELAY set
03:03:17.668721 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:17.669348 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 35745
03:03:17.670422 == Info: FTP 0x62ef748 (line 2003) state change from PASV to STOP
03:03:17.671085 == Info: DO phase is complete2
03:03:17.671501 == Info: STATE: DOING => DO_MORE handle 0x626d7a8; line 1781 (connection #0)
03:03:17.672189 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:17.672401 == Info: DO-MORE connected phase starts
03:03:17.673335 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:17.673459 => Send header, 8 bytes (0x8)
0000: TYPE I
03:03:17.673794 == Info: FTP 0x62ef748 (line 3444) state change from STOP to STOR_TYPE
03:03:17.674170 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:17.674313 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:17.675625 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:17.675743 => Send header, 10 bytes (0xa)
0000: STOR 409
03:03:17.676079 == Info: FTP 0x62ef748 (line 1677) state change from STOR_TYPE to STOR
03:03:17.677843 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:03:17.677985 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:03:17.679769 == Info: FTP 0x62ef748 (line 485) state change from STOR to STOP
03:03:17.680533 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:03:17.681561 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:03:17.682319 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:03:17.686374 => Send data, 51 bytes (0x33)
0000: data. to. see.that FTP.works. so does it?.
03:03:17.686974 == Info: We are completely uploaded and fine
03:03:17.690509 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:03:17.690997 == Info: multi_done
03:03:17.694257 == Info: Remembering we are in dir ""
03:03:17.716468 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:17.716629 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:03:17.721834 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:17.723730 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace409
=== Start of file upload.408
Moooooooooooo
upload this
=== End of file upload.408
=== Start of file upload.409
data
to
see
that FTP
works
so does it?
=== End of file upload.409
=== Start of file valgrind409
==6284== Invalid read of size 8
==6284== at 0x5E745A5: check_free (dlerror.c:188)
==6284== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6284== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6284== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6284== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6284== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6284== by 0x559AF79: exit (exit.c:139)
==6284== by 0x55850A1: (below main) (libc-start.c:342)
==6284== Address 0x66b05a0 is 0 bytes after a block of size 32 alloc'd
==6284== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6284== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6284== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6284== by 0x4DD0E85: err_get_state (err.c:210)
==6284== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6284== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6284== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6284== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6284== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6284== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6284== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6284== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6284== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6284== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6284== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6284== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6284==
==6284== Invalid free() / delete / delete[] / realloc()
==6284== at 0x48369AB: free (vg_replace_malloc.c:530)
==6284== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6284== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6284== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6284== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6284== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6284== by 0x559AF79: exit (exit.c:139)
==6284== by 0x55850A1: (below main) (libc-start.c:342)
==6284== Address 0x66b0588 is 8 bytes inside a block of size 32 alloc'd
==6284== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6284== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6284== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6284== by 0x4DD0E85: err_get_state (err.c:210)
==6284== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6284== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6284== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6284== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6284== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6284== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6284== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6284== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6284== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6284== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6284== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6284== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6284==
==6284== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6284== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6284== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6284== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6284== by 0x4DD0E85: err_get_state (err.c:210)
==6284== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6284== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6284== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6284== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6284== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6284== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6284== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6284== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6284== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==6284== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==6284== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==6284== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==6284==
=== End of file valgrind409
test 0500...[simple libcurl HTTP GET tool]
-pd--oemv- OK (350 out of 1217, remaining: 24:34)
test 0501...[simple libcurl attempt operation without URL set]
------emv- OK (351 out of 1217, remaining: 24:30)
test 0502...[simple multi file:// get]
--d---emv- OK (352 out of 1217, remaining: 24:27)
test 0503...[simple multi http:// through proxytunnel with authentication info]
-pd-P-emv- OK (353 out of 1217, remaining: 24:25)
test 0504...[simple multi through local proxy without listener]
------emv- OK (354 out of 1217, remaining: 24:21)
test 0505...[FTP upload with rename after transfer]
-p-u--emv- OK (355 out of 1217, remaining: 24:18)
test 0506...[HTTP with shared cookie list (and dns cache)]
s----oemv- OK (356 out of 1217, remaining: 24:15)
test 0507...[multi interface get with non-existing host name]
------emv- OK (357 out of 1217, remaining: 24:12)
test 0508...[send HTTP POST using read callback]
-pd---emv- OK (358 out of 1217, remaining: 24:09)
test 0509...[initialization with memory callbacks and actual usage]
s-----emv- OK (359 out of 1217, remaining: 24:05)
test 0510...[send HTTP POST using read callback, using chunked transfer-encoding]
-pd---emv- OK (360 out of 1217, remaining: 24:05)
test 0511...[FTP with FILETIME and NOBODY but missing file]
-p----emv- OK (361 out of 1217, remaining: 24:02)
test 0512...[simple curl_easy_duplicate() test]
-pd---emv- OK (362 out of 1217, remaining: 23:58)
test 0513...[send HTTP POST using read callback that returns CURL_READFUNC_ABORT]
-p----emv- OK (363 out of 1217, remaining: 23:58)
test 0514...[First set options to POST and then to make HEAD]
-pd---emv- OK (364 out of 1217, remaining: 23:57)
test 0515...[make a POSTFIELDS set to NULL with POSTFIELDSIZE set to zero]
-pd---emv- OK (365 out of 1217, remaining: 23:54)
test 0516...[make a HTTPPOST set to NULL]
-pd---emv- OK (366 out of 1217, remaining: 23:50)
test 0517...[curl_getdate() testing]
------emv- OK (367 out of 1217, remaining: 23:47)
test 0518...[HTTP GET with more than FD_SETSIZE descriptors open]
valgrind SKIPPED
-pd---em-- OK (368 out of 1217, remaining: 23:41)
test 0519...[GET same URL twice with different users]
-pd---emv- OK (369 out of 1217, remaining: 23:38)
test 0520...[FTP RETR with FILETIME]
-pd---emv- OK (370 out of 1217, remaining: 23:35)
test 0521...[FTP dir list PASV with CURLOPT_PORT]
-pd---emv- OK (371 out of 1217, remaining: 23:32)
test 0522...[HTTP GET with CURLOPT_PORT]
sp----emv- OK (372 out of 1217, remaining: 23:29)
test 0523...[HTTP GET with proxy and CURLOPT_PORT]
sp----emv- OK (373 out of 1217, remaining: 23:26)
test 0524...[FTP upload with target URL ending with slash]
-p----emv- OK (374 out of 1217, remaining: 23:23)
test 0525...[FTP PORT upload using multi interface]
-p-u--emv- OK (375 out of 1217, remaining: 23:20)
test 0526...[FTP RETR same file using different handles but same connection]
-pd---emv- OK (376 out of 1217, remaining: 23:25)
test 0527...[FTP RETR same file using different handles but same connection]
-pd---emv- OK (377 out of 1217, remaining: 23:29)
test 0528...[HTTP GET same file using different handles but same connection]
-pd---emv- OK (378 out of 1217, remaining: 23:32)
test 0529...[FTP PORT upload using multi interface (weird cleanup function sequence)]
-p-u--emv- OK (379 out of 1217, remaining: 23:29)
test 0531...[FTP PORT upload using multi interface and get 425 response]
Killed
-p----emv- OK (380 out of 1217, remaining: 23:26)
test 0532...[FTP RETR same file using reset handles between each transfer]
-pd---emv- OK (381 out of 1217, remaining: 23:30)
test 0533...[FTP RETR a non-existing file twice using the multi interface]
Killed
Killed
-p----emv- OK (382 out of 1217, remaining: 23:29)
test 0534...[FTP RETR twice using multi: non-existing host and non-existing file]
Killed
-p----emv- OK (383 out of 1217, remaining: 23:29)
test 0535...[HTTP GET multi two files with FAILONERROR]
-pd---emv- OK (384 out of 1217, remaining: 23:28)
test 0537...[HTTP GET with a HUGE number of file descriptors open]
-pd---emv- OK (385 out of 1217, remaining: 23:26)
test 0538...[FTP multi-interface download, failed login: PASS not valid]
-p----emv- OK (386 out of 1217, remaining: 23:23)
test 0539...[Two FTP fetches using different CURLOPT_FTP_FILEMETHOD]
-pd---emv- OK (387 out of 1217, remaining: 23:20)
test 0540...[HTTP proxy auth Digest multi API re-using connection]
-pd---emv- OK (388 out of 1217, remaining: 23:17)
test 0541...[FTP upload and upload same file again without rewind]
-p----emv- OK (389 out of 1217, remaining: 23:14)
test 0542...[FTP a file with NOBODY yes and HEADER no]
-pd---emv- OK (390 out of 1217, remaining: 23:11)
test 0543...[curl_easy_escape]
s-----emv- OK (391 out of 1217, remaining: 23:08)
test 0544...[HTTP POST text data using CURLOPT_COPYPOSTFIELDS]
-pd---emv- OK (392 out of 1217, remaining: 23:05)
test 0545...[HTTP POST binary with embedded zero and no trailing zero]
-pd---emv- OK (393 out of 1217, remaining: 23:02)
test 0546...[FTP RETR a non-existing file then a found one using the multi interface]
Killed
sp----emv- OK (394 out of 1217, remaining: 23:01)
test 0547...[HTTP proxy auth NTLM with POST data from read callback]
-pd---emv- OK (395 out of 1217, remaining: 22:58)
test 0548...[HTTP proxy auth NTLM with POST data from CURLOPT_POSTFIELDS]
-pd---emv- OK (396 out of 1217, remaining: 22:56)
test 0549...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE]
sp----emv- OK (397 out of 1217, remaining: 22:53)
test 0550...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE and ASCII transfer]
sp----emv- OK (398 out of 1217, remaining: 22:50)
test 0551...[HTTP proxy auth Digest with POST data from read callback]
-pd---emv- OK (399 out of 1217, remaining: 22:47)
test 0552...[HTTP proxy auth Digest with 70K POST data from read callback]
-pd---emv- OK (400 out of 1217, remaining: 22:51)
test 0553...[HTTP post with huge request headers and post data from callback]
-pd---emv- OK (401 out of 1217, remaining: 22:48)
test 0554...[HTTP multi-part formpost using read callback for the file part]
-pd---emv- OK (402 out of 1217, remaining: 22:46)
test 0555...[HTTP proxy auth NTLM with POST data from read callback multi-if]
-pd---emv- OK (403 out of 1217, remaining: 22:43)
test 0556...[send and recv HTTP]
-pd---emv- OK (404 out of 1217, remaining: 22:40)
test 0557...[curl_mprintf() testing]
s-----emv- OK (405 out of 1217, remaining: 22:37)
test 0558...[libtest memory tracking operational]
-----oemv- OK (406 out of 1217, remaining: 22:34)
test 0559...[use tiny CURLOPT_BUFFERSIZE]
--d---emv- OK (407 out of 1217, remaining: 22:31)
test 0560...[simple HTTPS GET with multi interface]
goto problem 31
valgrind ERROR ==6583== Invalid read of size 8
==6583== at 0x5E745A5: check_free (dlerror.c:188)
==6583== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6583== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6583== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6583== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6583== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6583== by 0x559AF79: exit (exit.c:139)
==6583== by 0x55850A1: (below main) (libc-start.c:342)
==6583== Address 0x6675240 is 0 bytes after a block of size 32 alloc'd
==6583== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6583== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6583== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6583== by 0x4DD0E85: err_get_state (err.c:210)
==6583== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6583== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6583== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6583== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6583== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6583== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6583== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6583== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6583== by 0x18B808: ossl_connect_step1 (openssl.c:2597)
==6583== by 0x18E0F7: ossl_connect_common (openssl.c:3538)
==6583== by 0x18E372: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6583== by 0x13F384: Curl_ssl_connect_nonblocking (vtls.c:275)
==6583==
==6583== Invalid free() / delete / delete[] / realloc()
==6583== at 0x48369AB: free (vg_replace_malloc.c:530)
==6583== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6583== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6583== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6583== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6583== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6583== by 0x559AF79: exit (exit.c:139)
==6583== by 0x55850A1: (below main) (libc-start.c:342)
==6583== Address 0x6675228 is 8 bytes inside a block of size 32 alloc'd
==6583== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6583== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6583== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6583== by 0x4DD0E85: err_get_state (err.c:210)
==6583== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6583== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6583== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6583== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6583== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6583== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6583== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6583== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6583== by 0x18B808: ossl_connect_step1 (openssl.c:2597)
==6583== by 0x18E0F7: ossl_connect_common (openssl.c:3538)
==6583== by 0x18E372: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6583== by 0x13F384: Curl_ssl_connect_nonblocking (vtls.c:275)
==6583==
==6583== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6583== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6583== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6583== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6583== by 0x4DD0E85: err_get_state (err.c:210)
==6583== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6583== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6583== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6583== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6583== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6583== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6583== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6583== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6583== by 0x18B808: ossl_connect_step1 (openssl.c:2597)
==6583== by 0x18E0F7: ossl_connect_common (openssl.c:3538)
==6583== by 0x18E372: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6583== by 0x13F384: Curl_ssl_connect_nonblocking (vtls.c:275)
==6583==
== Contents of files in the log/ dir after test 560
=== Start of file http_server.log
03:04:45.327640 ====> Client connect
03:04:45.327690 accept_connection 3 returned 4
03:04:45.327711 accept_connection 3 returned 0
03:04:45.399221 Read 56 bytes
03:04:45.399271 Process 56 bytes request
03:04:45.399290 Got request: GET /560 HTTP/1.1
03:04:45.399304 Requested test number 560 part 0
03:04:45.399338 - request found to be complete
03:04:45.399374 Wrote request (56 bytes) input to log/server.input
03:04:45.399402 Send response test560 section <data>
03:04:45.399498 Response sent (108 bytes) and written to log/server.response
03:04:45.399514 => persistent connection request ended, awaits new request
03:04:45.456243 Connection closed by client
03:04:45.456296 ====> 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
==6583== Invalid read of size 8
==6583== at 0x5E745A5: check_free (dlerror.c:188)
==6583== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==6583== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==6583== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6583== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6583== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6583== by 0x559AF79: exit (exit.c:139)
==6583== by 0x55850A1: (below main) (libc-start.c:342)
==6583== Address 0x6675240 is 0 bytes after a block of size 32 alloc'd
==6583== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6583== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6583== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6583== by 0x4DD0E85: err_get_state (err.c:210)
==6583== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6583== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6583== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6583== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6583== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6583== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6583== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6583== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6583== by 0x18B808: ossl_connect_step1 (openssl.c:2597)
==6583== by 0x18E0F7: ossl_connect_common (openssl.c:3538)
==6583== by 0x18E372: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6583== by 0x13F384: Curl_ssl_connect_nonblocking (vtls.c:275)
==6583==
==6583== Invalid free() / delete / delete[] / realloc()
==6583== at 0x48369AB: free (vg_replace_malloc.c:530)
==6583== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==6583== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==6583== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==6583== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==6583== by 0x559AF49: __run_exit_handlers (exit.c:132)
==6583== by 0x559AF79: exit (exit.c:139)
==6583== by 0x55850A1: (below main) (libc-start.c:342)
==6583== Address 0x6675228 is 8 bytes inside a block of size 32 alloc'd
==6583== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6583== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6583== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6583== by 0x4DD0E85: err_get_state (err.c:210)
==6583== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6583== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6583== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6583== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6583== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6583== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6583== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6583== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6583== by 0x18B808: ossl_connect_step1 (openssl.c:2597)
==6583== by 0x18E0F7: ossl_connect_common (openssl.c:3538)
==6583== by 0x18E372: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6583== by 0x13F384: Curl_ssl_connect_nonblocking (vtls.c:275)
==6583==
==6583== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==6583== at 0x483577F: malloc (vg_replace_malloc.c:299)
==6583== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==6583== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==6583== by 0x4DD0E85: err_get_state (err.c:210)
==6583== by 0x4DD1A5D: ERR_put_error (err.c:636)
==6583== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==6583== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==6583== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==6583== by 0x4E91358: by_file_ctrl (by_file.c:111)
==6583== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==6583== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==6583== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==6583== by 0x18B808: ossl_connect_step1 (openssl.c:2597)
==6583== by 0x18E0F7: ossl_connect_common (openssl.c:3538)
==6583== by 0x18E372: Curl_ossl_connect_nonblocking (openssl.c:3624)
==6583== by 0x13F384: Curl_ssl_connect_nonblocking (vtls.c:275)
==6583==
=== End of file valgrind560
test 0561...[FTP RETR with CURLOPT_PROXY_TRANSFER_MODE, ASCII transfer and type=i]
sp----emv- OK (409 out of 1217, remaining: 22:29)
test 0562...[FTP a type=A URL and CURLOPT_PORT set]
-pd---emv- OK (410 out of 1217, remaining: 22:26)
test 0563...[FTP type=A URL and CURLOPT_PORT set and proxy]
-p----emv- OK (411 out of 1217, remaining: 22:23)
test 0564...[FTP RETR a file over a SOCKS proxy using the multi interface]
spd---emv- OK (412 out of 1217, remaining: 23:21)
test 0565...[send HTTP POST using read callback, chunked transfer-encoding and Digest]
-pd---emv- OK (413 out of 1217, remaining: 23:20)
test 0566...[HTTP GET with CURLINFO_CONTENT_LENGTH_DOWNLOAD and 0 bytes transfer]
-pd--oemv- OK (414 out of 1217, remaining: 23:17)
test 0567...[simple RTSP OPTIONS command]
-pd---emv- OK (415 out of 1217, remaining: 23:18)
test 0568...[RTSP Announce (PUT and POST style) test]
-p----emv- OK (416 out of 1217, remaining: 23:15)
test 0569...[RTSP Session ID parsing]
-p---oemv- OK (417 out of 1217, remaining: 23:12)
test 0570...[RTSP CSeq and Session Mismatch checks]
-p----emv- OK (418 out of 1217, remaining: 23:09)
test 0571...[RTSP RTP Interleaving Test]
s----oemv- OK (419 out of 1217, remaining: 23:06)
test 0572...[RTSP GET_PARAMETER (Put/Heartbeat/Post)]
-p----emv- OK (420 out of 1217, remaining: 23:03)
test 0573...[verify connect time with multi interface]
-pd---emv- OK (421 out of 1217, remaining: 23:00)
test 0574...[FTP wildcard download - changed fnmatch, 2x perform (Unix LIST response)]
sp----emv- OK (422 out of 1217, remaining: 22:59)
test 0575...[FTP wildcard download - dup_handle and multi interface]
sp----emv- OK (423 out of 1217, remaining: 22:58)
test 0576...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (Unix)]
s-----emv- OK (424 out of 1217, remaining: 22:55)
test 0577...[Funny RTSP version in response]
-p----emv- OK (425 out of 1217, remaining: 22:52)
test 0578...[HTTP POST lower than MAX_INITIAL_POST_SIZE with progress callback]
--d--oemv- OK (426 out of 1217, remaining: 22:49)
test 0579...[small chunked HTTP POSTs with digest auth. and progress callback]
--d--oemv- OK (427 out of 1217, remaining: 22:48)
test 0580...[multi interface, multiple Location: headers]
-pd---emv- OK (428 out of 1217, remaining: 22:45)
test 0581...[multi interface, multiple Content-Type: headers]
-pd---emv- OK (429 out of 1217, remaining: 22:42)
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 (432 out of 1217, remaining: 22:30)
test 0586...[FTP and open/close socket callbacks]
-pd---emv- OK (433 out of 1217, remaining: 22:27)
test 0587...[HTTP multi-part formpost with aborted read callback]
-p----emv- OK (434 out of 1217, remaining: 22:24)
test 0588...[FTP PORT upload using multi interface, EPRT doesn't work]
-p-u--emv- OK (435 out of 1217, remaining: 22:21)
test 0589...[make a HTTP MIME POST set to NULL]
-pd---emv- OK (436 out of 1217, remaining: 22:19)
test 0590...[HTTP proxy offers Negotiate+NTLM, use only NTLM]
-pd---emv- OK (437 out of 1217, remaining: 22:16)
test 0591...[FTP multi PORT and 425 on upload]
-p----emv- OK (438 out of 1217, remaining: 22:13)
test 0592...[FTP multi PORT and 421 on upload]
-p----emv- OK (439 out of 1217, remaining: 22:10)
test 0593...[FTP multi PORT upload, no data conn and no transient neg. reply]
-p----emv- OK (440 out of 1217, remaining: 22:11)
test 0595...[verify close callbacks with passive FTP]
-pd---emv- OK (441 out of 1217, remaining: 22:08)
test 0596...[verify close callbacks with active FTP]
-pd---emv- OK (442 out of 1217, remaining: 22:06)
test 0597...[FTP connect only option]
-p----emv- OK (443 out of 1217, remaining: 22:03)
test 0598...[curl_easy_reset with referer and other strings set]
-pd---emv- OK (444 out of 1217, remaining: 22:00)
test 0599...[HTTP GET with progress callback and redirects changing content sizes]
--d--oemv- OK (445 out of 1217, remaining: 21:57)
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 (489 out of 1217, remaining: 18:52)
test 0644...[HTTP multi-part formpost with aborted read callback]
-p----emv- OK (490 out of 1217, remaining: 18:50)
test 0645...[HTTP multi-part chunked mimepost using read callback for the file part]
-pd---emv- OK (491 out of 1217, remaining: 18:51)
test 0646...[SMTP multipart using mime API]
-p-u--emv- OK (492 out of 1217, remaining: 18:52)
test 0647...[IMAP APPEND multipart using mime API]
-p-u--emv- OK (493 out of 1217, remaining: 18:53)
test 0648...[SMTP multipart with transfer content encoders]
-p-u--emv- OK (494 out of 1217, remaining: 18:51)
test 0649...[SMTP multipart with 7bit encoder error]
-p-u--emv- OK (495 out of 1217, remaining: 18:49)
test 0650...[HTTP formpost using form API]
-pd---emv- OK (496 out of 1217, remaining: 18:48)
test 0651...[curl_formadd with huge COPYCONTENTS]
-pd---emv- OK (497 out of 1217, remaining: 18:47)
test 0652...[SMTP with encoded huge mime data contents]
-p-u--emv- OK (498 out of 1217, remaining: 18:45)
test 0653...[Reuse of handle after altering mime data]
-pd---emv- OK (499 out of 1217, remaining: 18:43)
test 0654...[HTTP duplicate easy handle with mime data]
-pd---emv- OK (500 out of 1217, remaining: 18:42)
test 0655...[resolver start callback]
--d---emv- OK (501 out of 1217, remaining: 18:40)
test 0658...[HTTP GET]
-p----emv- OK (503 out of 1217, remaining: 18:34)
test 0700...[HTTP GET via SOCKS4 proxy]
-pd---emv- OK (504 out of 1217, remaining: 18:32)
test 0701...[HTTP GET via SOCKS5 proxy]
-pd---emv- OK (505 out of 1217, remaining: 18:30)
test 0702...[Attempt connect to non-listening HTTP server via SOCKS4 proxy]
------emv- OK (506 out of 1217, remaining: 18:28)
test 0703...[Attempt connect to non-listening HTTP server via SOCKS5 proxy]
------emv- OK (507 out of 1217, remaining: 18:26)
test 0704...[Attempt connect to non-listening SOCKS4 proxy]
------emv- OK (508 out of 1217, remaining: 18:24)
test 0705...[Attempt connect to non-listening SOCKS5 proxy]
------emv- OK (509 out of 1217, remaining: 18:21)
test 0706...[FTP dir list PASV via SOCKS4]
-pd---emv- OK (510 out of 1217, remaining: 18:19)
test 0707...[FTP dir list PASV via SOCKS5]
-pd---emv- OK (511 out of 1217, remaining: 18:17)
test 0708...[HTTP GET via SOCKS4 proxy]
-pd---emv- OK (512 out of 1217, remaining: 18:15)
test 0709...[HTTP GET via SOCKS5 set in http_proxy environment variable]
-pd---emv- OK (513 out of 1217, remaining: 18:13)
test 0710...[HTTP GET via SOCKS5 set with --proxy]
-pd---emv- OK (514 out of 1217, remaining: 18:11)
test 0711...[FTP fetch with all_proxy set to socks5]
-pd---emv- OK (515 out of 1217, remaining: 18:09)
test 0712...[FTP fetch with --proxy set to socks5://]
-pd---emv- OK (516 out of 1217, remaining: 18:07)
test 0713...[FTP fetch with --proxy set to socks5:// and with --connect-to]
-pd---emv- OK (517 out of 1217, remaining: 18:06)
test 0714...[FTP fetch with --proxy set to http:// and with --connect-to]
-p----emv- OK (518 out of 1217, remaining: 18:06)
test 0715...[FTP fetch with --preproxy, --proxy and --connect-to]
-p----emv- OK (519 out of 1217, remaining: 18:06)
test 0800...[IMAP FETCH message]
-pd---emv- OK (520 out of 1217, remaining: 18:04)
test 0801...[IMAP FETCH message by MAILINDEX and SECTION]
-pd---emv- OK (521 out of 1217, remaining: 18:02)
test 0802...[IMAP SELECT UIDVALIDITY Success]
-pd---emv- OK (522 out of 1217, remaining: 18:00)
test 0803...[IMAP SELECT UIDVALIDITY Failure]
-p----emv- OK (523 out of 1217, remaining: 17:58)
test 0804...[IMAP doesn't perform SELECT if re-using the same mailbox]
-pd---emv- OK (524 out of 1217, remaining: 17:56)
test 0805...[IMAP APPEND message]
-p-u--emv- OK (525 out of 1217, remaining: 17:54)
test 0806...[IMAP LIST mailbox]
-pd---emv- OK (526 out of 1217, remaining: 17:52)
test 0807...[IMAP LSUB mailbox]
-pd---emv- OK (527 out of 1217, remaining: 17:50)
test 0808...[IMAP EXAMINE mailbox (CUSTOMREQUEST)]
-pd---emv- OK (528 out of 1217, remaining: 17:48)
test 0809...[IMAP mailbox STATUS (CUSTOMREQUEST)]
-pd---emv- OK (529 out of 1217, remaining: 17:46)
test 0810...[IMAP SEARCH for NEW messages]
-pd---emv- OK (530 out of 1217, remaining: 17:45)
test 0811...[IMAP CREATE mailbox (CUSTOMREQUEST)]
-p----emv- OK (531 out of 1217, remaining: 17:43)
test 0812...[IMAP DELETE mailbox (CUSTOMREQUEST)]
-p----emv- OK (532 out of 1217, remaining: 17:41)
test 0813...[IMAP RENAME mailbox (CUSTOMREQUEST)]
-p----emv- OK (533 out of 1217, remaining: 17:39)
test 0814...[IMAP CHECK mailbox (CUSTOMREQUEST)]
-p----emv- OK (534 out of 1217, remaining: 17:37)
test 0815...[IMAP STORE - delete message (CUSTOMREQUEST)]
-p----emv- OK (535 out of 1217, remaining: 17:35)
test 0816...[IMAP STORE - delete message with confirmation (CUSTOMREQUEST)]
-p----emv- OK (536 out of 1217, remaining: 17:33)
test 0817...[IMAP COPY message to mailbox (CUSTOMREQUEST)]
-p----emv- OK (537 out of 1217, remaining: 17:31)
test 0818...[IMAP NOOP (CUSTOMREQUEST)]
-pd---emv- OK (538 out of 1217, remaining: 17:29)
test 0819...[IMAP plain authentication]
-pd---emv- OK (539 out of 1217, remaining: 17:28)
test 0820...[IMAP login authentication]
-pd---emv- OK (540 out of 1217, remaining: 17:26)
test 0821...[IMAP CRAM-MD5 authentication]
-pd---emv- OK (541 out of 1217, remaining: 17:24)
test 0822...[IMAP NTLM authentication]
-pd---emv- OK (542 out of 1217, remaining: 17:22)
test 0823...[IMAP DIGEST-MD5 authentication]
-pd---emv- OK (543 out of 1217, remaining: 17:21)
test 0824...[IMAP OAuth 2.0 (XOAUTH2) authentication]
-pd---emv- OK (544 out of 1217, remaining: 17:19)
test 0825...[IMAP plain authentication with initial response]
-pd---emv- OK (545 out of 1217, remaining: 17:17)
test 0826...[IMAP login authentication with initial response]
-pd---emv- OK (546 out of 1217, remaining: 17:15)
test 0827...[IMAP NTLM authentication with initial response]
-pd---emv- OK (547 out of 1217, remaining: 17:14)
test 0828...[IMAP OAuth 2.0 (XOAUTH2) authentication with initial response]
-pd---emv- OK (548 out of 1217, remaining: 17:12)
test 0829...[IMAP with URL-encoded CR LF in the URL]
------emv- OK (549 out of 1217, remaining: 17:10)
test 0830...[IMAP CRAM-MD5 graceful cancellation]
-p----emv- OK (550 out of 1217, remaining: 17:08)
test 0831...[IMAP NTLM graceful cancellation]
-p----emv- OK (551 out of 1217, remaining: 17:06)
test 0832...[IMAP DIGEST-MD5 graceful cancellation]
-p----emv- OK (552 out of 1217, remaining: 17:04)
test 0833...[IMAP CRAM-MD5 authentication with SASL downgrade]
-pd---emv- OK (553 out of 1217, remaining: 17:02)
test 0834...[IMAP NTLM authentication with SASL downgrade]
-pd---emv- OK (554 out of 1217, remaining: 17:01)
test 0835...[IMAP DIGEST-MD5 authentication with SASL downgrade]
-pd---emv- OK (555 out of 1217, remaining: 16:59)
test 0837...[IMAP external authentication]
-pd---emv- OK (556 out of 1217, remaining: 16:57)
test 0838...[IMAP external authentication without credentials]
-pd---emv- OK (557 out of 1217, remaining: 16:55)
test 0839...[IMAP external authentication with initial response]
-pd---emv- OK (558 out of 1217, remaining: 16:54)
test 0840...[IMAP external authentication with initial response without credentials]
-pd---emv- OK (559 out of 1217, remaining: 16:52)
test 0841...[IMAP custom request doesn't check continuation data]
-pd---emv- OK (560 out of 1217, remaining: 16:50)
test 0842...[IMAP OAuth 2.0 (OAUTHBEARER) authentication]
-pd---emv- OK (561 out of 1217, remaining: 16:48)
test 0843...[IMAP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
-pd---emv- OK (562 out of 1217, remaining: 16:46)
test 0844...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation]
-p----emv- OK (563 out of 1217, remaining: 16:45)
test 0845...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
-p----emv- OK (564 out of 1217, remaining: 16:43)
test 0846...[IMAP PREAUTH response]
-pd---emv- OK (565 out of 1217, remaining: 16:41)
test 0847...[IMAP FETCH message]
-pd---emv- OK (566 out of 1217, remaining: 16:39)
test 0850...[POP3 RETR message]
-pd---emv- OK (567 out of 1217, remaining: 16:40)
test 0851...[POP3 LIST one message]
-p----emv- OK (568 out of 1217, remaining: 16:38)
test 0852...[POP3 LIST invalid message]
-p----emv- OK (569 out of 1217, remaining: 16:36)
test 0853...[POP3 LIST messages from *SLOW* server]
-pd---emv- OK (570 out of 1217, remaining: 16:37)
test 0854...[POP3 LIST no messages available]
-p----emv- OK (571 out of 1217, remaining: 16:35)
test 0855...[POP3 RETR invalid message]
-p----emv- OK (572 out of 1217, remaining: 16:33)
test 0856...[POP3 invalid login]
-p----emv- OK (573 out of 1217, remaining: 16:31)
test 0857...[POP3 RETR message with dot-prefixed line]
-pd---emv- OK (574 out of 1217, remaining: 16:29)
test 0858...[POP3 DELE message (CUSTOMREQUEST)]
-p----emv- OK (575 out of 1217, remaining: 16:27)
test 0859...[POP3 STAT (CUSTOMREQUEST)]
-p----emv- OK (576 out of 1217, remaining: 16:25)
test 0860...[POP3 NOOP (CUSTOMREQUEST)]
-p----emv- OK (577 out of 1217, remaining: 16:24)
test 0861...[POP3 UIDL (CUSTOMREQUEST)]
-pd---emv- OK (578 out of 1217, remaining: 16:22)
test 0862...[POP3 retrieve message header (CUSTOMREQUEST)]
-pd---emv- OK (579 out of 1217, remaining: 16:20)
test 0863...[POP3 RSET (CUSTOMREQUEST)]
-p----emv- OK (580 out of 1217, remaining: 16:18)
test 0864...[POP3 APOP authentication]
-pd---emv- OK (581 out of 1217, remaining: 16:16)
test 0865...[POP3 plain authentication]
-pd---emv- OK (582 out of 1217, remaining: 16:14)
test 0866...[POP3 login authentication]
-pd---emv- OK (583 out of 1217, remaining: 16:12)
test 0867...[POP3 CRAM-MD5 authentication]
-pd---emv- OK (584 out of 1217, remaining: 16:11)
test 0868...[POP3 NTLM authentication]
-pd---emv- OK (585 out of 1217, remaining: 16:09)
test 0869...[POP3 DIGEST-MD5 authentication]
-pd---emv- OK (586 out of 1217, remaining: 16:07)
test 0870...[POP3 OAuth 2.0 (XOAUTH2) authentication]
-pd---emv- OK (587 out of 1217, remaining: 16:05)
test 0871...[POP3 plain authentication with initial response]
-pd---emv- OK (588 out of 1217, remaining: 16:03)
test 0872...[POP3 login authentication with initial response]
-pd---emv- OK (589 out of 1217, remaining: 16:02)
test 0873...[POP3 NTLM authentication with initial response]
-pd---emv- OK (590 out of 1217, remaining: 16:00)
test 0874...[POP3 OAuth 2.0 (XOAUTH2) authentication with initial response]
-pd---emv- OK (591 out of 1217, remaining: 15:58)
test 0875...[POP3 with URL-encoded CR LF in the URL]
------emv- OK (592 out of 1217, remaining: 15:56)
test 0876...[POP3 CRAM-MD5 graceful cancellation]
-p----emv- OK (593 out of 1217, remaining: 15:54)
test 0877...[POP3 NTLM graceful cancellation]
-p----emv- OK (594 out of 1217, remaining: 15:52)
test 0878...[POP3 DIGEST-MD5 graceful cancellation]
-p----emv- OK (595 out of 1217, remaining: 15:50)
test 0879...[POP3 CRAM-MD5 authentication with SASL downgrade]
-pd---emv- OK (596 out of 1217, remaining: 15:49)
test 0880...[POP3 NTLM authentication with SASL downgrade]
-pd---emv- OK (597 out of 1217, remaining: 15:47)
test 0881...[POP3 DIGEST-MD5 authentication with SASL downgrade]
-pd---emv- OK (598 out of 1217, remaining: 15:45)
test 0883...[POP3 external authentication]
-pd---emv- OK (599 out of 1217, remaining: 15:43)
test 0884...[POP3 external authentication without credentials]
-pd---emv- OK (600 out of 1217, remaining: 15:41)
test 0885...[POP3 external authentication with initial response]
-pd---emv- OK (601 out of 1217, remaining: 15:40)
test 0886...[POP3 external authentication with initial response without credentials]
-pd---emv- OK (602 out of 1217, remaining: 15:38)
test 0887...[POP3 OAuth 2.0 (OAUTHBEARER) authentication]
-pd---emv- OK (603 out of 1217, remaining: 15:36)
test 0888...[POP3 OAuth 2.0 (OAUTHBEARER) authentication with initial response]
-pd---emv- OK (604 out of 1217, remaining: 15:34)
test 0889...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation]
-p----emv- OK (605 out of 1217, remaining: 15:32)
test 0890...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
-p----emv- OK (606 out of 1217, remaining: 15:31)
test 0891...[POP3 with short authentication response]
-p----emv- OK (607 out of 1217, remaining: 15:29)
test 0900...[SMTP]
-p-u--emv- OK (608 out of 1217, remaining: 15:27)
test 0901...[SMTP with CRLF-dot-CRLF in data]
-p-u--emv- OK (609 out of 1217, remaining: 15:25)
test 0902...[RFC821-only SMTP server (EHLO not supported)]
-p-u--emv- OK (610 out of 1217, remaining: 15:23)
test 0903...[SMTP plain authentication]
-p-u--emv- OK (611 out of 1217, remaining: 15:21)
test 0904...[SMTP login authentication]
-p-u--emv- OK (612 out of 1217, remaining: 15:20)
test 0905...[SMTP CRAM-MD5 authentication]
-p-u--emv- OK (613 out of 1217, remaining: 15:18)
test 0906...[SMTP NTLM authentication]
-p-u--emv- OK (614 out of 1217, remaining: 15:16)
test 0907...[SMTP DIGEST-MD5 authentication]
-p-u--emv- OK (615 out of 1217, remaining: 15:14)
test 0908...[SMTP OAuth 2.0 (XOAUTH2) authentication]
-p-u--emv- OK (616 out of 1217, remaining: 15:12)
test 0909...[SMTP without SIZE support]
-p-u--emv- OK (617 out of 1217, remaining: 15:11)
test 0910...[SMTP without terminating CRLF]
-p-u--emv- OK (618 out of 1217, remaining: 15:09)
test 0911...[SMTP with no mail data]
-p-u--emv- OK (619 out of 1217, remaining: 15:07)
test 0912...[SMTP with SIZE support]
-p-u--emv- OK (620 out of 1217, remaining: 15:05)
test 0913...[SMTP with large message SIZE]
-p----emv- OK (621 out of 1217, remaining: 15:03)
test 0914...[SMTP invalid --mail-from]
-p----emv- OK (622 out of 1217, remaining: 15:02)
test 0915...[SMTP without --mail-from]
-p-u--emv- OK (623 out of 1217, remaining: 15:00)
test 0916...[SMTP with invalid --mail-rcpt]
-p----emv- OK (624 out of 1217, remaining: 14:58)
test 0917...[SMTP with multiple --mail-rcpt]
-p-u--emv- OK (625 out of 1217, remaining: 14:56)
test 0918...[SMTP with multiple and invalid --mail-rcpt]
-p----emv- OK (626 out of 1217, remaining: 14:54)
test 0919...[SMTP plain authentication with initial response]
-p-u--emv- OK (627 out of 1217, remaining: 14:52)
test 0920...[SMTP login authentication with initial response]
-p-u--emv- OK (628 out of 1217, remaining: 14:51)
test 0921...[SMTP NTLM authentication with initial response]
-p-u--emv- OK (629 out of 1217, remaining: 14:49)
test 0922...[SMTP OAuth 2.0 (XOAUTH2) authentication with initial response]
-p-u--emv- OK (630 out of 1217, remaining: 14:47)
test 0923...[SMTP VRFY]
-pd---emv- OK (631 out of 1217, remaining: 14:45)
test 0924...[SMTP ambiguous VRFY]
-pd---emv- OK (632 out of 1217, remaining: 14:44)
test 0925...[SMTP external VRFY]
-pd---emv- OK (633 out of 1217, remaining: 14:42)
test 0926...[SMTP unknown user VRFY]
-p----emv- OK (634 out of 1217, remaining: 14:40)
test 0927...[SMTP mailing list EXPN (CUSTOMREQUEST)]
-pd---emv- OK (635 out of 1217, remaining: 14:38)
test 0928...[SMTP HELP]
-pd---emv- OK (636 out of 1217, remaining: 14:36)
test 0929...[SMTP NOOP (CUSTOMREQUEST)]
-p----emv- OK (637 out of 1217, remaining: 14:35)
test 0930...[SMTP RSET (CUSTOMREQUEST)]
-p----emv- OK (638 out of 1217, remaining: 14:33)
test 0931...[SMTP with URL-encoded CR LF in the URL]
------emv- OK (639 out of 1217, remaining: 14:31)
test 0932...[SMTP CRAM-MD5 graceful cancellation]
-p----emv- OK (640 out of 1217, remaining: 14:29)
test 0933...[SMTP NTLM graceful cancellation]
-p----emv- OK (641 out of 1217, remaining: 14:27)
test 0934...[SMTP DIGEST-MD5 graceful cancellation]
-p----emv- OK (642 out of 1217, remaining: 14:25)
test 0935...[SMTP CRAM-MD5 authentication with SASL downgrade]
-p-u--emv- OK (643 out of 1217, remaining: 14:24)
test 0936...[SMTP NTLM authentication with SASL downgrade]
-p-u--emv- OK (644 out of 1217, remaining: 14:22)
test 0937...[SMTP DIGEST-MD5 authentication with SASL downgrade]
-p-u--emv- OK (645 out of 1217, remaining: 14:20)
test 0939...[RFC821-only SMTP with username and password]
-p-u--emv- OK (646 out of 1217, remaining: 14:18)
test 0940...[SMTP with username and password but no AUTH capability]
-p-u--emv- OK (647 out of 1217, remaining: 14:17)
test 0941...[SMTP with --crlf]
-p-u--emv- OK (648 out of 1217, remaining: 14:15)
test 0942...[SMTP external authentication]
-p-u--emv- OK (649 out of 1217, remaining: 14:13)
test 0943...[SMTP external authentication without credentials]
-p-u--emv- OK (650 out of 1217, remaining: 14:11)
test 0944...[SMTP external authentication with initial response]
-p-u--emv- OK (651 out of 1217, remaining: 14:10)
test 0945...[SMTP external authentication with initial response without credentials]
-p-u--emv- OK (652 out of 1217, remaining: 14:08)
test 0946...[SMTP OAuth 2.0 (OAUTHBEARER) authentication]
-p-u--emv- OK (653 out of 1217, remaining: 14:06)
test 0947...[SMTP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
-p-u--emv- OK (654 out of 1217, remaining: 14:04)
test 0948...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation]
-p----emv- OK (655 out of 1217, remaining: 14:03)
test 0949...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
-p----emv- OK (656 out of 1217, remaining: 14:01)
test 0950...[SMTP VRFY with custom request]
-pd---emv- OK (657 out of 1217, remaining: 13:59)
test 0951...[SMTP data with dot as first character]
-p-u--emv- OK (658 out of 1217, remaining: 13:57)
test 0952...[SMTP data with single dot-only line]
-p-u--emv- OK (659 out of 1217, remaining: 13:56)
test 1000...[FTP dir list PASV with -I]
-p----emv- OK (660 out of 1217, remaining: 13:54)
test 1001...[HTTP POST --digest with PUT and resumed upload and modified method]
-pd---emv- OK (661 out of 1217, remaining: 13:53)
test 1002...[HTTP POST --digest with PUT and resumed upload and modified method, twice]
-pd---emv- OK (662 out of 1217, remaining: 13:53)
test 1003...[FTP with excessively large server command response line]
-pd---emv- OK (663 out of 1217, remaining: 13:51)
test 1004...[HTTP GET with empty proxy]
valgrind SKIPPED
-pd---em-- OK (664 out of 1217, remaining: 13:49)
test 1005...[FTP with excessively large number of server command response lines]
-pd---emv- OK (665 out of 1217, remaining: 13:47)
test 1006...[FTP with excessively large number of server command response lines (boundary condition)]
-pd---emv- OK (666 out of 1217, remaining: 13:45)
test 1007...[TFTP send with invalid permission on server]
-p----emv- OK (667 out of 1217, remaining: 13:43)
test 1008...[HTTP proxy CONNECT auth NTLM with chunked-encoded 407 response]
-pd---emv- OK (668 out of 1217, remaining: 13:42)
test 1009...[TFTP retrieve with --local-port]
-pd---emv- OK (669 out of 1217, remaining: 13:40)
test 1010...[FTP dir list nocwd]
-pd---emv- OK (670 out of 1217, remaining: 13:38)
test 1011...[HTTP POST with 301 redirect]
-pd---emv- OK (671 out of 1217, remaining: 13:37)
test 1012...[HTTP POST with 301 redirect and --post301]
-pd---emv- OK (672 out of 1217, remaining: 13:35)
test 1013...[Compare curl --version with curl-config --protocols]
------emv- OK (673 out of 1217, remaining: 13:33)
test 1014...[Compare curl --version with curl-config --features]
------emv- OK (674 out of 1217, remaining: 13:31)
test 1015...[--data-urlencode]
-pd---emv- OK (675 out of 1217, remaining: 13:29)
test 1016...[X-Y range on a file:// URL to stdout]
s-----emv- OK (676 out of 1217, remaining: 13:28)
test 1017...[0-Y range on a file:// URL to stdout]
s-----emv- OK (677 out of 1217, remaining: 13:26)
test 1018...[X-X range on a file:// URL to stdout]
s-----emv- OK (678 out of 1217, remaining: 13:24)
test 1019...[X- range on a file:// URL to stdout]
s-----emv- OK (679 out of 1217, remaining: 13:22)
test 1020...[-Y range on a file:// URL to stdout]
s-----emv- OK (680 out of 1217, remaining: 13:20)
test 1021...[HTTP proxy CONNECT with any proxyauth and proxy offers NTLM and close]
-pd---emv- OK (681 out of 1217, remaining: 13:19)
test 1022...[Compare curl --version with curl-config --version]
------emv- OK (682 out of 1217, remaining: 13:17)
test 1023...[Compare curl --version with curl-config --vernum]
------emv- OK (683 out of 1217, remaining: 13:15)
test 1024...[HTTP Location: following with cookies]
-pd---emv- OK (684 out of 1217, remaining: 13:13)
test 1025...[HTTP Location: following with command-line and server cookies]
-pd---emv- OK (685 out of 1217, remaining: 13:12)
test 1026...[curl --manual ]
------emv- OK (686 out of 1217, remaining: 13:10)
test 1027...[curl --help]
------emv- OK (687 out of 1217, remaining: 13:08)
test 1028...[HTTP Location: redirect to FTP URL]
sp----emv- OK (688 out of 1217, remaining: 13:06)
test 1029...[HTTP Location: and 'redirect_url' check]
sp----emv- OK (689 out of 1217, remaining: 13:04)
test 1030...[HTTP PUT with --anyauth authorization (picking Digest)]
-pd---emv- OK (690 out of 1217, remaining: 13:04)
test 1031...[HTTP Location: following to a query string]
-pd---emv- OK (691 out of 1217, remaining: 13:03)
test 1032...[HTTP HEAD with --range]
-pd---emv- OK (692 out of 1217, remaining: 13:01)
test 1033...[HTTP GET with 102 response!]
-pd---emv- OK (693 out of 1217, remaining: 12:59)
test 1034...[HTTP over proxy with malformatted IDN host name]
------emv- OK (694 out of 1217, remaining: 12:57)
test 1035...[HTTP over proxy with too long IDN host name]
------emv- OK (695 out of 1217, remaining: 12:56)
test 1036...[FTP download resume from end of file]
-p---oemv- OK (696 out of 1217, remaining: 12:54)
test 1037...[FTP download resume from end of empty file]
-p----emv- OK (697 out of 1217, remaining: 12:52)
test 1038...[FTP PASV upload resume from end of file]
-p-u--emv- OK (698 out of 1217, remaining: 12:51)
test 1039...[FTP PASV upload resume from end of empty file]
-p-u--emv- OK (699 out of 1217, remaining: 12:49)
test 1040...[HTTP GET with resume from end of entirely-downloaded file]
-pd---emv- OK (700 out of 1217, remaining: 12:47)
test 1041...[HTTP PUT with resume from end of already-uploaded file]
-pd---emv- OK (701 out of 1217, remaining: 12:46)
test 1042...[HTTP GET beyond end of entirely-downloaded file, no server resume]
-pd---emv- OK (702 out of 1217, remaining: 12:45)
test 1043...[HTTP GET with resume from end of file]
-pd---emv- OK (703 out of 1217, remaining: 12:43)
test 1044...[FTP download large file info with -I]
sp----emv- OK (704 out of 1217, remaining: 12:41)
test 1045...[HTTP GET with numeric localhost --interface]
-pd---emv- OK (705 out of 1217, remaining: 12:39)
test 1046...[HTTP-IPv6 GET with numeric localhost --interface]
-pd---emv- OK (706 out of 1217, remaining: 12:38)
test 1047...[FTP dir list PASV with localhost --interface]
-pd---emv- OK (707 out of 1217, remaining: 12:36)
test 1048...[FTP-IPv6 dir list PASV with localhost --interface]
-pd---emv- OK (708 out of 1217, remaining: 12:34)
test 1049...[TFTP retrieve with localhost --interface]
-pd---emv- OK (709 out of 1217, remaining: 12:33)
test 1050...[FTP-IPv6 dir list, EPRT with specified IP]
-pd---emv- OK (710 out of 1217, remaining: 12:31)
test 1051...[HTTP PUT with Location: following]
-pd---emv- OK (711 out of 1217, remaining: 12:31)
test 1052...[HTTP 1.0 PUT with Location: following]
-pd---emv- OK (712 out of 1217, remaining: 12:29)
test 1053...[HTTP RFC1867-type formposting from file with Location: following]
-pd---emv- OK (713 out of 1217, remaining: 12:27)
test 1054...[HTTP POST from file with 301 redirect and --post301]
-pd---emv- OK (714 out of 1217, remaining: 12:26)
test 1055...[HTTP PUT Location: redirect to FTP URL]
-pdu--emv- OK (715 out of 1217, remaining: 12:25)
test 1056...[HTTP follow redirect from IPv4 to IPv6 with scope]
-pd---emv- OK (716 out of 1217, remaining: 12:23)
test 1057...[FTP retrieve a byte-range relative to end of file]
-pd---emv- OK (717 out of 1217, remaining: 12:22)
test 1058...[HTTP range relative to end of file]
-pd---emv- OK (718 out of 1217, remaining: 12:20)
test 1059...[HTTP CONNECT with proxytunnel to unsupported FTP URL]
-p----emv- OK (719 out of 1217, remaining: 12:18)
test 1060...[HTTP proxy CONNECT auth Digest, large headers and data]
-pd---emv- OK (720 out of 1217, remaining: 12:18)
test 1061...[HTTP proxy CONNECT auth Digest, large headers and chunked data]
-pd---emv- OK (721 out of 1217, remaining: 12:18)
test 1062...[FTP with excessively long server command response lines, boundary condition]
-pd---emv- OK (722 out of 1217, remaining: 12:16)
test 1063...[Invalid large X- range on a file://]
------emv- OK (723 out of 1217, remaining: 12:15)
test 1064...[HTTP PUT twice]
sp----emv- OK (724 out of 1217, remaining: 12:13)
test 1065...[HTTP PUT with one file but two URLs]
sp----emv- OK (725 out of 1217, remaining: 12:11)
test 1066...[HTTP --dump-header - with two URLs]
sp----emv- OK (726 out of 1217, remaining: 12:10)
test 1067...[HTTP Location: following with auto-referer]
-pd---emv- OK (727 out of 1217, remaining: 12:08)
test 1068...[HTTP PUT from stdin]
-pd---emv- OK (728 out of 1217, remaining: 12:07)
test 1069...[HTTP 1.0 PUT from stdin with no content length]
------emv- OK (729 out of 1217, remaining: 12:05)
test 1070...[HTTP POST with server closing connection before (all) data is received]
-pd---emv- OK (730 out of 1217, remaining: 12:04)
test 1071...[Downgraded HTTP PUT to HTTP 1.0 with authorization]
-pd---emv- OK (731 out of 1217, remaining: 12:03)
test 1072...[HTTP chunked PUT to HTTP 1.0 server with authorization]
-pd---emv- OK (732 out of 1217, remaining: 12:02)
test 1073...[HTTP chunked PUT to HTTP 1.0 server with redirect]
-pd---emv- OK (733 out of 1217, remaining: 12:01)
test 1074...[HTTP downgrade to HTTP/1.0 on second request]
sp----emv- OK (734 out of 1217, remaining: 12:01)
test 1075...[HTTP PUT with --anyauth authorization (picking Basic)]
-pd---emv- OK (735 out of 1217, remaining: 12:00)
test 1076...[HTTP POST with 302 redirect and --post302]
-pd---emv- OK (736 out of 1217, remaining: 11:59)
test 1077...[FTP over HTTP proxy with downgrade to HTTP 1.0]
-pd---emv- OK (737 out of 1217, remaining: 11:57)
test 1078...[HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0]
sp--P-emv- OK (738 out of 1217, remaining: 11:56)
test 1079...[HTTP retry after closed connection and empty response]
-pd---emv- OK (739 out of 1217, remaining: 11:54)
test 1080...[HTTP Location: on two URLs 'redirect_url' check]
sp----emv- OK (740 out of 1217, remaining: 11:52)
test 1081...[HTTP no Location: on second URL 'redirect_url' check]
sp----emv- OK (741 out of 1217, remaining: 11:51)
test 1082...[HTTP GET with localhost --interface]
-pd---emv- OK (742 out of 1217, remaining: 11:49)
test 1083...[HTTP-IPv6 GET with ip6-localhost --interface]
-pd---emv- OK (743 out of 1217, remaining: 11:47)
test 1084...[HTTP GET with invalid --interface]
------emv- OK (744 out of 1217, remaining: 11:46)
test 1085...[HTTP-IPv6 GET with invalid --interface]
------emv- OK (745 out of 1217, remaining: 11:44)
test 1086...[FTP download with strict timeout and slow data transfer]
Killed
Killed
-p----emv- OK (746 out of 1217, remaining: 11:50)
test 1087...[HTTP, proxy with --anyauth and Location: to new host]
-pd---emv- OK (747 out of 1217, remaining: 11:49)
test 1088...[HTTP, proxy with --anyauth and Location: to new host using location-trusted]
-pd---emv- OK (748 out of 1217, remaining: 11:47)
test 1089...[HTTP GET --write-out with redirected fetch]
sp----emv- OK (749 out of 1217, remaining: 11:45)
test 1090...[HTTP GET --write-out with redirected fetch and chunked reply]
sp----emv- OK (750 out of 1217, remaining: 11:44)
test 1091...[FTP URL with type=i]
-pd---emv- OK (751 out of 1217, remaining: 11:43)
test 1092...[FTP with type=i over HTTP proxy]
-pd---emv- OK (752 out of 1217, remaining: 11:42)
test 1093...[TFTP retrieve with mode=i]
-pd---emv- OK (753 out of 1217, remaining: 11:40)
test 1094...[TFTP retrieve with mode=netascii]
-pd---emv- OK (754 out of 1217, remaining: 11:38)
test 1095...[HTTP with Digest and realm with quoted quotes]
-pd---emv- OK (755 out of 1217, remaining: 11:36)
test 1096...[Two FTP downloads, with failed RETR but re-used control connection]
Killed
Killed
-p----emv- OK (756 out of 1217, remaining: 11:35)
test 1097...[HTTP POST using CONNECT with --proxy-ntlm but no auth is required]
-pd---emv- OK (757 out of 1217, remaining: 11:33)
test 1098...[FTP RETR twice over proxy confirming persistent connection]
sp----emv- OK (758 out of 1217, remaining: 11:31)
test 1099...[TFTP get first a non-existing file then an existing]
sp----emv- OK (759 out of 1217, remaining: 11:30)
test 1100...[HTTP POST with NTLM authorization and following a 302 redirect]
-pd---emv- OK (760 out of 1217, remaining: 11:28)
test 1101...[NO_PROXY test, with user name in URL]
-pd---emv- OK (761 out of 1217, remaining: 11:26)
test 1102...[FTP OS/400 server name format check]
-p----emv- OK (762 out of 1217, remaining: 11:25)
test 1103...[FTP non-OS/400 server]
-p----emv- OK (763 out of 1217, remaining: 11:23)
test 1104...[HTTP cookie expiry date at Jan 1 00:00:00 GMT 1970]
-pd---emv- OK (764 out of 1217, remaining: 11:21)
test 1105...[HTTP with cookie parser and header recording]
-pd--oemv- OK (765 out of 1217, remaining: 11:20)
test 1106...[FTP URL and with ftp_proxy environment variable set]
-p----emv- OK (766 out of 1217, remaining: 11:18)
test 1107...[FTP RETR PASV with PRET]
-pd---emv- OK (767 out of 1217, remaining: 11:16)
test 1108...[FTP RETR PASV with PRET not supported]
-p----emv- OK (768 out of 1217, remaining: 11:15)
test 1109...[HTTP GET with URL that contains fragment after the path]
-pd---emv- OK (769 out of 1217, remaining: 11:13)
test 1110...[HTTP GET with URL that contains a fragment after the query part]
-pd---emv- OK (770 out of 1217, remaining: 11:11)
test 1111...[HTTP GET with URL whose fragment contains a # (which is illegal)]
-pd---emv- OK (771 out of 1217, remaining: 11:10)
test 1112...[FTPS download with strict timeout and slow data transfer]
Killed
Killed
goto problem 32
valgrind ERROR ==8201== Invalid read of size 8
==8201== at 0x5E745A5: check_free (dlerror.c:188)
==8201== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==8201== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==8201== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==8201== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==8201== by 0x559AF49: __run_exit_handlers (exit.c:132)
==8201== by 0x559AF79: exit (exit.c:139)
==8201== by 0x55850A1: (below main) (libc-start.c:342)
==8201== Address 0x66ad340 is 0 bytes after a block of size 32 alloc'd
==8201== at 0x483577F: malloc (vg_replace_malloc.c:299)
==8201== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==8201== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==8201== by 0x4DD0E85: err_get_state (err.c:210)
==8201== by 0x4DD1A5D: ERR_put_error (err.c:636)
==8201== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==8201== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==8201== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==8201== by 0x4E91358: by_file_ctrl (by_file.c:111)
==8201== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==8201== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==8201== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==8201== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==8201== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==8201== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==8201== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==8201==
==8201== Invalid free() / delete / delete[] / realloc()
==8201== at 0x48369AB: free (vg_replace_malloc.c:530)
==8201== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==8201== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==8201== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==8201== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==8201== by 0x559AF49: __run_exit_handlers (exit.c:132)
==8201== by 0x559AF79: exit (exit.c:139)
==8201== by 0x55850A1: (below main) (libc-start.c:342)
==8201== Address 0x66ad328 is 8 bytes inside a block of size 32 alloc'd
==8201== at 0x483577F: malloc (vg_replace_malloc.c:299)
==8201== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==8201== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==8201== by 0x4DD0E85: err_get_state (err.c:210)
==8201== by 0x4DD1A5D: ERR_put_error (err.c:636)
==8201== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==8201== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==8201== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==8201== by 0x4E91358: by_file_ctrl (by_file.c:111)
==8201== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==8201== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==8201== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==8201== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==8201== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==8201== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==8201== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==8201==
==8201== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==8201== at 0x483577F: malloc (vg_replace_malloc.c:299)
==8201== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==8201== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==8201== by 0x4DD0E85: err_get_state (err.c:210)
==8201== by 0x4DD1A5D: ERR_put_error (err.c:636)
==8201== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==8201== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==8201== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==8201== by 0x4E91358: by_file_ctrl (by_file.c:111)
==8201== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==8201== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==8201== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==8201== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==8201== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==8201== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==8201== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==8201==
== 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 couldn't possibly be sent in the ti
=== End of file curl1112.out
=== Start of file ftp_server.log
03:12:42.814169 ====> Client connect
03:12:42.814292 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:12:42.814687 < "USER anonymous"
03:12:42.814727 > "331 We are happy you popped in![CR][LF]"
03:12:42.814998 < "PASS ftp@example.com"
03:12:42.815030 > "230 Welcome you silly person[CR][LF]"
03:12:42.815295 < "PBSZ 0"
03:12:42.815324 > "500 PBSZ not implemented[CR][LF]"
03:12:42.815497 < "PROT C"
03:12:42.815528 > "500 PROT not implemented[CR][LF]"
03:12:42.815699 < "PWD"
03:12:42.815730 > "257 "/" is current directory[CR][LF]"
03:12:42.815928 < "EPSV"
03:12:42.815954 ====> Passive DATA channel requested by client
03:12:42.815970 DATA sockfilt for passive data channel starting...
03:12:42.817567 DATA sockfilt for passive data channel started (pid 8198)
03:12:42.817651 DATA sockfilt for passive data channel listens on port 33837
03:12:42.817693 > "229 Entering Passive Mode (|||33837|)[LF]"
03:12:42.817711 Client has been notified that DATA conn will be accepted on port 33837
03:12:42.817958 Client connects to port 33837
03:12:42.817986 ====> Client established passive DATA connection on port 33837
03:12:42.818105 < "TYPE I"
03:12:42.818137 > "200 I modify TYPE as you wanted[CR][LF]"
03:12:42.818398 < "SIZE verifiedserver"
03:12:42.818439 > "213 16[CR][LF]"
03:12:42.818687 < "RETR verifiedserver"
03:12:42.818724 > "150 Binary junk (16 bytes).[CR][LF]"
03:12:42.818787 =====> Closing passive DATA connection...
03:12:42.818806 Server disconnects passive DATA connection
03:12:42.818873 DATA sockfilt for passive data channel quits (pid 8199)
03:12:42.818893 =====> Closed passive DATA connection
03:12:42.818918 > "226 File transfer complete[CR][LF]"
03:12:42.861012 < "QUIT"
03:12:42.861061 > "221 bye bye baby[CR][LF]"
03:12:42.861242 MAIN sockfilt said DISC
03:12:42.861267 ====> Client disconnected
03:12:42.861316 Awaiting input
03:12:46.584046 ====> Client connect
03:12:46.584152 FTPD: Getting commands from log/ftpserver.cmd
03:12:46.584189 FTPD: send response with 0.01 sec delay between each byte
03:12:46.584279 FTPD: set custom reply for USER command
03:12:46.584333 FTPD: set custom reply for PASS command
03:12:46.584383 FTPD: set custom reply for PWD command
03:12:46.584429 FTPD: set custom reply for TYPE command
03:12:48.195048 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:12:48.195189 < "USER anonymous"
03:12:48.275782 > "331 OK[CR][LF]"
03:12:48.275896 < "PASS ftp@example.com"
03:12:48.356476 > "230 OK[CR][LF]"
03:12:48.356590 < "PBSZ 0"
03:12:48.618362 > "500 PBSZ not implemented[CR][LF]"
03:12:48.618486 < "PROT C"
03:12:48.880367 > "500 PROT not implemented[CR][LF]"
03:12:48.880510 < "PWD"
03:12:48.971143 > "257 "/"[CR][LF]"
03:12:48.971252 < "EPSV"
03:12:48.971280 ====> Passive DATA channel requested by client
03:12:48.971292 DATA sockfilt for passive data channel starting...
03:12:48.973004 DATA sockfilt for passive data channel started (pid 8203)
03:12:48.973123 DATA sockfilt for passive data channel listens on port 40923
03:12:49.355533 > "229 Entering Passive Mode (|||40923|)[LF]"
03:12:49.355573 Client has been notified that DATA conn will be accepted on port 40923
03:12:49.355606 Client connects to port 40923
03:12:49.355627 ====> Client established passive DATA connection on port 40923
03:12:49.357549 < "TYPE I"
03:12:49.438101 > "200 OK[CR][LF]"
03:12:49.438208 < "SIZE 1112"
03:12:49.539158 > "213 3600[CR][LF]"
03:12:49.539277 < "RETR 1112"
03:12:50.083245 > "150 Binary data connection for 1112 () (3600 bytes).[CR][LF]"
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:12:43.025404 ====> Client connect
03:12:43.025629 Received DATA (on stdin)
03:12:43.025654 > 160 bytes data, server => client
03:12:43.025672 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:12:43.025688 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:12:43.025701 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:12:43.025926 < 16 bytes data, client => server
03:12:43.025947 'USER anonymous\r\n'
03:12:43.026071 Received DATA (on stdin)
03:12:43.026095 > 33 bytes data, server => client
03:12:43.026111 '331 We are happy you popped in!\r\n'
03:12:43.026275 < 22 bytes data, client => server
03:12:43.026294 'PASS ftp@example.com\r\n'
03:12:43.026374 Received DATA (on stdin)
03:12:43.026397 > 30 bytes data, server => client
03:12:43.026413 '230 Welcome you silly person\r\n'
03:12:43.026578 < 8 bytes data, client => server
03:12:43.026596 'PBSZ 0\r\n'
03:12:43.026646 Received DATA (on stdin)
03:12:43.026657 > 26 bytes data, server => client
03:12:43.026668 '500 PBSZ not implemented\r\n'
03:12:43.026782 < 8 bytes data, client => server
03:12:43.026795 'PROT C\r\n'
03:12:43.026851 Received DATA (on stdin)
03:12:43.026861 > 26 bytes data, server => client
03:12:43.026872 '500 PROT not implemented\r\n'
03:12:43.026983 < 5 bytes data, client => server
03:12:43.026996 'PWD\r\n'
03:12:43.027052 Received DATA (on stdin)
03:12:43.027062 > 30 bytes data, server => client
03:12:43.027073 '257 "/" is current directory\r\n'
03:12:43.027213 < 6 bytes data, client => server
03:12:43.027230 'EPSV\r\n'
03:12:43.029034 Received DATA (on stdin)
03:12:43.029058 > 38 bytes data, server => client
03:12:43.029074 '229 Entering Passive Mode (|||33837|)\n'
03:12:43.029380 < 8 bytes data, client => server
03:12:43.029400 'TYPE I\r\n'
03:12:43.029479 Received DATA (on stdin)
03:12:43.029502 > 33 bytes data, server => client
03:12:43.029519 '200 I modify TYPE as you wanted\r\n'
03:12:43.029683 < 21 bytes data, client => server
03:12:43.029702 'SIZE verifiedserver\r\n'
03:12:43.029782 Received DATA (on stdin)
03:12:43.029805 > 8 bytes data, server => client
03:12:43.029819 '213 16\r\n'
03:12:43.029971 < 21 bytes data, client => server
03:12:43.029988 'RETR verifiedserver\r\n'
03:12:43.030061 Received DATA (on stdin)
03:12:43.030075 > 29 bytes data, server => client
03:12:43.030089 '150 Binary junk (16 bytes).\r\n'
03:12:43.030242 Received DATA (on stdin)
03:12:43.030260 > 28 bytes data, server => client
03:12:43.030276 '226 File transfer complete\r\n'
03:12:43.072239 < 6 bytes data, client => server
03:12:43.072273 'QUIT\r\n'
03:12:43.072382 Received DATA (on stdin)
03:12:43.072393 > 18 bytes data, server => client
03:12:43.072404 '221 bye bye baby\r\n'
03:12:43.072543 ====> Client disconnect
03:12:46.795298 ====> Client connect
03:12:46.795820 Received DATA (on stdin)
03:12:46.795845 > 1 bytes data, server => client
03:12:46.795857 '2'
03:12:46.805901 Received DATA (on stdin)
03:12:46.805933 > 1 bytes data, server => client
03:12:46.805944 '2'
03:12:46.815968 Received DATA (on stdin)
03:12:46.815995 > 1 bytes data, server => client
03:12:46.816014 '0'
03:12:46.826055 Received DATA (on stdin)
03:12:46.826079 > 1 bytes data, server => client
03:12:46.826093 '-'
03:12:46.836101 Received DATA (on stdin)
03:12:46.836123 > 1 bytes data, server => client
03:12:46.836134 ' '
03:12:46.846169 Received DATA (on stdin)
03:12:46.846199 > 1 bytes data, server => client
03:12:46.846210 ' '
03:12:46.856255 Received DATA (on stdin)
03:12:46.856284 > 1 bytes data, server => client
03:12:46.856298 ' '
03:12:46.866329 Received DATA (on stdin)
03:12:46.866375 > 1 bytes data, server => client
03:12:46.866389 ' '
03:12:46.876398 Received DATA (on stdin)
03:12:46.876426 > 1 bytes data, server => client
03:12:46.876440 ' '
03:12:46.886467 Received DATA (on stdin)
03:12:46.886492 > 1 bytes data, server => client
03:12:46.886506 ' '
03:12:46.896530 Received DATA (on stdin)
03:12:46.896554 > 1 bytes data, server => client
03:12:46.896569 ' '
03:12:46.906574 Received DATA (on stdin)
03:12:46.906597 > 1 bytes data, server => client
03:12:46.906607 ' '
03:12:46.916659 Received DATA (on stdin)
03:12:46.916687 > 1 bytes data, server => client
03:12:46.916701 '_'
03:12:46.926723 Received DATA (on stdin)
03:12:46.926748 > 1 bytes data, server => client
03:12:46.926762 ' '
03:12:46.936783 Received DATA (on stdin)
03:12:46.936813 > 1 bytes data, server => client
03:12:46.936832 ' '
03:12:46.946848 Received DATA (on stdin)
03:12:46.946872 > 1 bytes data, server => client
03:12:46.946886 ' '
03:12:46.956910 Received DATA (on stdin)
03:12:46.956934 > 1 bytes data, server => client
03:12:46.956948 '_'
03:12:46.966973 Received DATA (on stdin)
03:12:46.966998 > 1 bytes data, server => client
03:12:46.967012 ' '
03:12:46.977035 Received DATA (on stdin)
03:12:46.977061 > 1 bytes data, server => client
03:12:46.977075 '_'
03:12:46.987097 Received DATA (on stdin)
03:12:46.987122 > 1 bytes data, server => client
03:12:46.987136 '_'
03:12:46.997158 Received DATA (on stdin)
03:12:46.997183 > 1 bytes data, server => client
03:12:46.997197 '_'
03:12:47.007203 Received DATA (on stdin)
03:12:47.007230 > 1 bytes data, server => client
03:12:47.007241 '_'
03:12:47.017289 Received DATA (on stdin)
03:12:47.017319 > 1 bytes data, server => client
03:12:47.017334 ' '
03:12:47.027355 Received DATA (on stdin)
03:12:47.027381 > 1 bytes data, server => client
03:12:47.027395 ' '
03:12:47.037397 Received DATA (on stdin)
03:12:47.037419 > 1 bytes data, server => client
03:12:47.037430 '_'
03:12:47.047484 Received DATA (on stdin)
03:12:47.047509 > 1 bytes data, server => client
03:12:47.047523 ' '
03:12:47.057546 Received DATA (on stdin)
03:12:47.057570 > 1 bytes data, server => client
03:12:47.057584 ' '
03:12:47.067608 Received DATA (on stdin)
03:12:47.067632 > 1 bytes data, server => client
03:12:47.067646 ' '
03:12:47.077676 Received DATA (on stdin)
03:12:47.077704 > 1 bytes data, server => client
03:12:47.077717 ' '
03:12:47.087741 Received DATA (on stdin)
03:12:47.087767 > 1 bytes data, server => client
03:12:47.087781 ' '
03:12:47.097804 Received DATA (on stdin)
03:12:47.097828 > 1 bytes data, server => client
03:12:47.097841 '\r'
03:12:47.107846 Received DATA (on stdin)
03:12:47.107868 > 1 bytes data, server => client
03:12:47.107878 '\n'
03:12:47.117930 Received DATA (on stdin)
03:12:47.117955 > 1 bytes data, server => client
03:12:47.117969 '2'
03:12:47.128006 Received DATA (on stdin)
03:12:47.128031 > 1 bytes data, server => client
03:12:47.128045 '2'
03:12:47.138032 Received DATA (on stdin)
03:12:47.138054 > 1 bytes data, server => client
03:12:47.138065 '0'
03:12:47.148116 Received DATA (on stdin)
03:12:47.148142 > 1 bytes data, server => client
03:12:47.148156 '-'
03:12:47.158177 Received DATA (on stdin)
03:12:47.158201 > 1 bytes data, server => client
03:12:47.158215 ' '
03:12:47.168237 Received DATA (on stdin)
03:12:47.168261 > 1 bytes data, server => client
03:12:47.168275 ' '
03:12:47.178298 Received DATA (on stdin)
03:12:47.178322 > 1 bytes data, server => client
03:12:47.178336 ' '
03:12:47.188360 Received DATA (on stdin)
03:12:47.188384 > 1 bytes data, server => client
03:12:47.188398 ' '
03:12:47.198420 Received DATA (on stdin)
03:12:47.198444 > 1 bytes data, server => client
03:12:47.198457 '_'
03:12:47.208480 Received DATA (on stdin)
03:12:47.208505 > 1 bytes data, server => client
03:12:47.208519 '_'
03:12:47.218541 Received DATA (on stdin)
03:12:47.218564 > 1 bytes data, server => client
03:12:47.218578 '_'
03:12:47.228601 Received DATA (on stdin)
03:12:47.228625 > 1 bytes data, server => client
03:12:47.228639 '|'
03:12:47.238648 Received DATA (on stdin)
03:12:47.238681 > 1 bytes data, server => client
03:12:47.238693 ' '
03:12:47.248734 Received DATA (on stdin)
03:12:47.248761 > 1 bytes data, server => client
03:12:47.248775 '|'
03:12:47.258795 Received DATA (on stdin)
03:12:47.258820 > 1 bytes data, server => client
03:12:47.258834 ' '
03:12:47.268864 Received DATA (on stdin)
03:12:47.268889 > 1 bytes data, server => client
03:12:47.268903 '|'
03:12:47.278927 Received DATA (on stdin)
03:12:47.278951 > 1 bytes data, server => client
03:12:47.278965 ' '
03:12:47.288988 Received DATA (on stdin)
03:12:47.289024 > 1 bytes data, server => client
03:12:47.289039 '|'
03:12:47.299050 Received DATA (on stdin)
03:12:47.299074 > 1 bytes data, server => client
03:12:47.299088 ' '
03:12:47.309114 Received DATA (on stdin)
03:12:47.309138 > 1 bytes data, server => client
03:12:47.309152 ' '
03:12:47.319171 Received DATA (on stdin)
03:12:47.319195 > 1 bytes data, server => client
03:12:47.319209 '_'
03:12:47.329234 Received DATA (on stdin)
03:12:47.329258 > 1 bytes data, server => client
03:12:47.329272 ' '
03:12:47.339275 Received DATA (on stdin)
03:12:47.339297 > 1 bytes data, server => client
03:12:47.339308 '\'
03:12:47.349358 Received DATA (on stdin)
03:12:47.349382 > 1 bytes data, server => client
03:12:47.349395 '|'
03:12:47.359419 Received DATA (on stdin)
03:12:47.359443 > 1 bytes data, server => client
03:12:47.359457 ' '
03:12:47.369481 Received DATA (on stdin)
03:12:47.369505 > 1 bytes data, server => client
03:12:47.369519 '|'
03:12:47.379545 Received DATA (on stdin)
03:12:47.379569 > 1 bytes data, server => client
03:12:47.379583 ' '
03:12:47.389606 Received DATA (on stdin)
03:12:47.389629 > 1 bytes data, server => client
03:12:47.389644 ' '
03:12:47.399667 Received DATA (on stdin)
03:12:47.399690 > 1 bytes data, server => client
03:12:47.399704 ' '
03:12:47.409729 Received DATA (on stdin)
03:12:47.409753 > 1 bytes data, server => client
03:12:47.409767 ' '
03:12:47.419790 Received DATA (on stdin)
03:12:47.419813 > 1 bytes data, server => client
03:12:47.419827 '\r'
03:12:47.429851 Received DATA (on stdin)
03:12:47.429874 > 1 bytes data, server => client
03:12:47.429888 '\n'
03:12:47.439911 Received DATA (on stdin)
03:12:47.439936 > 1 bytes data, server => client
03:12:47.439950 '2'
03:12:47.449975 Received DATA (on stdin)
03:12:47.449998 > 1 bytes data, server => client
03:12:47.450012 '2'
03:12:47.460032 Received DATA (on stdin)
03:12:47.460056 > 1 bytes data, server => client
03:12:47.460070 '0'
03:12:47.470104 Received DATA (on stdin)
03:12:47.470128 > 1 bytes data, server => client
03:12:47.470142 '-'
03:12:47.480183 Received DATA (on stdin)
03:12:47.480208 > 1 bytes data, server => client
03:12:47.480222 ' '
03:12:47.490238 Received DATA (on stdin)
03:12:47.490261 > 1 bytes data, server => client
03:12:47.490275 ' '
03:12:47.500303 Received DATA (on stdin)
03:12:47.500326 > 1 bytes data, server => client
03:12:47.500340 ' '
03:12:47.510371 Received DATA (on stdin)
03:12:47.510396 > 1 bytes data, server => client
03:12:47.510410 '/'
03:12:47.520446 Received DATA (on stdin)
03:12:47.520491 > 1 bytes data, server => client
03:12:47.520505 ' '
03:12:47.530518 Received DATA (on stdin)
03:12:47.530544 > 1 bytes data, server => client
03:12:47.530558 '_'
03:12:47.540590 Received DATA (on stdin)
03:12:47.540626 > 1 bytes data, server => client
03:12:47.540640 '_'
03:12:47.550660 Received DATA (on stdin)
03:12:47.550704 > 1 bytes data, server => client
03:12:47.550718 '|'
03:12:47.560740 Received DATA (on stdin)
03:12:47.560769 > 1 bytes data, server => client
03:12:47.560783 ' '
03:12:47.570807 Received DATA (on stdin)
03:12:47.570834 > 1 bytes data, server => client
03:12:47.570848 '|'
03:12:47.580876 Received DATA (on stdin)
03:12:47.580902 > 1 bytes data, server => client
03:12:47.580916 ' '
03:12:47.590948 Received DATA (on stdin)
03:12:47.590973 > 1 bytes data, server => client
03:12:47.590987 '|'
03:12:47.601017 Received DATA (on stdin)
03:12:47.601041 > 1 bytes data, server => client
03:12:47.601055 ' '
03:12:47.611087 Received DATA (on stdin)
03:12:47.611113 > 1 bytes data, server => client
03:12:47.611126 '|'
03:12:47.621155 Received DATA (on stdin)
03:12:47.621178 > 1 bytes data, server => client
03:12:47.621192 ' '
03:12:47.631223 Received DATA (on stdin)
03:12:47.631247 > 1 bytes data, server => client
03:12:47.631262 '|'
03:12:47.641288 Received DATA (on stdin)
03:12:47.641312 > 1 bytes data, server => client
03:12:47.641326 '_'
03:12:47.651362 Received DATA (on stdin)
03:12:47.651400 > 1 bytes data, server => client
03:12:47.651414 ')'
03:12:47.661433 Received DATA (on stdin)
03:12:47.661471 > 1 bytes data, server => client
03:12:47.661486 ' '
03:12:47.671501 Received DATA (on stdin)
03:12:47.671527 > 1 bytes data, server => client
03:12:47.671541 '|'
03:12:47.681572 Received DATA (on stdin)
03:12:47.681597 > 1 bytes data, server => client
03:12:47.681611 ' '
03:12:47.691641 Received DATA (on stdin)
03:12:47.691665 > 1 bytes data, server => client
03:12:47.691679 '|'
03:12:47.701708 Received DATA (on stdin)
03:12:47.701732 > 1 bytes data, server => client
03:12:47.701747 ' '
03:12:47.711777 Received DATA (on stdin)
03:12:47.711801 > 1 bytes data, server => client
03:12:47.711815 ' '
03:12:47.721845 Received DATA (on stdin)
03:12:47.721870 > 1 bytes data, server => client
03:12:47.721884 ' '
03:12:47.731914 Received DATA (on stdin)
03:12:47.731938 > 1 bytes data, server => client
03:12:47.731952 ' '
03:12:47.741971 Received DATA (on stdin)
03:12:47.742021 > 1 bytes data, server => client
03:12:47.742039 '\r'
03:12:47.752036 Received DATA (on stdin)
03:12:47.752084 > 1 bytes data, server => client
03:12:47.752101 '\n'
03:12:47.762128 Received DATA (on stdin)
03:12:47.762157 > 1 bytes data, server => client
03:12:47.762171 '2'
03:12:47.772192 Received DATA (on stdin)
03:12:47.772217 > 1 bytes data, server => client
03:12:47.772232 '2'
03:12:47.782249 Received DATA (on stdin)
03:12:47.782271 > 1 bytes data, server => client
03:12:47.782282 '0'
03:12:47.792353 Received DATA (on stdin)
03:12:47.792398 > 1 bytes data, server => client
03:12:47.792414 '-'
03:12:47.802423 Received DATA (on stdin)
03:12:47.802447 > 1 bytes data, server => client
03:12:47.802458 ' '
03:12:47.812493 Received DATA (on stdin)
03:12:47.812521 > 1 bytes data, server => client
03:12:47.812536 ' '
03:12:47.822566 Received DATA (on stdin)
03:12:47.822586 > 1 bytes data, server => client
03:12:47.822596 '|'
03:12:47.832638 Received DATA (on stdin)
03:12:47.832660 > 1 bytes data, server => client
03:12:47.832674 ' '
03:12:47.842712 Received DATA (on stdin)
03:12:47.842735 > 1 bytes data, server => client
03:12:47.842745 '('
03:12:47.852787 Received DATA (on stdin)
03:12:47.852808 > 1 bytes data, server => client
03:12:47.852818 '_'
03:12:47.862855 Received DATA (on stdin)
03:12:47.862887 > 1 bytes data, server => client
03:12:47.862901 '_'
03:12:47.872935 Received DATA (on stdin)
03:12:47.872981 > 1 bytes data, server => client
03:12:47.872995 '|'
03:12:47.883000 Received DATA (on stdin)
03:12:47.883021 > 1 bytes data, server => client
03:12:47.883033 ' '
03:12:47.893067 Received DATA (on stdin)
03:12:47.893092 > 1 bytes data, server => client
03:12:47.893105 '|'
03:12:47.903130 Received DATA (on stdin)
03:12:47.903149 > 1 bytes data, server => client
03:12:47.903161 '_'
03:12:47.913194 Received DATA (on stdin)
03:12:47.913214 > 1 bytes data, server => client
03:12:47.913227 '|'
03:12:47.923258 Received DATA (on stdin)
03:12:47.923281 > 1 bytes data, server => client
03:12:47.923294 ' '
03:12:47.933322 Received DATA (on stdin)
03:12:47.933343 > 1 bytes data, server => client
03:12:47.933355 '|'
03:12:47.943385 Received DATA (on stdin)
03:12:47.943404 > 1 bytes data, server => client
03:12:47.943417 ' '
03:12:47.953447 Received DATA (on stdin)
03:12:47.953465 > 1 bytes data, server => client
03:12:47.953477 ' '
03:12:47.963510 Received DATA (on stdin)
03:12:47.963532 > 1 bytes data, server => client
03:12:47.963545 '_'
03:12:47.973571 Received DATA (on stdin)
03:12:47.973589 > 1 bytes data, server => client
03:12:47.973602 ' '
03:12:47.983632 Received DATA (on stdin)
03:12:47.983648 > 1 bytes data, server => client
03:12:47.983661 '{'
03:12:47.993696 Received DATA (on stdin)
03:12:47.993722 > 1 bytes data, server => client
03:12:47.993735 '|'
03:12:48.003766 Received DATA (on stdin)
03:12:48.003802 > 1 bytes data, server => client
03:12:48.003816 ' '
03:12:48.013830 Received DATA (on stdin)
03:12:48.013852 > 1 bytes data, server => client
03:12:48.013864 '|'
03:12:48.023917 Received DATA (on stdin)
03:12:48.023943 > 1 bytes data, server => client
03:12:48.023957 '_'
03:12:48.033985 Received DATA (on stdin)
03:12:48.034011 > 1 bytes data, server => client
03:12:48.034034 '_'
03:12:48.044045 Received DATA (on stdin)
03:12:48.044076 > 1 bytes data, server => client
03:12:48.044090 '_'
03:12:48.054110 Received DATA (on stdin)
03:12:48.054136 > 1 bytes data, server => client
03:12:48.054150 ' '
03:12:48.064176 Received DATA (on stdin)
03:12:48.064201 > 1 bytes data, server => client
03:12:48.064215 '\r'
03:12:48.074239 Received DATA (on stdin)
03:12:48.074264 > 1 bytes data, server => client
03:12:48.074277 '\n'
03:12:48.084303 Received DATA (on stdin)
03:12:48.084327 > 1 bytes data, server => client
03:12:48.084341 '2'
03:12:48.094373 Received DATA (on stdin)
03:12:48.094397 > 1 bytes data, server => client
03:12:48.094411 '2'
03:12:48.104436 Received DATA (on stdin)
03:12:48.104459 > 1 bytes data, server => client
03:12:48.104473 '0'
03:12:48.114502 Received DATA (on stdin)
03:12:48.114526 > 1 bytes data, server => client
03:12:48.114540 ' '
03:12:48.124567 Received DATA (on stdin)
03:12:48.124591 > 1 bytes data, server => client
03:12:48.124605 ' '
03:12:48.134629 Received DATA (on stdin)
03:12:48.134653 > 1 bytes data, server => client
03:12:48.134667 ' '
03:12:48.144693 Received DATA (on stdin)
03:12:48.144716 > 1 bytes data, server => client
03:12:48.144730 ' '
03:12:48.154735 Received DATA (on stdin)
03:12:48.154758 > 1 bytes data, server => client
03:12:48.154770 '\'
03:12:48.164816 Received DATA (on stdin)
03:12:48.164840 > 1 bytes data, server => client
03:12:48.164854 '_'
03:12:48.174859 Received DATA (on stdin)
03:12:48.174883 > 1 bytes data, server => client
03:12:48.174894 '_'
03:12:48.184943 Received DATA (on stdin)
03:12:48.184967 > 1 bytes data, server => client
03:12:48.184981 '_'
03:12:48.195005 Received DATA (on stdin)
03:12:48.195028 > 1 bytes data, server => client
03:12:48.195042 '|'
03:12:48.205066 Received DATA (on stdin)
03:12:48.205090 > 1 bytes data, server => client
03:12:48.205104 '\'
03:12:48.215131 Received DATA (on stdin)
03:12:48.215156 > 1 bytes data, server => client
03:12:48.215170 '_'
03:12:48.225192 Received DATA (on stdin)
03:12:48.225216 > 1 bytes data, server => client
03:12:48.225230 '_'
03:12:48.235235 Received DATA (on stdin)
03:12:48.235259 > 1 bytes data, server => client
03:12:48.235269 '_'
03:12:48.245317 Received DATA (on stdin)
03:12:48.245342 > 1 bytes data, server => client
03:12:48.245356 '/'
03:12:48.255381 Received DATA (on stdin)
03:12:48.255404 > 1 bytes data, server => client
03:12:48.255418 '|'
03:12:48.265443 Received DATA (on stdin)
03:12:48.265467 > 1 bytes data, server => client
03:12:48.265480 '_'
03:12:48.275504 Received DATA (on stdin)
03:12:48.275528 > 1 bytes data, server => client
03:12:48.275542 '|'
03:12:48.285568 Received DATA (on stdin)
03:12:48.285592 > 1 bytes data, server => client
03:12:48.285606 ' '
03:12:48.295629 Received DATA (on stdin)
03:12:48.295653 > 1 bytes data, server => client
03:12:48.295667 '\'
03:12:48.305672 Received DATA (on stdin)
03:12:48.305694 > 1 bytes data, server => client
03:12:48.305705 '_'
03:12:48.315772 Received DATA (on stdin)
03:12:48.315820 > 1 bytes data, server => client
03:12:48.315838 '\'
03:12:48.325859 Received DATA (on stdin)
03:12:48.325887 > 1 bytes data, server => client
03:12:48.325901 '_'
03:12:48.335926 Received DATA (on stdin)
03:12:48.335950 > 1 bytes data, server => client
03:12:48.335964 '_'
03:12:48.345998 Received DATA (on stdin)
03:12:48.346024 > 1 bytes data, server => client
03:12:48.346038 '_'
03:12:48.356048 Received DATA (on stdin)
03:12:48.356072 > 1 bytes data, server => client
03:12:48.356086 '_'
03:12:48.366113 Received DATA (on stdin)
03:12:48.366137 > 1 bytes data, server => client
03:12:48.366151 '_'
03:12:48.376179 Received DATA (on stdin)
03:12:48.376205 > 1 bytes data, server => client
03:12:48.376218 '|'
03:12:48.386248 Received DATA (on stdin)
03:12:48.386272 > 1 bytes data, server => client
03:12:48.386285 '\r'
03:12:48.396316 Received DATA (on stdin)
03:12:48.396340 > 1 bytes data, server => client
03:12:48.396353 '\n'
03:12:48.405421 < 16 bytes data, client => server
03:12:48.405443 'USER anonymous\r\n'
03:12:48.406549 Received DATA (on stdin)
03:12:48.406562 > 1 bytes data, server => client
03:12:48.406571 '3'
03:12:48.416640 Received DATA (on stdin)
03:12:48.416668 > 1 bytes data, server => client
03:12:48.416682 '3'
03:12:48.426707 Received DATA (on stdin)
03:12:48.426731 > 1 bytes data, server => client
03:12:48.426745 '1'
03:12:48.436776 Received DATA (on stdin)
03:12:48.436801 > 1 bytes data, server => client
03:12:48.436819 ' '
03:12:48.446835 Received DATA (on stdin)
03:12:48.446864 > 1 bytes data, server => client
03:12:48.446882 'O'
03:12:48.456912 Received DATA (on stdin)
03:12:48.456935 > 1 bytes data, server => client
03:12:48.456949 'K'
03:12:48.466980 Received DATA (on stdin)
03:12:48.467004 > 1 bytes data, server => client
03:12:48.467018 '\r'
03:12:48.477032 Received DATA (on stdin)
03:12:48.477058 > 1 bytes data, server => client
03:12:48.477069 '\n'
03:12:48.478892 < 22 bytes data, client => server
03:12:48.478917 'PASS ftp@example.com\r\n'
03:12:48.487254 Received DATA (on stdin)
03:12:48.487274 > 1 bytes data, server => client
03:12:48.487285 '2'
03:12:48.497321 Received DATA (on stdin)
03:12:48.497340 > 1 bytes data, server => client
03:12:48.497352 '3'
03:12:48.507384 Received DATA (on stdin)
03:12:48.507401 > 1 bytes data, server => client
03:12:48.507411 '0'
03:12:48.517452 Received DATA (on stdin)
03:12:48.517471 > 1 bytes data, server => client
03:12:48.517481 ' '
03:12:48.527520 Received DATA (on stdin)
03:12:48.527539 > 1 bytes data, server => client
03:12:48.527549 'O'
03:12:48.537585 Received DATA (on stdin)
03:12:48.537605 > 1 bytes data, server => client
03:12:48.537615 'K'
03:12:48.547660 Received DATA (on stdin)
03:12:48.547708 > 1 bytes data, server => client
03:12:48.547726 '\r'
03:12:48.557729 Received DATA (on stdin)
03:12:48.557749 > 1 bytes data, server => client
03:12:48.557759 '\n'
03:12:48.558973 < 8 bytes data, client => server
03:12:48.558985 'PBSZ 0\r\n'
03:12:48.567974 Received DATA (on stdin)
03:12:48.568011 > 1 bytes data, server => client
03:12:48.568031 '5'
03:12:48.578040 Received DATA (on stdin)
03:12:48.578065 > 1 bytes data, server => client
03:12:48.578079 '0'
03:12:48.588100 Received DATA (on stdin)
03:12:48.588124 > 1 bytes data, server => client
03:12:48.588138 '0'
03:12:48.598171 Received DATA (on stdin)
03:12:48.598194 > 1 bytes data, server => client
03:12:48.598208 ' '
03:12:48.608234 Received DATA (on stdin)
03:12:48.608257 > 1 bytes data, server => client
03:12:48.608271 'P'
03:12:48.618302 Received DATA (on stdin)
03:12:48.618327 > 1 bytes data, server => client
03:12:48.618341 'B'
03:12:48.628363 Received DATA (on stdin)
03:12:48.628387 > 1 bytes data, server => client
03:12:48.628401 'S'
03:12:48.638431 Received DATA (on stdin)
03:12:48.638456 > 1 bytes data, server => client
03:12:48.638469 'Z'
03:12:48.648497 Received DATA (on stdin)
03:12:48.648521 > 1 bytes data, server => client
03:12:48.648535 ' '
03:12:48.658564 Received DATA (on stdin)
03:12:48.658591 > 1 bytes data, server => client
03:12:48.658605 'n'
03:12:48.668629 Received DATA (on stdin)
03:12:48.668652 > 1 bytes data, server => client
03:12:48.668666 'o'
03:12:48.678696 Received DATA (on stdin)
03:12:48.678720 > 1 bytes data, server => client
03:12:48.678733 't'
03:12:48.688747 Received DATA (on stdin)
03:12:48.688775 > 1 bytes data, server => client
03:12:48.688789 ' '
03:12:48.698831 Received DATA (on stdin)
03:12:48.698854 > 1 bytes data, server => client
03:12:48.698868 'i'
03:12:48.708895 Received DATA (on stdin)
03:12:48.708919 > 1 bytes data, server => client
03:12:48.708932 'm'
03:12:48.718963 Received DATA (on stdin)
03:12:48.718988 > 1 bytes data, server => client
03:12:48.719002 'p'
03:12:48.729028 Received DATA (on stdin)
03:12:48.729052 > 1 bytes data, server => client
03:12:48.729066 'l'
03:12:48.739071 Received DATA (on stdin)
03:12:48.739094 > 1 bytes data, server => client
03:12:48.739105 'e'
03:12:48.749160 Received DATA (on stdin)
03:12:48.749183 > 1 bytes data, server => client
03:12:48.749197 'm'
03:12:48.759225 Received DATA (on stdin)
03:12:48.759249 > 1 bytes data, server => client
03:12:48.759272 'e'
03:12:48.769291 Received DATA (on stdin)
03:12:48.769314 > 1 bytes data, server => client
03:12:48.769328 'n'
03:12:48.779354 Received DATA (on stdin)
03:12:48.779380 > 1 bytes data, server => client
03:12:48.779394 't'
03:12:48.789427 Received DATA (on stdin)
03:12:48.789451 > 1 bytes data, server => client
03:12:48.789464 'e'
03:12:48.799495 Received DATA (on stdin)
03:12:48.799519 > 1 bytes data, server => client
03:12:48.799532 'd'
03:12:48.809562 Received DATA (on stdin)
03:12:48.809586 > 1 bytes data, server => client
03:12:48.809599 '\r'
03:12:48.819629 Received DATA (on stdin)
03:12:48.819652 > 1 bytes data, server => client
03:12:48.819666 '\n'
03:12:48.820713 < 8 bytes data, client => server
03:12:48.820735 'PROT C\r\n'
03:12:48.829856 Received DATA (on stdin)
03:12:48.829888 > 1 bytes data, server => client
03:12:48.829907 '5'
03:12:48.839930 Received DATA (on stdin)
03:12:48.839974 > 1 bytes data, server => client
03:12:48.839985 '0'
03:12:48.850024 Received DATA (on stdin)
03:12:48.850055 > 1 bytes data, server => client
03:12:48.850069 '0'
03:12:48.860090 Received DATA (on stdin)
03:12:48.860117 > 1 bytes data, server => client
03:12:48.860131 ' '
03:12:48.870149 Received DATA (on stdin)
03:12:48.870199 > 1 bytes data, server => client
03:12:48.870214 'P'
03:12:48.880224 Received DATA (on stdin)
03:12:48.880258 > 1 bytes data, server => client
03:12:48.880271 'R'
03:12:48.890297 Received DATA (on stdin)
03:12:48.890317 > 1 bytes data, server => client
03:12:48.890329 'O'
03:12:48.900369 Received DATA (on stdin)
03:12:48.900395 > 1 bytes data, server => client
03:12:48.900409 'T'
03:12:48.910440 Received DATA (on stdin)
03:12:48.910461 > 1 bytes data, server => client
03:12:48.910473 ' '
03:12:48.920511 Received DATA (on stdin)
03:12:48.920531 > 1 bytes data, server => client
03:12:48.920543 'n'
03:12:48.930581 Received DATA (on stdin)
03:12:48.930598 > 1 bytes data, server => client
03:12:48.930611 'o'
03:12:48.940652 Received DATA (on stdin)
03:12:48.940678 > 1 bytes data, server => client
03:12:48.940691 't'
03:12:48.950721 Received DATA (on stdin)
03:12:48.950739 > 1 bytes data, server => client
03:12:48.950752 ' '
03:12:48.960791 Received DATA (on stdin)
03:12:48.960810 > 1 bytes data, server => client
03:12:48.960822 'i'
03:12:48.970859 Received DATA (on stdin)
03:12:48.970883 > 1 bytes data, server => client
03:12:48.970896 'm'
03:12:48.980928 Received DATA (on stdin)
03:12:48.980947 > 1 bytes data, server => client
03:12:48.980959 'p'
03:12:48.990995 Received DATA (on stdin)
03:12:48.991012 > 1 bytes data, server => client
03:12:48.991024 'l'
03:12:49.001067 Received DATA (on stdin)
03:12:49.001089 > 1 bytes data, server => client
03:12:49.001102 'e'
03:12:49.011137 Received DATA (on stdin)
03:12:49.011161 > 1 bytes data, server => client
03:12:49.011174 'm'
03:12:49.021205 Received DATA (on stdin)
03:12:49.021225 > 1 bytes data, server => client
03:12:49.021238 'e'
03:12:49.031276 Received DATA (on stdin)
03:12:49.031307 > 1 bytes data, server => client
03:12:49.031321 'n'
03:12:49.041355 Received DATA (on stdin)
03:12:49.041400 > 1 bytes data, server => client
03:12:49.041415 't'
03:12:49.051424 Received DATA (on stdin)
03:12:49.051450 > 1 bytes data, server => client
03:12:49.051463 'e'
03:12:49.061490 Received DATA (on stdin)
03:12:49.061512 > 1 bytes data, server => client
03:12:49.061525 'd'
03:12:49.071556 Received DATA (on stdin)
03:12:49.071581 > 1 bytes data, server => client
03:12:49.071594 '\r'
03:12:49.081620 Received DATA (on stdin)
03:12:49.081640 > 1 bytes data, server => client
03:12:49.081653 '\n'
03:12:49.082941 < 5 bytes data, client => server
03:12:49.082957 'PWD\r\n'
03:12:49.091885 Received DATA (on stdin)
03:12:49.091907 > 1 bytes data, server => client
03:12:49.091920 '2'
03:12:49.101947 Received DATA (on stdin)
03:12:49.101968 > 1 bytes data, server => client
03:12:49.101980 '5'
03:12:49.112019 Received DATA (on stdin)
03:12:49.112049 > 1 bytes data, server => client
03:12:49.112062 '7'
03:12:49.122082 Received DATA (on stdin)
03:12:49.122102 > 1 bytes data, server => client
03:12:49.122128 ' '
03:12:49.132144 Received DATA (on stdin)
03:12:49.132164 > 1 bytes data, server => client
03:12:49.132177 '"'
03:12:49.142209 Received DATA (on stdin)
03:12:49.142233 > 1 bytes data, server => client
03:12:49.142247 '/'
03:12:49.152273 Received DATA (on stdin)
03:12:49.152294 > 1 bytes data, server => client
03:12:49.152307 '"'
03:12:49.162335 Received DATA (on stdin)
03:12:49.162353 > 1 bytes data, server => client
03:12:49.162366 '\r'
03:12:49.172400 Received DATA (on stdin)
03:12:49.172425 > 1 bytes data, server => client
03:12:49.172436 '\n'
03:12:49.179828 < 6 bytes data, client => server
03:12:49.179852 'EPSV\r\n'
03:12:49.184512 Received DATA (on stdin)
03:12:49.184536 > 1 bytes data, server => client
03:12:49.184550 '2'
03:12:49.194576 Received DATA (on stdin)
03:12:49.194599 > 1 bytes data, server => client
03:12:49.194613 '2'
03:12:49.204636 Received DATA (on stdin)
03:12:49.204660 > 1 bytes data, server => client
03:12:49.204674 '9'
03:12:49.214700 Received DATA (on stdin)
03:12:49.214724 > 1 bytes data, server => client
03:12:49.214737 ' '
03:12:49.224771 Received DATA (on stdin)
03:12:49.224795 > 1 bytes data, server => client
03:12:49.224809 'E'
03:12:49.234827 Received DATA (on stdin)
03:12:49.234850 > 1 bytes data, server => client
03:12:49.234864 'n'
03:12:49.244891 Received DATA (on stdin)
03:12:49.244916 > 1 bytes data, server => client
03:12:49.244930 't'
03:12:49.254952 Received DATA (on stdin)
03:12:49.254982 > 1 bytes data, server => client
03:12:49.255000 'e'
03:12:49.265017 Received DATA (on stdin)
03:12:49.265041 > 1 bytes data, server => client
03:12:49.265055 'r'
03:12:49.275057 Received DATA (on stdin)
03:12:49.275079 > 1 bytes data, server => client
03:12:49.275090 'i'
03:12:49.285149 Received DATA (on stdin)
03:12:49.285174 > 1 bytes data, server => client
03:12:49.285188 'n'
03:12:49.295206 Received DATA (on stdin)
03:12:49.295229 > 1 bytes data, server => client
03:12:49.295244 'g'
03:12:49.305246 Received DATA (on stdin)
03:12:49.305267 > 1 bytes data, server => client
03:12:49.305277 ' '
03:12:49.315332 Received DATA (on stdin)
03:12:49.315360 > 1 bytes data, server => client
03:12:49.315374 'P'
03:12:49.325394 Received DATA (on stdin)
03:12:49.325418 > 1 bytes data, server => client
03:12:49.325432 'a'
03:12:49.335455 Received DATA (on stdin)
03:12:49.335479 > 1 bytes data, server => client
03:12:49.335493 's'
03:12:49.345517 Received DATA (on stdin)
03:12:49.345541 > 1 bytes data, server => client
03:12:49.345555 's'
03:12:49.355579 Received DATA (on stdin)
03:12:49.355603 > 1 bytes data, server => client
03:12:49.355617 'i'
03:12:49.365648 Received DATA (on stdin)
03:12:49.365671 > 1 bytes data, server => client
03:12:49.365685 'v'
03:12:49.375685 Received DATA (on stdin)
03:12:49.375708 > 1 bytes data, server => client
03:12:49.375718 'e'
03:12:49.385770 Received DATA (on stdin)
03:12:49.385810 > 1 bytes data, server => client
03:12:49.385824 ' '
03:12:49.395832 Received DATA (on stdin)
03:12:49.395856 > 1 bytes data, server => client
03:12:49.395870 'M'
03:12:49.405875 Received DATA (on stdin)
03:12:49.405896 > 1 bytes data, server => client
03:12:49.405907 'o'
03:12:49.415959 Received DATA (on stdin)
03:12:49.415983 > 1 bytes data, server => client
03:12:49.415997 'd'
03:12:49.426029 Received DATA (on stdin)
03:12:49.426053 > 1 bytes data, server => client
03:12:49.426066 'e'
03:12:49.436021 Received DATA (on stdin)
03:12:49.436045 > 1 bytes data, server => client
03:12:49.436059 ' '
03:12:49.446105 Received DATA (on stdin)
03:12:49.446129 > 1 bytes data, server => client
03:12:49.446143 '('
03:12:49.456180 Received DATA (on stdin)
03:12:49.456204 > 1 bytes data, server => client
03:12:49.456218 '|'
03:12:49.466228 Received DATA (on stdin)
03:12:49.466252 > 1 bytes data, server => client
03:12:49.466266 '|'
03:12:49.476289 Received DATA (on stdin)
03:12:49.476314 > 1 bytes data, server => client
03:12:49.476329 '|'
03:12:49.486353 Received DATA (on stdin)
03:12:49.486378 > 1 bytes data, server => client
03:12:49.486392 '4'
03:12:49.496416 Received DATA (on stdin)
03:12:49.496442 > 1 bytes data, server => client
03:12:49.496456 '0'
03:12:49.506459 Received DATA (on stdin)
03:12:49.506480 > 1 bytes data, server => client
03:12:49.506491 '9'
03:12:49.516541 Received DATA (on stdin)
03:12:49.516565 > 1 bytes data, server => client
03:12:49.516579 '2'
03:12:49.526603 Received DATA (on stdin)
03:12:49.526627 > 1 bytes data, server => client
03:12:49.526641 '3'
03:12:49.536646 Received DATA (on stdin)
03:12:49.536675 > 1 bytes data, server => client
03:12:49.536692 '|'
03:12:49.546707 Received DATA (on stdin)
03:12:49.546736 > 1 bytes data, server => client
03:12:49.546755 ')'
03:12:49.556800 Received DATA (on stdin)
03:12:49.556840 > 1 bytes data, server => client
03:12:49.556854 '\n'
03:12:49.568800 < 8 bytes data, client => server
03:12:49.568825 'TYPE I\r\n'
03:12:49.568929 Received DATA (on stdin)
03:12:49.568952 > 1 bytes data, server => client
03:12:49.568966 '2'
03:12:49.578993 Received DATA (on stdin)
03:12:49.579017 > 1 bytes data, server => client
03:12:49.579031 '0'
03:12:49.589055 Received DATA (on stdin)
03:12:49.589078 > 1 bytes data, server => client
03:12:49.589092 '0'
03:12:49.599120 Received DATA (on stdin)
03:12:49.599144 > 1 bytes data, server => client
03:12:49.599159 ' '
03:12:49.609184 Received DATA (on stdin)
03:12:49.609209 > 1 bytes data, server => client
03:12:49.609222 'O'
03:12:49.619257 Received DATA (on stdin)
03:12:49.619281 > 1 bytes data, server => client
03:12:49.619295 'K'
03:12:49.629319 Received DATA (on stdin)
03:12:49.629343 > 1 bytes data, server => client
03:12:49.629357 '\r'
03:12:49.639368 Received DATA (on stdin)
03:12:49.639391 > 1 bytes data, server => client
03:12:49.639405 '\n'
03:12:49.641058 < 11 bytes data, client => server
03:12:49.641081 'SIZE 1112\r\n'
03:12:49.649849 Received DATA (on stdin)
03:12:49.649870 > 1 bytes data, server => client
03:12:49.649884 '2'
03:12:49.659920 Received DATA (on stdin)
03:12:49.659947 > 1 bytes data, server => client
03:12:49.659960 '1'
03:12:49.669963 Received DATA (on stdin)
03:12:49.669988 > 1 bytes data, server => client
03:12:49.670002 '3'
03:12:49.680039 Received DATA (on stdin)
03:12:49.680063 > 1 bytes data, server => client
03:12:49.680077 ' '
03:12:49.690098 Received DATA (on stdin)
03:12:49.690121 > 1 bytes data, server => client
03:12:49.690135 '3'
03:12:49.700168 Received DATA (on stdin)
03:12:49.700191 > 1 bytes data, server => client
03:12:49.700205 '6'
03:12:49.710235 Received DATA (on stdin)
03:12:49.710260 > 1 bytes data, server => client
03:12:49.710274 '0'
03:12:49.720313 Received DATA (on stdin)
03:12:49.720338 > 1 bytes data, server => client
03:12:49.720352 '0'
03:12:49.730362 Received DATA (on stdin)
03:12:49.730387 > 1 bytes data, server => client
03:12:49.730400 '\r'
03:12:49.740410 Received DATA (on stdin)
03:12:49.740433 > 1 bytes data, server => client
03:12:49.740444 '\n'
03:12:49.742639 < 11 bytes data, client => server
03:12:49.742656 'RETR 1112\r\n'
03:12:49.750855 Received DATA (on stdin)
03:12:49.750879 > 1 bytes data, server => client
03:12:49.750893 '1'
03:12:49.760920 Received DATA (on stdin)
03:12:49.760944 > 1 bytes data, server => client
03:12:49.760958 '5'
03:12:49.770966 Received DATA (on stdin)
03:12:49.770988 > 1 bytes data, server => client
03:12:49.770998 '0'
03:12:49.781053 Received DATA (on stdin)
03:12:49.781078 > 1 bytes data, server => client
03:12:49.781092 ' '
03:12:49.791120 Received DATA (on stdin)
03:12:49.791143 > 1 bytes data, server => client
03:12:49.791157 'B'
03:12:49.801188 Received DATA (on stdin)
03:12:49.801213 > 1 bytes data, server => client
03:12:49.801227 'i'
03:12:49.811255 Received DATA (on stdin)
03:12:49.811279 > 1 bytes data, server => client
03:12:49.811293 'n'
03:12:49.821322 Received DATA (on stdin)
03:12:49.821346 > 1 bytes data, server => client
03:12:49.821360 'a'
03:12:49.831389 Received DATA (on stdin)
03:12:49.831413 > 1 bytes data, server => client
03:12:49.831427 'r'
03:12:49.841453 Received DATA (on stdin)
03:12:49.841511 > 1 bytes data, server => client
03:12:49.841531 'y'
03:12:49.851545 Received DATA (on stdin)
03:12:49.851574 > 1 bytes data, server => client
03:12:49.851589 ' '
03:12:49.861617 Received DATA (on stdin)
03:12:49.861643 > 1 bytes data, server => client
03:12:49.861657 'd'
03:12:49.871674 Received DATA (on stdin)
03:12:49.871711 > 1 bytes data, server => client
03:12:49.871731 'a'
03:12:49.881771 Received DATA (on stdin)
03:12:49.881810 > 1 bytes data, server => client
03:12:49.881825 't'
03:12:49.891843 Received DATA (on stdin)
03:12:49.891868 > 1 bytes data, server => client
03:12:49.891882 'a'
03:12:49.901914 Received DATA (on stdin)
03:12:49.901938 > 1 bytes data, server => client
03:12:49.901952 ' '
03:12:49.911986 Received DATA (on stdin)
03:12:49.912020 > 1 bytes data, server => client
03:12:49.912039 'c'
03:12:49.922057 Received DATA (on stdin)
03:12:49.922082 > 1 bytes data, server => client
03:12:49.922096 'o'
03:12:49.932124 Received DATA (on stdin)
03:12:49.932148 > 1 bytes data, server => client
03:12:49.932162 'n'
03:12:49.942195 Received DATA (on stdin)
03:12:49.942223 > 1 bytes data, server => client
03:12:49.942237 'n'
03:12:49.952265 Received DATA (on stdin)
03:12:49.952290 > 1 bytes data, server => client
03:12:49.952304 'e'
03:12:49.962314 Received DATA (on stdin)
03:12:49.962336 > 1 bytes data, server => client
03:12:49.962350 'c'
03:12:49.972393 Received DATA (on stdin)
03:12:49.972416 > 1 bytes data, server => client
03:12:49.972430 't'
03:12:49.982449 Received DATA (on stdin)
03:12:49.982469 > 1 bytes data, server => client
03:12:49.982479 'i'
03:12:49.992535 Received DATA (on stdin)
03:12:49.992554 > 1 bytes data, server => client
03:12:49.992568 'o'
03:12:50.002584 Received DATA (on stdin)
03:12:50.002604 > 1 bytes data, server => client
03:12:50.002614 'n'
03:12:50.012671 Received DATA (on stdin)
03:12:50.012700 > 1 bytes data, server => client
03:12:50.012714 ' '
03:12:50.022720 Received DATA (on stdin)
03:12:50.022737 > 1 bytes data, server => client
03:12:50.022746 'f'
03:12:50.032785 Received DATA (on stdin)
03:12:50.032808 > 1 bytes data, server => client
03:12:50.032819 'o'
03:12:50.042852 Received DATA (on stdin)
03:12:50.042880 > 1 bytes data, server => client
03:12:50.042891 'r'
03:12:50.052938 Received DATA (on stdin)
03:12:50.052964 > 1 bytes data, server => client
03:12:50.052978 ' '
03:12:50.063005 Received DATA (on stdin)
03:12:50.063029 > 1 bytes data, server => client
03:12:50.063043 '1'
03:12:50.073063 Received DATA (on stdin)
03:12:50.073086 > 1 bytes data, server => client
03:12:50.073100 '1'
03:12:50.083133 Received DATA (on stdin)
03:12:50.083157 > 1 bytes data, server => client
03:12:50.083171 '1'
03:12:50.093220 Received DATA (on stdin)
03:12:50.093267 > 1 bytes data, server => client
03:12:50.093281 '2'
03:12:50.103295 Received DATA (on stdin)
03:12:50.103325 > 1 bytes data, server => client
03:12:50.103340 ' '
03:12:50.113368 Received DATA (on stdin)
03:12:50.113396 > 1 bytes data, server => client
03:12:50.113411 '('
03:12:50.123437 Received DATA (on stdin)
03:12:50.123462 > 1 bytes data, server => client
03:12:50.123476 ')'
03:12:50.133506 Received DATA (on stdin)
03:12:50.133531 > 1 bytes data, server => client
03:12:50.133544 ' '
03:12:50.143574 Received DATA (on stdin)
03:12:50.143599 > 1 bytes data, server => client
03:12:50.143613 '('
03:12:50.153625 Received DATA (on stdin)
03:12:50.153650 > 1 bytes data, server => client
03:12:50.153660 '3'
03:12:50.163714 Received DATA (on stdin)
03:12:50.163739 > 1 bytes data, server => client
03:12:50.163753 '6'
03:12:50.173783 Received DATA (on stdin)
03:12:50.173807 > 1 bytes data, server => client
03:12:50.173821 '0'
03:12:50.183853 Received DATA (on stdin)
03:12:50.183878 > 1 bytes data, server => client
03:12:50.183892 '0'
03:12:50.193919 Received DATA (on stdin)
03:12:50.193943 > 1 bytes data, server => client
03:12:50.193957 ' '
03:12:50.203979 Received DATA (on stdin)
03:12:50.204009 > 1 bytes data, server => client
03:12:50.204025 'b'
03:12:50.214051 Received DATA (on stdin)
03:12:50.214076 > 1 bytes data, server => client
03:12:50.214090 'y'
03:12:50.224114 Received DATA (on stdin)
03:12:50.224149 > 1 bytes data, server => client
03:12:50.224163 't'
03:12:50.234182 Received DATA (on stdin)
03:12:50.234206 > 1 bytes data, server => client
03:12:50.234220 'e'
03:12:50.244246 Received DATA (on stdin)
03:12:50.244273 > 1 bytes data, server => client
03:12:50.244287 's'
03:12:50.254313 Received DATA (on stdin)
03:12:50.254338 > 1 bytes data, server => client
03:12:50.254352 ')'
03:12:50.264380 Received DATA (on stdin)
03:12:50.264404 > 1 bytes data, server => client
03:12:50.264418 '.'
03:12:50.274446 Received DATA (on stdin)
03:12:50.274471 > 1 bytes data, server => client
03:12:50.274485 '\r'
03:12:50.284516 Received DATA (on stdin)
03:12:50.284540 > 1 bytes data, server => client
03:12:50.284554 '\n'
03:13:01.059060 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:12:42.028747 Running IPv4 version
03:12:42.028821 Listening on port 33837
03:12:42.028851 Wrote pid 8199 to ./.ftp_sockdata.pid
03:12:42.028867 Received PING (on stdin)
03:12:42.028923 Received PORT (on stdin)
03:12:42.029262 ====> Client connect
03:12:42.030078 Received DATA (on stdin)
03:12:42.030089 > 16 bytes data, server => client
03:12:42.030099 'WE ROOLZ: 8076\r\n'
03:12:42.030150 Received DISC (on stdin)
03:12:42.030166 ====> Client forcibly disconnected
03:12:42.030185 Received QUIT (on stdin)
03:12:42.030195 quits
03:12:42.030208 ============> sockfilt quits
03:12:48.184184 Running IPv4 version
03:12:48.184245 Listening on port 40923
03:12:48.184287 Wrote pid 8204 to ./.ftp_sockdata.pid
03:12:48.184304 Received PING (on stdin)
03:12:48.184382 Received PORT (on stdin)
03:12:48.563204 ====> Client connect
03:12:49.294663 Received DATA (on stdin)
03:12:49.294690 > 1 bytes data, server => client
03:12:49.294703 'L'
03:12:49.304725 Received DATA (on stdin)
03:12:49.304751 > 1 bytes data, server => client
03:12:49.304764 'o'
03:12:49.314792 Received DATA (on stdin)
03:12:49.314821 > 1 bytes data, server => client
03:12:49.314834 'n'
03:12:49.324862 Received DATA (on stdin)
03:12:49.324886 > 1 bytes data, server => client
03:12:49.324900 'g'
03:12:49.334911 Received DATA (on stdin)
03:12:49.334937 > 1 bytes data, server => client
03:12:49.334950 ' '
03:12:49.344982 Received DATA (on stdin)
03:12:49.345009 > 1 bytes data, server => client
03:12:49.345022 'c'
03:12:49.355048 Received DATA (on stdin)
03:12:49.355073 > 1 bytes data, server => client
03:12:49.355082 'h'
03:12:49.365118 Received DATA (on stdin)
03:12:49.365143 > 1 bytes data, server => client
03:12:49.365156 'u'
03:12:49.375182 Received DATA (on stdin)
03:12:49.375206 > 1 bytes data, server => client
03:12:49.375216 'n'
03:12:49.385252 Received DATA (on stdin)
03:12:49.385278 > 1 bytes data, server => client
03:12:49.385291 'k'
03:12:49.395318 Received DATA (on stdin)
03:12:49.395342 > 1 bytes data, server => client
03:12:49.395351 ' '
03:12:49.405382 Received DATA (on stdin)
03:12:49.405405 > 1 bytes data, server => client
03:12:49.405415 'o'
03:12:49.415451 Received DATA (on stdin)
03:12:49.415477 > 1 bytes data, server => client
03:12:49.415490 'f'
03:12:49.425515 Received DATA (on stdin)
03:12:49.425537 > 1 bytes data, server => client
03:12:49.425547 ' '
03:12:49.435583 Received DATA (on stdin)
03:12:49.435609 > 1 bytes data, server => client
03:12:49.435621 'd'
03:12:49.445652 Received DATA (on stdin)
03:12:49.445678 > 1 bytes data, server => client
03:12:49.445691 'a'
03:12:49.455720 Received DATA (on stdin)
03:12:49.455747 > 1 bytes data, server => client
03:12:49.455760 't'
03:12:49.465789 Received DATA (on stdin)
03:12:49.465814 > 1 bytes data, server => client
03:12:49.465827 'a'
03:12:49.475853 Received DATA (on stdin)
03:12:49.475875 > 1 bytes data, server => client
03:12:49.475885 ' '
03:12:49.485921 Received DATA (on stdin)
03:12:49.485946 > 1 bytes data, server => client
03:12:49.485959 't'
03:12:49.495987 Received DATA (on stdin)
03:12:49.496019 > 1 bytes data, server => client
03:12:49.496032 'h'
03:12:49.506053 Received DATA (on stdin)
03:12:49.506078 > 1 bytes data, server => client
03:12:49.506091 'a'
03:12:49.516119 Received DATA (on stdin)
03:12:49.516141 > 1 bytes data, server => client
03:12:49.516151 't'
03:12:49.526182 Received DATA (on stdin)
03:12:49.526204 > 1 bytes data, server => client
03:12:49.526213 ' '
03:12:49.536247 Received DATA (on stdin)
03:12:49.536270 > 1 bytes data, server => client
03:12:49.536283 'c'
03:12:49.546310 Received DATA (on stdin)
03:12:49.546333 > 1 bytes data, server => client
03:12:49.546343 'o'
03:12:49.556393 Received DATA (on stdin)
03:12:49.556442 > 1 bytes data, server => client
03:12:49.556453 'u'
03:12:49.566465 Received DATA (on stdin)
03:12:49.566495 > 1 bytes data, server => client
03:12:49.566507 'l'
03:12:49.576535 Received DATA (on stdin)
03:12:49.576565 > 1 bytes data, server => client
03:12:49.576578 'd'
03:12:49.586604 Received DATA (on stdin)
03:12:49.586630 > 1 bytes data, server => client
03:12:49.586652 'n'
03:12:49.596673 Received DATA (on stdin)
03:12:49.596701 > 1 bytes data, server => client
03:12:49.596713 '''
03:12:49.606743 Received DATA (on stdin)
03:12:49.606770 > 1 bytes data, server => client
03:12:49.606783 't'
03:12:49.616812 Received DATA (on stdin)
03:12:49.616838 > 1 bytes data, server => client
03:12:49.616851 ' '
03:12:49.626881 Received DATA (on stdin)
03:12:49.626906 > 1 bytes data, server => client
03:12:49.626919 'p'
03:12:49.636948 Received DATA (on stdin)
03:12:49.636974 > 1 bytes data, server => client
03:12:49.636984 'o'
03:12:49.647018 Received DATA (on stdin)
03:12:49.647044 > 1 bytes data, server => client
03:12:49.647056 's'
03:12:49.657089 Received DATA (on stdin)
03:12:49.657120 > 1 bytes data, server => client
03:12:49.657132 's'
03:12:49.667159 Received DATA (on stdin)
03:12:49.667185 > 1 bytes data, server => client
03:12:49.667197 'i'
03:12:49.677229 Received DATA (on stdin)
03:12:49.677256 > 1 bytes data, server => client
03:12:49.677269 'b'
03:12:49.687298 Received DATA (on stdin)
03:12:49.687323 > 1 bytes data, server => client
03:12:49.687336 'l'
03:12:49.697367 Received DATA (on stdin)
03:12:49.697393 > 1 bytes data, server => client
03:12:49.697406 'y'
03:12:49.707433 Received DATA (on stdin)
03:12:49.707458 > 1 bytes data, server => client
03:12:49.707472 ' '
03:12:49.717503 Received DATA (on stdin)
03:12:49.717529 > 1 bytes data, server => client
03:12:49.717542 'b'
03:12:49.727569 Received DATA (on stdin)
03:12:49.727592 > 1 bytes data, server => client
03:12:49.727602 'e'
03:12:49.737633 Received DATA (on stdin)
03:12:49.737657 > 1 bytes data, server => client
03:12:49.737666 ' '
03:12:49.747703 Received DATA (on stdin)
03:12:49.747729 > 1 bytes data, server => client
03:12:49.747742 's'
03:12:49.757790 Received DATA (on stdin)
03:12:49.757823 > 1 bytes data, server => client
03:12:49.757843 'e'
03:12:49.767882 Received DATA (on stdin)
03:12:49.767921 > 1 bytes data, server => client
03:12:49.767935 'n'
03:12:49.777952 Received DATA (on stdin)
03:12:49.777988 > 1 bytes data, server => client
03:12:49.778006 't'
03:12:49.788008 Received DATA (on stdin)
03:12:49.788032 > 1 bytes data, server => client
03:12:49.788045 ' '
03:12:49.798076 Received DATA (on stdin)
03:12:49.798100 > 1 bytes data, server => client
03:12:49.798112 'i'
03:12:49.808136 Received DATA (on stdin)
03:12:49.808162 > 1 bytes data, server => client
03:12:49.808175 'n'
03:12:49.818209 Received DATA (on stdin)
03:12:49.818235 > 1 bytes data, server => client
03:12:49.818248 ' '
03:12:49.828261 Received DATA (on stdin)
03:12:49.828283 > 1 bytes data, server => client
03:12:49.828293 't'
03:12:49.838345 Received DATA (on stdin)
03:12:49.838370 > 1 bytes data, server => client
03:12:49.838384 'h'
03:12:49.848415 Received DATA (on stdin)
03:12:49.848439 > 1 bytes data, server => client
03:12:49.848452 'e'
03:12:49.858476 Received DATA (on stdin)
03:12:49.858501 > 1 bytes data, server => client
03:12:49.858514 ' '
03:12:49.868543 Received DATA (on stdin)
03:12:49.868567 > 1 bytes data, server => client
03:12:49.868580 't'
03:12:49.878605 Received DATA (on stdin)
03:12:49.878662 > 1 bytes data, server => client
03:12:49.878683 'i'
03:12:49.888692 Received DATA (on stdin)
03:12:49.888722 > 1 bytes data, server => client
03:12:49.888735 'm'
03:12:49.898758 Received DATA (on stdin)
03:12:49.898783 > 1 bytes data, server => client
03:12:49.898796 'e'
03:12:49.908823 Received DATA (on stdin)
03:12:49.908848 > 1 bytes data, server => client
03:12:49.908861 ' '
03:12:49.918889 Received DATA (on stdin)
03:12:49.918914 > 1 bytes data, server => client
03:12:49.918927 'a'
03:12:49.928950 Received DATA (on stdin)
03:12:49.928974 > 1 bytes data, server => client
03:12:49.928987 'l'
03:12:49.939012 Received DATA (on stdin)
03:12:49.939038 > 1 bytes data, server => client
03:12:49.939051 'l'
03:12:49.949075 Received DATA (on stdin)
03:12:49.949100 > 1 bytes data, server => client
03:12:49.949113 'o'
03:12:49.959136 Received DATA (on stdin)
03:12:49.959160 > 1 bytes data, server => client
03:12:49.959173 't'
03:12:49.969198 Received DATA (on stdin)
03:12:49.969221 > 1 bytes data, server => client
03:12:49.969234 't'
03:12:49.979260 Received DATA (on stdin)
03:12:49.979285 > 1 bytes data, server => client
03:12:49.979298 'e'
03:12:49.989321 Received DATA (on stdin)
03:12:49.989345 > 1 bytes data, server => client
03:12:49.989358 'd'
03:12:49.999383 Received DATA (on stdin)
03:12:49.999408 > 1 bytes data, server => client
03:12:49.999421 '.'
03:12:50.009442 Received DATA (on stdin)
03:12:50.009468 > 1 bytes data, server => client
03:12:50.009481 '\n'
03:12:50.019529 Received DATA (on stdin)
03:12:50.019560 > 1 bytes data, server => client
03:12:50.019574 'L'
03:12:50.029592 Received DATA (on stdin)
03:12:50.029618 > 1 bytes data, server => client
03:12:50.029631 'o'
03:12:50.039655 Received DATA (on stdin)
03:12:50.039680 > 1 bytes data, server => client
03:12:50.039694 'n'
03:12:50.049722 Received DATA (on stdin)
03:12:50.049749 > 1 bytes data, server => client
03:12:50.049762 'g'
03:12:50.059788 Received DATA (on stdin)
03:12:50.059816 > 1 bytes data, server => client
03:12:50.059829 ' '
03:12:50.069833 Received DATA (on stdin)
03:12:50.069859 > 1 bytes data, server => client
03:12:50.069870 'c'
03:12:50.079897 Received DATA (on stdin)
03:12:50.079920 > 1 bytes data, server => client
03:12:50.079930 'h'
03:12:50.089980 Received DATA (on stdin)
03:12:50.090005 > 1 bytes data, server => client
03:12:50.090018 'u'
03:12:50.100036 Received DATA (on stdin)
03:12:50.100077 > 1 bytes data, server => client
03:12:50.100092 'n'
03:12:50.110205 Received DATA (on stdin)
03:12:50.110246 > 1 bytes data, server => client
03:12:50.110262 'k'
03:12:50.120183 Received DATA (on stdin)
03:12:50.120221 > 1 bytes data, server => client
03:12:50.120235 ' '
03:12:50.130263 Received DATA (on stdin)
03:12:50.130303 > 1 bytes data, server => client
03:12:50.130318 'o'
03:12:50.140336 Received DATA (on stdin)
03:12:50.140368 > 1 bytes data, server => client
03:12:50.140380 'f'
03:12:50.150405 Received DATA (on stdin)
03:12:50.150426 > 1 bytes data, server => client
03:12:50.150438 ' '
03:12:50.160481 Received DATA (on stdin)
03:12:50.160511 > 1 bytes data, server => client
03:12:50.160524 'd'
03:12:50.170558 Received DATA (on stdin)
03:12:50.170594 > 1 bytes data, server => client
03:12:50.170608 'a'
03:12:50.180633 Received DATA (on stdin)
03:12:50.180674 > 1 bytes data, server => client
03:12:50.180686 't'
03:12:50.190710 Received DATA (on stdin)
03:12:50.190745 > 1 bytes data, server => client
03:12:50.190757 'a'
03:12:50.200791 Received DATA (on stdin)
03:12:50.200829 > 1 bytes data, server => client
03:12:50.200841 ' '
03:12:50.210866 Received DATA (on stdin)
03:12:50.210898 > 1 bytes data, server => client
03:12:50.210909 't'
03:12:50.220935 Received DATA (on stdin)
03:12:50.220954 > 1 bytes data, server => client
03:12:50.220965 'h'
03:12:50.231009 Received DATA (on stdin)
03:12:50.231042 > 1 bytes data, server => client
03:12:50.231054 'a'
03:12:50.241083 Received DATA (on stdin)
03:12:50.241119 > 1 bytes data, server => client
03:12:50.241132 't'
03:12:50.251173 Received DATA (on stdin)
03:12:50.251208 > 1 bytes data, server => client
03:12:50.251222 ' '
03:12:50.261234 Received DATA (on stdin)
03:12:50.261270 > 1 bytes data, server => client
03:12:50.261285 'c'
03:12:50.271323 Received DATA (on stdin)
03:12:50.271358 > 1 bytes data, server => client
03:12:50.271370 'o'
03:12:50.281380 Received DATA (on stdin)
03:12:50.281398 > 1 bytes data, server => client
03:12:50.281406 'u'
03:12:50.291452 Received DATA (on stdin)
03:12:50.291477 > 1 bytes data, server => client
03:12:50.291491 'l'
03:12:50.301534 Received DATA (on stdin)
03:12:50.301569 > 1 bytes data, server => client
03:12:50.301579 'd'
03:12:50.311610 Received DATA (on stdin)
03:12:50.311636 > 1 bytes data, server => client
03:12:50.311646 'n'
03:12:50.321686 Received DATA (on stdin)
03:12:50.321710 > 1 bytes data, server => client
03:12:50.321719 '''
03:12:50.331760 Received DATA (on stdin)
03:12:50.331794 > 1 bytes data, server => client
03:12:50.331803 't'
03:12:50.341829 Received DATA (on stdin)
03:12:50.341858 > 1 bytes data, server => client
03:12:50.341868 ' '
03:12:50.351898 Received DATA (on stdin)
03:12:50.351924 > 1 bytes data, server => client
03:12:50.351938 'p'
03:12:50.361974 Received DATA (on stdin)
03:12:50.362002 > 1 bytes data, server => client
03:12:50.362011 'o'
03:12:50.372025 Received DATA (on stdin)
03:12:50.372050 > 1 bytes data, server => client
03:12:50.372059 's'
03:12:50.382092 Received DATA (on stdin)
03:12:50.382114 > 1 bytes data, server => client
03:12:50.382123 's'
03:12:50.392172 Received DATA (on stdin)
03:12:50.392214 > 1 bytes data, server => client
03:12:50.392225 'i'
03:12:50.402272 Received DATA (on stdin)
03:12:50.402321 > 1 bytes data, server => client
03:12:50.402334 'b'
03:12:50.412329 Received DATA (on stdin)
03:12:50.412375 > 1 bytes data, server => client
03:12:50.412386 'l'
03:12:50.422421 Received DATA (on stdin)
03:12:50.422459 > 1 bytes data, server => client
03:12:50.422473 'y'
03:12:50.432486 Received DATA (on stdin)
03:12:50.432517 > 1 bytes data, server => client
03:12:50.432529 ' '
03:12:50.442538 Received DATA (on stdin)
03:12:50.442565 > 1 bytes data, server => client
03:12:50.442575 'b'
03:12:50.452622 Received DATA (on stdin)
03:12:50.452648 > 1 bytes data, server => client
03:12:50.452661 'e'
03:12:50.462688 Received DATA (on stdin)
03:12:50.462712 > 1 bytes data, server => client
03:12:50.462726 ' '
03:12:50.472750 Received DATA (on stdin)
03:12:50.472776 > 1 bytes data, server => client
03:12:50.472789 's'
03:12:50.482814 Received DATA (on stdin)
03:12:50.482839 > 1 bytes data, server => client
03:12:50.482852 'e'
03:12:50.492874 Received DATA (on stdin)
03:12:50.492898 > 1 bytes data, server => client
03:12:50.492911 'n'
03:12:50.502960 Received DATA (on stdin)
03:12:50.502990 > 1 bytes data, server => client
03:12:50.503005 't'
03:12:50.513028 Received DATA (on stdin)
03:12:50.513054 > 1 bytes data, server => client
03:12:50.513067 ' '
03:12:50.523096 Received DATA (on stdin)
03:12:50.523120 > 1 bytes data, server => client
03:12:50.523133 'i'
03:12:50.533164 Received DATA (on stdin)
03:12:50.533188 > 1 bytes data, server => client
03:12:50.533201 'n'
03:12:50.543211 Received DATA (on stdin)
03:12:50.543233 > 1 bytes data, server => client
03:12:50.543243 ' '
03:12:50.553299 Received DATA (on stdin)
03:12:50.553325 > 1 bytes data, server => client
03:12:50.553338 't'
03:12:50.563357 Received DATA (on stdin)
03:12:50.563391 > 1 bytes data, server => client
03:12:50.563401 'h'
03:12:50.573425 Received DATA (on stdin)
03:12:50.573449 > 1 bytes data, server => client
03:12:50.573457 'e'
03:12:50.583494 Received DATA (on stdin)
03:12:50.583511 > 1 bytes data, server => client
03:12:50.583519 ' '
03:12:50.593564 Received DATA (on stdin)
03:12:50.593582 > 1 bytes data, server => client
03:12:50.593591 't'
03:12:50.603630 Received DATA (on stdin)
03:12:50.603647 > 1 bytes data, server => client
03:12:50.603670 'i'
03:12:50.613700 Received DATA (on stdin)
03:12:50.613721 > 1 bytes data, server => client
03:12:50.613730 'm'
03:12:50.623768 Received DATA (on stdin)
03:12:50.623784 > 1 bytes data, server => client
03:12:50.623792 'e'
03:12:50.633835 Received DATA (on stdin)
03:12:50.633851 > 1 bytes data, server => client
03:12:50.633859 ' '
03:12:50.643903 Received DATA (on stdin)
03:12:50.643925 > 1 bytes data, server => client
03:12:50.643934 'a'
03:12:50.653971 Received DATA (on stdin)
03:12:50.653987 > 1 bytes data, server => client
03:12:50.653996 'l'
03:12:50.664021 Received DATA (on stdin)
03:12:50.664041 > 1 bytes data, server => client
03:12:50.664050 'l'
03:12:50.674093 Received DATA (on stdin)
03:12:50.674109 > 1 bytes data, server => client
03:12:50.674118 'o'
03:12:50.684172 Received DATA (on stdin)
03:12:50.684192 > 1 bytes data, server => client
03:12:50.684204 't'
03:12:50.694223 Received DATA (on stdin)
03:12:50.694238 > 1 bytes data, server => client
03:12:50.694247 't'
03:12:50.704287 Received DATA (on stdin)
03:12:50.704302 > 1 bytes data, server => client
03:12:50.704311 'e'
03:12:50.714354 Received DATA (on stdin)
03:12:50.714371 > 1 bytes data, server => client
03:12:50.714387 'd'
03:12:50.724425 Received DATA (on stdin)
03:12:50.724456 > 1 bytes data, server => client
03:12:50.724466 '.'
03:12:50.734525 Received DATA (on stdin)
03:12:50.734567 > 1 bytes data, server => client
03:12:50.734586 '\n'
03:12:50.744626 Received DATA (on stdin)
03:12:50.744667 > 1 bytes data, server => client
03:12:50.744679 'L'
03:12:50.754693 Received DATA (on stdin)
03:12:50.754719 > 1 bytes data, server => client
03:12:50.754732 'o'
03:12:50.764761 Received DATA (on stdin)
03:12:50.764786 > 1 bytes data, server => client
03:12:50.764799 'n'
03:12:50.774808 Received DATA (on stdin)
03:12:50.774831 > 1 bytes data, server => client
03:12:50.774841 'g'
03:12:50.784897 Received DATA (on stdin)
03:12:50.784924 > 1 bytes data, server => client
03:12:50.784937 ' '
03:12:50.794966 Received DATA (on stdin)
03:12:50.794991 > 1 bytes data, server => client
03:12:50.795004 'c'
03:12:50.805016 Received DATA (on stdin)
03:12:50.805038 > 1 bytes data, server => client
03:12:50.805048 'h'
03:12:50.815104 Received DATA (on stdin)
03:12:50.815128 > 1 bytes data, server => client
03:12:50.815141 'u'
03:12:50.825172 Received DATA (on stdin)
03:12:50.825197 > 1 bytes data, server => client
03:12:50.825210 'n'
03:12:50.835237 Received DATA (on stdin)
03:12:50.835263 > 1 bytes data, server => client
03:12:50.835276 'k'
03:12:50.845305 Received DATA (on stdin)
03:12:50.845330 > 1 bytes data, server => client
03:12:50.845343 ' '
03:12:50.855374 Received DATA (on stdin)
03:12:50.855398 > 1 bytes data, server => client
03:12:50.855411 'o'
03:12:50.865441 Received DATA (on stdin)
03:12:50.865465 > 1 bytes data, server => client
03:12:50.865478 'f'
03:12:50.875485 Received DATA (on stdin)
03:12:50.875506 > 1 bytes data, server => client
03:12:50.875516 ' '
03:12:50.885579 Received DATA (on stdin)
03:12:50.885617 > 1 bytes data, server => client
03:12:50.885630 'd'
03:12:50.895644 Received DATA (on stdin)
03:12:50.895670 > 1 bytes data, server => client
03:12:50.895683 'a'
03:12:50.905694 Received DATA (on stdin)
03:12:50.905715 > 1 bytes data, server => client
03:12:50.905725 't'
03:12:50.915782 Received DATA (on stdin)
03:12:50.915806 > 1 bytes data, server => client
03:12:50.915818 'a'
03:12:50.925846 Received DATA (on stdin)
03:12:50.925871 > 1 bytes data, server => client
03:12:50.925883 ' '
03:12:50.935913 Received DATA (on stdin)
03:12:50.935937 > 1 bytes data, server => client
03:12:50.935950 't'
03:12:50.945980 Received DATA (on stdin)
03:12:50.946004 > 1 bytes data, server => client
03:12:50.946017 'h'
03:12:50.956021 Received DATA (on stdin)
03:12:50.956045 > 1 bytes data, server => client
03:12:50.956055 'a'
03:12:50.966109 Received DATA (on stdin)
03:12:50.966133 > 1 bytes data, server => client
03:12:50.966146 't'
03:12:50.976174 Received DATA (on stdin)
03:12:50.976200 > 1 bytes data, server => client
03:12:50.976213 ' '
03:12:50.986244 Received DATA (on stdin)
03:12:50.986270 > 1 bytes data, server => client
03:12:50.986284 'c'
03:12:50.996314 Received DATA (on stdin)
03:12:50.996338 > 1 bytes data, server => client
03:12:50.996351 'o'
03:12:51.006374 Received DATA (on stdin)
03:12:51.006400 > 1 bytes data, server => client
03:12:51.006413 'u'
03:12:51.016441 Received DATA (on stdin)
03:12:51.016466 > 1 bytes data, server => client
03:12:51.016479 'l'
03:12:51.026489 Received DATA (on stdin)
03:12:51.026516 > 1 bytes data, server => client
03:12:51.026531 'd'
03:12:51.036585 Received DATA (on stdin)
03:12:51.036608 > 1 bytes data, server => client
03:12:51.036621 'n'
03:12:51.046639 Received DATA (on stdin)
03:12:51.046660 > 1 bytes data, server => client
03:12:51.046669 '''
03:12:51.056706 Received DATA (on stdin)
03:12:51.056720 > 1 bytes data, server => client
03:12:51.056729 't'
03:12:51.066773 Received DATA (on stdin)
03:12:51.066793 > 1 bytes data, server => client
03:12:51.066802 ' '
03:12:51.076845 Received DATA (on stdin)
03:12:51.076867 > 1 bytes data, server => client
03:12:51.076876 'p'
03:12:51.086927 Received DATA (on stdin)
03:12:51.086945 > 1 bytes data, server => client
03:12:51.086970 'o'
03:12:51.096978 Received DATA (on stdin)
03:12:51.096994 > 1 bytes data, server => client
03:12:51.097003 's'
03:12:51.107043 Received DATA (on stdin)
03:12:51.107058 > 1 bytes data, server => client
03:12:51.107067 's'
03:12:51.117110 Received DATA (on stdin)
03:12:51.117125 > 1 bytes data, server => client
03:12:51.117134 'i'
03:12:51.127176 Received DATA (on stdin)
03:12:51.127190 > 1 bytes data, server => client
03:12:51.127198 'b'
03:12:51.137243 Received DATA (on stdin)
03:12:51.137262 > 1 bytes data, server => client
03:12:51.137271 'l'
03:12:51.147325 Received DATA (on stdin)
03:12:51.147345 > 1 bytes data, server => client
03:12:51.147358 'y'
03:12:51.157377 Received DATA (on stdin)
03:12:51.157397 > 1 bytes data, server => client
03:12:51.157407 ' '
03:12:51.167445 Received DATA (on stdin)
03:12:51.167462 > 1 bytes data, server => client
03:12:51.167471 'b'
03:12:51.177509 Received DATA (on stdin)
03:12:51.177527 > 1 bytes data, server => client
03:12:51.177540 'e'
03:12:51.187576 Received DATA (on stdin)
03:12:51.187591 > 1 bytes data, server => client
03:12:51.187600 ' '
03:12:51.197643 Received DATA (on stdin)
03:12:51.197664 > 1 bytes data, server => client
03:12:51.197673 's'
03:12:51.207708 Received DATA (on stdin)
03:12:51.207746 > 1 bytes data, server => client
03:12:51.207755 'e'
03:12:51.217774 Received DATA (on stdin)
03:12:51.217790 > 1 bytes data, server => client
03:12:51.217798 'n'
03:12:51.227845 Received DATA (on stdin)
03:12:51.227860 > 1 bytes data, server => client
03:12:51.227869 't'
03:12:51.237911 Received DATA (on stdin)
03:12:51.237930 > 1 bytes data, server => client
03:12:51.237939 ' '
03:12:51.247970 Received DATA (on stdin)
03:12:51.247984 > 1 bytes data, server => client
03:12:51.247993 'i'
03:12:51.258035 Received DATA (on stdin)
03:12:51.258052 > 1 bytes data, server => client
03:12:51.258061 'n'
03:12:51.268107 Received DATA (on stdin)
03:12:51.268123 > 1 bytes data, server => client
03:12:51.268135 ' '
03:12:51.278159 Received DATA (on stdin)
03:12:51.278177 > 1 bytes data, server => client
03:12:51.278185 't'
03:12:51.288236 Received DATA (on stdin)
03:12:51.288253 > 1 bytes data, server => client
03:12:51.288266 'h'
03:12:51.298295 Received DATA (on stdin)
03:12:51.298309 > 1 bytes data, server => client
03:12:51.298318 'e'
03:12:51.308376 Received DATA (on stdin)
03:12:51.308395 > 1 bytes data, server => client
03:12:51.308411 ' '
03:12:51.318428 Received DATA (on stdin)
03:12:51.318445 > 1 bytes data, server => client
03:12:51.318453 't'
03:12:51.328509 Received DATA (on stdin)
03:12:51.328525 > 1 bytes data, server => client
03:12:51.328542 'i'
03:12:51.338559 Received DATA (on stdin)
03:12:51.338574 > 1 bytes data, server => client
03:12:51.338583 'm'
03:12:51.348628 Received DATA (on stdin)
03:12:51.348646 > 1 bytes data, server => client
03:12:51.348658 'e'
03:12:51.358695 Received DATA (on stdin)
03:12:51.358709 > 1 bytes data, server => client
03:12:51.358722 ' '
03:12:51.368761 Received DATA (on stdin)
03:12:51.368777 > 1 bytes data, server => client
03:12:51.368790 'a'
03:12:51.378831 Received DATA (on stdin)
03:12:51.378851 > 1 bytes data, server => client
03:12:51.378859 'l'
03:12:51.388898 Received DATA (on stdin)
03:12:51.388916 > 1 bytes data, server => client
03:12:51.388924 'l'
03:12:51.398965 Received DATA (on stdin)
03:12:51.398980 > 1 bytes data, server => client
03:12:51.398988 'o'
03:12:51.409028 Received DATA (on stdin)
03:12:51.409050 > 1 bytes data, server => client
03:12:51.409063 't'
03:12:51.419095 Received DATA (on stdin)
03:12:51.419110 > 1 bytes data, server => client
03:12:51.419118 't'
03:12:51.429163 Received DATA (on stdin)
03:12:51.429178 > 1 bytes data, server => client
03:12:51.429186 'e'
03:12:51.439227 Received DATA (on stdin)
03:12:51.439246 > 1 bytes data, server => client
03:12:51.439254 'd'
03:12:51.449294 Received DATA (on stdin)
03:12:51.449310 > 1 bytes data, server => client
03:12:51.449319 '.'
03:12:51.459362 Received DATA (on stdin)
03:12:51.459376 > 1 bytes data, server => client
03:12:51.459384 '\n'
03:12:51.469444 Received DATA (on stdin)
03:12:51.469458 > 1 bytes data, server => client
03:12:51.469467 'L'
03:12:51.479516 Received DATA (on stdin)
03:12:51.479547 > 1 bytes data, server => client
03:12:51.479564 'o'
03:12:51.489581 Received DATA (on stdin)
03:12:51.489604 > 1 bytes data, server => client
03:12:51.489613 'n'
03:12:51.499649 Received DATA (on stdin)
03:12:51.499684 > 1 bytes data, server => client
03:12:51.499693 'g'
03:12:51.509714 Received DATA (on stdin)
03:12:51.509732 > 1 bytes data, server => client
03:12:51.509741 ' '
03:12:51.519784 Received DATA (on stdin)
03:12:51.519800 > 1 bytes data, server => client
03:12:51.519809 'c'
03:12:51.529849 Received DATA (on stdin)
03:12:51.529865 > 1 bytes data, server => client
03:12:51.529874 'h'
03:12:51.539913 Received DATA (on stdin)
03:12:51.539928 > 1 bytes data, server => client
03:12:51.539937 'u'
03:12:51.549980 Received DATA (on stdin)
03:12:51.549998 > 1 bytes data, server => client
03:12:51.550007 'n'
03:12:51.560030 Received DATA (on stdin)
03:12:51.560068 > 1 bytes data, server => client
03:12:51.560078 'k'
03:12:51.570097 Received DATA (on stdin)
03:12:51.570121 > 1 bytes data, server => client
03:12:51.570133 ' '
03:12:51.580179 Received DATA (on stdin)
03:12:51.580199 > 1 bytes data, server => client
03:12:51.580211 'o'
03:12:51.590234 Received DATA (on stdin)
03:12:51.590254 > 1 bytes data, server => client
03:12:51.590263 'f'
03:12:51.600304 Received DATA (on stdin)
03:12:51.600326 > 1 bytes data, server => client
03:12:51.600339 ' '
03:12:51.610376 Received DATA (on stdin)
03:12:51.610395 > 1 bytes data, server => client
03:12:51.610405 'd'
03:12:51.620447 Received DATA (on stdin)
03:12:51.620469 > 1 bytes data, server => client
03:12:51.620478 'a'
03:12:51.630517 Received DATA (on stdin)
03:12:51.630537 > 1 bytes data, server => client
03:12:51.630546 't'
03:12:51.640608 Received DATA (on stdin)
03:12:51.640634 > 1 bytes data, server => client
03:12:51.640647 'a'
03:12:51.650684 Received DATA (on stdin)
03:12:51.650715 > 1 bytes data, server => client
03:12:51.650728 ' '
03:12:51.660769 Received DATA (on stdin)
03:12:51.660815 > 1 bytes data, server => client
03:12:51.660828 't'
03:12:51.670820 Received DATA (on stdin)
03:12:51.670852 > 1 bytes data, server => client
03:12:51.670864 'h'
03:12:51.680908 Received DATA (on stdin)
03:12:51.680934 > 1 bytes data, server => client
03:12:51.680947 'a'
03:12:51.690972 Received DATA (on stdin)
03:12:51.690997 > 1 bytes data, server => client
03:12:51.691010 't'
03:12:51.701038 Received DATA (on stdin)
03:12:51.701062 > 1 bytes data, server => client
03:12:51.701075 ' '
03:12:51.711114 Received DATA (on stdin)
03:12:51.711151 > 1 bytes data, server => client
03:12:51.711168 'c'
03:12:51.721212 Received DATA (on stdin)
03:12:51.721257 > 1 bytes data, server => client
03:12:51.721271 'o'
03:12:51.731292 Received DATA (on stdin)
03:12:51.731326 > 1 bytes data, server => client
03:12:51.731338 'u'
03:12:51.741372 Received DATA (on stdin)
03:12:51.741423 > 1 bytes data, server => client
03:12:51.741434 'l'
03:12:51.751444 Received DATA (on stdin)
03:12:51.751485 > 1 bytes data, server => client
03:12:51.751497 'd'
03:12:51.761509 Received DATA (on stdin)
03:12:51.761537 > 1 bytes data, server => client
03:12:51.761550 'n'
03:12:51.771583 Received DATA (on stdin)
03:12:51.771628 > 1 bytes data, server => client
03:12:51.771641 '''
03:12:51.781650 Received DATA (on stdin)
03:12:51.781674 > 1 bytes data, server => client
03:12:51.781686 't'
03:12:51.791710 Received DATA (on stdin)
03:12:51.791736 > 1 bytes data, server => client
03:12:51.791749 ' '
03:12:51.801774 Received DATA (on stdin)
03:12:51.801801 > 1 bytes data, server => client
03:12:51.801814 'p'
03:12:51.811840 Received DATA (on stdin)
03:12:51.811868 > 1 bytes data, server => client
03:12:51.811881 'o'
03:12:51.821901 Received DATA (on stdin)
03:12:51.821925 > 1 bytes data, server => client
03:12:51.821938 's'
03:12:51.831950 Received DATA (on stdin)
03:12:51.831977 > 1 bytes data, server => client
03:12:51.831986 's'
03:12:51.842054 Received DATA (on stdin)
03:12:51.842098 > 1 bytes data, server => client
03:12:51.842112 'i'
03:12:51.852123 Received DATA (on stdin)
03:12:51.852147 > 1 bytes data, server => client
03:12:51.852160 'b'
03:12:51.862191 Received DATA (on stdin)
03:12:51.862217 > 1 bytes data, server => client
03:12:51.862230 'l'
03:12:51.872254 Received DATA (on stdin)
03:12:51.872278 > 1 bytes data, server => client
03:12:51.872291 'y'
03:12:51.882304 Received DATA (on stdin)
03:12:51.882332 > 1 bytes data, server => client
03:12:51.882350 ' '
03:12:51.892395 Received DATA (on stdin)
03:12:51.892435 > 1 bytes data, server => client
03:12:51.892448 'b'
03:12:51.902466 Received DATA (on stdin)
03:12:51.902492 > 1 bytes data, server => client
03:12:51.902505 'e'
03:12:51.912538 Received DATA (on stdin)
03:12:51.912563 > 1 bytes data, server => client
03:12:51.912576 ' '
03:12:51.922604 Received DATA (on stdin)
03:12:51.922628 > 1 bytes data, server => client
03:12:51.922641 's'
03:12:51.932666 Received DATA (on stdin)
03:12:51.932690 > 1 bytes data, server => client
03:12:51.932703 'e'
03:12:51.942745 Received DATA (on stdin)
03:12:51.942770 > 1 bytes data, server => client
03:12:51.942783 'n'
03:12:51.952802 Received DATA (on stdin)
03:12:51.952826 > 1 bytes data, server => client
03:12:51.952839 't'
03:12:51.962869 Received DATA (on stdin)
03:12:51.962893 > 1 bytes data, server => client
03:12:51.962906 ' '
03:12:51.972931 Received DATA (on stdin)
03:12:51.973042 > 1 bytes data, server => client
03:12:51.973052 'i'
03:12:51.983015 Received DATA (on stdin)
03:12:51.983046 > 1 bytes data, server => client
03:12:51.983059 'n'
03:12:51.993063 Received DATA (on stdin)
03:12:51.993086 > 1 bytes data, server => client
03:12:51.993095 ' '
03:12:52.003129 Received DATA (on stdin)
03:12:52.003158 > 1 bytes data, server => client
03:12:52.003168 't'
03:12:52.013218 Received DATA (on stdin)
03:12:52.013243 > 1 bytes data, server => client
03:12:52.013256 'h'
03:12:52.023287 Received DATA (on stdin)
03:12:52.023311 > 1 bytes data, server => client
03:12:52.023324 'e'
03:12:52.033357 Received DATA (on stdin)
03:12:52.033384 > 1 bytes data, server => client
03:12:52.033397 ' '
03:12:52.043425 Received DATA (on stdin)
03:12:52.043453 > 1 bytes data, server => client
03:12:52.043466 't'
03:12:52.053494 Received DATA (on stdin)
03:12:52.053519 > 1 bytes data, server => client
03:12:52.053532 'i'
03:12:52.063562 Received DATA (on stdin)
03:12:52.063586 > 1 bytes data, server => client
03:12:52.063599 'm'
03:12:52.073625 Received DATA (on stdin)
03:12:52.073650 > 1 bytes data, server => client
03:12:52.073663 'e'
03:12:52.083694 Received DATA (on stdin)
03:12:52.083718 > 1 bytes data, server => client
03:12:52.083731 ' '
03:12:52.093765 Received DATA (on stdin)
03:12:52.093788 > 1 bytes data, server => client
03:12:52.093801 'a'
03:12:52.103810 Received DATA (on stdin)
03:12:52.103834 > 1 bytes data, server => client
03:12:52.103843 'l'
03:12:52.113899 Received DATA (on stdin)
03:12:52.113922 > 1 bytes data, server => client
03:12:52.113935 'l'
03:12:52.123964 Received DATA (on stdin)
03:12:52.123988 > 1 bytes data, server => client
03:12:52.124006 'o'
03:12:52.134032 Received DATA (on stdin)
03:12:52.134055 > 1 bytes data, server => client
03:12:52.134068 't'
03:12:52.144097 Received DATA (on stdin)
03:12:52.144121 > 1 bytes data, server => client
03:12:52.144134 't'
03:12:52.154165 Received DATA (on stdin)
03:12:52.154189 > 1 bytes data, server => client
03:12:52.154203 'e'
03:12:52.164218 Received DATA (on stdin)
03:12:52.164241 > 1 bytes data, server => client
03:12:52.164255 'd'
03:12:52.174272 Received DATA (on stdin)
03:12:52.174295 > 1 bytes data, server => client
03:12:52.174305 '.'
03:12:52.184356 Received DATA (on stdin)
03:12:52.184374 > 1 bytes data, server => client
03:12:52.184387 '\n'
03:12:52.194428 Received DATA (on stdin)
03:12:52.194458 > 1 bytes data, server => client
03:12:52.194472 'L'
03:12:52.204499 Received DATA (on stdin)
03:12:52.204522 > 1 bytes data, server => client
03:12:52.204536 'o'
03:12:52.214568 Received DATA (on stdin)
03:12:52.214594 > 1 bytes data, server => client
03:12:52.214604 'n'
03:12:52.224639 Received DATA (on stdin)
03:12:52.224658 > 1 bytes data, server => client
03:12:52.224671 'g'
03:12:52.234735 Received DATA (on stdin)
03:12:52.234774 > 1 bytes data, server => client
03:12:52.234787 ' '
03:12:52.244808 Received DATA (on stdin)
03:12:52.244841 > 1 bytes data, server => client
03:12:52.244854 'c'
03:12:52.254877 Received DATA (on stdin)
03:12:52.254902 > 1 bytes data, server => client
03:12:52.254915 'h'
03:12:52.264944 Received DATA (on stdin)
03:12:52.264969 > 1 bytes data, server => client
03:12:52.264981 'u'
03:12:52.275007 Received DATA (on stdin)
03:12:52.275031 > 1 bytes data, server => client
03:12:52.275044 'n'
03:12:52.285072 Received DATA (on stdin)
03:12:52.285098 > 1 bytes data, server => client
03:12:52.285111 'k'
03:12:52.295136 Received DATA (on stdin)
03:12:52.295160 > 1 bytes data, server => client
03:12:52.295172 ' '
03:12:52.305207 Received DATA (on stdin)
03:12:52.305231 > 1 bytes data, server => client
03:12:52.305244 'o'
03:12:52.315264 Received DATA (on stdin)
03:12:52.315287 > 1 bytes data, server => client
03:12:52.315300 'f'
03:12:52.325324 Received DATA (on stdin)
03:12:52.325347 > 1 bytes data, server => client
03:12:52.325360 ' '
03:12:52.335366 Received DATA (on stdin)
03:12:52.335392 > 1 bytes data, server => client
03:12:52.335405 'd'
03:12:52.345429 Received DATA (on stdin)
03:12:52.345450 > 1 bytes data, server => client
03:12:52.345461 'a'
03:12:52.355491 Received DATA (on stdin)
03:12:52.355513 > 1 bytes data, server => client
03:12:52.355525 't'
03:12:52.365553 Received DATA (on stdin)
03:12:52.365575 > 1 bytes data, server => client
03:12:52.365587 'a'
03:12:52.375615 Received DATA (on stdin)
03:12:52.375634 > 1 bytes data, server => client
03:12:52.375646 ' '
03:12:52.385677 Received DATA (on stdin)
03:12:52.385699 > 1 bytes data, server => client
03:12:52.385712 't'
03:12:52.395739 Received DATA (on stdin)
03:12:52.395760 > 1 bytes data, server => client
03:12:52.395772 'h'
03:12:52.405801 Received DATA (on stdin)
03:12:52.405818 > 1 bytes data, server => client
03:12:52.405829 'a'
03:12:52.415865 Received DATA (on stdin)
03:12:52.415885 > 1 bytes data, server => client
03:12:52.415897 't'
03:12:52.425953 Received DATA (on stdin)
03:12:52.425981 > 1 bytes data, server => client
03:12:52.425994 ' '
03:12:52.436008 Received DATA (on stdin)
03:12:52.436031 > 1 bytes data, server => client
03:12:52.436044 'c'
03:12:52.446075 Received DATA (on stdin)
03:12:52.446098 > 1 bytes data, server => client
03:12:52.446111 'o'
03:12:52.456136 Received DATA (on stdin)
03:12:52.456160 > 1 bytes data, server => client
03:12:52.456173 'u'
03:12:52.466197 Received DATA (on stdin)
03:12:52.466220 > 1 bytes data, server => client
03:12:52.466233 'l'
03:12:52.476269 Received DATA (on stdin)
03:12:52.476296 > 1 bytes data, server => client
03:12:52.476309 'd'
03:12:52.486324 Received DATA (on stdin)
03:12:52.486347 > 1 bytes data, server => client
03:12:52.486360 'n'
03:12:52.496387 Received DATA (on stdin)
03:12:52.496411 > 1 bytes data, server => client
03:12:52.496424 '''
03:12:52.506449 Received DATA (on stdin)
03:12:52.506472 > 1 bytes data, server => client
03:12:52.506485 't'
03:12:52.516513 Received DATA (on stdin)
03:12:52.516536 > 1 bytes data, server => client
03:12:52.516549 ' '
03:12:52.526576 Received DATA (on stdin)
03:12:52.526600 > 1 bytes data, server => client
03:12:52.526613 'p'
03:12:52.536648 Received DATA (on stdin)
03:12:52.536686 > 1 bytes data, server => client
03:12:52.536699 'o'
03:12:52.546717 Received DATA (on stdin)
03:12:52.546736 > 1 bytes data, server => client
03:12:52.546745 's'
03:12:52.556783 Received DATA (on stdin)
03:12:52.556799 > 1 bytes data, server => client
03:12:52.556808 's'
03:12:52.566860 Received DATA (on stdin)
03:12:52.566899 > 1 bytes data, server => client
03:12:52.566912 'i'
03:12:52.576934 Received DATA (on stdin)
03:12:52.576959 > 1 bytes data, server => client
03:12:52.576968 'b'
=== File too long: 2480 lines omitted here
03:13:00.691576 Received DATA (on stdin)
03:13:00.691600 > 1 bytes data, server => client
03:13:00.691613 ' '
03:13:00.691623 *** We are disconnected
03:13:00.701644 Received DATA (on stdin)
03:13:00.701668 > 1 bytes data, server => client
03:13:00.701681 't'
03:13:00.701691 *** We are disconnected
03:13:00.711711 Received DATA (on stdin)
03:13:00.711734 > 1 bytes data, server => client
03:13:00.711747 'h'
03:13:00.711758 *** We are disconnected
03:13:00.721780 Received DATA (on stdin)
03:13:00.721803 > 1 bytes data, server => client
03:13:00.721816 'e'
03:13:00.721827 *** We are disconnected
03:13:00.731846 Received DATA (on stdin)
03:13:00.731869 > 1 bytes data, server => client
03:13:00.731882 ' '
03:13:00.731893 *** We are disconnected
03:13:00.741891 Received DATA (on stdin)
03:13:00.741922 > 1 bytes data, server => client
03:13:00.741938 't'
03:13:00.741951 *** We are disconnected
03:13:00.751956 Received DATA (on stdin)
03:13:00.751974 > 1 bytes data, server => client
03:13:00.751983 'i'
03:13:00.751990 *** We are disconnected
03:13:00.762024 Received DATA (on stdin)
03:13:00.762059 > 1 bytes data, server => client
03:13:00.762069 'm'
03:13:00.762076 *** We are disconnected
03:13:00.772117 Received DATA (on stdin)
03:13:00.772158 > 1 bytes data, server => client
03:13:00.772172 'e'
03:13:00.772181 *** We are disconnected
03:13:00.782169 Received DATA (on stdin)
03:13:00.782188 > 1 bytes data, server => client
03:13:00.782196 ' '
03:13:00.782203 *** We are disconnected
03:13:00.792255 Received DATA (on stdin)
03:13:00.792273 > 1 bytes data, server => client
03:13:00.792290 'a'
03:13:00.792300 *** We are disconnected
03:13:00.802306 Received DATA (on stdin)
03:13:00.802326 > 1 bytes data, server => client
03:13:00.802335 'l'
03:13:00.802341 *** We are disconnected
03:13:00.812390 Received DATA (on stdin)
03:13:00.812415 > 1 bytes data, server => client
03:13:00.812427 'l'
03:13:00.812438 *** We are disconnected
03:13:00.822441 Received DATA (on stdin)
03:13:00.822454 > 1 bytes data, server => client
03:13:00.822462 'o'
03:13:00.822469 *** We are disconnected
03:13:00.832507 Received DATA (on stdin)
03:13:00.832523 > 1 bytes data, server => client
03:13:00.832531 't'
03:13:00.832538 *** We are disconnected
03:13:00.842573 Received DATA (on stdin)
03:13:00.842595 > 1 bytes data, server => client
03:13:00.842604 't'
03:13:00.842611 *** We are disconnected
03:13:00.852659 Received DATA (on stdin)
03:13:00.852676 > 1 bytes data, server => client
03:13:00.852688 'e'
03:13:00.852699 *** We are disconnected
03:13:00.862704 Received DATA (on stdin)
03:13:00.862720 > 1 bytes data, server => client
03:13:00.862728 'd'
03:13:00.862735 *** We are disconnected
03:13:00.872768 Received DATA (on stdin)
03:13:00.872791 > 1 bytes data, server => client
03:13:00.872800 '.'
03:13:00.872807 *** We are disconnected
03:13:00.882834 Received DATA (on stdin)
03:13:00.882849 > 1 bytes data, server => client
03:13:00.882857 '\n'
03:13:00.882864 *** We are disconnected
03:13:00.892915 Received DATA (on stdin)
03:13:00.892937 > 1 bytes data, server => client
03:13:00.892946 'L'
03:13:00.892953 *** We are disconnected
03:13:00.902983 Received DATA (on stdin)
03:13:00.903000 > 1 bytes data, server => client
03:13:00.903009 'o'
03:13:00.903015 *** We are disconnected
03:13:00.913050 Received DATA (on stdin)
03:13:00.913065 > 1 bytes data, server => client
03:13:00.913077 'n'
03:13:00.913084 *** We are disconnected
03:13:00.923128 Received DATA (on stdin)
03:13:00.923157 > 1 bytes data, server => client
03:13:00.923170 'g'
03:13:00.923180 *** We are disconnected
03:13:00.933181 Received DATA (on stdin)
03:13:00.933201 > 1 bytes data, server => client
03:13:00.933210 ' '
03:13:00.933217 *** We are disconnected
03:13:00.943249 Received DATA (on stdin)
03:13:00.943275 > 1 bytes data, server => client
03:13:00.943288 'c'
03:13:00.943295 *** We are disconnected
03:13:00.953318 Received DATA (on stdin)
03:13:00.953333 > 1 bytes data, server => client
03:13:00.953342 'h'
03:13:00.953348 *** We are disconnected
03:13:00.963385 Received DATA (on stdin)
03:13:00.963400 > 1 bytes data, server => client
03:13:00.963409 'u'
03:13:00.963415 *** We are disconnected
03:13:00.973451 Received DATA (on stdin)
03:13:00.973474 > 1 bytes data, server => client
03:13:00.973483 'n'
03:13:00.973490 *** We are disconnected
03:13:00.983516 Received DATA (on stdin)
03:13:00.983536 > 1 bytes data, server => client
03:13:00.983548 'k'
03:13:00.983555 *** We are disconnected
03:13:00.993583 Received DATA (on stdin)
03:13:00.993599 > 1 bytes data, server => client
03:13:00.993607 ' '
03:13:00.993614 *** We are disconnected
03:13:01.003648 Received DATA (on stdin)
03:13:01.003688 > 1 bytes data, server => client
03:13:01.003703 'o'
03:13:01.003711 *** We are disconnected
03:13:01.013714 Received DATA (on stdin)
03:13:01.013731 > 1 bytes data, server => client
03:13:01.013739 'f'
03:13:01.013746 *** We are disconnected
03:13:01.023787 Received DATA (on stdin)
03:13:01.023825 > 1 bytes data, server => client
03:13:01.023836 ' '
03:13:01.023844 *** We are disconnected
03:13:01.033855 Received DATA (on stdin)
03:13:01.033879 > 1 bytes data, server => client
03:13:01.033888 'd'
03:13:01.033895 *** We are disconnected
03:13:01.043924 Received DATA (on stdin)
03:13:01.043954 > 1 bytes data, server => client
03:13:01.043964 'a'
03:13:01.043971 *** We are disconnected
03:13:01.053989 Received DATA (on stdin)
03:13:01.054007 > 1 bytes data, server => client
03:13:01.054016 't'
03:13:01.054023 *** We are disconnected
03:13:01.064022 Received DATA (on stdin)
03:13:01.064042 > 1 bytes data, server => client
03:13:01.064051 'a'
03:13:01.064058 *** We are disconnected
03:13:01.074089 Received DATA (on stdin)
03:13:01.074106 > 1 bytes data, server => client
03:13:01.074114 ' '
03:13:01.074121 *** We are disconnected
03:13:01.084159 Received DATA (on stdin)
03:13:01.084176 > 1 bytes data, server => client
03:13:01.084185 't'
03:13:01.084192 *** We are disconnected
03:13:01.094221 Received DATA (on stdin)
03:13:01.094236 > 1 bytes data, server => client
03:13:01.094244 'h'
03:13:01.094251 *** We are disconnected
03:13:01.104286 Received DATA (on stdin)
03:13:01.104305 > 1 bytes data, server => client
03:13:01.104314 'a'
03:13:01.104321 *** We are disconnected
03:13:01.114352 Received DATA (on stdin)
03:13:01.114369 > 1 bytes data, server => client
03:13:01.114378 't'
03:13:01.114384 *** We are disconnected
03:13:01.124426 Received DATA (on stdin)
03:13:01.124443 > 1 bytes data, server => client
03:13:01.124455 ' '
03:13:01.124466 *** We are disconnected
03:13:01.134485 Received DATA (on stdin)
03:13:01.134500 > 1 bytes data, server => client
03:13:01.134509 'c'
03:13:01.134516 *** We are disconnected
03:13:01.144553 Received DATA (on stdin)
03:13:01.144577 > 1 bytes data, server => client
03:13:01.144586 'o'
03:13:01.144593 *** We are disconnected
03:13:01.154620 Received DATA (on stdin)
03:13:01.154638 > 1 bytes data, server => client
03:13:01.154646 'u'
03:13:01.154657 *** We are disconnected
03:13:01.164687 Received DATA (on stdin)
03:13:01.164706 > 1 bytes data, server => client
03:13:01.164727 'l'
03:13:01.164734 *** We are disconnected
03:13:01.174753 Received DATA (on stdin)
03:13:01.174770 > 1 bytes data, server => client
03:13:01.174778 'd'
03:13:01.174785 *** We are disconnected
03:13:01.184820 Received DATA (on stdin)
03:13:01.184842 > 1 bytes data, server => client
03:13:01.184851 'n'
03:13:01.184858 *** We are disconnected
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.01.13 03:12:41 LOG5[8194]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.13 03:12:41 LOG5[8194]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.13 03:12:41 LOG5[8194]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.13 03:12:41 LOG5[8194]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.13 03:12:41 LOG5[8194]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.13 03:12:41 LOG5[8194]: Reading configuration from file /build-4871/tests/ftps_stunnel.conf
2019.01.13 03:12:41 LOG5[8194]: FIPS mode disabled
2019.01.13 03:12:41 LOG5[8194]: Configuration successful
2019.01.13 03:12:42 LOG5[8197]: Service [curltest] accepted connection from 127.0.0.1:58784
2019.01.13 03:12:42 LOG5[8197]: s_connect: connected 127.0.0.1:8992
2019.01.13 03:12:42 LOG5[8197]: Service [curltest] connected remote server from 127.0.0.1:41284
2019.01.13 03:12:42 LOG5[8197]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.01.13 03:12:44 LOG5[8202]: Service [curltest] accepted connection from 127.0.0.1:58790
2019.01.13 03:12:46 LOG5[8202]: s_connect: connected 127.0.0.1:8992
2019.01.13 03:12:46 LOG5[8202]: Service [curltest] connected remote server from 127.0.0.1:41290
2019.01.13 03:13:00 LOG5[8202]: Connection closed: 347 byte(s) sent to SSL, 95 byte(s) sent to socket
2019.01.13 03:13:01 LOG5[8194]: Terminated
=== End of file ftps_stunnel.log
=== Start of file ftps_verify.log
* Expire in 0 ms for 6 (transfer 0x557bf88b36a8)
* Expire in 13000 ms for 8 (transfer 0x557bf88b36a8)
* STATE: INIT => CONNECT handle 0x557bf88b36a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x557bf88b36a8)
* STATE: CONNECT => WAITCONNECT handle 0x557bf88b36a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x557bf88b36a8; line 1613 (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):
} [138 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 0x557bf88f95f8 (line 3118) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x557bf88b36a8; line 1627 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x557bf88f95f8 (line 803) state change from WAIT220 to USER
{ [5 bytes data]
< 331 We are happy you popped in
} [5 bytes data]
> PASS ftp@example.com
* FTP 0x557bf88f95f8 (line 2546) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x557bf88f95f8 (line 2522) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x557bf88f95f8 (line 2735) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x557bf88f95f8 (line 815) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x557bf88f95f8 (line 2870) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x557bf88b36a8; line 1648 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x557bf88f95f8 (line 1346) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x557bf88b36a8; line 1697 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||33837|)
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x557bf88b36a8)
* Connecting to 127.0.0.1 (127.0.0.1) port 33837
* FTP 0x557bf88f95f8 (line 2003) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x557bf88b36a8; line 1781 (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 0x557bf88f95f8 (line 3444) state change from STOP to RETR_TYPE
{ [5 bytes data]
< 200 I modify TYPE as you wanted
} [5 bytes data]
> SIZE verifiedserver
* FTP 0x557bf88f95f8 (line 1769) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 16
} [5 bytes data]
> RETR verifiedserver
* FTP 0x557bf88f95f8 (line 2255) state change from RETR_SIZE to RETR
{ [5 bytes data]
< 150 Binary junk (16 bytes).
* Maxdownload = -1
* Getting file with size: 16
* FTP 0x557bf88f95f8 (line 485) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x557bf88b36a8; line 1807 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x557bf88b36a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x557bf88b36a8; line 1849 (connection #0)
{ [16 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x557bf88b36a8; line 2046 (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 0x557bf88b36a8)
=== 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:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 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 3600 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0
2 3600 2 72 0 0 12 0 0:05:00 0:00:05 0:04:55 17
4 3600 4 171 0 0 24 0 0:02:30 0:00:06 0:02:24 34
7 3600 7 270 0 0 33 0 0:01:49 0:00:07 0:01:42 54
10 3600 10 369 0 0 41 0 0:01:27 0:00:08 0:01:19 73
13 3600 13 469 0 0 46 0 0:01:18 0:00:09 0:01:09 93
15 3600 15 568 0 0 51 0 0:01:10 0:00:10 0:01:00 99
18 3600 18 667 0 0 55 0 0:01:05 0:00:11 0:00:54 99
21 3600 21 767 0 0 59 0 0:01:01 0:00:12 0:00:49 99
24 3600 24 866 0 0 61 0 0:00:59 0:00:13 0:00:46 99
26 3600 26 965 0 0 64 0 0:00:56 0:00:14 0:00:42 99
29 3600 29 1065 0 0 66 0 0:00:54 0:00:15 0:00:39 99
29 3600 29 1067 0 0 66 0 0:00:54 0:00:16 0:00:38 98
curl: (28) Operation timed out after 16006 milliseconds with 1067 out of 3600 bytes received
=== End of file stderr1112
=== Start of file trace1112
03:12:44.002686 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:12:44.027392 == Info: Expire in 16000 ms for 8 (transfer 0x626d7a8)
03:12:44.029721 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:12:44.066801 == Info: Added connection 0. The cache now contains 1 members
03:12:44.083492 == Info: Trying 127.0.0.1...
03:12:44.084096 == Info: TCP_NODELAY set
03:12:44.087071 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:12:44.088647 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:12:44.099628 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:12:44.100176 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:12:44.101286 == Info: Marked for [keep alive]: FTP default
03:12:45.312745 == Info: successfully set certificate verify locations:
03:12:45.313002 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:12:45.390912 => Send SSL data, 5 bytes (0x5)
0000: .....
03:12:45.395927 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:12:45.395991 => Send SSL data, 138 bytes (0x8a)
0000: ..................m...1Qq{...E..Z.Z1....*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:12:45.413459 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:12:45.417873 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:12:45.417930 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....a...X._Y.k........%.....QSr.N. >. )J;.i[.....r....R]...1
0040: .mp...../................
03:12:45.461847 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.462306 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:12:45.462362 <= 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:12:45.561090 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:12:45.561352 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:12:45.561408 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A._..w....r3".c`..4.aM.).+.e.....N./5.../.....$.P5:...G..
0040: ....b........20n....._.0Bp.%G>..q.uMI......?...).:..}...+..`.`..
0080: ....M.2..*....{.Je...-9.....cnZ(.X\&2...9|VT......Nh4.g7.U......
00c0: .FX.|..Nz..J.t.i.....%~...s....D......e.`w..!.... ............I.
0100: .....>..?D...+K....O...s...5...yP..k...:i..3....'...8./.....d.kr
0140: .&V.Mk.I .o.+
03:12:45.630444 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.630784 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:12:45.630841 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:12:45.749248 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:12:45.749494 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:12:45.749554 => Send SSL data, 70 bytes (0x46)
0000: ...BA..Mo...sm<..I...V.bG....W.v......A.k!...W..Z.&$....*}.C9...
0040: m..a.'
03:12:45.761935 => Send SSL data, 5 bytes (0x5)
0000: .....
03:12:45.762480 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:12:45.762536 => Send SSL data, 1 bytes (0x1)
0000: .
03:12:45.794173 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:12:45.794388 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:12:45.794446 => Send SSL data, 16 bytes (0x10)
0000: ....Xi..l/.c.*.)
03:12:45.797011 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.798066 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:12:45.798123 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:12:45.800555 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:12:45.806053 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:12:45.806113 <= Recv SSL data, 16 bytes (0x10)
0000: .....\|./`.D..(`
03:12:45.827527 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:12:45.829694 == Info: Server certificate:
03:12:45.837112 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:12:45.843522 == Info: start date: Aug 31 23:39:18 2018 GMT
03:12:45.844488 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:12:45.845331 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:12:45.846229 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:12:45.847662 == Info: FTP 0x62ec4f8 (line 3118) state change from STOP to WAIT220
03:12:45.853987 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.857558 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.857802 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.858025 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.858242 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.858539 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.858804 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.861876 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626d7a8; line 1627 (connection #0)
03:12:45.868259 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.876667 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.886685 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.896744 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.906795 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.916884 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.926937 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.937013 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.947066 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.957124 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.967200 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.977262 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.987313 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:45.997376 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.007437 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.017516 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.027583 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.037610 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.047703 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.057768 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.067822 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.077957 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.087988 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.098049 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.108089 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.108492 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:12:46.118170 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.128278 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.138263 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.148363 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.158418 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.168475 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.178540 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.188598 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.198660 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.208727 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.218780 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.228844 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.238919 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.248983 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.259082 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.269113 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.279175 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.289240 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.299296 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.309362 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.319415 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.329484 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.339487 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.349598 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.359659 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.369700 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.379787 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.389845 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.399907 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.409973 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.420009 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.430090 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.430227 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:12:46.440144 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.450216 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.460297 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.470350 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.480452 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.490478 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.500542 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.510622 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.520784 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.530769 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.540895 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.550974 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.561002 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.571064 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.581151 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.591198 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.601263 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.611346 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.621398 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.631468 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.641537 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.651709 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.661704 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.671746 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.681821 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.691877 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.701952 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.711999 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.722092 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.732134 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.742312 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.752372 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.752562 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:12:46.762372 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.772424 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.782475 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.792681 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.802648 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.812737 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.822777 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.832859 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.842928 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.853003 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.863177 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.873244 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.883274 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.893347 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.903399 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.913462 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.923531 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.933589 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.943625 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.953710 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.963777 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.973800 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.983895 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:46.993971 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.004055 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.014092 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.024172 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.034250 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.044355 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.054360 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.064446 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.074462 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.074607 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:12:47.084564 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.094629 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.104670 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.114747 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.124823 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.134870 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.144913 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.154967 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.165059 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.175100 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.185189 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.195245 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.205287 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.215350 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.225429 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.235478 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.245559 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.255602 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.265661 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.275735 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.285786 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.295857 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.305880 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.316089 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.326094 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.336146 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.346232 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.356288 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.366332 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.376416 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.386464 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.396553 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.396697 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:12:47.404066 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:12:47.406761 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:12:47.407602 == Info: FTP 0x62ec4f8 (line 803) state change from WAIT220 to USER
03:12:47.407981 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.448236 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.457130 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.467198 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.477274 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.477431 <= Recv header, 8 bytes (0x8)
0000: 331 OK
03:12:47.478718 => Send SSL data, 5 bytes (0x5)
0000: .....
03:12:47.478847 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:12:47.479276 == Info: FTP 0x62ec4f8 (line 2546) state change from USER to PASS
03:12:47.487487 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.528226 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.537824 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.547982 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.557997 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.558145 <= Recv header, 8 bytes (0x8)
0000: 230 OK
03:12:47.558811 => Send SSL data, 5 bytes (0x5)
0000: ....
03:12:47.558935 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:12:47.559270 == Info: FTP 0x62ec4f8 (line 2522) state change from PASS to PBSZ
03:12:47.568252 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.612274 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.618554 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.628627 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.638656 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.648758 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.658833 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.668870 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.678940 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.688993 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.699070 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.709139 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.719215 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.729271 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.739282 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.749398 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.759505 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.769529 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.779603 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.789667 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.799728 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.809811 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.819842 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.819978 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:12:47.820581 => Send SSL data, 5 bytes (0x5)
0000: ....
03:12:47.820698 => Send header, 8 bytes (0x8)
0000: PROT C
03:12:47.821048 == Info: FTP 0x62ec4f8 (line 2735) state change from PBSZ to PROT
03:12:47.830181 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.872331 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.880514 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.890536 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.900626 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.910682 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.920754 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.930815 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.940881 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.950961 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.961045 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.971079 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.981164 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:47.991221 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.001359 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.011391 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.021472 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.031607 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.041682 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.051712 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.061762 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.071789 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.081879 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.082027 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:12:48.082779 => Send SSL data, 5 bytes (0x5)
0000: .....
03:12:48.082899 => Send header, 5 bytes (0x5)
0000: PWD
03:12:48.083217 == Info: FTP 0x62ec4f8 (line 815) state change from PROT to PWD
03:12:48.092166 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.132255 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.132525 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.142510 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.152534 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.162571 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.172630 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.172774 <= Recv header, 9 bytes (0x9)
0000: 257 "/"
03:12:48.173910 == Info: Entry path is '/'
03:12:48.174237 == Info: FTP 0x62ec4f8 (line 2870) state change from PWD to STOP
03:12:48.174407 == Info: protocol connect phase DONE
03:12:48.174768 == Info: STATE: PROTOCONNECT => DO handle 0x626d7a8; line 1648 (connection #0)
03:12:48.177669 == Info: DO phase starts
03:12:48.179639 => Send SSL data, 5 bytes (0x5)
0000: .....
03:12:48.179789 => Send header, 6 bytes (0x6)
0000: EPSV
03:12:48.180143 == Info: FTP 0x62ec4f8 (line 1346) state change from STOP to PASV
03:12:48.180321 == Info: Connect data stream passively
03:12:48.181107 == Info: ftp_perform ends with SECONDARY: 0
03:12:48.181856 == Info: STATE: DO => DOING handle 0x626d7a8; line 1697 (connection #0)
03:12:48.185099 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.228263 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.235069 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.245150 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.255195 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.265235 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.275267 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.285381 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.295444 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.305478 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.315569 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.325634 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.335681 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.345758 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.355813 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.365886 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.375909 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.386003 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.396062 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.406085 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.416208 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.426275 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.436261 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.446328 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.456447 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.466470 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.476550 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.486628 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.496649 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.506708 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.516803 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.526848 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.536929 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.546970 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.557118 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.557289 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||40923|).
03:12:48.563009 == Info: Trying 127.0.0.1...
03:12:48.563072 == Info: TCP_NODELAY set
03:12:48.563196 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:12:48.564706 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 40923
03:12:48.565597 == Info: FTP 0x62ec4f8 (line 2003) state change from PASV to STOP
03:12:48.566111 == Info: DO phase is complete2
03:12:48.566364 == Info: STATE: DOING => DO_MORE handle 0x626d7a8; line 1781 (connection #0)
03:12:48.567039 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:12:48.567253 == Info: DO-MORE connected phase starts
03:12:48.568636 => Send SSL data, 5 bytes (0x5)
0000: ....
03:12:48.568755 => Send header, 8 bytes (0x8)
0000: TYPE I
03:12:48.569092 == Info: FTP 0x62ec4f8 (line 3444) state change from STOP to RETR_TYPE
03:12:48.569491 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.612482 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.619523 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.629578 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.639629 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.639773 <= Recv header, 8 bytes (0x8)
0000: 200 OK
03:12:48.640905 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:12:48.641027 => Send header, 11 bytes (0xb)
0000: SIZE 1112
03:12:48.641391 == Info: FTP 0x62ec4f8 (line 1769) state change from RETR_TYPE to RETR_SIZE
03:12:48.650078 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.692247 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.700430 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.710486 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.720601 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.730607 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.740648 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.740795 <= Recv header, 10 bytes (0xa)
0000: 213 3600
03:12:48.742501 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:12:48.742623 => Send header, 11 bytes (0xb)
0000: RETR 1112
03:12:48.742963 == Info: FTP 0x62ec4f8 (line 2255) state change from RETR_SIZE to RETR
03:12:48.751092 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.792257 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.801446 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.811498 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.821567 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.831648 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.841827 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.851804 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.861847 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.871964 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.882075 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.892077 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.902160 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.912319 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.922348 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.932392 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.942507 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.952553 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.962588 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.972661 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.982688 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:48.992784 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.002820 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.012943 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.022947 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.033034 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.043085 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.053166 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.063223 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.073284 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.083357 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.093585 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.103596 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.113651 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.123702 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.133761 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.143832 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.153895 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.163975 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.174043 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.184126 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.194174 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.204247 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.214312 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.224407 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.234438 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.244535 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.254579 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.264651 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.274709 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.284777 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:49.284971 <= Recv header, 54 bytes (0x36)
0000: 150 Binary data connection for 1112 () (3600 bytes).
03:12:49.286186 == Info: Maxdownload = -1
03:12:49.286465 == Info: Getting file with size: 3600
03:12:49.288317 == Info: FTP 0x62ec4f8 (line 485) state change from RETR to STOP
03:12:49.289141 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:12:49.290492 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:12:49.291526 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:12:49.298501 <= Recv data, 1 bytes (0x1)
0000: L
03:12:49.304884 <= Recv data, 1 bytes (0x1)
0000: o
03:12:49.314949 <= Recv data, 1 bytes (0x1)
0000: n
03:12:49.325020 <= Recv data, 1 bytes (0x1)
0000: g
03:12:49.335066 <= Recv data, 1 bytes (0x1)
0000:
03:12:49.345149 <= Recv data, 1 bytes (0x1)
0000: c
03:12:49.355193 <= Recv data, 1 bytes (0x1)
0000: h
03:12:49.365267 <= Recv data, 1 bytes (0x1)
0000: u
03:12:49.375326 <= Recv data, 1 bytes (0x1)
0000: n
03:12:49.385400 <= Recv data, 1 bytes (0x1)
0000: k
03:12:49.395467 <= Recv data, 1 bytes (0x1)
0000:
03:12:49.405526 <= Recv data, 1 bytes (0x1)
0000: o
03:12:49.415602 <= Recv data, 1 bytes (0x1)
0000: f
03:12:49.425654 <= Recv data, 1 bytes (0x1)
0000:
03:12:49.435734 <= Recv data, 1 bytes (0x1)
0000: d
03:12:49.445805 <= Recv data, 1 bytes (0x1)
0000: a
03:12:49.455877 <= Recv data, 1 bytes (0x1)
0000: t
03:12:49.465945 <= Recv data, 1 bytes (0x1)
0000: a
03:12:49.475999 <= Recv data, 1 bytes (0x1)
0000:
03:12:49.486076 <= Recv data, 1 bytes (0x1)
0000: t
03:12:49.496150 <= Recv data, 1 bytes (0x1)
0000: h
03:12:49.506211 <= Recv data, 1 bytes (0x1)
0000: a
03:12:49.516268 <= Recv data, 1 bytes (0x1)
0000: t
03:12:49.526327 <= Recv data, 1 bytes (0x1)
0000:
03:12:49.536406 <= Recv data, 1 bytes (0x1)
0000: c
03:12:49.546458 <= Recv data, 1 bytes (0x1)
0000: o
03:12:49.556620 <= Recv data, 1 bytes (0x1)
0000: u
03:12:49.566640 <= Recv data, 1 bytes (0x1)
0000: l
03:12:49.576710 <= Recv data, 1 bytes (0x1)
0000: d
03:12:49.586769 <= Recv data, 1 bytes (0x1)
0000: n
03:12:49.596828 <= Recv data, 1 bytes (0x1)
0000: '
03:12:49.606927 <= Recv data, 1 bytes (0x1)
0000: t
03:12:49.616968 <= Recv data, 1 bytes (0x1)
0000:
03:12:49.627032 <= Recv data, 1 bytes (0x1)
0000: p
03:12:49.637115 <= Recv data, 1 bytes (0x1)
0000: o
03:12:49.647178 <= Recv data, 1 bytes (0x1)
0000: s
03:12:49.657260 <= Recv data, 1 bytes (0x1)
0000: s
03:12:49.667311 <= Recv data, 1 bytes (0x1)
0000: i
03:12:49.677393 <= Recv data, 1 bytes (0x1)
0000: b
03:12:49.687450 <= Recv data, 1 bytes (0x1)
0000: l
03:12:49.697523 <= Recv data, 1 bytes (0x1)
0000: y
03:12:49.707591 <= Recv data, 1 bytes (0x1)
0000:
03:12:49.717663 <= Recv data, 1 bytes (0x1)
0000: b
03:12:49.727715 <= Recv data, 1 bytes (0x1)
0000: e
03:12:49.737783 <= Recv data, 1 bytes (0x1)
0000:
03:12:49.747865 <= Recv data, 1 bytes (0x1)
0000: s
03:12:49.757986 <= Recv data, 1 bytes (0x1)
0000: e
03:12:49.768087 <= Recv data, 1 bytes (0x1)
0000: n
03:12:49.778183 <= Recv data, 1 bytes (0x1)
0000: t
03:12:49.788168 <= Recv data, 1 bytes (0x1)
0000:
03:12:49.798233 <= Recv data, 1 bytes (0x1)
0000: i
03:12:49.808298 <= Recv data, 1 bytes (0x1)
0000: n
03:12:49.818377 <= Recv data, 1 bytes (0x1)
0000:
03:12:49.828411 <= Recv data, 1 bytes (0x1)
0000: t
03:12:49.838502 <= Recv data, 1 bytes (0x1)
0000: h
03:12:49.848575 <= Recv data, 1 bytes (0x1)
0000: e
03:12:49.858633 <= Recv data, 1 bytes (0x1)
0000:
03:12:49.868697 <= Recv data, 1 bytes (0x1)
0000: t
03:12:49.878870 <= Recv data, 1 bytes (0x1)
0000: i
03:12:49.888879 <= Recv data, 1 bytes (0x1)
0000: m
03:12:49.898920 <= Recv data, 1 bytes (0x1)
0000: e
03:12:49.908985 <= Recv data, 1 bytes (0x1)
0000:
03:12:49.919050 <= Recv data, 1 bytes (0x1)
0000: a
03:12:49.929108 <= Recv data, 1 bytes (0x1)
0000: l
03:12:49.939179 <= Recv data, 1 bytes (0x1)
0000: l
03:12:49.949233 <= Recv data, 1 bytes (0x1)
0000: o
03:12:49.959301 <= Recv data, 1 bytes (0x1)
0000: t
03:12:49.969350 <= Recv data, 1 bytes (0x1)
0000: t
03:12:49.979421 <= Recv data, 1 bytes (0x1)
0000: e
03:12:49.989474 <= Recv data, 1 bytes (0x1)
0000: d
03:12:49.999546 <= Recv data, 1 bytes (0x1)
0000: .
03:12:50.009618 <= Recv data, 1 bytes (0x1)
0000: .
03:12:50.019712 <= Recv data, 1 bytes (0x1)
0000: L
03:12:50.029758 <= Recv data, 1 bytes (0x1)
0000: o
03:12:50.039821 <= Recv data, 1 bytes (0x1)
0000: n
03:12:50.049897 <= Recv data, 1 bytes (0x1)
0000: g
03:12:50.059970 <= Recv data, 1 bytes (0x1)
0000:
03:12:50.069993 <= Recv data, 1 bytes (0x1)
0000: c
03:12:50.080056 <= Recv data, 1 bytes (0x1)
0000: h
03:12:50.090139 <= Recv data, 1 bytes (0x1)
0000: u
03:12:50.100256 <= Recv data, 1 bytes (0x1)
0000: n
03:12:50.110419 <= Recv data, 1 bytes (0x1)
=== File too long: 1776 lines omitted here
0000: p
03:12:59.060914 <= Recv data, 1 bytes (0x1)
0000: o
03:12:59.070981 <= Recv data, 1 bytes (0x1)
0000: s
03:12:59.081041 <= Recv data, 1 bytes (0x1)
0000: s
03:12:59.091097 <= Recv data, 1 bytes (0x1)
0000: i
03:12:59.101167 <= Recv data, 1 bytes (0x1)
0000: b
03:12:59.111230 <= Recv data, 1 bytes (0x1)
0000: l
03:12:59.121289 <= Recv data, 1 bytes (0x1)
0000: y
03:12:59.131352 <= Recv data, 1 bytes (0x1)
0000:
03:12:59.141419 <= Recv data, 1 bytes (0x1)
0000: b
03:12:59.151477 <= Recv data, 1 bytes (0x1)
0000: e
03:12:59.161540 <= Recv data, 1 bytes (0x1)
0000:
03:12:59.171612 <= Recv data, 1 bytes (0x1)
0000: s
03:12:59.181664 <= Recv data, 1 bytes (0x1)
0000: e
03:12:59.191724 <= Recv data, 1 bytes (0x1)
0000: n
03:12:59.201790 <= Recv data, 1 bytes (0x1)
0000: t
03:12:59.211871 <= Recv data, 1 bytes (0x1)
0000:
03:12:59.221890 <= Recv data, 1 bytes (0x1)
0000: i
03:12:59.231973 <= Recv data, 1 bytes (0x1)
0000: n
03:12:59.242016 <= Recv data, 1 bytes (0x1)
0000:
03:12:59.252089 <= Recv data, 1 bytes (0x1)
0000: t
03:12:59.262188 <= Recv data, 1 bytes (0x1)
0000: h
03:12:59.272249 <= Recv data, 1 bytes (0x1)
0000: e
03:12:59.282302 <= Recv data, 1 bytes (0x1)
0000:
03:12:59.292363 <= Recv data, 1 bytes (0x1)
0000: t
03:12:59.302419 <= Recv data, 1 bytes (0x1)
0000: i
03:12:59.312490 <= Recv data, 1 bytes (0x1)
0000: m
03:12:59.322529 <= Recv data, 1 bytes (0x1)
0000: e
03:12:59.332626 <= Recv data, 1 bytes (0x1)
0000:
03:12:59.342683 <= Recv data, 1 bytes (0x1)
0000: a
03:12:59.352740 <= Recv data, 1 bytes (0x1)