curl / Autobuilds / Log From 2019-01-06

Log from 2019-01-06

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 41 (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 6 01:51:01 2019 UTC
testcurl: ./ is verified to be a fine git source dir
testcurl: build dir build-29288 was created fine
testcurl: run git pull in curl
Already up to date.
testcurl: The most recent curl git commits:
testcurl: 1e4ec09a2 printf: introduce CURL_FORMAT_TIMEDIFF_T
testcurl: fa2d6ba84 printf: fix format specifiers
testcurl: c7c362a24 libtest/stub_gssapi: use "real" snprintf
testcurl: d42520f2c INTERNALS: correct some outdated function names
testcurl: f2d5e34ba docs/version.d: mention MultiSSL
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-29288/lib'
make all-am
make[2]: Entering directory '/build-29288/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-29288/lib'
make[1]: Leaving directory '/build-29288/lib'
Making all in src
make[1]: Entering directory '/build-29288/src'
Making all in ../docs
make[2]: Entering directory '/build-29288/docs'
Making all in .
make[3]: Entering directory '/build-29288/docs'
if test "..x" != "x" -a -e "/docs/curl.1"; then \
cp -fp "/docs/curl.1" /build-29288/docs/curl.1; fi
cd cmdline-opts && make
make[4]: Entering directory '/build-29288/docs/cmdline-opts'
/usr/bin/perl /docs/cmdline-opts/gen.pl mainpage /docs/cmdline-opts > ../../docs/curl.1
make[4]: Leaving directory '/build-29288/docs/cmdline-opts'
make[3]: Leaving directory '/build-29288/docs'
Making all in cmdline-opts
make[3]: Entering directory '/build-29288/docs/cmdline-opts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-29288/docs/cmdline-opts'
make[2]: Leaving directory '/build-29288/docs'
make[2]: Entering directory '/build-29288/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-29288/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-29288/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-29288/src'
make[1]: Leaving directory '/build-29288/src'
make[1]: Entering directory '/build-29288'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/build-29288'
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-29288/tests'
Making all in certs
make[2]: Entering directory '/build-29288/tests/certs'
Making all in scripts
make[3]: Entering directory '/build-29288/tests/certs/scripts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-29288/tests/certs/scripts'
make[3]: Entering directory '/build-29288/tests/certs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build-29288/tests/certs'
make[2]: Leaving directory '/build-29288/tests/certs'
Making all in data
make[2]: Entering directory '/build-29288/tests/data'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build-29288/tests/data'
Making all in server
make[2]: Entering directory '/build-29288/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-29288/tests/server'
Making all in libtest
make[2]: Entering directory '/build-29288/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 lib1560.o
CC first.o
CC testutil.o
CC ../../lib/warnless.o
CCLD lib1560
CC lib1591-lib1591.o
CC lib1591-first.o
CC lib1591-testutil.o
CC ../../lib/lib1591-warnless.o
CCLD lib1591
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-29288/tests/libtest'
Making all in unit
make[2]: Entering directory '/build-29288/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 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-29288/tests/unit'
make[2]: Entering directory '/build-29288/tests'
cd libtest && make checksrc
make[3]: Entering directory '/build-29288/tests/libtest'
/usr/bin/perl /lib/checksrc.pl /tests/libtest/*.c
make[3]: Leaving directory '/build-29288/tests/libtest'
cd unit && make checksrc
make[3]: Entering directory '/build-29288/tests/unit'
/usr/bin/perl /lib/checksrc.pl /tests/unit/*.c
make[3]: Leaving directory '/build-29288/tests/unit'
cd server && make checksrc
make[3]: Entering directory '/build-29288/tests/server'
/usr/bin/perl /lib/checksrc.pl /tests/server/*.c
make[3]: Leaving directory '/build-29288/tests/server'
make[2]: Leaving directory '/build-29288/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 1212, remaining: 64:24)
test 0002...[HTTP GET with user and password]
-pd---emv- OK (2 out of 1212, remaining: 44:16)
test 0003...[HTTP POST with auth and contents but with content-length set to 0]
-pd---emv- OK (3 out of 1212, remaining: 37:20)
test 0004...[Replaced internal and added custom HTTP headers]
-pd---emv- OK (4 out of 1212, remaining: 34:19)
test 0005...[HTTP over proxy]
-pd---emv- OK (5 out of 1212, remaining: 32:16)
test 0006...[HTTP with simple cookie send]
-pd---emv- OK (6 out of 1212, remaining: 30:51)
test 0007...[HTTP with cookie parser and header recording]
-pd--oemv- OK (7 out of 1212, remaining: 29:49)
test 0008...[HTTP with cookie parsing from header file]
-pd---emv- OK (8 out of 1212, remaining: 29:09)
test 0009...[HTTP RFC1867-type formposting]
-pd---emv- OK (9 out of 1212, remaining: 28:41)
test 0010...[simple HTTP PUT from file]
-pd---emv- OK (10 out of 1212, remaining: 30:13)
test 0011...[simple HTTP Location: following]
-pd---emv- OK (11 out of 1212, remaining: 29:37)
test 0012...[HTTP range support]
-pd---emv- OK (12 out of 1212, remaining: 29:05)
test 0013...[HTTP custom request 'DELETE']
-pd---emv- OK (13 out of 1212, remaining: 28:37)
test 0014...[HTTP HEAD with Connection: close]
-pd---emv- OK (14 out of 1212, remaining: 28:12)
test 0015...[--write-out test]
sp----emv- OK (15 out of 1212, remaining: 27:52)
test 0016...[HTTP with proxy authorization]
-pd---emv- OK (16 out of 1212, remaining: 27:34)
test 0017...[HTTP with config file on stdin]
-pd---emv- OK (17 out of 1212, remaining: 27:18)
test 0018...[multiple requests using {} in URL]
sp----emv- OK (18 out of 1212, remaining: 27:05)
test 0019...[attempt connect to non-listening socket]
------emv- OK (19 out of 1212, remaining: 26:48)
test 0020...[attempt connect to non-existing host name]
------emv- OK (20 out of 1212, remaining: 26:32)
test 0021...[use curl with multiple request methods]
------emv- OK (21 out of 1212, remaining: 26:08)
test 0022...[get HTTP with URL > 10000 bytes]
-pd---emv- OK (22 out of 1212, remaining: 26:00)
test 0023...[unsupported protocol:// URL]
------emv- OK (23 out of 1212, remaining: 25:46)
test 0024...[HTTP GET fail silently on HTTP error return]
-p---oemv- OK (24 out of 1212, remaining: 25:37)
test 0025...[looping HTTP Location: following with --max-redirs]
-pd---emv- OK (25 out of 1212, remaining: 25:33)
test 0026...[specify more -o than URLs]
-pd---emv- OK (26 out of 1212, remaining: 25:27)
test 0027...[Get same cookie page several times]
-pd---emv- OK (27 out of 1212, remaining: 25:24)
test 0028...[HTTP Location: following with extra spaces in header]
-pd---emv- OK (28 out of 1212, remaining: 25:19)
test 0029...[HTTP with 2 secs timeout]
-pd---emv- OK (29 out of 1212, remaining: 32:01)
test 0030...[HTTP with no data in server reply]
-p----emv- OK (30 out of 1212, remaining: 31:43)
test 0031...[HTTP with weirdly formatted cookies and cookiejar storage]
-pd--oemv- OK (31 out of 1212, remaining: 31:28)
test 0032...[HTTP with -d and -G]
-pd---emv- OK (32 out of 1212, remaining: 31:11)
test 0033...[HTTP PUT with resume]
-pd---emv- OK (33 out of 1212, remaining: 31:32)
test 0034...[HTTP GET with chunked Transfer-Encoding]
-pd---emv- OK (34 out of 1212, remaining: 31:15)
test 0035...[HTTP POST binary data with embedded NUL]
-pd---emv- OK (35 out of 1212, remaining: 31:00)
test 0036...[HTTP GET with bad chunked Transfer-Encoding]
-pd---emv- OK (36 out of 1212, remaining: 30:44)
test 0037...[HTTP GET with nothing returned from server]
-p----emv- OK (37 out of 1212, remaining: 30:31)
test 0038...[HTTP resume request without server supporting it]
-p---oemv- OK (38 out of 1212, remaining: 30:17)
test 0039...[HTTP RFC1867-type formposting with filename= and type=]
-pd---emv- OK (39 out of 1212, remaining: 30:36)
test 0040...[HTTP redirect with whitespace after ? (and conversion)]
-pd---emv- OK (40 out of 1212, remaining: 30:26)
test 0041...[HTTP formpost with missing file]
------emv- OK (41 out of 1212, remaining: 30:42)
test 0042...[HTTP redirect with whitespace in path (and conversion)]
-pd---emv- OK (42 out of 1212, remaining: 30:31)
test 0043...[HTTP Location: following over HTTP proxy]
-pd---emv- OK (43 out of 1212, remaining: 30:20)
test 0044...[HTTP RFC1867-type formposting without Expect: header]
-pd---emv- OK (44 out of 1212, remaining: 30:10)
test 0045...[simple HTTP Location: without protocol in initial URL]
-pd---emv- OK (45 out of 1212, remaining: 29:59)
test 0046...[HTTP with bad domain name, get cookies and store in cookie jar]
-pd--oemv- OK (46 out of 1212, remaining: 29:50)
test 0047...[simple HTTP 1.0 GET]
-pd---emv- OK (47 out of 1212, remaining: 29:41)
test 0048...[HTTP with -d and -G and -I]
-pd---emv- OK (48 out of 1212, remaining: 29:31)
test 0049...[HTTP follow redirect with ../]
-pd---emv- OK (49 out of 1212, remaining: 29:23)
test 0050...[HTTP follow redirect with ../../]
-pd---emv- OK (50 out of 1212, remaining: 29:16)
test 0051...[HTTP follow redirect with excessive ../]
-pd---emv- OK (51 out of 1212, remaining: 29:09)
test 0052...[HTTP follow redirect with ./-prefix]
-pd---emv- OK (52 out of 1212, remaining: 29:02)
test 0053...[HTTP, junk session cookies]
-pd---emv- OK (53 out of 1212, remaining: 28:54)
test 0054...[HTTP with blank Location:]
-pd---emv- OK (54 out of 1212, remaining: 28:46)
test 0055...[HTTP follow redirect with single slash in path]
-pd---emv- OK (55 out of 1212, remaining: 28:39)
test 0056...[HTTP POST with *HUGE* request and chunked transfer-encoding]
-pd---emv- OK (56 out of 1212, remaining: 28:41)
test 0057...[HTTP content-type with spaces in]
sp----emv- OK (57 out of 1212, remaining: 28:34)
test 0058...[HTTP PUT from file with weird letters]
-pd---emv- OK (58 out of 1212, remaining: 28:47)
test 0059...[HTTP URL with slash but with "parameter"]
-pd---emv- OK (59 out of 1212, remaining: 28:39)
test 0060...[HTTP PUT from stdin with wrong content-length]
-pd---emv- OK (60 out of 1212, remaining: 28:51)
test 0061...[HTTP with various cookies and custom Host:]
-pd--oemv- OK (61 out of 1212, remaining: 28:45)
test 0062...[HTTP, send cookies when using custom Host:]
-pd---emv- OK (62 out of 1212, remaining: 28:39)
test 0063...[HTTP with proxy authorization set in environment]
-pd---emv- OK (63 out of 1212, remaining: 28:31)
test 0064...[HTTP with Digest authorization]
-pd---emv- OK (64 out of 1212, remaining: 28:25)
test 0065...[HTTP with Digest authorization with bad password]
-pd---emv- OK (65 out of 1212, remaining: 28:19)
test 0066...[HTTP GET without headers in the response]
-pd---emv- OK (66 out of 1212, remaining: 28:12)
test 0067...[HTTP with NTLM authorization]
-pd---emv- OK (67 out of 1212, remaining: 28:07)
test 0068...[HTTP with NTLM authorization and wrong password]
-pd---emv- OK (68 out of 1212, remaining: 28:02)
test 0069...[HTTP with NTLM, Basic or Wild-and-crazy authorization]
-pd---emv- OK (69 out of 1212, remaining: 27:57)
test 0070...[HTTP with Digest *OR* NTLM authorization]
-pd---emv- OK (70 out of 1212, remaining: 27:52)
test 0071...[HTTP and -F upload in config file]
-pd---emv- OK (71 out of 1212, remaining: 27:46)
test 0072...[HTTP with Digest *OR* Basic authorization]
-pd---emv- OK (72 out of 1212, remaining: 27:41)
test 0073...[HTTP, receive cookies when using custom Host:, domain using only two dots]
-pd--oemv- OK (73 out of 1212, remaining: 27:36)
test 0074...[HTTP, urlglob {}-retrieval and -o #[num] usage]
-p---oemv- OK (74 out of 1212, remaining: 27:31)
test 0075...[HTTP, urlglob retrieval with bad range]
s-----emv- OK (75 out of 1212, remaining: 27:22)
test 0076...[HTTP, -O with no file name part in the URL]
------emv- OK (76 out of 1212, remaining: 27:13)
test 0077...[HTTP with -z "older date"]
-pd---emv- OK (77 out of 1212, remaining: 27:08)
test 0078...[HTTP with -z "newer date"]
-pd---emv- OK (78 out of 1212, remaining: 27:02)
test 0079...[FTP over HTTP proxy]
-pd---emv- OK (79 out of 1212, remaining: 26:58)
test 0080...[HTTP 1.0 CONNECT with proxytunnel and proxy+host Basic authentication]
-pd-P-emv- OK (80 out of 1212, remaining: 27:28)
test 0081...[HTTP with proxy using NTLM authorization]
-pd---emv- OK (81 out of 1212, remaining: 27:24)
test 0082...[HTTP with proxy requiring NTLM, but we send Basic]
-pd---emv- OK (82 out of 1212, remaining: 27:19)
test 0083...[HTTP over proxy-tunnel with site authentication]
-pd-P-emv- OK (83 out of 1212, remaining: 27:20)
test 0084...[HTTP over proxy with site authentication]
-pd---emv- OK (84 out of 1212, remaining: 27:16)
test 0085...[HTTP over proxy with site and proxy authentication]
-pd---emv- OK (85 out of 1212, remaining: 27:11)
test 0086...[HTTP, urlglob []-retrieval and -o #[num] usage]
-p---oemv- OK (86 out of 1212, remaining: 27:08)
test 0087...[urlglob with out of range -o #[num] usage]
-----oemv- OK (87 out of 1212, remaining: 27:03)
test 0088...[HTTP PUT with Digest authorization]
-pd---emv- OK (88 out of 1212, remaining: 27:12)
test 0089...[HTTP with NTLM and follow-location]
-pd---emv- OK (89 out of 1212, remaining: 27:10)
test 0090...[HTTP with NTLM via --anyauth, and then follow-location with NTLM again]
-pd---emv- OK (90 out of 1212, remaining: 27:08)
test 0091...[HTTP with NTLM/Negotiate/Basic, anyauth and user with domain, with size 0]
-pd---emv- OK (91 out of 1212, remaining: 27:04)
test 0092...[HTTP resume transfer with the whole file already downloaded]
-pd---emv- OK (92 out of 1212, remaining: 27:00)
test 0093...[HTTP GET with failed proxy auth]
-pd---emv- OK (93 out of 1212, remaining: 26:55)
test 0094...[HTTPS GET with failed proxy auth (CONNECT 1.0)]
-p----emv- OK (94 out of 1212, remaining: 26:50)
test 0095...[HTTP over proxytunnel using POST]
-pd-P-emv- OK (95 out of 1212, remaining: 26:51)
test 0096...[curl memory tracking operational]
-----oemv- OK (96 out of 1212, remaining: 26:44)
test 0097...[HTTP POST with custom content-type]
-pd---emv- OK (97 out of 1212, remaining: 26:39)
test 0098...[HTTP PUT from stdin with set size, disabling chunked transfer-encoding]
-pd---emv- OK (98 out of 1212, remaining: 26:46)
test 0099...[HTTP GET with large-file resume point and failed resume]
-pd---emv- OK (99 out of 1212, remaining: 26:42)
test 0100...[FTP dir list PASV]
-pd---emv- OK (100 out of 1212, remaining: 27:01)
test 0101...[FTP dir list, PORT with specified IP]
-pd---emv- OK (101 out of 1212, remaining: 26:57)
test 0102...[FTP RETR PASV]
-pd---emv- OK (102 out of 1212, remaining: 26:53)
test 0103...[FTP RETR PORT with CWD]
-pd---emv- OK (103 out of 1212, remaining: 26:49)
test 0104...[FTP --head to get file size only]
-p----emv- OK (104 out of 1212, remaining: 26:45)
test 0105...[FTP user+password in URL and ASCII transfer]
-pd---emv- OK (105 out of 1212, remaining: 26:41)
test 0106...[FTP GET with type=A style ASCII URL using %20 codes]
-pd---emv- OK (106 out of 1212, remaining: 26:37)
test 0107...[FTP PASV upload file]
-p-u--emv- OK (107 out of 1212, remaining: 26:34)
test 0108...[FTP PORT upload with CWD]
-p-u--emv- OK (108 out of 1212, remaining: 26:30)
test 0109...[FTP PASV upload append]
-p-u--emv- OK (109 out of 1212, remaining: 26:26)
test 0110...[FTP download resume with set limit]
-pd---emv- OK (110 out of 1212, remaining: 26:23)
test 0111...[FTP download resume beyond file size]
Killed
-p----emv- OK (111 out of 1212, remaining: 26:19)
test 0112...[FTP PASV upload resume]
-p-u--emv- OK (112 out of 1212, remaining: 26:15)
test 0113...[FTP download, failed login: USER not valid]
-p----emv- OK (113 out of 1212, remaining: 26:11)
test 0114...[FTP download, failed login: PASS not valid]
-p----emv- OK (114 out of 1212, remaining: 26:07)
test 0115...[FTP download, failed PASV]
-p----emv- OK (115 out of 1212, remaining: 26:03)
test 0116...[FTP download, failed PORT]
-p----emv- OK (116 out of 1212, remaining: 25:59)
test 0117...[FTP download, failed TYPE]
Killed
-p----emv- OK (117 out of 1212, remaining: 25:55)
test 0118...[FTP download, failed RETR]
Killed
-p----emv- OK (118 out of 1212, remaining: 25:52)
test 0119...[FTP download, failed RETR with PORT]
Killed
-p----emv- OK (119 out of 1212, remaining: 25:48)
test 0120...[ftp download with post-quote delete operation]
-pd---emv- OK (120 out of 1212, remaining: 25:45)
test 0121...[ftp download with post- and pre-transfer delete operations]
-pd---emv- OK (121 out of 1212, remaining: 25:42)
test 0122...[FTP download resume with whole file already downloaded]
Killed
-p----emv- OK (122 out of 1212, remaining: 25:38)
test 0123...[FTP upload resume with whole file already downloaded]
Killed
-p----emv- OK (123 out of 1212, remaining: 25:35)
test 0124...[FTP download, failed PWD]
-pd---emv- OK (124 out of 1212, remaining: 25:32)
test 0125...[FTP download, failed CWD]
-p----emv- OK (125 out of 1212, remaining: 25:28)
test 0126...[FTP download with multiple replies at once in RETR]
-pd---emv- OK (126 out of 1212, remaining: 25:25)
test 0127...[FTP --disable-epsv]
-pd---emv- OK (127 out of 1212, remaining: 25:22)
test 0128...[FTP upload with --crlf]
-p-u--emv- OK (128 out of 1212, remaining: 25:19)
test 0129...[FTP GET with type=A style ASCII URL and understated server SIZE]
-pd---emv- OK (129 out of 1212, remaining: 25:17)
test 0130...[FTP (optional .netrc; no user/pass) dir list PASV]
-pd---emv- OK (130 out of 1212, remaining: 25:14)
test 0131...[FTP (optional .netrc; user/no pass) dir list PASV]
-pd---emv- OK (131 out of 1212, remaining: 25:11)
test 0132...[FTP (optional .netrc; user/passwd supplied) dir list PASV]
-pd---emv- OK (132 out of 1212, remaining: 25:08)
test 0133...[FTP (compulsory .netrc; ignored user/passwd) dir list PASV]
-pd---emv- OK (133 out of 1212, remaining: 25:05)
test 0134...[FTP (optional .netrc; programmatic user/passwd) dir list PASV]
-pd---emv- OK (134 out of 1212, remaining: 25:03)
test 0135...[FTP retrieve a byte-range]
-pd---emv- OK (135 out of 1212, remaining: 25:00)
test 0136...[FTP with user and no password]
-pd---emv- OK (136 out of 1212, remaining: 24:57)
test 0137...[FTP download without size in RETR string]
-pd---emv- OK (137 out of 1212, remaining: 24:54)
test 0138...[FTP download without size in RETR string and no SIZE command]
-pd---emv- OK (138 out of 1212, remaining: 24:52)
test 0139...[FTP download a newer file with -z]
-pd---emv- OK (139 out of 1212, remaining: 24:49)
test 0140...[FTP download file with -z, expected to not transfer]
-p----emv- OK (140 out of 1212, remaining: 24:46)
test 0141...[FTP download info with -I]
sp----emv- OK (141 out of 1212, remaining: 24:43)
test 0142...[FTP URL with 150 dir levels]
-pd---emv- OK (142 out of 1212, remaining: 24:41)
test 0143...[FTP URL with type=a]
-pd---emv- OK (143 out of 1212, remaining: 24:39)
test 0144...[FTP NLST dir list without contents, using PORT]
Killed
-p----emv- OK (144 out of 1212, remaining: 24:36)
test 0145...[FTP NLST dir list with weird reply code, using PORT]
Killed
-p----emv- OK (145 out of 1212, remaining: 24:33)
test 0146...[persistent FTP with different paths]
-pd---emv- OK (146 out of 1212, remaining: 24:31)
test 0147...[FTP with --ftp-create-dirs (failing CWD)]
-pd---emv- OK (147 out of 1212, remaining: 24:29)
test 0148...[FTP with --ftp-create-dirs (failing MKD)]
-p----emv- OK (148 out of 1212, remaining: 24:26)
test 0149...[FTP with multiple uploads]
-p---oemv- OK (149 out of 1212, remaining: 24:24)
test 0150...[HTTP with NTLM authorization and --fail]
-pd---emv- OK (150 out of 1212, remaining: 24:22)
test 0151...[HTTP GET with an error code that might trick authentication]
-pd---emv- OK (151 out of 1212, remaining: 24:19)
test 0152...[HTTP GET with an error code that might trick authentication and --fail]
-p----emv- OK (152 out of 1212, remaining: 24:16)
test 0153...[HTTP with Digest authorization with stale=true]
sp----emv- OK (153 out of 1212, remaining: 24:14)
test 0154...[HTTP PUT with --anyauth authorization (picking Digest)]
-pd---emv- OK (154 out of 1212, remaining: 24:19)
test 0155...[HTTP PUT with --anyauth authorization (picking NTLM)]
-pd---emv- OK (155 out of 1212, remaining: 24:24)
test 0156...[HTTP PUT with --anyauth (when the server requires none)]
-pd---emv- OK (156 out of 1212, remaining: 24:28)
test 0157...[HTTP GET with --anyauth (when the server requires none)]
-pd---emv- OK (157 out of 1212, remaining: 24:25)
test 0158...[HTTP multipart formpost with only a 100 reply]
-pd---emv- OK (158 out of 1212, remaining: 24:23)
test 0159...[HTTP with NTLM authorization when talking HTTP/1.0 (known to fail)]
-pd---emv- OK (159 out of 1212, remaining: 24:20)
test 0160...[HTTP with delayed close, conn reuse, connection reset and retry]
sp----emv- OK (160 out of 1212, remaining: 24:31)
test 0161...[FTP RETR PASV]
-pd---emv- OK (161 out of 1212, remaining: 24:28)
test 0162...[HTTP GET asking for --proxy-ntlm when some other authentication is required]
-p----emv- OK (162 out of 1212, remaining: 24:25)
test 0163...[HTTP multipart formpost with contents from a file]
-pd---emv- OK (163 out of 1212, remaining: 24:23)
test 0164...[HTTP range with multiple ranges]
-pd---emv- OK (164 out of 1212, remaining: 24:20)
test 0165...[HTTP over proxy with IDN host name]
-pd---emv- OK (165 out of 1212, remaining: 24:18)
test 0166...[HTTP formpost a file with spaces in name]
-pd---emv- OK (166 out of 1212, remaining: 24:15)
test 0167...[HTTP with proxy-requiring-Basic to site-requiring-Digest]
-pd---emv- OK (167 out of 1212, remaining: 24:13)
test 0168...[HTTP with proxy-requiring-Digest to site-requiring-Digest]
-pd---emv- OK (168 out of 1212, remaining: 24:11)
test 0169...[HTTP with proxy-requiring-NTLM to site-requiring-Digest]
-pd---emv- OK (169 out of 1212, remaining: 24:09)
test 0170...[HTTP POST with --proxy-ntlm and no SSL with no response]
-p----emv- OK (170 out of 1212, remaining: 24:07)
test 0171...[HTTP, get cookie with dot prefixed full domain]
-pd--oemv- OK (171 out of 1212, remaining: 24:04)
test 0172...[HTTP with cookies file and custom added cookie]
-pd---emv- OK (172 out of 1212, remaining: 24:02)
test 0173...[HTTP RFC1867-formpost a file from stdin with "faked" filename]
-pd---emv- OK (173 out of 1212, remaining: 23:59)
test 0174...[HTTP POST --anyauth to server not requiring any auth at all]
-pd---emv- OK (174 out of 1212, remaining: 23:57)
test 0175...[HTTP POST --digest to server not requiring any auth at all]
-pd---emv- OK (175 out of 1212, remaining: 23:54)
test 0176...[HTTP POST --ntlm to server not requiring any auth at all]
-pd---emv- OK (176 out of 1212, remaining: 23:52)
test 0177...[HTTP POST --digest to server doing a 302-location response]
-pd---emv- OK (177 out of 1212, remaining: 23:50)
test 0178...[HTTP response with negative Content-Length]
-pd---emv- OK (178 out of 1212, remaining: 23:47)
test 0179...[HTTP using proxy and cookies with path checks]
-pd---emv- OK (179 out of 1212, remaining: 23:44)
test 0180...[HTTP 1.0 PUT]
-pd---emv- OK (180 out of 1212, remaining: 23:42)
test 0181...[HTTP 1.0 POST]
-pd---emv- OK (181 out of 1212, remaining: 23:40)
test 0182...[FTP download an empty file]
-pd---emv- OK (182 out of 1212, remaining: 23:37)
test 0183...[HTTP GET two URLs over a single proxy with persistent connection]
-pd---emv- OK (183 out of 1212, remaining: 23:35)
test 0184...[HTTP replace Host: when following Location: to new host]
-pd---emv- OK (184 out of 1212, remaining: 23:33)
test 0185...[HTTP replace Host: when following Location: on the same host]
-pd---emv- OK (185 out of 1212, remaining: 23:30)
test 0186...[HTTP RFC1867-type formposting with types on text fields]
-pd---emv- OK (186 out of 1212, remaining: 23:28)
test 0187...[HTTP redirect with bad host name separation and slash in parameters]
-pd---emv- OK (187 out of 1212, remaining: 23:26)
test 0188...[HTTP GET with resume and redirect]
-pd---emv- OK (188 out of 1212, remaining: 23:24)
test 0189...[HTTP GET with resume and redirect (to a page that doesn't resume)]
-pd---emv- OK (189 out of 1212, remaining: 23:21)
test 0190...[FTP download with strict timeout and slow CWD]
Killed
-p----emv- OK (190 out of 1212, remaining: 24:07)
test 0191...[FTP URL with ?-letters in username and password ]
-pd---emv- OK (191 out of 1212, remaining: 24:15)
test 0192...[HTTP GET -w num_connects with one simple connect]
sp----emv- OK (192 out of 1212, remaining: 24:12)
test 0193...[HTTP GET -w num_connects with redirected fetch (2 connects)]
sp----emv- OK (193 out of 1212, remaining: 24:10)
test 0194...[HTTP resume transfer with the whole file already downloaded and --fail]
-pd---emv- OK (194 out of 1212, remaining: 24:07)
test 0195...[FTP response 530 after PASS, temporarily not allowed access]
-p----emv- OK (195 out of 1212, remaining: 24:04)
test 0196...[FTP transient error, retry request once]
-p----emv- OK (196 out of 1212, remaining: 24:07)
test 0197...[HTTP GET --retry on 503 error with output to stdout]
sp----emv- OK (197 out of 1212, remaining: 24:09)
test 0198...[HTTP GET --retry on 503 error with output to file]
-pd---emv- OK (198 out of 1212, remaining: 24:12)
test 0199...[HTTP with -d, -G and {}]
-pd---emv- OK (199 out of 1212, remaining: 24:09)
test 0200...[basic file:// file]
--d---emv- OK (200 out of 1212, remaining: 24:06)
test 0201...[missing file:// file]
------emv- OK (201 out of 1212, remaining: 24:03)
test 0202...[two file:// URLs to stdout]
s-----emv- OK (202 out of 1212, remaining: 24:00)
test 0203...[file:/path URL with a single slash]
--d---emv- OK (203 out of 1212, remaining: 23:57)
test 0204...["upload" with file://]
-----oemv- OK (204 out of 1212, remaining: 23:54)
test 0205...["upload" with file://]
------emv- OK (205 out of 1212, remaining: 23:51)
test 0206...[HTTP proxy CONNECT auth Digest]
-pd---emv- OK (206 out of 1212, remaining: 23:48)
test 0207...[HTTP GET with chunked Transfer-Encoding closed prematurely]
-pd---emv- OK (207 out of 1212, remaining: 23:46)
test 0208...[HTTP PUT to a FTP URL with username+password - over HTTP proxy]
-pd---emv- OK (208 out of 1212, remaining: 23:48)
test 0209...[HTTP proxy CONNECT auth NTLM]
-pd---emv- OK (209 out of 1212, remaining: 23:46)
test 0210...[Get two FTP files from the same remote dir: no second CWD]
-pd---emv- OK (210 out of 1212, remaining: 23:44)
test 0211...[Get two FTP files with no remote EPSV support]
-pd---emv- OK (211 out of 1212, remaining: 23:42)
test 0212...[Get two FTP files with no remote EPRT support]
-pd---emv- OK (212 out of 1212, remaining: 23:40)
test 0213...[HTTP 1.0 proxy CONNECT auth NTLM and then POST]
-pd---emv- OK (213 out of 1212, remaining: 23:38)
test 0214...[HTTP URL with escaped { and }]
-pd---emv- OK (214 out of 1212, remaining: 23:35)
test 0215...[Get two FTP dir listings from the same remote dir: no second CWD]
-pd---emv- OK (215 out of 1212, remaining: 23:33)
test 0216...[FTP upload two files to the same dir]
-p----emv- OK (216 out of 1212, remaining: 23:31)
test 0217...[HTTP proxy CONNECT to proxy returning 405]
sp----emv- OK (217 out of 1212, remaining: 23:29)
test 0218...[HTTP PUT from a file but enforce chunked transfer-encoding]
-pd---emv- OK (218 out of 1212, remaining: 23:31)
test 0219...[try using proxy with unsupported scheme]
------emv- OK (219 out of 1212, remaining: 23:28)
test 0220...[HTTP GET gzip compressed content]
-pd---emv- OK (220 out of 1212, remaining: 23:25)
test 0221...[HTTP GET gzip compressed content with broken gzip header]
-pd---emv- OK (221 out of 1212, remaining: 23:23)
test 0222...[HTTP GET deflate compressed content]
-pd---emv- OK (222 out of 1212, remaining: 23:21)
test 0223...[HTTP GET deflate compressed content with broken deflate header]
-pd---emv- OK (223 out of 1212, remaining: 23:18)
test 0224...[HTTP GET gzip compressed content with huge comment and extra field]
-pd---emv- OK (224 out of 1212, remaining: 23:16)
test 0225...[FTP %0a-code in URL's name part]
------emv- OK (225 out of 1212, remaining: 23:13)
test 0226...[FTP %0d-code in URL's CWD part]
------emv- OK (226 out of 1212, remaining: 23:10)
test 0227...[FTP with quote ops]
-pd---emv- OK (227 out of 1212, remaining: 23:08)
test 0228...[FTP RETR with ACCT]
-pd---emv- OK (228 out of 1212, remaining: 23:06)
test 0229...[FTP RETR with bad ACCT]
-p----emv- OK (229 out of 1212, remaining: 23:03)
test 0230...[HTTP GET multiply compressed content]
-pd---emv- OK (230 out of 1212, remaining: 23:01)
test 0231...[file:// with resume]
--d---emv- OK (231 out of 1212, remaining: 22:59)
test 0232...[HTTP GET deflate raw-compressed content]
-pd---emv- OK (232 out of 1212, remaining: 22:56)
test 0233...[HTTP, proxy, site+proxy auth and Location: to new host]
-pd---emv- OK (233 out of 1212, remaining: 22:54)
test 0234...[HTTP, proxy, site+proxy auth and Location: to new host using location-trusted]
-pd---emv- OK (234 out of 1212, remaining: 22:52)
test 0235...[FTP resumed upload but no file present remotely]
-p-u--emv- OK (235 out of 1212, remaining: 22:50)
test 0236...[FTP resume upload but denied access to remote file]
Killed
-p----emv- OK (236 out of 1212, remaining: 22:47)
test 0237...[FTP getting bad host in 227-response to PASV]
-p----emv- OK (237 out of 1212, remaining: 22:45)
test 0238...[FTP getting bad port in response to EPSV]
-p----emv- OK (238 out of 1212, remaining: 22:43)
test 0239...[HTTP proxy-auth NTLM and then POST]
-pd---emv- OK (239 out of 1212, remaining: 22:41)
test 0240...[HTTP-IPv6 GET]
-pd---emv- OK (240 out of 1212, remaining: 22:47)
test 0241...[HTTP-IPv6 GET (using ip6-localhost)]
-pd---emv- OK (241 out of 1212, remaining: 22:45)
test 0242...[HTTP-IPv6 GET with username+password in URL]
-pd---emv- OK (242 out of 1212, remaining: 22:42)
test 0243...[HTTP POST with --proxy-anyauth, picking NTLM]
-pd---emv- OK (243 out of 1212, remaining: 22:40)
test 0244...[FTP dir listing with nocwd and URL encoded path]
-pd---emv- OK (244 out of 1212, remaining: 22:38)
test 0245...[HTTP POST --digest]
-pd---emv- OK (245 out of 1212, remaining: 22:36)
test 0246...[HTTP POST --digest with server doing a 100 before 401 response]
-pd---emv- OK (246 out of 1212, remaining: 22:34)
test 0247...[FTP upload time condition evaluates TRUE => skip upload]
-p----emv- OK (247 out of 1212, remaining: 22:32)
test 0248...[FTP upload time condition evaluates FALSE => upload anyway]
-p-u--emv- OK (248 out of 1212, remaining: 22:30)
test 0249...[HTTP 304 response with "illegal" Content-Length: header]
-pd---emv- OK (249 out of 1212, remaining: 22:28)
test 0250...[FTP dir list PASV with slow response]
-pd---emv- OK (250 out of 1212, remaining: 23:05)
test 0251...[FTP dir list, PORT with specified IP and slow response]
-pd---emv- OK (251 out of 1212, remaining: 23:42)
test 0252...[FTP IPv6 dir list PASV]
-pd---emv- OK (252 out of 1212, remaining: 23:47)
test 0253...[FTP IPv6 dir list with EPRT]
-pd---emv- OK (253 out of 1212, remaining: 23:45)
test 0254...[FTP IPv6 dir list PASV and --disable-epsv]
-pd---emv- OK (254 out of 1212, remaining: 23:42)
test 0255...[FTP IPv6 dir list with EPRT and --disable-eprt]
-pd---emv- OK (255 out of 1212, remaining: 23:40)
test 0256...[HTTP resume request over proxy with auth without server supporting it]
-p---oemv- OK (256 out of 1212, remaining: 23:37)
test 0257...[HTTP Location: following with --netrc-optional]
-pd---emv- OK (257 out of 1212, remaining: 23:35)
test 0258...[HTTP POST multipart without Expect: header using proxy anyauth (Digest)]
-pd---emv- OK (258 out of 1212, remaining: 23:33)
test 0259...[HTTP POST multipart with Expect: header using proxy anyauth (Digest)]
-pd---emv- OK (259 out of 1212, remaining: 23:38)
test 0260...[HTTP GET URL without slash but with questionmark]
-pd---emv- OK (260 out of 1212, remaining: 23:35)
test 0261...[FTP RETR with 226 response code to TYPE]
-pd---emv- OK (261 out of 1212, remaining: 23:33)
test 0262...[HTTP GET with binary zeroes in header]
-pd---emv- OK (262 out of 1212, remaining: 23:30)
test 0263...[HTTP-IPv6 GET with proxy specified using IPv6-numerical address]
-pd---emv- OK (263 out of 1212, remaining: 23:28)
test 0264...[HTTP with proxy string including http:// and user+password]
-pd---emv- OK (264 out of 1212, remaining: 23:25)
test 0265...[HTTP proxy CONNECT auth NTLM and then POST, response-body in the 407]
-pd---emv- OK (265 out of 1212, remaining: 23:23)
test 0266...[HTTP GET with chunked Transfer-Encoding and chunked trailer]
-pd--oemv- OK (266 out of 1212, remaining: 23:21)
test 0267...[HTTP POST with NTLM authorization and added custom headers]
-pd---emv- OK (267 out of 1212, remaining: 23:18)
test 0268...[HTTP POST a non-existing file]
-pd---emv- OK (268 out of 1212, remaining: 23:16)
test 0269...[HTTP --ignore-content-length]
-pd---emv- OK (269 out of 1212, remaining: 23:13)
test 0270...[FTP RETR PASV --ftp-skip-pasv-ip]
-pd---emv- OK (270 out of 1212, remaining: 23:11)
test 0271...[TFTP retrieve]
-pd---emv- OK (271 out of 1212, remaining: 23:15)
test 0272...[FTP timed conditioned get file with identical time stamp ]
-p----emv- OK (272 out of 1212, remaining: 23:13)
test 0273...[HTTP with two Digest authorization headers]
-pd---emv- OK (273 out of 1212, remaining: 23:10)
test 0274...[HTTP Location: following with --max-redirs 0]
-pd---emv- OK (274 out of 1212, remaining: 23:08)
test 0275...[HTTP CONNECT with proxytunnel getting two URLs from the same host]
-pd-P-emv- OK (275 out of 1212, remaining: 23:07)
test 0276...[HTTP Location: following with multiple question marks in URLs]
-pd---emv- OK (276 out of 1212, remaining: 23:05)
test 0277...[HTTP RFC1867-type formposting with custom Content-Type]
-pd---emv- OK (277 out of 1212, remaining: 23:02)
test 0278...[HTTP with proxy string including http:// and user+empty password]
-pd---emv- OK (278 out of 1212, remaining: 23:00)
test 0279...[HTTP with proxy string including http:// and user only]
-pd---emv- OK (279 out of 1212, remaining: 22:57)
test 0280...[FTP --ftp-alternative-to-user on USER failure]
-pd---emv- OK (280 out of 1212, remaining: 22:55)
test 0281...[HTTP PUT from file with 100 + 401 responses and -f without auth given]
-pd---emv- OK (281 out of 1212, remaining: 22:56)
test 0282...[HTTP GET with no response body or headers]
-pd---emv- OK (282 out of 1212, remaining: 22:53)
test 0283...[TFTP retrieve on invalid file]
-p----emv- OK (283 out of 1212, remaining: 22:51)
test 0284...[TFTP retrieve of boundary case 512 byte file]
-pd---emv- OK (284 out of 1212, remaining: 22:48)
test 0285...[TFTP send]
-p-u--emv- OK (285 out of 1212, remaining: 23:02)
test 0286...[TFTP send of boundary case 512 byte file]
-p-u--emv- OK (286 out of 1212, remaining: 23:15)
test 0287...[HTTP proxy CONNECT with custom User-Agent header]
sp----emv- OK (287 out of 1212, remaining: 23:12)
test 0288...[file:// with (unsupported) proxy, authentication and range]
--d---emv- OK (288 out of 1212, remaining: 23:09)
test 0289...[FTP resume upload but denied access to local file]
------emv- OK (289 out of 1212, remaining: 23:06)
test 0290...[FTP download maximum filesize exceeded]
Killed
-p----emv- OK (290 out of 1212, remaining: 23:04)
test 0291...[FTP download maximum filesize not exceeded]
-pd---emv- OK (291 out of 1212, remaining: 23:01)
test 0292...[HTTP GET with maximum filesize not exceeded]
-pd---emv- OK (292 out of 1212, remaining: 22:59)
test 0293...[HTTP GET with maximum filesize exceeded]
-p----emv- OK (293 out of 1212, remaining: 22:56)
test 0294...[FTP --ftp-account on ACCT request]
-pd---emv- OK (294 out of 1212, remaining: 22:54)
test 0295...[FTP ACCT request without --ftp-account]
-p----emv- OK (295 out of 1212, remaining: 22:51)
test 0296...[FTP CWD with --ftp-method multicwd]
-pd---emv- OK (296 out of 1212, remaining: 22:49)
test 0297...[FTP CWD with --ftp-method singlecwd]
-pd---emv- OK (297 out of 1212, remaining: 22:47)
test 0298...[FTP CWD with --ftp-method nocwd]
-pd---emv- OK (298 out of 1212, remaining: 22:44)
test 0299...[FTP over HTTP proxy with user:pass not in url]
-pd---emv- OK (299 out of 1212, remaining: 22:42)
test 0300...[simple HTTPS GET]
goto problem 10
valgrind ERROR ==30266== Invalid read of size 8
==30266== at 0x5E755A5: check_free (dlerror.c:188)
==30266== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30266== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30266== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30266== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30266== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30266== by 0x559BF79: exit (exit.c:139)
==30266== by 0x55860A1: (below main) (libc-start.c:342)
==30266== Address 0x66ae530 is 0 bytes after a block of size 32 alloc'd
==30266== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30266== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30266== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30266== by 0x4DD1E85: err_get_state (err.c:210)
==30266== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30266== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30266== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30266== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30266== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30266== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30266== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30266== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30266== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30266== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30266== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30266== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30266==
==30266== Invalid free() / delete / delete[] / realloc()
==30266== at 0x48369AB: free (vg_replace_malloc.c:530)
==30266== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30266== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30266== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30266== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30266== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30266== by 0x559BF79: exit (exit.c:139)
==30266== by 0x55860A1: (below main) (libc-start.c:342)
==30266== Address 0x66ae518 is 8 bytes inside a block of size 32 alloc'd
==30266== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30266== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30266== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30266== by 0x4DD1E85: err_get_state (err.c:210)
==30266== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30266== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30266== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30266== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30266== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30266== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30266== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30266== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30266== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30266== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30266== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30266== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30266==
==30266== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30266== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30266== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30266== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30266== by 0x4DD1E85: err_get_state (err.c:210)
==30266== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30266== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30266== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30266== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30266== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30266== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30266== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30266== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30266== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30266== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30266== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30266== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30266==
== 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:01:27.307154 ====> Client connect
03:01:27.307189 accept_connection 3 returned 4
03:01:27.307203 accept_connection 3 returned 0
03:01:27.307512 Read 96 bytes
03:01:27.307556 Process 96 bytes request
03:01:27.307580 Got request: GET /verifiedserver HTTP/1.1
03:01:27.307593 Are-we-friendly question received
03:01:27.307617 Wrote request (96 bytes) input to log/server.input
03:01:27.307653 Identifying ourselves as friends
03:01:27.307718 Response sent (56 bytes) and written to log/server.response
03:01:27.307733 special request received, no persistency
03:01:27.307744 ====> Client disconnect 0
03:01:31.035949 ====> Client connect
03:01:31.035974 accept_connection 3 returned 4
03:01:31.035993 accept_connection 3 returned 0
03:01:31.109746 Read 85 bytes
03:01:31.109785 Process 85 bytes request
03:01:31.109804 Got request: GET /300 HTTP/1.1
03:01:31.109818 Requested test number 300 part 0
03:01:31.109851 - request found to be complete
03:01:31.109887 Wrote request (85 bytes) input to log/server.input
03:01:31.109918 Send response test300 section <data>
03:01:31.110001 Response sent (103 bytes) and written to log/server.response
03:01:31.110016 => persistent connection request ended, awaits new request
03:01:31.178428 Connection closed by client
03:01:31.178469 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.01.06 03:01:27 LOG5[30259]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.06 03:01:27 LOG5[30259]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.06 03:01:27 LOG5[30259]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.06 03:01:27 LOG5[30259]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.06 03:01:27 LOG5[30259]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.06 03:01:27 LOG5[30259]: Reading configuration from file /build-29288/tests/https_stunnel.conf
2019.01.06 03:01:27 LOG5[30259]: FIPS mode disabled
2019.01.06 03:01:27 LOG5[30259]: Configuration successful
2019.01.06 03:01:28 LOG5[30264]: Service [curltest] accepted connection from 127.0.0.1:33992
2019.01.06 03:01:28 LOG5[30264]: s_connect: connected 127.0.0.1:8990
2019.01.06 03:01:28 LOG5[30264]: Service [curltest] connected remote server from 127.0.0.1:56836
2019.01.06 03:01:28 LOG5[30264]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.06 03:01:30 LOG5[30267]: Service [curltest] accepted connection from 127.0.0.1:33996
2019.01.06 03:01:31 LOG5[30267]: s_connect: connected 127.0.0.1:8990
2019.01.06 03:01:31 LOG5[30267]: Service [curltest] connected remote server from 127.0.0.1:56840
2019.01.06 03:01:31 LOG5[30267]: Connection closed: 103 byte(s) sent to SSL, 85 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x5575b30d46a8; line 1446 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5575b30d46a8; line 1498 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5575b30d46a8; line 1617 (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 0x5575b30d46a8; line 1631 (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 0x5575b30d46a8; line 1652 (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 0x5575b30d46a8; line 1714 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x5575b30d46a8; line 1838 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x5575b30d46a8; line 1853 (connection #0)
{ [5 bytes data]
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x5575b30d46a8; line 2050 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 28896
=== 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: 17
WE ROOLZ: 28896
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:01:30.250363 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:01:30.303498 == Info: Added connection 0. The cache now contains 1 members
03:01:30.320570 == Info: Trying 127.0.0.1...
03:01:30.321164 == Info: TCP_NODELAY set
03:01:30.326225 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:01:30.337289 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:01:30.337845 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:01:30.338976 == Info: Marked for [keep alive]: HTTP default
03:01:30.359112 == Info: ALPN, offering h2
03:01:30.359386 == Info: ALPN, offering http/1.1
03:01:31.549749 == Info: successfully set certificate verify locations:
03:01:31.550013 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:31.629469 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:31.634729 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:31.634789 => Send SSL data, 160 bytes (0xa0)
0000: ..........dp.gn~.(.(!>.].bb.|...!.5.%...*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:01:31.652421 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:31.656894 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:31.656954 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...$...S&.....%...:.....l7,r>H.(l. +.g..W..U...o.........r..
0040: F..S..../................
03:01:31.701311 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:31.701750 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:31.701808 <= 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:31.800795 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:31.801050 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:31.801108 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.P1!q.....[..&.<..][......v..v.....S'....03Od.H]..NF...9
0040: a.O..Z.........@Enb...T..U6...;i...!.Nf.......(.(|<...Q..q+P...)
0080: y..]>8...%4.B.....+..8.-......h....zh.........:.:/&.....G&._ E..
00c0: .8\J.@.=x..m gS...........|.....{*...I.m.0.j....vD.,CF..y?...1.]
0100: ...%..D.ga...v......'...x..|#......h.sw..\2......+G.s...v.bk..xe
0140: ..f.VQA......
03:01:31.870075 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:31.870390 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:31.870448 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:31.989509 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:31.989759 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:31.989818 => Send SSL data, 70 bytes (0x46)
0000: ...BA....M.v....".c.qe.3.7.....[........d..&Jc@.bn.6. ..........
0040: oD5-\.
03:01:32.002479 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:32.003059 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:32.003118 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:32.034841 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:32.035024 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:32.035080 => Send SSL data, 16 bytes (0x10)
0000: .....6..\Hv."..,
03:01:32.037624 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:32.038665 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:32.038724 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:32.041143 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:32.046615 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:32.046684 <= Recv SSL data, 16 bytes (0x10)
0000: ....~<.n]k......
03:01:32.068435 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:32.069161 == Info: ALPN, server did not agree to a protocol
03:01:32.071381 == Info: Server certificate:
03:01:32.078822 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:32.085064 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:32.086007 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:32.086850 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:32.087777 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:32.089342 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626e7a8; line 1635 (connection #0)
03:01:32.108370 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:01:32.111147 => 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:01:32.114057 == Info: STATE: DO => DO_DONE handle 0x626e7a8; line 1714 (connection #0)
03:01:32.115050 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:01:32.115833 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:01:32.120379 <= Recv SSL data, 5 bytes (0x5)
0000: ....[7F]
03:01:32.130897 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:01:32.133331 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:01:32.136943 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:01:32.138778 == Info: Server test-server/fake is not blacklisted
03:01:32.139065 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:01:32.140109 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:01:32.142305 <= Recv header, 1 bytes (0x1)
0000: .
03:01:32.143097 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:01:32.149794 == Info: STATE: PERFORM => DONE handle 0x626e7a8; line 2050 (connection #0)
03:01:32.150315 == Info: multi_done
03:01:32.158767 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:32.161222 == Info: Expire cleared
=== End of file trace300
=== Start of file valgrind300
==30266== Invalid read of size 8
==30266== at 0x5E755A5: check_free (dlerror.c:188)
==30266== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30266== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30266== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30266== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30266== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30266== by 0x559BF79: exit (exit.c:139)
==30266== by 0x55860A1: (below main) (libc-start.c:342)
==30266== Address 0x66ae530 is 0 bytes after a block of size 32 alloc'd
==30266== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30266== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30266== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30266== by 0x4DD1E85: err_get_state (err.c:210)
==30266== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30266== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30266== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30266== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30266== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30266== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30266== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30266== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30266== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30266== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30266== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30266== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30266==
==30266== Invalid free() / delete / delete[] / realloc()
==30266== at 0x48369AB: free (vg_replace_malloc.c:530)
==30266== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30266== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30266== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30266== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30266== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30266== by 0x559BF79: exit (exit.c:139)
==30266== by 0x55860A1: (below main) (libc-start.c:342)
==30266== Address 0x66ae518 is 8 bytes inside a block of size 32 alloc'd
==30266== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30266== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30266== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30266== by 0x4DD1E85: err_get_state (err.c:210)
==30266== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30266== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30266== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30266== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30266== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30266== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30266== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30266== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30266== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30266== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30266== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30266== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30266==
==30266== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30266== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30266== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30266== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30266== by 0x4DD1E85: err_get_state (err.c:210)
==30266== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30266== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30266== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30266== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30266== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30266== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30266== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30266== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30266== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30266== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30266== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30266== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30266==
=== End of file valgrind300
test 0301...[HTTPS GET with user and password]
goto problem 11
valgrind ERROR ==30270== Invalid read of size 8
==30270== at 0x5E755A5: check_free (dlerror.c:188)
==30270== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30270== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30270== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30270== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30270== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30270== by 0x559BF79: exit (exit.c:139)
==30270== by 0x55860A1: (below main) (libc-start.c:342)
==30270== Address 0x66b15a0 is 0 bytes after a block of size 32 alloc'd
==30270== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30270== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30270== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30270== by 0x4DD1E85: err_get_state (err.c:210)
==30270== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30270== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30270== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30270== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30270== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30270== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30270== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30270== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30270== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30270== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30270== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30270== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30270==
==30270== Invalid free() / delete / delete[] / realloc()
==30270== at 0x48369AB: free (vg_replace_malloc.c:530)
==30270== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30270== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30270== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30270== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30270== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30270== by 0x559BF79: exit (exit.c:139)
==30270== by 0x55860A1: (below main) (libc-start.c:342)
==30270== Address 0x66b1588 is 8 bytes inside a block of size 32 alloc'd
==30270== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30270== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30270== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30270== by 0x4DD1E85: err_get_state (err.c:210)
==30270== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30270== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30270== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30270== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30270== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30270== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30270== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30270== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30270== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30270== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30270== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30270== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30270==
==30270== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30270== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30270== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30270== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30270== by 0x4DD1E85: err_get_state (err.c:210)
==30270== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30270== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30270== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30270== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30270== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30270== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30270== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30270== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30270== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30270== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30270== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30270== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30270==
== 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:01:27.307154 ====> Client connect
03:01:27.307189 accept_connection 3 returned 4
03:01:27.307203 accept_connection 3 returned 0
03:01:27.307512 Read 96 bytes
03:01:27.307556 Process 96 bytes request
03:01:27.307580 Got request: GET /verifiedserver HTTP/1.1
03:01:27.307593 Are-we-friendly question received
03:01:27.307617 Wrote request (96 bytes) input to log/server.input
03:01:27.307653 Identifying ourselves as friends
03:01:27.307718 Response sent (56 bytes) and written to log/server.response
03:01:27.307733 special request received, no persistency
03:01:27.307744 ====> Client disconnect 0
03:01:31.035949 ====> Client connect
03:01:31.035974 accept_connection 3 returned 4
03:01:31.035993 accept_connection 3 returned 0
03:01:31.109746 Read 85 bytes
03:01:31.109785 Process 85 bytes request
03:01:31.109804 Got request: GET /300 HTTP/1.1
03:01:31.109818 Requested test number 300 part 0
03:01:31.109851 - request found to be complete
03:01:31.109887 Wrote request (85 bytes) input to log/server.input
03:01:31.109918 Send response test300 section <data>
03:01:31.110001 Response sent (103 bytes) and written to log/server.response
03:01:31.110016 => persistent connection request ended, awaits new request
03:01:31.178428 Connection closed by client
03:01:31.178469 ====> Client disconnect 0
03:01:33.969764 ====> Client connect
03:01:33.969786 accept_connection 3 returned 4
03:01:33.969800 accept_connection 3 returned 0
03:01:34.048162 Read 120 bytes
03:01:34.048197 Process 120 bytes request
03:01:34.048214 Got request: GET /301 HTTP/1.1
03:01:34.048225 Requested test number 301 part 0
03:01:34.048249 - request found to be complete
03:01:34.048279 Wrote request (120 bytes) input to log/server.input
03:01:34.048300 Send response test301 section <data>
03:01:34.048321 connection close instruction "swsclose" found in response
03:01:34.048372 Response sent (130 bytes) and written to log/server.response
03:01:34.048381 instructed to close connection after server-reply
03:01:34.048388 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.01.06 03:01:27 LOG5[30259]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.06 03:01:27 LOG5[30259]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.06 03:01:27 LOG5[30259]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.06 03:01:27 LOG5[30259]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.06 03:01:27 LOG5[30259]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.06 03:01:27 LOG5[30259]: Reading configuration from file /build-29288/tests/https_stunnel.conf
2019.01.06 03:01:27 LOG5[30259]: FIPS mode disabled
2019.01.06 03:01:27 LOG5[30259]: Configuration successful
2019.01.06 03:01:28 LOG5[30264]: Service [curltest] accepted connection from 127.0.0.1:33992
2019.01.06 03:01:28 LOG5[30264]: s_connect: connected 127.0.0.1:8990
2019.01.06 03:01:28 LOG5[30264]: Service [curltest] connected remote server from 127.0.0.1:56836
2019.01.06 03:01:28 LOG5[30264]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.06 03:01:30 LOG5[30267]: Service [curltest] accepted connection from 127.0.0.1:33996
2019.01.06 03:01:31 LOG5[30267]: s_connect: connected 127.0.0.1:8990
2019.01.06 03:01:31 LOG5[30267]: Service [curltest] connected remote server from 127.0.0.1:56840
2019.01.06 03:01:31 LOG5[30267]: Connection closed: 103 byte(s) sent to SSL, 85 byte(s) sent to socket
2019.01.06 03:01:33 LOG5[30271]: Service [curltest] accepted connection from 127.0.0.1:34000
2019.01.06 03:01:34 LOG5[30271]: s_connect: connected 127.0.0.1:8990
2019.01.06 03:01:34 LOG5[30271]: Service [curltest] connected remote server from 127.0.0.1:56844
2019.01.06 03:01:34 LOG5[30271]: 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
* STATE: INIT => CONNECT handle 0x5575b30d46a8; line 1446 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5575b30d46a8; line 1498 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5575b30d46a8; line 1617 (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 0x5575b30d46a8; line 1631 (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 0x5575b30d46a8; line 1652 (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 0x5575b30d46a8; line 1714 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x5575b30d46a8; line 1838 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x5575b30d46a8; line 1853 (connection #0)
{ [5 bytes data]
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x5575b30d46a8; line 2050 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 28896
=== 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: 17
WE ROOLZ: 28896
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:01:33.238312 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:01:33.292158 == Info: Added connection 0. The cache now contains 1 members
03:01:33.309159 == Info: Trying 127.0.0.1...
03:01:33.309753 == Info: TCP_NODELAY set
03:01:33.314853 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:01:33.325919 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:01:33.326465 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:01:33.327595 == Info: Marked for [keep alive]: HTTP default
03:01:33.347794 == Info: ALPN, offering h2
03:01:33.348070 == Info: ALPN, offering http/1.1
03:01:34.485077 == Info: successfully set certificate verify locations:
03:01:34.485342 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:34.564406 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:34.569704 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:34.569764 => Send SSL data, 160 bytes (0xa0)
0000: ......a.S..2i..&:{ ...YBf7..er..w%J.-...*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:01:34.587200 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:34.591651 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:34.591709 <= Recv SSL data, 89 bytes (0x59)
0000: ...U........T5*d_..5G.$Y.3AE.{42..n... ......=.[O.,q&..e-..v....
0040: .:...W../................
03:01:34.635709 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:34.636143 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:34.636200 <= 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:34.735055 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:34.735320 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:34.735377 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.P1!q.....[..&.<..][......v..v.....S'....03Od.H]..NF...9
0040: a.O..Z.......5%..'....;..\.6rVC...A.^..8......b.sk.{.x.fJ...&...
0080: .pY..2.R5yn".<4......Ci..`..1$.n.j.(.)%......+....e.j..S.x=~.q.K
00c0: ......R.....C......W...Qw.....Eo. ...O......t...y..k#C.._`...om.
0100: ..0rH...0b(.M."..Q.A7...^................M...D.K...C..E.....u...
0140: t.DA.n.0K"/v.
03:01:34.804458 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:34.804791 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:34.804848 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:34.923529 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:34.923783 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:34.923841 => Send SSL data, 70 bytes (0x46)
0000: ...BA....S.2ve. .clkg........A..[7F]...>....$LS-..wZo!.P<.....W.S..
0040: Bv..~.
03:01:34.936371 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:34.936946 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:34.937004 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:34.968645 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:34.968825 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:34.968885 => Send SSL data, 16 bytes (0x10)
0000: ....+.....N.sm.u
03:01:34.971408 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:34.972455 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:34.972514 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:34.974921 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:34.980306 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:34.980366 <= Recv SSL data, 16 bytes (0x10)
0000: ......p.E....'..
03:01:35.002081 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:35.002845 == Info: ALPN, server did not agree to a protocol
03:01:35.005125 == Info: Server certificate:
03:01:35.012608 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:35.019060 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:35.020015 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:35.020866 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:35.021793 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:35.023316 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626e7a8; line 1635 (connection #0)
03:01:35.030301 == Info: Server auth using Basic with user 'fake'
03:01:35.046765 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:35.049326 => 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:01:35.052357 == Info: STATE: DO => DO_DONE handle 0x626e7a8; line 1714 (connection #0)
03:01:35.053354 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:01:35.054115 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:01:35.058726 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:35.072820 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:01:35.075254 <= Recv header, 25 bytes (0x19)
0000: HTTP/1.1 200 OK swsclose.
03:01:35.078935 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:01:35.080785 == Info: Server test-server/fake is not blacklisted
03:01:35.081072 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:01:35.081648 <= Recv header, 24 bytes (0x18)
0000: Content-Type: text/html.
03:01:35.081828 <= Recv header, 19 bytes (0x13)
0000: Funny-head: yesyes.
03:01:35.082532 == Info: no chunk, no close, no size. Assume close to signal end
03:01:35.082803 == Info: Marked for [closure]: HTTP: No end-of-message indicator
03:01:35.084728 <= Recv header, 1 bytes (0x1)
0000: .
03:01:35.099181 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:35.100629 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
03:01:35.100687 <= Recv SSL data, 2 bytes (0x2)
0000: ..
03:01:35.102518 <= Recv data, 0 bytes (0x0)
03:01:35.105813 == Info: STATE: PERFORM => DONE handle 0x626e7a8; line 2050 (connection #0)
03:01:35.106480 == Info: multi_done
03:01:35.116949 == Info: Closing connection 0
03:01:35.119520 == Info: The cache now contains 0 members
=== End of file trace301
=== Start of file valgrind301
==30270== Invalid read of size 8
==30270== at 0x5E755A5: check_free (dlerror.c:188)
==30270== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30270== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30270== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30270== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30270== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30270== by 0x559BF79: exit (exit.c:139)
==30270== by 0x55860A1: (below main) (libc-start.c:342)
==30270== Address 0x66b15a0 is 0 bytes after a block of size 32 alloc'd
==30270== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30270== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30270== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30270== by 0x4DD1E85: err_get_state (err.c:210)
==30270== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30270== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30270== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30270== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30270== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30270== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30270== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30270== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30270== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30270== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30270== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30270== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30270==
==30270== Invalid free() / delete / delete[] / realloc()
==30270== at 0x48369AB: free (vg_replace_malloc.c:530)
==30270== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30270== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30270== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30270== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30270== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30270== by 0x559BF79: exit (exit.c:139)
==30270== by 0x55860A1: (below main) (libc-start.c:342)
==30270== Address 0x66b1588 is 8 bytes inside a block of size 32 alloc'd
==30270== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30270== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30270== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30270== by 0x4DD1E85: err_get_state (err.c:210)
==30270== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30270== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30270== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30270== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30270== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30270== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30270== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30270== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30270== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30270== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30270== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30270== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30270==
==30270== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30270== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30270== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30270== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30270== by 0x4DD1E85: err_get_state (err.c:210)
==30270== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30270== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30270== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30270== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30270== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30270== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30270== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30270== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30270== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30270== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30270== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30270== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30270==
=== End of file valgrind301
test 0302...[HTTPS GET over HTTP proxy fails]
------emv- OK (302 out of 1212, remaining: 22:52)
test 0303...[HTTPS with 8 secs timeout]
goto problem 12
valgrind ERROR ==30278== Invalid read of size 8
==30278== at 0x5E755A5: check_free (dlerror.c:188)
==30278== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30278== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30278== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30278== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30278== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30278== by 0x559BF79: exit (exit.c:139)
==30278== by 0x55860A1: (below main) (libc-start.c:342)
==30278== Address 0x66ae530 is 0 bytes after a block of size 32 alloc'd
==30278== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30278== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30278== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30278== by 0x4DD1E85: err_get_state (err.c:210)
==30278== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30278== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30278== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30278== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30278== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30278== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30278== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30278== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30278== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30278== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30278== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30278== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30278==
==30278== Invalid free() / delete / delete[] / realloc()
==30278== at 0x48369AB: free (vg_replace_malloc.c:530)
==30278== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30278== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30278== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30278== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30278== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30278== by 0x559BF79: exit (exit.c:139)
==30278== by 0x55860A1: (below main) (libc-start.c:342)
==30278== Address 0x66ae518 is 8 bytes inside a block of size 32 alloc'd
==30278== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30278== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30278== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30278== by 0x4DD1E85: err_get_state (err.c:210)
==30278== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30278== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30278== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30278== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30278== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30278== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30278== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30278== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30278== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30278== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30278== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30278== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30278==
==30278== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30278== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30278== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30278== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30278== by 0x4DD1E85: err_get_state (err.c:210)
==30278== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30278== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30278== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30278== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30278== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30278== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30278== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30278== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30278== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30278== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30278== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30278== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30278==
== 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:01:38.112297 ====> Client connect
03:01:38.112335 accept_connection 3 returned 4
03:01:38.112349 accept_connection 3 returned 0
03:01:38.188794 Read 90 bytes
03:01:38.188833 Process 90 bytes request
03:01:38.188850 Got request: GET /want/303 HTTP/1.1
03:01:38.188860 Requested test number 303 part 0
03:01:38.188885 - request found to be complete
03:01:38.188911 Wrote request (90 bytes) input to log/server.input
03:01:38.188933 Send response test303 section <data>
03:01:38.188994 Response sent (94 bytes) and written to log/server.response
03:01:38.189005 Told to sleep for 20 seconds
03:01:58.209954 Continuing after sleeping 20 seconds
03:01:58.210049 => persistent connection request ended, awaits new request
03:01:58.210081 Connection closed by client
03:01:58.210100 ====> 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 --:--:-- 4
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 8984 milliseconds with 19 bytes received
=== End of file stderr303
=== Start of file trace303
03:01:37.351194 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:01:37.403271 == Info: Added connection 0. The cache now contains 1 members
03:01:37.420294 == Info: Trying 127.0.0.1...
03:01:37.420886 == Info: TCP_NODELAY set
03:01:37.425287 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:01:37.436347 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:01:37.436895 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:01:37.438020 == Info: Marked for [keep alive]: HTTP default
03:01:37.458223 == Info: ALPN, offering h2
03:01:37.458494 == Info: ALPN, offering http/1.1
03:01:38.620937 == Info: successfully set certificate verify locations:
03:01:38.621199 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:38.700827 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:38.706233 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:38.706298 => Send SSL data, 160 bytes (0xa0)
0000: ........:......i..2/ Pz*e.....l...MNGr..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:01:38.723837 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:38.728300 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:38.728359 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..L.....L.E..0..{...W2.n.....&.zC. ...:...E.Q.U.F...*...f&.P
0040: ...yQ.D./................
03:01:38.772500 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:38.772939 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:38.772996 <= 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:38.873920 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:38.874173 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:38.874230 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.P1!q.....[..&.<..][......v..v.....S'....03Od.H]..NF...9
0040: a.O..Z........&...dj..L.h:X..w.A.........:.5...pO..y\m..r.F..).U
0080: U.pOJ&[l.........I<DV~wy...f.UERr.u;..F..r..M!.+.2[7F]...+.sT:NgtBF
00c0: "....!.......7 .FJ...|x..<..%..M..ee3yM..<%.........}.....w....R
0100: ?......!..u....]u."...D.........D}..#..0t....7...3`...2..m..^b+.
0140: )|....".....+
03:01:38.945196 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:38.945544 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:38.945602 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:39.064617 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:39.064867 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:39.064924 => Send SSL data, 70 bytes (0x46)
0000: ...BA.^B.(...7..B.G....'...;.....[7F]"m.N.k];...v.. ...z......w>>V.
0040: y..hK.
03:01:39.077397 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:39.077965 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:39.078023 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:39.110798 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:39.111065 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:39.111145 => Send SSL data, 16 bytes (0x10)
0000: .....X.w.+..J...
03:01:39.114793 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:39.116244 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:39.116332 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:39.119805 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:39.125760 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:39.125825 <= Recv SSL data, 16 bytes (0x10)
0000: .......g........
03:01:39.147465 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:39.148176 == Info: ALPN, server did not agree to a protocol
03:01:39.150402 == Info: Server certificate:
03:01:39.157743 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:39.164083 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:39.165026 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:39.165869 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:39.166770 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:39.168306 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626e7a8; line 1635 (connection #0)
03:01:39.187393 => Send SSL data, 5 bytes (0x5)
0000: ....r
03:01:39.189959 => 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:01:39.192871 == Info: STATE: DO => DO_DONE handle 0x626e7a8; line 1714 (connection #0)
03:01:39.193866 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:01:39.194678 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:01:39.199248 <= Recv SSL data, 5 bytes (0x5)
0000: ....v
03:01:39.209018 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:01:39.211486 <= Recv header, 17 bytes (0x11)
0000: HTTP/1.1 200 OK
03:01:39.215109 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
03:01:39.216180 == Info: Marked for [closure]: Connection: close used
03:01:39.216293 <= Recv header, 19 bytes (0x13)
0000: Connection: close
03:01:39.218583 <= Recv header, 2 bytes (0x2)
0000:
03:01:39.219372 <= Recv data, 19 bytes (0x13)
0000: _data_result_data_.
03:01:46.352969 == Info: Operation timed out after 8984 milliseconds with 19 bytes received
03:01:46.354147 == Info: multi_done
03:01:46.369998 == Info: Closing connection 0
03:01:46.372589 == Info: The cache now contains 0 members
=== End of file trace303
=== Start of file valgrind303
==30278== Invalid read of size 8
==30278== at 0x5E755A5: check_free (dlerror.c:188)
==30278== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30278== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30278== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30278== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30278== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30278== by 0x559BF79: exit (exit.c:139)
==30278== by 0x55860A1: (below main) (libc-start.c:342)
==30278== Address 0x66ae530 is 0 bytes after a block of size 32 alloc'd
==30278== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30278== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30278== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30278== by 0x4DD1E85: err_get_state (err.c:210)
==30278== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30278== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30278== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30278== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30278== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30278== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30278== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30278== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30278== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30278== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30278== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30278== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30278==
==30278== Invalid free() / delete / delete[] / realloc()
==30278== at 0x48369AB: free (vg_replace_malloc.c:530)
==30278== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30278== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30278== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30278== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30278== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30278== by 0x559BF79: exit (exit.c:139)
==30278== by 0x55860A1: (below main) (libc-start.c:342)
==30278== Address 0x66ae518 is 8 bytes inside a block of size 32 alloc'd
==30278== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30278== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30278== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30278== by 0x4DD1E85: err_get_state (err.c:210)
==30278== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30278== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30278== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30278== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30278== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30278== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30278== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30278== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30278== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30278== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30278== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30278== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30278==
==30278== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30278== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30278== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30278== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30278== by 0x4DD1E85: err_get_state (err.c:210)
==30278== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30278== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30278== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30278== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30278== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30278== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30278== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30278== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30278== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30278== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30278== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30278== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30278==
=== End of file valgrind303
test 0304...[HTTPS multipart formpost]
goto problem 13
valgrind ERROR ==30295== Invalid read of size 8
==30295== at 0x5E755A5: check_free (dlerror.c:188)
==30295== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30295== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30295== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30295== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30295== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30295== by 0x559BF79: exit (exit.c:139)
==30295== by 0x55860A1: (below main) (libc-start.c:342)
==30295== Address 0x66b74f0 is 0 bytes after a block of size 32 alloc'd
==30295== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30295== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30295== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30295== by 0x4DD1E85: err_get_state (err.c:210)
==30295== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30295== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30295== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30295== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30295== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30295== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30295== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30295== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30295== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30295== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30295== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30295== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30295==
==30295== Invalid free() / delete / delete[] / realloc()
==30295== at 0x48369AB: free (vg_replace_malloc.c:530)
==30295== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30295== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30295== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30295== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30295== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30295== by 0x559BF79: exit (exit.c:139)
==30295== by 0x55860A1: (below main) (libc-start.c:342)
==30295== Address 0x66b74d8 is 8 bytes inside a block of size 32 alloc'd
==30295== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30295== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30295== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30295== by 0x4DD1E85: err_get_state (err.c:210)
==30295== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30295== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30295== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30295== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30295== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30295== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30295== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30295== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30295== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30295== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30295== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30295== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30295==
==30295== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30295== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30295== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30295== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30295== by 0x4DD1E85: err_get_state (err.c:210)
==30295== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30295== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30295== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30295== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30295== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30295== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30295== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30295== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30295== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30295== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30295== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30295== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30295==
== 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:01:38.112297 ====> Client connect
03:01:38.112335 accept_connection 3 returned 4
03:01:38.112349 accept_connection 3 returned 0
03:01:38.188794 Read 90 bytes
03:01:38.188833 Process 90 bytes request
03:01:38.188850 Got request: GET /want/303 HTTP/1.1
03:01:38.188860 Requested test number 303 part 0
03:01:38.188885 - request found to be complete
03:01:38.188911 Wrote request (90 bytes) input to log/server.input
03:01:38.188933 Send response test303 section <data>
03:01:38.188994 Response sent (94 bytes) and written to log/server.response
03:01:38.189005 Told to sleep for 20 seconds
03:01:58.209954 Continuing after sleeping 20 seconds
03:01:58.210049 => persistent connection request ended, awaits new request
03:01:58.210081 Connection closed by client
03:01:58.210100 ====> Client disconnect 0
03:02:00.924671 ====> Client connect
03:02:00.924695 accept_connection 3 returned 4
03:02:00.924709 accept_connection 3 returned 0
03:02:01.015517 Read 224 bytes
03:02:01.015555 Process 224 bytes request
03:02:01.015568 Got request: POST /we/want/304 HTTP/1.1
03:02:01.015577 Requested test number 304 part 0
03:02:01.015606 - request found to be complete
03:02:01.015616 Found Content-Length: 1386 in the request
03:02:02.047660 Read 1386 bytes
03:02:02.047695 Process 1610 bytes request [CONTINUED]
03:02:02.047704 - request found to be complete
03:02:02.047732 Wrote request (1610 bytes) input to log/server.input
03:02:02.047755 Send response test304 section <data>
03:02:02.047838 Response sent (108 bytes) and written to log/server.response
03:02:02.047854 => persistent connection request ended, awaits new request
03:02:02.111235 Connection closed by client
03:02:02.111270 ====> 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:01 --:--:-- 0
0 1386 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 1396 100 10 100 1386 3 476 0:00:03 0:00:02 0:00:01 492
=== End of file stderr304
=== Start of file test304.txt
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
=== End of file test304.txt
=== Start of file trace304
03:01:59.180695 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:01:59.232991 == Info: Added connection 0. The cache now contains 1 members
03:01:59.249888 == Info: Trying 127.0.0.1...
03:01:59.250480 == Info: TCP_NODELAY set
03:01:59.255547 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:01:59.266615 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:01:59.267164 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:01:59.268296 == Info: Marked for [keep alive]: HTTP default
03:01:59.288418 == Info: ALPN, offering h2
03:01:59.288696 == Info: ALPN, offering http/1.1
03:02:00.437516 == Info: successfully set certificate verify locations:
03:02:00.437775 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:02:00.520182 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:00.525528 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:02:00.525590 => Send SSL data, 160 bytes (0xa0)
0000: ............."M[7F].L....'...=W:*G..^..D...*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:02:00.543117 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:02:00.547622 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:02:00.547680 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..L..........{.,...F...2IRt.#..... .o.....d...D.oO..t[7F][.....
0040: e.....Z./................
03:02:00.591674 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:00.592113 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:02:00.592169 <= 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:00.690381 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:02:00.690649 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:02:00.690705 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.P1!q.....[..&.<..][......v..v.....S'....03Od.H]..NF...9
0040: a.O..Z........-...V.t.!.L.t..).......O..)b...<=..AtK..jw..6...dk
0080: .Y.*U..q......e.P...F...,. x...1.M..y.;.....(..-..t.v.JNIFJ.n#..
00c0: |mtA..c.7c......`6n.n.m..#]F.R]45..cW.......R..|.h.RQ..6.M.K.4e.
0100: .Y........mSq{Z{@6A..e.g.i3..{..N...kt...rj..;..=g=.D|.....;..t.
0140: z:...../....+
03:02:00.759347 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:00.759660 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:02:00.759715 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:02:00.877896 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:02:00.878143 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:02:00.878199 => Send SSL data, 70 bytes (0x46)
0000: ...BA.r.b...$pn...|._C..._k..DQI../f._.v...H.)....8.N...".....5.
0040: T.8...
03:02:00.890630 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:00.891175 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:02:00.891231 => Send SSL data, 1 bytes (0x1)
0000: .
03:02:00.923552 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:02:00.923744 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:02:00.923798 => Send SSL data, 16 bytes (0x10)
0000: ....]........j..
03:02:00.926319 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:00.927379 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:02:00.927436 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:02:00.929880 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:02:00.935258 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:02:00.935315 <= Recv SSL data, 16 bytes (0x10)
0000: ....;I....T.i.y,
03:02:00.956867 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:02:00.957577 == Info: ALPN, server did not agree to a protocol
03:02:00.959797 == Info: Server certificate:
03:02:00.967191 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:02:00.973453 == Info: start date: Aug 31 23:39:18 2018 GMT
03:02:00.974397 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:02:00.975243 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:02:00.976145 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:02:00.977697 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626e7a8; line 1635 (connection #0)
03:02:01.013498 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:01.017301 => 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:02:01.022220 == Info: STATE: DO => DO_DONE handle 0x626e7a8; line 1714 (connection #0)
03:02:01.023978 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:02:01.024750 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:02:02.025477 == Info: Done waiting for 100-continue
03:02:02.047431 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:02.047798 => 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:02:02.057463 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:02:02.066887 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:02:02.069282 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:02:02.075230 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:02:02.075445 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:02:02.077219 == Info: Server test-server/fake is not blacklisted
03:02:02.077510 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:02:02.077826 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:02:02.078998 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 10
03:02:02.081217 <= Recv header, 1 bytes (0x1)
0000: .
03:02:02.081832 <= Recv data, 10 bytes (0xa)
0000: blablabla.
03:02:02.085850 == Info: STATE: PERFORM => DONE handle 0x626e7a8; line 2050 (connection #0)
03:02:02.086371 == Info: multi_done
03:02:02.094787 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace304
=== Start of file valgrind304
==30295== Invalid read of size 8
==30295== at 0x5E755A5: check_free (dlerror.c:188)
==30295== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30295== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30295== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30295== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30295== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30295== by 0x559BF79: exit (exit.c:139)
==30295== by 0x55860A1: (below main) (libc-start.c:342)
==30295== Address 0x66b74f0 is 0 bytes after a block of size 32 alloc'd
==30295== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30295== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30295== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30295== by 0x4DD1E85: err_get_state (err.c:210)
==30295== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30295== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30295== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30295== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30295== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30295== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30295== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30295== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30295== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30295== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30295== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30295== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30295==
==30295== Invalid free() / delete / delete[] / realloc()
==30295== at 0x48369AB: free (vg_replace_malloc.c:530)
==30295== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30295== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30295== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30295== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30295== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30295== by 0x559BF79: exit (exit.c:139)
==30295== by 0x55860A1: (below main) (libc-start.c:342)
==30295== Address 0x66b74d8 is 8 bytes inside a block of size 32 alloc'd
==30295== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30295== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30295== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30295== by 0x4DD1E85: err_get_state (err.c:210)
==30295== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30295== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30295== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30295== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30295== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30295== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30295== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30295== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30295== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30295== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30295== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30295== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30295==
==30295== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30295== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30295== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30295== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30295== by 0x4DD1E85: err_get_state (err.c:210)
==30295== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30295== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30295== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30295== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30295== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30295== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30295== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30295== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30295== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30295== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30295== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30295== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30295==
=== End of file valgrind304
test 0305...[insecure HTTPS without permission]
goto problem 14
valgrind ERROR ==30301== Invalid read of size 8
==30301== at 0x5E755A5: check_free (dlerror.c:188)
==30301== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30301== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30301== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30301== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30301== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30301== by 0x559BF79: exit (exit.c:139)
==30301== by 0x55860A1: (below main) (libc-start.c:342)
==30301== Address 0x6303200 is 0 bytes after a block of size 32 alloc'd
==30301== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30301== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30301== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30301== by 0x4DD1E85: err_get_state (err.c:210)
==30301== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30301== by 0x4E68EB5: BIO_new_file (file.c:95)
==30301== by 0x4E92803: X509_load_cert_crl_file (by_file.c:248)
==30301== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30301== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30301== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30301== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30301== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30301== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30301== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30301== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30301== by 0x16E1A7: https_connecting (http.c:1520)
==30301==
==30301== Invalid free() / delete / delete[] / realloc()
==30301== at 0x48369AB: free (vg_replace_malloc.c:530)
==30301== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30301== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30301== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30301== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30301== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30301== by 0x559BF79: exit (exit.c:139)
==30301== by 0x55860A1: (below main) (libc-start.c:342)
==30301== Address 0x63031e8 is 8 bytes inside a block of size 32 alloc'd
==30301== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30301== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30301== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30301== by 0x4DD1E85: err_get_state (err.c:210)
==30301== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30301== by 0x4E68EB5: BIO_new_file (file.c:95)
==30301== by 0x4E92803: X509_load_cert_crl_file (by_file.c:248)
==30301== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30301== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30301== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30301== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30301== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30301== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30301== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30301== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30301== by 0x16E1A7: https_connecting (http.c:1520)
==30301==
==30301== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==30301== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30301== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30301== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30301== by 0x4DD1E85: err_get_state (err.c:210)
==30301== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30301== by 0x4E68EB5: BIO_new_file (file.c:95)
==30301== by 0x4E92803: X509_load_cert_crl_file (by_file.c:248)
==30301== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30301== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30301== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30301== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30301== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30301== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30301== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30301== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30301== by 0x16E1A7: https_connecting (http.c:1520)
==30301==
== Contents of files in the log/ dir after test 305
=== Start of file http_server.log
03:01:38.112297 ====> Client connect
03:01:38.112335 accept_connection 3 returned 4
03:01:38.112349 accept_connection 3 returned 0
03:01:38.188794 Read 90 bytes
03:01:38.188833 Process 90 bytes request
03:01:38.188850 Got request: GET /want/303 HTTP/1.1
03:01:38.188860 Requested test number 303 part 0
03:01:38.188885 - request found to be complete
03:01:38.188911 Wrote request (90 bytes) input to log/server.input
03:01:38.188933 Send response test303 section <data>
03:01:38.188994 Response sent (94 bytes) and written to log/server.response
03:01:38.189005 Told to sleep for 20 seconds
03:01:58.209954 Continuing after sleeping 20 seconds
03:01:58.210049 => persistent connection request ended, awaits new request
03:01:58.210081 Connection closed by client
03:01:58.210100 ====> Client disconnect 0
03:02:00.924671 ====> Client connect
03:02:00.924695 accept_connection 3 returned 4
03:02:00.924709 accept_connection 3 returned 0
03:02:01.015517 Read 224 bytes
03:02:01.015555 Process 224 bytes request
03:02:01.015568 Got request: POST /we/want/304 HTTP/1.1
03:02:01.015577 Requested test number 304 part 0
03:02:01.015606 - request found to be complete
03:02:01.015616 Found Content-Length: 1386 in the request
03:02:02.047660 Read 1386 bytes
03:02:02.047695 Process 1610 bytes request [CONTINUED]
03:02:02.047704 - request found to be complete
03:02:02.047732 Wrote request (1610 bytes) input to log/server.input
03:02:02.047755 Send response test304 section <data>
03:02:02.047838 Response sent (108 bytes) and written to log/server.response
03:02:02.047854 => persistent connection request ended, awaits new request
03:02:02.111235 Connection closed by client
03:02:02.111270 ====> 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:02:03.166056 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:02:03.218265 == Info: Added connection 0. The cache now contains 1 members
03:02:03.235239 == Info: Trying 127.0.0.1...
03:02:03.235829 == Info: TCP_NODELAY set
03:02:03.240875 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:02:03.251993 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:02:03.252549 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:02:03.253677 == Info: Marked for [keep alive]: HTTP default
03:02:03.273781 == Info: ALPN, offering h2
03:02:03.274053 == Info: ALPN, offering http/1.1
03:02:03.283833 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
03:02:03.284302 == Info: Marked for [closure]: Failed HTTPS connection
03:02:03.284885 == Info: multi_done
03:02:03.293698 == Info: Closing connection 0
03:02:03.296402 == Info: The cache now contains 0 members
03:02:03.313672 == Info: Expire cleared
=== End of file trace305
=== Start of file valgrind305
==30301== Invalid read of size 8
==30301== at 0x5E755A5: check_free (dlerror.c:188)
==30301== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30301== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30301== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30301== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30301== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30301== by 0x559BF79: exit (exit.c:139)
==30301== by 0x55860A1: (below main) (libc-start.c:342)
==30301== Address 0x6303200 is 0 bytes after a block of size 32 alloc'd
==30301== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30301== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30301== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30301== by 0x4DD1E85: err_get_state (err.c:210)
==30301== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30301== by 0x4E68EB5: BIO_new_file (file.c:95)
==30301== by 0x4E92803: X509_load_cert_crl_file (by_file.c:248)
==30301== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30301== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30301== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30301== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30301== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30301== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30301== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30301== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30301== by 0x16E1A7: https_connecting (http.c:1520)
==30301==
==30301== Invalid free() / delete / delete[] / realloc()
==30301== at 0x48369AB: free (vg_replace_malloc.c:530)
==30301== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30301== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30301== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30301== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30301== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30301== by 0x559BF79: exit (exit.c:139)
==30301== by 0x55860A1: (below main) (libc-start.c:342)
==30301== Address 0x63031e8 is 8 bytes inside a block of size 32 alloc'd
==30301== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30301== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30301== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30301== by 0x4DD1E85: err_get_state (err.c:210)
==30301== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30301== by 0x4E68EB5: BIO_new_file (file.c:95)
==30301== by 0x4E92803: X509_load_cert_crl_file (by_file.c:248)
==30301== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30301== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30301== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30301== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30301== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30301== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30301== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30301== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30301== by 0x16E1A7: https_connecting (http.c:1520)
==30301==
==30301== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==30301== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30301== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30301== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30301== by 0x4DD1E85: err_get_state (err.c:210)
==30301== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30301== by 0x4E68EB5: BIO_new_file (file.c:95)
==30301== by 0x4E92803: X509_load_cert_crl_file (by_file.c:248)
==30301== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30301== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30301== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30301== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30301== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30301== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30301== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30301== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30301== by 0x16E1A7: https_connecting (http.c:1520)
==30301==
=== End of file valgrind305
test 0306...[HTTPS GET, receive no headers only data!]
goto problem 15
valgrind ERROR ==30305== Invalid read of size 8
==30305== at 0x5E755A5: check_free (dlerror.c:188)
==30305== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30305== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30305== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30305== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30305== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30305== by 0x559BF79: exit (exit.c:139)
==30305== by 0x55860A1: (below main) (libc-start.c:342)
==30305== Address 0x66ae530 is 0 bytes after a block of size 32 alloc'd
==30305== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30305== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30305== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30305== by 0x4DD1E85: err_get_state (err.c:210)
==30305== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30305== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30305== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30305== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30305== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30305== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30305== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30305== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30305== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30305== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30305== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30305== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30305==
==30305== Invalid free() / delete / delete[] / realloc()
==30305== at 0x48369AB: free (vg_replace_malloc.c:530)
==30305== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30305== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30305== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30305== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30305== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30305== by 0x559BF79: exit (exit.c:139)
==30305== by 0x55860A1: (below main) (libc-start.c:342)
==30305== Address 0x66ae518 is 8 bytes inside a block of size 32 alloc'd
==30305== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30305== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30305== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30305== by 0x4DD1E85: err_get_state (err.c:210)
==30305== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30305== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30305== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30305== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30305== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30305== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30305== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30305== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30305== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30305== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30305== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30305== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30305==
==30305== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30305== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30305== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30305== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30305== by 0x4DD1E85: err_get_state (err.c:210)
==30305== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30305== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30305== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30305== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30305== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30305== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30305== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30305== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30305== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30305== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30305== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30305== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30305==
== 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:01:38.112297 ====> Client connect
03:01:38.112335 accept_connection 3 returned 4
03:01:38.112349 accept_connection 3 returned 0
03:01:38.188794 Read 90 bytes
03:01:38.188833 Process 90 bytes request
03:01:38.188850 Got request: GET /want/303 HTTP/1.1
03:01:38.188860 Requested test number 303 part 0
03:01:38.188885 - request found to be complete
03:01:38.188911 Wrote request (90 bytes) input to log/server.input
03:01:38.188933 Send response test303 section <data>
03:01:38.188994 Response sent (94 bytes) and written to log/server.response
03:01:38.189005 Told to sleep for 20 seconds
03:01:58.209954 Continuing after sleeping 20 seconds
03:01:58.210049 => persistent connection request ended, awaits new request
03:01:58.210081 Connection closed by client
03:01:58.210100 ====> Client disconnect 0
03:02:00.924671 ====> Client connect
03:02:00.924695 accept_connection 3 returned 4
03:02:00.924709 accept_connection 3 returned 0
03:02:01.015517 Read 224 bytes
03:02:01.015555 Process 224 bytes request
03:02:01.015568 Got request: POST /we/want/304 HTTP/1.1
03:02:01.015577 Requested test number 304 part 0
03:02:01.015606 - request found to be complete
03:02:01.015616 Found Content-Length: 1386 in the request
03:02:02.047660 Read 1386 bytes
03:02:02.047695 Process 1610 bytes request [CONTINUED]
03:02:02.047704 - request found to be complete
03:02:02.047732 Wrote request (1610 bytes) input to log/server.input
03:02:02.047755 Send response test304 section <data>
03:02:02.047838 Response sent (108 bytes) and written to log/server.response
03:02:02.047854 => persistent connection request ended, awaits new request
03:02:02.111235 Connection closed by client
03:02:02.111270 ====> Client disconnect 0
03:02:06.090057 ====> Client connect
03:02:06.090084 accept_connection 3 returned 4
03:02:06.090098 accept_connection 3 returned 0
03:02:06.163281 Read 85 bytes
03:02:06.163319 Process 85 bytes request
03:02:06.163333 Got request: GET /306 HTTP/1.1
03:02:06.163342 Requested test number 306 part 0
03:02:06.163367 - request found to be complete
03:02:06.163395 Wrote request (85 bytes) input to log/server.input
03:02:06.163418 Send response test306 section <data>
03:02:06.163441 connection close instruction "swsclose" found in response
03:02:06.163498 Response sent (107 bytes) and written to log/server.response
03:02:06.163515 instructed to close connection after server-reply
03:02:06.163523 ====> 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 55 0 --:--:-- 0:00:01 --:--:-- 58
=== End of file stderr306
=== Start of file trace306
03:02:05.320039 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:02:05.372172 == Info: Added connection 0. The cache now contains 1 members
03:02:05.389089 == Info: Trying 127.0.0.1...
03:02:05.389682 == Info: TCP_NODELAY set
03:02:05.394755 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:02:05.405815 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:02:05.406365 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:02:05.407495 == Info: Marked for [keep alive]: HTTP default
03:02:05.427603 == Info: ALPN, offering h2
03:02:05.427876 == Info: ALPN, offering http/1.1
03:02:06.605743 == Info: successfully set certificate verify locations:
03:02:06.605998 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:02:06.684906 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:06.690350 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:02:06.690414 => Send SSL data, 160 bytes (0xa0)
0000: .......{u.<.....H/..63......... B.......*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:02:06.707928 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:02:06.712392 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:02:06.712451 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..84.C../.}...........2...J1I[7F].... .N;....$..I6.P.$.......7.
0040: .,..-.(./................
03:02:06.756507 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:06.756943 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:02:06.757001 <= 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:06.855548 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:02:06.855807 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:02:06.855865 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.P1!q.....[..&.<..][......v..v.....S'....03Od.H]..NF...9
0040: a.O..Z.......U........bC....U^|..J.......U.M.Q:..I..m.^..Sl..bR6
0080: .....l'..2...E.+.#D[0no5.i.......%....f..........]\.'../2.y...,.
00c0: .c..$...:.3...K.,_f...%. l.e5.$......w.${d.:d.....x.O.$..-P2B...
0100: <....[7F]]...zv...k..%-e(z.G<.,..y.)Q.9o.%M"....R.....W_|.C.....u.p
0140: ..F..\6e.j[..
03:02:06.924713 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:06.925028 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:02:06.925086 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:02:07.044016 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:02:07.044289 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:02:07.044347 => Send SSL data, 70 bytes (0x46)
0000: ...BA.....+o..@h.u|.{..2.8l...h.V.. .....d4....\..Q...........L.
0040: B...d.
03:02:07.056815 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:07.057366 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:02:07.057424 => Send SSL data, 1 bytes (0x1)
0000: .
03:02:07.088958 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:02:07.089135 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:02:07.089191 => Send SSL data, 16 bytes (0x10)
0000: .....;..`i...#..
03:02:07.091692 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:07.092737 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:02:07.092797 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:02:07.095228 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:02:07.100592 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:02:07.100652 <= Recv SSL data, 16 bytes (0x10)
0000: .....M.T.V6.h.$.
03:02:07.122206 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:02:07.122922 == Info: ALPN, server did not agree to a protocol
03:02:07.125150 == Info: Server certificate:
03:02:07.132510 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:02:07.138762 == Info: start date: Aug 31 23:39:18 2018 GMT
03:02:07.139705 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:02:07.140554 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:02:07.141455 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:02:07.142972 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626e7a8; line 1635 (connection #0)
03:02:07.161913 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:02:07.164471 => 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:02:07.167451 == Info: STATE: DO => DO_DONE handle 0x626e7a8; line 1714 (connection #0)
03:02:07.168445 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:02:07.169229 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:02:07.173772 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:02:07.178685 == Info: Marked for [closure]: bad HTTP: No end-of-message indicator
03:02:07.179512 <= Recv data, 20 bytes (0x14)
0000: No headers at all, j
03:02:07.189944 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:02:07.190980 <= Recv data, 60 bytes (0x3c)
0000: ust data swsclose..Let's get..a little..so that..we..have..s
03:02:07.192341 <= Recv SSL data, 5 bytes (0x5)
0000: ....3
03:02:07.192484 <= Recv data, 27 bytes (0x1b)
0000: ome..test..data to..verify.
03:02:07.213941 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:07.216191 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
03:02:07.216307 <= Recv SSL data, 2 bytes (0x2)
0000: ..
03:02:07.219378 == Info: nread <= 0, server closed connection, bailing
03:02:07.222942 == Info: STATE: PERFORM => DONE handle 0x626e7a8; line 2050 (connection #0)
03:02:07.223961 == Info: multi_done
03:02:07.234370 == Info: Closing connection 0
03:02:07.236957 == Info: The cache now contains 0 members
=== End of file trace306
=== Start of file valgrind306
==30305== Invalid read of size 8
==30305== at 0x5E755A5: check_free (dlerror.c:188)
==30305== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30305== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30305== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30305== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30305== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30305== by 0x559BF79: exit (exit.c:139)
==30305== by 0x55860A1: (below main) (libc-start.c:342)
==30305== Address 0x66ae530 is 0 bytes after a block of size 32 alloc'd
==30305== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30305== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30305== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30305== by 0x4DD1E85: err_get_state (err.c:210)
==30305== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30305== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30305== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30305== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30305== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30305== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30305== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30305== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30305== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30305== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30305== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30305== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30305==
==30305== Invalid free() / delete / delete[] / realloc()
==30305== at 0x48369AB: free (vg_replace_malloc.c:530)
==30305== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30305== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30305== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30305== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30305== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30305== by 0x559BF79: exit (exit.c:139)
==30305== by 0x55860A1: (below main) (libc-start.c:342)
==30305== Address 0x66ae518 is 8 bytes inside a block of size 32 alloc'd
==30305== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30305== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30305== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30305== by 0x4DD1E85: err_get_state (err.c:210)
==30305== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30305== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30305== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30305== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30305== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30305== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30305== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30305== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30305== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30305== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30305== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30305== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30305==
==30305== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30305== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30305== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30305== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30305== by 0x4DD1E85: err_get_state (err.c:210)
==30305== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30305== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30305== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30305== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30305== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30305== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30305== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30305== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30305== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30305== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30305== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30305== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30305==
=== 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 ==30311== Invalid read of size 8
==30311== at 0x5E755A5: check_free (dlerror.c:188)
==30311== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30311== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30311== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30311== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30311== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30311== by 0x559BF79: exit (exit.c:139)
==30311== by 0x55860A1: (below main) (libc-start.c:342)
==30311== Address 0x66e8f90 is 0 bytes after a block of size 32 alloc'd
==30311== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30311== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30311== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30311== by 0x4DD1E85: err_get_state (err.c:210)
==30311== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30311== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30311== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30311== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30311== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30311== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30311== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30311== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30311== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30311== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30311== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30311== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30311==
==30311== Invalid free() / delete / delete[] / realloc()
==30311== at 0x48369AB: free (vg_replace_malloc.c:530)
==30311== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30311== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30311== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30311== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30311== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30311== by 0x559BF79: exit (exit.c:139)
==30311== by 0x55860A1: (below main) (libc-start.c:342)
==30311== Address 0x66e8f78 is 8 bytes inside a block of size 32 alloc'd
==30311== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30311== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30311== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30311== by 0x4DD1E85: err_get_state (err.c:210)
==30311== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30311== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30311== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30311== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30311== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30311== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30311== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30311== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30311== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30311== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30311== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30311== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30311==
==30311== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30311== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30311== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30311== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30311== by 0x4DD1E85: err_get_state (err.c:210)
==30311== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30311== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30311== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30311== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30311== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30311== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30311== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30311== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30311== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30311== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30311== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30311== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30311==
== 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:01:38.112297 ====> Client connect
03:01:38.112335 accept_connection 3 returned 4
03:01:38.112349 accept_connection 3 returned 0
03:01:38.188794 Read 90 bytes
03:01:38.188833 Process 90 bytes request
03:01:38.188850 Got request: GET /want/303 HTTP/1.1
03:01:38.188860 Requested test number 303 part 0
03:01:38.188885 - request found to be complete
03:01:38.188911 Wrote request (90 bytes) input to log/server.input
03:01:38.188933 Send response test303 section <data>
03:01:38.188994 Response sent (94 bytes) and written to log/server.response
03:01:38.189005 Told to sleep for 20 seconds
03:01:58.209954 Continuing after sleeping 20 seconds
03:01:58.210049 => persistent connection request ended, awaits new request
03:01:58.210081 Connection closed by client
03:01:58.210100 ====> Client disconnect 0
03:02:00.924671 ====> Client connect
03:02:00.924695 accept_connection 3 returned 4
03:02:00.924709 accept_connection 3 returned 0
03:02:01.015517 Read 224 bytes
03:02:01.015555 Process 224 bytes request
03:02:01.015568 Got request: POST /we/want/304 HTTP/1.1
03:02:01.015577 Requested test number 304 part 0
03:02:01.015606 - request found to be complete
03:02:01.015616 Found Content-Length: 1386 in the request
03:02:02.047660 Read 1386 bytes
03:02:02.047695 Process 1610 bytes request [CONTINUED]
03:02:02.047704 - request found to be complete
03:02:02.047732 Wrote request (1610 bytes) input to log/server.input
03:02:02.047755 Send response test304 section <data>
03:02:02.047838 Response sent (108 bytes) and written to log/server.response
03:02:02.047854 => persistent connection request ended, awaits new request
03:02:02.111235 Connection closed by client
03:02:02.111270 ====> Client disconnect 0
03:02:06.090057 ====> Client connect
03:02:06.090084 accept_connection 3 returned 4
03:02:06.090098 accept_connection 3 returned 0
03:02:06.163281 Read 85 bytes
03:02:06.163319 Process 85 bytes request
03:02:06.163333 Got request: GET /306 HTTP/1.1
03:02:06.163342 Requested test number 306 part 0
03:02:06.163367 - request found to be complete
03:02:06.163395 Wrote request (85 bytes) input to log/server.input
03:02:06.163418 Send response test306 section <data>
03:02:06.163441 connection close instruction "swsclose" found in response
03:02:06.163498 Response sent (107 bytes) and written to log/server.response
03:02:06.163515 instructed to close connection after server-reply
03:02:06.163523 ====> Client disconnect 0
03:02:07.371272 ====> Client connect
03:02:07.371296 accept_connection 3 returned 4
03:02:07.371311 accept_connection 3 returned 0
03:02:07.397946 Read 90 bytes
03:02:07.397971 Process 90 bytes request
03:02:07.397987 Got request: GET /want/309 HTTP/1.1
03:02:07.397999 Requested test number 309 part 0
03:02:07.398028 - request found to be complete
03:02:07.398047 Wrote request (90 bytes) input to log/server.input
03:02:07.398066 Send response test309 section <data>
03:02:07.398091 connection close instruction "swsclose" found in response
03:02:07.398161 Response sent (277 bytes) and written to log/server.response
03:02:07.398171 instructed to close connection after server-reply
03:02:07.398178 ====> Client disconnect 0
03:02:09.128887 ====> Client connect
03:02:09.128911 accept_connection 3 returned 4
03:02:09.128925 accept_connection 3 returned 0
03:02:09.193690 Read 111 bytes
03:02:09.193731 Process 111 bytes request
03:02:09.193748 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
03:02:09.193758 Requested test number 309 part 2
03:02:09.193785 - request found to be complete
03:02:09.193797 Wrote request (111 bytes) input to log/server.input
03:02:09.193808 Send response test309 section <data2>
03:02:09.193831 connection close instruction "swsclose" found in response
03:02:09.193889 Response sent (179 bytes) and written to log/server.response
03:02:09.193898 instructed to close connection after server-reply
03:02:09.193906 ====> 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 27 0 0:00:01 0:00:01 --:--:-- 1405
=== End of file stderr309
=== Start of file trace309
03:02:08.299846 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:02:08.351228 == Info: Added connection 0. The cache now contains 1 members
03:02:08.368191 == Info: Trying 127.0.0.1...
03:02:08.368783 == Info: TCP_NODELAY set
03:02:08.373814 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:02:08.384839 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
03:02:08.385390 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:02:08.386525 == Info: Marked for [keep alive]: HTTP default
03:02:08.387462 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626e7a8; line 1635 (connection #0)
03:02:08.398587 => 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:02:08.403602 == Info: STATE: DO => DO_DONE handle 0x626e7a8; line 1714 (connection #0)
03:02:08.404593 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:02:08.405355 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:02:08.415227 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:02:08.417803 <= Recv header, 53 bytes (0x35)
0000: HTTP/1.1 301 This is a weirdo text message swsclose
03:02:08.421529 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
03:02:08.423316 == Info: Server test-server/fake is not blacklisted
03:02:08.423599 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
03:02:08.424536 <= Recv header, 64 bytes (0x40)
0000: Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
03:02:08.425596 == Info: Marked for [closure]: Connection: close used
03:02:08.425708 <= Recv header, 19 bytes (0x13)
0000: Connection: close
03:02:08.428081 <= Recv header, 2 bytes (0x2)
0000:
03:02:08.430690 == Info: multi_done
03:02:08.439431 == Info: Closing connection 0
03:02:08.442125 == Info: The cache now contains 0 members
03:02:08.452847 == Info: Issue another request to this URL: 'https://127.0.0.1:8991/data/3090002.txt?coolsite=yes'
03:02:08.453638 == Info: STATE: PERFORM => CONNECT handle 0x626e7a8; line 2026 (connection #-5000)
03:02:08.457023 == Info: Added connection 1. The cache now contains 1 members
03:02:08.457722 == Info: Trying 127.0.0.1...
03:02:08.457781 == Info: TCP_NODELAY set
03:02:08.458279 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #1)
03:02:08.458423 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#1)
03:02:08.458507 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #1)
03:02:08.458582 == Info: Marked for [keep alive]: HTTP default
03:02:08.478496 == Info: ALPN, offering h2
03:02:08.478770 == Info: ALPN, offering http/1.1
03:02:09.641452 == Info: successfully set certificate verify locations:
03:02:09.641713 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:02:09.721407 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:09.724854 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:02:09.724920 => Send SSL data, 160 bytes (0xa0)
0000: .......$.`..}....V..%..]..N..I..........*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:02:09.742571 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:02:09.747112 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:02:09.747182 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...0.u..|m._.<..!..].o..N. .90.... 'F......y+......IZ;.U..M^
0040: ...f..../................
03:02:09.793035 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:09.793509 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:02:09.793567 <= 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:09.893118 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:02:09.893386 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:02:09.893447 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.P1!q.....[..&.<..][......v..v.....S'....03Od.H]..NF...9
0040: a.O..Z.........../.B.A<./u..=~]$....&.....$R...v....?..]....<...
0080: ..Z..E]J.........vT..y..........2........r..dBc.&l..V._...Wd....
00c0: ....g..I}(E.Sr:O.F.N..z..7..3^x......Iw.7..j?.C.....!.H..@.8....
0100: 8+......?.... ...`.....c4.W.....}Q..g=.s......b..|.Y...[:|#..0..
0140: ..w..Y(..".o.
03:02:09.963242 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:09.963589 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:02:09.963647 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:02:10.082901 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:02:10.083154 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:02:10.083211 => Send SSL data, 70 bytes (0x46)
0000: ...BA..r...}.kG.,q?o..n...T.....Y.....y.7.=....<%...G1.2.xsE....
0040: =.....
03:02:10.095688 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:10.096241 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:02:10.096300 => Send SSL data, 1 bytes (0x1)
0000: .
03:02:10.127754 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:02:10.127935 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:02:10.127990 => Send SSL data, 16 bytes (0x10)
0000: ....'..........:
03:02:10.130533 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:10.131570 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:02:10.131628 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:02:10.134086 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:02:10.139416 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:02:10.139473 <= Recv SSL data, 16 bytes (0x10)
0000: .........;RU.0._
03:02:10.160891 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:02:10.161596 == Info: ALPN, server did not agree to a protocol
03:02:10.163813 == Info: Server certificate:
03:02:10.171154 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:02:10.177468 == Info: start date: Aug 31 23:39:18 2018 GMT
03:02:10.178452 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:02:10.179308 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:02:10.180224 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:02:10.181352 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626e7a8; line 1635 (connection #1)
03:02:10.192298 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:10.194539 => 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:02:10.195095 == Info: STATE: DO => DO_DONE handle 0x626e7a8; line 1714 (connection #1)
03:02:10.195186 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #1)
03:02:10.195275 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #1)
03:02:10.197988 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:10.204547 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:02:10.204624 <= Recv header, 42 bytes (0x2a)
0000: HTTP/1.1 200 Followed here fine swsclose
03:02:10.204861 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
03:02:10.205120 == Info: Server test-server/fake is not blacklisted
03:02:10.205201 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
03:02:10.206254 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 52
03:02:10.206598 <= Recv header, 2 bytes (0x2)
0000:
03:02:10.206965 <= Recv data, 33 bytes (0x21)
0000: If this is received, the location
03:02:10.216398 <= Recv SSL data, 5 bytes (0x5)
0000: ....+
03:02:10.217005 <= Recv data, 19 bytes (0x13)
0000: following worked..
03:02:10.218135 == Info: STATE: PERFORM => DONE handle 0x626e7a8; line 2050 (connection #1)
03:02:10.218570 == Info: multi_done
03:02:10.220751 == Info: Connection #1 to host 127.0.0.1 left intact
03:02:10.222454 == Info: Expire cleared
=== End of file trace309
=== Start of file valgrind309
==30311== Invalid read of size 8
==30311== at 0x5E755A5: check_free (dlerror.c:188)
==30311== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30311== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30311== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30311== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30311== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30311== by 0x559BF79: exit (exit.c:139)
==30311== by 0x55860A1: (below main) (libc-start.c:342)
==30311== Address 0x66e8f90 is 0 bytes after a block of size 32 alloc'd
==30311== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30311== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30311== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30311== by 0x4DD1E85: err_get_state (err.c:210)
==30311== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30311== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30311== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30311== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30311== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30311== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30311== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30311== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30311== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30311== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30311== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30311== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30311==
==30311== Invalid free() / delete / delete[] / realloc()
==30311== at 0x48369AB: free (vg_replace_malloc.c:530)
==30311== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30311== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30311== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30311== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30311== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30311== by 0x559BF79: exit (exit.c:139)
==30311== by 0x55860A1: (below main) (libc-start.c:342)
==30311== Address 0x66e8f78 is 8 bytes inside a block of size 32 alloc'd
==30311== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30311== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30311== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30311== by 0x4DD1E85: err_get_state (err.c:210)
==30311== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30311== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30311== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30311== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30311== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30311== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30311== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30311== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30311== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30311== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30311== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30311== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30311==
==30311== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30311== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30311== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30311== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30311== by 0x4DD1E85: err_get_state (err.c:210)
==30311== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30311== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30311== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30311== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30311== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30311== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30311== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30311== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30311== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30311== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30311== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30311== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30311==
=== End of file valgrind309
test 0310...[simple HTTPS GET]
goto problem 17
valgrind ERROR ==30349== Invalid read of size 8
==30349== at 0x5E755A5: check_free (dlerror.c:188)
==30349== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30349== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30349== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30349== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30349== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30349== by 0x559BF79: exit (exit.c:139)
==30349== by 0x55860A1: (below main) (libc-start.c:342)
==30349== Address 0x6312fd0 is 0 bytes after a block of size 32 alloc'd
==30349== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30349== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30349== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30349== by 0x4DD1E85: err_get_state (err.c:210)
==30349== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30349== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30349== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30349== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30349== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30349== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30349== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30349== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30349== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30349== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30349== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30349== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30349==
==30349== Invalid free() / delete / delete[] / realloc()
==30349== at 0x48369AB: free (vg_replace_malloc.c:530)
==30349== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30349== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30349== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30349== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30349== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30349== by 0x559BF79: exit (exit.c:139)
==30349== by 0x55860A1: (below main) (libc-start.c:342)
==30349== Address 0x6312fb8 is 8 bytes inside a block of size 32 alloc'd
==30349== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30349== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30349== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30349== by 0x4DD1E85: err_get_state (err.c:210)
==30349== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30349== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30349== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30349== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30349== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30349== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30349== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30349== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30349== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30349== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30349== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30349== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30349==
==30349== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30349== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30349== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30349== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30349== by 0x4DD1E85: err_get_state (err.c:210)
==30349== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30349== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30349== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30349== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30349== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30349== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30349== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30349== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30349== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30349== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30349== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30349== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30349==
== 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:01:38.112297 ====> Client connect
03:01:38.112335 accept_connection 3 returned 4
03:01:38.112349 accept_connection 3 returned 0
03:01:38.188794 Read 90 bytes
03:01:38.188833 Process 90 bytes request
03:01:38.188850 Got request: GET /want/303 HTTP/1.1
03:01:38.188860 Requested test number 303 part 0
03:01:38.188885 - request found to be complete
03:01:38.188911 Wrote request (90 bytes) input to log/server.input
03:01:38.188933 Send response test303 section <data>
03:01:38.188994 Response sent (94 bytes) and written to log/server.response
03:01:38.189005 Told to sleep for 20 seconds
03:01:58.209954 Continuing after sleeping 20 seconds
03:01:58.210049 => persistent connection request ended, awaits new request
03:01:58.210081 Connection closed by client
03:01:58.210100 ====> Client disconnect 0
03:02:00.924671 ====> Client connect
03:02:00.924695 accept_connection 3 returned 4
03:02:00.924709 accept_connection 3 returned 0
03:02:01.015517 Read 224 bytes
03:02:01.015555 Process 224 bytes request
03:02:01.015568 Got request: POST /we/want/304 HTTP/1.1
03:02:01.015577 Requested test number 304 part 0
03:02:01.015606 - request found to be complete
03:02:01.015616 Found Content-Length: 1386 in the request
03:02:02.047660 Read 1386 bytes
03:02:02.047695 Process 1610 bytes request [CONTINUED]
03:02:02.047704 - request found to be complete
03:02:02.047732 Wrote request (1610 bytes) input to log/server.input
03:02:02.047755 Send response test304 section <data>
03:02:02.047838 Response sent (108 bytes) and written to log/server.response
03:02:02.047854 => persistent connection request ended, awaits new request
03:02:02.111235 Connection closed by client
03:02:02.111270 ====> Client disconnect 0
03:02:06.090057 ====> Client connect
03:02:06.090084 accept_connection 3 returned 4
03:02:06.090098 accept_connection 3 returned 0
03:02:06.163281 Read 85 bytes
03:02:06.163319 Process 85 bytes request
03:02:06.163333 Got request: GET /306 HTTP/1.1
03:02:06.163342 Requested test number 306 part 0
03:02:06.163367 - request found to be complete
03:02:06.163395 Wrote request (85 bytes) input to log/server.input
03:02:06.163418 Send response test306 section <data>
03:02:06.163441 connection close instruction "swsclose" found in response
03:02:06.163498 Response sent (107 bytes) and written to log/server.response
03:02:06.163515 instructed to close connection after server-reply
03:02:06.163523 ====> Client disconnect 0
03:02:07.371272 ====> Client connect
03:02:07.371296 accept_connection 3 returned 4
03:02:07.371311 accept_connection 3 returned 0
03:02:07.397946 Read 90 bytes
03:02:07.397971 Process 90 bytes request
03:02:07.397987 Got request: GET /want/309 HTTP/1.1
03:02:07.397999 Requested test number 309 part 0
03:02:07.398028 - request found to be complete
03:02:07.398047 Wrote request (90 bytes) input to log/server.input
03:02:07.398066 Send response test309 section <data>
03:02:07.398091 connection close instruction "swsclose" found in response
03:02:07.398161 Response sent (277 bytes) and written to log/server.response
03:02:07.398171 instructed to close connection after server-reply
03:02:07.398178 ====> Client disconnect 0
03:02:09.128887 ====> Client connect
03:02:09.128911 accept_connection 3 returned 4
03:02:09.128925 accept_connection 3 returned 0
03:02:09.193690 Read 111 bytes
03:02:09.193731 Process 111 bytes request
03:02:09.193748 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
03:02:09.193758 Requested test number 309 part 2
03:02:09.193785 - request found to be complete
03:02:09.193797 Wrote request (111 bytes) input to log/server.input
03:02:09.193808 Send response test309 section <data2>
03:02:09.193831 connection close instruction "swsclose" found in response
03:02:09.193889 Response sent (179 bytes) and written to log/server.response
03:02:09.193898 instructed to close connection after server-reply
03:02:09.193906 ====> Client disconnect 0
03:02:09.349997 signalled to die
03:02:09.350065 ========> IPv4 sws (port 8990 pid: 28896) exits with signal (15)
03:02:15.374820 Running HTTP IPv4 version on port 8990
03:02:15.375046 Wrote pid 30332 to .http_server.pid
03:02:16.372620 ====> Client connect
03:02:16.372670 accept_connection 3 returned 4
03:02:16.372701 accept_connection 3 returned 0
03:02:16.372732 Read 96 bytes
03:02:16.372754 Process 96 bytes request
03:02:16.372793 Got request: GET /verifiedserver HTTP/1.1
03:02:16.372814 Are-we-friendly question received
03:02:16.372840 Wrote request (96 bytes) input to log/server.input
03:02:16.372878 Identifying ourselves as friends
03:02:16.372979 Response sent (56 bytes) and written to log/server.response
03:02:16.373003 special request received, no persistency
03:02:16.373021 ====> Client disconnect 0
03:02:18.416679 ====> Client connect
03:02:18.416707 accept_connection 3 returned 4
03:02:18.416720 accept_connection 3 returned 0
03:02:18.416887 Read 96 bytes
03:02:18.416926 Process 96 bytes request
03:02:18.416956 Got request: GET /verifiedserver HTTP/1.1
03:02:18.416971 Are-we-friendly question received
03:02:18.416985 Wrote request (96 bytes) input to log/server.input
03:02:18.417001 Identifying ourselves as friends
03:02:18.417051 Response sent (56 bytes) and written to log/server.response
03:02:18.417065 special request received, no persistency
03:02:18.417081 ====> Client disconnect 0
03:02:23.388744 ====> Client connect
03:02:23.388769 accept_connection 3 returned 4
03:02:23.388784 accept_connection 3 returned 0
03:02:23.464557 Read 85 bytes
03:02:23.464593 Process 85 bytes request
03:02:23.464609 Got request: GET /310 HTTP/1.1
03:02:23.464620 Requested test number 310 part 0
03:02:23.464650 - request found to be complete
03:02:23.464676 Wrote request (85 bytes) input to log/server.input
03:02:23.464698 Send response test310 section <data>
03:02:23.464762 Response sent (103 bytes) and written to log/server.response
03:02:23.464772 => persistent connection request ended, awaits new request
03:02:23.528657 Connection closed by client
03:02:23.528688 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x5654e701d6a8; line 1446 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5654e701d6a8; line 1498 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5654e701d6a8; line 1617 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x5654e701d6a8; line 1635 (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 0x5654e701d6a8; line 1714 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x5654e701d6a8; line 1838 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x5654e701d6a8; line 1853 (connection #0)
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x5654e701d6a8; line 2050 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 30332
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.01.06 03:02:17 LOG5[30342]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.06 03:02:17 LOG5[30342]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.06 03:02:17 LOG5[30342]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.06 03:02:17 LOG5[30342]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.06 03:02:17 LOG5[30342]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.06 03:02:17 LOG5[30342]: Reading configuration from file /build-29288/tests/https_stunnel.conf
2019.01.06 03:02:17 LOG5[30342]: FIPS mode disabled
2019.01.06 03:02:17 LOG5[30342]: Configuration successful
2019.01.06 03:02:18 LOG5[30345]: Service [curltest] accepted connection from 127.0.0.1:34030
2019.01.06 03:02:18 LOG5[30345]: s_connect: connected 127.0.0.1:8990
2019.01.06 03:02:18 LOG5[30345]: Service [curltest] connected remote server from 127.0.0.1:56874
2019.01.06 03:02:18 LOG5[30345]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.06 03:02:22 LOG5[30353]: Service [curltest] accepted connection from 127.0.0.1:34036
2019.01.06 03:02:23 LOG5[30353]: s_connect: connected 127.0.0.1:8990
2019.01.06 03:02:23 LOG5[30353]: Service [curltest] connected remote server from 127.0.0.1:56880
2019.01.06 03:02:23 LOG5[30353]: Connection closed: 103 byte(s) sent to SSL, 85 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x5604e14e36a8; line 1446 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5604e14e36a8; line 1498 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5604e14e36a8; line 1617 (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 0x5604e14e36a8; line 1631 (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 0x5604e14e36a8; line 1652 (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 0x5604e14e36a8; line 1714 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x5604e14e36a8; line 1838 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x5604e14e36a8; line 1853 (connection #0)
{ [5 bytes data]
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x5604e14e36a8; line 2050 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 30332
=== 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: 17
WE ROOLZ: 30332
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 30332
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: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
100 7 100 7 0 0 2 0 0:00:03 0:00:03 --:--:-- 2
=== End of file stderr310
=== Start of file trace310
03:02:20.373459 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:02:20.426002 == Info: Added connection 0. The cache now contains 1 members
03:02:20.457810 == Info: STATE: CONNECT => WAITRESOLVE handle 0x626e7a8; line 1482 (connection #0)
03:02:22.745546 == Info: Trying ::1...
03:02:22.746192 == Info: TCP_NODELAY set
03:02:22.750533 == Info: STATE: WAITRESOLVE => WAITCONNECT handle 0x626e7a8; line 1563 (connection #0)
03:02:22.758315 == Info: connect to ::1 port 8991 failed: Connection refused
03:02:22.760421 == Info: Trying 127.0.0.1...
03:02:22.760483 == Info: TCP_NODELAY set
03:02:22.765567 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:02:22.766125 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:02:22.767128 == Info: Marked for [keep alive]: HTTP default
03:02:22.787351 == Info: ALPN, offering h2
03:02:22.787626 == Info: ALPN, offering http/1.1
03:02:22.870642 == Info: successfully set certificate verify locations:
03:02:22.870891 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:02:22.952071 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:22.957357 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:02:22.957415 => Send SSL data, 178 bytes (0xb2)
0000: ......o>......t6.'....=...?...4..|Y.so..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....[..............localhost..................
0080: ..........3t.........h2.http/1.1..................
03:02:22.975106 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:02:22.979671 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:02:22.979729 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y..)..W........L.W.4.G......r.^j... ......7}.Cz..4<.....%H.q.
0040: 2......./....................
03:02:23.025001 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:23.025454 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:02:23.025511 <= 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:23.203754 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:02:23.204039 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:02:23.204096 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..q...j/.fV..L..4.XR..%(%{EM...6..'e.*C.I~...-.Z{....4K.
0040: h............S_Q..?l...n.ETP6.W..UqTs....P;qX..^...U...z.~r...ZD
0080: z..$M....c.N..:...CX...dY...#....[7F].UkIXZ(.Z8.0..cCt....Fx.b.Kp..
00c0: D?)3|...ec.D.^z.wK.sQi..<."AD{.L...].t..7l9.w.Up7....w..$..B...L
0100: .oA..f...Gc..o..n.b..'.f:..........D....V+Vi.K.*.e0...~..\_/.. .
0140: G.......m!F..
03:02:23.224385 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:23.224695 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:02:23.224751 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:02:23.342743 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:02:23.342978 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:02:23.343033 => Send SSL data, 70 bytes (0x46)
0000: ...BA.........."..K..........6..#..|<1[u...v..6........s._.f.i5{
0040: ....ID
03:02:23.355530 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:23.356084 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:02:23.356142 => Send SSL data, 1 bytes (0x1)
0000: .
03:02:23.387618 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:02:23.387790 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:02:23.387843 => Send SSL data, 16 bytes (0x10)
0000: .....u......q..d
03:02:23.390382 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:23.391415 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:02:23.391472 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:02:23.393869 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:02:23.399198 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:02:23.399255 <= Recv SSL data, 16 bytes (0x10)
0000: .....|..0O'W...0
03:02:23.420744 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:02:23.421447 == Info: ALPN, server did not agree to a protocol
03:02:23.423585 == Info: Server certificate:
03:02:23.431147 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
03:02:23.435949 == Info: start date: Sep 19 07:13:14 2018 GMT
03:02:23.437328 == Info: expire date: Dec 6 07:13:14 2026 GMT
03:02:23.440384 == Info: subjectAltName: host "localhost" matched cert's "localhost"
03:02:23.442671 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
03:02:23.443404 == Info: SSL certificate verify ok.
03:02:23.444937 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626e7a8; line 1635 (connection #0)
03:02:23.463172 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:02:23.465746 => 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:02:23.468648 == Info: STATE: DO => DO_DONE handle 0x626e7a8; line 1714 (connection #0)
03:02:23.469634 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:02:23.470398 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:02:23.474968 <= Recv SSL data, 5 bytes (0x5)
0000: ....[7F]
03:02:23.485377 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:02:23.487807 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:02:23.491446 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:02:23.493285 == Info: Server test-server/fake is not blacklisted
03:02:23.493574 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:02:23.494622 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:02:23.496826 <= Recv header, 1 bytes (0x1)
0000: .
03:02:23.497614 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:02:23.503972 == Info: STATE: PERFORM => DONE handle 0x626e7a8; line 2050 (connection #0)
03:02:23.504523 == Info: multi_done
03:02:23.512774 == Info: Connection #0 to host localhost left intact
03:02:23.514008 == Info: Expire cleared
=== End of file trace310
=== Start of file valgrind310
==30349== Invalid read of size 8
==30349== at 0x5E755A5: check_free (dlerror.c:188)
==30349== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30349== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30349== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30349== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30349== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30349== by 0x559BF79: exit (exit.c:139)
==30349== by 0x55860A1: (below main) (libc-start.c:342)
==30349== Address 0x6312fd0 is 0 bytes after a block of size 32 alloc'd
==30349== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30349== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30349== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30349== by 0x4DD1E85: err_get_state (err.c:210)
==30349== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30349== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30349== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30349== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30349== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30349== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30349== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30349== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30349== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30349== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30349== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30349== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30349==
==30349== Invalid free() / delete / delete[] / realloc()
==30349== at 0x48369AB: free (vg_replace_malloc.c:530)
==30349== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30349== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30349== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30349== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30349== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30349== by 0x559BF79: exit (exit.c:139)
==30349== by 0x55860A1: (below main) (libc-start.c:342)
==30349== Address 0x6312fb8 is 8 bytes inside a block of size 32 alloc'd
==30349== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30349== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30349== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30349== by 0x4DD1E85: err_get_state (err.c:210)
==30349== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30349== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30349== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30349== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30349== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30349== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30349== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30349== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30349== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30349== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30349== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30349== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30349==
==30349== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30349== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30349== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30349== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30349== by 0x4DD1E85: err_get_state (err.c:210)
==30349== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30349== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30349== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30349== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30349== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30349== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30349== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30349== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30349== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30349== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30349== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30349== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30349==
=== End of file valgrind310
test 0311...[HTTPS wrong subjectAltName but right CN]
goto problem 18
valgrind ERROR ==30372== Invalid read of size 8
==30372== at 0x5E755A5: check_free (dlerror.c:188)
==30372== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30372== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30372== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30372== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30372== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30372== by 0x559BF79: exit (exit.c:139)
==30372== by 0x55860A1: (below main) (libc-start.c:342)
==30372== Address 0x63102b0 is 0 bytes after a block of size 32 alloc'd
==30372== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30372== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30372== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30372== by 0x4DD1E85: err_get_state (err.c:210)
==30372== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30372== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30372== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30372== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30372== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30372== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30372== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30372== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30372== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30372== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30372== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30372== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30372==
==30372== Invalid free() / delete / delete[] / realloc()
==30372== at 0x48369AB: free (vg_replace_malloc.c:530)
==30372== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30372== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30372== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30372== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30372== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30372== by 0x559BF79: exit (exit.c:139)
==30372== by 0x55860A1: (below main) (libc-start.c:342)
==30372== Address 0x6310298 is 8 bytes inside a block of size 32 alloc'd
==30372== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30372== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30372== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30372== by 0x4DD1E85: err_get_state (err.c:210)
==30372== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30372== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30372== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30372== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30372== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30372== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30372== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30372== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30372== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30372== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30372== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30372== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30372==
==30372== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30372== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30372== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30372== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30372== by 0x4DD1E85: err_get_state (err.c:210)
==30372== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30372== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30372== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30372== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30372== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30372== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30372== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30372== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30372== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30372== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30372== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30372== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30372==
== Contents of files in the log/ dir after test 311
=== Start of file http_server.log
03:01:38.112297 ====> Client connect
03:01:38.112335 accept_connection 3 returned 4
03:01:38.112349 accept_connection 3 returned 0
03:01:38.188794 Read 90 bytes
03:01:38.188833 Process 90 bytes request
03:01:38.188850 Got request: GET /want/303 HTTP/1.1
03:01:38.188860 Requested test number 303 part 0
03:01:38.188885 - request found to be complete
03:01:38.188911 Wrote request (90 bytes) input to log/server.input
03:01:38.188933 Send response test303 section <data>
03:01:38.188994 Response sent (94 bytes) and written to log/server.response
03:01:38.189005 Told to sleep for 20 seconds
03:01:58.209954 Continuing after sleeping 20 seconds
03:01:58.210049 => persistent connection request ended, awaits new request
03:01:58.210081 Connection closed by client
03:01:58.210100 ====> Client disconnect 0
03:02:00.924671 ====> Client connect
03:02:00.924695 accept_connection 3 returned 4
03:02:00.924709 accept_connection 3 returned 0
03:02:01.015517 Read 224 bytes
03:02:01.015555 Process 224 bytes request
03:02:01.015568 Got request: POST /we/want/304 HTTP/1.1
03:02:01.015577 Requested test number 304 part 0
03:02:01.015606 - request found to be complete
03:02:01.015616 Found Content-Length: 1386 in the request
03:02:02.047660 Read 1386 bytes
03:02:02.047695 Process 1610 bytes request [CONTINUED]
03:02:02.047704 - request found to be complete
03:02:02.047732 Wrote request (1610 bytes) input to log/server.input
03:02:02.047755 Send response test304 section <data>
03:02:02.047838 Response sent (108 bytes) and written to log/server.response
03:02:02.047854 => persistent connection request ended, awaits new request
03:02:02.111235 Connection closed by client
03:02:02.111270 ====> Client disconnect 0
03:02:06.090057 ====> Client connect
03:02:06.090084 accept_connection 3 returned 4
03:02:06.090098 accept_connection 3 returned 0
03:02:06.163281 Read 85 bytes
03:02:06.163319 Process 85 bytes request
03:02:06.163333 Got request: GET /306 HTTP/1.1
03:02:06.163342 Requested test number 306 part 0
03:02:06.163367 - request found to be complete
03:02:06.163395 Wrote request (85 bytes) input to log/server.input
03:02:06.163418 Send response test306 section <data>
03:02:06.163441 connection close instruction "swsclose" found in response
03:02:06.163498 Response sent (107 bytes) and written to log/server.response
03:02:06.163515 instructed to close connection after server-reply
03:02:06.163523 ====> Client disconnect 0
03:02:07.371272 ====> Client connect
03:02:07.371296 accept_connection 3 returned 4
03:02:07.371311 accept_connection 3 returned 0
03:02:07.397946 Read 90 bytes
03:02:07.397971 Process 90 bytes request
03:02:07.397987 Got request: GET /want/309 HTTP/1.1
03:02:07.397999 Requested test number 309 part 0
03:02:07.398028 - request found to be complete
03:02:07.398047 Wrote request (90 bytes) input to log/server.input
03:02:07.398066 Send response test309 section <data>
03:02:07.398091 connection close instruction "swsclose" found in response
03:02:07.398161 Response sent (277 bytes) and written to log/server.response
03:02:07.398171 instructed to close connection after server-reply
03:02:07.398178 ====> Client disconnect 0
03:02:09.128887 ====> Client connect
03:02:09.128911 accept_connection 3 returned 4
03:02:09.128925 accept_connection 3 returned 0
03:02:09.193690 Read 111 bytes
03:02:09.193731 Process 111 bytes request
03:02:09.193748 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
03:02:09.193758 Requested test number 309 part 2
03:02:09.193785 - request found to be complete
03:02:09.193797 Wrote request (111 bytes) input to log/server.input
03:02:09.193808 Send response test309 section <data2>
03:02:09.193831 connection close instruction "swsclose" found in response
03:02:09.193889 Response sent (179 bytes) and written to log/server.response
03:02:09.193898 instructed to close connection after server-reply
03:02:09.193906 ====> Client disconnect 0
03:02:09.349997 signalled to die
03:02:09.350065 ========> IPv4 sws (port 8990 pid: 28896) exits with signal (15)
03:02:15.374820 Running HTTP IPv4 version on port 8990
03:02:15.375046 Wrote pid 30332 to .http_server.pid
03:02:16.372620 ====> Client connect
03:02:16.372670 accept_connection 3 returned 4
03:02:16.372701 accept_connection 3 returned 0
03:02:16.372732 Read 96 bytes
03:02:16.372754 Process 96 bytes request
03:02:16.372793 Got request: GET /verifiedserver HTTP/1.1
03:02:16.372814 Are-we-friendly question received
03:02:16.372840 Wrote request (96 bytes) input to log/server.input
03:02:16.372878 Identifying ourselves as friends
03:02:16.372979 Response sent (56 bytes) and written to log/server.response
03:02:16.373003 special request received, no persistency
03:02:16.373021 ====> Client disconnect 0
03:02:18.416679 ====> Client connect
03:02:18.416707 accept_connection 3 returned 4
03:02:18.416720 accept_connection 3 returned 0
03:02:18.416887 Read 96 bytes
03:02:18.416926 Process 96 bytes request
03:02:18.416956 Got request: GET /verifiedserver HTTP/1.1
03:02:18.416971 Are-we-friendly question received
03:02:18.416985 Wrote request (96 bytes) input to log/server.input
03:02:18.417001 Identifying ourselves as friends
03:02:18.417051 Response sent (56 bytes) and written to log/server.response
03:02:18.417065 special request received, no persistency
03:02:18.417081 ====> Client disconnect 0
03:02:23.388744 ====> Client connect
03:02:23.388769 accept_connection 3 returned 4
03:02:23.388784 accept_connection 3 returned 0
03:02:23.464557 Read 85 bytes
03:02:23.464593 Process 85 bytes request
03:02:23.464609 Got request: GET /310 HTTP/1.1
03:02:23.464620 Requested test number 310 part 0
03:02:23.464650 - request found to be complete
03:02:23.464676 Wrote request (85 bytes) input to log/server.input
03:02:23.464698 Send response test310 section <data>
03:02:23.464762 Response sent (103 bytes) and written to log/server.response
03:02:23.464772 => persistent connection request ended, awaits new request
03:02:23.528657 Connection closed by client
03:02:23.528688 ====> Client disconnect 0
03:02:23.615027 signalled to die
03:02:23.615132 ========> IPv4 sws (port 8990 pid: 30332) exits with signal (15)
03:02:28.639081 Running HTTP IPv4 version on port 8990
03:02:28.639303 Wrote pid 30358 to .http_server.pid
03:02:29.636507 ====> Client connect
03:02:29.636559 accept_connection 3 returned 4
03:02:29.636598 accept_connection 3 returned 0
03:02:29.636667 Read 96 bytes
03:02:29.636706 Process 96 bytes request
03:02:29.636751 Got request: GET /verifiedserver HTTP/1.1
03:02:29.636787 Are-we-friendly question received
03:02:29.636826 Wrote request (96 bytes) input to log/server.input
03:02:29.636873 Identifying ourselves as friends
03:02:29.636986 Response sent (56 bytes) and written to log/server.response
03:02:29.637020 special request received, no persistency
03:02:29.637046 ====> Client disconnect 0
03:02:31.681853 ====> Client connect
03:02:31.681884 accept_connection 3 returned 4
03:02:31.681904 accept_connection 3 returned 0
03:02:31.682124 Read 96 bytes
03:02:31.682150 Process 96 bytes request
03:02:31.682167 Got request: GET /verifiedserver HTTP/1.1
03:02:31.682178 Are-we-friendly question received
03:02:31.682193 Wrote request (96 bytes) input to log/server.input
03:02:31.682208 Identifying ourselves as friends
03:02:31.682261 Response sent (56 bytes) and written to log/server.response
03:02:31.682275 special request received, no persistency
03:02:31.682286 ====> Client disconnect 0
03:02:34.377437 ====> Client connect
03:02:34.377464 accept_connection 3 returned 4
03:02:34.377478 accept_connection 3 returned 0
03:02:34.448256 Connection closed by client
03:02:34.448289 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55a412b0d6a8; line 1446 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55a412b0d6a8; line 1498 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55a412b0d6a8; line 1617 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55a412b0d6a8; line 1635 (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 0x55a412b0d6a8; line 1714 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55a412b0d6a8; line 1838 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55a412b0d6a8; line 1853 (connection #0)
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x55a412b0d6a8; line 2050 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 30358
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.01.06 03:02:30 LOG5[30364]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.06 03:02:30 LOG5[30364]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.06 03:02:30 LOG5[30364]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.06 03:02:30 LOG5[30364]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.06 03:02:30 LOG5[30364]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.06 03:02:30 LOG5[30364]: Reading configuration from file /build-29288/tests/https_stunnel.conf
2019.01.06 03:02:30 LOG5[30364]: FIPS mode disabled
2019.01.06 03:02:30 LOG5[30364]: Configuration successful
2019.01.06 03:02:31 LOG5[30368]: Service [curltest] accepted connection from 127.0.0.1:34042
2019.01.06 03:02:31 LOG5[30368]: s_connect: connected 127.0.0.1:8990
2019.01.06 03:02:31 LOG5[30368]: Service [curltest] connected remote server from 127.0.0.1:56886
2019.01.06 03:02:31 LOG5[30368]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.06 03:02:33 LOG5[30373]: Service [curltest] accepted connection from 127.0.0.1:34048
2019.01.06 03:02:34 LOG5[30373]: s_connect: connected 127.0.0.1:8990
2019.01.06 03:02:34 LOG5[30373]: Service [curltest] connected remote server from 127.0.0.1:56892
2019.01.06 03:02:34 LOG5[30373]: Connection closed: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x55d7c4b9b6a8; line 1446 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55d7c4b9b6a8; line 1498 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55d7c4b9b6a8; line 1617 (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 0x55d7c4b9b6a8; line 1631 (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 0x55d7c4b9b6a8; line 1652 (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 0x55d7c4b9b6a8; line 1714 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55d7c4b9b6a8; line 1838 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55d7c4b9b6a8; line 1853 (connection #0)
{ [5 bytes data]
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55d7c4b9b6a8; line 2050 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 30358
=== 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: 17
WE ROOLZ: 30332
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 30332
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: 17
WE ROOLZ: 30358
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 30358
=== 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:02:33.624090 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:02:33.676216 == Info: Added connection 0. The cache now contains 1 members
03:02:33.729000 == Info: Trying ::1...
03:02:33.729639 == Info: TCP_NODELAY set
03:02:33.735237 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:02:33.749221 == Info: connect to ::1 port 8991 failed: Connection refused
03:02:33.751339 == Info: Trying 127.0.0.1...
03:02:33.751404 == Info: TCP_NODELAY set
03:02:33.759746 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:02:33.760255 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:02:33.761251 == Info: Marked for [keep alive]: HTTP default
03:02:33.781406 == Info: ALPN, offering h2
03:02:33.781678 == Info: ALPN, offering http/1.1
03:02:33.864196 == Info: successfully set certificate verify locations:
03:02:33.864465 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:02:33.946970 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:33.952282 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:02:33.952340 => Send SSL data, 178 bytes (0xb2)
0000: ......[7F]cs.M..Ev.u...B.u][.d.O.7.....y...*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....[..............localhost..................
0080: ..........3t.........h2.http/1.1..................
03:02:33.969816 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:02:33.974245 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:02:33.974302 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y......]..sT.-.........,...r._[7F].#.. .....|....Ks..iS.&.....0i
0040: (6..q%../....................
03:02:34.019280 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:34.019732 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:02:34.019788 <= 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:02:34.192141 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:02:34.192407 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:02:34.192463 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A....0eP\..R..Z..@..........bs.S..cT).."...`.N...<.......
0040: [0I.....~....v...y.../=..........P..u.i..w...<.:[7F]..&.....$..J.X+
0080: d...D.?%..F..."....k....I?=$.Rz!...-...FW->..NI..:..........W...
00c0: =...!tH.z......M-.^...w?.......G.~jk..<M..."w..D..V..y+.`{..X...
0100: c.1..&rc...y..A...$...&.......y..HE.0...(....;..J......y....H...
0140: _z}@,.{..q.E.
03:02:34.212643 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:34.212947 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:02:34.213003 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:02:34.331102 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:02:34.331336 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:02:34.331391 => Send SSL data, 70 bytes (0x46)
0000: ...BA.$..L...M &.g!ne....`0F...[7F].X..=..#.......$......h).../....
0040: .I....
03:02:34.343929 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:34.344486 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:02:34.344542 => Send SSL data, 1 bytes (0x1)
0000: .
03:02:34.376323 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:02:34.376495 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:02:34.376552 => Send SSL data, 16 bytes (0x10)
0000: ....Yd.[a.......
03:02:34.379095 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:34.380136 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:02:34.380193 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:02:34.382603 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:02:34.387930 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:02:34.387986 <= Recv SSL data, 16 bytes (0x10)
0000: ....O....;.k....
03:02:34.409557 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:02:34.410267 == Info: ALPN, server did not agree to a protocol
03:02:34.412423 == Info: Server certificate:
03:02:34.419966 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
03:02:34.424785 == Info: start date: Sep 19 07:14:23 2018 GMT
03:02:34.426127 == Info: expire date: Dec 6 07:14:23 2026 GMT
03:02:34.429287 == Info: subjectAltName does not match localhost
03:02:34.430001 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
03:02:34.430725 == Info: Marked for [closure]: Failed HTTPS connection
03:02:34.431309 == Info: multi_done
03:02:34.439951 == Info: Closing connection 0
03:02:34.442573 == Info: The cache now contains 0 members
03:02:34.469626 == Info: Expire cleared
=== End of file trace311
=== Start of file valgrind311
==30372== Invalid read of size 8
==30372== at 0x5E755A5: check_free (dlerror.c:188)
==30372== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30372== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30372== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30372== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30372== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30372== by 0x559BF79: exit (exit.c:139)
==30372== by 0x55860A1: (below main) (libc-start.c:342)
==30372== Address 0x63102b0 is 0 bytes after a block of size 32 alloc'd
==30372== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30372== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30372== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30372== by 0x4DD1E85: err_get_state (err.c:210)
==30372== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30372== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30372== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30372== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30372== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30372== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30372== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30372== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30372== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30372== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30372== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30372== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30372==
==30372== Invalid free() / delete / delete[] / realloc()
==30372== at 0x48369AB: free (vg_replace_malloc.c:530)
==30372== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30372== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30372== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30372== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30372== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30372== by 0x559BF79: exit (exit.c:139)
==30372== by 0x55860A1: (below main) (libc-start.c:342)
==30372== Address 0x6310298 is 8 bytes inside a block of size 32 alloc'd
==30372== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30372== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30372== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30372== by 0x4DD1E85: err_get_state (err.c:210)
==30372== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30372== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30372== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30372== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30372== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30372== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30372== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30372== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30372== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30372== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30372== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30372== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30372==
==30372== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30372== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30372== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30372== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30372== by 0x4DD1E85: err_get_state (err.c:210)
==30372== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30372== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30372== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30372== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30372== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30372== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30372== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30372== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30372== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30372== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30372== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30372== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30372==
=== End of file valgrind311
test 0312...[HTTPS GET to localhost and null-prefixed CN cert]
goto problem 19
valgrind ERROR ==30396== Invalid read of size 8
==30396== at 0x5E755A5: check_free (dlerror.c:188)
==30396== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30396== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30396== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30396== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30396== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30396== by 0x559BF79: exit (exit.c:139)
==30396== by 0x55860A1: (below main) (libc-start.c:342)
==30396== Address 0x63102b0 is 0 bytes after a block of size 32 alloc'd
==30396== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30396== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30396== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30396== by 0x4DD1E85: err_get_state (err.c:210)
==30396== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30396== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30396== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30396== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30396== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30396== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30396== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30396== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30396== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30396== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30396== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30396== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30396==
==30396== Invalid free() / delete / delete[] / realloc()
==30396== at 0x48369AB: free (vg_replace_malloc.c:530)
==30396== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30396== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30396== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30396== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30396== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30396== by 0x559BF79: exit (exit.c:139)
==30396== by 0x55860A1: (below main) (libc-start.c:342)
==30396== Address 0x6310298 is 8 bytes inside a block of size 32 alloc'd
==30396== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30396== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30396== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30396== by 0x4DD1E85: err_get_state (err.c:210)
==30396== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30396== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30396== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30396== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30396== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30396== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30396== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30396== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30396== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30396== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30396== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30396== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30396==
==30396== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30396== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30396== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30396== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30396== by 0x4DD1E85: err_get_state (err.c:210)
==30396== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30396== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30396== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30396== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30396== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30396== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30396== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30396== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30396== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30396== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30396== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30396== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30396==
== Contents of files in the log/ dir after test 312
=== Start of file http_server.log
03:01:38.112297 ====> Client connect
03:01:38.112335 accept_connection 3 returned 4
03:01:38.112349 accept_connection 3 returned 0
03:01:38.188794 Read 90 bytes
03:01:38.188833 Process 90 bytes request
03:01:38.188850 Got request: GET /want/303 HTTP/1.1
03:01:38.188860 Requested test number 303 part 0
03:01:38.188885 - request found to be complete
03:01:38.188911 Wrote request (90 bytes) input to log/server.input
03:01:38.188933 Send response test303 section <data>
03:01:38.188994 Response sent (94 bytes) and written to log/server.response
03:01:38.189005 Told to sleep for 20 seconds
03:01:58.209954 Continuing after sleeping 20 seconds
03:01:58.210049 => persistent connection request ended, awaits new request
03:01:58.210081 Connection closed by client
03:01:58.210100 ====> Client disconnect 0
03:02:00.924671 ====> Client connect
03:02:00.924695 accept_connection 3 returned 4
03:02:00.924709 accept_connection 3 returned 0
03:02:01.015517 Read 224 bytes
03:02:01.015555 Process 224 bytes request
03:02:01.015568 Got request: POST /we/want/304 HTTP/1.1
03:02:01.015577 Requested test number 304 part 0
03:02:01.015606 - request found to be complete
03:02:01.015616 Found Content-Length: 1386 in the request
03:02:02.047660 Read 1386 bytes
03:02:02.047695 Process 1610 bytes request [CONTINUED]
03:02:02.047704 - request found to be complete
03:02:02.047732 Wrote request (1610 bytes) input to log/server.input
03:02:02.047755 Send response test304 section <data>
03:02:02.047838 Response sent (108 bytes) and written to log/server.response
03:02:02.047854 => persistent connection request ended, awaits new request
03:02:02.111235 Connection closed by client
03:02:02.111270 ====> Client disconnect 0
03:02:06.090057 ====> Client connect
03:02:06.090084 accept_connection 3 returned 4
03:02:06.090098 accept_connection 3 returned 0
03:02:06.163281 Read 85 bytes
03:02:06.163319 Process 85 bytes request
03:02:06.163333 Got request: GET /306 HTTP/1.1
03:02:06.163342 Requested test number 306 part 0
03:02:06.163367 - request found to be complete
03:02:06.163395 Wrote request (85 bytes) input to log/server.input
03:02:06.163418 Send response test306 section <data>
03:02:06.163441 connection close instruction "swsclose" found in response
03:02:06.163498 Response sent (107 bytes) and written to log/server.response
03:02:06.163515 instructed to close connection after server-reply
03:02:06.163523 ====> Client disconnect 0
03:02:07.371272 ====> Client connect
03:02:07.371296 accept_connection 3 returned 4
03:02:07.371311 accept_connection 3 returned 0
03:02:07.397946 Read 90 bytes
03:02:07.397971 Process 90 bytes request
03:02:07.397987 Got request: GET /want/309 HTTP/1.1
03:02:07.397999 Requested test number 309 part 0
03:02:07.398028 - request found to be complete
03:02:07.398047 Wrote request (90 bytes) input to log/server.input
03:02:07.398066 Send response test309 section <data>
03:02:07.398091 connection close instruction "swsclose" found in response
03:02:07.398161 Response sent (277 bytes) and written to log/server.response
03:02:07.398171 instructed to close connection after server-reply
03:02:07.398178 ====> Client disconnect 0
03:02:09.128887 ====> Client connect
03:02:09.128911 accept_connection 3 returned 4
03:02:09.128925 accept_connection 3 returned 0
03:02:09.193690 Read 111 bytes
03:02:09.193731 Process 111 bytes request
03:02:09.193748 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
03:02:09.193758 Requested test number 309 part 2
03:02:09.193785 - request found to be complete
03:02:09.193797 Wrote request (111 bytes) input to log/server.input
03:02:09.193808 Send response test309 section <data2>
03:02:09.193831 connection close instruction "swsclose" found in response
03:02:09.193889 Response sent (179 bytes) and written to log/server.response
03:02:09.193898 instructed to close connection after server-reply
03:02:09.193906 ====> Client disconnect 0
03:02:09.349997 signalled to die
03:02:09.350065 ========> IPv4 sws (port 8990 pid: 28896) exits with signal (15)
03:02:15.374820 Running HTTP IPv4 version on port 8990
03:02:15.375046 Wrote pid 30332 to .http_server.pid
03:02:16.372620 ====> Client connect
03:02:16.372670 accept_connection 3 returned 4
03:02:16.372701 accept_connection 3 returned 0
03:02:16.372732 Read 96 bytes
03:02:16.372754 Process 96 bytes request
03:02:16.372793 Got request: GET /verifiedserver HTTP/1.1
03:02:16.372814 Are-we-friendly question received
03:02:16.372840 Wrote request (96 bytes) input to log/server.input
03:02:16.372878 Identifying ourselves as friends
03:02:16.372979 Response sent (56 bytes) and written to log/server.response
03:02:16.373003 special request received, no persistency
03:02:16.373021 ====> Client disconnect 0
03:02:18.416679 ====> Client connect
03:02:18.416707 accept_connection 3 returned 4
03:02:18.416720 accept_connection 3 returned 0
03:02:18.416887 Read 96 bytes
03:02:18.416926 Process 96 bytes request
03:02:18.416956 Got request: GET /verifiedserver HTTP/1.1
03:02:18.416971 Are-we-friendly question received
03:02:18.416985 Wrote request (96 bytes) input to log/server.input
03:02:18.417001 Identifying ourselves as friends
03:02:18.417051 Response sent (56 bytes) and written to log/server.response
03:02:18.417065 special request received, no persistency
03:02:18.417081 ====> Client disconnect 0
03:02:23.388744 ====> Client connect
03:02:23.388769 accept_connection 3 returned 4
03:02:23.388784 accept_connection 3 returned 0
03:02:23.464557 Read 85 bytes
03:02:23.464593 Process 85 bytes request
03:02:23.464609 Got request: GET /310 HTTP/1.1
03:02:23.464620 Requested test number 310 part 0
03:02:23.464650 - request found to be complete
03:02:23.464676 Wrote request (85 bytes) input to log/server.input
03:02:23.464698 Send response test310 section <data>
03:02:23.464762 Response sent (103 bytes) and written to log/server.response
03:02:23.464772 => persistent connection request ended, awaits new request
03:02:23.528657 Connection closed by client
03:02:23.528688 ====> Client disconnect 0
03:02:23.615027 signalled to die
03:02:23.615132 ========> IPv4 sws (port 8990 pid: 30332) exits with signal (15)
03:02:28.639081 Running HTTP IPv4 version on port 8990
03:02:28.639303 Wrote pid 30358 to .http_server.pid
03:02:29.636507 ====> Client connect
03:02:29.636559 accept_connection 3 returned 4
03:02:29.636598 accept_connection 3 returned 0
03:02:29.636667 Read 96 bytes
03:02:29.636706 Process 96 bytes request
03:02:29.636751 Got request: GET /verifiedserver HTTP/1.1
03:02:29.636787 Are-we-friendly question received
03:02:29.636826 Wrote request (96 bytes) input to log/server.input
03:02:29.636873 Identifying ourselves as friends
03:02:29.636986 Response sent (56 bytes) and written to log/server.response
03:02:29.637020 special request received, no persistency
03:02:29.637046 ====> Client disconnect 0
03:02:31.681853 ====> Client connect
03:02:31.681884 accept_connection 3 returned 4
03:02:31.681904 accept_connection 3 returned 0
03:02:31.682124 Read 96 bytes
03:02:31.682150 Process 96 bytes request
03:02:31.682167 Got request: GET /verifiedserver HTTP/1.1
03:02:31.682178 Are-we-friendly question received
03:02:31.682193 Wrote request (96 bytes) input to log/server.input
03:02:31.682208 Identifying ourselves as friends
03:02:31.682261 Response sent (56 bytes) and written to log/server.response
03:02:31.682275 special request received, no persistency
03:02:31.682286 ====> Client disconnect 0
03:02:34.377437 ====> Client connect
03:02:34.377464 accept_connection 3 returned 4
03:02:34.377478 accept_connection 3 returned 0
03:02:34.448256 Connection closed by client
03:02:34.448289 ====> Client disconnect 0
03:02:34.546173 signalled to die
03:02:34.546249 ========> IPv4 sws (port 8990 pid: 30358) exits with signal (15)
03:02:39.571027 Running HTTP IPv4 version on port 8990
03:02:39.571239 Wrote pid 30380 to .http_server.pid
03:02:40.568877 ====> Client connect
03:02:40.568925 accept_connection 3 returned 4
03:02:40.568957 accept_connection 3 returned 0
03:02:40.568990 Read 96 bytes
03:02:40.569013 Process 96 bytes request
03:02:40.569052 Got request: GET /verifiedserver HTTP/1.1
03:02:40.569079 Are-we-friendly question received
03:02:40.569130 Wrote request (96 bytes) input to log/server.input
03:02:40.569173 Identifying ourselves as friends
03:02:40.569276 Response sent (56 bytes) and written to log/server.response
03:02:40.569301 special request received, no persistency
03:02:40.569328 ====> Client disconnect 0
03:02:42.611576 ====> Client connect
03:02:42.611598 accept_connection 3 returned 4
03:02:42.611613 accept_connection 3 returned 0
03:02:42.611768 Read 96 bytes
03:02:42.611777 Process 96 bytes request
03:02:42.611798 Got request: GET /verifiedserver HTTP/1.1
03:02:42.611810 Are-we-friendly question received
03:02:42.611824 Wrote request (96 bytes) input to log/server.input
03:02:42.611839 Identifying ourselves as friends
03:02:42.611894 Response sent (56 bytes) and written to log/server.response
03:02:42.611908 special request received, no persistency
03:02:42.611919 ====> Client disconnect 0
03:02:45.316533 ====> Client connect
03:02:45.316557 accept_connection 3 returned 4
03:02:45.316571 accept_connection 3 returned 0
03:02:45.388866 Connection closed by client
03:02:45.388900 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55c0261566a8; line 1446 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55c0261566a8; line 1498 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55c0261566a8; line 1617 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55c0261566a8; line 1635 (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 0x55c0261566a8; line 1714 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55c0261566a8; line 1838 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55c0261566a8; line 1853 (connection #0)
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55c0261566a8; line 2050 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 30380
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.01.06 03:02:41 LOG5[30389]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.06 03:02:41 LOG5[30389]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.06 03:02:41 LOG5[30389]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.06 03:02:41 LOG5[30389]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.06 03:02:41 LOG5[30389]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.06 03:02:41 LOG5[30389]: Reading configuration from file /build-29288/tests/https_stunnel.conf
2019.01.06 03:02:41 LOG5[30389]: FIPS mode disabled
2019.01.06 03:02:41 LOG5[30389]: Configuration successful
2019.01.06 03:02:42 LOG5[30392]: Service [curltest] accepted connection from 127.0.0.1:34054
2019.01.06 03:02:42 LOG5[30392]: s_connect: connected 127.0.0.1:8990
2019.01.06 03:02:42 LOG5[30392]: Service [curltest] connected remote server from 127.0.0.1:56898
2019.01.06 03:02:42 LOG5[30392]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.06 03:02:44 LOG5[30399]: Service [curltest] accepted connection from 127.0.0.1:34060
2019.01.06 03:02:45 LOG5[30399]: s_connect: connected 127.0.0.1:8990
2019.01.06 03:02:45 LOG5[30399]: Service [curltest] connected remote server from 127.0.0.1:56904
2019.01.06 03:02:45 LOG5[30399]: Connection closed: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x55c06a09d6a8; line 1446 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55c06a09d6a8; line 1498 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55c06a09d6a8; line 1617 (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 0x55c06a09d6a8; line 1631 (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 0x55c06a09d6a8; line 1652 (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 0x55c06a09d6a8; line 1714 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55c06a09d6a8; line 1838 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55c06a09d6a8; line 1853 (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: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55c06a09d6a8; line 2050 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 30380
=== 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: 17
WE ROOLZ: 30332
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 30332
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: 17
WE ROOLZ: 30358
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 30358
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 30380
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 30380
=== 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:44.558349 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:02:44.611468 == Info: Added connection 0. The cache now contains 1 members
03:02:44.665130 == Info: Trying ::1...
03:02:44.665763 == Info: TCP_NODELAY set
03:02:44.671407 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:02:44.685619 == Info: connect to ::1 port 8991 failed: Connection refused
03:02:44.687806 == Info: Trying 127.0.0.1...
03:02:44.687870 == Info: TCP_NODELAY set
03:02:44.696504 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:02:44.697040 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:02:44.698040 == Info: Marked for [keep alive]: HTTP default
03:02:44.718546 == Info: ALPN, offering h2
03:02:44.718818 == Info: ALPN, offering http/1.1
03:02:44.802133 == Info: successfully set certificate verify locations:
03:02:44.802405 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:02:44.883692 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:44.889064 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:02:44.889123 => Send SSL data, 178 bytes (0xb2)
0000: .......s..-[7F]...=.}..i....cD9.W.4........*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....[..............localhost..................
0080: ..........3t.........h2.http/1.1..................
03:02:44.906734 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:02:44.911197 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:02:44.911255 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...W9.].Py[...g......s'SmC..j..6F. .......|P..Z..;.-.Z..Z..?
0040: q.w...../....................
03:02:44.956827 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:44.957285 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:02:44.957342 <= 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:45.130299 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:02:45.130561 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:02:45.130617 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.^........Wh.?.C.r..LA..h.....{j......=..@...d."[7F].......
0040: ...O.Q.+9.......$..).q... .Ff..3.m..}..-....?.. f.$..Am.pC..u...
0080: .+..o....\..ra3q..(0...dR..t.k..v...<...H.\...E.."....V.yQ..&...
00c0: .<py.F.X..W..r.^:.Vq...Z+...*.=j..>..G ...2..6..hj.%..q.W..._.ez
0100: .#...}......Q.C..P.7..9.(.J...#XF..#9.\.@.k#.z....jN;n.O.x.n....
0140: Q.......[7F]c..B
03:02:45.150885 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:45.151190 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:02:45.151246 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:02:45.270026 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:02:45.270268 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:02:45.270325 => Send SSL data, 70 bytes (0x46)
0000: ...BA....jR...)?.*p....n.1.=.,.....#6........o.C..[t.........~..
0040: .x..[7F].
03:02:45.282944 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:45.283494 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:02:45.283551 => Send SSL data, 1 bytes (0x1)
0000: .
03:02:45.315396 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:02:45.315575 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:02:45.315632 => Send SSL data, 16 bytes (0x10)
0000: ...........*...j
03:02:45.318153 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:45.319224 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:02:45.319281 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:02:45.321702 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:02:45.327041 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:02:45.327098 <= Recv SSL data, 16 bytes (0x10)
0000: .......d.s......
03:02:45.348704 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:02:45.349444 == Info: ALPN, server did not agree to a protocol
03:02:45.351595 == Info: Server certificate:
03:02:45.359183 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost.nn
03:02:45.364024 == Info: start date: Sep 19 07:14:12 2018 GMT
03:02:45.365373 == Info: expire date: Dec 6 07:14:12 2026 GMT
03:02:45.369925 == Info: subjectAltName does not match localhost
03:02:45.370619 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
03:02:45.371342 == Info: Marked for [closure]: Failed HTTPS connection
03:02:45.371929 == Info: multi_done
03:02:45.380612 == Info: Closing connection 0
03:02:45.383185 == Info: The cache now contains 0 members
03:02:45.410405 == Info: Expire cleared
=== End of file trace312
=== Start of file valgrind312
==30396== Invalid read of size 8
==30396== at 0x5E755A5: check_free (dlerror.c:188)
==30396== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30396== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30396== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30396== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30396== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30396== by 0x559BF79: exit (exit.c:139)
==30396== by 0x55860A1: (below main) (libc-start.c:342)
==30396== Address 0x63102b0 is 0 bytes after a block of size 32 alloc'd
==30396== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30396== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30396== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30396== by 0x4DD1E85: err_get_state (err.c:210)
==30396== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30396== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30396== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30396== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30396== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30396== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30396== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30396== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30396== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30396== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30396== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30396== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30396==
==30396== Invalid free() / delete / delete[] / realloc()
==30396== at 0x48369AB: free (vg_replace_malloc.c:530)
==30396== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30396== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30396== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30396== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30396== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30396== by 0x559BF79: exit (exit.c:139)
==30396== by 0x55860A1: (below main) (libc-start.c:342)
==30396== Address 0x6310298 is 8 bytes inside a block of size 32 alloc'd
==30396== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30396== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30396== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30396== by 0x4DD1E85: err_get_state (err.c:210)
==30396== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30396== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30396== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30396== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30396== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30396== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30396== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30396== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30396== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30396== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30396== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30396== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30396==
==30396== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30396== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30396== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30396== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30396== by 0x4DD1E85: err_get_state (err.c:210)
==30396== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30396== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30396== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30396== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30396== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30396== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30396== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30396== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30396== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30396== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30396== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30396== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30396==
=== End of file valgrind312
test 0313...[CRL test]
goto problem 20
valgrind ERROR ==30419== Invalid read of size 8
==30419== at 0x5E755A5: check_free (dlerror.c:188)
==30419== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30419== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30419== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30419== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30419== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30419== by 0x559BF79: exit (exit.c:139)
==30419== by 0x55860A1: (below main) (libc-start.c:342)
==30419== Address 0x6312250 is 0 bytes after a block of size 32 alloc'd
==30419== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30419== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30419== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30419== by 0x4DD1E85: err_get_state (err.c:210)
==30419== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30419== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30419== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30419== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30419== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30419== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30419== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30419== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30419== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30419== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30419== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30419== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30419==
==30419== Invalid free() / delete / delete[] / realloc()
==30419== at 0x48369AB: free (vg_replace_malloc.c:530)
==30419== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30419== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30419== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30419== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30419== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30419== by 0x559BF79: exit (exit.c:139)
==30419== by 0x55860A1: (below main) (libc-start.c:342)
==30419== Address 0x6312238 is 8 bytes inside a block of size 32 alloc'd
==30419== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30419== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30419== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30419== by 0x4DD1E85: err_get_state (err.c:210)
==30419== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30419== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30419== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30419== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30419== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30419== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30419== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30419== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30419== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30419== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30419== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30419== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30419==
==30419== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==30419== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30419== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30419== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30419== by 0x4DD1E85: err_get_state (err.c:210)
==30419== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30419== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30419== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30419== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30419== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30419== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30419== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30419== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30419== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30419== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30419== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30419== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30419==
== Contents of files in the log/ dir after test 313
=== Start of file http_server.log
03:01:38.112297 ====> Client connect
03:01:38.112335 accept_connection 3 returned 4
03:01:38.112349 accept_connection 3 returned 0
03:01:38.188794 Read 90 bytes
03:01:38.188833 Process 90 bytes request
03:01:38.188850 Got request: GET /want/303 HTTP/1.1
03:01:38.188860 Requested test number 303 part 0
03:01:38.188885 - request found to be complete
03:01:38.188911 Wrote request (90 bytes) input to log/server.input
03:01:38.188933 Send response test303 section <data>
03:01:38.188994 Response sent (94 bytes) and written to log/server.response
03:01:38.189005 Told to sleep for 20 seconds
03:01:58.209954 Continuing after sleeping 20 seconds
03:01:58.210049 => persistent connection request ended, awaits new request
03:01:58.210081 Connection closed by client
03:01:58.210100 ====> Client disconnect 0
03:02:00.924671 ====> Client connect
03:02:00.924695 accept_connection 3 returned 4
03:02:00.924709 accept_connection 3 returned 0
03:02:01.015517 Read 224 bytes
03:02:01.015555 Process 224 bytes request
03:02:01.015568 Got request: POST /we/want/304 HTTP/1.1
03:02:01.015577 Requested test number 304 part 0
03:02:01.015606 - request found to be complete
03:02:01.015616 Found Content-Length: 1386 in the request
03:02:02.047660 Read 1386 bytes
03:02:02.047695 Process 1610 bytes request [CONTINUED]
03:02:02.047704 - request found to be complete
03:02:02.047732 Wrote request (1610 bytes) input to log/server.input
03:02:02.047755 Send response test304 section <data>
03:02:02.047838 Response sent (108 bytes) and written to log/server.response
03:02:02.047854 => persistent connection request ended, awaits new request
03:02:02.111235 Connection closed by client
03:02:02.111270 ====> Client disconnect 0
03:02:06.090057 ====> Client connect
03:02:06.090084 accept_connection 3 returned 4
03:02:06.090098 accept_connection 3 returned 0
03:02:06.163281 Read 85 bytes
03:02:06.163319 Process 85 bytes request
03:02:06.163333 Got request: GET /306 HTTP/1.1
03:02:06.163342 Requested test number 306 part 0
03:02:06.163367 - request found to be complete
03:02:06.163395 Wrote request (85 bytes) input to log/server.input
03:02:06.163418 Send response test306 section <data>
03:02:06.163441 connection close instruction "swsclose" found in response
03:02:06.163498 Response sent (107 bytes) and written to log/server.response
03:02:06.163515 instructed to close connection after server-reply
03:02:06.163523 ====> Client disconnect 0
03:02:07.371272 ====> Client connect
03:02:07.371296 accept_connection 3 returned 4
03:02:07.371311 accept_connection 3 returned 0
03:02:07.397946 Read 90 bytes
03:02:07.397971 Process 90 bytes request
03:02:07.397987 Got request: GET /want/309 HTTP/1.1
03:02:07.397999 Requested test number 309 part 0
03:02:07.398028 - request found to be complete
03:02:07.398047 Wrote request (90 bytes) input to log/server.input
03:02:07.398066 Send response test309 section <data>
03:02:07.398091 connection close instruction "swsclose" found in response
03:02:07.398161 Response sent (277 bytes) and written to log/server.response
03:02:07.398171 instructed to close connection after server-reply
03:02:07.398178 ====> Client disconnect 0
03:02:09.128887 ====> Client connect
03:02:09.128911 accept_connection 3 returned 4
03:02:09.128925 accept_connection 3 returned 0
03:02:09.193690 Read 111 bytes
03:02:09.193731 Process 111 bytes request
03:02:09.193748 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
03:02:09.193758 Requested test number 309 part 2
03:02:09.193785 - request found to be complete
03:02:09.193797 Wrote request (111 bytes) input to log/server.input
03:02:09.193808 Send response test309 section <data2>
03:02:09.193831 connection close instruction "swsclose" found in response
03:02:09.193889 Response sent (179 bytes) and written to log/server.response
03:02:09.193898 instructed to close connection after server-reply
03:02:09.193906 ====> Client disconnect 0
03:02:09.349997 signalled to die
03:02:09.350065 ========> IPv4 sws (port 8990 pid: 28896) exits with signal (15)
03:02:15.374820 Running HTTP IPv4 version on port 8990
03:02:15.375046 Wrote pid 30332 to .http_server.pid
03:02:16.372620 ====> Client connect
03:02:16.372670 accept_connection 3 returned 4
03:02:16.372701 accept_connection 3 returned 0
03:02:16.372732 Read 96 bytes
03:02:16.372754 Process 96 bytes request
03:02:16.372793 Got request: GET /verifiedserver HTTP/1.1
03:02:16.372814 Are-we-friendly question received
03:02:16.372840 Wrote request (96 bytes) input to log/server.input
03:02:16.372878 Identifying ourselves as friends
03:02:16.372979 Response sent (56 bytes) and written to log/server.response
03:02:16.373003 special request received, no persistency
03:02:16.373021 ====> Client disconnect 0
03:02:18.416679 ====> Client connect
03:02:18.416707 accept_connection 3 returned 4
03:02:18.416720 accept_connection 3 returned 0
03:02:18.416887 Read 96 bytes
03:02:18.416926 Process 96 bytes request
03:02:18.416956 Got request: GET /verifiedserver HTTP/1.1
03:02:18.416971 Are-we-friendly question received
03:02:18.416985 Wrote request (96 bytes) input to log/server.input
03:02:18.417001 Identifying ourselves as friends
03:02:18.417051 Response sent (56 bytes) and written to log/server.response
03:02:18.417065 special request received, no persistency
03:02:18.417081 ====> Client disconnect 0
03:02:23.388744 ====> Client connect
03:02:23.388769 accept_connection 3 returned 4
03:02:23.388784 accept_connection 3 returned 0
03:02:23.464557 Read 85 bytes
03:02:23.464593 Process 85 bytes request
03:02:23.464609 Got request: GET /310 HTTP/1.1
03:02:23.464620 Requested test number 310 part 0
03:02:23.464650 - request found to be complete
03:02:23.464676 Wrote request (85 bytes) input to log/server.input
03:02:23.464698 Send response test310 section <data>
03:02:23.464762 Response sent (103 bytes) and written to log/server.response
03:02:23.464772 => persistent connection request ended, awaits new request
03:02:23.528657 Connection closed by client
03:02:23.528688 ====> Client disconnect 0
03:02:23.615027 signalled to die
03:02:23.615132 ========> IPv4 sws (port 8990 pid: 30332) exits with signal (15)
03:02:28.639081 Running HTTP IPv4 version on port 8990
03:02:28.639303 Wrote pid 30358 to .http_server.pid
03:02:29.636507 ====> Client connect
03:02:29.636559 accept_connection 3 returned 4
03:02:29.636598 accept_connection 3 returned 0
03:02:29.636667 Read 96 bytes
03:02:29.636706 Process 96 bytes request
03:02:29.636751 Got request: GET /verifiedserver HTTP/1.1
03:02:29.636787 Are-we-friendly question received
03:02:29.636826 Wrote request (96 bytes) input to log/server.input
03:02:29.636873 Identifying ourselves as friends
03:02:29.636986 Response sent (56 bytes) and written to log/server.response
03:02:29.637020 special request received, no persistency
03:02:29.637046 ====> Client disconnect 0
03:02:31.681853 ====> Client connect
03:02:31.681884 accept_connection 3 returned 4
03:02:31.681904 accept_connection 3 returned 0
03:02:31.682124 Read 96 bytes
03:02:31.682150 Process 96 bytes request
03:02:31.682167 Got request: GET /verifiedserver HTTP/1.1
03:02:31.682178 Are-we-friendly question received
03:02:31.682193 Wrote request (96 bytes) input to log/server.input
03:02:31.682208 Identifying ourselves as friends
03:02:31.682261 Response sent (56 bytes) and written to log/server.response
03:02:31.682275 special request received, no persistency
03:02:31.682286 ====> Client disconnect 0
03:02:34.377437 ====> Client connect
03:02:34.377464 accept_connection 3 returned 4
03:02:34.377478 accept_connection 3 returned 0
03:02:34.448256 Connection closed by client
03:02:34.448289 ====> Client disconnect 0
03:02:34.546173 signalled to die
03:02:34.546249 ========> IPv4 sws (port 8990 pid: 30358) exits with signal (15)
03:02:39.571027 Running HTTP IPv4 version on port 8990
03:02:39.571239 Wrote pid 30380 to .http_server.pid
03:02:40.568877 ====> Client connect
03:02:40.568925 accept_connection 3 returned 4
03:02:40.568957 accept_connection 3 returned 0
03:02:40.568990 Read 96 bytes
03:02:40.569013 Process 96 bytes request
03:02:40.569052 Got request: GET /verifiedserver HTTP/1.1
03:02:40.569079 Are-we-friendly question received
03:02:40.569130 Wrote request (96 bytes) input to log/server.input
03:02:40.569173 Identifying ourselves as friends
03:02:40.569276 Response sent (56 bytes) and written to log/server.response
03:02:40.569301 special request received, no persistency
03:02:40.569328 ====> Client disconnect 0
03:02:42.611576 ====> Client connect
03:02:42.611598 accept_connection 3 returned 4
03:02:42.611613 accept_connection 3 returned 0
03:02:42.611768 Read 96 bytes
03:02:42.611777 Process 96 bytes request
03:02:42.611798 Got request: GET /verifiedserver HTTP/1.1
03:02:42.611810 Are-we-friendly question received
03:02:42.611824 Wrote request (96 bytes) input to log/server.input
03:02:42.611839 Identifying ourselves as friends
03:02:42.611894 Response sent (56 bytes) and written to log/server.response
03:02:42.611908 special request received, no persistency
03:02:42.611919 ====> Client disconnect 0
03:02:45.316533 ====> Client connect
03:02:45.316557 accept_connection 3 returned 4
03:02:45.316571 accept_connection 3 returned 0
03:02:45.388866 Connection closed by client
03:02:45.388900 ====> Client disconnect 0
03:02:45.487520 signalled to die
03:02:45.487594 ========> IPv4 sws (port 8990 pid: 30380) exits with signal (15)
03:02:50.512489 Running HTTP IPv4 version on port 8990
03:02:50.512715 Wrote pid 30402 to .http_server.pid
03:02:51.509937 ====> Client connect
03:02:51.509988 accept_connection 3 returned 4
03:02:51.510018 accept_connection 3 returned 0
03:02:51.510050 Read 96 bytes
03:02:51.510073 Process 96 bytes request
03:02:51.510110 Got request: GET /verifiedserver HTTP/1.1
03:02:51.510137 Are-we-friendly question received
03:02:51.510178 Wrote request (96 bytes) input to log/server.input
03:02:51.510232 Identifying ourselves as friends
03:02:51.510335 Response sent (56 bytes) and written to log/server.response
03:02:51.510359 special request received, no persistency
03:02:51.510377 ====> Client disconnect 0
03:02:53.555791 ====> Client connect
03:02:53.555820 accept_connection 3 returned 4
03:02:53.555833 accept_connection 3 returned 0
03:02:53.555988 Read 96 bytes
03:02:53.555998 Process 96 bytes request
03:02:53.556019 Got request: GET /verifiedserver HTTP/1.1
03:02:53.556028 Are-we-friendly question received
03:02:53.556038 Wrote request (96 bytes) input to log/server.input
03:02:53.556062 Identifying ourselves as friends
03:02:53.556118 Response sent (56 bytes) and written to log/server.response
03:02:53.556135 special request received, no persistency
03:02:53.556150 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55c1424946a8; line 1446 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55c1424946a8; line 1498 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55c1424946a8; line 1617 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55c1424946a8; line 1635 (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 0x55c1424946a8; line 1714 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55c1424946a8; line 1838 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55c1424946a8; line 1853 (connection #0)
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55c1424946a8; line 2050 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 30402
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.01.06 03:02:52 LOG5[30410]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.06 03:02:52 LOG5[30410]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.06 03:02:52 LOG5[30410]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.06 03:02:52 LOG5[30410]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.06 03:02:52 LOG5[30410]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.06 03:02:52 LOG5[30410]: Reading configuration from file /build-29288/tests/https_stunnel.conf
2019.01.06 03:02:52 LOG5[30410]: FIPS mode disabled
2019.01.06 03:02:52 LOG5[30410]: Configuration successful
2019.01.06 03:02:53 LOG5[30413]: Service [curltest] accepted connection from 127.0.0.1:34066
2019.01.06 03:02:53 LOG5[30413]: s_connect: connected 127.0.0.1:8990
2019.01.06 03:02:53 LOG5[30413]: Service [curltest] connected remote server from 127.0.0.1:56910
2019.01.06 03:02:53 LOG5[30413]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.06 03:02:55 LOG5[30420]: Service [curltest] accepted connection from 127.0.0.1:34072
2019.01.06 03:02:55 LOG3[30420]: SSL_accept: 14094415: error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired
2019.01.06 03:02:55 LOG5[30420]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x5633c1fb56a8; line 1446 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5633c1fb56a8; line 1498 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5633c1fb56a8; line 1617 (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 0x5633c1fb56a8; line 1631 (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 0x5633c1fb56a8; line 1652 (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 0x5633c1fb56a8; line 1714 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x5633c1fb56a8; line 1838 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x5633c1fb56a8; line 1853 (connection #0)
{ [5 bytes data]
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x5633c1fb56a8; line 2050 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 30402
=== 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: 17
WE ROOLZ: 30332
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 30332
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: 17
WE ROOLZ: 30358
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 30358
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 30380
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 30380
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 30402
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 30402
=== 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:55.498617 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:02:55.550835 == Info: Added connection 0. The cache now contains 1 members
03:02:55.603421 == Info: Trying ::1...
03:02:55.604053 == Info: TCP_NODELAY set
03:02:55.609634 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:02:55.623624 == Info: connect to ::1 port 8991 failed: Connection refused
03:02:55.625737 == Info: Trying 127.0.0.1...
03:02:55.625800 == Info: TCP_NODELAY set
03:02:55.634140 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:02:55.634642 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:02:55.635673 == Info: Marked for [keep alive]: HTTP default
03:02:55.655806 == Info: ALPN, offering h2
03:02:55.656084 == Info: ALPN, offering http/1.1
03:02:55.738278 == Info: successfully set certificate verify locations:
03:02:55.738525 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:02:55.786342 == Info: successfully load CRL file:
03:02:55.786906 == Info: CRLfile: /tests/certs/Server-localhost-sv.crl
03:02:55.867312 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:55.872625 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:02:55.872694 => Send SSL data, 178 bytes (0xb2)
0000: ............1x/..o.u..gd..=$(^L.._......*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....[..............localhost..................
0080: ..........3t.........h2.http/1.1..................
03:02:55.890377 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:02:55.894828 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:02:55.894886 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y..gS.<.D...9.....!4K.y}w|p..X...N. ..aGA9%..d.DL&.4..Lp[7F]..N.
0040: &.4...(./....................
03:02:55.939260 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:55.939696 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:02:55.939752 <= 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:56.026139 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:56.028848 == Info: TLSv1.2 (OUT), TLS alert, certificate expired (557):
03:02:56.028906 => Send SSL data, 2 bytes (0x2)
0000: .-
03:02:56.034562 == Info: SSL certificate problem: CRL has expired
03:02:56.035044 == Info: Marked for [closure]: Failed HTTPS connection
03:02:56.035630 == Info: multi_done
03:02:56.044143 == Info: Closing connection 0
03:02:56.046721 == Info: The cache now contains 0 members
03:02:56.078903 == Info: Expire cleared
=== End of file trace313
=== Start of file valgrind313
==30419== Invalid read of size 8
==30419== at 0x5E755A5: check_free (dlerror.c:188)
==30419== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30419== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30419== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30419== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30419== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30419== by 0x559BF79: exit (exit.c:139)
==30419== by 0x55860A1: (below main) (libc-start.c:342)
==30419== Address 0x6312250 is 0 bytes after a block of size 32 alloc'd
==30419== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30419== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30419== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30419== by 0x4DD1E85: err_get_state (err.c:210)
==30419== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30419== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30419== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30419== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30419== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30419== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30419== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30419== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30419== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30419== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30419== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30419== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30419==
==30419== Invalid free() / delete / delete[] / realloc()
==30419== at 0x48369AB: free (vg_replace_malloc.c:530)
==30419== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30419== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30419== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30419== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30419== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30419== by 0x559BF79: exit (exit.c:139)
==30419== by 0x55860A1: (below main) (libc-start.c:342)
==30419== Address 0x6312238 is 8 bytes inside a block of size 32 alloc'd
==30419== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30419== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30419== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30419== by 0x4DD1E85: err_get_state (err.c:210)
==30419== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30419== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30419== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30419== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30419== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30419== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30419== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30419== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30419== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30419== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30419== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30419== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30419==
==30419== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==30419== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30419== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30419== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30419== by 0x4DD1E85: err_get_state (err.c:210)
==30419== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30419== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30419== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30419== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30419== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30419== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30419== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30419== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30419== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30419== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30419== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30419== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30419==
=== End of file valgrind313
test 0314...[HTTP GET brotli compressed content]
-pd---emv- OK (314 out of 1212, remaining: 25:33)
test 0315...[HTTP GET brotli compressed content with broken header]
-pd---emv- OK (315 out of 1212, remaining: 25:30)
test 0316...[HTTP GET brotli compressed content of size more than CURL_MAX_WRITE_SIZE]
-pd---emv- OK (316 out of 1212, remaining: 25:27)
test 0317...[HTTP with custom Authorization: and redirect to new host]
-pd---emv- OK (317 out of 1212, remaining: 25:24)
test 0318...[HTTP with custom Authorization: and redirect to new host]
-pd---emv- OK (318 out of 1212, remaining: 25:21)
test 0319...[HTTP GET gzip transfer-encoded data in raw mode]
-pd---emv- OK (319 out of 1212, remaining: 25:18)
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 ==30462== Invalid read of size 8
==30462== at 0x5E755A5: check_free (dlerror.c:188)
==30462== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30462== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30462== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30462== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30462== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30462== by 0x559BF79: exit (exit.c:139)
==30462== by 0x55860A1: (below main) (libc-start.c:342)
==30462== Address 0x66aedf0 is 0 bytes after a block of size 32 alloc'd
==30462== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30462== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30462== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30462== by 0x4DD1E85: err_get_state (err.c:210)
==30462== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30462== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30462== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30462== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30462== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30462== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30462== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30462== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30462== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30462== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30462== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30462== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30462==
==30462== Invalid free() / delete / delete[] / realloc()
==30462== at 0x48369AB: free (vg_replace_malloc.c:530)
==30462== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30462== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30462== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30462== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30462== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30462== by 0x559BF79: exit (exit.c:139)
==30462== by 0x55860A1: (below main) (libc-start.c:342)
==30462== Address 0x66aedd8 is 8 bytes inside a block of size 32 alloc'd
==30462== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30462== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30462== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30462== by 0x4DD1E85: err_get_state (err.c:210)
==30462== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30462== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30462== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30462== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30462== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30462== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30462== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30462== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30462== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30462== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30462== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30462== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30462==
==30462== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30462== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30462== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30462== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30462== by 0x4DD1E85: err_get_state (err.c:210)
==30462== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30462== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30462== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30462== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30462== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30462== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30462== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30462== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30462== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30462== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30462== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30462== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30462==
== 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:03:03.367440 signalled to die
03:03:03.367542 ========> IPv4 sws (port 8990 pid: 30402) exits with signal (15)
03:03:08.392185 Running HTTP IPv4 version on port 8990
03:03:08.392408 Wrote pid 30449 to .http_server.pid
03:03:09.389583 ====> Client connect
03:03:09.389634 accept_connection 3 returned 4
03:03:09.389665 accept_connection 3 returned 0
03:03:09.389698 Read 96 bytes
03:03:09.389722 Process 96 bytes request
03:03:09.389760 Got request: GET /verifiedserver HTTP/1.1
03:03:09.389788 Are-we-friendly question received
03:03:09.389826 Wrote request (96 bytes) input to log/server.input
03:03:09.389874 Identifying ourselves as friends
03:03:09.389998 Response sent (56 bytes) and written to log/server.response
03:03:09.390025 special request received, no persistency
03:03:09.390045 ====> Client disconnect 0
03:03:11.432808 ====> Client connect
03:03:11.432834 accept_connection 3 returned 4
03:03:11.432848 accept_connection 3 returned 0
03:03:11.433094 Read 96 bytes
03:03:11.433127 Process 96 bytes request
03:03:11.433153 Got request: GET /verifiedserver HTTP/1.1
03:03:11.433171 Are-we-friendly question received
03:03:11.433187 Wrote request (96 bytes) input to log/server.input
03:03:11.433202 Identifying ourselves as friends
03:03:11.433255 Response sent (56 bytes) and written to log/server.response
03:03:11.433273 special request received, no persistency
03:03:11.433285 ====> Client disconnect 0
03:03:15.099988 ====> Client connect
03:03:15.100021 accept_connection 3 returned 4
03:03:15.100035 accept_connection 3 returned 0
03:03:15.173073 Read 85 bytes
03:03:15.173109 Process 85 bytes request
03:03:15.173126 Got request: GET /325 HTTP/1.1
03:03:15.173137 Requested test number 325 part 0
03:03:15.173170 - request found to be complete
03:03:15.173197 Wrote request (85 bytes) input to log/server.input
03:03:15.173221 Send response test325 section <data>
03:03:15.173288 Response sent (134 bytes) and written to log/server.response
03:03:15.173299 => persistent connection request ended, awaits new request
03:03:15.257236 Connection closed by client
03:03:15.257271 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55faebf186a8; line 1446 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55faebf186a8; line 1498 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55faebf186a8; line 1617 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55faebf186a8; line 1635 (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 0x55faebf186a8; line 1714 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55faebf186a8; line 1838 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55faebf186a8; line 1853 (connection #0)
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55faebf186a8; line 2050 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 30449
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.01.06 03:03:10 LOG5[30456]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.06 03:03:10 LOG5[30456]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.06 03:03:10 LOG5[30456]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.06 03:03:10 LOG5[30456]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.06 03:03:10 LOG5[30456]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.06 03:03:10 LOG5[30456]: Reading configuration from file /build-29288/tests/https_stunnel.conf
2019.01.06 03:03:10 LOG5[30456]: FIPS mode disabled
2019.01.06 03:03:10 LOG5[30456]: Configuration successful
2019.01.06 03:03:11 LOG5[30460]: Service [curltest] accepted connection from 127.0.0.1:34094
2019.01.06 03:03:11 LOG5[30460]: s_connect: connected 127.0.0.1:8990
2019.01.06 03:03:11 LOG5[30460]: Service [curltest] connected remote server from 127.0.0.1:56938
2019.01.06 03:03:11 LOG5[30460]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.06 03:03:13 LOG5[30463]: Service [curltest] accepted connection from 127.0.0.1:34098
2019.01.06 03:03:14 LOG5[30463]: s_connect: connected 127.0.0.1:8990
2019.01.06 03:03:14 LOG5[30463]: Service [curltest] connected remote server from 127.0.0.1:56942
2019.01.06 03:03:15 LOG5[30463]: Connection closed: 134 byte(s) sent to SSL, 85 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x56063a5bc6a8; line 1446 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x56063a5bc6a8; line 1498 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56063a5bc6a8; line 1617 (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 0x56063a5bc6a8; line 1631 (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 0x56063a5bc6a8; line 1652 (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 0x56063a5bc6a8; line 1714 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x56063a5bc6a8; line 1838 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x56063a5bc6a8; line 1853 (connection #0)
{ [5 bytes data]
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x56063a5bc6a8; line 2050 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 30449
=== 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: 17
WE ROOLZ: 30449
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 30449
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:03:13.371480 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:03:13.423163 == Info: Added connection 0. The cache now contains 1 members
03:03:13.440293 == Info: Trying 127.0.0.1...
03:03:13.440885 == Info: TCP_NODELAY set
03:03:13.446060 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:03:13.457134 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:03:13.457680 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:03:13.458811 == Info: Marked for [keep alive]: HTTP default
03:03:13.478878 == Info: ALPN, offering h2
03:03:13.479149 == Info: ALPN, offering http/1.1
03:03:14.616750 == Info: successfully set certificate verify locations:
03:03:14.617008 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:14.695834 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:14.701098 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:14.701157 => Send SSL data, 160 bytes (0xa0)
0000: ........,2.g(...C....U..[7F].c.,AK^.z.\.k..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:03:14.718526 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:14.722983 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:14.723041 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...E....U.3z.I.....I.f.m....?.C.^9 .n....%...R".3>..v.F.F.?
0040: . b...../................
03:03:14.766892 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:14.767322 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:14.767377 <= 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.866022 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:14.866292 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:14.866348 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.\...2.....M..$..__....<.=.....`..d.P..-......m2.%.....L
0040: [7F]e.....k.....I0].L]....t.....8.'..HO.)......~(t.f{j....H@3......
0080: ...@=..(%z..WX...`.]....kMt1.yv.2....E..F.......a7...I...Q-E@.6.
00c0: .r3......W....qk..g..6s...\@!.j......&S.....E.).y5O..+z....b.'5.
0100: ....jE..OJOk..]...^.a..{".Y.J.-......?y..q.......0...Q.........+
0140: .X.o..i...Ubg
03:03:14.934971 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:14.935308 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:14.935364 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:15.053822 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:15.054071 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:15.054128 => Send SSL data, 70 bytes (0x46)
0000: ...BA....z..[./.]XC6..+..PH.......*.]^W.$........e..F..K..d.7.."
0040: .&h?..
03:03:15.066729 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:15.067281 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:15.067338 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:15.098857 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:15.099050 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:15.099104 => Send SSL data, 16 bytes (0x10)
0000: .......*M.#.s...
03:03:15.101608 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:15.102640 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:15.102700 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:15.105104 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:15.110416 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:15.110474 <= Recv SSL data, 16 bytes (0x10)
0000: ......j/.....G]a
03:03:15.132019 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:15.132728 == Info: ALPN, server did not agree to a protocol
03:03:15.134945 == Info: Server certificate:
03:03:15.142253 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:15.148532 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:15.149475 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:15.150319 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:15.151215 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:15.152736 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626e7a8; line 1635 (connection #0)
03:03:15.171681 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:03:15.174235 => 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:03:15.177128 == Info: STATE: DO => DO_DONE handle 0x626e7a8; line 1714 (connection #0)
03:03:15.178128 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:03:15.178895 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:03:15.183428 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:15.197495 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:03:15.200073 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 301 OK.
03:03:15.203688 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:03:15.205525 == Info: Server test-server/fake is not blacklisted
03:03:15.205807 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:03:15.206843 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:03:15.207752 <= Recv header, 31 bytes (0x1f)
0000: Location: http://somewhere/325.
03:03:15.210159 <= Recv header, 1 bytes (0x1)
0000: .
03:03:15.210824 == Info: Ignoring the response-body
03:03:15.211175 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:03:15.216540 == Info: multi_done
03:03:15.225097 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:15.228545 == Info: Issue another request to this URL: 'http://somewhere/325'
03:03:15.229334 == Info: STATE: PERFORM => CONNECT handle 0x626e7a8; line 2026 (connection #-5000)
03:03:15.231941 == Info: Protocol "http" not supported or disabled in libcurl
03:03:15.233473 == Info: Closing connection -1
03:03:15.241843 == Info: Expire cleared
=== End of file trace325
=== Start of file valgrind325
==30462== Invalid read of size 8
==30462== at 0x5E755A5: check_free (dlerror.c:188)
==30462== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30462== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30462== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30462== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30462== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30462== by 0x559BF79: exit (exit.c:139)
==30462== by 0x55860A1: (below main) (libc-start.c:342)
==30462== Address 0x66aedf0 is 0 bytes after a block of size 32 alloc'd
==30462== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30462== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30462== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30462== by 0x4DD1E85: err_get_state (err.c:210)
==30462== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30462== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30462== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30462== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30462== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30462== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30462== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30462== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30462== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30462== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30462== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30462== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30462==
==30462== Invalid free() / delete / delete[] / realloc()
==30462== at 0x48369AB: free (vg_replace_malloc.c:530)
==30462== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30462== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30462== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30462== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30462== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30462== by 0x559BF79: exit (exit.c:139)
==30462== by 0x55860A1: (below main) (libc-start.c:342)
==30462== Address 0x66aedd8 is 8 bytes inside a block of size 32 alloc'd
==30462== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30462== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30462== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30462== by 0x4DD1E85: err_get_state (err.c:210)
==30462== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30462== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30462== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30462== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30462== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30462== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30462== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30462== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30462== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30462== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30462== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30462== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30462==
==30462== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30462== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30462== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30462== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30462== by 0x4DD1E85: err_get_state (err.c:210)
==30462== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30462== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30462== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30462== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30462== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30462== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30462== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30462== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30462== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30462== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30462== by 0x1B0B75: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30462== by 0x1630E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30462==
=== End of file valgrind325
test 0326...[HTTP GET chunked data in raw mode]
-pd---emv- OK (326 out of 1212, remaining: 25:09)
test 0327...[HTTP with cookiejar without cookies left]
-pd--oemv- OK (327 out of 1212, remaining: 25:06)
test 0328...[HTTP with "Content-Encoding: none]
-pd---emv- OK (328 out of 1212, remaining: 25:03)
test 0329...[HTTP cookie with Max-Age=0]
-pd---emv- OK (329 out of 1212, remaining: 25:00)
test 0340...[FTP using %00 in path with singlecwd]
-p----emv- OK (330 out of 1212, remaining: 24:57)
test 0350...[FTP root dir list multicwd]
-pd---emv- OK (331 out of 1212, remaining: 24:54)
test 0351...[FTP root dir list nocwd]
-pd---emv- OK (332 out of 1212, remaining: 24:51)
test 0352...[FTP root dir list singlecwd]
-pd---emv- OK (333 out of 1212, remaining: 24:48)
test 0353...[FTP home dir list singlecwd]
-pd---emv- OK (334 out of 1212, remaining: 24:45)
test 0354...[FTP without password]
-pd---emv- OK (335 out of 1212, remaining: 24:42)
test 0393...[HTTP max-filesize and out-of-range Content-Length]
-p----emv- OK (336 out of 1212, remaining: 24:39)
test 0394...[HTTP with rubbish in Content-Length]
-p----emv- OK (337 out of 1212, remaining: 24:36)
test 0395...[HTTP and out-of-range Content-Length]
-p----emv- OK (338 out of 1212, remaining: 24:33)
test 0400...[FTPS dir list PASV unencrypted data]
goto problem 22
valgrind ERROR ==30526== Invalid read of size 8
==30526== at 0x5E755A5: check_free (dlerror.c:188)
==30526== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30526== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30526== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30526== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30526== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30526== by 0x559BF79: exit (exit.c:139)
==30526== by 0x55860A1: (below main) (libc-start.c:342)
==30526== Address 0x66ae170 is 0 bytes after a block of size 32 alloc'd
==30526== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30526== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30526== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30526== by 0x4DD1E85: err_get_state (err.c:210)
==30526== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30526== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30526== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30526== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30526== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30526== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30526== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30526== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30526== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30526== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30526== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30526== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30526==
==30526== Invalid free() / delete / delete[] / realloc()
==30526== at 0x48369AB: free (vg_replace_malloc.c:530)
==30526== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30526== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30526== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30526== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30526== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30526== by 0x559BF79: exit (exit.c:139)
==30526== by 0x55860A1: (below main) (libc-start.c:342)
==30526== Address 0x66ae158 is 8 bytes inside a block of size 32 alloc'd
==30526== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30526== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30526== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30526== by 0x4DD1E85: err_get_state (err.c:210)
==30526== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30526== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30526== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30526== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30526== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30526== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30526== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30526== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30526== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30526== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30526== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30526== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30526==
==30526== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30526== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30526== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30526== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30526== by 0x4DD1E85: err_get_state (err.c:210)
==30526== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30526== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30526== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30526== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30526== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30526== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30526== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30526== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30526== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30526== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30526== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30526== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30526==
== 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:03:31.806025 ====> Client connect
03:03:31.806157 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:31.806683 < "USER anonymous"
03:03:31.806729 > "331 We are happy you popped in![CR][LF]"
03:03:31.807160 < "PASS ftp@example.com"
03:03:31.807201 > "230 Welcome you silly person[CR][LF]"
03:03:31.807630 < "PBSZ 0"
03:03:31.807672 > "500 PBSZ not implemented[CR][LF]"
03:03:31.808118 < "PROT C"
03:03:31.808168 > "500 PROT not implemented[CR][LF]"
03:03:31.808591 < "PWD"
03:03:31.808639 > "257 "/" is current directory[CR][LF]"
03:03:31.809050 < "EPSV"
03:03:31.809092 ====> Passive DATA channel requested by client
03:03:31.809114 DATA sockfilt for passive data channel starting...
03:03:31.811335 DATA sockfilt for passive data channel started (pid 30523)
03:03:31.811585 DATA sockfilt for passive data channel listens on port 36627
03:03:31.811658 > "229 Entering Passive Mode (|||36627|)[LF]"
03:03:31.811686 Client has been notified that DATA conn will be accepted on port 36627
03:03:31.812009 Client connects to port 36627
03:03:31.812063 ====> Client established passive DATA connection on port 36627
03:03:31.812179 < "TYPE I"
03:03:31.812224 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:31.812574 < "SIZE verifiedserver"
03:03:31.812629 > "213 17[CR][LF]"
03:03:31.813045 < "RETR verifiedserver"
03:03:31.813109 > "150 Binary junk (17 bytes).[CR][LF]"
03:03:31.813198 =====> Closing passive DATA connection...
03:03:31.813220 Server disconnects passive DATA connection
03:03:31.813412 DATA sockfilt for passive data channel quits (pid 30524)
03:03:31.813438 =====> Closed passive DATA connection
03:03:31.813463 > "226 File transfer complete[CR][LF]"
03:03:31.857363 < "QUIT"
03:03:31.857438 > "221 bye bye baby[CR][LF]"
03:03:31.857804 MAIN sockfilt said DISC
03:03:31.857888 ====> Client disconnected
03:03:31.857970 Awaiting input
03:03:35.519065 ====> Client connect
03:03:35.519171 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:35.600063 < "USER anonymous"
03:03:35.600110 > "331 We are happy you popped in![CR][LF]"
03:03:35.611069 < "PASS ftp@example.com"
03:03:35.611100 > "230 Welcome you silly person[CR][LF]"
03:03:35.613385 < "PBSZ 0"
03:03:35.613416 > "500 PBSZ not implemented[CR][LF]"
03:03:35.614777 < "PROT C"
03:03:35.614807 > "500 PROT not implemented[CR][LF]"
03:03:35.616373 < "PWD"
03:03:35.616409 > "257 "/" is current directory[CR][LF]"
03:03:35.622947 < "EPSV"
03:03:35.622973 ====> Passive DATA channel requested by client
03:03:35.622986 DATA sockfilt for passive data channel starting...
03:03:35.624500 DATA sockfilt for passive data channel started (pid 30528)
03:03:35.624592 DATA sockfilt for passive data channel listens on port 38509
03:03:35.624629 > "229 Entering Passive Mode (|||38509|)[LF]"
03:03:35.624648 Client has been notified that DATA conn will be accepted on port 38509
03:03:35.631635 Client connects to port 38509
03:03:35.631674 ====> Client established passive DATA connection on port 38509
03:03:35.636767 < "TYPE A"
03:03:35.636801 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:35.639028 < "LIST"
03:03:35.639057 > "150 here comes a directory[CR][LF]"
03:03:35.639088 pass LIST data on data connection
03:03:35.639175 =====> Closing passive DATA connection...
03:03:35.639190 Server disconnects passive DATA connection
03:03:35.639672 DATA sockfilt for passive data channel quits (pid 30529)
03:03:35.639697 =====> Closed passive DATA connection
03:03:35.639724 > "226 ASCII transfer complete[CR][LF]"
03:03:35.710525 < "QUIT"
03:03:35.710564 > "221 bye bye baby[CR][LF]"
03:03:35.717170 MAIN sockfilt said DISC
03:03:35.717205 ====> Client disconnected
03:03:35.717248 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:31.017233 ====> Client connect
03:03:31.017494 Received DATA (on stdin)
03:03:31.017529 > 160 bytes data, server => client
03:03:31.017554 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:31.017574 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:31.017589 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:31.017871 < 16 bytes data, client => server
03:03:31.017902 'USER anonymous\r\n'
03:03:31.018074 Received DATA (on stdin)
03:03:31.018109 > 33 bytes data, server => client
03:03:31.018131 '331 We are happy you popped in!\r\n'
03:03:31.018386 < 22 bytes data, client => server
03:03:31.018418 'PASS ftp@example.com\r\n'
03:03:31.018546 Received DATA (on stdin)
03:03:31.018581 > 30 bytes data, server => client
03:03:31.018603 '230 Welcome you silly person\r\n'
03:03:31.018855 < 8 bytes data, client => server
03:03:31.018885 'PBSZ 0\r\n'
03:03:31.019018 Received DATA (on stdin)
03:03:31.019053 > 26 bytes data, server => client
03:03:31.019074 '500 PBSZ not implemented\r\n'
03:03:31.019327 < 8 bytes data, client => server
03:03:31.019358 'PROT C\r\n'
03:03:31.019512 Received DATA (on stdin)
03:03:31.019560 > 26 bytes data, server => client
03:03:31.019581 '500 PROT not implemented\r\n'
03:03:31.019804 < 5 bytes data, client => server
03:03:31.019826 'PWD\r\n'
03:03:31.019962 Received DATA (on stdin)
03:03:31.019982 > 30 bytes data, server => client
03:03:31.020015 '257 "/" is current directory\r\n'
03:03:31.020249 < 6 bytes data, client => server
03:03:31.020263 'EPSV\r\n'
03:03:31.022986 Received DATA (on stdin)
03:03:31.023011 > 38 bytes data, server => client
03:03:31.023042 '229 Entering Passive Mode (|||36627|)\n'
03:03:31.023389 < 8 bytes data, client => server
03:03:31.023436 'TYPE I\r\n'
03:03:31.023556 Received DATA (on stdin)
03:03:31.023590 > 33 bytes data, server => client
03:03:31.023612 '200 I modify TYPE as you wanted\r\n'
03:03:31.023821 < 21 bytes data, client => server
03:03:31.023835 'SIZE verifiedserver\r\n'
03:03:31.023952 Received DATA (on stdin)
03:03:31.023969 > 8 bytes data, server => client
03:03:31.023993 '213 17\r\n'
03:03:31.024252 < 21 bytes data, client => server
03:03:31.024293 'RETR verifiedserver\r\n'
03:03:31.024453 Received DATA (on stdin)
03:03:31.024501 > 29 bytes data, server => client
03:03:31.024522 '150 Binary junk (17 bytes).\r\n'
03:03:31.024807 Received DATA (on stdin)
03:03:31.024843 > 28 bytes data, server => client
03:03:31.024865 '226 File transfer complete\r\n'
03:03:31.068534 < 6 bytes data, client => server
03:03:31.068585 'QUIT\r\n'
03:03:31.068759 Received DATA (on stdin)
03:03:31.068785 > 18 bytes data, server => client
03:03:31.068809 '221 bye bye baby\r\n'
03:03:31.069053 ====> Client disconnect
03:03:34.730304 ====> Client connect
03:03:34.730511 Received DATA (on stdin)
03:03:34.730534 > 160 bytes data, server => client
03:03:34.730551 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:34.730566 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:34.730579 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:34.811237 < 16 bytes data, client => server
03:03:34.811275 'USER anonymous\r\n'
03:03:34.811453 Received DATA (on stdin)
03:03:34.811476 > 33 bytes data, server => client
03:03:34.811492 '331 We are happy you popped in!\r\n'
03:03:34.822328 < 22 bytes data, client => server
03:03:34.822362 'PASS ftp@example.com\r\n'
03:03:34.822424 Received DATA (on stdin)
03:03:34.822443 > 30 bytes data, server => client
03:03:34.822460 '230 Welcome you silly person\r\n'
03:03:34.824649 < 8 bytes data, client => server
03:03:34.824679 'PBSZ 0\r\n'
03:03:34.824740 Received DATA (on stdin)
03:03:34.824759 > 26 bytes data, server => client
03:03:34.824775 '500 PBSZ not implemented\r\n'
03:03:34.826042 < 8 bytes data, client => server
03:03:34.826071 'PROT C\r\n'
03:03:34.826131 Received DATA (on stdin)
03:03:34.826149 > 26 bytes data, server => client
03:03:34.826166 '500 PROT not implemented\r\n'
03:03:34.827639 < 5 bytes data, client => server
03:03:34.827667 'PWD\r\n'
03:03:34.827732 Received DATA (on stdin)
03:03:34.827760 > 30 bytes data, server => client
03:03:34.827774 '257 "/" is current directory\r\n'
03:03:34.834210 < 6 bytes data, client => server
03:03:34.834240 'EPSV\r\n'
03:03:34.835950 Received DATA (on stdin)
03:03:34.835972 > 38 bytes data, server => client
03:03:34.835993 '229 Entering Passive Mode (|||38509|)\n'
03:03:34.848016 < 8 bytes data, client => server
03:03:34.848047 'TYPE A\r\n'
03:03:34.848124 Received DATA (on stdin)
03:03:34.848143 > 33 bytes data, server => client
03:03:34.848162 '200 I modify TYPE as you wanted\r\n'
03:03:34.850260 < 6 bytes data, client => server
03:03:34.850288 'LIST\r\n'
03:03:34.850381 Received DATA (on stdin)
03:03:34.850400 > 28 bytes data, server => client
03:03:34.850419 '150 here comes a directory\r\n'
03:03:34.851048 Received DATA (on stdin)
03:03:34.851068 > 29 bytes data, server => client
03:03:34.851085 '226 ASCII transfer complete\r\n'
03:03:34.921755 < 6 bytes data, client => server
03:03:34.921790 'QUIT\r\n'
03:03:34.921886 Received DATA (on stdin)
03:03:34.921905 > 18 bytes data, server => client
03:03:34.921922 '221 bye bye baby\r\n'
03:03:34.928460 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:31.022404 Running IPv4 version
03:03:31.022513 Listening on port 36627
03:03:31.022557 Wrote pid 30524 to ./.ftp_sockdata.pid
03:03:31.022582 Received PING (on stdin)
03:03:31.022749 Received PORT (on stdin)
03:03:31.023279 ====> Client connect
03:03:31.024505 Received DATA (on stdin)
03:03:31.024540 > 17 bytes data, server => client
03:03:31.024561 'WE ROOLZ: 29737\r\n'
03:03:31.024612 Received DISC (on stdin)
03:03:31.024633 ====> Client forcibly disconnected
03:03:31.024724 Received QUIT (on stdin)
03:03:31.024747 quits
03:03:31.024767 ============> sockfilt quits
03:03:35.835665 Running IPv4 version
03:03:35.835723 Listening on port 38509
03:03:35.835762 Wrote pid 30529 to ./.ftp_sockdata.pid
03:03:35.835777 Received PING (on stdin)
03:03:35.835866 Received PORT (on stdin)
03:03:35.842905 ====> Client connect
03:03:35.850475 Received DATA (on stdin)
03:03:35.850499 > 10 bytes data, server => client
03:03:35.850512 'total 20\r\n'
03:03:35.850539 Received DATA (on stdin)
03:03:35.850550 > 57 bytes data, server => client
03:03:35.850562 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:35.850578 Received DATA (on stdin)
03:03:35.850587 > 58 bytes data, server => client
03:03:35.850599 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:35.850613 Received DATA (on stdin)
03:03:35.850622 > 61 bytes data, server => client
03:03:35.850634 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:35.850641 '\n'
03:03:35.850655 Received DATA (on stdin)
03:03:35.850664 > 62 bytes data, server => client
03:03:35.850676 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:35.850683 '\n'
03:03:35.850697 Received DATA (on stdin)
03:03:35.850706 > 70 bytes data, server => client
03:03:35.850718 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:35.850725 'usr/bin\r\n'
03:03:35.850739 Received DATA (on stdin)
03:03:35.850748 > 59 bytes data, server => client
03:03:35.850760 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:35.850774 Received DATA (on stdin)
03:03:35.850783 > 69 bytes data, server => client
03:03:35.850795 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:35.850803 'd.html\r\n'
03:03:35.850816 Received DATA (on stdin)
03:03:35.850826 > 59 bytes data, server => client
03:03:35.850837 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:35.850851 Received DATA (on stdin)
03:03:35.850860 > 59 bytes data, server => client
03:03:35.850872 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:35.850886 Received DATA (on stdin)
03:03:35.850895 > 59 bytes data, server => client
03:03:35.850907 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:35.850921 Received DISC (on stdin)
03:03:35.850932 ====> Client forcibly disconnected
03:03:35.850985 Received QUIT (on stdin)
03:03:35.851007 quits
03:03:35.851028 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.01.06 03:03:30 LOG5[30519]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.06 03:03:30 LOG5[30519]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.06 03:03:30 LOG5[30519]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.06 03:03:30 LOG5[30519]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.06 03:03:30 LOG5[30519]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.06 03:03:30 LOG5[30519]: Reading configuration from file /build-29288/tests/ftps_stunnel.conf
2019.01.06 03:03:30 LOG5[30519]: FIPS mode disabled
2019.01.06 03:03:30 LOG5[30519]: Configuration successful
2019.01.06 03:03:31 LOG5[30522]: Service [curltest] accepted connection from 127.0.0.1:39138
2019.01.06 03:03:31 LOG5[30522]: s_connect: connected 127.0.0.1:8992
2019.01.06 03:03:31 LOG5[30522]: Service [curltest] connected remote server from 127.0.0.1:49870
2019.01.06 03:03:31 LOG5[30522]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.01.06 03:03:33 LOG5[30527]: Service [curltest] accepted connection from 127.0.0.1:39144
2019.01.06 03:03:35 LOG5[30527]: s_connect: connected 127.0.0.1:8992
2019.01.06 03:03:35 LOG5[30527]: Service [curltest] connected remote server from 127.0.0.1:49876
2019.01.06 03:03:35 LOG5[30527]: Connection closed: 451 byte(s) sent to SSL, 85 byte(s) sent to socket
=== End of file ftps_stunnel.log
=== Start of file ftps_verify.log
* STATE: INIT => CONNECT handle 0x56126a2b36a8; line 1446 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x56126a2b36a8; line 1498 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56126a2b36a8; line 1617 (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 0x56126a2f9598 (line 3118) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56126a2b36a8; line 1631 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x56126a2f9598 (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 0x56126a2f9598 (line 2546) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x56126a2f9598 (line 2522) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x56126a2f9598 (line 2735) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x56126a2f9598 (line 815) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x56126a2f9598 (line 2870) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x56126a2b36a8; line 1652 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x56126a2f9598 (line 1346) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x56126a2b36a8; line 1701 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||36627|)
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 36627
* FTP 0x56126a2f9598 (line 2003) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x56126a2b36a8; line 1785 (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 0x56126a2f9598 (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 0x56126a2f9598 (line 1769) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x56126a2f9598 (line 2255) state change from RETR_SIZE to RETR
{ [5 bytes data]
< 150 Binary junk (17 bytes).
* Maxdownload = -1
* Getting file with size: 17
* FTP 0x56126a2f9598 (line 485) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x56126a2b36a8; line 1811 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x56126a2b36a8; line 1838 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x56126a2b36a8; line 1853 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x56126a2b36a8; line 2050 (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
=== 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 --:--:-- 342
=== End of file stderr400
=== Start of file trace400
03:03:33.999048 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:03:34.052628 == Info: Added connection 0. The cache now contains 1 members
03:03:34.069700 == Info: Trying 127.0.0.1...
03:03:34.070297 == Info: TCP_NODELAY set
03:03:34.075360 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:03:34.086828 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:34.087403 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:03:34.088525 == Info: Marked for [keep alive]: FTP default
03:03:35.245229 == Info: successfully set certificate verify locations:
03:03:35.245486 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:35.323950 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:35.329413 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:35.329474 => Send SSL data, 138 bytes (0x8a)
0000: ......A..]).$-.D6..%....M...;...kz.S....*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:35.347007 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:35.351433 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:35.351490 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..-.....+h[<Y...K.#.8.E.6......... .o. A.....'.j*S.A..mT$...
0040: u...6.T./................
03:03:35.395910 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:35.396363 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:35.396419 <= 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:35.495608 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:35.495873 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:35.495930 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.Jh.2@u.`4............U3.\JTj=......`......S.$.......W+.
0040: ={(.u..H......./...DGV..$.Ck..S.../..X.=."h.....SJ..E<g.[7F]...s.Lh
0080: \.uG%..R..V...&*`..1*...p..D.......G.......1.5.l$.t....&.E+.M .m
00c0: )..0./......E\......x.o..PC&X...RX......^,..[..'YM&....I.....t..
0100: ...C.q..@..I.I. ..Vq.Eu.+.i.p.....*...:....K..3@....i....J..-[..
0140: ...xnbS..#".?
03:03:35.564985 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:35.565309 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:35.565368 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:35.684011 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:35.684241 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:35.684297 => Send SSL data, 70 bytes (0x46)
0000: ...BA.d.c.....;......uDJ.H`...u.P...ybm.[7F]0V.... ...+.H.Ug.=.v..y
0040: ..[7F]-..
03:03:35.696911 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:35.697459 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:35.697516 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:35.729243 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:35.729419 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:35.729473 => Send SSL data, 16 bytes (0x10)
0000: ......t/nbf.\ps.
03:03:35.731975 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:35.733031 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:35.733089 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:35.735501 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:35.740822 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:35.740881 <= Recv SSL data, 16 bytes (0x10)
0000: ....}"Nt.....G..
03:03:35.762548 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:35.764708 == Info: Server certificate:
03:03:35.772015 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:35.778671 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:35.779636 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:35.780556 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:35.781461 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:35.782905 == Info: FTP 0x62ed3b8 (line 3118) state change from STOP to WAIT220
03:03:35.789035 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:35.798436 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:35.801913 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:35.802106 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:35.802289 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:35.802469 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:35.809790 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:35.812518 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:35.813292 == Info: FTP 0x62ed3b8 (line 803) state change from WAIT220 to USER
03:03:35.813999 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626e7a8; line 1631 (connection #0)
03:03:35.820239 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:35.820899 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:35.822142 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:35.822261 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:35.822640 == Info: FTP 0x62ed3b8 (line 2546) state change from USER to PASS
03:03:35.823648 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:35.823791 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:35.824466 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:35.824585 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:35.824906 == Info: FTP 0x62ed3b8 (line 2522) state change from PASS to PBSZ
03:03:35.825197 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:35.825335 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:35.825861 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:35.825977 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:35.826300 == Info: FTP 0x62ed3b8 (line 2735) state change from PBSZ to PROT
03:03:35.826541 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:35.826678 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:35.827457 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:35.827574 => Send header, 5 bytes (0x5)
0000: PWD
03:03:35.827888 == Info: FTP 0x62ed3b8 (line 815) state change from PROT to PWD
03:03:35.828237 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:35.828376 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:35.829519 == Info: Entry path is '/'
03:03:35.829742 == Info: FTP 0x62ed3b8 (line 2870) state change from PWD to STOP
03:03:35.829905 == Info: protocol connect phase DONE
03:03:35.830243 == Info: STATE: PROTOCONNECT => DO handle 0x626e7a8; line 1652 (connection #0)
03:03:35.832135 == Info: DO phase starts
03:03:35.834026 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:35.834146 => Send header, 6 bytes (0x6)
0000: EPSV
03:03:35.834488 == Info: FTP 0x62ed3b8 (line 1346) state change from STOP to PASV
03:03:35.834660 == Info: Connect data stream passively
03:03:35.835425 == Info: ftp_perform ends with SECONDARY: 0
03:03:35.836154 == Info: STATE: DO => DOING handle 0x626e7a8; line 1701 (connection #0)
03:03:35.836973 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:03:35.837131 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||38509|).
03:03:35.842714 == Info: Trying 127.0.0.1...
03:03:35.842777 == Info: TCP_NODELAY set
03:03:35.843606 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 38509
03:03:35.844662 == Info: FTP 0x62ed3b8 (line 2003) state change from PASV to STOP
03:03:35.845263 == Info: DO phase is complete2
03:03:35.845677 == Info: STATE: DOING => DO_MORE handle 0x626e7a8; line 1785 (connection #0)
03:03:35.846355 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:35.846567 == Info: DO-MORE connected phase starts
03:03:35.847828 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:35.847949 => Send header, 8 bytes (0x8)
0000: TYPE A
03:03:35.848292 == Info: FTP 0x62ed3b8 (line 3444) state change from STOP to LIST_TYPE
03:03:35.848740 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:35.848884 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:35.850078 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:35.850197 => Send header, 6 bytes (0x6)
0000: LIST
03:03:35.850725 == Info: FTP 0x62ed3b8 (line 1502) state change from LIST_TYPE to LIST
03:03:35.852312 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:35.852455 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:03:35.853036 == Info: Maxdownload = -1
03:03:35.854345 == Info: FTP 0x62ed3b8 (line 485) state change from LIST to STOP
03:03:35.855100 == Info: STATE: DO_MORE => DO_DONE handle 0x626e7a8; line 1811 (connection #0)
03:03:35.856093 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:03:35.856858 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:03:35.860081 <= 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:35.869184 == Info: nread <= 0, server closed connection, bailing
03:03:35.870982 == Info: STATE: PERFORM => DONE handle 0x626e7a8; line 2050 (connection #0)
03:03:35.871500 == Info: multi_done
03:03:35.873894 == Info: Remembering we are in dir ""
03:03:35.892649 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:35.892855 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:03:35.903021 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:35.906260 == Info: Expire cleared
=== End of file trace400
=== Start of file valgrind400
==30526== Invalid read of size 8
==30526== at 0x5E755A5: check_free (dlerror.c:188)
==30526== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30526== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30526== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30526== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30526== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30526== by 0x559BF79: exit (exit.c:139)
==30526== by 0x55860A1: (below main) (libc-start.c:342)
==30526== Address 0x66ae170 is 0 bytes after a block of size 32 alloc'd
==30526== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30526== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30526== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30526== by 0x4DD1E85: err_get_state (err.c:210)
==30526== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30526== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30526== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30526== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30526== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30526== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30526== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30526== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30526== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30526== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30526== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30526== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30526==
==30526== Invalid free() / delete / delete[] / realloc()
==30526== at 0x48369AB: free (vg_replace_malloc.c:530)
==30526== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30526== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30526== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30526== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30526== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30526== by 0x559BF79: exit (exit.c:139)
==30526== by 0x55860A1: (below main) (libc-start.c:342)
==30526== Address 0x66ae158 is 8 bytes inside a block of size 32 alloc'd
==30526== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30526== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30526== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30526== by 0x4DD1E85: err_get_state (err.c:210)
==30526== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30526== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30526== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30526== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30526== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30526== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30526== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30526== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30526== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30526== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30526== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30526== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30526==
==30526== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30526== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30526== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30526== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30526== by 0x4DD1E85: err_get_state (err.c:210)
==30526== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30526== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30526== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30526== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30526== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30526== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30526== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30526== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30526== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30526== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30526== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30526== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30526==
=== End of file valgrind400
test 0401...[FTPS PASV upload file]
goto problem 23
valgrind ERROR ==30532== Invalid read of size 8
==30532== at 0x5E755A5: check_free (dlerror.c:188)
==30532== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30532== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30532== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30532== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30532== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30532== by 0x559BF79: exit (exit.c:139)
==30532== by 0x55860A1: (below main) (libc-start.c:342)
==30532== Address 0x66b1470 is 0 bytes after a block of size 32 alloc'd
==30532== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30532== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30532== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30532== by 0x4DD1E85: err_get_state (err.c:210)
==30532== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30532== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30532== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30532== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30532== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30532== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30532== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30532== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30532== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30532== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30532== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30532== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30532==
==30532== Invalid free() / delete / delete[] / realloc()
==30532== at 0x48369AB: free (vg_replace_malloc.c:530)
==30532== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30532== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30532== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30532== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30532== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30532== by 0x559BF79: exit (exit.c:139)
==30532== by 0x55860A1: (below main) (libc-start.c:342)
==30532== Address 0x66b1458 is 8 bytes inside a block of size 32 alloc'd
==30532== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30532== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30532== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30532== by 0x4DD1E85: err_get_state (err.c:210)
==30532== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30532== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30532== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30532== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30532== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30532== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30532== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30532== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30532== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30532== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30532== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30532== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30532==
==30532== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30532== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30532== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30532== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30532== by 0x4DD1E85: err_get_state (err.c:210)
==30532== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30532== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30532== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30532== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30532== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30532== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30532== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30532== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30532== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30532== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30532== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30532== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30532==
== Contents of files in the log/ dir after test 401
=== Start of file ftp_server.log
03:03:31.806025 ====> Client connect
03:03:31.806157 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:31.806683 < "USER anonymous"
03:03:31.806729 > "331 We are happy you popped in![CR][LF]"
03:03:31.807160 < "PASS ftp@example.com"
03:03:31.807201 > "230 Welcome you silly person[CR][LF]"
03:03:31.807630 < "PBSZ 0"
03:03:31.807672 > "500 PBSZ not implemented[CR][LF]"
03:03:31.808118 < "PROT C"
03:03:31.808168 > "500 PROT not implemented[CR][LF]"
03:03:31.808591 < "PWD"
03:03:31.808639 > "257 "/" is current directory[CR][LF]"
03:03:31.809050 < "EPSV"
03:03:31.809092 ====> Passive DATA channel requested by client
03:03:31.809114 DATA sockfilt for passive data channel starting...
03:03:31.811335 DATA sockfilt for passive data channel started (pid 30523)
03:03:31.811585 DATA sockfilt for passive data channel listens on port 36627
03:03:31.811658 > "229 Entering Passive Mode (|||36627|)[LF]"
03:03:31.811686 Client has been notified that DATA conn will be accepted on port 36627
03:03:31.812009 Client connects to port 36627
03:03:31.812063 ====> Client established passive DATA connection on port 36627
03:03:31.812179 < "TYPE I"
03:03:31.812224 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:31.812574 < "SIZE verifiedserver"
03:03:31.812629 > "213 17[CR][LF]"
03:03:31.813045 < "RETR verifiedserver"
03:03:31.813109 > "150 Binary junk (17 bytes).[CR][LF]"
03:03:31.813198 =====> Closing passive DATA connection...
03:03:31.813220 Server disconnects passive DATA connection
03:03:31.813412 DATA sockfilt for passive data channel quits (pid 30524)
03:03:31.813438 =====> Closed passive DATA connection
03:03:31.813463 > "226 File transfer complete[CR][LF]"
03:03:31.857363 < "QUIT"
03:03:31.857438 > "221 bye bye baby[CR][LF]"
03:03:31.857804 MAIN sockfilt said DISC
03:03:31.857888 ====> Client disconnected
03:03:31.857970 Awaiting input
03:03:35.519065 ====> Client connect
03:03:35.519171 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:35.600063 < "USER anonymous"
03:03:35.600110 > "331 We are happy you popped in![CR][LF]"
03:03:35.611069 < "PASS ftp@example.com"
03:03:35.611100 > "230 Welcome you silly person[CR][LF]"
03:03:35.613385 < "PBSZ 0"
03:03:35.613416 > "500 PBSZ not implemented[CR][LF]"
03:03:35.614777 < "PROT C"
03:03:35.614807 > "500 PROT not implemented[CR][LF]"
03:03:35.616373 < "PWD"
03:03:35.616409 > "257 "/" is current directory[CR][LF]"
03:03:35.622947 < "EPSV"
03:03:35.622973 ====> Passive DATA channel requested by client
03:03:35.622986 DATA sockfilt for passive data channel starting...
03:03:35.624500 DATA sockfilt for passive data channel started (pid 30528)
03:03:35.624592 DATA sockfilt for passive data channel listens on port 38509
03:03:35.624629 > "229 Entering Passive Mode (|||38509|)[LF]"
03:03:35.624648 Client has been notified that DATA conn will be accepted on port 38509
03:03:35.631635 Client connects to port 38509
03:03:35.631674 ====> Client established passive DATA connection on port 38509
03:03:35.636767 < "TYPE A"
03:03:35.636801 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:35.639028 < "LIST"
03:03:35.639057 > "150 here comes a directory[CR][LF]"
03:03:35.639088 pass LIST data on data connection
03:03:35.639175 =====> Closing passive DATA connection...
03:03:35.639190 Server disconnects passive DATA connection
03:03:35.639672 DATA sockfilt for passive data channel quits (pid 30529)
03:03:35.639697 =====> Closed passive DATA connection
03:03:35.639724 > "226 ASCII transfer complete[CR][LF]"
03:03:35.710525 < "QUIT"
03:03:35.710564 > "221 bye bye baby[CR][LF]"
03:03:35.717170 MAIN sockfilt said DISC
03:03:35.717205 ====> Client disconnected
03:03:35.717248 Awaiting input
03:03:38.543810 ====> Client connect
03:03:38.543913 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:38.623915 < "USER anonymous"
03:03:38.623961 > "331 We are happy you popped in![CR][LF]"
03:03:38.634907 < "PASS ftp@example.com"
03:03:38.634938 > "230 Welcome you silly person[CR][LF]"
03:03:38.637238 < "PBSZ 0"
03:03:38.637268 > "500 PBSZ not implemented[CR][LF]"
03:03:38.638630 < "PROT C"
03:03:38.638660 > "500 PROT not implemented[CR][LF]"
03:03:38.640096 < "PWD"
03:03:38.640132 > "257 "/" is current directory[CR][LF]"
03:03:38.647301 < "EPSV"
03:03:38.647328 ====> Passive DATA channel requested by client
03:03:38.647341 DATA sockfilt for passive data channel starting...
03:03:38.648866 DATA sockfilt for passive data channel started (pid 30534)
03:03:38.649004 DATA sockfilt for passive data channel listens on port 41823
03:03:38.649049 > "229 Entering Passive Mode (|||41823|)[LF]"
03:03:38.649065 Client has been notified that DATA conn will be accepted on port 41823
03:03:38.656059 Client connects to port 41823
03:03:38.656098 ====> Client established passive DATA connection on port 41823
03:03:38.660759 < "TYPE I"
03:03:38.660794 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:38.663037 < "STOR 401"
03:03:38.663063 STOR test number 401 in log/upload.401
03:03:38.663083 > "125 Gimme gimme gimme![CR][LF]"
03:03:38.673172 > Appending 52 bytes to file
03:03:38.682062 =====> Closing passive DATA connection...
03:03:38.682091 Server knows passive DATA connection is already disconnected
03:03:38.682145 DATA sockfilt for passive data channel quits (pid 30535)
03:03:38.682160 =====> Closed passive DATA connection
03:03:38.682176 received 52 bytes upload
03:03:38.682201 > "226 File transfer complete[CR][LF]"
03:03:38.737530 < "QUIT"
03:03:38.737573 > "221 bye bye baby[CR][LF]"
03:03:38.744244 MAIN sockfilt said DISC
03:03:38.744284 ====> Client disconnected
03:03:38.744345 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:31.017233 ====> Client connect
03:03:31.017494 Received DATA (on stdin)
03:03:31.017529 > 160 bytes data, server => client
03:03:31.017554 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:31.017574 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:31.017589 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:31.017871 < 16 bytes data, client => server
03:03:31.017902 'USER anonymous\r\n'
03:03:31.018074 Received DATA (on stdin)
03:03:31.018109 > 33 bytes data, server => client
03:03:31.018131 '331 We are happy you popped in!\r\n'
03:03:31.018386 < 22 bytes data, client => server
03:03:31.018418 'PASS ftp@example.com\r\n'
03:03:31.018546 Received DATA (on stdin)
03:03:31.018581 > 30 bytes data, server => client
03:03:31.018603 '230 Welcome you silly person\r\n'
03:03:31.018855 < 8 bytes data, client => server
03:03:31.018885 'PBSZ 0\r\n'
03:03:31.019018 Received DATA (on stdin)
03:03:31.019053 > 26 bytes data, server => client
03:03:31.019074 '500 PBSZ not implemented\r\n'
03:03:31.019327 < 8 bytes data, client => server
03:03:31.019358 'PROT C\r\n'
03:03:31.019512 Received DATA (on stdin)
03:03:31.019560 > 26 bytes data, server => client
03:03:31.019581 '500 PROT not implemented\r\n'
03:03:31.019804 < 5 bytes data, client => server
03:03:31.019826 'PWD\r\n'
03:03:31.019962 Received DATA (on stdin)
03:03:31.019982 > 30 bytes data, server => client
03:03:31.020015 '257 "/" is current directory\r\n'
03:03:31.020249 < 6 bytes data, client => server
03:03:31.020263 'EPSV\r\n'
03:03:31.022986 Received DATA (on stdin)
03:03:31.023011 > 38 bytes data, server => client
03:03:31.023042 '229 Entering Passive Mode (|||36627|)\n'
03:03:31.023389 < 8 bytes data, client => server
03:03:31.023436 'TYPE I\r\n'
03:03:31.023556 Received DATA (on stdin)
03:03:31.023590 > 33 bytes data, server => client
03:03:31.023612 '200 I modify TYPE as you wanted\r\n'
03:03:31.023821 < 21 bytes data, client => server
03:03:31.023835 'SIZE verifiedserver\r\n'
03:03:31.023952 Received DATA (on stdin)
03:03:31.023969 > 8 bytes data, server => client
03:03:31.023993 '213 17\r\n'
03:03:31.024252 < 21 bytes data, client => server
03:03:31.024293 'RETR verifiedserver\r\n'
03:03:31.024453 Received DATA (on stdin)
03:03:31.024501 > 29 bytes data, server => client
03:03:31.024522 '150 Binary junk (17 bytes).\r\n'
03:03:31.024807 Received DATA (on stdin)
03:03:31.024843 > 28 bytes data, server => client
03:03:31.024865 '226 File transfer complete\r\n'
03:03:31.068534 < 6 bytes data, client => server
03:03:31.068585 'QUIT\r\n'
03:03:31.068759 Received DATA (on stdin)
03:03:31.068785 > 18 bytes data, server => client
03:03:31.068809 '221 bye bye baby\r\n'
03:03:31.069053 ====> Client disconnect
03:03:34.730304 ====> Client connect
03:03:34.730511 Received DATA (on stdin)
03:03:34.730534 > 160 bytes data, server => client
03:03:34.730551 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:34.730566 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:34.730579 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:34.811237 < 16 bytes data, client => server
03:03:34.811275 'USER anonymous\r\n'
03:03:34.811453 Received DATA (on stdin)
03:03:34.811476 > 33 bytes data, server => client
03:03:34.811492 '331 We are happy you popped in!\r\n'
03:03:34.822328 < 22 bytes data, client => server
03:03:34.822362 'PASS ftp@example.com\r\n'
03:03:34.822424 Received DATA (on stdin)
03:03:34.822443 > 30 bytes data, server => client
03:03:34.822460 '230 Welcome you silly person\r\n'
03:03:34.824649 < 8 bytes data, client => server
03:03:34.824679 'PBSZ 0\r\n'
03:03:34.824740 Received DATA (on stdin)
03:03:34.824759 > 26 bytes data, server => client
03:03:34.824775 '500 PBSZ not implemented\r\n'
03:03:34.826042 < 8 bytes data, client => server
03:03:34.826071 'PROT C\r\n'
03:03:34.826131 Received DATA (on stdin)
03:03:34.826149 > 26 bytes data, server => client
03:03:34.826166 '500 PROT not implemented\r\n'
03:03:34.827639 < 5 bytes data, client => server
03:03:34.827667 'PWD\r\n'
03:03:34.827732 Received DATA (on stdin)
03:03:34.827760 > 30 bytes data, server => client
03:03:34.827774 '257 "/" is current directory\r\n'
03:03:34.834210 < 6 bytes data, client => server
03:03:34.834240 'EPSV\r\n'
03:03:34.835950 Received DATA (on stdin)
03:03:34.835972 > 38 bytes data, server => client
03:03:34.835993 '229 Entering Passive Mode (|||38509|)\n'
03:03:34.848016 < 8 bytes data, client => server
03:03:34.848047 'TYPE A\r\n'
03:03:34.848124 Received DATA (on stdin)
03:03:34.848143 > 33 bytes data, server => client
03:03:34.848162 '200 I modify TYPE as you wanted\r\n'
03:03:34.850260 < 6 bytes data, client => server
03:03:34.850288 'LIST\r\n'
03:03:34.850381 Received DATA (on stdin)
03:03:34.850400 > 28 bytes data, server => client
03:03:34.850419 '150 here comes a directory\r\n'
03:03:34.851048 Received DATA (on stdin)
03:03:34.851068 > 29 bytes data, server => client
03:03:34.851085 '226 ASCII transfer complete\r\n'
03:03:34.921755 < 6 bytes data, client => server
03:03:34.921790 'QUIT\r\n'
03:03:34.921886 Received DATA (on stdin)
03:03:34.921905 > 18 bytes data, server => client
03:03:34.921922 '221 bye bye baby\r\n'
03:03:34.928460 ====> Client disconnect
03:03:37.755068 ====> Client connect
03:03:37.755228 Received DATA (on stdin)
03:03:37.755248 > 160 bytes data, server => client
03:03:37.755269 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:37.755288 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:37.755299 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:37.835105 < 16 bytes data, client => server
03:03:37.835149 'USER anonymous\r\n'
03:03:37.835283 Received DATA (on stdin)
03:03:37.835303 > 33 bytes data, server => client
03:03:37.835322 '331 We are happy you popped in!\r\n'
03:03:37.846167 < 22 bytes data, client => server
03:03:37.846198 'PASS ftp@example.com\r\n'
03:03:37.846262 Received DATA (on stdin)
03:03:37.846281 > 30 bytes data, server => client
03:03:37.846298 '230 Welcome you silly person\r\n'
03:03:37.848500 < 8 bytes data, client => server
03:03:37.848530 'PBSZ 0\r\n'
03:03:37.848592 Received DATA (on stdin)
03:03:37.848611 > 26 bytes data, server => client
03:03:37.848627 '500 PBSZ not implemented\r\n'
03:03:37.849895 < 8 bytes data, client => server
03:03:37.849924 'PROT C\r\n'
03:03:37.849984 Received DATA (on stdin)
03:03:37.850003 > 26 bytes data, server => client
03:03:37.850019 '500 PROT not implemented\r\n'
03:03:37.851361 < 5 bytes data, client => server
03:03:37.851390 'PWD\r\n'
03:03:37.851456 Received DATA (on stdin)
03:03:37.851475 > 30 bytes data, server => client
03:03:37.851492 '257 "/" is current directory\r\n'
03:03:37.858564 < 6 bytes data, client => server
03:03:37.858594 'EPSV\r\n'
03:03:37.860394 Received DATA (on stdin)
03:03:37.860419 > 38 bytes data, server => client
03:03:37.860435 '229 Entering Passive Mode (|||41823|)\n'
03:03:37.872017 < 8 bytes data, client => server
03:03:37.872041 'TYPE I\r\n'
03:03:37.872137 Received DATA (on stdin)
03:03:37.872160 > 33 bytes data, server => client
03:03:37.872176 '200 I modify TYPE as you wanted\r\n'
03:03:37.874288 < 10 bytes data, client => server
03:03:37.874311 'STOR 401\r\n'
03:03:37.874428 Received DATA (on stdin)
03:03:37.874451 > 24 bytes data, server => client
03:03:37.874466 '125 Gimme gimme gimme!\r\n'
03:03:37.893528 Received DATA (on stdin)
03:03:37.893553 > 28 bytes data, server => client
03:03:37.893569 '226 File transfer complete\r\n'
03:03:37.948733 < 6 bytes data, client => server
03:03:37.948773 'QUIT\r\n'
03:03:37.948918 Received DATA (on stdin)
03:03:37.948942 > 18 bytes data, server => client
03:03:37.948956 '221 bye bye baby\r\n'
03:03:37.955516 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:31.022404 Running IPv4 version
03:03:31.022513 Listening on port 36627
03:03:31.022557 Wrote pid 30524 to ./.ftp_sockdata.pid
03:03:31.022582 Received PING (on stdin)
03:03:31.022749 Received PORT (on stdin)
03:03:31.023279 ====> Client connect
03:03:31.024505 Received DATA (on stdin)
03:03:31.024540 > 17 bytes data, server => client
03:03:31.024561 'WE ROOLZ: 29737\r\n'
03:03:31.024612 Received DISC (on stdin)
03:03:31.024633 ====> Client forcibly disconnected
03:03:31.024724 Received QUIT (on stdin)
03:03:31.024747 quits
03:03:31.024767 ============> sockfilt quits
03:03:35.835665 Running IPv4 version
03:03:35.835723 Listening on port 38509
03:03:35.835762 Wrote pid 30529 to ./.ftp_sockdata.pid
03:03:35.835777 Received PING (on stdin)
03:03:35.835866 Received PORT (on stdin)
03:03:35.842905 ====> Client connect
03:03:35.850475 Received DATA (on stdin)
03:03:35.850499 > 10 bytes data, server => client
03:03:35.850512 'total 20\r\n'
03:03:35.850539 Received DATA (on stdin)
03:03:35.850550 > 57 bytes data, server => client
03:03:35.850562 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:35.850578 Received DATA (on stdin)
03:03:35.850587 > 58 bytes data, server => client
03:03:35.850599 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:35.850613 Received DATA (on stdin)
03:03:35.850622 > 61 bytes data, server => client
03:03:35.850634 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:35.850641 '\n'
03:03:35.850655 Received DATA (on stdin)
03:03:35.850664 > 62 bytes data, server => client
03:03:35.850676 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:35.850683 '\n'
03:03:35.850697 Received DATA (on stdin)
03:03:35.850706 > 70 bytes data, server => client
03:03:35.850718 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:35.850725 'usr/bin\r\n'
03:03:35.850739 Received DATA (on stdin)
03:03:35.850748 > 59 bytes data, server => client
03:03:35.850760 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:35.850774 Received DATA (on stdin)
03:03:35.850783 > 69 bytes data, server => client
03:03:35.850795 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:35.850803 'd.html\r\n'
03:03:35.850816 Received DATA (on stdin)
03:03:35.850826 > 59 bytes data, server => client
03:03:35.850837 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:35.850851 Received DATA (on stdin)
03:03:35.850860 > 59 bytes data, server => client
03:03:35.850872 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:35.850886 Received DATA (on stdin)
03:03:35.850895 > 59 bytes data, server => client
03:03:35.850907 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:35.850921 Received DISC (on stdin)
03:03:35.850932 ====> Client forcibly disconnected
03:03:35.850985 Received QUIT (on stdin)
03:03:35.851007 quits
03:03:35.851028 ============> sockfilt quits
03:03:38.860027 Running IPv4 version
03:03:38.860088 Listening on port 41823
03:03:38.860127 Wrote pid 30535 to ./.ftp_sockdata.pid
03:03:38.860142 Received PING (on stdin)
03:03:38.860235 Received PORT (on stdin)
03:03:38.867328 ====> Client connect
03:03:38.884417 < 52 bytes data, client => server
03:03:38.884459 'data\n to\n see\nthat FTPS\nworks\n so does it?\n'
03:03:38.893253 ====> Client disconnect
03:03:38.893457 Received QUIT (on stdin)
03:03:38.893479 quits
03:03:38.893500 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.01.06 03:03:30 LOG5[30519]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.06 03:03:30 LOG5[30519]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.06 03:03:30 LOG5[30519]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.06 03:03:30 LOG5[30519]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.06 03:03:30 LOG5[30519]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.06 03:03:30 LOG5[30519]: Reading configuration from file /build-29288/tests/ftps_stunnel.conf
2019.01.06 03:03:30 LOG5[30519]: FIPS mode disabled
2019.01.06 03:03:30 LOG5[30519]: Configuration successful
2019.01.06 03:03:31 LOG5[30522]: Service [curltest] accepted connection from 127.0.0.1:39138
2019.01.06 03:03:31 LOG5[30522]: s_connect: connected 127.0.0.1:8992
2019.01.06 03:03:31 LOG5[30522]: Service [curltest] connected remote server from 127.0.0.1:49870
2019.01.06 03:03:31 LOG5[30522]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.01.06 03:03:33 LOG5[30527]: Service [curltest] accepted connection from 127.0.0.1:39144
2019.01.06 03:03:35 LOG5[30527]: s_connect: connected 127.0.0.1:8992
2019.01.06 03:03:35 LOG5[30527]: Service [curltest] connected remote server from 127.0.0.1:49876
2019.01.06 03:03:35 LOG5[30527]: Connection closed: 451 byte(s) sent to SSL, 85 byte(s) sent to socket
2019.01.06 03:03:36 LOG5[30533]: Service [curltest] accepted connection from 127.0.0.1:39150
2019.01.06 03:03:38 LOG5[30533]: s_connect: connected 127.0.0.1:8992
2019.01.06 03:03:38 LOG5[30533]: Service [curltest] connected remote server from 127.0.0.1:49882
2019.01.06 03:03:38 LOG5[30533]: 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
* STATE: INIT => CONNECT handle 0x56126a2b36a8; line 1446 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x56126a2b36a8; line 1498 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56126a2b36a8; line 1617 (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 0x56126a2f9598 (line 3118) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56126a2b36a8; line 1631 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x56126a2f9598 (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 0x56126a2f9598 (line 2546) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x56126a2f9598 (line 2522) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x56126a2f9598 (line 2735) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x56126a2f9598 (line 815) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x56126a2f9598 (line 2870) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x56126a2b36a8; line 1652 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x56126a2f9598 (line 1346) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x56126a2b36a8; line 1701 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||36627|)
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 36627
* FTP 0x56126a2f9598 (line 2003) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x56126a2b36a8; line 1785 (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 0x56126a2f9598 (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 0x56126a2f9598 (line 1769) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x56126a2f9598 (line 2255) state change from RETR_SIZE to RETR
{ [5 bytes data]
< 150 Binary junk (17 bytes).
* Maxdownload = -1
* Getting file with size: 17
* FTP 0x56126a2f9598 (line 485) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x56126a2b36a8; line 1811 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x56126a2b36a8; line 1838 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x56126a2b36a8; line 1853 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x56126a2b36a8; line 2050 (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
=== 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 26 0:00:02 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:03:36.992581 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:03:37.045151 == Info: Added connection 0. The cache now contains 1 members
03:03:37.062401 == Info: Trying 127.0.0.1...
03:03:37.062998 == Info: TCP_NODELAY set
03:03:37.068062 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:03:37.079351 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:37.079900 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:03:37.081020 == Info: Marked for [keep alive]: FTP default
03:03:38.270153 == Info: successfully set certificate verify locations:
03:03:38.270414 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:38.348858 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:38.354132 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:38.354193 => Send SSL data, 138 bytes (0x8a)
0000: .........).......`M\...lL.K..(...O.W.*..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:38.371670 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:38.376093 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:38.376151 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....U.&..*..........bY?.....'.g... z..k..<.....9i.[7F].!.....Q.
0040: H%....../................
03:03:38.422338 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:38.422804 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:38.422862 <= 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:38.521588 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:38.521841 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:38.521899 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.Jh.2@u.`4............U3.\JTj=......`......S.$.......W+.
0040: ={(.u..H......K.".n.q.I.:.b....NV.H.I...|.0k.#.`[/..*...._.Ou...
0080: n..!?..E....e..[7F]......T[7F].T.[...Qt@M........GG..p..d9[.s.^|.o..s.
00c0: ...OY.D1]..u.[7F]...T.A7H.....a.*.o....KG...1e.J........J...U.A.2,.
0100: .Y.'...aME.!<.@<..5.<..g...N6...(.Y......_.`0.q3..#...[7F]A........
0140: S8|..9....1..
03:03:38.590660 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:38.590982 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:38.591039 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:38.709113 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:38.709342 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:38.709400 => Send SSL data, 70 bytes (0x46)
0000: ...BA.. .LrY)..A.d0,....'X...[7F]6...*.]6@..D.Q..h.x..2.H.d>&E.....
0040: .4f.p.
03:03:38.721892 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:38.722443 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:38.722500 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:38.753986 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:38.754161 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:38.754215 => Send SSL data, 16 bytes (0x10)
0000: .......}...<..@.
03:03:38.756710 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:38.757760 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:38.757818 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:38.760228 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:38.765591 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:38.765648 <= Recv SSL data, 16 bytes (0x10)
0000: .....#l..... ./3
03:03:38.787097 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:38.789256 == Info: Server certificate:
03:03:38.796569 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:38.802922 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:38.803867 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:38.804696 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:38.805598 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:38.807059 == Info: FTP 0x62f0698 (line 3118) state change from STOP to WAIT220
03:03:38.813226 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:38.822386 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:38.825848 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:38.826040 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:38.826221 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:38.826399 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:38.833732 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:38.836315 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:38.837086 == Info: FTP 0x62f0698 (line 803) state change from WAIT220 to USER
03:03:38.837824 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626e7a8; line 1631 (connection #0)
03:03:38.844046 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:38.844726 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:38.845979 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:38.846100 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:38.846471 == Info: FTP 0x62f0698 (line 2546) state change from USER to PASS
03:03:38.847480 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:38.847624 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:38.848318 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:38.848436 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:38.848759 == Info: FTP 0x62f0698 (line 2522) state change from PASS to PBSZ
03:03:38.849049 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:38.849188 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:38.849715 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:38.849830 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:38.850150 == Info: FTP 0x62f0698 (line 2735) state change from PBSZ to PROT
03:03:38.850392 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:38.850529 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:38.851181 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:38.851296 => Send header, 5 bytes (0x5)
0000: PWD
03:03:38.851608 == Info: FTP 0x62f0698 (line 815) state change from PROT to PWD
03:03:38.851928 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:38.852072 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:38.853166 == Info: Entry path is '/'
03:03:38.853387 == Info: FTP 0x62f0698 (line 2870) state change from PWD to STOP
03:03:38.853550 == Info: protocol connect phase DONE
03:03:38.853889 == Info: STATE: PROTOCONNECT => DO handle 0x626e7a8; line 1652 (connection #0)
03:03:38.856492 == Info: DO phase starts
03:03:38.858377 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:38.858497 => Send header, 6 bytes (0x6)
0000: EPSV
03:03:38.858835 == Info: FTP 0x62f0698 (line 1346) state change from STOP to PASV
03:03:38.859008 == Info: Connect data stream passively
03:03:38.859773 == Info: ftp_perform ends with SECONDARY: 0
03:03:38.860527 == Info: STATE: DO => DOING handle 0x626e7a8; line 1701 (connection #0)
03:03:38.861351 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:03:38.861512 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||41823|).
03:03:38.867142 == Info: Trying 127.0.0.1...
03:03:38.867206 == Info: TCP_NODELAY set
03:03:38.868039 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 41823
03:03:38.868938 == Info: FTP 0x62f0698 (line 2003) state change from PASV to STOP
03:03:38.869537 == Info: DO phase is complete2
03:03:38.870025 == Info: STATE: DOING => DO_MORE handle 0x626e7a8; line 1785 (connection #0)
03:03:38.870702 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:38.870914 == Info: DO-MORE connected phase starts
03:03:38.871845 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:38.871967 => Send header, 8 bytes (0x8)
0000: TYPE I
03:03:38.872310 == Info: FTP 0x62f0698 (line 3444) state change from STOP to STOR_TYPE
03:03:38.872683 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:38.872827 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:38.874106 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:38.874224 => Send header, 10 bytes (0xa)
0000: STOR 401
03:03:38.874553 == Info: FTP 0x62f0698 (line 1677) state change from STOR_TYPE to STOR
03:03:38.876269 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:03:38.876412 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:03:38.878191 == Info: FTP 0x62f0698 (line 485) state change from STOR to STOP
03:03:38.878957 == Info: STATE: DO_MORE => DO_DONE handle 0x626e7a8; line 1811 (connection #0)
03:03:38.880035 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:03:38.880815 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:03:38.884923 => Send data, 52 bytes (0x34)
0000: data. to. see.that FTPS.works. so does it?.
03:03:38.885534 == Info: We are completely uploaded and fine
03:03:38.889100 == Info: STATE: PERFORM => DONE handle 0x626e7a8; line 2050 (connection #0)
03:03:38.889619 == Info: multi_done
03:03:38.891770 == Info: Remembering we are in dir ""
03:03:38.917114 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:38.917543 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:03:38.932948 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:38.934686 == Info: Expire cleared
=== 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
==30532== Invalid read of size 8
==30532== at 0x5E755A5: check_free (dlerror.c:188)
==30532== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30532== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30532== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30532== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30532== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30532== by 0x559BF79: exit (exit.c:139)
==30532== by 0x55860A1: (below main) (libc-start.c:342)
==30532== Address 0x66b1470 is 0 bytes after a block of size 32 alloc'd
==30532== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30532== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30532== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30532== by 0x4DD1E85: err_get_state (err.c:210)
==30532== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30532== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30532== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30532== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30532== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30532== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30532== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30532== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30532== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30532== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30532== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30532== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30532==
==30532== Invalid free() / delete / delete[] / realloc()
==30532== at 0x48369AB: free (vg_replace_malloc.c:530)
==30532== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30532== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30532== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30532== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30532== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30532== by 0x559BF79: exit (exit.c:139)
==30532== by 0x55860A1: (below main) (libc-start.c:342)
==30532== Address 0x66b1458 is 8 bytes inside a block of size 32 alloc'd
==30532== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30532== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30532== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30532== by 0x4DD1E85: err_get_state (err.c:210)
==30532== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30532== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30532== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30532== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30532== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30532== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30532== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30532== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30532== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30532== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30532== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30532== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30532==
==30532== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30532== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30532== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30532== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30532== by 0x4DD1E85: err_get_state (err.c:210)
==30532== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30532== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30532== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30532== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30532== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30532== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30532== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30532== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30532== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30532== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30532== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30532== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30532==
=== End of file valgrind401
test 0402...[FTP SSL required on non-SSL server]
-p----emv- OK (341 out of 1212, remaining: 24:39)
test 0403...[FTPS with CCC not supported by server]
goto problem 24
valgrind ERROR ==30541== Invalid read of size 8
==30541== at 0x5E755A5: check_free (dlerror.c:188)
==30541== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30541== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30541== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30541== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30541== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30541== by 0x559BF79: exit (exit.c:139)
==30541== by 0x55860A1: (below main) (libc-start.c:342)
==30541== Address 0x66ae170 is 0 bytes after a block of size 32 alloc'd
==30541== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30541== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30541== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30541== by 0x4DD1E85: err_get_state (err.c:210)
==30541== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30541== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30541== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30541== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30541== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30541== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30541== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30541== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30541== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30541== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30541== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30541== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30541==
==30541== Invalid free() / delete / delete[] / realloc()
==30541== at 0x48369AB: free (vg_replace_malloc.c:530)
==30541== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30541== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30541== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30541== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30541== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30541== by 0x559BF79: exit (exit.c:139)
==30541== by 0x55860A1: (below main) (libc-start.c:342)
==30541== Address 0x66ae158 is 8 bytes inside a block of size 32 alloc'd
==30541== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30541== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30541== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30541== by 0x4DD1E85: err_get_state (err.c:210)
==30541== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30541== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30541== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30541== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30541== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30541== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30541== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30541== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30541== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30541== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30541== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30541== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30541==
==30541== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30541== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30541== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30541== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30541== by 0x4DD1E85: err_get_state (err.c:210)
==30541== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30541== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30541== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30541== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30541== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30541== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30541== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30541== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30541== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30541== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30541== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30541== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30541==
== 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:42.682602 ====> Client connect
03:03:42.682709 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:42.763331 < "USER anonymous"
03:03:42.763378 > "331 We are happy you popped in![CR][LF]"
03:03:42.774444 < "PASS ftp@example.com"
03:03:42.774477 > "230 Welcome you silly person[CR][LF]"
03:03:42.776767 < "PBSZ 0"
03:03:42.776798 > "500 PBSZ not implemented[CR][LF]"
03:03:42.778169 < "PROT C"
03:03:42.778199 > "500 PROT not implemented[CR][LF]"
03:03:42.779582 < "CCC"
03:03:42.779605 CCC wasn't handled
03:03:42.779627 > "500 CCC is not dealt with![CR][LF]"
03:03:42.780990 < "PWD"
03:03:42.781027 > "257 "/" is current directory[CR][LF]"
03:03:42.787554 < "EPSV"
03:03:42.787582 ====> Passive DATA channel requested by client
03:03:42.787594 DATA sockfilt for passive data channel starting...
03:03:42.789177 DATA sockfilt for passive data channel started (pid 30545)
03:03:42.789325 DATA sockfilt for passive data channel listens on port 42341
03:03:42.789364 > "229 Entering Passive Mode (|||42341|)[LF]"
03:03:42.789379 Client has been notified that DATA conn will be accepted on port 42341
03:03:42.796941 Client connects to port 42341
03:03:42.796983 ====> Client established passive DATA connection on port 42341
03:03:42.801910 < "TYPE A"
03:03:42.801946 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:42.804016 < "LIST"
03:03:42.804045 > "150 here comes a directory[CR][LF]"
03:03:42.804068 pass LIST data on data connection
03:03:42.804144 =====> Closing passive DATA connection...
03:03:42.804163 Server disconnects passive DATA connection
03:03:42.804626 DATA sockfilt for passive data channel quits (pid 30546)
03:03:42.804644 =====> Closed passive DATA connection
03:03:42.804669 > "226 ASCII transfer complete[CR][LF]"
03:03:42.872779 < "QUIT"
03:03:42.872822 > "221 bye bye baby[CR][LF]"
03:03:42.879484 MAIN sockfilt said DISC
03:03:42.879526 ====> Client disconnected
03:03:42.879587 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:41.893819 ====> Client connect
03:03:41.894031 Received DATA (on stdin)
03:03:41.894056 > 160 bytes data, server => client
03:03:41.894076 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:41.894095 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:41.894111 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:41.974502 < 16 bytes data, client => server
03:03:41.974541 'USER anonymous\r\n'
03:03:41.974720 Received DATA (on stdin)
03:03:41.974744 > 33 bytes data, server => client
03:03:41.974759 '331 We are happy you popped in!\r\n'
03:03:41.985691 < 22 bytes data, client => server
03:03:41.985715 'PASS ftp@example.com\r\n'
03:03:41.985822 Received DATA (on stdin)
03:03:41.985845 > 30 bytes data, server => client
03:03:41.985861 '230 Welcome you silly person\r\n'
03:03:41.988014 < 8 bytes data, client => server
03:03:41.988037 'PBSZ 0\r\n'
03:03:41.988144 Received DATA (on stdin)
03:03:41.988167 > 26 bytes data, server => client
03:03:41.988182 '500 PBSZ not implemented\r\n'
03:03:41.989421 < 8 bytes data, client => server
03:03:41.989444 'PROT C\r\n'
03:03:41.989545 Received DATA (on stdin)
03:03:41.989568 > 26 bytes data, server => client
03:03:41.989583 '500 PROT not implemented\r\n'
03:03:41.990835 < 5 bytes data, client => server
03:03:41.990858 'CCC\r\n'
03:03:41.990974 Received DATA (on stdin)
03:03:41.990997 > 28 bytes data, server => client
03:03:41.991012 '500 CCC is not dealt with!\r\n'
03:03:41.992243 < 5 bytes data, client => server
03:03:41.992266 'PWD\r\n'
03:03:41.992373 Received DATA (on stdin)
03:03:41.992396 > 30 bytes data, server => client
03:03:41.992411 '257 "/" is current directory\r\n'
03:03:41.998803 < 6 bytes data, client => server
03:03:41.998826 'EPSV\r\n'
03:03:42.000708 Received DATA (on stdin)
03:03:42.000732 > 38 bytes data, server => client
03:03:42.000748 '229 Entering Passive Mode (|||42341|)\n'
03:03:42.013148 < 8 bytes data, client => server
03:03:42.013174 'TYPE A\r\n'
03:03:42.013290 Received DATA (on stdin)
03:03:42.013313 > 33 bytes data, server => client
03:03:42.013329 '200 I modify TYPE as you wanted\r\n'
03:03:42.015288 < 6 bytes data, client => server
03:03:42.015311 'LIST\r\n'
03:03:42.015389 Received DATA (on stdin)
03:03:42.015413 > 28 bytes data, server => client
03:03:42.015428 '150 here comes a directory\r\n'
03:03:42.015999 Received DATA (on stdin)
03:03:42.016024 > 29 bytes data, server => client
03:03:42.016038 '226 ASCII transfer complete\r\n'
03:03:42.083996 < 6 bytes data, client => server
03:03:42.084048 'QUIT\r\n'
03:03:42.084166 Received DATA (on stdin)
03:03:42.084189 > 18 bytes data, server => client
03:03:42.084204 '221 bye bye baby\r\n'
03:03:42.090756 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:42.000334 Running IPv4 version
03:03:42.000413 Listening on port 42341
03:03:42.000442 Wrote pid 30546 to ./.ftp_sockdata.pid
03:03:42.000458 Received PING (on stdin)
03:03:42.000564 Received PORT (on stdin)
03:03:42.008205 ====> Client connect
03:03:42.015440 Received DATA (on stdin)
03:03:42.015466 > 10 bytes data, server => client
03:03:42.015479 'total 20\r\n'
03:03:42.015506 Received DATA (on stdin)
03:03:42.015516 > 57 bytes data, server => client
03:03:42.015528 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:42.015544 Received DATA (on stdin)
03:03:42.015553 > 58 bytes data, server => client
03:03:42.015565 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:42.015578 Received DATA (on stdin)
03:03:42.015587 > 61 bytes data, server => client
03:03:42.015599 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:42.015606 '\n'
03:03:42.015619 Received DATA (on stdin)
03:03:42.015628 > 62 bytes data, server => client
03:03:42.015640 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:42.015647 '\n'
03:03:42.015660 Received DATA (on stdin)
03:03:42.015669 > 70 bytes data, server => client
03:03:42.015681 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:42.015689 'usr/bin\r\n'
03:03:42.015702 Received DATA (on stdin)
03:03:42.015711 > 59 bytes data, server => client
03:03:42.015722 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:42.015736 Received DATA (on stdin)
03:03:42.015745 > 69 bytes data, server => client
03:03:42.015757 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:42.015764 'd.html\r\n'
03:03:42.015778 Received DATA (on stdin)
03:03:42.015787 > 59 bytes data, server => client
03:03:42.015798 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:42.015812 Received DATA (on stdin)
03:03:42.015822 > 59 bytes data, server => client
03:03:42.015833 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:42.015847 Received DATA (on stdin)
03:03:42.015856 > 59 bytes data, server => client
03:03:42.015868 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:42.015881 Received DISC (on stdin)
03:03:42.015892 ====> Client forcibly disconnected
03:03:42.015916 Received QUIT (on stdin)
03:03:42.015925 quits
03:03:42.015940 ============> 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 327 0 --:--:-- 0:00:01 --:--:-- 340
=== End of file stderr403
=== Start of file trace403
03:03:40.155604 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:03:40.208177 == Info: Added connection 0. The cache now contains 1 members
03:03:40.225220 == Info: Trying 127.0.0.1...
03:03:40.225817 == Info: TCP_NODELAY set
03:03:40.230903 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:03:40.241981 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:40.242530 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:03:40.243659 == Info: Marked for [keep alive]: FTP default
03:03:41.408630 == Info: successfully set certificate verify locations:
03:03:41.408892 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:41.487941 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:41.493239 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:41.493305 => Send SSL data, 138 bytes (0x8a)
0000: .......5Ja^......3.<.K.QHf..o....8......*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:41.510810 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:41.515244 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:41.515303 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..W$.6>..c..E/V.C.5.&..L9...HY.f.. .XE......bP.g'.o*.....y..
0040: .%..hW(./................
03:03:41.559506 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:41.559950 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:41.560011 <= 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:41.658858 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:41.659123 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:41.659182 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.Jh.2@u.`4............U3.\JTj=......`......S.$.......W+.
0040: ={(.u..H......tPO..jQroU.....#.....d.....P.}`.......O........<.j
0080: ....g...%......+A.%......i.........!q.Z.J...5.g.HxY..JX]z......V
00c0: i.x]a..r.U@.. .F.....B..}3.....L..m..#Z....%.=.z..............S.
0100: .k....../Z.F1....tD....w.!).gU..$.&j..B8H...H]i..6..y..l..:...p.
0140: A.n@.t.z..7..
03:03:41.728214 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:41.728539 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:41.728598 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:41.846995 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:41.847235 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:41.847293 => Send SSL data, 70 bytes (0x46)
0000: ...BA.Z..N}.Q.......*!SV*.^Gy..C...T...KPr.j.......<.H[7F]..R.~...|
0040: 2>..L.
03:03:41.859782 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:41.860339 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:41.860396 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:41.892696 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:41.892913 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:41.892969 => Send SSL data, 16 bytes (0x10)
0000: ....[7F]...Yf%..?^.
03:03:41.895506 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:41.896577 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:41.896636 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:41.899109 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:41.904509 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:41.904590 <= Recv SSL data, 16 bytes (0x10)
0000: ............o..U
03:03:41.926232 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:41.928397 == Info: Server certificate:
03:03:41.935756 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:41.942058 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:41.943006 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:41.943835 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:41.944742 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:41.946205 == Info: FTP 0x62ed3b8 (line 3118) state change from STOP to WAIT220
03:03:41.952340 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:41.961534 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:41.965053 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:41.965247 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:41.965429 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:41.965608 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:41.973102 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:41.975734 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:41.976537 == Info: FTP 0x62ed3b8 (line 803) state change from WAIT220 to USER
03:03:41.977245 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626e7a8; line 1631 (connection #0)
03:03:41.983534 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:41.984208 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:41.985506 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:41.985626 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:41.986001 == Info: FTP 0x62ed3b8 (line 2546) state change from USER to PASS
03:03:41.987027 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:41.987171 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:41.987839 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:41.987957 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:41.988286 == Info: FTP 0x62ed3b8 (line 2522) state change from PASS to PBSZ
03:03:41.988579 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:41.988717 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:41.989242 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:41.989358 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:41.989680 == Info: FTP 0x62ed3b8 (line 2735) state change from PBSZ to PROT
03:03:41.989922 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:41.990059 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:41.990655 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:41.990770 => Send header, 5 bytes (0x5)
0000: CCC
03:03:41.991079 == Info: FTP 0x62ed3b8 (line 2754) state change from PROT to CCC
03:03:41.991343 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:41.991480 <= Recv header, 28 bytes (0x1c)
0000: 500 CCC is not dealt with
03:03:41.992060 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:41.992178 => Send header, 5 bytes (0x5)
0000: PWD
03:03:41.992488 == Info: FTP 0x62ed3b8 (line 815) state change from CCC to PWD
03:03:41.992810 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:41.992948 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:41.994070 == Info: Entry path is '/'
03:03:41.994293 == Info: FTP 0x62ed3b8 (line 2870) state change from PWD to STOP
03:03:41.994459 == Info: protocol connect phase DONE
03:03:41.994800 == Info: STATE: PROTOCONNECT => DO handle 0x626e7a8; line 1652 (connection #0)
03:03:41.996701 == Info: DO phase starts
03:03:41.998611 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:41.998738 => Send header, 6 bytes (0x6)
0000: EPSV
03:03:41.999074 == Info: FTP 0x62ed3b8 (line 1346) state change from STOP to PASV
03:03:41.999246 == Info: Connect data stream passively
03:03:42.000021 == Info: ftp_perform ends with SECONDARY: 0
03:03:42.000754 == Info: STATE: DO => DOING handle 0x626e7a8; line 1701 (connection #0)
03:03:42.002101 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:03:42.002263 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||42341|).
03:03:42.008011 == Info: Trying 127.0.0.1...
03:03:42.008078 == Info: TCP_NODELAY set
03:03:42.008759 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 42341
03:03:42.009652 == Info: FTP 0x62ed3b8 (line 2003) state change from PASV to STOP
03:03:42.010256 == Info: DO phase is complete2
03:03:42.010671 == Info: STATE: DOING => DO_MORE handle 0x626e7a8; line 1785 (connection #0)
03:03:42.011352 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:42.011575 == Info: DO-MORE connected phase starts
03:03:42.012958 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:42.013084 => Send header, 8 bytes (0x8)
0000: TYPE A
03:03:42.013424 == Info: FTP 0x62ed3b8 (line 3444) state change from STOP to LIST_TYPE
03:03:42.013807 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:42.013954 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:42.015123 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:42.015241 => Send header, 6 bytes (0x6)
0000: LIST
03:03:42.015766 == Info: FTP 0x62ed3b8 (line 1502) state change from LIST_TYPE to LIST
03:03:42.017432 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:42.017598 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:03:42.018190 == Info: Maxdownload = -1
03:03:42.019509 == Info: FTP 0x62ed3b8 (line 485) state change from LIST to STOP
03:03:42.020276 == Info: STATE: DO_MORE => DO_DONE handle 0x626e7a8; line 1811 (connection #0)
03:03:42.021270 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:03:42.022036 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:03:42.025254 <= 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:42.034296 == Info: nread <= 0, server closed connection, bailing
03:03:42.036143 == Info: STATE: PERFORM => DONE handle 0x626e7a8; line 2050 (connection #0)
03:03:42.036677 == Info: multi_done
03:03:42.039092 == Info: Remembering we are in dir ""
03:03:42.056679 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:42.056870 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:03:42.067480 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:42.070624 == Info: Expire cleared
=== End of file trace403
=== Start of file valgrind403
==30541== Invalid read of size 8
==30541== at 0x5E755A5: check_free (dlerror.c:188)
==30541== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30541== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30541== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30541== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30541== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30541== by 0x559BF79: exit (exit.c:139)
==30541== by 0x55860A1: (below main) (libc-start.c:342)
==30541== Address 0x66ae170 is 0 bytes after a block of size 32 alloc'd
==30541== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30541== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30541== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30541== by 0x4DD1E85: err_get_state (err.c:210)
==30541== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30541== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30541== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30541== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30541== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30541== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30541== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30541== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30541== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30541== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30541== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30541== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30541==
==30541== Invalid free() / delete / delete[] / realloc()
==30541== at 0x48369AB: free (vg_replace_malloc.c:530)
==30541== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30541== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30541== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30541== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30541== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30541== by 0x559BF79: exit (exit.c:139)
==30541== by 0x55860A1: (below main) (libc-start.c:342)
==30541== Address 0x66ae158 is 8 bytes inside a block of size 32 alloc'd
==30541== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30541== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30541== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30541== by 0x4DD1E85: err_get_state (err.c:210)
==30541== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30541== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30541== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30541== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30541== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30541== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30541== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30541== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30541== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30541== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30541== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30541== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30541==
==30541== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30541== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30541== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30541== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30541== by 0x4DD1E85: err_get_state (err.c:210)
==30541== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30541== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30541== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30541== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30541== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30541== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30541== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30541== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30541== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30541== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30541== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30541== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30541==
=== End of file valgrind403
test 0404...[FTPS with invalid cacert]
goto problem 25
valgrind ERROR ==30549== Invalid read of size 8
==30549== at 0x5E755A5: check_free (dlerror.c:188)
==30549== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30549== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30549== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30549== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30549== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30549== by 0x559BF79: exit (exit.c:139)
==30549== by 0x55860A1: (below main) (libc-start.c:342)
==30549== Address 0x6302e80 is 0 bytes after a block of size 32 alloc'd
==30549== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30549== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30549== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30549== by 0x4DD1E85: err_get_state (err.c:210)
==30549== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30549== by 0x4E68EB5: BIO_new_file (file.c:95)
==30549== by 0x4E92803: X509_load_cert_crl_file (by_file.c:248)
==30549== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30549== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30549== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30549== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30549== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30549== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30549== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30549== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30549== by 0x1B97A0: ftp_connect (ftp.c:3109)
==30549==
==30549== Invalid free() / delete / delete[] / realloc()
==30549== at 0x48369AB: free (vg_replace_malloc.c:530)
==30549== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30549== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30549== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30549== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30549== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30549== by 0x559BF79: exit (exit.c:139)
==30549== by 0x55860A1: (below main) (libc-start.c:342)
==30549== Address 0x6302e68 is 8 bytes inside a block of size 32 alloc'd
==30549== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30549== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30549== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30549== by 0x4DD1E85: err_get_state (err.c:210)
==30549== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30549== by 0x4E68EB5: BIO_new_file (file.c:95)
==30549== by 0x4E92803: X509_load_cert_crl_file (by_file.c:248)
==30549== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30549== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30549== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30549== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30549== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30549== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30549== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30549== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30549== by 0x1B97A0: ftp_connect (ftp.c:3109)
==30549==
==30549== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==30549== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30549== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30549== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30549== by 0x4DD1E85: err_get_state (err.c:210)
==30549== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30549== by 0x4E68EB5: BIO_new_file (file.c:95)
==30549== by 0x4E92803: X509_load_cert_crl_file (by_file.c:248)
==30549== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30549== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30549== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30549== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30549== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30549== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30549== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30549== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30549== by 0x1B97A0: ftp_connect (ftp.c:3109)
==30549==
== Contents of files in the log/ dir after test 404
=== Start of file ftp_server.log
03:03:42.682602 ====> Client connect
03:03:42.682709 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:42.763331 < "USER anonymous"
03:03:42.763378 > "331 We are happy you popped in![CR][LF]"
03:03:42.774444 < "PASS ftp@example.com"
03:03:42.774477 > "230 Welcome you silly person[CR][LF]"
03:03:42.776767 < "PBSZ 0"
03:03:42.776798 > "500 PBSZ not implemented[CR][LF]"
03:03:42.778169 < "PROT C"
03:03:42.778199 > "500 PROT not implemented[CR][LF]"
03:03:42.779582 < "CCC"
03:03:42.779605 CCC wasn't handled
03:03:42.779627 > "500 CCC is not dealt with![CR][LF]"
03:03:42.780990 < "PWD"
03:03:42.781027 > "257 "/" is current directory[CR][LF]"
03:03:42.787554 < "EPSV"
03:03:42.787582 ====> Passive DATA channel requested by client
03:03:42.787594 DATA sockfilt for passive data channel starting...
03:03:42.789177 DATA sockfilt for passive data channel started (pid 30545)
03:03:42.789325 DATA sockfilt for passive data channel listens on port 42341
03:03:42.789364 > "229 Entering Passive Mode (|||42341|)[LF]"
03:03:42.789379 Client has been notified that DATA conn will be accepted on port 42341
03:03:42.796941 Client connects to port 42341
03:03:42.796983 ====> Client established passive DATA connection on port 42341
03:03:42.801910 < "TYPE A"
03:03:42.801946 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:42.804016 < "LIST"
03:03:42.804045 > "150 here comes a directory[CR][LF]"
03:03:42.804068 pass LIST data on data connection
03:03:42.804144 =====> Closing passive DATA connection...
03:03:42.804163 Server disconnects passive DATA connection
03:03:42.804626 DATA sockfilt for passive data channel quits (pid 30546)
03:03:42.804644 =====> Closed passive DATA connection
03:03:42.804669 > "226 ASCII transfer complete[CR][LF]"
03:03:42.872779 < "QUIT"
03:03:42.872822 > "221 bye bye baby[CR][LF]"
03:03:42.879484 MAIN sockfilt said DISC
03:03:42.879526 ====> Client disconnected
03:03:42.879587 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:41.893819 ====> Client connect
03:03:41.894031 Received DATA (on stdin)
03:03:41.894056 > 160 bytes data, server => client
03:03:41.894076 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:41.894095 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:41.894111 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:41.974502 < 16 bytes data, client => server
03:03:41.974541 'USER anonymous\r\n'
03:03:41.974720 Received DATA (on stdin)
03:03:41.974744 > 33 bytes data, server => client
03:03:41.974759 '331 We are happy you popped in!\r\n'
03:03:41.985691 < 22 bytes data, client => server
03:03:41.985715 'PASS ftp@example.com\r\n'
03:03:41.985822 Received DATA (on stdin)
03:03:41.985845 > 30 bytes data, server => client
03:03:41.985861 '230 Welcome you silly person\r\n'
03:03:41.988014 < 8 bytes data, client => server
03:03:41.988037 'PBSZ 0\r\n'
03:03:41.988144 Received DATA (on stdin)
03:03:41.988167 > 26 bytes data, server => client
03:03:41.988182 '500 PBSZ not implemented\r\n'
03:03:41.989421 < 8 bytes data, client => server
03:03:41.989444 'PROT C\r\n'
03:03:41.989545 Received DATA (on stdin)
03:03:41.989568 > 26 bytes data, server => client
03:03:41.989583 '500 PROT not implemented\r\n'
03:03:41.990835 < 5 bytes data, client => server
03:03:41.990858 'CCC\r\n'
03:03:41.990974 Received DATA (on stdin)
03:03:41.990997 > 28 bytes data, server => client
03:03:41.991012 '500 CCC is not dealt with!\r\n'
03:03:41.992243 < 5 bytes data, client => server
03:03:41.992266 'PWD\r\n'
03:03:41.992373 Received DATA (on stdin)
03:03:41.992396 > 30 bytes data, server => client
03:03:41.992411 '257 "/" is current directory\r\n'
03:03:41.998803 < 6 bytes data, client => server
03:03:41.998826 'EPSV\r\n'
03:03:42.000708 Received DATA (on stdin)
03:03:42.000732 > 38 bytes data, server => client
03:03:42.000748 '229 Entering Passive Mode (|||42341|)\n'
03:03:42.013148 < 8 bytes data, client => server
03:03:42.013174 'TYPE A\r\n'
03:03:42.013290 Received DATA (on stdin)
03:03:42.013313 > 33 bytes data, server => client
03:03:42.013329 '200 I modify TYPE as you wanted\r\n'
03:03:42.015288 < 6 bytes data, client => server
03:03:42.015311 'LIST\r\n'
03:03:42.015389 Received DATA (on stdin)
03:03:42.015413 > 28 bytes data, server => client
03:03:42.015428 '150 here comes a directory\r\n'
03:03:42.015999 Received DATA (on stdin)
03:03:42.016024 > 29 bytes data, server => client
03:03:42.016038 '226 ASCII transfer complete\r\n'
03:03:42.083996 < 6 bytes data, client => server
03:03:42.084048 'QUIT\r\n'
03:03:42.084166 Received DATA (on stdin)
03:03:42.084189 > 18 bytes data, server => client
03:03:42.084204 '221 bye bye baby\r\n'
03:03:42.090756 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:42.000334 Running IPv4 version
03:03:42.000413 Listening on port 42341
03:03:42.000442 Wrote pid 30546 to ./.ftp_sockdata.pid
03:03:42.000458 Received PING (on stdin)
03:03:42.000564 Received PORT (on stdin)
03:03:42.008205 ====> Client connect
03:03:42.015440 Received DATA (on stdin)
03:03:42.015466 > 10 bytes data, server => client
03:03:42.015479 'total 20\r\n'
03:03:42.015506 Received DATA (on stdin)
03:03:42.015516 > 57 bytes data, server => client
03:03:42.015528 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:42.015544 Received DATA (on stdin)
03:03:42.015553 > 58 bytes data, server => client
03:03:42.015565 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:42.015578 Received DATA (on stdin)
03:03:42.015587 > 61 bytes data, server => client
03:03:42.015599 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:42.015606 '\n'
03:03:42.015619 Received DATA (on stdin)
03:03:42.015628 > 62 bytes data, server => client
03:03:42.015640 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:42.015647 '\n'
03:03:42.015660 Received DATA (on stdin)
03:03:42.015669 > 70 bytes data, server => client
03:03:42.015681 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:42.015689 'usr/bin\r\n'
03:03:42.015702 Received DATA (on stdin)
03:03:42.015711 > 59 bytes data, server => client
03:03:42.015722 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:42.015736 Received DATA (on stdin)
03:03:42.015745 > 69 bytes data, server => client
03:03:42.015757 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:42.015764 'd.html\r\n'
03:03:42.015778 Received DATA (on stdin)
03:03:42.015787 > 59 bytes data, server => client
03:03:42.015798 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:42.015812 Received DATA (on stdin)
03:03:42.015822 > 59 bytes data, server => client
03:03:42.015833 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:42.015847 Received DATA (on stdin)
03:03:42.015856 > 59 bytes data, server => client
03:03:42.015868 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:42.015881 Received DISC (on stdin)
03:03:42.015892 ====> Client forcibly disconnected
03:03:42.015916 Received QUIT (on stdin)
03:03:42.015925 quits
03:03:42.015940 ============> 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:43.143653 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:03:43.200915 == Info: Added connection 0. The cache now contains 1 members
03:03:43.218820 == Info: Trying 127.0.0.1...
03:03:43.219443 == Info: TCP_NODELAY set
03:03:43.224549 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:03:43.235743 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:43.236312 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:03:43.237432 == Info: Marked for [keep alive]: FTP default
03:03:43.265711 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
03:03:43.266565 == Info: multi_done
03:03:43.268333 == Info: Marked for [closure]: FTP ended with bad error code
03:03:43.276239 == Info: Closing connection 0
03:03:43.278910 == Info: The cache now contains 0 members
03:03:43.296242 == Info: Expire cleared
=== End of file trace404
=== Start of file valgrind404
==30549== Invalid read of size 8
==30549== at 0x5E755A5: check_free (dlerror.c:188)
==30549== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30549== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30549== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30549== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30549== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30549== by 0x559BF79: exit (exit.c:139)
==30549== by 0x55860A1: (below main) (libc-start.c:342)
==30549== Address 0x6302e80 is 0 bytes after a block of size 32 alloc'd
==30549== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30549== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30549== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30549== by 0x4DD1E85: err_get_state (err.c:210)
==30549== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30549== by 0x4E68EB5: BIO_new_file (file.c:95)
==30549== by 0x4E92803: X509_load_cert_crl_file (by_file.c:248)
==30549== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30549== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30549== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30549== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30549== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30549== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30549== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30549== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30549== by 0x1B97A0: ftp_connect (ftp.c:3109)
==30549==
==30549== Invalid free() / delete / delete[] / realloc()
==30549== at 0x48369AB: free (vg_replace_malloc.c:530)
==30549== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30549== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30549== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30549== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30549== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30549== by 0x559BF79: exit (exit.c:139)
==30549== by 0x55860A1: (below main) (libc-start.c:342)
==30549== Address 0x6302e68 is 8 bytes inside a block of size 32 alloc'd
==30549== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30549== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30549== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30549== by 0x4DD1E85: err_get_state (err.c:210)
==30549== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30549== by 0x4E68EB5: BIO_new_file (file.c:95)
==30549== by 0x4E92803: X509_load_cert_crl_file (by_file.c:248)
==30549== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30549== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30549== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30549== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30549== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30549== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30549== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30549== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30549== by 0x1B97A0: ftp_connect (ftp.c:3109)
==30549==
==30549== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==30549== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30549== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30549== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30549== by 0x4DD1E85: err_get_state (err.c:210)
==30549== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30549== by 0x4E68EB5: BIO_new_file (file.c:95)
==30549== by 0x4E92803: X509_load_cert_crl_file (by_file.c:248)
==30549== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30549== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30549== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30549== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30549== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30549== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30549== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30549== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30549== by 0x1B97A0: ftp_connect (ftp.c:3109)
==30549==
=== End of file valgrind404
test 0405...[FTPS operation to FTP port]
goto problem 26
valgrind ERROR ==30556== Invalid read of size 8
==30556== at 0x5E755A5: check_free (dlerror.c:188)
==30556== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30556== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30556== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30556== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30556== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30556== by 0x559BF79: exit (exit.c:139)
==30556== by 0x55860A1: (below main) (libc-start.c:342)
==30556== Address 0x66ae250 is 0 bytes after a block of size 32 alloc'd
==30556== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30556== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30556== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30556== by 0x4DD1E85: err_get_state (err.c:210)
==30556== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30556== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30556== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30556== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30556== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30556== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30556== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30556== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30556== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30556== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30556== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30556== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30556==
==30556== Invalid free() / delete / delete[] / realloc()
==30556== at 0x48369AB: free (vg_replace_malloc.c:530)
==30556== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30556== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30556== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30556== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30556== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30556== by 0x559BF79: exit (exit.c:139)
==30556== by 0x55860A1: (below main) (libc-start.c:342)
==30556== Address 0x66ae238 is 8 bytes inside a block of size 32 alloc'd
==30556== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30556== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30556== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30556== by 0x4DD1E85: err_get_state (err.c:210)
==30556== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30556== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30556== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30556== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30556== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30556== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30556== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30556== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30556== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30556== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30556== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30556== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30556==
==30556== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==30556== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30556== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30556== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30556== by 0x4DD1E85: err_get_state (err.c:210)
==30556== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30556== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30556== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30556== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30556== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30556== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30556== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30556== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30556== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30556== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30556== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30556== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30556==
== Contents of files in the log/ dir after test 405
=== Start of file ftp_server.log
03:03:42.682602 ====> Client connect
03:03:42.682709 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:42.763331 < "USER anonymous"
03:03:42.763378 > "331 We are happy you popped in![CR][LF]"
03:03:42.774444 < "PASS ftp@example.com"
03:03:42.774477 > "230 Welcome you silly person[CR][LF]"
03:03:42.776767 < "PBSZ 0"
03:03:42.776798 > "500 PBSZ not implemented[CR][LF]"
03:03:42.778169 < "PROT C"
03:03:42.778199 > "500 PROT not implemented[CR][LF]"
03:03:42.779582 < "CCC"
03:03:42.779605 CCC wasn't handled
03:03:42.779627 > "500 CCC is not dealt with![CR][LF]"
03:03:42.780990 < "PWD"
03:03:42.781027 > "257 "/" is current directory[CR][LF]"
03:03:42.787554 < "EPSV"
03:03:42.787582 ====> Passive DATA channel requested by client
03:03:42.787594 DATA sockfilt for passive data channel starting...
03:03:42.789177 DATA sockfilt for passive data channel started (pid 30545)
03:03:42.789325 DATA sockfilt for passive data channel listens on port 42341
03:03:42.789364 > "229 Entering Passive Mode (|||42341|)[LF]"
03:03:42.789379 Client has been notified that DATA conn will be accepted on port 42341
03:03:42.796941 Client connects to port 42341
03:03:42.796983 ====> Client established passive DATA connection on port 42341
03:03:42.801910 < "TYPE A"
03:03:42.801946 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:42.804016 < "LIST"
03:03:42.804045 > "150 here comes a directory[CR][LF]"
03:03:42.804068 pass LIST data on data connection
03:03:42.804144 =====> Closing passive DATA connection...
03:03:42.804163 Server disconnects passive DATA connection
03:03:42.804626 DATA sockfilt for passive data channel quits (pid 30546)
03:03:42.804644 =====> Closed passive DATA connection
03:03:42.804669 > "226 ASCII transfer complete[CR][LF]"
03:03:42.872779 < "QUIT"
03:03:42.872822 > "221 bye bye baby[CR][LF]"
03:03:42.879484 MAIN sockfilt said DISC
03:03:42.879526 ====> Client disconnected
03:03:42.879587 Awaiting input
03:03:45.169035 ====> Client connect
03:03:45.169135 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:46.545098 MAIN sockfilt said DISC
03:03:46.545148 ====> Client disconnected
03:03:46.545189 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:41.893819 ====> Client connect
03:03:41.894031 Received DATA (on stdin)
03:03:41.894056 > 160 bytes data, server => client
03:03:41.894076 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:41.894095 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:41.894111 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:41.974502 < 16 bytes data, client => server
03:03:41.974541 'USER anonymous\r\n'
03:03:41.974720 Received DATA (on stdin)
03:03:41.974744 > 33 bytes data, server => client
03:03:41.974759 '331 We are happy you popped in!\r\n'
03:03:41.985691 < 22 bytes data, client => server
03:03:41.985715 'PASS ftp@example.com\r\n'
03:03:41.985822 Received DATA (on stdin)
03:03:41.985845 > 30 bytes data, server => client
03:03:41.985861 '230 Welcome you silly person\r\n'
03:03:41.988014 < 8 bytes data, client => server
03:03:41.988037 'PBSZ 0\r\n'
03:03:41.988144 Received DATA (on stdin)
03:03:41.988167 > 26 bytes data, server => client
03:03:41.988182 '500 PBSZ not implemented\r\n'
03:03:41.989421 < 8 bytes data, client => server
03:03:41.989444 'PROT C\r\n'
03:03:41.989545 Received DATA (on stdin)
03:03:41.989568 > 26 bytes data, server => client
03:03:41.989583 '500 PROT not implemented\r\n'
03:03:41.990835 < 5 bytes data, client => server
03:03:41.990858 'CCC\r\n'
03:03:41.990974 Received DATA (on stdin)
03:03:41.990997 > 28 bytes data, server => client
03:03:41.991012 '500 CCC is not dealt with!\r\n'
03:03:41.992243 < 5 bytes data, client => server
03:03:41.992266 'PWD\r\n'
03:03:41.992373 Received DATA (on stdin)
03:03:41.992396 > 30 bytes data, server => client
03:03:41.992411 '257 "/" is current directory\r\n'
03:03:41.998803 < 6 bytes data, client => server
03:03:41.998826 'EPSV\r\n'
03:03:42.000708 Received DATA (on stdin)
03:03:42.000732 > 38 bytes data, server => client
03:03:42.000748 '229 Entering Passive Mode (|||42341|)\n'
03:03:42.013148 < 8 bytes data, client => server
03:03:42.013174 'TYPE A\r\n'
03:03:42.013290 Received DATA (on stdin)
03:03:42.013313 > 33 bytes data, server => client
03:03:42.013329 '200 I modify TYPE as you wanted\r\n'
03:03:42.015288 < 6 bytes data, client => server
03:03:42.015311 'LIST\r\n'
03:03:42.015389 Received DATA (on stdin)
03:03:42.015413 > 28 bytes data, server => client
03:03:42.015428 '150 here comes a directory\r\n'
03:03:42.015999 Received DATA (on stdin)
03:03:42.016024 > 29 bytes data, server => client
03:03:42.016038 '226 ASCII transfer complete\r\n'
03:03:42.083996 < 6 bytes data, client => server
03:03:42.084048 'QUIT\r\n'
03:03:42.084166 Received DATA (on stdin)
03:03:42.084189 > 18 bytes data, server => client
03:03:42.084204 '221 bye bye baby\r\n'
03:03:42.090756 ====> Client disconnect
03:03:44.380276 ====> Client connect
03:03:44.380473 Received DATA (on stdin)
03:03:44.380496 > 160 bytes data, server => client
03:03:44.380513 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:44.380529 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:44.380541 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:45.662407 < 143 bytes data, client => server
03:03:45.662447 '.............ND>.|f..........p....f....fb....*.+./.,.0..... .'
03:03:45.662462 '#...'.\n.$...(...../.<.5.=.\n...3..........\r................'
03:03:45.662472 '.......[0B].....\n..........'
03:03:45.680024 < 7 bytes data, client => server
03:03:45.680048 '......F'
03:03:45.756341 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:42.000334 Running IPv4 version
03:03:42.000413 Listening on port 42341
03:03:42.000442 Wrote pid 30546 to ./.ftp_sockdata.pid
03:03:42.000458 Received PING (on stdin)
03:03:42.000564 Received PORT (on stdin)
03:03:42.008205 ====> Client connect
03:03:42.015440 Received DATA (on stdin)
03:03:42.015466 > 10 bytes data, server => client
03:03:42.015479 'total 20\r\n'
03:03:42.015506 Received DATA (on stdin)
03:03:42.015516 > 57 bytes data, server => client
03:03:42.015528 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:42.015544 Received DATA (on stdin)
03:03:42.015553 > 58 bytes data, server => client
03:03:42.015565 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:42.015578 Received DATA (on stdin)
03:03:42.015587 > 61 bytes data, server => client
03:03:42.015599 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:42.015606 '\n'
03:03:42.015619 Received DATA (on stdin)
03:03:42.015628 > 62 bytes data, server => client
03:03:42.015640 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:42.015647 '\n'
03:03:42.015660 Received DATA (on stdin)
03:03:42.015669 > 70 bytes data, server => client
03:03:42.015681 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:42.015689 'usr/bin\r\n'
03:03:42.015702 Received DATA (on stdin)
03:03:42.015711 > 59 bytes data, server => client
03:03:42.015722 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:42.015736 Received DATA (on stdin)
03:03:42.015745 > 69 bytes data, server => client
03:03:42.015757 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:42.015764 'd.html\r\n'
03:03:42.015778 Received DATA (on stdin)
03:03:42.015787 > 59 bytes data, server => client
03:03:42.015798 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:42.015812 Received DATA (on stdin)
03:03:42.015822 > 59 bytes data, server => client
03:03:42.015833 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:42.015847 Received DATA (on stdin)
03:03:42.015856 > 59 bytes data, server => client
03:03:42.015868 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:42.015881 Received DISC (on stdin)
03:03:42.015892 ====> Client forcibly disconnected
03:03:42.015916 Received QUIT (on stdin)
03:03:42.015925 quits
03:03:42.015940 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file server.input
[16][03][01]
[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:45.308092 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:03:45.360249 == Info: Added connection 0. The cache now contains 1 members
03:03:45.377189 == Info: Trying 127.0.0.1...
03:03:45.377794 == Info: TCP_NODELAY set
03:03:45.382140 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:03:45.393717 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8992 (#0)
03:03:45.394300 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:03:45.395421 == Info: Marked for [keep alive]: FTP default
03:03:46.573233 == Info: successfully set certificate verify locations:
03:03:46.573493 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:46.651798 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:46.657091 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:46.657151 => Send SSL data, 138 bytes (0x8a)
0000: ........ND>.|f..........p....f....fb....*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:46.678788 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:46.681508 == Info: TLSv1.2 (OUT), TLS alert, protocol version (582):
03:03:46.681567 => Send SSL data, 2 bytes (0x2)
0000: .F
03:03:46.687909 == Info: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
03:03:46.688804 == Info: multi_done
03:03:46.690571 == Info: Marked for [closure]: FTP ended with bad error code
03:03:46.698837 == Info: Closing connection 0
03:03:46.701425 == Info: The cache now contains 0 members
03:03:46.763495 == Info: Expire cleared
=== End of file trace405
=== Start of file valgrind405
==30556== Invalid read of size 8
==30556== at 0x5E755A5: check_free (dlerror.c:188)
==30556== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30556== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30556== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30556== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30556== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30556== by 0x559BF79: exit (exit.c:139)
==30556== by 0x55860A1: (below main) (libc-start.c:342)
==30556== Address 0x66ae250 is 0 bytes after a block of size 32 alloc'd
==30556== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30556== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30556== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30556== by 0x4DD1E85: err_get_state (err.c:210)
==30556== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30556== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30556== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30556== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30556== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30556== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30556== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30556== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30556== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30556== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30556== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30556== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30556==
==30556== Invalid free() / delete / delete[] / realloc()
==30556== at 0x48369AB: free (vg_replace_malloc.c:530)
==30556== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30556== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30556== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30556== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30556== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30556== by 0x559BF79: exit (exit.c:139)
==30556== by 0x55860A1: (below main) (libc-start.c:342)
==30556== Address 0x66ae238 is 8 bytes inside a block of size 32 alloc'd
==30556== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30556== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30556== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30556== by 0x4DD1E85: err_get_state (err.c:210)
==30556== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30556== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30556== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30556== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30556== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30556== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30556== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30556== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30556== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30556== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30556== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30556== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30556==
==30556== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==30556== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30556== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30556== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30556== by 0x4DD1E85: err_get_state (err.c:210)
==30556== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30556== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30556== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30556== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30556== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30556== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30556== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30556== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30556== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30556== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30556== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30556== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30556==
=== End of file valgrind405
test 0406...[FTPS dir list, PORT with specified IP]
goto problem 27
valgrind ERROR ==30559== Invalid read of size 8
==30559== at 0x5E755A5: check_free (dlerror.c:188)
==30559== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30559== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30559== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30559== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30559== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30559== by 0x559BF79: exit (exit.c:139)
==30559== by 0x55860A1: (below main) (libc-start.c:342)
==30559== Address 0x66aead0 is 0 bytes after a block of size 32 alloc'd
==30559== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30559== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30559== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30559== by 0x4DD1E85: err_get_state (err.c:210)
==30559== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30559== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30559== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30559== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30559== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30559== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30559== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30559== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30559== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30559== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30559== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30559== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30559==
==30559== Invalid free() / delete / delete[] / realloc()
==30559== at 0x48369AB: free (vg_replace_malloc.c:530)
==30559== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30559== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30559== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30559== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30559== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30559== by 0x559BF79: exit (exit.c:139)
==30559== by 0x55860A1: (below main) (libc-start.c:342)
==30559== Address 0x66aeab8 is 8 bytes inside a block of size 32 alloc'd
==30559== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30559== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30559== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30559== by 0x4DD1E85: err_get_state (err.c:210)
==30559== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30559== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30559== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30559== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30559== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30559== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30559== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30559== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30559== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30559== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30559== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30559== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30559==
==30559== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30559== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30559== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30559== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30559== by 0x4DD1E85: err_get_state (err.c:210)
==30559== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30559== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30559== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30559== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30559== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30559== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30559== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30559== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30559== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30559== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30559== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30559== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30559==
== 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:42.682602 ====> Client connect
03:03:42.682709 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:42.763331 < "USER anonymous"
03:03:42.763378 > "331 We are happy you popped in![CR][LF]"
03:03:42.774444 < "PASS ftp@example.com"
03:03:42.774477 > "230 Welcome you silly person[CR][LF]"
03:03:42.776767 < "PBSZ 0"
03:03:42.776798 > "500 PBSZ not implemented[CR][LF]"
03:03:42.778169 < "PROT C"
03:03:42.778199 > "500 PROT not implemented[CR][LF]"
03:03:42.779582 < "CCC"
03:03:42.779605 CCC wasn't handled
03:03:42.779627 > "500 CCC is not dealt with![CR][LF]"
03:03:42.780990 < "PWD"
03:03:42.781027 > "257 "/" is current directory[CR][LF]"
03:03:42.787554 < "EPSV"
03:03:42.787582 ====> Passive DATA channel requested by client
03:03:42.787594 DATA sockfilt for passive data channel starting...
03:03:42.789177 DATA sockfilt for passive data channel started (pid 30545)
03:03:42.789325 DATA sockfilt for passive data channel listens on port 42341
03:03:42.789364 > "229 Entering Passive Mode (|||42341|)[LF]"
03:03:42.789379 Client has been notified that DATA conn will be accepted on port 42341
03:03:42.796941 Client connects to port 42341
03:03:42.796983 ====> Client established passive DATA connection on port 42341
03:03:42.801910 < "TYPE A"
03:03:42.801946 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:42.804016 < "LIST"
03:03:42.804045 > "150 here comes a directory[CR][LF]"
03:03:42.804068 pass LIST data on data connection
03:03:42.804144 =====> Closing passive DATA connection...
03:03:42.804163 Server disconnects passive DATA connection
03:03:42.804626 DATA sockfilt for passive data channel quits (pid 30546)
03:03:42.804644 =====> Closed passive DATA connection
03:03:42.804669 > "226 ASCII transfer complete[CR][LF]"
03:03:42.872779 < "QUIT"
03:03:42.872822 > "221 bye bye baby[CR][LF]"
03:03:42.879484 MAIN sockfilt said DISC
03:03:42.879526 ====> Client disconnected
03:03:42.879587 Awaiting input
03:03:45.169035 ====> Client connect
03:03:45.169135 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:46.545098 MAIN sockfilt said DISC
03:03:46.545148 ====> Client disconnected
03:03:46.545189 Awaiting input
03:03:49.304658 ====> Client connect
03:03:49.304769 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:49.386294 < "USER anonymous"
03:03:49.386340 > "331 We are happy you popped in![CR][LF]"
03:03:49.397339 < "PASS ftp@example.com"
03:03:49.397372 > "230 Welcome you silly person[CR][LF]"
03:03:49.399638 < "PBSZ 0"
03:03:49.399670 > "500 PBSZ not implemented[CR][LF]"
03:03:49.401098 < "PROT C"
03:03:49.401129 > "500 PROT not implemented[CR][LF]"
03:03:49.402589 < "PWD"
03:03:49.402625 > "257 "/" is current directory[CR][LF]"
03:03:49.422891 < "EPRT |1|127.0.0.1|47611|"
03:03:49.422921 ====> Active DATA channel requested by client
03:03:49.422949 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:49.422972 DATA sockfilt for active data channel starting...
03:03:49.424541 DATA sockfilt for active data channel started (pid 30561)
03:03:49.424568 ====> Active DATA channel connected to client port 47611
03:03:49.427758 < "TYPE A"
03:03:49.427798 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:49.429983 < "LIST"
03:03:49.430013 > "150 here comes a directory[CR][LF]"
03:03:49.430043 pass LIST data on data connection
03:03:49.430128 =====> Closing active DATA connection...
03:03:49.430144 Server disconnects active DATA connection
03:03:49.430646 DATA sockfilt for active data channel quits (pid 30562)
03:03:49.430672 =====> Closed active DATA connection
03:03:49.430698 > "226 ASCII transfer complete[CR][LF]"
03:03:49.497125 < "QUIT"
03:03:49.497164 > "221 bye bye baby[CR][LF]"
03:03:49.503831 MAIN sockfilt said DISC
03:03:49.503869 ====> Client disconnected
03:03:49.503911 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:41.893819 ====> Client connect
03:03:41.894031 Received DATA (on stdin)
03:03:41.894056 > 160 bytes data, server => client
03:03:41.894076 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:41.894095 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:41.894111 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:41.974502 < 16 bytes data, client => server
03:03:41.974541 'USER anonymous\r\n'
03:03:41.974720 Received DATA (on stdin)
03:03:41.974744 > 33 bytes data, server => client
03:03:41.974759 '331 We are happy you popped in!\r\n'
03:03:41.985691 < 22 bytes data, client => server
03:03:41.985715 'PASS ftp@example.com\r\n'
03:03:41.985822 Received DATA (on stdin)
03:03:41.985845 > 30 bytes data, server => client
03:03:41.985861 '230 Welcome you silly person\r\n'
03:03:41.988014 < 8 bytes data, client => server
03:03:41.988037 'PBSZ 0\r\n'
03:03:41.988144 Received DATA (on stdin)
03:03:41.988167 > 26 bytes data, server => client
03:03:41.988182 '500 PBSZ not implemented\r\n'
03:03:41.989421 < 8 bytes data, client => server
03:03:41.989444 'PROT C\r\n'
03:03:41.989545 Received DATA (on stdin)
03:03:41.989568 > 26 bytes data, server => client
03:03:41.989583 '500 PROT not implemented\r\n'
03:03:41.990835 < 5 bytes data, client => server
03:03:41.990858 'CCC\r\n'
03:03:41.990974 Received DATA (on stdin)
03:03:41.990997 > 28 bytes data, server => client
03:03:41.991012 '500 CCC is not dealt with!\r\n'
03:03:41.992243 < 5 bytes data, client => server
03:03:41.992266 'PWD\r\n'
03:03:41.992373 Received DATA (on stdin)
03:03:41.992396 > 30 bytes data, server => client
03:03:41.992411 '257 "/" is current directory\r\n'
03:03:41.998803 < 6 bytes data, client => server
03:03:41.998826 'EPSV\r\n'
03:03:42.000708 Received DATA (on stdin)
03:03:42.000732 > 38 bytes data, server => client
03:03:42.000748 '229 Entering Passive Mode (|||42341|)\n'
03:03:42.013148 < 8 bytes data, client => server
03:03:42.013174 'TYPE A\r\n'
03:03:42.013290 Received DATA (on stdin)
03:03:42.013313 > 33 bytes data, server => client
03:03:42.013329 '200 I modify TYPE as you wanted\r\n'
03:03:42.015288 < 6 bytes data, client => server
03:03:42.015311 'LIST\r\n'
03:03:42.015389 Received DATA (on stdin)
03:03:42.015413 > 28 bytes data, server => client
03:03:42.015428 '150 here comes a directory\r\n'
03:03:42.015999 Received DATA (on stdin)
03:03:42.016024 > 29 bytes data, server => client
03:03:42.016038 '226 ASCII transfer complete\r\n'
03:03:42.083996 < 6 bytes data, client => server
03:03:42.084048 'QUIT\r\n'
03:03:42.084166 Received DATA (on stdin)
03:03:42.084189 > 18 bytes data, server => client
03:03:42.084204 '221 bye bye baby\r\n'
03:03:42.090756 ====> Client disconnect
03:03:44.380276 ====> Client connect
03:03:44.380473 Received DATA (on stdin)
03:03:44.380496 > 160 bytes data, server => client
03:03:44.380513 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:44.380529 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:44.380541 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:45.662407 < 143 bytes data, client => server
03:03:45.662447 '.............ND>.|f..........p....f....fb....*.+./.,.0..... .'
03:03:45.662462 '#...'.\n.$...(...../.<.5.=.\n...3..........\r................'
03:03:45.662472 '.......[0B].....\n..........'
03:03:45.680024 < 7 bytes data, client => server
03:03:45.680048 '......F'
03:03:45.756341 ====> Client disconnect
03:03:48.515900 ====> Client connect
03:03:48.516108 Received DATA (on stdin)
03:03:48.516133 > 160 bytes data, server => client
03:03:48.516151 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:48.516166 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:48.516178 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:48.597467 < 16 bytes data, client => server
03:03:48.597503 'USER anonymous\r\n'
03:03:48.597684 Received DATA (on stdin)
03:03:48.597709 > 33 bytes data, server => client
03:03:48.597724 '331 We are happy you popped in!\r\n'
03:03:48.608582 < 22 bytes data, client => server
03:03:48.608614 'PASS ftp@example.com\r\n'
03:03:48.608717 Received DATA (on stdin)
03:03:48.608740 > 30 bytes data, server => client
03:03:48.608755 '230 Welcome you silly person\r\n'
03:03:48.610892 < 8 bytes data, client => server
03:03:48.610924 'PBSZ 0\r\n'
03:03:48.610994 Received DATA (on stdin)
03:03:48.611013 > 26 bytes data, server => client
03:03:48.611030 '500 PBSZ not implemented\r\n'
03:03:48.612360 < 8 bytes data, client => server
03:03:48.612389 'PROT C\r\n'
03:03:48.612452 Received DATA (on stdin)
03:03:48.612471 > 26 bytes data, server => client
03:03:48.612487 '500 PROT not implemented\r\n'
03:03:48.613854 < 5 bytes data, client => server
03:03:48.613882 'PWD\r\n'
03:03:48.613949 Received DATA (on stdin)
03:03:48.613967 > 30 bytes data, server => client
03:03:48.613984 '257 "/" is current directory\r\n'
03:03:48.634150 < 26 bytes data, client => server
03:03:48.634183 'EPRT |1|127.0.0.1|47611|\r\n'
03:03:48.634273 Received DATA (on stdin)
03:03:48.634291 > 50 bytes data, server => client
03:03:48.634312 '200 Thanks for dropping by. We contact you later\r\n'
03:03:48.639006 < 8 bytes data, client => server
03:03:48.639036 'TYPE A\r\n'
03:03:48.639116 Received DATA (on stdin)
03:03:48.639135 > 33 bytes data, server => client
03:03:48.639152 '200 I modify TYPE as you wanted\r\n'
03:03:48.641248 < 6 bytes data, client => server
03:03:48.641276 'LIST\r\n'
03:03:48.641337 Received DATA (on stdin)
03:03:48.641356 > 28 bytes data, server => client
03:03:48.641373 '150 here comes a directory\r\n'
03:03:48.642022 Received DATA (on stdin)
03:03:48.642042 > 29 bytes data, server => client
03:03:48.642059 '226 ASCII transfer complete\r\n'
03:03:48.708355 < 6 bytes data, client => server
03:03:48.708393 'QUIT\r\n'
03:03:48.708486 Received DATA (on stdin)
03:03:48.708505 > 18 bytes data, server => client
03:03:48.708522 '221 bye bye baby\r\n'
03:03:48.715121 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:42.000334 Running IPv4 version
03:03:42.000413 Listening on port 42341
03:03:42.000442 Wrote pid 30546 to ./.ftp_sockdata.pid
03:03:42.000458 Received PING (on stdin)
03:03:42.000564 Received PORT (on stdin)
03:03:42.008205 ====> Client connect
03:03:42.015440 Received DATA (on stdin)
03:03:42.015466 > 10 bytes data, server => client
03:03:42.015479 'total 20\r\n'
03:03:42.015506 Received DATA (on stdin)
03:03:42.015516 > 57 bytes data, server => client
03:03:42.015528 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:42.015544 Received DATA (on stdin)
03:03:42.015553 > 58 bytes data, server => client
03:03:42.015565 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:42.015578 Received DATA (on stdin)
03:03:42.015587 > 61 bytes data, server => client
03:03:42.015599 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:42.015606 '\n'
03:03:42.015619 Received DATA (on stdin)
03:03:42.015628 > 62 bytes data, server => client
03:03:42.015640 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:42.015647 '\n'
03:03:42.015660 Received DATA (on stdin)
03:03:42.015669 > 70 bytes data, server => client
03:03:42.015681 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:42.015689 'usr/bin\r\n'
03:03:42.015702 Received DATA (on stdin)
03:03:42.015711 > 59 bytes data, server => client
03:03:42.015722 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:42.015736 Received DATA (on stdin)
03:03:42.015745 > 69 bytes data, server => client
03:03:42.015757 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:42.015764 'd.html\r\n'
03:03:42.015778 Received DATA (on stdin)
03:03:42.015787 > 59 bytes data, server => client
03:03:42.015798 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:42.015812 Received DATA (on stdin)
03:03:42.015822 > 59 bytes data, server => client
03:03:42.015833 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:42.015847 Received DATA (on stdin)
03:03:42.015856 > 59 bytes data, server => client
03:03:42.015868 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:42.015881 Received DISC (on stdin)
03:03:42.015892 ====> Client forcibly disconnected
03:03:42.015916 Received QUIT (on stdin)
03:03:42.015925 quits
03:03:42.015940 ============> sockfilt quits
03:03:49.635713 ====> Client connect
03:03:49.635775 Running IPv4 version
03:03:49.635785 Connected to port 47611
03:03:49.635823 Wrote pid 30562 to ./.ftp_sockdata.pid
03:03:49.635839 Received PING (on stdin)
03:03:49.641429 Received DATA (on stdin)
03:03:49.641454 > 10 bytes data, server => client
03:03:49.641468 'total 20\r\n'
03:03:49.641496 Received DATA (on stdin)
03:03:49.641507 > 57 bytes data, server => client
03:03:49.641520 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:49.641536 Received DATA (on stdin)
03:03:49.641546 > 58 bytes data, server => client
03:03:49.641559 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:49.641573 Received DATA (on stdin)
03:03:49.641583 > 61 bytes data, server => client
03:03:49.641595 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:49.641603 '\n'
03:03:49.641616 Received DATA (on stdin)
03:03:49.641626 > 62 bytes data, server => client
03:03:49.641638 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:49.641646 '\n'
03:03:49.641659 Received DATA (on stdin)
03:03:49.641669 > 70 bytes data, server => client
03:03:49.641681 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:49.641689 'usr/bin\r\n'
03:03:49.641703 Received DATA (on stdin)
03:03:49.641713 > 59 bytes data, server => client
03:03:49.641725 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:49.641739 Received DATA (on stdin)
03:03:49.641748 > 69 bytes data, server => client
03:03:49.641761 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:49.641769 'd.html\r\n'
03:03:49.641782 Received DATA (on stdin)
03:03:49.641792 > 59 bytes data, server => client
03:03:49.641811 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:49.641827 Received DATA (on stdin)
03:03:49.641837 > 59 bytes data, server => client
03:03:49.641849 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:49.641863 Received DATA (on stdin)
03:03:49.641872 > 59 bytes data, server => client
03:03:49.641885 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:49.641899 Received DISC (on stdin)
03:03:49.641910 ====> Client forcibly disconnected
03:03:49.641926 disconnected, no socket to read on
03:03:49.641937 Received QUIT (on stdin)
03:03:49.641944 quits
03:03:49.641956 ============> 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|47611|
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 325 0 --:--:-- 0:00:01 --:--:-- 338
=== End of file stderr406
=== Start of file trace406
03:03:47.772798 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:03:47.825083 == Info: Added connection 0. The cache now contains 1 members
03:03:47.842084 == Info: Trying 127.0.0.1...
03:03:47.842681 == Info: TCP_NODELAY set
03:03:47.847902 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:03:47.858962 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:47.859512 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:03:47.860649 == Info: Marked for [keep alive]: FTP default
03:03:49.031390 == Info: successfully set certificate verify locations:
03:03:49.031651 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:49.109977 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:49.115284 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:49.115348 => Send SSL data, 138 bytes (0x8a)
0000: .........t3U.z#..M.G..7....^;IN..`n.....*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:49.132841 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:49.137271 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:49.137329 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..}.3......r-.0@..[i.C.\p.....2... ..fb...;.[7F].{.F......Q.<.X
0040: ...4..M./................
03:03:49.181397 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:49.181829 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:49.181885 <= 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:49.280736 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:49.280987 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:49.281043 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.Jh.2@u.`4............U3.\JTj=......`......S.$.......W+.
0040: ={(.u..H......K.l..G._Z..~.Q6n....(.M4.~_K.......*...'....`g....
0080: :.IA^.N(..|A..#...PY....5.-3.....i..;...m...7...%o.._8P...wo.=.*
00c0: l.....vYqo.f.......SZ....=s&.I&..cJv...u}...a..Z..}.*..1. ....)M
0100: +....[7F]Y&...w<[7F]UQ&,.H...`:C...m..h6...Ns..-.O{..i....L]F..m....l.
0140: l+........o..
03:03:49.351146 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:49.351467 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:49.351539 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:49.469841 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:49.470081 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:49.470139 => Send SSL data, 70 bytes (0x46)
0000: ...BA..^....j...5.~....u.3....b..vX..P.....7.&....|...M...S.Et.4
0040: .z~.Y.
03:03:49.482654 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:49.483208 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:49.483264 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:49.514842 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:49.515016 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:49.515069 => Send SSL data, 16 bytes (0x10)
0000: .....*.n...U....
03:03:49.517595 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:49.518633 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:49.518690 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:49.521115 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:49.526458 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:49.526517 <= Recv SSL data, 16 bytes (0x10)
0000: .....H.@.7..k1.h
03:03:49.549292 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:49.551477 == Info: Server certificate:
03:03:49.558816 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:49.565088 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:49.566068 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:49.566901 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:49.567801 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:49.569395 == Info: FTP 0x62edcf8 (line 3118) state change from STOP to WAIT220
03:03:49.575552 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:49.584744 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:49.588218 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:49.588411 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:49.588593 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:49.588773 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:49.596106 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:49.598742 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:49.599511 == Info: FTP 0x62edcf8 (line 803) state change from WAIT220 to USER
03:03:49.600229 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626e7a8; line 1631 (connection #0)
03:03:49.606496 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:49.607157 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:49.608415 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:49.608536 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:49.608907 == Info: FTP 0x62edcf8 (line 2546) state change from USER to PASS
03:03:49.609918 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:49.610061 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:49.610730 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:49.610849 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:49.611192 == Info: FTP 0x62edcf8 (line 2522) state change from PASS to PBSZ
03:03:49.611485 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:49.611623 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:49.612157 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:49.612299 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:49.612624 == Info: FTP 0x62edcf8 (line 2735) state change from PBSZ to PROT
03:03:49.612866 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:49.613003 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:49.613674 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:49.613790 => Send header, 5 bytes (0x5)
0000: PWD
03:03:49.614099 == Info: FTP 0x62edcf8 (line 815) state change from PROT to PWD
03:03:49.614424 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:49.614562 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:49.615663 == Info: Entry path is '/'
03:03:49.615882 == Info: FTP 0x62edcf8 (line 2870) state change from PWD to STOP
03:03:49.616052 == Info: protocol connect phase DONE
03:03:49.616390 == Info: STATE: PROTOCONNECT => DO handle 0x626e7a8; line 1652 (connection #0)
03:03:49.618265 == Info: DO phase starts
03:03:49.633958 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:03:49.634083 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|47611|
03:03:49.634655 == Info: FTP 0x62edcf8 (line 1309) state change from STOP to PORT
03:03:49.635338 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:03:49.635704 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:03:49.636230 == Info: Connect data stream actively
03:03:49.636432 == Info: FTP 0x62edcf8 (line 2037) state change from PORT to STOP
03:03:49.636937 == Info: ftp_perform ends with SECONDARY: 1
03:03:49.637146 == Info: DO phase is complete1
03:03:49.638817 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:49.638938 => Send header, 8 bytes (0x8)
0000: TYPE A
03:03:49.639293 == Info: FTP 0x62edcf8 (line 3444) state change from STOP to LIST_TYPE
03:03:49.639673 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:49.639814 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:49.641065 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:49.641183 => Send header, 6 bytes (0x6)
0000: LIST
03:03:49.641708 == Info: FTP 0x62edcf8 (line 1502) state change from LIST_TYPE to LIST
03:03:49.642858 == Info: STATE: DO => DO_MORE handle 0x626e7a8; line 1709 (connection #0)
03:03:49.644033 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:49.644189 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:03:49.644776 == Info: Maxdownload = -1
03:03:49.645065 == Info: Preparing for accepting server on data port
03:03:49.646091 == Info: Checking for server connect
03:03:49.646914 == Info: Ready to accept data connection from server
03:03:49.648627 == Info: Connection accepted from server
03:03:49.650062 == Info: FTP 0x62edcf8 (line 485) state change from LIST to STOP
03:03:49.651091 == Info: STATE: DO_MORE => DO_DONE handle 0x626e7a8; line 1811 (connection #0)
03:03:49.652080 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:03:49.652861 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:03:49.656066 <= 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:49.665018 == Info: nread <= 0, server closed connection, bailing
03:03:49.666841 == Info: STATE: PERFORM => DONE handle 0x626e7a8; line 2050 (connection #0)
03:03:49.667361 == Info: multi_done
03:03:49.669772 == Info: Remembering we are in dir ""
03:03:49.684666 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:49.684875 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:03:49.693252 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace406
=== Start of file valgrind406
==30559== Invalid read of size 8
==30559== at 0x5E755A5: check_free (dlerror.c:188)
==30559== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30559== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30559== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30559== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30559== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30559== by 0x559BF79: exit (exit.c:139)
==30559== by 0x55860A1: (below main) (libc-start.c:342)
==30559== Address 0x66aead0 is 0 bytes after a block of size 32 alloc'd
==30559== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30559== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30559== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30559== by 0x4DD1E85: err_get_state (err.c:210)
==30559== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30559== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30559== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30559== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30559== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30559== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30559== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30559== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30559== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30559== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30559== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30559== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30559==
==30559== Invalid free() / delete / delete[] / realloc()
==30559== at 0x48369AB: free (vg_replace_malloc.c:530)
==30559== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30559== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30559== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30559== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30559== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30559== by 0x559BF79: exit (exit.c:139)
==30559== by 0x55860A1: (below main) (libc-start.c:342)
==30559== Address 0x66aeab8 is 8 bytes inside a block of size 32 alloc'd
==30559== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30559== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30559== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30559== by 0x4DD1E85: err_get_state (err.c:210)
==30559== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30559== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30559== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30559== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30559== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30559== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30559== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30559== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30559== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30559== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30559== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30559== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30559==
==30559== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30559== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30559== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30559== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30559== by 0x4DD1E85: err_get_state (err.c:210)
==30559== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30559== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30559== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30559== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30559== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30559== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30559== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30559== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30559== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30559== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30559== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30559== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30559==
=== End of file valgrind406
test 0407...[Get two FTPS files from the same remote dir: no second CWD]
goto problem 28
valgrind ERROR ==30565== Invalid read of size 8
==30565== at 0x5E755A5: check_free (dlerror.c:188)
==30565== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30565== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30565== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30565== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30565== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30565== by 0x559BF79: exit (exit.c:139)
==30565== by 0x55860A1: (below main) (libc-start.c:342)
==30565== Address 0x66aeb80 is 0 bytes after a block of size 32 alloc'd
==30565== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30565== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30565== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30565== by 0x4DD1E85: err_get_state (err.c:210)
==30565== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30565== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30565== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30565== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30565== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30565== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30565== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30565== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30565== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30565== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30565== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30565== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30565==
==30565== Invalid free() / delete / delete[] / realloc()
==30565== at 0x48369AB: free (vg_replace_malloc.c:530)
==30565== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30565== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30565== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30565== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30565== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30565== by 0x559BF79: exit (exit.c:139)
==30565== by 0x55860A1: (below main) (libc-start.c:342)
==30565== Address 0x66aeb68 is 8 bytes inside a block of size 32 alloc'd
==30565== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30565== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30565== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30565== by 0x4DD1E85: err_get_state (err.c:210)
==30565== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30565== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30565== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30565== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30565== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30565== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30565== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30565== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30565== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30565== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30565== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30565== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30565==
==30565== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30565== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30565== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30565== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30565== by 0x4DD1E85: err_get_state (err.c:210)
==30565== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30565== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30565== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30565== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30565== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30565== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30565== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30565== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30565== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30565== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30565== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30565== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30565==
== 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:42.682602 ====> Client connect
03:03:42.682709 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:42.763331 < "USER anonymous"
03:03:42.763378 > "331 We are happy you popped in![CR][LF]"
03:03:42.774444 < "PASS ftp@example.com"
03:03:42.774477 > "230 Welcome you silly person[CR][LF]"
03:03:42.776767 < "PBSZ 0"
03:03:42.776798 > "500 PBSZ not implemented[CR][LF]"
03:03:42.778169 < "PROT C"
03:03:42.778199 > "500 PROT not implemented[CR][LF]"
03:03:42.779582 < "CCC"
03:03:42.779605 CCC wasn't handled
03:03:42.779627 > "500 CCC is not dealt with![CR][LF]"
03:03:42.780990 < "PWD"
03:03:42.781027 > "257 "/" is current directory[CR][LF]"
03:03:42.787554 < "EPSV"
03:03:42.787582 ====> Passive DATA channel requested by client
03:03:42.787594 DATA sockfilt for passive data channel starting...
03:03:42.789177 DATA sockfilt for passive data channel started (pid 30545)
03:03:42.789325 DATA sockfilt for passive data channel listens on port 42341
03:03:42.789364 > "229 Entering Passive Mode (|||42341|)[LF]"
03:03:42.789379 Client has been notified that DATA conn will be accepted on port 42341
03:03:42.796941 Client connects to port 42341
03:03:42.796983 ====> Client established passive DATA connection on port 42341
03:03:42.801910 < "TYPE A"
03:03:42.801946 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:42.804016 < "LIST"
03:03:42.804045 > "150 here comes a directory[CR][LF]"
03:03:42.804068 pass LIST data on data connection
03:03:42.804144 =====> Closing passive DATA connection...
03:03:42.804163 Server disconnects passive DATA connection
03:03:42.804626 DATA sockfilt for passive data channel quits (pid 30546)
03:03:42.804644 =====> Closed passive DATA connection
03:03:42.804669 > "226 ASCII transfer complete[CR][LF]"
03:03:42.872779 < "QUIT"
03:03:42.872822 > "221 bye bye baby[CR][LF]"
03:03:42.879484 MAIN sockfilt said DISC
03:03:42.879526 ====> Client disconnected
03:03:42.879587 Awaiting input
03:03:45.169035 ====> Client connect
03:03:45.169135 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:46.545098 MAIN sockfilt said DISC
03:03:46.545148 ====> Client disconnected
03:03:46.545189 Awaiting input
03:03:49.304658 ====> Client connect
03:03:49.304769 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:49.386294 < "USER anonymous"
03:03:49.386340 > "331 We are happy you popped in![CR][LF]"
03:03:49.397339 < "PASS ftp@example.com"
03:03:49.397372 > "230 Welcome you silly person[CR][LF]"
03:03:49.399638 < "PBSZ 0"
03:03:49.399670 > "500 PBSZ not implemented[CR][LF]"
03:03:49.401098 < "PROT C"
03:03:49.401129 > "500 PROT not implemented[CR][LF]"
03:03:49.402589 < "PWD"
03:03:49.402625 > "257 "/" is current directory[CR][LF]"
03:03:49.422891 < "EPRT |1|127.0.0.1|47611|"
03:03:49.422921 ====> Active DATA channel requested by client
03:03:49.422949 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:49.422972 DATA sockfilt for active data channel starting...
03:03:49.424541 DATA sockfilt for active data channel started (pid 30561)
03:03:49.424568 ====> Active DATA channel connected to client port 47611
03:03:49.427758 < "TYPE A"
03:03:49.427798 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:49.429983 < "LIST"
03:03:49.430013 > "150 here comes a directory[CR][LF]"
03:03:49.430043 pass LIST data on data connection
03:03:49.430128 =====> Closing active DATA connection...
03:03:49.430144 Server disconnects active DATA connection
03:03:49.430646 DATA sockfilt for active data channel quits (pid 30562)
03:03:49.430672 =====> Closed active DATA connection
03:03:49.430698 > "226 ASCII transfer complete[CR][LF]"
03:03:49.497125 < "QUIT"
03:03:49.497164 > "221 bye bye baby[CR][LF]"
03:03:49.503831 MAIN sockfilt said DISC
03:03:49.503869 ====> Client disconnected
03:03:49.503911 Awaiting input
03:03:52.316533 ====> Client connect
03:03:52.316635 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:52.397003 < "USER anonymous"
03:03:52.397051 > "331 We are happy you popped in![CR][LF]"
03:03:52.407981 < "PASS ftp@example.com"
03:03:52.408013 > "230 Welcome you silly person[CR][LF]"
03:03:52.410287 < "PBSZ 0"
03:03:52.410317 > "500 PBSZ not implemented[CR][LF]"
03:03:52.411681 < "PROT C"
03:03:52.411711 > "500 PROT not implemented[CR][LF]"
03:03:52.413174 < "PWD"
03:03:52.413209 > "257 "/" is current directory[CR][LF]"
03:03:52.420163 < "CWD a"
03:03:52.420194 > "250 CWD command successful.[CR][LF]"
03:03:52.421762 < "CWD path"
03:03:52.421793 > "250 CWD command successful.[CR][LF]"
03:03:52.425247 < "EPSV"
03:03:52.425278 ====> Passive DATA channel requested by client
03:03:52.425291 DATA sockfilt for passive data channel starting...
03:03:52.427003 DATA sockfilt for passive data channel started (pid 30574)
03:03:52.427208 DATA sockfilt for passive data channel listens on port 42783
03:03:52.427269 > "229 Entering Passive Mode (|||42783|)[LF]"
03:03:52.427292 Client has been notified that DATA conn will be accepted on port 42783
03:03:52.433792 Client connects to port 42783
03:03:52.433830 ====> Client established passive DATA connection on port 42783
03:03:52.438381 < "TYPE I"
03:03:52.438415 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:52.440485 < "SIZE 407"
03:03:52.440638 > "213 11[CR][LF]"
03:03:52.444403 < "RETR 407"
03:03:52.444505 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:52.444555 =====> Closing passive DATA connection...
03:03:52.444569 Server disconnects passive DATA connection
03:03:52.444669 DATA sockfilt for passive data channel quits (pid 30575)
03:03:52.444693 =====> Closed passive DATA connection
03:03:52.444715 > "226 File transfer complete[CR][LF]"
03:03:52.527751 < "EPSV"
03:03:52.527786 ====> Passive DATA channel requested by client
03:03:52.527799 DATA sockfilt for passive data channel starting...
03:03:52.529725 DATA sockfilt for passive data channel started (pid 30576)
03:03:52.529964 DATA sockfilt for passive data channel listens on port 42977
03:03:52.530030 > "229 Entering Passive Mode (|||42977|)[LF]"
03:03:52.530054 Client has been notified that DATA conn will be accepted on port 42977
03:03:52.531725 Client connects to port 42977
03:03:52.531762 ====> Client established passive DATA connection on port 42977
03:03:52.533055 < "SIZE 407"
03:03:52.533218 > "213 11[CR][LF]"
03:03:52.534326 < "RETR 407"
03:03:52.534427 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:52.534498 =====> Closing passive DATA connection...
03:03:52.534530 Server disconnects passive DATA connection
03:03:52.534650 DATA sockfilt for passive data channel quits (pid 30577)
03:03:52.534685 =====> Closed passive DATA connection
03:03:52.534707 > "226 File transfer complete[CR][LF]"
03:03:52.590892 < "QUIT"
03:03:52.590930 > "221 bye bye baby[CR][LF]"
03:03:52.597403 MAIN sockfilt said DISC
03:03:52.597443 ====> Client disconnected
03:03:52.597499 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:41.893819 ====> Client connect
03:03:41.894031 Received DATA (on stdin)
03:03:41.894056 > 160 bytes data, server => client
03:03:41.894076 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:41.894095 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:41.894111 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:41.974502 < 16 bytes data, client => server
03:03:41.974541 'USER anonymous\r\n'
03:03:41.974720 Received DATA (on stdin)
03:03:41.974744 > 33 bytes data, server => client
03:03:41.974759 '331 We are happy you popped in!\r\n'
03:03:41.985691 < 22 bytes data, client => server
03:03:41.985715 'PASS ftp@example.com\r\n'
03:03:41.985822 Received DATA (on stdin)
03:03:41.985845 > 30 bytes data, server => client
03:03:41.985861 '230 Welcome you silly person\r\n'
03:03:41.988014 < 8 bytes data, client => server
03:03:41.988037 'PBSZ 0\r\n'
03:03:41.988144 Received DATA (on stdin)
03:03:41.988167 > 26 bytes data, server => client
03:03:41.988182 '500 PBSZ not implemented\r\n'
03:03:41.989421 < 8 bytes data, client => server
03:03:41.989444 'PROT C\r\n'
03:03:41.989545 Received DATA (on stdin)
03:03:41.989568 > 26 bytes data, server => client
03:03:41.989583 '500 PROT not implemented\r\n'
03:03:41.990835 < 5 bytes data, client => server
03:03:41.990858 'CCC\r\n'
03:03:41.990974 Received DATA (on stdin)
03:03:41.990997 > 28 bytes data, server => client
03:03:41.991012 '500 CCC is not dealt with!\r\n'
03:03:41.992243 < 5 bytes data, client => server
03:03:41.992266 'PWD\r\n'
03:03:41.992373 Received DATA (on stdin)
03:03:41.992396 > 30 bytes data, server => client
03:03:41.992411 '257 "/" is current directory\r\n'
03:03:41.998803 < 6 bytes data, client => server
03:03:41.998826 'EPSV\r\n'
03:03:42.000708 Received DATA (on stdin)
03:03:42.000732 > 38 bytes data, server => client
03:03:42.000748 '229 Entering Passive Mode (|||42341|)\n'
03:03:42.013148 < 8 bytes data, client => server
03:03:42.013174 'TYPE A\r\n'
03:03:42.013290 Received DATA (on stdin)
03:03:42.013313 > 33 bytes data, server => client
03:03:42.013329 '200 I modify TYPE as you wanted\r\n'
03:03:42.015288 < 6 bytes data, client => server
03:03:42.015311 'LIST\r\n'
03:03:42.015389 Received DATA (on stdin)
03:03:42.015413 > 28 bytes data, server => client
03:03:42.015428 '150 here comes a directory\r\n'
03:03:42.015999 Received DATA (on stdin)
03:03:42.016024 > 29 bytes data, server => client
03:03:42.016038 '226 ASCII transfer complete\r\n'
03:03:42.083996 < 6 bytes data, client => server
03:03:42.084048 'QUIT\r\n'
03:03:42.084166 Received DATA (on stdin)
03:03:42.084189 > 18 bytes data, server => client
03:03:42.084204 '221 bye bye baby\r\n'
03:03:42.090756 ====> Client disconnect
03:03:44.380276 ====> Client connect
03:03:44.380473 Received DATA (on stdin)
03:03:44.380496 > 160 bytes data, server => client
03:03:44.380513 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:44.380529 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:44.380541 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:45.662407 < 143 bytes data, client => server
03:03:45.662447 '.............ND>.|f..........p....f....fb....*.+./.,.0..... .'
03:03:45.662462 '#...'.\n.$...(...../.<.5.=.\n...3..........\r................'
03:03:45.662472 '.......[0B].....\n..........'
03:03:45.680024 < 7 bytes data, client => server
03:03:45.680048 '......F'
03:03:45.756341 ====> Client disconnect
03:03:48.515900 ====> Client connect
03:03:48.516108 Received DATA (on stdin)
03:03:48.516133 > 160 bytes data, server => client
03:03:48.516151 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:48.516166 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:48.516178 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:48.597467 < 16 bytes data, client => server
03:03:48.597503 'USER anonymous\r\n'
03:03:48.597684 Received DATA (on stdin)
03:03:48.597709 > 33 bytes data, server => client
03:03:48.597724 '331 We are happy you popped in!\r\n'
03:03:48.608582 < 22 bytes data, client => server
03:03:48.608614 'PASS ftp@example.com\r\n'
03:03:48.608717 Received DATA (on stdin)
03:03:48.608740 > 30 bytes data, server => client
03:03:48.608755 '230 Welcome you silly person\r\n'
03:03:48.610892 < 8 bytes data, client => server
03:03:48.610924 'PBSZ 0\r\n'
03:03:48.610994 Received DATA (on stdin)
03:03:48.611013 > 26 bytes data, server => client
03:03:48.611030 '500 PBSZ not implemented\r\n'
03:03:48.612360 < 8 bytes data, client => server
03:03:48.612389 'PROT C\r\n'
03:03:48.612452 Received DATA (on stdin)
03:03:48.612471 > 26 bytes data, server => client
03:03:48.612487 '500 PROT not implemented\r\n'
03:03:48.613854 < 5 bytes data, client => server
03:03:48.613882 'PWD\r\n'
03:03:48.613949 Received DATA (on stdin)
03:03:48.613967 > 30 bytes data, server => client
03:03:48.613984 '257 "/" is current directory\r\n'
03:03:48.634150 < 26 bytes data, client => server
03:03:48.634183 'EPRT |1|127.0.0.1|47611|\r\n'
03:03:48.634273 Received DATA (on stdin)
03:03:48.634291 > 50 bytes data, server => client
03:03:48.634312 '200 Thanks for dropping by. We contact you later\r\n'
03:03:48.639006 < 8 bytes data, client => server
03:03:48.639036 'TYPE A\r\n'
03:03:48.639116 Received DATA (on stdin)
03:03:48.639135 > 33 bytes data, server => client
03:03:48.639152 '200 I modify TYPE as you wanted\r\n'
03:03:48.641248 < 6 bytes data, client => server
03:03:48.641276 'LIST\r\n'
03:03:48.641337 Received DATA (on stdin)
03:03:48.641356 > 28 bytes data, server => client
03:03:48.641373 '150 here comes a directory\r\n'
03:03:48.642022 Received DATA (on stdin)
03:03:48.642042 > 29 bytes data, server => client
03:03:48.642059 '226 ASCII transfer complete\r\n'
03:03:48.708355 < 6 bytes data, client => server
03:03:48.708393 'QUIT\r\n'
03:03:48.708486 Received DATA (on stdin)
03:03:48.708505 > 18 bytes data, server => client
03:03:48.708522 '221 bye bye baby\r\n'
03:03:48.715121 ====> Client disconnect
03:03:51.527766 ====> Client connect
03:03:51.527954 Received DATA (on stdin)
03:03:51.527973 > 160 bytes data, server => client
03:03:51.527993 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:51.528018 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:51.528035 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:51.608172 < 16 bytes data, client => server
03:03:51.608211 'USER anonymous\r\n'
03:03:51.608393 Received DATA (on stdin)
03:03:51.608417 > 33 bytes data, server => client
03:03:51.608433 '331 We are happy you popped in!\r\n'
03:03:51.619228 < 22 bytes data, client => server
03:03:51.619253 'PASS ftp@example.com\r\n'
03:03:51.619358 Received DATA (on stdin)
03:03:51.619381 > 30 bytes data, server => client
03:03:51.619396 '230 Welcome you silly person\r\n'
03:03:51.621539 < 8 bytes data, client => server
03:03:51.621563 'PBSZ 0\r\n'
03:03:51.621663 Received DATA (on stdin)
03:03:51.621686 > 26 bytes data, server => client
03:03:51.621702 '500 PBSZ not implemented\r\n'
03:03:51.622934 < 8 bytes data, client => server
03:03:51.622957 'PROT C\r\n'
03:03:51.623056 Received DATA (on stdin)
03:03:51.623079 > 26 bytes data, server => client
03:03:51.623095 '500 PROT not implemented\r\n'
03:03:51.624428 < 5 bytes data, client => server
03:03:51.624451 'PWD\r\n'
03:03:51.624554 Received DATA (on stdin)
03:03:51.624577 > 30 bytes data, server => client
03:03:51.624593 '257 "/" is current directory\r\n'
03:03:51.631416 < 7 bytes data, client => server
03:03:51.631440 'CWD a\r\n'
03:03:51.631540 Received DATA (on stdin)
03:03:51.631563 > 29 bytes data, server => client
03:03:51.631579 '250 CWD command successful.\r\n'
03:03:51.633015 < 10 bytes data, client => server
03:03:51.633039 'CWD path\r\n'
03:03:51.633138 Received DATA (on stdin)
03:03:51.633161 > 29 bytes data, server => client
03:03:51.633177 '250 CWD command successful.\r\n'
03:03:51.636500 < 6 bytes data, client => server
03:03:51.636523 'EPSV\r\n'
03:03:51.638612 Received DATA (on stdin)
03:03:51.638648 > 38 bytes data, server => client
03:03:51.638672 '229 Entering Passive Mode (|||42783|)\n'
03:03:51.649620 < 8 bytes data, client => server
03:03:51.649650 'TYPE I\r\n'
03:03:51.649759 Received DATA (on stdin)
03:03:51.649783 > 33 bytes data, server => client
03:03:51.649799 '200 I modify TYPE as you wanted\r\n'
03:03:51.651745 < 10 bytes data, client => server
03:03:51.651768 'SIZE 407\r\n'
03:03:51.651962 Received DATA (on stdin)
03:03:51.651976 > 8 bytes data, server => client
03:03:51.651985 '213 11\r\n'
03:03:51.655655 < 10 bytes data, client => server
03:03:51.655679 'RETR 407\r\n'
03:03:51.655844 Received DATA (on stdin)
03:03:51.655858 > 51 bytes data, server => client
03:03:51.655874 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:51.656060 Received DATA (on stdin)
03:03:51.656088 > 28 bytes data, server => client
03:03:51.656110 '226 File transfer complete\r\n'
03:03:51.738955 < 6 bytes data, client => server
03:03:51.738991 'EPSV\r\n'
03:03:51.741369 Received DATA (on stdin)
03:03:51.741409 > 38 bytes data, server => client
03:03:51.741443 '229 Entering Passive Mode (|||42977|)\n'
03:03:51.744290 < 10 bytes data, client => server
03:03:51.744314 'SIZE 407\r\n'
03:03:51.744555 Received DATA (on stdin)
03:03:51.744593 > 8 bytes data, server => client
03:03:51.744625 '213 11\r\n'
03:03:51.745579 < 10 bytes data, client => server
03:03:51.745602 'RETR 407\r\n'
03:03:51.745771 Received DATA (on stdin)
03:03:51.745814 > 51 bytes data, server => client
03:03:51.745849 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:51.746055 Received DATA (on stdin)
03:03:51.746083 > 28 bytes data, server => client
03:03:51.746104 '226 File transfer complete\r\n'
03:03:51.802130 < 6 bytes data, client => server
03:03:51.802157 'QUIT\r\n'
03:03:51.802275 Received DATA (on stdin)
03:03:51.802298 > 18 bytes data, server => client
03:03:51.802313 '221 bye bye baby\r\n'
03:03:51.808674 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:42.000334 Running IPv4 version
03:03:42.000413 Listening on port 42341
03:03:42.000442 Wrote pid 30546 to ./.ftp_sockdata.pid
03:03:42.000458 Received PING (on stdin)
03:03:42.000564 Received PORT (on stdin)
03:03:42.008205 ====> Client connect
03:03:42.015440 Received DATA (on stdin)
03:03:42.015466 > 10 bytes data, server => client
03:03:42.015479 'total 20\r\n'
03:03:42.015506 Received DATA (on stdin)
03:03:42.015516 > 57 bytes data, server => client
03:03:42.015528 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:42.015544 Received DATA (on stdin)
03:03:42.015553 > 58 bytes data, server => client
03:03:42.015565 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:42.015578 Received DATA (on stdin)
03:03:42.015587 > 61 bytes data, server => client
03:03:42.015599 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:42.015606 '\n'
03:03:42.015619 Received DATA (on stdin)
03:03:42.015628 > 62 bytes data, server => client
03:03:42.015640 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:42.015647 '\n'
03:03:42.015660 Received DATA (on stdin)
03:03:42.015669 > 70 bytes data, server => client
03:03:42.015681 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:42.015689 'usr/bin\r\n'
03:03:42.015702 Received DATA (on stdin)
03:03:42.015711 > 59 bytes data, server => client
03:03:42.015722 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:42.015736 Received DATA (on stdin)
03:03:42.015745 > 69 bytes data, server => client
03:03:42.015757 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:42.015764 'd.html\r\n'
03:03:42.015778 Received DATA (on stdin)
03:03:42.015787 > 59 bytes data, server => client
03:03:42.015798 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:42.015812 Received DATA (on stdin)
03:03:42.015822 > 59 bytes data, server => client
03:03:42.015833 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:42.015847 Received DATA (on stdin)
03:03:42.015856 > 59 bytes data, server => client
03:03:42.015868 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:42.015881 Received DISC (on stdin)
03:03:42.015892 ====> Client forcibly disconnected
03:03:42.015916 Received QUIT (on stdin)
03:03:42.015925 quits
03:03:42.015940 ============> sockfilt quits
03:03:49.635713 ====> Client connect
03:03:49.635775 Running IPv4 version
03:03:49.635785 Connected to port 47611
03:03:49.635823 Wrote pid 30562 to ./.ftp_sockdata.pid
03:03:49.635839 Received PING (on stdin)
03:03:49.641429 Received DATA (on stdin)
03:03:49.641454 > 10 bytes data, server => client
03:03:49.641468 'total 20\r\n'
03:03:49.641496 Received DATA (on stdin)
03:03:49.641507 > 57 bytes data, server => client
03:03:49.641520 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:49.641536 Received DATA (on stdin)
03:03:49.641546 > 58 bytes data, server => client
03:03:49.641559 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:49.641573 Received DATA (on stdin)
03:03:49.641583 > 61 bytes data, server => client
03:03:49.641595 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:49.641603 '\n'
03:03:49.641616 Received DATA (on stdin)
03:03:49.641626 > 62 bytes data, server => client
03:03:49.641638 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:49.641646 '\n'
03:03:49.641659 Received DATA (on stdin)
03:03:49.641669 > 70 bytes data, server => client
03:03:49.641681 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:49.641689 'usr/bin\r\n'
03:03:49.641703 Received DATA (on stdin)
03:03:49.641713 > 59 bytes data, server => client
03:03:49.641725 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:49.641739 Received DATA (on stdin)
03:03:49.641748 > 69 bytes data, server => client
03:03:49.641761 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:49.641769 'd.html\r\n'
03:03:49.641782 Received DATA (on stdin)
03:03:49.641792 > 59 bytes data, server => client
03:03:49.641811 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:49.641827 Received DATA (on stdin)
03:03:49.641837 > 59 bytes data, server => client
03:03:49.641849 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:49.641863 Received DATA (on stdin)
03:03:49.641872 > 59 bytes data, server => client
03:03:49.641885 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:49.641899 Received DISC (on stdin)
03:03:49.641910 ====> Client forcibly disconnected
03:03:49.641926 disconnected, no socket to read on
03:03:49.641937 Received QUIT (on stdin)
03:03:49.641944 quits
03:03:49.641956 ============> sockfilt quits
03:03:52.638111 Running IPv4 version
03:03:52.638197 Listening on port 42783
03:03:52.638246 Wrote pid 30575 to ./.ftp_sockdata.pid
03:03:52.638269 Received PING (on stdin)
03:03:52.638407 Received PORT (on stdin)
03:03:52.645061 ====> Client connect
03:03:52.655880 Received DATA (on stdin)
03:03:52.655903 > 11 bytes data, server => client
03:03:52.655917 'data blobb\n'
03:03:52.655945 Received DISC (on stdin)
03:03:52.655958 ====> Client forcibly disconnected
03:03:52.655976 Received QUIT (on stdin)
03:03:52.655986 quits
03:03:52.655999 ============> sockfilt quits
03:03:52.740831 Running IPv4 version
03:03:52.740916 Listening on port 42977
03:03:52.740966 Wrote pid 30577 to ./.ftp_sockdata.pid
03:03:52.740991 Received PING (on stdin)
03:03:52.741140 Received PORT (on stdin)
03:03:52.742995 ====> Client connect
03:03:52.745803 Received DATA (on stdin)
03:03:52.745849 > 11 bytes data, server => client
03:03:52.745870 'data blobb\n'
03:03:52.745904 Received DISC (on stdin)
03:03:52.745922 ====> Client forcibly disconnected
03:03:52.745948 Received QUIT (on stdin)
03:03:52.745961 quits
03:03:52.745980 ============> 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 6

100 11 100 11 0 0 169 0 --:--:-- --:--:-- --:--:-- 169
=== End of file stderr407
=== Start of file stdout407
data blobb
=== End of file stdout407
=== Start of file trace407
03:03:50.799238 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:03:50.851540 == Info: Added connection 0. The cache now contains 1 members
03:03:50.868595 == Info: Trying 127.0.0.1...
03:03:50.869190 == Info: TCP_NODELAY set
03:03:50.874380 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:03:50.885512 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:50.886327 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:03:50.887937 == Info: Marked for [keep alive]: FTP default
03:03:52.045132 == Info: successfully set certificate verify locations:
03:03:52.045394 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:52.124129 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:52.129434 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:52.129495 => Send SSL data, 138 bytes (0x8a)
0000: .........g=v.r...r.c..[...w..H..X.=..t..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:52.146966 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:52.151408 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:52.151466 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..o..i.s..o.h.......".b.n.Et.(C.f1 .a....-fpO"....Ubz..h..r.
0040: P.=.(.0./................
03:03:52.195511 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:52.195974 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:52.196034 <= 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:52.294360 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:52.294625 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:52.294681 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.Jh.2@u.`4............U3.\JTj=......`......S.$.......W+.
0040: ={(.u..H.....:............;.4...X~..\..O....)2.._w.M..tV.|U`....
0080: ..'.TJ....r.f.f$..yM..)J+.Y.....M..sC.....N.w,p..o.`.........u..
00c0: U.wq.P<...m.W.7!.t^...{...1...;...h..:e..q.w...V..2....aw.{...&8
0100: ..[7F]x.dKS.L(C...~h>..}.6.......]Y.9y..J....E.@...q.}(,....i*.....
0140: .>.w....Z....
03:03:52.363295 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:52.363636 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:52.363691 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:52.481842 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:52.482092 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:52.482149 => Send SSL data, 70 bytes (0x46)
0000: ...BA.Ce.4........C.....>V.:isx:.....q....=.....ct....Sn.:.A..S.
0040: ...b..
03:03:52.494621 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:52.495171 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:52.495228 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:52.526657 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:52.526839 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:52.526912 => Send SSL data, 16 bytes (0x10)
0000: .......w.....a..
03:03:52.529417 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:52.530448 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:52.530506 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:52.532918 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:52.538246 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:52.538303 <= Recv SSL data, 16 bytes (0x10)
0000: .......]bJ....{j
03:03:52.559756 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:52.561956 == Info: Server certificate:
03:03:52.569267 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:52.575509 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:52.576458 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:52.577304 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:52.578205 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:52.579654 == Info: FTP 0x62edd88 (line 3118) state change from STOP to WAIT220
03:03:52.585770 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:52.595375 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:52.598885 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:52.599079 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:52.599263 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:52.599443 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:52.606791 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:52.609374 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:52.610146 == Info: FTP 0x62edd88 (line 803) state change from WAIT220 to USER
03:03:52.610870 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626e7a8; line 1631 (connection #0)
03:03:52.617134 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:52.617799 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:52.619045 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:52.619164 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:52.619537 == Info: FTP 0x62edd88 (line 2546) state change from USER to PASS
03:03:52.620548 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:52.620691 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:52.621358 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:52.621475 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:52.621798 == Info: FTP 0x62edd88 (line 2522) state change from PASS to PBSZ
03:03:52.622089 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:52.622228 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:52.622754 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:52.622869 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:52.623190 == Info: FTP 0x62edd88 (line 2735) state change from PBSZ to PROT
03:03:52.623433 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:52.623570 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:52.624248 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:52.624365 => Send header, 5 bytes (0x5)
0000: PWD
03:03:52.624676 == Info: FTP 0x62edd88 (line 815) state change from PROT to PWD
03:03:52.625004 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:52.625142 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:52.626238 == Info: Entry path is '/'
03:03:52.626460 == Info: FTP 0x62edd88 (line 2870) state change from PWD to STOP
03:03:52.626624 == Info: protocol connect phase DONE
03:03:52.626961 == Info: STATE: PROTOCONNECT => DO handle 0x626e7a8; line 1652 (connection #0)
03:03:52.630173 == Info: DO phase starts
03:03:52.631233 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:52.631351 => Send header, 7 bytes (0x7)
0000: CWD a
03:03:52.631669 == Info: FTP 0x62edd88 (line 911) state change from STOP to CWD
03:03:52.632082 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:52.632229 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:03:52.632835 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:52.632951 => Send header, 10 bytes (0xa)
0000: CWD path
03:03:52.633275 == Info: ftp_perform ends with SECONDARY: 0
03:03:52.634000 == Info: STATE: DO => DOING handle 0x626e7a8; line 1701 (connection #0)
03:03:52.634836 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:52.634980 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:03:52.636317 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:52.636435 => Send header, 6 bytes (0x6)
0000: EPSV
03:03:52.636772 == Info: FTP 0x62edd88 (line 1346) state change from CWD to PASV
03:03:52.636942 == Info: Connect data stream passively
03:03:52.638945 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:03:52.639095 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||42783|).
03:03:52.644872 == Info: Trying 127.0.0.1...
03:03:52.644937 == Info: TCP_NODELAY set
03:03:52.645615 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 42783
03:03:52.646513 == Info: FTP 0x62edd88 (line 2003) state change from PASV to STOP
03:03:52.647031 == Info: DO phase is complete2
03:03:52.647288 == Info: STATE: DOING => DO_MORE handle 0x626e7a8; line 1785 (connection #0)
03:03:52.647965 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:52.648184 == Info: DO-MORE connected phase starts
03:03:52.649432 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:52.649554 => Send header, 8 bytes (0x8)
0000: TYPE I
03:03:52.649893 == Info: FTP 0x62edd88 (line 3444) state change from STOP to RETR_TYPE
03:03:52.650270 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:52.650416 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:52.651565 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:52.651682 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:03:52.652027 == Info: FTP 0x62edd88 (line 1769) state change from RETR_TYPE to RETR_SIZE
03:03:52.653711 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:03:52.653888 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:03:52.655473 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:52.655591 => Send header, 10 bytes (0xa)
0000: RETR 407
03:03:52.655921 == Info: FTP 0x62edd88 (line 2255) state change from RETR_SIZE to RETR
03:03:52.656424 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:03:52.656774 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:03:52.657609 == Info: Maxdownload = -1
03:03:52.657817 == Info: Getting file with size: 11
03:03:52.659176 == Info: FTP 0x62edd88 (line 485) state change from RETR to STOP
03:03:52.659785 == Info: STATE: DO_MORE => DO_DONE handle 0x626e7a8; line 1811 (connection #0)
03:03:52.660807 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:03:52.661572 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:03:52.664774 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:03:52.670179 == Info: readwrite_data: we're done
03:03:52.670461 == Info: nread <= 0, server closed connection, bailing
03:03:52.672304 == Info: STATE: PERFORM => DONE handle 0x626e7a8; line 2050 (connection #0)
03:03:52.672822 == Info: multi_done
03:03:52.674807 == Info: Remembering we are in dir "a/path/"
03:03:52.696729 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:52.696947 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:03:52.708527 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:52.711955 == Info: Expire cleared
03:03:52.723963 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:03:52.728169 == Info: Found bundle for host 127.0.0.1: 0x62fb9d8 [serially]
03:03:52.736202 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:03:52.736989 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:52.737295 == Info: STATE: CONNECT => DO handle 0x626e7a8; line 1491 (connection #0)
03:03:52.738156 == Info: Request has same path as previous transfer
03:03:52.738341 == Info: DO phase starts
03:03:52.738745 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:52.738877 => Send header, 6 bytes (0x6)
0000: EPSV
03:03:52.739022 == Info: FTP 0x62edd88 (line 1346) state change from STOP to PASV
03:03:52.739084 == Info: Connect data stream passively
03:03:52.739282 == Info: ftp_perform ends with SECONDARY: 0
03:03:52.739362 == Info: STATE: DO => DOING handle 0x626e7a8; line 1701 (connection #0)
03:03:52.741797 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:03:52.741957 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||42977|).
03:03:52.742814 == Info: Trying 127.0.0.1...
03:03:52.742874 == Info: TCP_NODELAY set
03:03:52.743008 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 42977
03:03:52.743156 == Info: FTP 0x62edd88 (line 2003) state change from PASV to STOP
03:03:52.743216 == Info: DO phase is complete2
03:03:52.743291 == Info: STATE: DOING => DO_MORE handle 0x626e7a8; line 1785 (connection #0)
03:03:52.743386 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:52.743446 == Info: DO-MORE connected phase starts
03:03:52.743687 == Info: FTP 0x62edd88 (line 3439) state change from STOP to RETR_TYPE
03:03:52.744107 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:52.744226 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:03:52.744382 == Info: FTP 0x62edd88 (line 1769) state change from RETR_TYPE to RETR_SIZE
03:03:52.744954 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:03:52.745092 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:03:52.745401 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:52.745515 => Send header, 10 bytes (0xa)
0000: RETR 407
03:03:52.745669 == Info: FTP 0x62edd88 (line 2255) state change from RETR_SIZE to RETR
03:03:52.746094 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:03:52.746241 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:03:52.746503 == Info: Maxdownload = -1
03:03:52.746562 == Info: Getting file with size: 11
03:03:52.746634 == Info: FTP 0x62edd88 (line 485) state change from RETR to STOP
03:03:52.746718 == Info: STATE: DO_MORE => DO_DONE handle 0x626e7a8; line 1811 (connection #0)
03:03:52.746805 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:03:52.746892 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:03:52.746999 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:03:52.747453 == Info: readwrite_data: we're done
03:03:52.747518 == Info: nread <= 0, server closed connection, bailing
03:03:52.747607 == Info: STATE: PERFORM => DONE handle 0x626e7a8; line 2050 (connection #0)
03:03:52.747669 == Info: multi_done
03:03:52.747848 == Info: Remembering we are in dir "a/path/"
03:03:52.788497 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:52.788870 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:03:52.791056 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:52.791351 == Info: Expire cleared
=== End of file trace407
=== Start of file valgrind407
==30565== Invalid read of size 8
==30565== at 0x5E755A5: check_free (dlerror.c:188)
==30565== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30565== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30565== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30565== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30565== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30565== by 0x559BF79: exit (exit.c:139)
==30565== by 0x55860A1: (below main) (libc-start.c:342)
==30565== Address 0x66aeb80 is 0 bytes after a block of size 32 alloc'd
==30565== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30565== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30565== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30565== by 0x4DD1E85: err_get_state (err.c:210)
==30565== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30565== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30565== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30565== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30565== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30565== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30565== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30565== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30565== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30565== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30565== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30565== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30565==
==30565== Invalid free() / delete / delete[] / realloc()
==30565== at 0x48369AB: free (vg_replace_malloc.c:530)
==30565== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30565== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30565== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30565== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30565== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30565== by 0x559BF79: exit (exit.c:139)
==30565== by 0x55860A1: (below main) (libc-start.c:342)
==30565== Address 0x66aeb68 is 8 bytes inside a block of size 32 alloc'd
==30565== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30565== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30565== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30565== by 0x4DD1E85: err_get_state (err.c:210)
==30565== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30565== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30565== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30565== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30565== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30565== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30565== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30565== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30565== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30565== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30565== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30565== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30565==
==30565== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30565== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30565== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30565== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30565== by 0x4DD1E85: err_get_state (err.c:210)
==30565== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30565== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30565== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30565== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30565== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30565== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30565== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30565== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30565== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30565== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30565== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30565== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30565==
=== End of file valgrind407
test 0408...[FTPS PORT upload with CWD]
goto problem 29
valgrind ERROR ==30580== Invalid read of size 8
==30580== at 0x5E755A5: check_free (dlerror.c:188)
==30580== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30580== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30580== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30580== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30580== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30580== by 0x559BF79: exit (exit.c:139)
==30580== by 0x55860A1: (below main) (libc-start.c:342)
==30580== Address 0x66b1e60 is 0 bytes after a block of size 32 alloc'd
==30580== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30580== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30580== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30580== by 0x4DD1E85: err_get_state (err.c:210)
==30580== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30580== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30580== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30580== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30580== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30580== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30580== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30580== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30580== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30580== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30580== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30580== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30580==
==30580== Invalid free() / delete / delete[] / realloc()
==30580== at 0x48369AB: free (vg_replace_malloc.c:530)
==30580== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30580== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30580== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30580== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30580== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30580== by 0x559BF79: exit (exit.c:139)
==30580== by 0x55860A1: (below main) (libc-start.c:342)
==30580== Address 0x66b1e48 is 8 bytes inside a block of size 32 alloc'd
==30580== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30580== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30580== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30580== by 0x4DD1E85: err_get_state (err.c:210)
==30580== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30580== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30580== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30580== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30580== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30580== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30580== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30580== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30580== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30580== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30580== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30580== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30580==
==30580== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30580== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30580== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30580== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30580== by 0x4DD1E85: err_get_state (err.c:210)
==30580== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30580== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30580== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30580== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30580== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30580== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30580== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30580== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30580== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30580== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30580== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30580== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30580==
== Contents of files in the log/ dir after test 408
=== Start of file ftp_server.log
03:03:42.682602 ====> Client connect
03:03:42.682709 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:42.763331 < "USER anonymous"
03:03:42.763378 > "331 We are happy you popped in![CR][LF]"
03:03:42.774444 < "PASS ftp@example.com"
03:03:42.774477 > "230 Welcome you silly person[CR][LF]"
03:03:42.776767 < "PBSZ 0"
03:03:42.776798 > "500 PBSZ not implemented[CR][LF]"
03:03:42.778169 < "PROT C"
03:03:42.778199 > "500 PROT not implemented[CR][LF]"
03:03:42.779582 < "CCC"
03:03:42.779605 CCC wasn't handled
03:03:42.779627 > "500 CCC is not dealt with![CR][LF]"
03:03:42.780990 < "PWD"
03:03:42.781027 > "257 "/" is current directory[CR][LF]"
03:03:42.787554 < "EPSV"
03:03:42.787582 ====> Passive DATA channel requested by client
03:03:42.787594 DATA sockfilt for passive data channel starting...
03:03:42.789177 DATA sockfilt for passive data channel started (pid 30545)
03:03:42.789325 DATA sockfilt for passive data channel listens on port 42341
03:03:42.789364 > "229 Entering Passive Mode (|||42341|)[LF]"
03:03:42.789379 Client has been notified that DATA conn will be accepted on port 42341
03:03:42.796941 Client connects to port 42341
03:03:42.796983 ====> Client established passive DATA connection on port 42341
03:03:42.801910 < "TYPE A"
03:03:42.801946 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:42.804016 < "LIST"
03:03:42.804045 > "150 here comes a directory[CR][LF]"
03:03:42.804068 pass LIST data on data connection
03:03:42.804144 =====> Closing passive DATA connection...
03:03:42.804163 Server disconnects passive DATA connection
03:03:42.804626 DATA sockfilt for passive data channel quits (pid 30546)
03:03:42.804644 =====> Closed passive DATA connection
03:03:42.804669 > "226 ASCII transfer complete[CR][LF]"
03:03:42.872779 < "QUIT"
03:03:42.872822 > "221 bye bye baby[CR][LF]"
03:03:42.879484 MAIN sockfilt said DISC
03:03:42.879526 ====> Client disconnected
03:03:42.879587 Awaiting input
03:03:45.169035 ====> Client connect
03:03:45.169135 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:46.545098 MAIN sockfilt said DISC
03:03:46.545148 ====> Client disconnected
03:03:46.545189 Awaiting input
03:03:49.304658 ====> Client connect
03:03:49.304769 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:49.386294 < "USER anonymous"
03:03:49.386340 > "331 We are happy you popped in![CR][LF]"
03:03:49.397339 < "PASS ftp@example.com"
03:03:49.397372 > "230 Welcome you silly person[CR][LF]"
03:03:49.399638 < "PBSZ 0"
03:03:49.399670 > "500 PBSZ not implemented[CR][LF]"
03:03:49.401098 < "PROT C"
03:03:49.401129 > "500 PROT not implemented[CR][LF]"
03:03:49.402589 < "PWD"
03:03:49.402625 > "257 "/" is current directory[CR][LF]"
03:03:49.422891 < "EPRT |1|127.0.0.1|47611|"
03:03:49.422921 ====> Active DATA channel requested by client
03:03:49.422949 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:49.422972 DATA sockfilt for active data channel starting...
03:03:49.424541 DATA sockfilt for active data channel started (pid 30561)
03:03:49.424568 ====> Active DATA channel connected to client port 47611
03:03:49.427758 < "TYPE A"
03:03:49.427798 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:49.429983 < "LIST"
03:03:49.430013 > "150 here comes a directory[CR][LF]"
03:03:49.430043 pass LIST data on data connection
03:03:49.430128 =====> Closing active DATA connection...
03:03:49.430144 Server disconnects active DATA connection
03:03:49.430646 DATA sockfilt for active data channel quits (pid 30562)
03:03:49.430672 =====> Closed active DATA connection
03:03:49.430698 > "226 ASCII transfer complete[CR][LF]"
03:03:49.497125 < "QUIT"
03:03:49.497164 > "221 bye bye baby[CR][LF]"
03:03:49.503831 MAIN sockfilt said DISC
03:03:49.503869 ====> Client disconnected
03:03:49.503911 Awaiting input
03:03:52.316533 ====> Client connect
03:03:52.316635 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:52.397003 < "USER anonymous"
03:03:52.397051 > "331 We are happy you popped in![CR][LF]"
03:03:52.407981 < "PASS ftp@example.com"
03:03:52.408013 > "230 Welcome you silly person[CR][LF]"
03:03:52.410287 < "PBSZ 0"
03:03:52.410317 > "500 PBSZ not implemented[CR][LF]"
03:03:52.411681 < "PROT C"
03:03:52.411711 > "500 PROT not implemented[CR][LF]"
03:03:52.413174 < "PWD"
03:03:52.413209 > "257 "/" is current directory[CR][LF]"
03:03:52.420163 < "CWD a"
03:03:52.420194 > "250 CWD command successful.[CR][LF]"
03:03:52.421762 < "CWD path"
03:03:52.421793 > "250 CWD command successful.[CR][LF]"
03:03:52.425247 < "EPSV"
03:03:52.425278 ====> Passive DATA channel requested by client
03:03:52.425291 DATA sockfilt for passive data channel starting...
03:03:52.427003 DATA sockfilt for passive data channel started (pid 30574)
03:03:52.427208 DATA sockfilt for passive data channel listens on port 42783
03:03:52.427269 > "229 Entering Passive Mode (|||42783|)[LF]"
03:03:52.427292 Client has been notified that DATA conn will be accepted on port 42783
03:03:52.433792 Client connects to port 42783
03:03:52.433830 ====> Client established passive DATA connection on port 42783
03:03:52.438381 < "TYPE I"
03:03:52.438415 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:52.440485 < "SIZE 407"
03:03:52.440638 > "213 11[CR][LF]"
03:03:52.444403 < "RETR 407"
03:03:52.444505 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:52.444555 =====> Closing passive DATA connection...
03:03:52.444569 Server disconnects passive DATA connection
03:03:52.444669 DATA sockfilt for passive data channel quits (pid 30575)
03:03:52.444693 =====> Closed passive DATA connection
03:03:52.444715 > "226 File transfer complete[CR][LF]"
03:03:52.527751 < "EPSV"
03:03:52.527786 ====> Passive DATA channel requested by client
03:03:52.527799 DATA sockfilt for passive data channel starting...
03:03:52.529725 DATA sockfilt for passive data channel started (pid 30576)
03:03:52.529964 DATA sockfilt for passive data channel listens on port 42977
03:03:52.530030 > "229 Entering Passive Mode (|||42977|)[LF]"
03:03:52.530054 Client has been notified that DATA conn will be accepted on port 42977
03:03:52.531725 Client connects to port 42977
03:03:52.531762 ====> Client established passive DATA connection on port 42977
03:03:52.533055 < "SIZE 407"
03:03:52.533218 > "213 11[CR][LF]"
03:03:52.534326 < "RETR 407"
03:03:52.534427 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:52.534498 =====> Closing passive DATA connection...
03:03:52.534530 Server disconnects passive DATA connection
03:03:52.534650 DATA sockfilt for passive data channel quits (pid 30577)
03:03:52.534685 =====> Closed passive DATA connection
03:03:52.534707 > "226 File transfer complete[CR][LF]"
03:03:52.590892 < "QUIT"
03:03:52.590930 > "221 bye bye baby[CR][LF]"
03:03:52.597403 MAIN sockfilt said DISC
03:03:52.597443 ====> Client disconnected
03:03:52.597499 Awaiting input
03:03:55.400924 ====> Client connect
03:03:55.401056 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:55.484215 < "USER anonymous"
03:03:55.484261 > "331 We are happy you popped in![CR][LF]"
03:03:55.495202 < "PASS ftp@example.com"
03:03:55.495234 > "230 Welcome you silly person[CR][LF]"
03:03:55.497529 < "PBSZ 0"
03:03:55.497560 > "500 PBSZ not implemented[CR][LF]"
03:03:55.498927 < "PROT C"
03:03:55.498957 > "500 PROT not implemented[CR][LF]"
03:03:55.500395 < "PWD"
03:03:55.500431 > "257 "/" is current directory[CR][LF]"
03:03:55.507428 < "CWD CWD"
03:03:55.507460 > "250 CWD command successful.[CR][LF]"
03:03:55.509042 < "CWD STOR"
03:03:55.509072 > "250 CWD command successful.[CR][LF]"
03:03:55.511553 < "CWD RETR"
03:03:55.511583 > "250 CWD command successful.[CR][LF]"
03:03:55.517338 < "EPRT |1|127.0.0.1|48307|"
03:03:55.517369 ====> Active DATA channel requested by client
03:03:55.517396 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:55.517413 DATA sockfilt for active data channel starting...
03:03:55.518959 DATA sockfilt for active data channel started (pid 30586)
03:03:55.518995 ====> Active DATA channel connected to client port 48307
03:03:55.521851 < "TYPE I"
03:03:55.521890 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:55.524120 < "STOR 408"
03:03:55.524147 STOR test number 408 in log/upload.408
03:03:55.524168 > "125 Gimme gimme gimme![CR][LF]"
03:03:55.538124 > Appending 27 bytes to file
03:03:55.546466 =====> Closing active DATA connection...
03:03:55.546487 Server knows active DATA connection is already disconnected
03:03:55.546530 DATA sockfilt for active data channel quits (pid 30587)
03:03:55.546544 =====> Closed active DATA connection
03:03:55.546559 received 27 bytes upload
03:03:55.546580 > "226 File transfer complete[CR][LF]"
03:03:55.590555 < "QUIT"
03:03:55.590591 > "221 bye bye baby[CR][LF]"
03:03:55.597295 MAIN sockfilt said DISC
03:03:55.597328 ====> Client disconnected
03:03:55.597372 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:41.893819 ====> Client connect
03:03:41.894031 Received DATA (on stdin)
03:03:41.894056 > 160 bytes data, server => client
03:03:41.894076 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:41.894095 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:41.894111 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:41.974502 < 16 bytes data, client => server
03:03:41.974541 'USER anonymous\r\n'
03:03:41.974720 Received DATA (on stdin)
03:03:41.974744 > 33 bytes data, server => client
03:03:41.974759 '331 We are happy you popped in!\r\n'
03:03:41.985691 < 22 bytes data, client => server
03:03:41.985715 'PASS ftp@example.com\r\n'
03:03:41.985822 Received DATA (on stdin)
03:03:41.985845 > 30 bytes data, server => client
03:03:41.985861 '230 Welcome you silly person\r\n'
03:03:41.988014 < 8 bytes data, client => server
03:03:41.988037 'PBSZ 0\r\n'
03:03:41.988144 Received DATA (on stdin)
03:03:41.988167 > 26 bytes data, server => client
03:03:41.988182 '500 PBSZ not implemented\r\n'
03:03:41.989421 < 8 bytes data, client => server
03:03:41.989444 'PROT C\r\n'
03:03:41.989545 Received DATA (on stdin)
03:03:41.989568 > 26 bytes data, server => client
03:03:41.989583 '500 PROT not implemented\r\n'
03:03:41.990835 < 5 bytes data, client => server
03:03:41.990858 'CCC\r\n'
03:03:41.990974 Received DATA (on stdin)
03:03:41.990997 > 28 bytes data, server => client
03:03:41.991012 '500 CCC is not dealt with!\r\n'
03:03:41.992243 < 5 bytes data, client => server
03:03:41.992266 'PWD\r\n'
03:03:41.992373 Received DATA (on stdin)
03:03:41.992396 > 30 bytes data, server => client
03:03:41.992411 '257 "/" is current directory\r\n'
03:03:41.998803 < 6 bytes data, client => server
03:03:41.998826 'EPSV\r\n'
03:03:42.000708 Received DATA (on stdin)
03:03:42.000732 > 38 bytes data, server => client
03:03:42.000748 '229 Entering Passive Mode (|||42341|)\n'
03:03:42.013148 < 8 bytes data, client => server
03:03:42.013174 'TYPE A\r\n'
03:03:42.013290 Received DATA (on stdin)
03:03:42.013313 > 33 bytes data, server => client
03:03:42.013329 '200 I modify TYPE as you wanted\r\n'
03:03:42.015288 < 6 bytes data, client => server
03:03:42.015311 'LIST\r\n'
03:03:42.015389 Received DATA (on stdin)
03:03:42.015413 > 28 bytes data, server => client
03:03:42.015428 '150 here comes a directory\r\n'
03:03:42.015999 Received DATA (on stdin)
03:03:42.016024 > 29 bytes data, server => client
03:03:42.016038 '226 ASCII transfer complete\r\n'
03:03:42.083996 < 6 bytes data, client => server
03:03:42.084048 'QUIT\r\n'
03:03:42.084166 Received DATA (on stdin)
03:03:42.084189 > 18 bytes data, server => client
03:03:42.084204 '221 bye bye baby\r\n'
03:03:42.090756 ====> Client disconnect
03:03:44.380276 ====> Client connect
03:03:44.380473 Received DATA (on stdin)
03:03:44.380496 > 160 bytes data, server => client
03:03:44.380513 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:44.380529 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:44.380541 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:45.662407 < 143 bytes data, client => server
03:03:45.662447 '.............ND>.|f..........p....f....fb....*.+./.,.0..... .'
03:03:45.662462 '#...'.\n.$...(...../.<.5.=.\n...3..........\r................'
03:03:45.662472 '.......[0B].....\n..........'
03:03:45.680024 < 7 bytes data, client => server
03:03:45.680048 '......F'
03:03:45.756341 ====> Client disconnect
03:03:48.515900 ====> Client connect
03:03:48.516108 Received DATA (on stdin)
03:03:48.516133 > 160 bytes data, server => client
03:03:48.516151 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:48.516166 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:48.516178 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:48.597467 < 16 bytes data, client => server
03:03:48.597503 'USER anonymous\r\n'
03:03:48.597684 Received DATA (on stdin)
03:03:48.597709 > 33 bytes data, server => client
03:03:48.597724 '331 We are happy you popped in!\r\n'
03:03:48.608582 < 22 bytes data, client => server
03:03:48.608614 'PASS ftp@example.com\r\n'
03:03:48.608717 Received DATA (on stdin)
03:03:48.608740 > 30 bytes data, server => client
03:03:48.608755 '230 Welcome you silly person\r\n'
03:03:48.610892 < 8 bytes data, client => server
03:03:48.610924 'PBSZ 0\r\n'
03:03:48.610994 Received DATA (on stdin)
03:03:48.611013 > 26 bytes data, server => client
03:03:48.611030 '500 PBSZ not implemented\r\n'
03:03:48.612360 < 8 bytes data, client => server
03:03:48.612389 'PROT C\r\n'
03:03:48.612452 Received DATA (on stdin)
03:03:48.612471 > 26 bytes data, server => client
03:03:48.612487 '500 PROT not implemented\r\n'
03:03:48.613854 < 5 bytes data, client => server
03:03:48.613882 'PWD\r\n'
03:03:48.613949 Received DATA (on stdin)
03:03:48.613967 > 30 bytes data, server => client
03:03:48.613984 '257 "/" is current directory\r\n'
03:03:48.634150 < 26 bytes data, client => server
03:03:48.634183 'EPRT |1|127.0.0.1|47611|\r\n'
03:03:48.634273 Received DATA (on stdin)
03:03:48.634291 > 50 bytes data, server => client
03:03:48.634312 '200 Thanks for dropping by. We contact you later\r\n'
03:03:48.639006 < 8 bytes data, client => server
03:03:48.639036 'TYPE A\r\n'
03:03:48.639116 Received DATA (on stdin)
03:03:48.639135 > 33 bytes data, server => client
03:03:48.639152 '200 I modify TYPE as you wanted\r\n'
03:03:48.641248 < 6 bytes data, client => server
03:03:48.641276 'LIST\r\n'
03:03:48.641337 Received DATA (on stdin)
03:03:48.641356 > 28 bytes data, server => client
03:03:48.641373 '150 here comes a directory\r\n'
03:03:48.642022 Received DATA (on stdin)
03:03:48.642042 > 29 bytes data, server => client
03:03:48.642059 '226 ASCII transfer complete\r\n'
03:03:48.708355 < 6 bytes data, client => server
03:03:48.708393 'QUIT\r\n'
03:03:48.708486 Received DATA (on stdin)
03:03:48.708505 > 18 bytes data, server => client
03:03:48.708522 '221 bye bye baby\r\n'
03:03:48.715121 ====> Client disconnect
03:03:51.527766 ====> Client connect
03:03:51.527954 Received DATA (on stdin)
03:03:51.527973 > 160 bytes data, server => client
03:03:51.527993 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:51.528018 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:51.528035 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:51.608172 < 16 bytes data, client => server
03:03:51.608211 'USER anonymous\r\n'
03:03:51.608393 Received DATA (on stdin)
03:03:51.608417 > 33 bytes data, server => client
03:03:51.608433 '331 We are happy you popped in!\r\n'
03:03:51.619228 < 22 bytes data, client => server
03:03:51.619253 'PASS ftp@example.com\r\n'
03:03:51.619358 Received DATA (on stdin)
03:03:51.619381 > 30 bytes data, server => client
03:03:51.619396 '230 Welcome you silly person\r\n'
03:03:51.621539 < 8 bytes data, client => server
03:03:51.621563 'PBSZ 0\r\n'
03:03:51.621663 Received DATA (on stdin)
03:03:51.621686 > 26 bytes data, server => client
03:03:51.621702 '500 PBSZ not implemented\r\n'
03:03:51.622934 < 8 bytes data, client => server
03:03:51.622957 'PROT C\r\n'
03:03:51.623056 Received DATA (on stdin)
03:03:51.623079 > 26 bytes data, server => client
03:03:51.623095 '500 PROT not implemented\r\n'
03:03:51.624428 < 5 bytes data, client => server
03:03:51.624451 'PWD\r\n'
03:03:51.624554 Received DATA (on stdin)
03:03:51.624577 > 30 bytes data, server => client
03:03:51.624593 '257 "/" is current directory\r\n'
03:03:51.631416 < 7 bytes data, client => server
03:03:51.631440 'CWD a\r\n'
03:03:51.631540 Received DATA (on stdin)
03:03:51.631563 > 29 bytes data, server => client
03:03:51.631579 '250 CWD command successful.\r\n'
03:03:51.633015 < 10 bytes data, client => server
03:03:51.633039 'CWD path\r\n'
03:03:51.633138 Received DATA (on stdin)
03:03:51.633161 > 29 bytes data, server => client
03:03:51.633177 '250 CWD command successful.\r\n'
03:03:51.636500 < 6 bytes data, client => server
03:03:51.636523 'EPSV\r\n'
03:03:51.638612 Received DATA (on stdin)
03:03:51.638648 > 38 bytes data, server => client
03:03:51.638672 '229 Entering Passive Mode (|||42783|)\n'
03:03:51.649620 < 8 bytes data, client => server
03:03:51.649650 'TYPE I\r\n'
03:03:51.649759 Received DATA (on stdin)
03:03:51.649783 > 33 bytes data, server => client
03:03:51.649799 '200 I modify TYPE as you wanted\r\n'
03:03:51.651745 < 10 bytes data, client => server
03:03:51.651768 'SIZE 407\r\n'
03:03:51.651962 Received DATA (on stdin)
03:03:51.651976 > 8 bytes data, server => client
03:03:51.651985 '213 11\r\n'
03:03:51.655655 < 10 bytes data, client => server
03:03:51.655679 'RETR 407\r\n'
03:03:51.655844 Received DATA (on stdin)
03:03:51.655858 > 51 bytes data, server => client
03:03:51.655874 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:51.656060 Received DATA (on stdin)
03:03:51.656088 > 28 bytes data, server => client
03:03:51.656110 '226 File transfer complete\r\n'
03:03:51.738955 < 6 bytes data, client => server
03:03:51.738991 'EPSV\r\n'
03:03:51.741369 Received DATA (on stdin)
03:03:51.741409 > 38 bytes data, server => client
03:03:51.741443 '229 Entering Passive Mode (|||42977|)\n'
03:03:51.744290 < 10 bytes data, client => server
03:03:51.744314 'SIZE 407\r\n'
03:03:51.744555 Received DATA (on stdin)
03:03:51.744593 > 8 bytes data, server => client
03:03:51.744625 '213 11\r\n'
03:03:51.745579 < 10 bytes data, client => server
03:03:51.745602 'RETR 407\r\n'
03:03:51.745771 Received DATA (on stdin)
03:03:51.745814 > 51 bytes data, server => client
03:03:51.745849 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:51.746055 Received DATA (on stdin)
03:03:51.746083 > 28 bytes data, server => client
03:03:51.746104 '226 File transfer complete\r\n'
03:03:51.802130 < 6 bytes data, client => server
03:03:51.802157 'QUIT\r\n'
03:03:51.802275 Received DATA (on stdin)
03:03:51.802298 > 18 bytes data, server => client
03:03:51.802313 '221 bye bye baby\r\n'
03:03:51.808674 ====> Client disconnect
03:03:54.612180 ====> Client connect
03:03:54.612387 Received DATA (on stdin)
03:03:54.612411 > 160 bytes data, server => client
03:03:54.612430 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:54.612447 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:54.612465 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:54.695391 < 16 bytes data, client => server
03:03:54.695426 'USER anonymous\r\n'
03:03:54.695582 Received DATA (on stdin)
03:03:54.695593 > 33 bytes data, server => client
03:03:54.695604 '331 We are happy you popped in!\r\n'
03:03:54.706447 < 22 bytes data, client => server
03:03:54.706472 'PASS ftp@example.com\r\n'
03:03:54.706573 Received DATA (on stdin)
03:03:54.706587 > 30 bytes data, server => client
03:03:54.706602 '230 Welcome you silly person\r\n'
03:03:54.708781 < 8 bytes data, client => server
03:03:54.708805 'PBSZ 0\r\n'
03:03:54.708905 Received DATA (on stdin)
03:03:54.708928 > 26 bytes data, server => client
03:03:54.708944 '500 PBSZ not implemented\r\n'
03:03:54.710180 < 8 bytes data, client => server
03:03:54.710204 'PROT C\r\n'
03:03:54.710302 Received DATA (on stdin)
03:03:54.710325 > 26 bytes data, server => client
03:03:54.710341 '500 PROT not implemented\r\n'
03:03:54.711648 < 5 bytes data, client => server
03:03:54.711671 'PWD\r\n'
03:03:54.711755 Received DATA (on stdin)
03:03:54.711767 > 30 bytes data, server => client
03:03:54.711777 '257 "/" is current directory\r\n'
03:03:54.718682 < 9 bytes data, client => server
03:03:54.718706 'CWD CWD\r\n'
03:03:54.718805 Received DATA (on stdin)
03:03:54.718829 > 29 bytes data, server => client
03:03:54.718845 '250 CWD command successful.\r\n'
03:03:54.720294 < 10 bytes data, client => server
03:03:54.720318 'CWD STOR\r\n'
03:03:54.720417 Received DATA (on stdin)
03:03:54.720440 > 29 bytes data, server => client
03:03:54.720456 '250 CWD command successful.\r\n'
03:03:54.722807 < 10 bytes data, client => server
03:03:54.722830 'CWD RETR\r\n'
03:03:54.722907 Received DATA (on stdin)
03:03:54.722918 > 29 bytes data, server => client
03:03:54.722929 '250 CWD command successful.\r\n'
03:03:54.728586 < 26 bytes data, client => server
03:03:54.728612 'EPRT |1|127.0.0.1|48307|\r\n'
03:03:54.728741 Received DATA (on stdin)
03:03:54.728770 > 50 bytes data, server => client
03:03:54.728788 '200 Thanks for dropping by. We contact you later\r\n'
03:03:54.733088 < 8 bytes data, client => server
03:03:54.733112 'TYPE I\r\n'
03:03:54.733232 Received DATA (on stdin)
03:03:54.733255 > 33 bytes data, server => client
03:03:54.733271 '200 I modify TYPE as you wanted\r\n'
03:03:54.735373 < 10 bytes data, client => server
03:03:54.735396 'STOR 408\r\n'
03:03:54.735508 Received DATA (on stdin)
03:03:54.735524 > 24 bytes data, server => client
03:03:54.735538 '125 Gimme gimme gimme!\r\n'
03:03:54.757907 Received DATA (on stdin)
03:03:54.757930 > 28 bytes data, server => client
03:03:54.757947 '226 File transfer complete\r\n'
03:03:54.801790 < 6 bytes data, client => server
03:03:54.801816 'QUIT\r\n'
03:03:54.801937 Received DATA (on stdin)
03:03:54.801960 > 18 bytes data, server => client
03:03:54.801975 '221 bye bye baby\r\n'
03:03:54.808557 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:42.000334 Running IPv4 version
03:03:42.000413 Listening on port 42341
03:03:42.000442 Wrote pid 30546 to ./.ftp_sockdata.pid
03:03:42.000458 Received PING (on stdin)
03:03:42.000564 Received PORT (on stdin)
03:03:42.008205 ====> Client connect
03:03:42.015440 Received DATA (on stdin)
03:03:42.015466 > 10 bytes data, server => client
03:03:42.015479 'total 20\r\n'
03:03:42.015506 Received DATA (on stdin)
03:03:42.015516 > 57 bytes data, server => client
03:03:42.015528 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:42.015544 Received DATA (on stdin)
03:03:42.015553 > 58 bytes data, server => client
03:03:42.015565 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:42.015578 Received DATA (on stdin)
03:03:42.015587 > 61 bytes data, server => client
03:03:42.015599 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:42.015606 '\n'
03:03:42.015619 Received DATA (on stdin)
03:03:42.015628 > 62 bytes data, server => client
03:03:42.015640 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:42.015647 '\n'
03:03:42.015660 Received DATA (on stdin)
03:03:42.015669 > 70 bytes data, server => client
03:03:42.015681 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:42.015689 'usr/bin\r\n'
03:03:42.015702 Received DATA (on stdin)
03:03:42.015711 > 59 bytes data, server => client
03:03:42.015722 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:42.015736 Received DATA (on stdin)
03:03:42.015745 > 69 bytes data, server => client
03:03:42.015757 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:42.015764 'd.html\r\n'
03:03:42.015778 Received DATA (on stdin)
03:03:42.015787 > 59 bytes data, server => client
03:03:42.015798 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:42.015812 Received DATA (on stdin)
03:03:42.015822 > 59 bytes data, server => client
03:03:42.015833 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:42.015847 Received DATA (on stdin)
03:03:42.015856 > 59 bytes data, server => client
03:03:42.015868 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:42.015881 Received DISC (on stdin)
03:03:42.015892 ====> Client forcibly disconnected
03:03:42.015916 Received QUIT (on stdin)
03:03:42.015925 quits
03:03:42.015940 ============> sockfilt quits
03:03:49.635713 ====> Client connect
03:03:49.635775 Running IPv4 version
03:03:49.635785 Connected to port 47611
03:03:49.635823 Wrote pid 30562 to ./.ftp_sockdata.pid
03:03:49.635839 Received PING (on stdin)
03:03:49.641429 Received DATA (on stdin)
03:03:49.641454 > 10 bytes data, server => client
03:03:49.641468 'total 20\r\n'
03:03:49.641496 Received DATA (on stdin)
03:03:49.641507 > 57 bytes data, server => client
03:03:49.641520 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:49.641536 Received DATA (on stdin)
03:03:49.641546 > 58 bytes data, server => client
03:03:49.641559 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:49.641573 Received DATA (on stdin)
03:03:49.641583 > 61 bytes data, server => client
03:03:49.641595 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:49.641603 '\n'
03:03:49.641616 Received DATA (on stdin)
03:03:49.641626 > 62 bytes data, server => client
03:03:49.641638 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:49.641646 '\n'
03:03:49.641659 Received DATA (on stdin)
03:03:49.641669 > 70 bytes data, server => client
03:03:49.641681 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:49.641689 'usr/bin\r\n'
03:03:49.641703 Received DATA (on stdin)
03:03:49.641713 > 59 bytes data, server => client
03:03:49.641725 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:49.641739 Received DATA (on stdin)
03:03:49.641748 > 69 bytes data, server => client
03:03:49.641761 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:49.641769 'd.html\r\n'
03:03:49.641782 Received DATA (on stdin)
03:03:49.641792 > 59 bytes data, server => client
03:03:49.641811 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:49.641827 Received DATA (on stdin)
03:03:49.641837 > 59 bytes data, server => client
03:03:49.641849 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:49.641863 Received DATA (on stdin)
03:03:49.641872 > 59 bytes data, server => client
03:03:49.641885 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:49.641899 Received DISC (on stdin)
03:03:49.641910 ====> Client forcibly disconnected
03:03:49.641926 disconnected, no socket to read on
03:03:49.641937 Received QUIT (on stdin)
03:03:49.641944 quits
03:03:49.641956 ============> sockfilt quits
03:03:52.638111 Running IPv4 version
03:03:52.638197 Listening on port 42783
03:03:52.638246 Wrote pid 30575 to ./.ftp_sockdata.pid
03:03:52.638269 Received PING (on stdin)
03:03:52.638407 Received PORT (on stdin)
03:03:52.645061 ====> Client connect
03:03:52.655880 Received DATA (on stdin)
03:03:52.655903 > 11 bytes data, server => client
03:03:52.655917 'data blobb\n'
03:03:52.655945 Received DISC (on stdin)
03:03:52.655958 ====> Client forcibly disconnected
03:03:52.655976 Received QUIT (on stdin)
03:03:52.655986 quits
03:03:52.655999 ============> sockfilt quits
03:03:52.740831 Running IPv4 version
03:03:52.740916 Listening on port 42977
03:03:52.740966 Wrote pid 30577 to ./.ftp_sockdata.pid
03:03:52.740991 Received PING (on stdin)
03:03:52.741140 Received PORT (on stdin)
03:03:52.742995 ====> Client connect
03:03:52.745803 Received DATA (on stdin)
03:03:52.745849 > 11 bytes data, server => client
03:03:52.745870 'data blobb\n'
03:03:52.745904 Received DISC (on stdin)
03:03:52.745922 ====> Client forcibly disconnected
03:03:52.745948 Received QUIT (on stdin)
03:03:52.745961 quits
03:03:52.745980 ============> sockfilt quits
03:03:55.730114 ====> Client connect
03:03:55.730176 Running IPv4 version
03:03:55.730185 Connected to port 48307
03:03:55.730222 Wrote pid 30587 to ./.ftp_sockdata.pid
03:03:55.730237 Received PING (on stdin)
03:03:55.749391 < 27 bytes data, client => server
03:03:55.749418 'Moooooooooooo\n upload this\n'
03:03:55.757677 ====> Client disconnect
03:03:55.757726 disconnected, no socket to read on
03:03:55.757852 Received QUIT (on stdin)
03:03:55.757874 quits
03:03:55.757890 ============> 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|48307|
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:53.872705 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:03:53.924568 == Info: Added connection 0. The cache now contains 1 members
03:03:53.941769 == Info: Trying 127.0.0.1...
03:03:53.942363 == Info: TCP_NODELAY set
03:03:53.947593 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:03:53.958613 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:53.959163 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:03:53.960279 == Info: Marked for [keep alive]: FTP default
03:03:55.127165 == Info: successfully set certificate verify locations:
03:03:55.127426 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:55.205857 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:55.211164 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:55.211223 => Send SSL data, 138 bytes (0x8a)
0000: ...........B|u.Z..h.b.A-.F...)Y..[7F]..>...*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:55.228651 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:55.233094 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:55.233155 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...y.vd*Er.f..NJ&K.(.&.z.<.O.a...+ .{...T...2.../.....=.e=7.
0040: B$.!j.../................
03:03:55.277167 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:55.277617 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:55.277673 <= 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:55.376377 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:55.376635 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:55.376691 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.Jh.2@u.`4............U3.\JTj=......`......S.$.......W+.
0040: ={(.u..H........B.Ew.N.Q.".+.....q.........=...>..W...}i.5.)$..y
0080: G.+C...X.J.OsL.W........A..U.V."..:..En..~H.a.H..$...-.`/.q[0%C|
00c0: .xaa....8P.......t.....R..p.....SS..b...(h.p.E....cJ...Y.h.06.M.
0100: K..vb.EB.5K...ah'...X.rV..ea.w..>x,...,2].5.<.h>.0(..T9ZfU/....l
0140: .[...:.v...U_
03:03:55.446496 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:55.446824 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:55.446883 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:55.565112 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:55.565359 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:55.565415 => Send SSL data, 70 bytes (0x46)
0000: ...BA..12...*.GFQhL~.....bP.....v...}60.e|...r.[7F].../D......./$..
0040: 0.....
03:03:55.577874 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:55.578424 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:55.578481 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:55.611046 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:55.611279 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:55.611334 => Send SSL data, 16 bytes (0x10)
0000: ......2..b.nc...
03:03:55.614760 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:55.615906 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:55.615973 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:55.618466 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:55.625735 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:55.625797 <= Recv SSL data, 16 bytes (0x10)
0000: .....DUe.BA...Y}
03:03:55.647397 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:55.649579 == Info: Server certificate:
03:03:55.656908 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:55.663179 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:55.664130 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:55.664964 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:55.665866 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:55.667309 == Info: FTP 0x62f1028 (line 3118) state change from STOP to WAIT220
03:03:55.673480 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:55.682674 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:55.686136 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:55.686330 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:55.686513 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:55.686693 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:55.694013 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:55.696598 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:55.697366 == Info: FTP 0x62f1028 (line 803) state change from WAIT220 to USER
03:03:55.698071 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626e7a8; line 1631 (connection #0)
03:03:55.704341 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:55.705009 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:55.706263 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:55.706383 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:55.706754 == Info: FTP 0x62f1028 (line 2546) state change from USER to PASS
03:03:55.707762 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:55.707923 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:55.708598 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:55.708717 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:55.709040 == Info: FTP 0x62f1028 (line 2522) state change from PASS to PBSZ
03:03:55.709333 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:55.709472 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:55.710000 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:55.710116 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:55.710438 == Info: FTP 0x62f1028 (line 2735) state change from PBSZ to PROT
03:03:55.710678 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:55.710816 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:55.711469 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:55.711585 => Send header, 5 bytes (0x5)
0000: PWD
03:03:55.711895 == Info: FTP 0x62f1028 (line 815) state change from PROT to PWD
03:03:55.712225 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:55.712364 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:55.713464 == Info: Entry path is '/'
03:03:55.713684 == Info: FTP 0x62f1028 (line 2870) state change from PWD to STOP
03:03:55.713847 == Info: protocol connect phase DONE
03:03:55.714186 == Info: STATE: PROTOCONNECT => DO handle 0x626e7a8; line 1652 (connection #0)
03:03:55.717445 == Info: DO phase starts
03:03:55.718498 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:55.718617 => Send header, 9 bytes (0x9)
0000: CWD CWD
03:03:55.718948 == Info: FTP 0x62f1028 (line 911) state change from STOP to CWD
03:03:55.719352 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:55.719499 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:03:55.720113 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:55.720230 => Send header, 10 bytes (0xa)
0000: CWD STOR
03:03:55.720552 == Info: ftp_perform ends with SECONDARY: 0
03:03:55.721294 == Info: STATE: DO => DOING handle 0x626e7a8; line 1701 (connection #0)
03:03:55.722100 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:55.722243 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:03:55.722627 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:55.722740 => Send header, 10 bytes (0xa)
0000: CWD RETR
03:03:55.723320 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:55.723459 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:03:55.728396 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:03:55.728519 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|48307|
03:03:55.729087 == Info: FTP 0x62f1028 (line 1309) state change from CWD to PORT
03:03:55.729613 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:03:55.729969 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:03:55.730489 == Info: Connect data stream actively
03:03:55.730693 == Info: FTP 0x62f1028 (line 2037) state change from PORT to STOP
03:03:55.731333 == Info: DO phase is complete2
03:03:55.731589 == Info: STATE: DOING => DO_MORE handle 0x626e7a8; line 1785 (connection #0)
03:03:55.732901 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:55.733022 => Send header, 8 bytes (0x8)
0000: TYPE I
03:03:55.733359 == Info: FTP 0x62f1028 (line 3444) state change from STOP to STOR_TYPE
03:03:55.733733 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:55.733875 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:55.735191 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:55.735308 => Send header, 10 bytes (0xa)
0000: STOR 408
03:03:55.735644 == Info: FTP 0x62f1028 (line 1677) state change from STOR_TYPE to STOR
03:03:55.737055 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:03:55.737198 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:03:55.737704 == Info: FTP 0x62f1028 (line 2356) state change from STOR to STOP
03:03:55.737885 == Info: Preparing for accepting server on data port
03:03:55.738921 == Info: Checking for server connect
03:03:55.739753 == Info: Ready to accept data connection from server
03:03:55.741482 == Info: Connection accepted from server
03:03:55.744027 == Info: STATE: DO_MORE => DO_DONE handle 0x626e7a8; line 1811 (connection #0)
03:03:55.745060 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:03:55.745820 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:03:55.749887 => Send data, 27 bytes (0x1b)
0000: Moooooooooooo. upload this.
03:03:55.750415 == Info: We are completely uploaded and fine
03:03:55.753963 == Info: STATE: PERFORM => DONE handle 0x626e7a8; line 2050 (connection #0)
03:03:55.754484 == Info: multi_done
03:03:55.756481 == Info: Remembering we are in dir "CWD/STOR/RETR/"
03:03:55.776723 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:55.776941 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:03:55.785859 == 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
==30580== Invalid read of size 8
==30580== at 0x5E755A5: check_free (dlerror.c:188)
==30580== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30580== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30580== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30580== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30580== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30580== by 0x559BF79: exit (exit.c:139)
==30580== by 0x55860A1: (below main) (libc-start.c:342)
==30580== Address 0x66b1e60 is 0 bytes after a block of size 32 alloc'd
==30580== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30580== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30580== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30580== by 0x4DD1E85: err_get_state (err.c:210)
==30580== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30580== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30580== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30580== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30580== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30580== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30580== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30580== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30580== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30580== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30580== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30580== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30580==
==30580== Invalid free() / delete / delete[] / realloc()
==30580== at 0x48369AB: free (vg_replace_malloc.c:530)
==30580== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30580== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30580== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30580== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30580== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30580== by 0x559BF79: exit (exit.c:139)
==30580== by 0x55860A1: (below main) (libc-start.c:342)
==30580== Address 0x66b1e48 is 8 bytes inside a block of size 32 alloc'd
==30580== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30580== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30580== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30580== by 0x4DD1E85: err_get_state (err.c:210)
==30580== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30580== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30580== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30580== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30580== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30580== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30580== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30580== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30580== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30580== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30580== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30580== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30580==
==30580== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30580== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30580== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30580== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30580== by 0x4DD1E85: err_get_state (err.c:210)
==30580== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30580== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30580== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30580== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30580== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30580== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30580== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30580== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30580== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30580== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30580== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30580== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30580==
=== End of file valgrind408
test 0409...[FTPS PASV upload file]
goto problem 30
valgrind ERROR ==30590== Invalid read of size 8
==30590== at 0x5E755A5: check_free (dlerror.c:188)
==30590== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30590== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30590== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30590== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30590== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30590== by 0x559BF79: exit (exit.c:139)
==30590== by 0x55860A1: (below main) (libc-start.c:342)
==30590== Address 0x66b1470 is 0 bytes after a block of size 32 alloc'd
==30590== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30590== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30590== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30590== by 0x4DD1E85: err_get_state (err.c:210)
==30590== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30590== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30590== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30590== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30590== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30590== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30590== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30590== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30590== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30590== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30590== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30590== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30590==
==30590== Invalid free() / delete / delete[] / realloc()
==30590== at 0x48369AB: free (vg_replace_malloc.c:530)
==30590== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30590== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30590== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30590== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30590== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30590== by 0x559BF79: exit (exit.c:139)
==30590== by 0x55860A1: (below main) (libc-start.c:342)
==30590== Address 0x66b1458 is 8 bytes inside a block of size 32 alloc'd
==30590== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30590== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30590== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30590== by 0x4DD1E85: err_get_state (err.c:210)
==30590== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30590== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30590== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30590== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30590== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30590== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30590== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30590== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30590== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30590== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30590== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30590== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30590==
==30590== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30590== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30590== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30590== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30590== by 0x4DD1E85: err_get_state (err.c:210)
==30590== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30590== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30590== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30590== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30590== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30590== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30590== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30590== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30590== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30590== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30590== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30590== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30590==
== Contents of files in the log/ dir after test 409
=== Start of file ftp_server.log
03:03:42.682602 ====> Client connect
03:03:42.682709 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:42.763331 < "USER anonymous"
03:03:42.763378 > "331 We are happy you popped in![CR][LF]"
03:03:42.774444 < "PASS ftp@example.com"
03:03:42.774477 > "230 Welcome you silly person[CR][LF]"
03:03:42.776767 < "PBSZ 0"
03:03:42.776798 > "500 PBSZ not implemented[CR][LF]"
03:03:42.778169 < "PROT C"
03:03:42.778199 > "500 PROT not implemented[CR][LF]"
03:03:42.779582 < "CCC"
03:03:42.779605 CCC wasn't handled
03:03:42.779627 > "500 CCC is not dealt with![CR][LF]"
03:03:42.780990 < "PWD"
03:03:42.781027 > "257 "/" is current directory[CR][LF]"
03:03:42.787554 < "EPSV"
03:03:42.787582 ====> Passive DATA channel requested by client
03:03:42.787594 DATA sockfilt for passive data channel starting...
03:03:42.789177 DATA sockfilt for passive data channel started (pid 30545)
03:03:42.789325 DATA sockfilt for passive data channel listens on port 42341
03:03:42.789364 > "229 Entering Passive Mode (|||42341|)[LF]"
03:03:42.789379 Client has been notified that DATA conn will be accepted on port 42341
03:03:42.796941 Client connects to port 42341
03:03:42.796983 ====> Client established passive DATA connection on port 42341
03:03:42.801910 < "TYPE A"
03:03:42.801946 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:42.804016 < "LIST"
03:03:42.804045 > "150 here comes a directory[CR][LF]"
03:03:42.804068 pass LIST data on data connection
03:03:42.804144 =====> Closing passive DATA connection...
03:03:42.804163 Server disconnects passive DATA connection
03:03:42.804626 DATA sockfilt for passive data channel quits (pid 30546)
03:03:42.804644 =====> Closed passive DATA connection
03:03:42.804669 > "226 ASCII transfer complete[CR][LF]"
03:03:42.872779 < "QUIT"
03:03:42.872822 > "221 bye bye baby[CR][LF]"
03:03:42.879484 MAIN sockfilt said DISC
03:03:42.879526 ====> Client disconnected
03:03:42.879587 Awaiting input
03:03:45.169035 ====> Client connect
03:03:45.169135 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:46.545098 MAIN sockfilt said DISC
03:03:46.545148 ====> Client disconnected
03:03:46.545189 Awaiting input
03:03:49.304658 ====> Client connect
03:03:49.304769 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:49.386294 < "USER anonymous"
03:03:49.386340 > "331 We are happy you popped in![CR][LF]"
03:03:49.397339 < "PASS ftp@example.com"
03:03:49.397372 > "230 Welcome you silly person[CR][LF]"
03:03:49.399638 < "PBSZ 0"
03:03:49.399670 > "500 PBSZ not implemented[CR][LF]"
03:03:49.401098 < "PROT C"
03:03:49.401129 > "500 PROT not implemented[CR][LF]"
03:03:49.402589 < "PWD"
03:03:49.402625 > "257 "/" is current directory[CR][LF]"
03:03:49.422891 < "EPRT |1|127.0.0.1|47611|"
03:03:49.422921 ====> Active DATA channel requested by client
03:03:49.422949 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:49.422972 DATA sockfilt for active data channel starting...
03:03:49.424541 DATA sockfilt for active data channel started (pid 30561)
03:03:49.424568 ====> Active DATA channel connected to client port 47611
03:03:49.427758 < "TYPE A"
03:03:49.427798 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:49.429983 < "LIST"
03:03:49.430013 > "150 here comes a directory[CR][LF]"
03:03:49.430043 pass LIST data on data connection
03:03:49.430128 =====> Closing active DATA connection...
03:03:49.430144 Server disconnects active DATA connection
03:03:49.430646 DATA sockfilt for active data channel quits (pid 30562)
03:03:49.430672 =====> Closed active DATA connection
03:03:49.430698 > "226 ASCII transfer complete[CR][LF]"
03:03:49.497125 < "QUIT"
03:03:49.497164 > "221 bye bye baby[CR][LF]"
03:03:49.503831 MAIN sockfilt said DISC
03:03:49.503869 ====> Client disconnected
03:03:49.503911 Awaiting input
03:03:52.316533 ====> Client connect
03:03:52.316635 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:52.397003 < "USER anonymous"
03:03:52.397051 > "331 We are happy you popped in![CR][LF]"
03:03:52.407981 < "PASS ftp@example.com"
03:03:52.408013 > "230 Welcome you silly person[CR][LF]"
03:03:52.410287 < "PBSZ 0"
03:03:52.410317 > "500 PBSZ not implemented[CR][LF]"
03:03:52.411681 < "PROT C"
03:03:52.411711 > "500 PROT not implemented[CR][LF]"
03:03:52.413174 < "PWD"
03:03:52.413209 > "257 "/" is current directory[CR][LF]"
03:03:52.420163 < "CWD a"
03:03:52.420194 > "250 CWD command successful.[CR][LF]"
03:03:52.421762 < "CWD path"
03:03:52.421793 > "250 CWD command successful.[CR][LF]"
03:03:52.425247 < "EPSV"
03:03:52.425278 ====> Passive DATA channel requested by client
03:03:52.425291 DATA sockfilt for passive data channel starting...
03:03:52.427003 DATA sockfilt for passive data channel started (pid 30574)
03:03:52.427208 DATA sockfilt for passive data channel listens on port 42783
03:03:52.427269 > "229 Entering Passive Mode (|||42783|)[LF]"
03:03:52.427292 Client has been notified that DATA conn will be accepted on port 42783
03:03:52.433792 Client connects to port 42783
03:03:52.433830 ====> Client established passive DATA connection on port 42783
03:03:52.438381 < "TYPE I"
03:03:52.438415 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:52.440485 < "SIZE 407"
03:03:52.440638 > "213 11[CR][LF]"
03:03:52.444403 < "RETR 407"
03:03:52.444505 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:52.444555 =====> Closing passive DATA connection...
03:03:52.444569 Server disconnects passive DATA connection
03:03:52.444669 DATA sockfilt for passive data channel quits (pid 30575)
03:03:52.444693 =====> Closed passive DATA connection
03:03:52.444715 > "226 File transfer complete[CR][LF]"
03:03:52.527751 < "EPSV"
03:03:52.527786 ====> Passive DATA channel requested by client
03:03:52.527799 DATA sockfilt for passive data channel starting...
03:03:52.529725 DATA sockfilt for passive data channel started (pid 30576)
03:03:52.529964 DATA sockfilt for passive data channel listens on port 42977
03:03:52.530030 > "229 Entering Passive Mode (|||42977|)[LF]"
03:03:52.530054 Client has been notified that DATA conn will be accepted on port 42977
03:03:52.531725 Client connects to port 42977
03:03:52.531762 ====> Client established passive DATA connection on port 42977
03:03:52.533055 < "SIZE 407"
03:03:52.533218 > "213 11[CR][LF]"
03:03:52.534326 < "RETR 407"
03:03:52.534427 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:52.534498 =====> Closing passive DATA connection...
03:03:52.534530 Server disconnects passive DATA connection
03:03:52.534650 DATA sockfilt for passive data channel quits (pid 30577)
03:03:52.534685 =====> Closed passive DATA connection
03:03:52.534707 > "226 File transfer complete[CR][LF]"
03:03:52.590892 < "QUIT"
03:03:52.590930 > "221 bye bye baby[CR][LF]"
03:03:52.597403 MAIN sockfilt said DISC
03:03:52.597443 ====> Client disconnected
03:03:52.597499 Awaiting input
03:03:55.400924 ====> Client connect
03:03:55.401056 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:55.484215 < "USER anonymous"
03:03:55.484261 > "331 We are happy you popped in![CR][LF]"
03:03:55.495202 < "PASS ftp@example.com"
03:03:55.495234 > "230 Welcome you silly person[CR][LF]"
03:03:55.497529 < "PBSZ 0"
03:03:55.497560 > "500 PBSZ not implemented[CR][LF]"
03:03:55.498927 < "PROT C"
03:03:55.498957 > "500 PROT not implemented[CR][LF]"
03:03:55.500395 < "PWD"
03:03:55.500431 > "257 "/" is current directory[CR][LF]"
03:03:55.507428 < "CWD CWD"
03:03:55.507460 > "250 CWD command successful.[CR][LF]"
03:03:55.509042 < "CWD STOR"
03:03:55.509072 > "250 CWD command successful.[CR][LF]"
03:03:55.511553 < "CWD RETR"
03:03:55.511583 > "250 CWD command successful.[CR][LF]"
03:03:55.517338 < "EPRT |1|127.0.0.1|48307|"
03:03:55.517369 ====> Active DATA channel requested by client
03:03:55.517396 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:55.517413 DATA sockfilt for active data channel starting...
03:03:55.518959 DATA sockfilt for active data channel started (pid 30586)
03:03:55.518995 ====> Active DATA channel connected to client port 48307
03:03:55.521851 < "TYPE I"
03:03:55.521890 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:55.524120 < "STOR 408"
03:03:55.524147 STOR test number 408 in log/upload.408
03:03:55.524168 > "125 Gimme gimme gimme![CR][LF]"
03:03:55.538124 > Appending 27 bytes to file
03:03:55.546466 =====> Closing active DATA connection...
03:03:55.546487 Server knows active DATA connection is already disconnected
03:03:55.546530 DATA sockfilt for active data channel quits (pid 30587)
03:03:55.546544 =====> Closed active DATA connection
03:03:55.546559 received 27 bytes upload
03:03:55.546580 > "226 File transfer complete[CR][LF]"
03:03:55.590555 < "QUIT"
03:03:55.590591 > "221 bye bye baby[CR][LF]"
03:03:55.597295 MAIN sockfilt said DISC
03:03:55.597328 ====> Client disconnected
03:03:55.597372 Awaiting input
03:03:58.408092 ====> Client connect
03:03:58.408200 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:58.488296 < "USER anonymous"
03:03:58.488343 > "331 We are happy you popped in![CR][LF]"
03:03:58.499334 < "PASS ftp@example.com"
03:03:58.499367 > "230 Welcome you silly person[CR][LF]"
03:03:58.501676 < "PBSZ 0"
03:03:58.501707 > "500 PBSZ not implemented[CR][LF]"
03:03:58.503071 < "PROT C"
03:03:58.503102 > "500 PROT not implemented[CR][LF]"
03:03:58.504538 < "PWD"
03:03:58.504574 > "257 "/" is current directory[CR][LF]"
03:03:58.511752 < "EPSV"
03:03:58.511782 ====> Passive DATA channel requested by client
03:03:58.511795 DATA sockfilt for passive data channel starting...
03:03:58.513307 DATA sockfilt for passive data channel started (pid 30592)
03:03:58.513467 DATA sockfilt for passive data channel listens on port 41029
03:03:58.513514 > "229 Entering Passive Mode (|||41029|)[LF]"
03:03:58.513535 Client has been notified that DATA conn will be accepted on port 41029
03:03:58.520837 Client connects to port 41029
03:03:58.520877 ====> Client established passive DATA connection on port 41029
03:03:58.525477 < "TYPE I"
03:03:58.525514 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:58.527728 < "STOR 409"
03:03:58.527751 STOR test number 409 in log/upload.409
03:03:58.527772 > "125 Gimme gimme gimme![CR][LF]"
03:03:58.537830 > Appending 51 bytes to file
03:03:58.546691 =====> Closing passive DATA connection...
03:03:58.546712 Server knows passive DATA connection is already disconnected
03:03:58.546758 DATA sockfilt for passive data channel quits (pid 30593)
03:03:58.546773 =====> Closed passive DATA connection
03:03:58.546788 received 51 bytes upload
03:03:58.546810 > "226 File transfer complete[CR][LF]"
03:03:58.600554 < "QUIT"
03:03:58.600590 > "221 bye bye baby[CR][LF]"
03:03:58.607240 MAIN sockfilt said DISC
03:03:58.607274 ====> Client disconnected
03:03:58.607314 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:41.893819 ====> Client connect
03:03:41.894031 Received DATA (on stdin)
03:03:41.894056 > 160 bytes data, server => client
03:03:41.894076 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:41.894095 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:41.894111 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:41.974502 < 16 bytes data, client => server
03:03:41.974541 'USER anonymous\r\n'
03:03:41.974720 Received DATA (on stdin)
03:03:41.974744 > 33 bytes data, server => client
03:03:41.974759 '331 We are happy you popped in!\r\n'
03:03:41.985691 < 22 bytes data, client => server
03:03:41.985715 'PASS ftp@example.com\r\n'
03:03:41.985822 Received DATA (on stdin)
03:03:41.985845 > 30 bytes data, server => client
03:03:41.985861 '230 Welcome you silly person\r\n'
03:03:41.988014 < 8 bytes data, client => server
03:03:41.988037 'PBSZ 0\r\n'
03:03:41.988144 Received DATA (on stdin)
03:03:41.988167 > 26 bytes data, server => client
03:03:41.988182 '500 PBSZ not implemented\r\n'
03:03:41.989421 < 8 bytes data, client => server
03:03:41.989444 'PROT C\r\n'
03:03:41.989545 Received DATA (on stdin)
03:03:41.989568 > 26 bytes data, server => client
03:03:41.989583 '500 PROT not implemented\r\n'
03:03:41.990835 < 5 bytes data, client => server
03:03:41.990858 'CCC\r\n'
03:03:41.990974 Received DATA (on stdin)
03:03:41.990997 > 28 bytes data, server => client
03:03:41.991012 '500 CCC is not dealt with!\r\n'
03:03:41.992243 < 5 bytes data, client => server
03:03:41.992266 'PWD\r\n'
03:03:41.992373 Received DATA (on stdin)
03:03:41.992396 > 30 bytes data, server => client
03:03:41.992411 '257 "/" is current directory\r\n'
03:03:41.998803 < 6 bytes data, client => server
03:03:41.998826 'EPSV\r\n'
03:03:42.000708 Received DATA (on stdin)
03:03:42.000732 > 38 bytes data, server => client
03:03:42.000748 '229 Entering Passive Mode (|||42341|)\n'
03:03:42.013148 < 8 bytes data, client => server
03:03:42.013174 'TYPE A\r\n'
03:03:42.013290 Received DATA (on stdin)
03:03:42.013313 > 33 bytes data, server => client
03:03:42.013329 '200 I modify TYPE as you wanted\r\n'
03:03:42.015288 < 6 bytes data, client => server
03:03:42.015311 'LIST\r\n'
03:03:42.015389 Received DATA (on stdin)
03:03:42.015413 > 28 bytes data, server => client
03:03:42.015428 '150 here comes a directory\r\n'
03:03:42.015999 Received DATA (on stdin)
03:03:42.016024 > 29 bytes data, server => client
03:03:42.016038 '226 ASCII transfer complete\r\n'
03:03:42.083996 < 6 bytes data, client => server
03:03:42.084048 'QUIT\r\n'
03:03:42.084166 Received DATA (on stdin)
03:03:42.084189 > 18 bytes data, server => client
03:03:42.084204 '221 bye bye baby\r\n'
03:03:42.090756 ====> Client disconnect
03:03:44.380276 ====> Client connect
03:03:44.380473 Received DATA (on stdin)
03:03:44.380496 > 160 bytes data, server => client
03:03:44.380513 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:44.380529 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:44.380541 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:45.662407 < 143 bytes data, client => server
03:03:45.662447 '.............ND>.|f..........p....f....fb....*.+./.,.0..... .'
03:03:45.662462 '#...'.\n.$...(...../.<.5.=.\n...3..........\r................'
03:03:45.662472 '.......[0B].....\n..........'
03:03:45.680024 < 7 bytes data, client => server
03:03:45.680048 '......F'
03:03:45.756341 ====> Client disconnect
03:03:48.515900 ====> Client connect
03:03:48.516108 Received DATA (on stdin)
03:03:48.516133 > 160 bytes data, server => client
03:03:48.516151 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:48.516166 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:48.516178 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:48.597467 < 16 bytes data, client => server
03:03:48.597503 'USER anonymous\r\n'
03:03:48.597684 Received DATA (on stdin)
03:03:48.597709 > 33 bytes data, server => client
03:03:48.597724 '331 We are happy you popped in!\r\n'
03:03:48.608582 < 22 bytes data, client => server
03:03:48.608614 'PASS ftp@example.com\r\n'
03:03:48.608717 Received DATA (on stdin)
03:03:48.608740 > 30 bytes data, server => client
03:03:48.608755 '230 Welcome you silly person\r\n'
03:03:48.610892 < 8 bytes data, client => server
03:03:48.610924 'PBSZ 0\r\n'
03:03:48.610994 Received DATA (on stdin)
03:03:48.611013 > 26 bytes data, server => client
03:03:48.611030 '500 PBSZ not implemented\r\n'
03:03:48.612360 < 8 bytes data, client => server
03:03:48.612389 'PROT C\r\n'
03:03:48.612452 Received DATA (on stdin)
03:03:48.612471 > 26 bytes data, server => client
03:03:48.612487 '500 PROT not implemented\r\n'
03:03:48.613854 < 5 bytes data, client => server
03:03:48.613882 'PWD\r\n'
03:03:48.613949 Received DATA (on stdin)
03:03:48.613967 > 30 bytes data, server => client
03:03:48.613984 '257 "/" is current directory\r\n'
03:03:48.634150 < 26 bytes data, client => server
03:03:48.634183 'EPRT |1|127.0.0.1|47611|\r\n'
03:03:48.634273 Received DATA (on stdin)
03:03:48.634291 > 50 bytes data, server => client
03:03:48.634312 '200 Thanks for dropping by. We contact you later\r\n'
03:03:48.639006 < 8 bytes data, client => server
03:03:48.639036 'TYPE A\r\n'
03:03:48.639116 Received DATA (on stdin)
03:03:48.639135 > 33 bytes data, server => client
03:03:48.639152 '200 I modify TYPE as you wanted\r\n'
03:03:48.641248 < 6 bytes data, client => server
03:03:48.641276 'LIST\r\n'
03:03:48.641337 Received DATA (on stdin)
03:03:48.641356 > 28 bytes data, server => client
03:03:48.641373 '150 here comes a directory\r\n'
03:03:48.642022 Received DATA (on stdin)
03:03:48.642042 > 29 bytes data, server => client
03:03:48.642059 '226 ASCII transfer complete\r\n'
03:03:48.708355 < 6 bytes data, client => server
03:03:48.708393 'QUIT\r\n'
03:03:48.708486 Received DATA (on stdin)
03:03:48.708505 > 18 bytes data, server => client
03:03:48.708522 '221 bye bye baby\r\n'
03:03:48.715121 ====> Client disconnect
03:03:51.527766 ====> Client connect
03:03:51.527954 Received DATA (on stdin)
03:03:51.527973 > 160 bytes data, server => client
03:03:51.527993 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:51.528018 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:51.528035 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:51.608172 < 16 bytes data, client => server
03:03:51.608211 'USER anonymous\r\n'
03:03:51.608393 Received DATA (on stdin)
03:03:51.608417 > 33 bytes data, server => client
03:03:51.608433 '331 We are happy you popped in!\r\n'
03:03:51.619228 < 22 bytes data, client => server
03:03:51.619253 'PASS ftp@example.com\r\n'
03:03:51.619358 Received DATA (on stdin)
03:03:51.619381 > 30 bytes data, server => client
03:03:51.619396 '230 Welcome you silly person\r\n'
03:03:51.621539 < 8 bytes data, client => server
03:03:51.621563 'PBSZ 0\r\n'
03:03:51.621663 Received DATA (on stdin)
03:03:51.621686 > 26 bytes data, server => client
03:03:51.621702 '500 PBSZ not implemented\r\n'
03:03:51.622934 < 8 bytes data, client => server
03:03:51.622957 'PROT C\r\n'
03:03:51.623056 Received DATA (on stdin)
03:03:51.623079 > 26 bytes data, server => client
03:03:51.623095 '500 PROT not implemented\r\n'
03:03:51.624428 < 5 bytes data, client => server
03:03:51.624451 'PWD\r\n'
03:03:51.624554 Received DATA (on stdin)
03:03:51.624577 > 30 bytes data, server => client
03:03:51.624593 '257 "/" is current directory\r\n'
03:03:51.631416 < 7 bytes data, client => server
03:03:51.631440 'CWD a\r\n'
03:03:51.631540 Received DATA (on stdin)
03:03:51.631563 > 29 bytes data, server => client
03:03:51.631579 '250 CWD command successful.\r\n'
03:03:51.633015 < 10 bytes data, client => server
03:03:51.633039 'CWD path\r\n'
03:03:51.633138 Received DATA (on stdin)
03:03:51.633161 > 29 bytes data, server => client
03:03:51.633177 '250 CWD command successful.\r\n'
03:03:51.636500 < 6 bytes data, client => server
03:03:51.636523 'EPSV\r\n'
03:03:51.638612 Received DATA (on stdin)
03:03:51.638648 > 38 bytes data, server => client
03:03:51.638672 '229 Entering Passive Mode (|||42783|)\n'
03:03:51.649620 < 8 bytes data, client => server
03:03:51.649650 'TYPE I\r\n'
03:03:51.649759 Received DATA (on stdin)
03:03:51.649783 > 33 bytes data, server => client
03:03:51.649799 '200 I modify TYPE as you wanted\r\n'
03:03:51.651745 < 10 bytes data, client => server
03:03:51.651768 'SIZE 407\r\n'
03:03:51.651962 Received DATA (on stdin)
03:03:51.651976 > 8 bytes data, server => client
03:03:51.651985 '213 11\r\n'
03:03:51.655655 < 10 bytes data, client => server
03:03:51.655679 'RETR 407\r\n'
03:03:51.655844 Received DATA (on stdin)
03:03:51.655858 > 51 bytes data, server => client
03:03:51.655874 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:51.656060 Received DATA (on stdin)
03:03:51.656088 > 28 bytes data, server => client
03:03:51.656110 '226 File transfer complete\r\n'
03:03:51.738955 < 6 bytes data, client => server
03:03:51.738991 'EPSV\r\n'
03:03:51.741369 Received DATA (on stdin)
03:03:51.741409 > 38 bytes data, server => client
03:03:51.741443 '229 Entering Passive Mode (|||42977|)\n'
03:03:51.744290 < 10 bytes data, client => server
03:03:51.744314 'SIZE 407\r\n'
03:03:51.744555 Received DATA (on stdin)
03:03:51.744593 > 8 bytes data, server => client
03:03:51.744625 '213 11\r\n'
03:03:51.745579 < 10 bytes data, client => server
03:03:51.745602 'RETR 407\r\n'
03:03:51.745771 Received DATA (on stdin)
03:03:51.745814 > 51 bytes data, server => client
03:03:51.745849 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:51.746055 Received DATA (on stdin)
03:03:51.746083 > 28 bytes data, server => client
03:03:51.746104 '226 File transfer complete\r\n'
03:03:51.802130 < 6 bytes data, client => server
03:03:51.802157 'QUIT\r\n'
03:03:51.802275 Received DATA (on stdin)
03:03:51.802298 > 18 bytes data, server => client
03:03:51.802313 '221 bye bye baby\r\n'
03:03:51.808674 ====> Client disconnect
03:03:54.612180 ====> Client connect
03:03:54.612387 Received DATA (on stdin)
03:03:54.612411 > 160 bytes data, server => client
03:03:54.612430 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:54.612447 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:54.612465 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:54.695391 < 16 bytes data, client => server
03:03:54.695426 'USER anonymous\r\n'
03:03:54.695582 Received DATA (on stdin)
03:03:54.695593 > 33 bytes data, server => client
03:03:54.695604 '331 We are happy you popped in!\r\n'
03:03:54.706447 < 22 bytes data, client => server
03:03:54.706472 'PASS ftp@example.com\r\n'
03:03:54.706573 Received DATA (on stdin)
03:03:54.706587 > 30 bytes data, server => client
03:03:54.706602 '230 Welcome you silly person\r\n'
03:03:54.708781 < 8 bytes data, client => server
03:03:54.708805 'PBSZ 0\r\n'
03:03:54.708905 Received DATA (on stdin)
03:03:54.708928 > 26 bytes data, server => client
03:03:54.708944 '500 PBSZ not implemented\r\n'
03:03:54.710180 < 8 bytes data, client => server
03:03:54.710204 'PROT C\r\n'
03:03:54.710302 Received DATA (on stdin)
03:03:54.710325 > 26 bytes data, server => client
03:03:54.710341 '500 PROT not implemented\r\n'
03:03:54.711648 < 5 bytes data, client => server
03:03:54.711671 'PWD\r\n'
03:03:54.711755 Received DATA (on stdin)
03:03:54.711767 > 30 bytes data, server => client
03:03:54.711777 '257 "/" is current directory\r\n'
03:03:54.718682 < 9 bytes data, client => server
03:03:54.718706 'CWD CWD\r\n'
03:03:54.718805 Received DATA (on stdin)
03:03:54.718829 > 29 bytes data, server => client
03:03:54.718845 '250 CWD command successful.\r\n'
03:03:54.720294 < 10 bytes data, client => server
03:03:54.720318 'CWD STOR\r\n'
03:03:54.720417 Received DATA (on stdin)
03:03:54.720440 > 29 bytes data, server => client
03:03:54.720456 '250 CWD command successful.\r\n'
03:03:54.722807 < 10 bytes data, client => server
03:03:54.722830 'CWD RETR\r\n'
03:03:54.722907 Received DATA (on stdin)
03:03:54.722918 > 29 bytes data, server => client
03:03:54.722929 '250 CWD command successful.\r\n'
03:03:54.728586 < 26 bytes data, client => server
03:03:54.728612 'EPRT |1|127.0.0.1|48307|\r\n'
03:03:54.728741 Received DATA (on stdin)
03:03:54.728770 > 50 bytes data, server => client
03:03:54.728788 '200 Thanks for dropping by. We contact you later\r\n'
03:03:54.733088 < 8 bytes data, client => server
03:03:54.733112 'TYPE I\r\n'
03:03:54.733232 Received DATA (on stdin)
03:03:54.733255 > 33 bytes data, server => client
03:03:54.733271 '200 I modify TYPE as you wanted\r\n'
03:03:54.735373 < 10 bytes data, client => server
03:03:54.735396 'STOR 408\r\n'
03:03:54.735508 Received DATA (on stdin)
03:03:54.735524 > 24 bytes data, server => client
03:03:54.735538 '125 Gimme gimme gimme!\r\n'
03:03:54.757907 Received DATA (on stdin)
03:03:54.757930 > 28 bytes data, server => client
03:03:54.757947 '226 File transfer complete\r\n'
03:03:54.801790 < 6 bytes data, client => server
03:03:54.801816 'QUIT\r\n'
03:03:54.801937 Received DATA (on stdin)
03:03:54.801960 > 18 bytes data, server => client
03:03:54.801975 '221 bye bye baby\r\n'
03:03:54.808557 ====> Client disconnect
03:03:57.619333 ====> Client connect
03:03:57.619539 Received DATA (on stdin)
03:03:57.619562 > 160 bytes data, server => client
03:03:57.619580 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:57.619595 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:57.619608 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:57.699465 < 16 bytes data, client => server
03:03:57.699504 'USER anonymous\r\n'
03:03:57.699686 Received DATA (on stdin)
03:03:57.699709 > 33 bytes data, server => client
03:03:57.699725 '331 We are happy you popped in!\r\n'
03:03:57.710583 < 22 bytes data, client => server
03:03:57.710607 'PASS ftp@example.com\r\n'
03:03:57.710712 Received DATA (on stdin)
03:03:57.710735 > 30 bytes data, server => client
03:03:57.710751 '230 Welcome you silly person\r\n'
03:03:57.712928 < 8 bytes data, client => server
03:03:57.712951 'PBSZ 0\r\n'
03:03:57.713052 Received DATA (on stdin)
03:03:57.713076 > 26 bytes data, server => client
03:03:57.713091 '500 PBSZ not implemented\r\n'
03:03:57.714324 < 8 bytes data, client => server
03:03:57.714347 'PROT C\r\n'
03:03:57.714447 Received DATA (on stdin)
03:03:57.714470 > 26 bytes data, server => client
03:03:57.714486 '500 PROT not implemented\r\n'
03:03:57.715795 < 5 bytes data, client => server
03:03:57.715818 'PWD\r\n'
03:03:57.715898 Received DATA (on stdin)
03:03:57.715910 > 30 bytes data, server => client
03:03:57.715920 '257 "/" is current directory\r\n'
03:03:57.723005 < 6 bytes data, client => server
03:03:57.723028 'EPSV\r\n'
03:03:57.724835 Received DATA (on stdin)
03:03:57.724858 > 38 bytes data, server => client
03:03:57.724879 '229 Entering Passive Mode (|||41029|)\n'
03:03:57.736724 < 8 bytes data, client => server
03:03:57.736754 'TYPE I\r\n'
03:03:57.736836 Received DATA (on stdin)
03:03:57.736854 > 33 bytes data, server => client
03:03:57.736872 '200 I modify TYPE as you wanted\r\n'
03:03:57.738993 < 10 bytes data, client => server
03:03:57.739021 'STOR 409\r\n'
03:03:57.739096 Received DATA (on stdin)
03:03:57.739114 > 24 bytes data, server => client
03:03:57.739142 '125 Gimme gimme gimme!\r\n'
03:03:57.758135 Received DATA (on stdin)
03:03:57.758155 > 28 bytes data, server => client
03:03:57.758171 '226 File transfer complete\r\n'
03:03:57.811797 < 6 bytes data, client => server
03:03:57.811830 'QUIT\r\n'
03:03:57.811913 Received DATA (on stdin)
03:03:57.811932 > 18 bytes data, server => client
03:03:57.811947 '221 bye bye baby\r\n'
03:03:57.818532 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:42.000334 Running IPv4 version
03:03:42.000413 Listening on port 42341
03:03:42.000442 Wrote pid 30546 to ./.ftp_sockdata.pid
03:03:42.000458 Received PING (on stdin)
03:03:42.000564 Received PORT (on stdin)
03:03:42.008205 ====> Client connect
03:03:42.015440 Received DATA (on stdin)
03:03:42.015466 > 10 bytes data, server => client
03:03:42.015479 'total 20\r\n'
03:03:42.015506 Received DATA (on stdin)
03:03:42.015516 > 57 bytes data, server => client
03:03:42.015528 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:42.015544 Received DATA (on stdin)
03:03:42.015553 > 58 bytes data, server => client
03:03:42.015565 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:42.015578 Received DATA (on stdin)
03:03:42.015587 > 61 bytes data, server => client
03:03:42.015599 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:42.015606 '\n'
03:03:42.015619 Received DATA (on stdin)
03:03:42.015628 > 62 bytes data, server => client
03:03:42.015640 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:42.015647 '\n'
03:03:42.015660 Received DATA (on stdin)
03:03:42.015669 > 70 bytes data, server => client
03:03:42.015681 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:42.015689 'usr/bin\r\n'
03:03:42.015702 Received DATA (on stdin)
03:03:42.015711 > 59 bytes data, server => client
03:03:42.015722 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:42.015736 Received DATA (on stdin)
03:03:42.015745 > 69 bytes data, server => client
03:03:42.015757 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:42.015764 'd.html\r\n'
03:03:42.015778 Received DATA (on stdin)
03:03:42.015787 > 59 bytes data, server => client
03:03:42.015798 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:42.015812 Received DATA (on stdin)
03:03:42.015822 > 59 bytes data, server => client
03:03:42.015833 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:42.015847 Received DATA (on stdin)
03:03:42.015856 > 59 bytes data, server => client
03:03:42.015868 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:42.015881 Received DISC (on stdin)
03:03:42.015892 ====> Client forcibly disconnected
03:03:42.015916 Received QUIT (on stdin)
03:03:42.015925 quits
03:03:42.015940 ============> sockfilt quits
03:03:49.635713 ====> Client connect
03:03:49.635775 Running IPv4 version
03:03:49.635785 Connected to port 47611
03:03:49.635823 Wrote pid 30562 to ./.ftp_sockdata.pid
03:03:49.635839 Received PING (on stdin)
03:03:49.641429 Received DATA (on stdin)
03:03:49.641454 > 10 bytes data, server => client
03:03:49.641468 'total 20\r\n'
03:03:49.641496 Received DATA (on stdin)
03:03:49.641507 > 57 bytes data, server => client
03:03:49.641520 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:49.641536 Received DATA (on stdin)
03:03:49.641546 > 58 bytes data, server => client
03:03:49.641559 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:49.641573 Received DATA (on stdin)
03:03:49.641583 > 61 bytes data, server => client
03:03:49.641595 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:49.641603 '\n'
03:03:49.641616 Received DATA (on stdin)
03:03:49.641626 > 62 bytes data, server => client
03:03:49.641638 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:49.641646 '\n'
03:03:49.641659 Received DATA (on stdin)
03:03:49.641669 > 70 bytes data, server => client
03:03:49.641681 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:49.641689 'usr/bin\r\n'
03:03:49.641703 Received DATA (on stdin)
03:03:49.641713 > 59 bytes data, server => client
03:03:49.641725 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:49.641739 Received DATA (on stdin)
03:03:49.641748 > 69 bytes data, server => client
03:03:49.641761 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:49.641769 'd.html\r\n'
03:03:49.641782 Received DATA (on stdin)
03:03:49.641792 > 59 bytes data, server => client
03:03:49.641811 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:49.641827 Received DATA (on stdin)
03:03:49.641837 > 59 bytes data, server => client
03:03:49.641849 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:49.641863 Received DATA (on stdin)
03:03:49.641872 > 59 bytes data, server => client
03:03:49.641885 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:49.641899 Received DISC (on stdin)
03:03:49.641910 ====> Client forcibly disconnected
03:03:49.641926 disconnected, no socket to read on
03:03:49.641937 Received QUIT (on stdin)
03:03:49.641944 quits
03:03:49.641956 ============> sockfilt quits
03:03:52.638111 Running IPv4 version
03:03:52.638197 Listening on port 42783
03:03:52.638246 Wrote pid 30575 to ./.ftp_sockdata.pid
03:03:52.638269 Received PING (on stdin)
03:03:52.638407 Received PORT (on stdin)
03:03:52.645061 ====> Client connect
03:03:52.655880 Received DATA (on stdin)
03:03:52.655903 > 11 bytes data, server => client
03:03:52.655917 'data blobb\n'
03:03:52.655945 Received DISC (on stdin)
03:03:52.655958 ====> Client forcibly disconnected
03:03:52.655976 Received QUIT (on stdin)
03:03:52.655986 quits
03:03:52.655999 ============> sockfilt quits
03:03:52.740831 Running IPv4 version
03:03:52.740916 Listening on port 42977
03:03:52.740966 Wrote pid 30577 to ./.ftp_sockdata.pid
03:03:52.740991 Received PING (on stdin)
03:03:52.741140 Received PORT (on stdin)
03:03:52.742995 ====> Client connect
03:03:52.745803 Received DATA (on stdin)
03:03:52.745849 > 11 bytes data, server => client
03:03:52.745870 'data blobb\n'
03:03:52.745904 Received DISC (on stdin)
03:03:52.745922 ====> Client forcibly disconnected
03:03:52.745948 Received QUIT (on stdin)
03:03:52.745961 quits
03:03:52.745980 ============> sockfilt quits
03:03:55.730114 ====> Client connect
03:03:55.730176 Running IPv4 version
03:03:55.730185 Connected to port 48307
03:03:55.730222 Wrote pid 30587 to ./.ftp_sockdata.pid
03:03:55.730237 Received PING (on stdin)
03:03:55.749391 < 27 bytes data, client => server
03:03:55.749418 'Moooooooooooo\n upload this\n'
03:03:55.757677 ====> Client disconnect
03:03:55.757726 disconnected, no socket to read on
03:03:55.757852 Received QUIT (on stdin)
03:03:55.757874 quits
03:03:55.757890 ============> sockfilt quits
03:03:58.724471 Running IPv4 version
03:03:58.724532 Listening on port 41029
03:03:58.724567 Wrote pid 30593 to ./.ftp_sockdata.pid
03:03:58.724582 Received PING (on stdin)
03:03:58.724697 Received PORT (on stdin)
03:03:58.732123 ====> Client connect
03:03:58.749101 < 51 bytes data, client => server
03:03:58.749129 'data\n to\n see\nthat FTP\nworks\n so does it?\n'
03:03:58.757902 ====> Client disconnect
03:03:58.758077 Received QUIT (on stdin)
03:03:58.758099 quits
03:03:58.758120 ============> 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 26 0:00:01 0:00:01 --:--:-- 27
=== 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:56.869729 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:03:56.921748 == Info: Added connection 0. The cache now contains 1 members
03:03:56.938946 == Info: Trying 127.0.0.1...
03:03:56.939543 == Info: TCP_NODELAY set
03:03:56.944786 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:03:56.955861 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:56.956413 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:03:56.957533 == Info: Marked for [keep alive]: FTP default
03:03:58.131565 == Info: successfully set certificate verify locations:
03:03:58.131836 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:58.210234 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:58.215579 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:58.215668 => Send SSL data, 138 bytes (0x8a)
0000: ..........{.~..l........r.S..S...)-.....*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:58.233186 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:58.237689 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:58.237751 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...t..."N."..C.4.4......6. 0..].C. ..zyLi..X.%S...y_....~8U.
0040: ...Fh.5./................
03:03:58.281928 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:58.282397 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:58.282454 <= 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:58.381549 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:58.381818 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:58.381874 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.Jh.2@u.`4............U3.\JTj=......`......S.$.......W+.
0040: ={(.u..H.....s.......h..#E..5.s@@.|Q7.....|.5..\.r.+7W3..+s.....
0080: .K.j......$LW.....|pN.q......}f?......W..W....L4/jm..d.d....r.1d
00c0: ..T...[7F].j'sC..P5 i-.[..]..4.>..(...N.............Lz.....k.a..N..
0100: .B.O./.7. U.[7F]b.....D...~~...c..Z..g.R.t.i...m.D.P.h.Sm .[7F]...;...
0140: 8...d[...k.~.
03:03:58.450562 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:58.450902 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:58.450959 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:58.570366 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:58.570616 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:58.570673 => Send SSL data, 70 bytes (0x46)
0000: ...BA..aL....-...zk..Jw#..F.n.f.>.K.\Z.....y........z8..Xl...@d.
0040: ...O..
03:03:58.586004 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:58.586598 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:58.586656 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:58.618191 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:58.618364 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:58.618419 => Send SSL data, 16 bytes (0x10)
0000: .....[7F].n........
03:03:58.620994 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:58.622031 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:58.622089 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:58.624502 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:58.629836 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:58.629893 <= Recv SSL data, 16 bytes (0x10)
0000: ..........=...i:
03:03:58.651420 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:58.653592 == Info: Server certificate:
03:03:58.660922 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:58.667173 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:58.668126 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:58.668951 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:58.669894 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:58.671341 == Info: FTP 0x62f0698 (line 3118) state change from STOP to WAIT220
03:03:58.677476 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:58.686656 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:58.690138 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:58.690359 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:58.690540 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:58.690718 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:58.698077 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:58.700679 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:58.701456 == Info: FTP 0x62f0698 (line 803) state change from WAIT220 to USER
03:03:58.702167 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626e7a8; line 1631 (connection #0)
03:03:58.708482 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:58.709151 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:58.710400 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:58.710522 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:58.710894 == Info: FTP 0x62f0698 (line 2546) state change from USER to PASS
03:03:58.711906 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:58.712055 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:58.712745 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:58.712863 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:58.713185 == Info: FTP 0x62f0698 (line 2522) state change from PASS to PBSZ
03:03:58.713478 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:58.713617 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:58.714145 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:58.714261 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:58.714586 == Info: FTP 0x62f0698 (line 2735) state change from PBSZ to PROT
03:03:58.714830 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:58.714967 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:58.715617 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:58.715732 => Send header, 5 bytes (0x5)
0000: PWD
03:03:58.716051 == Info: FTP 0x62f0698 (line 815) state change from PROT to PWD
03:03:58.716375 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:58.716514 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:58.717607 == Info: Entry path is '/'
03:03:58.717829 == Info: FTP 0x62f0698 (line 2870) state change from PWD to STOP
03:03:58.717993 == Info: protocol connect phase DONE
03:03:58.718329 == Info: STATE: PROTOCONNECT => DO handle 0x626e7a8; line 1652 (connection #0)
03:03:58.720938 == Info: DO phase starts
03:03:58.722819 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:58.722939 => Send header, 6 bytes (0x6)
0000: EPSV
03:03:58.723276 == Info: FTP 0x62f0698 (line 1346) state change from STOP to PASV
03:03:58.723448 == Info: Connect data stream passively
03:03:58.724215 == Info: ftp_perform ends with SECONDARY: 0
03:03:58.724944 == Info: STATE: DO => DOING handle 0x626e7a8; line 1701 (connection #0)
03:03:58.725756 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:03:58.725911 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||41029|).
03:03:58.731927 == Info: Trying 127.0.0.1...
03:03:58.731990 == Info: TCP_NODELAY set
03:03:58.732673 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 41029
03:03:58.733571 == Info: FTP 0x62f0698 (line 2003) state change from PASV to STOP
03:03:58.734170 == Info: DO phase is complete2
03:03:58.734657 == Info: STATE: DOING => DO_MORE handle 0x626e7a8; line 1785 (connection #0)
03:03:58.735347 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:58.735588 == Info: DO-MORE connected phase starts
03:03:58.736534 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:58.736658 => Send header, 8 bytes (0x8)
0000: TYPE I
03:03:58.736998 == Info: FTP 0x62f0698 (line 3444) state change from STOP to STOR_TYPE
03:03:58.737375 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:58.737524 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:58.738811 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:58.738929 => Send header, 10 bytes (0xa)
0000: STOR 409
03:03:58.739259 == Info: FTP 0x62f0698 (line 1677) state change from STOR_TYPE to STOR
03:03:58.741044 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:03:58.741187 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:03:58.742953 == Info: FTP 0x62f0698 (line 485) state change from STOR to STOP
03:03:58.743712 == Info: STATE: DO_MORE => DO_DONE handle 0x626e7a8; line 1811 (connection #0)
03:03:58.744755 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:03:58.745521 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:03:58.749602 => Send data, 51 bytes (0x33)
0000: data. to. see.that FTP.works. so does it?.
03:03:58.750203 == Info: We are completely uploaded and fine
03:03:58.753754 == Info: STATE: PERFORM => DONE handle 0x626e7a8; line 2050 (connection #0)
03:03:58.754272 == Info: multi_done
03:03:58.756426 == Info: Remembering we are in dir ""
03:03:58.781125 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:58.781502 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:03:58.796710 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:58.798443 == Info: Expire cleared
=== 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
==30590== Invalid read of size 8
==30590== at 0x5E755A5: check_free (dlerror.c:188)
==30590== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30590== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30590== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30590== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30590== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30590== by 0x559BF79: exit (exit.c:139)
==30590== by 0x55860A1: (below main) (libc-start.c:342)
==30590== Address 0x66b1470 is 0 bytes after a block of size 32 alloc'd
==30590== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30590== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30590== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30590== by 0x4DD1E85: err_get_state (err.c:210)
==30590== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30590== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30590== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30590== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30590== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30590== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30590== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30590== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30590== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30590== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30590== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30590== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30590==
==30590== Invalid free() / delete / delete[] / realloc()
==30590== at 0x48369AB: free (vg_replace_malloc.c:530)
==30590== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30590== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30590== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30590== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30590== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30590== by 0x559BF79: exit (exit.c:139)
==30590== by 0x55860A1: (below main) (libc-start.c:342)
==30590== Address 0x66b1458 is 8 bytes inside a block of size 32 alloc'd
==30590== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30590== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30590== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30590== by 0x4DD1E85: err_get_state (err.c:210)
==30590== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30590== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30590== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30590== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30590== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30590== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30590== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30590== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30590== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30590== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30590== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30590== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30590==
==30590== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30590== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30590== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30590== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30590== by 0x4DD1E85: err_get_state (err.c:210)
==30590== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30590== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30590== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30590== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30590== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30590== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30590== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30590== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30590== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==30590== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==30590== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==30590== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==30590==
=== End of file valgrind409
test 0500...[simple libcurl HTTP GET tool]
-pd--oemv- OK (349 out of 1212, remaining: 24:41)
test 0501...[simple libcurl attempt operation without URL set]
------emv- OK (350 out of 1212, remaining: 24:37)
test 0502...[simple multi file:// get]
--d---emv- OK (351 out of 1212, remaining: 24:33)
test 0503...[simple multi http:// through proxytunnel with authentication info]
-pd-P-emv- OK (352 out of 1212, remaining: 24:31)
test 0504...[simple multi through local proxy without listener]
------emv- OK (353 out of 1212, remaining: 24:28)
test 0505...[FTP upload with rename after transfer]
-p-u--emv- OK (354 out of 1212, remaining: 24:25)
test 0506...[HTTP with shared cookie list (and dns cache)]
s----oemv- OK (355 out of 1212, remaining: 24:22)
test 0507...[multi interface get with non-existing host name]
------emv- OK (356 out of 1212, remaining: 24:19)
test 0508...[send HTTP POST using read callback]
-pd---emv- OK (357 out of 1212, remaining: 24:15)
test 0509...[initialization with memory callbacks and actual usage]
s-----emv- OK (358 out of 1212, remaining: 24:12)
test 0510...[send HTTP POST using read callback, using chunked transfer-encoding]
-pd---emv- OK (359 out of 1212, remaining: 24:11)
test 0511...[FTP with FILETIME and NOBODY but missing file]
-p----emv- OK (360 out of 1212, remaining: 24:08)
test 0512...[simple curl_easy_duplicate() test]
-pd---emv- OK (361 out of 1212, remaining: 24:05)
test 0513...[send HTTP POST using read callback that returns CURL_READFUNC_ABORT]
-p----emv- OK (362 out of 1212, remaining: 24:04)
test 0514...[First set options to POST and then to make HEAD]
-pd---emv- OK (363 out of 1212, remaining: 24:03)
test 0515...[make a POSTFIELDS set to NULL with POSTFIELDSIZE set to zero]
-pd---emv- OK (364 out of 1212, remaining: 24:00)
test 0516...[make a HTTPPOST set to NULL]
-pd---emv- OK (365 out of 1212, remaining: 23:57)
test 0517...[curl_getdate() testing]
------emv- OK (366 out of 1212, remaining: 23:53)
test 0518...[HTTP GET with more than FD_SETSIZE descriptors open]
valgrind SKIPPED
-pd---em-- OK (367 out of 1212, remaining: 23:48)
test 0519...[GET same URL twice with different users]
-pd---emv- OK (368 out of 1212, remaining: 23:44)
test 0520...[FTP RETR with FILETIME]
-pd---emv- OK (369 out of 1212, remaining: 23:41)
test 0521...[FTP dir list PASV with CURLOPT_PORT]
-pd---emv- OK (370 out of 1212, remaining: 23:38)
test 0522...[HTTP GET with CURLOPT_PORT]
sp----emv- OK (371 out of 1212, remaining: 23:35)
test 0523...[HTTP GET with proxy and CURLOPT_PORT]
sp----emv- OK (372 out of 1212, remaining: 23:32)
test 0524...[FTP upload with target URL ending with slash]
-p----emv- OK (373 out of 1212, remaining: 23:29)
test 0525...[FTP PORT upload using multi interface]
-p-u--emv- OK (374 out of 1212, remaining: 23:26)
test 0526...[FTP RETR same file using different handles but same connection]
-pd---emv- OK (375 out of 1212, remaining: 23:30)
test 0527...[FTP RETR same file using different handles but same connection]
-pd---emv- OK (376 out of 1212, remaining: 23:35)
test 0528...[HTTP GET same file using different handles but same connection]
-pd---emv- OK (377 out of 1212, remaining: 23:38)
test 0529...[FTP PORT upload using multi interface (weird cleanup function sequence)]
-p-u--emv- OK (378 out of 1212, remaining: 23:35)
test 0531...[FTP PORT upload using multi interface and get 425 response]
Killed
-p----emv- OK (379 out of 1212, remaining: 23:32)
test 0532...[FTP RETR same file using reset handles between each transfer]
-pd---emv- OK (380 out of 1212, remaining: 23:36)
test 0533...[FTP RETR a non-existing file twice using the multi interface]
Killed
Killed
-p----emv- OK (381 out of 1212, remaining: 23:36)
test 0534...[FTP RETR twice using multi: non-existing host and non-existing file]
Killed
-p----emv- OK (382 out of 1212, remaining: 23:35)
test 0535...[HTTP GET multi two files with FAILONERROR]
-pd---emv- OK (383 out of 1212, remaining: 23:34)
test 0537...[HTTP GET with a HUGE number of file descriptors open]
-pd---emv- OK (384 out of 1212, remaining: 23:32)
test 0538...[FTP multi-interface download, failed login: PASS not valid]
-p----emv- OK (385 out of 1212, remaining: 23:29)
test 0539...[Two FTP fetches using different CURLOPT_FTP_FILEMETHOD]
-pd---emv- OK (386 out of 1212, remaining: 23:26)
test 0540...[HTTP proxy auth Digest multi API re-using connection]
-pd---emv- OK (387 out of 1212, remaining: 23:23)
test 0541...[FTP upload and upload same file again without rewind]
-p----emv- OK (388 out of 1212, remaining: 23:20)
test 0542...[FTP a file with NOBODY yes and HEADER no]
-pd---emv- OK (389 out of 1212, remaining: 23:17)
test 0543...[curl_easy_escape]
s-----emv- OK (390 out of 1212, remaining: 23:14)
test 0544...[HTTP POST text data using CURLOPT_COPYPOSTFIELDS]
-pd---emv- OK (391 out of 1212, remaining: 23:11)
test 0545...[HTTP POST binary with embedded zero and no trailing zero]
-pd---emv- OK (392 out of 1212, remaining: 23:08)
test 0546...[FTP RETR a non-existing file then a found one using the multi interface]
Killed
sp----emv- OK (393 out of 1212, remaining: 23:07)
test 0547...[HTTP proxy auth NTLM with POST data from read callback]
-pd---emv- OK (394 out of 1212, remaining: 23:04)
test 0548...[HTTP proxy auth NTLM with POST data from CURLOPT_POSTFIELDS]
-pd---emv- OK (395 out of 1212, remaining: 23:01)
test 0549...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE]
sp----emv- OK (396 out of 1212, remaining: 22:58)
test 0550...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE and ASCII transfer]
sp----emv- OK (397 out of 1212, remaining: 22:55)
test 0551...[HTTP proxy auth Digest with POST data from read callback]
-pd---emv- OK (398 out of 1212, remaining: 22:53)
test 0552...[HTTP proxy auth Digest with 70K POST data from read callback]
-pd---emv- OK (399 out of 1212, remaining: 22:57)
test 0553...[HTTP post with huge request headers and post data from callback]
-pd---emv- OK (400 out of 1212, remaining: 22:54)
test 0554...[HTTP multi-part formpost using read callback for the file part]
-pd---emv- OK (401 out of 1212, remaining: 22:51)
test 0555...[HTTP proxy auth NTLM with POST data from read callback multi-if]
-pd---emv- OK (402 out of 1212, remaining: 22:48)
test 0556...[send and recv HTTP]
-pd---emv- OK (403 out of 1212, remaining: 22:45)
test 0557...[curl_mprintf() testing]
s-----emv- OK (404 out of 1212, remaining: 22:42)
test 0558...[libtest memory tracking operational]
-----oemv- OK (405 out of 1212, remaining: 22:39)
test 0559...[use tiny CURLOPT_BUFFERSIZE]
--d---emv- OK (406 out of 1212, remaining: 22:36)
test 0560...[simple HTTPS GET with multi interface]
goto problem 31
valgrind ERROR ==30893== Invalid read of size 8
==30893== at 0x5E755A5: check_free (dlerror.c:188)
==30893== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30893== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30893== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30893== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30893== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30893== by 0x559BF79: exit (exit.c:139)
==30893== by 0x55860A1: (below main) (libc-start.c:342)
==30893== Address 0x66761a0 is 0 bytes after a block of size 32 alloc'd
==30893== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30893== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30893== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30893== by 0x4DD1E85: err_get_state (err.c:210)
==30893== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30893== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30893== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30893== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30893== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30893== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30893== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30893== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30893== by 0x18B670: ossl_connect_step1 (openssl.c:2597)
==30893== by 0x18DF5F: ossl_connect_common (openssl.c:3538)
==30893== by 0x18E1DA: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30893== by 0x13F1E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30893==
==30893== Invalid free() / delete / delete[] / realloc()
==30893== at 0x48369AB: free (vg_replace_malloc.c:530)
==30893== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30893== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30893== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30893== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30893== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30893== by 0x559BF79: exit (exit.c:139)
==30893== by 0x55860A1: (below main) (libc-start.c:342)
==30893== Address 0x6676188 is 8 bytes inside a block of size 32 alloc'd
==30893== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30893== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30893== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30893== by 0x4DD1E85: err_get_state (err.c:210)
==30893== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30893== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30893== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30893== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30893== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30893== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30893== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30893== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30893== by 0x18B670: ossl_connect_step1 (openssl.c:2597)
==30893== by 0x18DF5F: ossl_connect_common (openssl.c:3538)
==30893== by 0x18E1DA: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30893== by 0x13F1E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30893==
==30893== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30893== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30893== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30893== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30893== by 0x4DD1E85: err_get_state (err.c:210)
==30893== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30893== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30893== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30893== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30893== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30893== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30893== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30893== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30893== by 0x18B670: ossl_connect_step1 (openssl.c:2597)
==30893== by 0x18DF5F: ossl_connect_common (openssl.c:3538)
==30893== by 0x18E1DA: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30893== by 0x13F1E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30893==
== Contents of files in the log/ dir after test 560
=== Start of file http_server.log
03:05:26.955631 ====> Client connect
03:05:26.955679 accept_connection 3 returned 4
03:05:26.955700 accept_connection 3 returned 0
03:05:27.025191 Read 56 bytes
03:05:27.025225 Process 56 bytes request
03:05:27.025241 Got request: GET /560 HTTP/1.1
03:05:27.025252 Requested test number 560 part 0
03:05:27.025277 - request found to be complete
03:05:27.025301 Wrote request (56 bytes) input to log/server.input
03:05:27.025320 Send response test560 section <data>
03:05:27.025389 Response sent (108 bytes) and written to log/server.response
03:05:27.025399 => persistent connection request ended, awaits new request
03:05:27.080805 Connection closed by client
03:05:27.080840 ====> 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
==30893== Invalid read of size 8
==30893== at 0x5E755A5: check_free (dlerror.c:188)
==30893== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==30893== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==30893== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30893== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30893== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30893== by 0x559BF79: exit (exit.c:139)
==30893== by 0x55860A1: (below main) (libc-start.c:342)
==30893== Address 0x66761a0 is 0 bytes after a block of size 32 alloc'd
==30893== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30893== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30893== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30893== by 0x4DD1E85: err_get_state (err.c:210)
==30893== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30893== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30893== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30893== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30893== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30893== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30893== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30893== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30893== by 0x18B670: ossl_connect_step1 (openssl.c:2597)
==30893== by 0x18DF5F: ossl_connect_common (openssl.c:3538)
==30893== by 0x18E1DA: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30893== by 0x13F1E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30893==
==30893== Invalid free() / delete / delete[] / realloc()
==30893== at 0x48369AB: free (vg_replace_malloc.c:530)
==30893== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==30893== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==30893== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==30893== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==30893== by 0x559BF49: __run_exit_handlers (exit.c:132)
==30893== by 0x559BF79: exit (exit.c:139)
==30893== by 0x55860A1: (below main) (libc-start.c:342)
==30893== Address 0x6676188 is 8 bytes inside a block of size 32 alloc'd
==30893== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30893== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30893== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30893== by 0x4DD1E85: err_get_state (err.c:210)
==30893== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30893== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30893== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30893== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30893== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30893== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30893== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30893== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30893== by 0x18B670: ossl_connect_step1 (openssl.c:2597)
==30893== by 0x18DF5F: ossl_connect_common (openssl.c:3538)
==30893== by 0x18E1DA: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30893== by 0x13F1E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30893==
==30893== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==30893== at 0x483577F: malloc (vg_replace_malloc.c:299)
==30893== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==30893== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==30893== by 0x4DD1E85: err_get_state (err.c:210)
==30893== by 0x4DD2A5D: ERR_put_error (err.c:636)
==30893== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==30893== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==30893== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==30893== by 0x4E92358: by_file_ctrl (by_file.c:111)
==30893== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==30893== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==30893== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==30893== by 0x18B670: ossl_connect_step1 (openssl.c:2597)
==30893== by 0x18DF5F: ossl_connect_common (openssl.c:3538)
==30893== by 0x18E1DA: Curl_ossl_connect_nonblocking (openssl.c:3624)
==30893== by 0x13F1E5: Curl_ssl_connect_nonblocking (vtls.c:275)
==30893==
=== End of file valgrind560
test 0561...[FTP RETR with CURLOPT_PROXY_TRANSFER_MODE, ASCII transfer and type=i]
sp----emv- OK (408 out of 1212, remaining: 22:34)
test 0562...[FTP a type=A URL and CURLOPT_PORT set]
-pd---emv- OK (409 out of 1212, remaining: 22:31)
test 0563...[FTP type=A URL and CURLOPT_PORT set and proxy]
-p----emv- OK (410 out of 1212, remaining: 22:28)
test 0564...[FTP RETR a file over a SOCKS proxy using the multi interface]
spd---emv- OK (411 out of 1212, remaining: 23:26)
test 0565...[send HTTP POST using read callback, chunked transfer-encoding and Digest]
-pd---emv- OK (412 out of 1212, remaining: 23:25)
test 0566...[HTTP GET with CURLINFO_CONTENT_LENGTH_DOWNLOAD and 0 bytes transfer]
-pd--oemv- OK (413 out of 1212, remaining: 23:22)
test 0567...[simple RTSP OPTIONS command]
-pd---emv- OK (414 out of 1212, remaining: 23:23)
test 0568...[RTSP Announce (PUT and POST style) test]
-p----emv- OK (415 out of 1212, remaining: 23:20)
test 0569...[RTSP Session ID parsing]
-p---oemv- OK (416 out of 1212, remaining: 23:17)
test 0570...[RTSP CSeq and Session Mismatch checks]
-p----emv- OK (417 out of 1212, remaining: 23:14)
test 0571...[RTSP RTP Interleaving Test]
s----oemv- OK (418 out of 1212, remaining: 23:11)
test 0572...[RTSP GET_PARAMETER (Put/Heartbeat/Post)]
-p----emv- OK (419 out of 1212, remaining: 23:08)
test 0573...[verify connect time with multi interface]
-pd---emv- OK (420 out of 1212, remaining: 23:05)
test 0574...[FTP wildcard download - changed fnmatch, 2x perform (Unix LIST response)]
sp----emv- OK (421 out of 1212, remaining: 23:03)
test 0575...[FTP wildcard download - dup_handle and multi interface]
sp----emv- OK (422 out of 1212, remaining: 23:03)
test 0576...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (Unix)]
s-----emv- OK (423 out of 1212, remaining: 23:00)
test 0577...[Funny RTSP version in response]
-p----emv- OK (424 out of 1212, remaining: 22:57)
test 0578...[HTTP POST lower than MAX_INITIAL_POST_SIZE with progress callback]
--d--oemv- OK (425 out of 1212, remaining: 22:54)
test 0579...[small chunked HTTP POSTs with digest auth. and progress callback]
--d--oemv- OK (426 out of 1212, remaining: 22:53)
test 0580...[multi interface, multiple Location: headers]
-pd---emv- OK (427 out of 1212, remaining: 22:50)
test 0581...[multi interface, multiple Content-Type: headers]
-pd---emv- OK (428 out of 1212, remaining: 22:47)
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 (431 out of 1212, remaining: 22:34)
test 0586...[FTP and open/close socket callbacks]
-pd---emv- OK (432 out of 1212, remaining: 22:31)
test 0587...[HTTP multi-part formpost with aborted read callback]
-p----emv- OK (433 out of 1212, remaining: 22:29)
test 0588...[FTP PORT upload using multi interface, EPRT doesn't work]
-p-u--emv- OK (434 out of 1212, remaining: 22:26)
test 0589...[make a HTTP MIME POST set to NULL]
-pd---emv- OK (435 out of 1212, remaining: 22:23)
test 0590...[HTTP proxy offers Negotiate+NTLM, use only NTLM]
-pd---emv- OK (436 out of 1212, remaining: 22:20)
test 0591...[FTP multi PORT and 425 on upload]
-p----emv- OK (437 out of 1212, remaining: 22:17)
test 0592...[FTP multi PORT and 421 on upload]
-p----emv- OK (438 out of 1212, remaining: 22:14)
test 0593...[FTP multi PORT upload, no data conn and no transient neg. reply]
-p----emv- OK (439 out of 1212, remaining: 22:15)
test 0595...[verify close callbacks with passive FTP]
-pd---emv- OK (440 out of 1212, remaining: 22:12)
test 0596...[verify close callbacks with active FTP]
-pd---emv- OK (441 out of 1212, remaining: 22:10)
test 0597...[FTP connect only option]
-p----emv- OK (442 out of 1212, remaining: 22:07)
test 0598...[curl_easy_reset with referer and other strings set]
-pd---emv- OK (443 out of 1212, remaining: 22:04)
test 0599...[HTTP GET with progress callback and redirects changing content sizes]
--d--oemv- OK (444 out of 1212, remaining: 22:01)
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 (488 out of 1212, remaining: 18:55)
test 0644...[HTTP multi-part formpost with aborted read callback]
-p----emv- OK (489 out of 1212, remaining: 18:53)
test 0645...[HTTP multi-part chunked mimepost using read callback for the file part]
-pd---emv- OK (490 out of 1212, remaining: 18:53)
test 0646...[SMTP multipart using mime API]
-p-u--emv- OK (491 out of 1212, remaining: 18:54)
test 0647...[IMAP APPEND multipart using mime API]
-p-u--emv- OK (492 out of 1212, remaining: 18:55)
test 0648...[SMTP multipart with transfer content encoders]
-p-u--emv- OK (493 out of 1212, remaining: 18:53)
test 0649...[SMTP multipart with 7bit encoder error]
-p-u--emv- OK (494 out of 1212, remaining: 18:51)
test 0650...[HTTP formpost using form API]
-pd---emv- OK (495 out of 1212, remaining: 18:50)
test 0651...[curl_formadd with huge COPYCONTENTS]
-pd---emv- OK (496 out of 1212, remaining: 18:50)
test 0652...[SMTP with encoded huge mime data contents]
-p-u--emv- OK (497 out of 1212, remaining: 18:47)
test 0653...[Reuse of handle after altering mime data]
-pd---emv- OK (498 out of 1212, remaining: 18:45)
test 0654...[HTTP duplicate easy handle with mime data]
-pd---emv- OK (499 out of 1212, remaining: 18:45)
test 0655...[resolver start callback]
--d---emv- OK (500 out of 1212, remaining: 18:42)
test 0658...[HTTP GET]
-p----emv- OK (502 out of 1212, remaining: 18:36)
test 0700...[HTTP GET via SOCKS4 proxy]
-pd---emv- OK (503 out of 1212, remaining: 18:34)
test 0701...[HTTP GET via SOCKS5 proxy]
-pd---emv- OK (504 out of 1212, remaining: 18:32)
test 0702...[Attempt connect to non-listening HTTP server via SOCKS4 proxy]
------emv- OK (505 out of 1212, remaining: 18:30)
test 0703...[Attempt connect to non-listening HTTP server via SOCKS5 proxy]
------emv- OK (506 out of 1212, remaining: 18:28)
test 0704...[Attempt connect to non-listening SOCKS4 proxy]
------emv- OK (507 out of 1212, remaining: 18:25)
test 0705...[Attempt connect to non-listening SOCKS5 proxy]
------emv- OK (508 out of 1212, remaining: 18:23)
test 0706...[FTP dir list PASV via SOCKS4]
-pd---emv- OK (509 out of 1212, remaining: 18:21)
test 0707...[FTP dir list PASV via SOCKS5]
-pd---emv- OK (510 out of 1212, remaining: 18:19)
test 0708...[HTTP GET via SOCKS4 proxy]
-pd---emv- OK (511 out of 1212, remaining: 18:17)
test 0709...[HTTP GET via SOCKS5 set in http_proxy environment variable]
-pd---emv- OK (512 out of 1212, remaining: 18:15)
test 0710...[HTTP GET via SOCKS5 set with --proxy]
-pd---emv- OK (513 out of 1212, remaining: 18:13)
test 0711...[FTP fetch with all_proxy set to socks5]
-pd---emv- OK (514 out of 1212, remaining: 18:11)
test 0712...[FTP fetch with --proxy set to socks5://]
-pd---emv- OK (515 out of 1212, remaining: 18:09)
test 0713...[FTP fetch with --proxy set to socks5:// and with --connect-to]
-pd---emv- OK (516 out of 1212, remaining: 18:07)
test 0714...[FTP fetch with --proxy set to http:// and with --connect-to]
-p----emv- OK (517 out of 1212, remaining: 18:07)
test 0715...[FTP fetch with --preproxy, --proxy and --connect-to]
-p----emv- OK (518 out of 1212, remaining: 18:07)
test 0800...[IMAP FETCH message]
-pd---emv- OK (519 out of 1212, remaining: 18:05)
test 0801...[IMAP FETCH message by MAILINDEX and SECTION]
-pd---emv- OK (520 out of 1212, remaining: 18:03)
test 0802...[IMAP SELECT UIDVALIDITY Success]
-pd---emv- OK (521 out of 1212, remaining: 18:01)
test 0803...[IMAP SELECT UIDVALIDITY Failure]
-p----emv- OK (522 out of 1212, remaining: 17:59)
test 0804...[IMAP doesn't perform SELECT if re-using the same mailbox]
-pd---emv- OK (523 out of 1212, remaining: 17:58)
test 0805...[IMAP APPEND message]
-p-u--emv- OK (524 out of 1212, remaining: 17:56)
test 0806...[IMAP LIST mailbox]
-pd---emv- OK (525 out of 1212, remaining: 17:54)
test 0807...[IMAP LSUB mailbox]
-pd---emv- OK (526 out of 1212, remaining: 17:52)
test 0808...[IMAP EXAMINE mailbox (CUSTOMREQUEST)]
-pd---emv- OK (527 out of 1212, remaining: 17:50)
test 0809...[IMAP mailbox STATUS (CUSTOMREQUEST)]
-pd---emv- OK (528 out of 1212, remaining: 17:48)
test 0810...[IMAP SEARCH for NEW messages]
-pd---emv- OK (529 out of 1212, remaining: 17:46)
test 0811...[IMAP CREATE mailbox (CUSTOMREQUEST)]
-p----emv- OK (530 out of 1212, remaining: 17:44)
test 0812...[IMAP DELETE mailbox (CUSTOMREQUEST)]
-p----emv- OK (531 out of 1212, remaining: 17:42)
test 0813...[IMAP RENAME mailbox (CUSTOMREQUEST)]
-p----emv- OK (532 out of 1212, remaining: 17:40)
test 0814...[IMAP CHECK mailbox (CUSTOMREQUEST)]
-p----emv- OK (533 out of 1212, remaining: 17:38)
test 0815...[IMAP STORE - delete message (CUSTOMREQUEST)]
-p----emv- OK (534 out of 1212, remaining: 17:36)
test 0816...[IMAP STORE - delete message with confirmation (CUSTOMREQUEST)]
-p----emv- OK (535 out of 1212, remaining: 17:34)
test 0817...[IMAP COPY message to mailbox (CUSTOMREQUEST)]
-p----emv- OK (536 out of 1212, remaining: 17:32)
test 0818...[IMAP NOOP (CUSTOMREQUEST)]
-pd---emv- OK (537 out of 1212, remaining: 17:30)
test 0819...[IMAP plain authentication]
-pd---emv- OK (538 out of 1212, remaining: 17:29)
test 0820...[IMAP login authentication]
-pd---emv- OK (539 out of 1212, remaining: 17:27)
test 0821...[IMAP CRAM-MD5 authentication]
-pd---emv- OK (540 out of 1212, remaining: 17:25)
test 0822...[IMAP NTLM authentication]
-pd---emv- OK (541 out of 1212, remaining: 17:23)
test 0823...[IMAP DIGEST-MD5 authentication]
-pd---emv- OK (542 out of 1212, remaining: 17:22)
test 0824...[IMAP OAuth 2.0 (XOAUTH2) authentication]
-pd---emv- OK (543 out of 1212, remaining: 17:20)
test 0825...[IMAP plain authentication with initial response]
-pd---emv- OK (544 out of 1212, remaining: 17:18)
test 0826...[IMAP login authentication with initial response]
-pd---emv- OK (545 out of 1212, remaining: 17:16)
test 0827...[IMAP NTLM authentication with initial response]
-pd---emv- OK (546 out of 1212, remaining: 17:14)
test 0828...[IMAP OAuth 2.0 (XOAUTH2) authentication with initial response]
-pd---emv- OK (547 out of 1212, remaining: 17:13)
test 0829...[IMAP with URL-encoded CR LF in the URL]
------emv- OK (548 out of 1212, remaining: 17:11)
test 0830...[IMAP CRAM-MD5 graceful cancellation]
-p----emv- OK (549 out of 1212, remaining: 17:09)
test 0831...[IMAP NTLM graceful cancellation]
-p----emv- OK (550 out of 1212, remaining: 17:07)
test 0832...[IMAP DIGEST-MD5 graceful cancellation]
-p----emv- OK (551 out of 1212, remaining: 17:05)
test 0833...[IMAP CRAM-MD5 authentication with SASL downgrade]
-pd---emv- OK (552 out of 1212, remaining: 17:03)
test 0834...[IMAP NTLM authentication with SASL downgrade]
-pd---emv- OK (553 out of 1212, remaining: 17:01)
test 0835...[IMAP DIGEST-MD5 authentication with SASL downgrade]
-pd---emv- OK (554 out of 1212, remaining: 16:59)
test 0837...[IMAP external authentication]
-pd---emv- OK (555 out of 1212, remaining: 16:58)
test 0838...[IMAP external authentication without credentials]
-pd---emv- OK (556 out of 1212, remaining: 16:56)
test 0839...[IMAP external authentication with initial response]
-pd---emv- OK (557 out of 1212, remaining: 16:54)
test 0840...[IMAP external authentication with initial response without credentials]
-pd---emv- OK (558 out of 1212, remaining: 16:52)
test 0841...[IMAP custom request doesn't check continuation data]
-pd---emv- OK (559 out of 1212, remaining: 16:50)
test 0842...[IMAP OAuth 2.0 (OAUTHBEARER) authentication]
-pd---emv- OK (560 out of 1212, remaining: 16:49)
test 0843...[IMAP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
-pd---emv- OK (561 out of 1212, remaining: 16:47)
test 0844...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation]
-p----emv- OK (562 out of 1212, remaining: 16:45)
test 0845...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
-p----emv- OK (563 out of 1212, remaining: 16:43)
test 0846...[IMAP PREAUTH response]
-pd---emv- OK (564 out of 1212, remaining: 16:41)
test 0847...[IMAP FETCH message]
-pd---emv- OK (565 out of 1212, remaining: 16:39)
test 0850...[POP3 RETR message]
-pd---emv- OK (566 out of 1212, remaining: 16:40)
test 0851...[POP3 LIST one message]
-p----emv- OK (567 out of 1212, remaining: 16:38)
test 0852...[POP3 LIST invalid message]
-p----emv- OK (568 out of 1212, remaining: 16:36)
test 0853...[POP3 LIST messages from *SLOW* server]
-pd---emv- OK (569 out of 1212, remaining: 16:37)
test 0854...[POP3 LIST no messages available]
-p----emv- OK (570 out of 1212, remaining: 16:35)
test 0855...[POP3 RETR invalid message]
-p----emv- OK (571 out of 1212, remaining: 16:33)
test 0856...[POP3 invalid login]
-p----emv- OK (572 out of 1212, remaining: 16:31)
test 0857...[POP3 RETR message with dot-prefixed line]
-pd---emv- OK (573 out of 1212, remaining: 16:30)
test 0858...[POP3 DELE message (CUSTOMREQUEST)]
-p----emv- OK (574 out of 1212, remaining: 16:28)
test 0859...[POP3 STAT (CUSTOMREQUEST)]
-p----emv- OK (575 out of 1212, remaining: 16:26)
test 0860...[POP3 NOOP (CUSTOMREQUEST)]
-p----emv- OK (576 out of 1212, remaining: 16:24)
test 0861...[POP3 UIDL (CUSTOMREQUEST)]
-pd---emv- OK (577 out of 1212, remaining: 16:22)
test 0862...[POP3 retrieve message header (CUSTOMREQUEST)]
-pd---emv- OK (578 out of 1212, remaining: 16:20)
test 0863...[POP3 RSET (CUSTOMREQUEST)]
-p----emv- OK (579 out of 1212, remaining: 16:18)
test 0864...[POP3 APOP authentication]
-pd---emv- OK (580 out of 1212, remaining: 16:16)
test 0865...[POP3 plain authentication]
-pd---emv- OK (581 out of 1212, remaining: 16:14)
test 0866...[POP3 login authentication]
-pd---emv- OK (582 out of 1212, remaining: 16:12)
test 0867...[POP3 CRAM-MD5 authentication]
-pd---emv- OK (583 out of 1212, remaining: 16:10)
test 0868...[POP3 NTLM authentication]
-pd---emv- OK (584 out of 1212, remaining: 16:09)
test 0869...[POP3 DIGEST-MD5 authentication]
-pd---emv- OK (585 out of 1212, remaining: 16:07)
test 0870...[POP3 OAuth 2.0 (XOAUTH2) authentication]
-pd---emv- OK (586 out of 1212, remaining: 16:05)
test 0871...[POP3 plain authentication with initial response]
-pd---emv- OK (587 out of 1212, remaining: 16:03)
test 0872...[POP3 login authentication with initial response]
-pd---emv- OK (588 out of 1212, remaining: 16:01)
test 0873...[POP3 NTLM authentication with initial response]
-pd---emv- OK (589 out of 1212, remaining: 16:00)
test 0874...[POP3 OAuth 2.0 (XOAUTH2) authentication with initial response]
-pd---emv- OK (590 out of 1212, remaining: 15:58)
test 0875...[POP3 with URL-encoded CR LF in the URL]
------emv- OK (591 out of 1212, remaining: 15:56)
test 0876...[POP3 CRAM-MD5 graceful cancellation]
-p----emv- OK (592 out of 1212, remaining: 15:54)
test 0877...[POP3 NTLM graceful cancellation]
-p----emv- OK (593 out of 1212, remaining: 15:52)
test 0878...[POP3 DIGEST-MD5 graceful cancellation]
-p----emv- OK (594 out of 1212, remaining: 15:50)
test 0879...[POP3 CRAM-MD5 authentication with SASL downgrade]
-pd---emv- OK (595 out of 1212, remaining: 15:48)
test 0880...[POP3 NTLM authentication with SASL downgrade]
-pd---emv- OK (596 out of 1212, remaining: 15:46)
test 0881...[POP3 DIGEST-MD5 authentication with SASL downgrade]
-pd---emv- OK (597 out of 1212, remaining: 15:45)
test 0883...[POP3 external authentication]
-pd---emv- OK (598 out of 1212, remaining: 15:43)
test 0884...[POP3 external authentication without credentials]
-pd---emv- OK (599 out of 1212, remaining: 15:41)
test 0885...[POP3 external authentication with initial response]
-pd---emv- OK (600 out of 1212, remaining: 15:39)
test 0886...[POP3 external authentication with initial response without credentials]
-pd---emv- OK (601 out of 1212, remaining: 15:37)
test 0887...[POP3 OAuth 2.0 (OAUTHBEARER) authentication]
-pd---emv- OK (602 out of 1212, remaining: 15:35)
test 0888...[POP3 OAuth 2.0 (OAUTHBEARER) authentication with initial response]
-pd---emv- OK (603 out of 1212, remaining: 15:34)
test 0889...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation]
-p----emv- OK (604 out of 1212, remaining: 15:32)
test 0890...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
-p----emv- OK (605 out of 1212, remaining: 15:30)
test 0891...[POP3 with short authentication response]
-p----emv- OK (606 out of 1212, remaining: 15:28)
test 0900...[SMTP]
-p-u--emv- OK (607 out of 1212, remaining: 15:26)
test 0901...[SMTP with CRLF-dot-CRLF in data]
-p-u--emv- OK (608 out of 1212, remaining: 15:24)
test 0902...[RFC821-only SMTP server (EHLO not supported)]
-p-u--emv- OK (609 out of 1212, remaining: 15:22)
test 0903...[SMTP plain authentication]
-p-u--emv- OK (610 out of 1212, remaining: 15:21)
test 0904...[SMTP login authentication]
-p-u--emv- OK (611 out of 1212, remaining: 15:19)
test 0905...[SMTP CRAM-MD5 authentication]
-p-u--emv- OK (612 out of 1212, remaining: 15:17)
test 0906...[SMTP NTLM authentication]
-p-u--emv- OK (613 out of 1212, remaining: 15:15)
test 0907...[SMTP DIGEST-MD5 authentication]
-p-u--emv- OK (614 out of 1212, remaining: 15:13)
test 0908...[SMTP OAuth 2.0 (XOAUTH2) authentication]
-p-u--emv- OK (615 out of 1212, remaining: 15:12)
test 0909...[SMTP without SIZE support]
-p-u--emv- OK (616 out of 1212, remaining: 15:10)
test 0910...[SMTP without terminating CRLF]
-p-u--emv- OK (617 out of 1212, remaining: 15:08)
test 0911...[SMTP with no mail data]
-p-u--emv- OK (618 out of 1212, remaining: 15:06)
test 0912...[SMTP with SIZE support]
-p-u--emv- OK (619 out of 1212, remaining: 15:04)
test 0913...[SMTP with large message SIZE]
-p----emv- OK (620 out of 1212, remaining: 15:02)
test 0914...[SMTP invalid --mail-from]
-p----emv- OK (621 out of 1212, remaining: 15:01)
test 0915...[SMTP without --mail-from]
-p-u--emv- OK (622 out of 1212, remaining: 14:59)
test 0916...[SMTP with invalid --mail-rcpt]
-p----emv- OK (623 out of 1212, remaining: 14:57)
test 0917...[SMTP with multiple --mail-rcpt]
-p-u--emv- OK (624 out of 1212, remaining: 14:55)
test 0918...[SMTP with multiple and invalid --mail-rcpt]
-p----emv- OK (625 out of 1212, remaining: 14:53)
test 0919...[SMTP plain authentication with initial response]
-p-u--emv- OK (626 out of 1212, remaining: 14:51)
test 0920...[SMTP login authentication with initial response]
-p-u--emv- OK (627 out of 1212, remaining: 14:50)
test 0921...[SMTP NTLM authentication with initial response]
-p-u--emv- OK (628 out of 1212, remaining: 14:48)
test 0922...[SMTP OAuth 2.0 (XOAUTH2) authentication with initial response]
-p-u--emv- OK (629 out of 1212, remaining: 14:46)
test 0923...[SMTP VRFY]
-pd---emv- OK (630 out of 1212, remaining: 14:44)
test 0924...[SMTP ambiguous VRFY]
-pd---emv- OK (631 out of 1212, remaining: 14:42)
test 0925...[SMTP external VRFY]
-pd---emv- OK (632 out of 1212, remaining: 14:41)
test 0926...[SMTP unknown user VRFY]
-p----emv- OK (633 out of 1212, remaining: 14:39)
test 0927...[SMTP mailing list EXPN (CUSTOMREQUEST)]
-pd---emv- OK (634 out of 1212, remaining: 14:37)
test 0928...[SMTP HELP]
-pd---emv- OK (635 out of 1212, remaining: 14:35)
test 0929...[SMTP NOOP (CUSTOMREQUEST)]
-p----emv- OK (636 out of 1212, remaining: 14:33)
test 0930...[SMTP RSET (CUSTOMREQUEST)]
-p----emv- OK (637 out of 1212, remaining: 14:31)
test 0931...[SMTP with URL-encoded CR LF in the URL]
------emv- OK (638 out of 1212, remaining: 14:30)
test 0932...[SMTP CRAM-MD5 graceful cancellation]
-p----emv- OK (639 out of 1212, remaining: 14:28)
test 0933...[SMTP NTLM graceful cancellation]
-p----emv- OK (640 out of 1212, remaining: 14:26)
test 0934...[SMTP DIGEST-MD5 graceful cancellation]
-p----emv- OK (641 out of 1212, remaining: 14:24)
test 0935...[SMTP CRAM-MD5 authentication with SASL downgrade]
-p-u--emv- OK (642 out of 1212, remaining: 14:22)
test 0936...[SMTP NTLM authentication with SASL downgrade]
-p-u--emv- OK (643 out of 1212, remaining: 14:21)
test 0937...[SMTP DIGEST-MD5 authentication with SASL downgrade]
-p-u--emv- OK (644 out of 1212, remaining: 14:19)
test 0939...[RFC821-only SMTP with username and password]
-p-u--emv- OK (645 out of 1212, remaining: 14:17)
test 0940...[SMTP with username and password but no AUTH capability]
-p-u--emv- OK (646 out of 1212, remaining: 14:15)
test 0941...[SMTP with --crlf]
-p-u--emv- OK (647 out of 1212, remaining: 14:13)
test 0942...[SMTP external authentication]
-p-u--emv- OK (648 out of 1212, remaining: 14:12)
test 0943...[SMTP external authentication without credentials]
-p-u--emv- OK (649 out of 1212, remaining: 14:10)
test 0944...[SMTP external authentication with initial response]
-p-u--emv- OK (650 out of 1212, remaining: 14:08)
test 0945...[SMTP external authentication with initial response without credentials]
-p-u--emv- OK (651 out of 1212, remaining: 14:06)
test 0946...[SMTP OAuth 2.0 (OAUTHBEARER) authentication]
-p-u--emv- OK (652 out of 1212, remaining: 14:05)
test 0947...[SMTP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
-p-u--emv- OK (653 out of 1212, remaining: 14:03)
test 0948...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation]
-p----emv- OK (654 out of 1212, remaining: 14:01)
test 0949...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
-p----emv- OK (655 out of 1212, remaining: 13:59)
test 0950...[SMTP VRFY with custom request]
-pd---emv- OK (656 out of 1212, remaining: 13:58)
test 0951...[SMTP data with dot as first character]
-p-u--emv- OK (657 out of 1212, remaining: 13:56)
test 0952...[SMTP data with single dot-only line]
-p-u--emv- OK (658 out of 1212, remaining: 13:54)
test 1000...[FTP dir list PASV with -I]
-p----emv- OK (659 out of 1212, remaining: 13:52)
test 1001...[HTTP POST --digest with PUT and resumed upload and modified method]
-pd---emv- OK (660 out of 1212, remaining: 13:51)
test 1002...[HTTP POST --digest with PUT and resumed upload and modified method, twice]
-pd---emv- OK (661 out of 1212, remaining: 13:51)
test 1003...[FTP with excessively large server command response line]
-pd---emv- OK (662 out of 1212, remaining: 13:50)
test 1004...[HTTP GET with empty proxy]
valgrind SKIPPED
-pd---em-- OK (663 out of 1212, remaining: 13:47)
test 1005...[FTP with excessively large number of server command response lines]
-pd---emv- OK (664 out of 1212, remaining: 13:45)
test 1006...[FTP with excessively large number of server command response lines (boundary condition)]
-pd---emv- OK (665 out of 1212, remaining: 13:44)
test 1007...[TFTP send with invalid permission on server]
-p----emv- OK (666 out of 1212, remaining: 13:42)
test 1008...[HTTP proxy CONNECT auth NTLM with chunked-encoded 407 response]
-pd---emv- OK (667 out of 1212, remaining: 13:40)
test 1009...[TFTP retrieve with --local-port]
-pd---emv- OK (668 out of 1212, remaining: 13:38)
test 1010...[FTP dir list nocwd]
-pd---emv- OK (669 out of 1212, remaining: 13:37)
test 1011...[HTTP POST with 301 redirect]
-pd---emv- OK (670 out of 1212, remaining: 13:35)
test 1012...[HTTP POST with 301 redirect and --post301]
-pd---emv- OK (671 out of 1212, remaining: 13:33)
test 1013...[Compare curl --version with curl-config --protocols]
------emv- OK (672 out of 1212, remaining: 13:31)
test 1014...[Compare curl --version with curl-config --features]
------emv- OK (673 out of 1212, remaining: 13:29)
test 1015...[--data-urlencode]
-pd---emv- OK (674 out of 1212, remaining: 13:28)
test 1016...[X-Y range on a file:// URL to stdout]
s-----emv- OK (675 out of 1212, remaining: 13:26)
test 1017...[0-Y range on a file:// URL to stdout]
s-----emv- OK (676 out of 1212, remaining: 13:24)
test 1018...[X-X range on a file:// URL to stdout]
s-----emv- OK (677 out of 1212, remaining: 13:22)
test 1019...[X- range on a file:// URL to stdout]
s-----emv- OK (678 out of 1212, remaining: 13:20)
test 1020...[-Y range on a file:// URL to stdout]
s-----emv- OK (679 out of 1212, remaining: 13:19)
test 1021...[HTTP proxy CONNECT with any proxyauth and proxy offers NTLM and close]
-pd---emv- OK (680 out of 1212, remaining: 13:17)
test 1022...[Compare curl --version with curl-config --version]
------emv- OK (681 out of 1212, remaining: 13:15)
test 1023...[Compare curl --version with curl-config --vernum]
------emv- OK (682 out of 1212, remaining: 13:13)
test 1024...[HTTP Location: following with cookies]
-pd---emv- OK (683 out of 1212, remaining: 13:11)
test 1025...[HTTP Location: following with command-line and server cookies]
-pd---emv- OK (684 out of 1212, remaining: 13:10)
test 1026...[curl --manual ]
------emv- OK (685 out of 1212, remaining: 13:08)
test 1027...[curl --help]
------emv- OK (686 out of 1212, remaining: 13:06)
test 1028...[HTTP Location: redirect to FTP URL]
sp----emv- OK (687 out of 1212, remaining: 13:04)
test 1029...[HTTP Location: and 'redirect_url' check]
sp----emv- OK (688 out of 1212, remaining: 13:02)
test 1030...[HTTP PUT with --anyauth authorization (picking Digest)]
-pd---emv- OK (689 out of 1212, remaining: 13:02)
test 1031...[HTTP Location: following to a query string]
-pd---emv- OK (690 out of 1212, remaining: 13:00)
test 1032...[HTTP HEAD with --range]
-pd---emv- OK (691 out of 1212, remaining: 12:59)
test 1033...[HTTP GET with 102 response!]
-pd---emv- OK (692 out of 1212, remaining: 12:57)
test 1034...[HTTP over proxy with malformatted IDN host name]
------emv- OK (693 out of 1212, remaining: 12:55)
test 1035...[HTTP over proxy with too long IDN host name]
------emv- OK (694 out of 1212, remaining: 12:53)
test 1036...[FTP download resume from end of file]
-p---oemv- OK (695 out of 1212, remaining: 12:52)
test 1037...[FTP download resume from end of empty file]
-p----emv- OK (696 out of 1212, remaining: 12:50)
test 1038...[FTP PASV upload resume from end of file]
-p-u--emv- OK (697 out of 1212, remaining: 12:48)
test 1039...[FTP PASV upload resume from end of empty file]
-p-u--emv- OK (698 out of 1212, remaining: 12:47)
test 1040...[HTTP GET with resume from end of entirely-downloaded file]
-pd---emv- OK (699 out of 1212, remaining: 12:45)
test 1041...[HTTP PUT with resume from end of already-uploaded file]
-pd---emv- OK (700 out of 1212, remaining: 12:44)
test 1042...[HTTP GET beyond end of entirely-downloaded file, no server resume]
-pd---emv- OK (701 out of 1212, remaining: 12:42)
test 1043...[HTTP GET with resume from end of file]
-pd---emv- OK (702 out of 1212, remaining: 12:41)
test 1044...[FTP download large file info with -I]
sp----emv- OK (703 out of 1212, remaining: 12:39)
test 1045...[HTTP GET with numeric localhost --interface]
-pd---emv- OK (704 out of 1212, remaining: 12:37)
test 1046...[HTTP-IPv6 GET with numeric localhost --interface]
-pd---emv- OK (705 out of 1212, remaining: 12:35)
test 1047...[FTP dir list PASV with localhost --interface]
-pd---emv- OK (706 out of 1212, remaining: 12:34)
test 1048...[FTP-IPv6 dir list PASV with localhost --interface]
-pd---emv- OK (707 out of 1212, remaining: 12:32)
test 1049...[TFTP retrieve with localhost --interface]
-pd---emv- OK (708 out of 1212, remaining: 12:30)
test 1050...[FTP-IPv6 dir list, EPRT with specified IP]
-pd---emv- OK (709 out of 1212, remaining: 12:29)
test 1051...[HTTP PUT with Location: following]
-pd---emv- OK (710 out of 1212, remaining: 12:28)
test 1052...[HTTP 1.0 PUT with Location: following]
-pd---emv- OK (711 out of 1212, remaining: 12:27)
test 1053...[HTTP RFC1867-type formposting from file with Location: following]
-pd---emv- OK (712 out of 1212, remaining: 12:25)
test 1054...[HTTP POST from file with 301 redirect and --post301]
-pd---emv- OK (713 out of 1212, remaining: 12:23)
test 1055...[HTTP PUT Location: redirect to FTP URL]
-pdu--emv- OK (714 out of 1212, remaining: 12:22)
test 1056...[HTTP follow redirect from IPv4 to IPv6 with scope]
-pd---emv- OK (715 out of 1212, remaining: 12:21)
test 1057...[FTP retrieve a byte-range relative to end of file]
-pd---emv- OK (716 out of 1212, remaining: 12:19)
test 1058...[HTTP range relative to end of file]
-pd---emv- OK (717 out of 1212, remaining: 12:17)
test 1059...[HTTP CONNECT with proxytunnel to unsupported FTP URL]
-p----emv- OK (718 out of 1212, remaining: 12:16)
test 1060...[HTTP proxy CONNECT auth Digest, large headers and data]
-pd---emv- OK (719 out of 1212, remaining: 12:15)
test 1061...[HTTP proxy CONNECT auth Digest, large headers and chunked data]
-pd---emv- OK (720 out of 1212, remaining: 12:15)
test 1062...[FTP with excessively long server command response lines, boundary condition]
-pd---emv- OK (721 out of 1212, remaining: 12:14)
test 1063...[Invalid large X- range on a file://]
------emv- OK (722 out of 1212, remaining: 12:12)
test 1064...[HTTP PUT twice]
sp----emv- OK (723 out of 1212, remaining: 12:10)
test 1065...[HTTP PUT with one file but two URLs]
sp----emv- OK (724 out of 1212, remaining: 12:09)
test 1066...[HTTP --dump-header - with two URLs]
sp----emv- OK (725 out of 1212, remaining: 12:07)
test 1067...[HTTP Location: following with auto-referer]
-pd---emv- OK (726 out of 1212, remaining: 12:05)
test 1068...[HTTP PUT from stdin]
-pd---emv- OK (727 out of 1212, remaining: 12:04)
test 1069...[HTTP 1.0 PUT from stdin with no content length]
------emv- OK (728 out of 1212, remaining: 12:02)
test 1070...[HTTP POST with server closing connection before (all) data is received]
-pd---emv- OK (729 out of 1212, remaining: 12:01)
test 1071...[Downgraded HTTP PUT to HTTP 1.0 with authorization]
-pd---emv- OK (730 out of 1212, remaining: 12:00)
test 1072...[HTTP chunked PUT to HTTP 1.0 server with authorization]
-pd---emv- OK (731 out of 1212, remaining: 11:59)
test 1073...[HTTP chunked PUT to HTTP 1.0 server with redirect]
-pd---emv- OK (732 out of 1212, remaining: 11:58)
test 1074...[HTTP downgrade to HTTP/1.0 on second request]
sp----emv- OK (733 out of 1212, remaining: 11:58)
test 1075...[HTTP PUT with --anyauth authorization (picking Basic)]
-pd---emv- OK (734 out of 1212, remaining: 11:58)
test 1076...[HTTP POST with 302 redirect and --post302]
-pd---emv- OK (735 out of 1212, remaining: 11:56)
test 1077...[FTP over HTTP proxy with downgrade to HTTP 1.0]
-pd---emv- OK (736 out of 1212, remaining: 11:54)
test 1078...[HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0]
sp--P-emv- OK (737 out of 1212, remaining: 11:53)
test 1079...[HTTP retry after closed connection and empty response]
-pd---emv- OK (738 out of 1212, remaining: 11:51)
test 1080...[HTTP Location: on two URLs 'redirect_url' check]
sp----emv- OK (739 out of 1212, remaining: 11:50)
test 1081...[HTTP no Location: on second URL 'redirect_url' check]
sp----emv- OK (740 out of 1212, remaining: 11:48)
test 1082...[HTTP GET with localhost --interface]
-pd---emv- OK (741 out of 1212, remaining: 11:46)
test 1083...[HTTP-IPv6 GET with ip6-localhost --interface]
-pd---emv- OK (742 out of 1212, remaining: 11:44)
test 1084...[HTTP GET with invalid --interface]
------emv- OK (743 out of 1212, remaining: 11:43)
test 1085...[HTTP-IPv6 GET with invalid --interface]
------emv- OK (744 out of 1212, remaining: 11:41)
test 1086...[FTP download with strict timeout and slow data transfer]
Killed
Killed
-p----emv- OK (745 out of 1212, remaining: 11:47)
test 1087...[HTTP, proxy with --anyauth and Location: to new host]
-pd---emv- OK (746 out of 1212, remaining: 11:46)
test 1088...[HTTP, proxy with --anyauth and Location: to new host using location-trusted]
-pd---emv- OK (747 out of 1212, remaining: 11:44)
test 1089...[HTTP GET --write-out with redirected fetch]
sp----emv- OK (748 out of 1212, remaining: 11:42)
test 1090...[HTTP GET --write-out with redirected fetch and chunked reply]
sp----emv- OK (749 out of 1212, remaining: 11:41)
test 1091...[FTP URL with type=i]
-pd---emv- OK (750 out of 1212, remaining: 11:40)
test 1092...[FTP with type=i over HTTP proxy]
-pd---emv- OK (751 out of 1212, remaining: 11:39)
test 1093...[TFTP retrieve with mode=i]
-pd---emv- OK (752 out of 1212, remaining: 11:37)
test 1094...[TFTP retrieve with mode=netascii]
-pd---emv- OK (753 out of 1212, remaining: 11:35)
test 1095...[HTTP with Digest and realm with quoted quotes]
-pd---emv- OK (754 out of 1212, remaining: 11:33)
test 1096...[Two FTP downloads, with failed RETR but re-used control connection]
Killed
Killed
-p----emv- OK (755 out of 1212, remaining: 11:32)
test 1097...[HTTP POST using CONNECT with --proxy-ntlm but no auth is required]
-pd---emv- OK (756 out of 1212, remaining: 11:30)
test 1098...[FTP RETR twice over proxy confirming persistent connection]
sp----emv- OK (757 out of 1212, remaining: 11:28)
test 1099...[TFTP get first a non-existing file then an existing]
sp----emv- OK (758 out of 1212, remaining: 11:27)
test 1100...[HTTP POST with NTLM authorization and following a 302 redirect]
-pd---emv- OK (759 out of 1212, remaining: 11:25)
test 1101...[NO_PROXY test, with user name in URL]
-pd---emv- OK (760 out of 1212, remaining: 11:23)
test 1102...[FTP OS/400 server name format check]
-p----emv- OK (761 out of 1212, remaining: 11:21)
test 1103...[FTP non-OS/400 server]
-p----emv- OK (762 out of 1212, remaining: 11:20)
test 1104...[HTTP cookie expiry date at Jan 1 00:00:00 GMT 1970]
-pd---emv- OK (763 out of 1212, remaining: 11:18)
test 1105...[HTTP with cookie parser and header recording]
-pd--oemv- OK (764 out of 1212, remaining: 11:16)
test 1106...[FTP URL and with ftp_proxy environment variable set]
-p----emv- OK (765 out of 1212, remaining: 11:15)
test 1107...[FTP RETR PASV with PRET]
-pd---emv- OK (766 out of 1212, remaining: 11:13)
test 1108...[FTP RETR PASV with PRET not supported]
-p----emv- OK (767 out of 1212, remaining: 11:11)
test 1109...[HTTP GET with URL that contains fragment after the path]
-pd---emv- OK (768 out of 1212, remaining: 11:10)
test 1110...[HTTP GET with URL that contains a fragment after the query part]
-pd---emv- OK (769 out of 1212, remaining: 11:08)
test 1111...[HTTP GET with URL whose fragment contains a # (which is illegal)]
-pd---emv- OK (770 out of 1212, remaining: 11:06)
test 1112...[FTPS download with strict timeout and slow data transfer]
Killed
Killed
goto problem 32
valgrind ERROR ==32504== Invalid read of size 8
==32504== at 0x5E755A5: check_free (dlerror.c:188)
==32504== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==32504== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==32504== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32504== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32504== by 0x559BF49: __run_exit_handlers (exit.c:132)
==32504== by 0x559BF79: exit (exit.c:139)
==32504== by 0x55860A1: (below main) (libc-start.c:342)
==32504== Address 0x66ae200 is 0 bytes after a block of size 32 alloc'd
==32504== at 0x483577F: malloc (vg_replace_malloc.c:299)
==32504== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==32504== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==32504== by 0x4DD1E85: err_get_state (err.c:210)
==32504== by 0x4DD2A5D: ERR_put_error (err.c:636)
==32504== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==32504== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==32504== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==32504== by 0x4E92358: by_file_ctrl (by_file.c:111)
==32504== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==32504== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==32504== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==32504== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==32504== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==32504== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==32504== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==32504==
==32504== Invalid free() / delete / delete[] / realloc()
==32504== at 0x48369AB: free (vg_replace_malloc.c:530)
==32504== by 0x5E75AB9: free_key_mem (dlerror.c:223)
==32504== by 0x5E75AB9: __dlerror_main_freeres (dlerror.c:239)
==32504== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32504== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32504== by 0x559BF49: __run_exit_handlers (exit.c:132)
==32504== by 0x559BF79: exit (exit.c:139)
==32504== by 0x55860A1: (below main) (libc-start.c:342)
==32504== Address 0x66ae1e8 is 8 bytes inside a block of size 32 alloc'd
==32504== at 0x483577F: malloc (vg_replace_malloc.c:299)
==32504== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==32504== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==32504== by 0x4DD1E85: err_get_state (err.c:210)
==32504== by 0x4DD2A5D: ERR_put_error (err.c:636)
==32504== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==32504== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==32504== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==32504== by 0x4E92358: by_file_ctrl (by_file.c:111)
==32504== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==32504== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==32504== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==32504== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==32504== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==32504== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==32504== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==32504==
==32504== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==32504== at 0x483577F: malloc (vg_replace_malloc.c:299)
==32504== by 0x4DCFEFE: OPENSSL_malloc (mem.c:79)
==32504== by 0x4DD08C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==32504== by 0x4DD1E85: err_get_state (err.c:210)
==32504== by 0x4DD2A5D: ERR_put_error (err.c:636)
==32504== by 0x4E8C834: PEM_read_bio (pem_lib.c:621)
==32504== by 0x4E8A5AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==32504== by 0x4E92854: X509_load_cert_crl_file (by_file.c:253)
==32504== by 0x4E92358: by_file_ctrl (by_file.c:111)
==32504== by 0x4E9834C: X509_LOOKUP_ctrl (x509_lu.c:123)
==32504== by 0x4E978F8: X509_STORE_load_locations (x509_d2.c:91)
==32504== by 0x4B538B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==32504== by 0x1AE00B: ossl_connect_step1 (openssl.c:2597)
==32504== by 0x1B08FA: ossl_connect_common (openssl.c:3538)
==32504== by 0x1B0BA5: Curl_ossl_connect (openssl.c:3632)
==32504== by 0x16301E: Curl_ssl_connect (vtls.c:251)
==32504==
== 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
=== End of file curl1112.out
=== Start of file ftp_server.log
03:13:23.311357 ====> Client connect
03:13:23.311490 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:13:23.312147 < "USER anonymous"
03:13:23.312209 > "331 We are happy you popped in![CR][LF]"
03:13:23.312635 < "PASS ftp@example.com"
03:13:23.312694 > "230 Welcome you silly person[CR][LF]"
03:13:23.313120 < "PBSZ 0"
03:13:23.313176 > "500 PBSZ not implemented[CR][LF]"
03:13:23.313659 < "PROT C"
03:13:23.313716 > "500 PROT not implemented[CR][LF]"
03:13:23.314190 < "PWD"
03:13:23.314250 > "257 "/" is current directory[CR][LF]"
03:13:23.314635 < "EPSV"
03:13:23.314683 ====> Passive DATA channel requested by client
03:13:23.314707 DATA sockfilt for passive data channel starting...
03:13:23.316824 DATA sockfilt for passive data channel started (pid 32501)
03:13:23.317084 DATA sockfilt for passive data channel listens on port 42651
03:13:23.317174 > "229 Entering Passive Mode (|||42651|)[LF]"
03:13:23.317223 Client has been notified that DATA conn will be accepted on port 42651
03:13:23.317598 Client connects to port 42651
03:13:23.317642 ====> Client established passive DATA connection on port 42651
03:13:23.317865 < "TYPE I"
03:13:23.317925 > "200 I modify TYPE as you wanted[CR][LF]"
03:13:23.318419 < "SIZE verifiedserver"
03:13:23.318476 > "213 17[CR][LF]"
03:13:23.319009 < "RETR verifiedserver"
03:13:23.319061 > "150 Binary junk (17 bytes).[CR][LF]"
03:13:23.319140 =====> Closing passive DATA connection...
03:13:23.319162 Server disconnects passive DATA connection
03:13:23.319312 DATA sockfilt for passive data channel quits (pid 32502)
03:13:23.319345 =====> Closed passive DATA connection
03:13:23.319392 > "226 File transfer complete[CR][LF]"
03:13:23.361420 < "QUIT"
03:13:23.361494 > "221 bye bye baby[CR][LF]"
03:13:23.362065 MAIN sockfilt said DISC
03:13:23.362157 ====> Client disconnected
03:13:23.362276 Awaiting input
03:13:27.064307 ====> Client connect
03:13:27.064394 FTPD: Getting commands from log/ftpserver.cmd
03:13:27.064418 FTPD: send response with 0.01 sec delay between each byte
03:13:27.064488 FTPD: set custom reply for USER command
03:13:27.064522 FTPD: set custom reply for PASS command
03:13:27.064555 FTPD: set custom reply for PWD command
03:13:27.064585 FTPD: set custom reply for TYPE command
03:13:28.679378 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:13:28.687580 < "USER anonymous"
03:13:28.768365 > "331 OK[CR][LF]"
03:13:28.768557 < "PASS ftp@example.com"
03:13:28.849329 > "230 OK[CR][LF]"
03:13:28.849540 < "PBSZ 0"
03:13:29.111974 > "500 PBSZ not implemented[CR][LF]"
03:13:29.112190 < "PROT C"
03:13:29.374687 > "500 PROT not implemented[CR][LF]"
03:13:29.374914 < "PWD"
03:13:29.465798 > "257 "/"[CR][LF]"
03:13:29.470076 < "EPSV"
03:13:29.470134 ====> Passive DATA channel requested by client
03:13:29.470160 DATA sockfilt for passive data channel starting...
03:13:29.472894 DATA sockfilt for passive data channel started (pid 32506)
03:13:29.473055 DATA sockfilt for passive data channel listens on port 40721
03:13:29.856783 > "229 Entering Passive Mode (|||40721|)[LF]"
03:13:29.856893 Client has been notified that DATA conn will be accepted on port 40721
03:13:29.860140 Client connects to port 40721
03:13:29.860223 ====> Client established passive DATA connection on port 40721
03:13:29.866132 < "TYPE I"
03:13:29.946904 > "200 OK[CR][LF]"
03:13:29.947114 < "SIZE 1112"
03:13:30.048726 > "213 3600[CR][LF]"
03:13:30.048942 < "RETR 1112"
03:13:30.594579 > "150 Binary data connection for 1112 () (3600 bytes).[CR][LF]"
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:13:23.522586 ====> Client connect
03:13:23.522828 Received DATA (on stdin)
03:13:23.522863 > 160 bytes data, server => client
03:13:23.522888 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:13:23.522908 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:13:23.522923 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:13:23.523293 < 16 bytes data, client => server
03:13:23.523340 'USER anonymous\r\n'
03:13:23.523554 Received DATA (on stdin)
03:13:23.523605 > 33 bytes data, server => client
03:13:23.523628 '331 We are happy you popped in!\r\n'
03:13:23.523884 < 22 bytes data, client => server
03:13:23.523916 'PASS ftp@example.com\r\n'
03:13:23.524015 Received DATA (on stdin)
03:13:23.524041 > 30 bytes data, server => client
03:13:23.524062 '230 Welcome you silly person\r\n'
03:13:23.524305 < 8 bytes data, client => server
03:13:23.524334 'PBSZ 0\r\n'
03:13:23.524522 Received DATA (on stdin)
03:13:23.524573 > 26 bytes data, server => client
03:13:23.524595 '500 PBSZ not implemented\r\n'
03:13:23.524877 < 8 bytes data, client => server
03:13:23.524916 'PROT C\r\n'
03:13:23.525061 Received DATA (on stdin)
03:13:23.525112 > 26 bytes data, server => client
03:13:23.525135 '500 PROT not implemented\r\n'
03:13:23.525419 < 5 bytes data, client => server
03:13:23.525457 'PWD\r\n'
03:13:23.525583 Received DATA (on stdin)
03:13:23.525620 > 30 bytes data, server => client
03:13:23.525644 '257 "/" is current directory\r\n'
03:13:23.525900 < 6 bytes data, client => server
03:13:23.525925 'EPSV\r\n'
03:13:23.528499 Received DATA (on stdin)
03:13:23.528540 > 38 bytes data, server => client
03:13:23.528564 '229 Entering Passive Mode (|||42651|)\n'
03:13:23.529068 < 8 bytes data, client => server
03:13:23.529120 'TYPE I\r\n'
03:13:23.529270 Received DATA (on stdin)
03:13:23.529320 > 33 bytes data, server => client
03:13:23.529350 '200 I modify TYPE as you wanted\r\n'
03:13:23.529655 < 21 bytes data, client => server
03:13:23.529703 'SIZE verifiedserver\r\n'
03:13:23.529824 Received DATA (on stdin)
03:13:23.529875 > 8 bytes data, server => client
03:13:23.529901 '213 17\r\n'
03:13:23.530247 < 21 bytes data, client => server
03:13:23.530300 'RETR verifiedserver\r\n'
03:13:23.530409 Received DATA (on stdin)
03:13:23.530447 > 29 bytes data, server => client
03:13:23.530471 '150 Binary junk (17 bytes).\r\n'
03:13:23.530737 Received DATA (on stdin)
03:13:23.530779 > 28 bytes data, server => client
03:13:23.530816 '226 File transfer complete\r\n'
03:13:23.572582 < 6 bytes data, client => server
03:13:23.572636 'QUIT\r\n'
03:13:23.572852 Received DATA (on stdin)
03:13:23.572908 > 18 bytes data, server => client
03:13:23.572937 '221 bye bye baby\r\n'
03:13:23.573301 ====> Client disconnect
03:13:27.275553 ====> Client connect
03:13:27.275958 Received DATA (on stdin)
03:13:27.275972 > 1 bytes data, server => client
03:13:27.275981 '2'
03:13:27.286069 Received DATA (on stdin)
03:13:27.286114 > 1 bytes data, server => client
03:13:27.286127 '2'
03:13:27.296133 Received DATA (on stdin)
03:13:27.296160 > 1 bytes data, server => client
03:13:27.296173 '0'
03:13:27.306199 Received DATA (on stdin)
03:13:27.306223 > 1 bytes data, server => client
03:13:27.306236 '-'
03:13:27.316263 Received DATA (on stdin)
03:13:27.316288 > 1 bytes data, server => client
03:13:27.316301 ' '
03:13:27.326329 Received DATA (on stdin)
03:13:27.326354 > 1 bytes data, server => client
03:13:27.326367 ' '
03:13:27.336396 Received DATA (on stdin)
03:13:27.336420 > 1 bytes data, server => client
03:13:27.336434 ' '
03:13:27.346464 Received DATA (on stdin)
03:13:27.346493 > 1 bytes data, server => client
03:13:27.346506 ' '
03:13:27.356563 Received DATA (on stdin)
03:13:27.356612 > 1 bytes data, server => client
03:13:27.356630 ' '
03:13:27.366664 Received DATA (on stdin)
03:13:27.366717 > 1 bytes data, server => client
03:13:27.366742 ' '
03:13:27.376767 Received DATA (on stdin)
03:13:27.376835 > 1 bytes data, server => client
03:13:27.376863 ' '
03:13:27.386867 Received DATA (on stdin)
03:13:27.386935 > 1 bytes data, server => client
03:13:27.386962 ' '
03:13:27.396967 Received DATA (on stdin)
03:13:27.397035 > 1 bytes data, server => client
03:13:27.397062 '_'
03:13:27.407065 Received DATA (on stdin)
03:13:27.407133 > 1 bytes data, server => client
03:13:27.407160 ' '
03:13:27.417166 Received DATA (on stdin)
03:13:27.417234 > 1 bytes data, server => client
03:13:27.417260 ' '
03:13:27.427262 Received DATA (on stdin)
03:13:27.427321 > 1 bytes data, server => client
03:13:27.427348 ' '
03:13:27.437361 Received DATA (on stdin)
03:13:27.437429 > 1 bytes data, server => client
03:13:27.437456 '_'
03:13:27.447455 Received DATA (on stdin)
03:13:27.447514 > 1 bytes data, server => client
03:13:27.447541 ' '
03:13:27.457548 Received DATA (on stdin)
03:13:27.457607 > 1 bytes data, server => client
03:13:27.457635 '_'
03:13:27.467635 Received DATA (on stdin)
03:13:27.467696 > 1 bytes data, server => client
03:13:27.467724 '_'
03:13:27.477721 Received DATA (on stdin)
03:13:27.477780 > 1 bytes data, server => client
03:13:27.477808 '_'
03:13:27.487811 Received DATA (on stdin)
03:13:27.487867 > 1 bytes data, server => client
03:13:27.487893 '_'
03:13:27.497896 Received DATA (on stdin)
03:13:27.497952 > 1 bytes data, server => client
03:13:27.497968 ' '
03:13:27.507976 Received DATA (on stdin)
03:13:27.508036 > 1 bytes data, server => client
03:13:27.508048 ' '
03:13:27.518080 Received DATA (on stdin)
03:13:27.518140 > 1 bytes data, server => client
03:13:27.518158 '_'
03:13:27.528173 Received DATA (on stdin)
03:13:27.528223 > 1 bytes data, server => client
03:13:27.528245 ' '
03:13:27.538287 Received DATA (on stdin)
03:13:27.538349 > 1 bytes data, server => client
03:13:27.538373 ' '
03:13:27.548359 Received DATA (on stdin)
03:13:27.548410 > 1 bytes data, server => client
03:13:27.548433 ' '
03:13:27.558476 Received DATA (on stdin)
03:13:27.558535 > 1 bytes data, server => client
03:13:27.558562 ' '
03:13:27.568569 Received DATA (on stdin)
03:13:27.568633 > 1 bytes data, server => client
03:13:27.568659 ' '
03:13:27.578661 Received DATA (on stdin)
03:13:27.578720 > 1 bytes data, server => client
03:13:27.578747 '\r'
03:13:27.588754 Received DATA (on stdin)
03:13:27.588813 > 1 bytes data, server => client
03:13:27.588840 '\n'
03:13:27.598850 Received DATA (on stdin)
03:13:27.598918 > 1 bytes data, server => client
03:13:27.598944 '2'
03:13:27.608947 Received DATA (on stdin)
03:13:27.609012 > 1 bytes data, server => client
03:13:27.609039 '2'
03:13:27.619059 Received DATA (on stdin)
03:13:27.619146 > 1 bytes data, server => client
03:13:27.619172 '0'
03:13:27.629137 Received DATA (on stdin)
03:13:27.629187 > 1 bytes data, server => client
03:13:27.629199 '-'
03:13:27.639249 Received DATA (on stdin)
03:13:27.639339 > 1 bytes data, server => client
03:13:27.639360 ' '
03:13:27.649345 Received DATA (on stdin)
03:13:27.649406 > 1 bytes data, server => client
03:13:27.649429 ' '
03:13:27.659454 Received DATA (on stdin)
03:13:27.659511 > 1 bytes data, server => client
03:13:27.659538 ' '
03:13:27.669550 Received DATA (on stdin)
03:13:27.669610 > 1 bytes data, server => client
03:13:27.669637 ' '
03:13:27.679642 Received DATA (on stdin)
03:13:27.679702 > 1 bytes data, server => client
03:13:27.679728 '_'
03:13:27.689737 Received DATA (on stdin)
03:13:27.689797 > 1 bytes data, server => client
03:13:27.689823 '_'
03:13:27.699830 Received DATA (on stdin)
03:13:27.699890 > 1 bytes data, server => client
03:13:27.699917 '_'
03:13:27.709926 Received DATA (on stdin)
03:13:27.709990 > 1 bytes data, server => client
03:13:27.710017 '|'
03:13:27.720025 Received DATA (on stdin)
03:13:27.720085 > 1 bytes data, server => client
03:13:27.720111 ' '
03:13:27.730098 Received DATA (on stdin)
03:13:27.730158 > 1 bytes data, server => client
03:13:27.730183 '|'
03:13:27.740202 Received DATA (on stdin)
03:13:27.740261 > 1 bytes data, server => client
03:13:27.740288 ' '
03:13:27.750292 Received DATA (on stdin)
03:13:27.750352 > 1 bytes data, server => client
03:13:27.750379 '|'
03:13:27.760385 Received DATA (on stdin)
03:13:27.760461 > 1 bytes data, server => client
03:13:27.760490 ' '
03:13:27.770459 Received DATA (on stdin)
03:13:27.770527 > 1 bytes data, server => client
03:13:27.770546 '|'
03:13:27.780575 Received DATA (on stdin)
03:13:27.780641 > 1 bytes data, server => client
03:13:27.780666 ' '
03:13:27.790670 Received DATA (on stdin)
03:13:27.790729 > 1 bytes data, server => client
03:13:27.790757 ' '
03:13:27.800762 Received DATA (on stdin)
03:13:27.800835 > 1 bytes data, server => client
03:13:27.800862 '_'
03:13:27.810833 Received DATA (on stdin)
03:13:27.810896 > 1 bytes data, server => client
03:13:27.810922 ' '
03:13:27.820948 Received DATA (on stdin)
03:13:27.821007 > 1 bytes data, server => client
03:13:27.821034 '\'
03:13:27.831042 Received DATA (on stdin)
03:13:27.831101 > 1 bytes data, server => client
03:13:27.831128 '|'
03:13:27.841135 Received DATA (on stdin)
03:13:27.841193 > 1 bytes data, server => client
03:13:27.841221 ' '
03:13:27.851211 Received DATA (on stdin)
03:13:27.851278 > 1 bytes data, server => client
03:13:27.851318 '|'
03:13:27.861325 Received DATA (on stdin)
03:13:27.861386 > 1 bytes data, server => client
03:13:27.861413 ' '
03:13:27.871418 Received DATA (on stdin)
03:13:27.871477 > 1 bytes data, server => client
03:13:27.871505 ' '
03:13:27.881511 Received DATA (on stdin)
03:13:27.881570 > 1 bytes data, server => client
03:13:27.881597 ' '
03:13:27.891596 Received DATA (on stdin)
03:13:27.891655 > 1 bytes data, server => client
03:13:27.891683 ' '
03:13:27.901688 Received DATA (on stdin)
03:13:27.901747 > 1 bytes data, server => client
03:13:27.901774 '\r'
03:13:27.911779 Received DATA (on stdin)
03:13:27.911838 > 1 bytes data, server => client
03:13:27.911865 '\n'
03:13:27.921873 Received DATA (on stdin)
03:13:27.921932 > 1 bytes data, server => client
03:13:27.921959 '2'
03:13:27.931965 Received DATA (on stdin)
03:13:27.932036 > 1 bytes data, server => client
03:13:27.932064 '2'
03:13:27.942045 Received DATA (on stdin)
03:13:27.942104 > 1 bytes data, server => client
03:13:27.942131 '0'
03:13:27.952137 Received DATA (on stdin)
03:13:27.952195 > 1 bytes data, server => client
03:13:27.952223 '-'
03:13:27.962229 Received DATA (on stdin)
03:13:27.962288 > 1 bytes data, server => client
03:13:27.962315 ' '
03:13:27.972317 Received DATA (on stdin)
03:13:27.972376 > 1 bytes data, server => client
03:13:27.972403 ' '
03:13:27.982412 Received DATA (on stdin)
03:13:27.982470 > 1 bytes data, server => client
03:13:27.982497 ' '
03:13:27.992501 Received DATA (on stdin)
03:13:27.992559 > 1 bytes data, server => client
03:13:27.992587 '/'
03:13:28.002622 Received DATA (on stdin)
03:13:28.002681 > 1 bytes data, server => client
03:13:28.002709 ' '
03:13:28.012706 Received DATA (on stdin)
03:13:28.012773 > 1 bytes data, server => client
03:13:28.012802 '_'
03:13:28.022837 Received DATA (on stdin)
03:13:28.022899 > 1 bytes data, server => client
03:13:28.022926 '_'
03:13:28.032928 Received DATA (on stdin)
03:13:28.032989 > 1 bytes data, server => client
03:13:28.033016 '|'
03:13:28.043020 Received DATA (on stdin)
03:13:28.043078 > 1 bytes data, server => client
03:13:28.043105 ' '
03:13:28.053111 Received DATA (on stdin)
03:13:28.053170 > 1 bytes data, server => client
03:13:28.053197 '|'
03:13:28.063196 Received DATA (on stdin)
03:13:28.063254 > 1 bytes data, server => client
03:13:28.063282 ' '
03:13:28.073285 Received DATA (on stdin)
03:13:28.073344 > 1 bytes data, server => client
03:13:28.073371 '|'
03:13:28.083377 Received DATA (on stdin)
03:13:28.083435 > 1 bytes data, server => client
03:13:28.083462 ' '
03:13:28.093469 Received DATA (on stdin)
03:13:28.093528 > 1 bytes data, server => client
03:13:28.093555 '|'
03:13:28.103561 Received DATA (on stdin)
03:13:28.103619 > 1 bytes data, server => client
03:13:28.103646 ' '
03:13:28.113652 Received DATA (on stdin)
03:13:28.113710 > 1 bytes data, server => client
03:13:28.113737 '|'
03:13:28.123746 Received DATA (on stdin)
03:13:28.123804 > 1 bytes data, server => client
03:13:28.123831 '_'
03:13:28.133818 Received DATA (on stdin)
03:13:28.133885 > 1 bytes data, server => client
03:13:28.133925 ')'
03:13:28.143934 Received DATA (on stdin)
03:13:28.144028 > 1 bytes data, server => client
03:13:28.144060 ' '
03:13:28.154025 Received DATA (on stdin)
03:13:28.154092 > 1 bytes data, server => client
03:13:28.154119 '|'
03:13:28.164076 Received DATA (on stdin)
03:13:28.164135 > 1 bytes data, server => client
03:13:28.164162 ' '
03:13:28.174168 Received DATA (on stdin)
03:13:28.174226 > 1 bytes data, server => client
03:13:28.174253 '|'
03:13:28.184262 Received DATA (on stdin)
03:13:28.184320 > 1 bytes data, server => client
03:13:28.184347 ' '
03:13:28.194350 Received DATA (on stdin)
03:13:28.194409 > 1 bytes data, server => client
03:13:28.194436 ' '
03:13:28.204436 Received DATA (on stdin)
03:13:28.204494 > 1 bytes data, server => client
03:13:28.204521 ' '
03:13:28.214530 Received DATA (on stdin)
03:13:28.214589 > 1 bytes data, server => client
03:13:28.214616 ' '
03:13:28.224623 Received DATA (on stdin)
03:13:28.224682 > 1 bytes data, server => client
03:13:28.224708 '\r'
03:13:28.234715 Received DATA (on stdin)
03:13:28.234773 > 1 bytes data, server => client
03:13:28.234800 '\n'
03:13:28.244806 Received DATA (on stdin)
03:13:28.244864 > 1 bytes data, server => client
03:13:28.244891 '2'
03:13:28.254898 Received DATA (on stdin)
03:13:28.254957 > 1 bytes data, server => client
03:13:28.254984 '2'
03:13:28.264992 Received DATA (on stdin)
03:13:28.265050 > 1 bytes data, server => client
03:13:28.265077 '0'
03:13:28.275084 Received DATA (on stdin)
03:13:28.275142 > 1 bytes data, server => client
03:13:28.275169 '-'
03:13:28.285175 Received DATA (on stdin)
03:13:28.285234 > 1 bytes data, server => client
03:13:28.285261 ' '
03:13:28.295269 Received DATA (on stdin)
03:13:28.295328 > 1 bytes data, server => client
03:13:28.295355 ' '
03:13:28.305361 Received DATA (on stdin)
03:13:28.305419 > 1 bytes data, server => client
03:13:28.305445 '|'
03:13:28.315454 Received DATA (on stdin)
03:13:28.315513 > 1 bytes data, server => client
03:13:28.315540 ' '
03:13:28.325548 Received DATA (on stdin)
03:13:28.325606 > 1 bytes data, server => client
03:13:28.325633 '('
03:13:28.335640 Received DATA (on stdin)
03:13:28.335698 > 1 bytes data, server => client
03:13:28.335725 '_'
03:13:28.345715 Received DATA (on stdin)
03:13:28.345781 > 1 bytes data, server => client
03:13:28.345825 '_'
03:13:28.355829 Received DATA (on stdin)
03:13:28.355890 > 1 bytes data, server => client
03:13:28.355916 '|'
03:13:28.365922 Received DATA (on stdin)
03:13:28.365980 > 1 bytes data, server => client
03:13:28.366007 ' '
03:13:28.376025 Received DATA (on stdin)
03:13:28.376082 > 1 bytes data, server => client
03:13:28.376108 '|'
03:13:28.386107 Received DATA (on stdin)
03:13:28.386166 > 1 bytes data, server => client
03:13:28.386193 '_'
03:13:28.396200 Received DATA (on stdin)
03:13:28.396258 > 1 bytes data, server => client
03:13:28.396286 '|'
03:13:28.406292 Received DATA (on stdin)
03:13:28.406350 > 1 bytes data, server => client
03:13:28.406377 ' '
03:13:28.416385 Received DATA (on stdin)
03:13:28.416444 > 1 bytes data, server => client
03:13:28.416471 '|'
03:13:28.426479 Received DATA (on stdin)
03:13:28.426537 > 1 bytes data, server => client
03:13:28.426564 ' '
03:13:28.436570 Received DATA (on stdin)
03:13:28.436628 > 1 bytes data, server => client
03:13:28.436655 ' '
03:13:28.446663 Received DATA (on stdin)
03:13:28.446721 > 1 bytes data, server => client
03:13:28.446748 '_'
03:13:28.456757 Received DATA (on stdin)
03:13:28.456816 > 1 bytes data, server => client
03:13:28.456843 ' '
03:13:28.466854 Received DATA (on stdin)
03:13:28.466913 > 1 bytes data, server => client
03:13:28.466939 '{'
03:13:28.476948 Received DATA (on stdin)
03:13:28.477007 > 1 bytes data, server => client
03:13:28.477034 '|'
03:13:28.487042 Received DATA (on stdin)
03:13:28.487100 > 1 bytes data, server => client
03:13:28.487127 ' '
03:13:28.497135 Received DATA (on stdin)
03:13:28.497193 > 1 bytes data, server => client
03:13:28.497220 '|'
03:13:28.507228 Received DATA (on stdin)
03:13:28.507291 > 1 bytes data, server => client
03:13:28.507332 '_'
03:13:28.517322 Received DATA (on stdin)
03:13:28.517381 > 1 bytes data, server => client
03:13:28.517420 '_'
03:13:28.527423 Received DATA (on stdin)
03:13:28.527491 > 1 bytes data, server => client
03:13:28.527530 '_'
03:13:28.537514 Received DATA (on stdin)
03:13:28.537574 > 1 bytes data, server => client
03:13:28.537601 ' '
03:13:28.547581 Received DATA (on stdin)
03:13:28.547635 > 1 bytes data, server => client
03:13:28.547660 '\r'
03:13:28.557700 Received DATA (on stdin)
03:13:28.557758 > 1 bytes data, server => client
03:13:28.557785 '\n'
03:13:28.567770 Received DATA (on stdin)
03:13:28.567825 > 1 bytes data, server => client
03:13:28.567850 '2'
03:13:28.577885 Received DATA (on stdin)
03:13:28.577944 > 1 bytes data, server => client
03:13:28.577971 '2'
03:13:28.587977 Received DATA (on stdin)
03:13:28.588047 > 1 bytes data, server => client
03:13:28.588074 '0'
03:13:28.598069 Received DATA (on stdin)
03:13:28.598128 > 1 bytes data, server => client
03:13:28.598156 ' '
03:13:28.608145 Received DATA (on stdin)
03:13:28.608205 > 1 bytes data, server => client
03:13:28.608233 ' '
03:13:28.618245 Received DATA (on stdin)
03:13:28.618304 > 1 bytes data, server => client
03:13:28.618331 ' '
03:13:28.628334 Received DATA (on stdin)
03:13:28.628393 > 1 bytes data, server => client
03:13:28.628420 ' '
03:13:28.638425 Received DATA (on stdin)
03:13:28.638484 > 1 bytes data, server => client
03:13:28.638511 '\'
03:13:28.648511 Received DATA (on stdin)
03:13:28.648571 > 1 bytes data, server => client
03:13:28.648597 '_'
03:13:28.658596 Received DATA (on stdin)
03:13:28.658655 > 1 bytes data, server => client
03:13:28.658682 '_'
03:13:28.668688 Received DATA (on stdin)
03:13:28.668747 > 1 bytes data, server => client
03:13:28.668774 '_'
03:13:28.678780 Received DATA (on stdin)
03:13:28.678839 > 1 bytes data, server => client
03:13:28.678867 '|'
03:13:28.688872 Received DATA (on stdin)
03:13:28.688932 > 1 bytes data, server => client
03:13:28.688959 '\'
03:13:28.698964 Received DATA (on stdin)
03:13:28.699024 > 1 bytes data, server => client
03:13:28.699051 '_'
03:13:28.709057 Received DATA (on stdin)
03:13:28.709120 > 1 bytes data, server => client
03:13:28.709147 '_'
03:13:28.719150 Received DATA (on stdin)
03:13:28.719209 > 1 bytes data, server => client
03:13:28.719236 '_'
03:13:28.729239 Received DATA (on stdin)
03:13:28.729298 > 1 bytes data, server => client
03:13:28.729325 '/'
03:13:28.739332 Received DATA (on stdin)
03:13:28.739391 > 1 bytes data, server => client
03:13:28.739418 '|'
03:13:28.749424 Received DATA (on stdin)
03:13:28.749483 > 1 bytes data, server => client
03:13:28.749510 '_'
03:13:28.759516 Received DATA (on stdin)
03:13:28.759575 > 1 bytes data, server => client
03:13:28.759602 '|'
03:13:28.769608 Received DATA (on stdin)
03:13:28.769667 > 1 bytes data, server => client
03:13:28.769694 ' '
03:13:28.779700 Received DATA (on stdin)
03:13:28.779759 > 1 bytes data, server => client
03:13:28.779786 '\'
03:13:28.789792 Received DATA (on stdin)
03:13:28.789851 > 1 bytes data, server => client
03:13:28.789878 '_'
03:13:28.799887 Received DATA (on stdin)
03:13:28.799953 > 1 bytes data, server => client
03:13:28.799979 '\'
03:13:28.809981 Received DATA (on stdin)
03:13:28.810050 > 1 bytes data, server => client
03:13:28.810083 '_'
03:13:28.820055 Received DATA (on stdin)
03:13:28.820112 > 1 bytes data, server => client
03:13:28.820136 '_'
03:13:28.830149 Received DATA (on stdin)
03:13:28.830208 > 1 bytes data, server => client
03:13:28.830233 '_'
03:13:28.840254 Received DATA (on stdin)
03:13:28.840313 > 1 bytes data, server => client
03:13:28.840341 '_'
03:13:28.850345 Received DATA (on stdin)
03:13:28.850405 > 1 bytes data, server => client
03:13:28.850432 '_'
03:13:28.860435 Received DATA (on stdin)
03:13:28.860494 > 1 bytes data, server => client
03:13:28.860522 '|'
03:13:28.870528 Received DATA (on stdin)
03:13:28.870587 > 1 bytes data, server => client
03:13:28.870614 '\r'
03:13:28.880617 Received DATA (on stdin)
03:13:28.880676 > 1 bytes data, server => client
03:13:28.880703 '\n'
03:13:28.898779 < 16 bytes data, client => server
03:13:28.898804 'USER anonymous\r\n'
03:13:28.898966 Received DATA (on stdin)
03:13:28.898989 > 1 bytes data, server => client
03:13:28.899003 '3'
03:13:28.909063 Received DATA (on stdin)
03:13:28.909119 > 1 bytes data, server => client
03:13:28.909135 '3'
03:13:28.919170 Received DATA (on stdin)
03:13:28.919233 > 1 bytes data, server => client
03:13:28.919257 '1'
03:13:28.929263 Received DATA (on stdin)
03:13:28.929321 > 1 bytes data, server => client
03:13:28.929348 ' '
03:13:28.939354 Received DATA (on stdin)
03:13:28.939413 > 1 bytes data, server => client
03:13:28.939440 'O'
03:13:28.949444 Received DATA (on stdin)
03:13:28.949504 > 1 bytes data, server => client
03:13:28.949531 'K'
03:13:28.959536 Received DATA (on stdin)
03:13:28.959595 > 1 bytes data, server => client
03:13:28.959622 '\r'
03:13:28.969628 Received DATA (on stdin)
03:13:28.969687 > 1 bytes data, server => client
03:13:28.969715 '\n'
03:13:28.974017 < 22 bytes data, client => server
03:13:28.974078 'PASS ftp@example.com\r\n'
03:13:28.979976 Received DATA (on stdin)
03:13:28.980059 > 1 bytes data, server => client
03:13:28.980086 '2'
03:13:28.990064 Received DATA (on stdin)
03:13:28.990123 > 1 bytes data, server => client
03:13:28.990151 '3'
03:13:29.000150 Received DATA (on stdin)
03:13:29.000209 > 1 bytes data, server => client
03:13:29.000237 '0'
03:13:29.010231 Received DATA (on stdin)
03:13:29.010296 > 1 bytes data, server => client
03:13:29.010323 ' '
03:13:29.020317 Received DATA (on stdin)
03:13:29.020376 > 1 bytes data, server => client
03:13:29.020403 'O'
03:13:29.030389 Received DATA (on stdin)
03:13:29.030450 > 1 bytes data, server => client
03:13:29.030475 'K'
03:13:29.040495 Received DATA (on stdin)
03:13:29.040554 > 1 bytes data, server => client
03:13:29.040581 '\r'
03:13:29.050587 Received DATA (on stdin)
03:13:29.050646 > 1 bytes data, server => client
03:13:29.050673 '\n'
03:13:29.053535 < 8 bytes data, client => server
03:13:29.053594 'PBSZ 0\r\n'
03:13:29.060968 Received DATA (on stdin)
03:13:29.061028 > 1 bytes data, server => client
03:13:29.061055 '5'
03:13:29.071056 Received DATA (on stdin)
03:13:29.071115 > 1 bytes data, server => client
03:13:29.071143 '0'
03:13:29.081148 Received DATA (on stdin)
03:13:29.081207 > 1 bytes data, server => client
03:13:29.081234 '0'
03:13:29.091240 Received DATA (on stdin)
03:13:29.091299 > 1 bytes data, server => client
03:13:29.091326 ' '
03:13:29.101332 Received DATA (on stdin)
03:13:29.101391 > 1 bytes data, server => client
03:13:29.101418 'P'
03:13:29.111422 Received DATA (on stdin)
03:13:29.111482 > 1 bytes data, server => client
03:13:29.111509 'B'
03:13:29.121514 Received DATA (on stdin)
03:13:29.121573 > 1 bytes data, server => client
03:13:29.121600 'S'
03:13:29.131606 Received DATA (on stdin)
03:13:29.131665 > 1 bytes data, server => client
03:13:29.131692 'Z'
03:13:29.141697 Received DATA (on stdin)
03:13:29.141756 > 1 bytes data, server => client
03:13:29.141784 ' '
03:13:29.151788 Received DATA (on stdin)
03:13:29.151848 > 1 bytes data, server => client
03:13:29.151874 'n'
03:13:29.161880 Received DATA (on stdin)
03:13:29.161939 > 1 bytes data, server => client
03:13:29.161967 'o'
03:13:29.171971 Received DATA (on stdin)
03:13:29.172049 > 1 bytes data, server => client
03:13:29.172079 't'
03:13:29.182063 Received DATA (on stdin)
03:13:29.182123 > 1 bytes data, server => client
03:13:29.182150 ' '
03:13:29.192148 Received DATA (on stdin)
03:13:29.192208 > 1 bytes data, server => client
03:13:29.192235 'i'
03:13:29.202239 Received DATA (on stdin)
03:13:29.202298 > 1 bytes data, server => client
03:13:29.202325 'm'
03:13:29.212324 Received DATA (on stdin)
03:13:29.212383 > 1 bytes data, server => client
03:13:29.212410 'p'
03:13:29.222415 Received DATA (on stdin)
03:13:29.222474 > 1 bytes data, server => client
03:13:29.222502 'l'
03:13:29.232503 Received DATA (on stdin)
03:13:29.232563 > 1 bytes data, server => client
03:13:29.232590 'e'
03:13:29.242588 Received DATA (on stdin)
03:13:29.242651 > 1 bytes data, server => client
03:13:29.242678 'm'
03:13:29.252681 Received DATA (on stdin)
03:13:29.252741 > 1 bytes data, server => client
03:13:29.252783 'e'
03:13:29.262772 Received DATA (on stdin)
03:13:29.262831 > 1 bytes data, server => client
03:13:29.262859 'n'
03:13:29.272863 Received DATA (on stdin)
03:13:29.272923 > 1 bytes data, server => client
03:13:29.272951 't'
03:13:29.282955 Received DATA (on stdin)
03:13:29.283014 > 1 bytes data, server => client
03:13:29.283041 'e'
03:13:29.293046 Received DATA (on stdin)
03:13:29.293105 > 1 bytes data, server => client
03:13:29.293132 'd'
03:13:29.303137 Received DATA (on stdin)
03:13:29.303196 > 1 bytes data, server => client
03:13:29.303223 '\r'
03:13:29.313228 Received DATA (on stdin)
03:13:29.313287 > 1 bytes data, server => client
03:13:29.313315 '\n'
03:13:29.315994 < 8 bytes data, client => server
03:13:29.316071 'PROT C\r\n'
03:13:29.323616 Received DATA (on stdin)
03:13:29.323675 > 1 bytes data, server => client
03:13:29.323702 '5'
03:13:29.333705 Received DATA (on stdin)
03:13:29.333764 > 1 bytes data, server => client
03:13:29.333791 '0'
03:13:29.343775 Received DATA (on stdin)
03:13:29.343843 > 1 bytes data, server => client
03:13:29.343882 '0'
03:13:29.353893 Received DATA (on stdin)
03:13:29.353962 > 1 bytes data, server => client
03:13:29.353988 ' '
03:13:29.363996 Received DATA (on stdin)
03:13:29.364112 > 1 bytes data, server => client
03:13:29.364132 'P'
03:13:29.374097 Received DATA (on stdin)
03:13:29.374162 > 1 bytes data, server => client
03:13:29.374186 'R'
03:13:29.384190 Received DATA (on stdin)
03:13:29.384256 > 1 bytes data, server => client
03:13:29.384281 'O'
03:13:29.394265 Received DATA (on stdin)
03:13:29.394305 > 1 bytes data, server => client
03:13:29.394345 'T'
03:13:29.404365 Received DATA (on stdin)
03:13:29.404434 > 1 bytes data, server => client
03:13:29.404461 ' '
03:13:29.414461 Received DATA (on stdin)
03:13:29.414521 > 1 bytes data, server => client
03:13:29.414548 'n'
03:13:29.424555 Received DATA (on stdin)
03:13:29.424615 > 1 bytes data, server => client
03:13:29.424642 'o'
03:13:29.434650 Received DATA (on stdin)
03:13:29.434709 > 1 bytes data, server => client
03:13:29.434736 't'
03:13:29.444735 Received DATA (on stdin)
03:13:29.444794 > 1 bytes data, server => client
03:13:29.444822 ' '
03:13:29.454828 Received DATA (on stdin)
03:13:29.454887 > 1 bytes data, server => client
03:13:29.454914 'i'
03:13:29.464919 Received DATA (on stdin)
03:13:29.464979 > 1 bytes data, server => client
03:13:29.465006 'm'
03:13:29.475011 Received DATA (on stdin)
03:13:29.475070 > 1 bytes data, server => client
03:13:29.475097 'p'
03:13:29.485104 Received DATA (on stdin)
03:13:29.485163 > 1 bytes data, server => client
03:13:29.485190 'l'
03:13:29.495198 Received DATA (on stdin)
03:13:29.495257 > 1 bytes data, server => client
03:13:29.495284 'e'
03:13:29.505290 Received DATA (on stdin)
03:13:29.505349 > 1 bytes data, server => client
03:13:29.505377 'm'
03:13:29.515381 Received DATA (on stdin)
03:13:29.515444 > 1 bytes data, server => client
03:13:29.515471 'e'
03:13:29.525474 Received DATA (on stdin)
03:13:29.525533 > 1 bytes data, server => client
03:13:29.525560 'n'
03:13:29.535566 Received DATA (on stdin)
03:13:29.535625 > 1 bytes data, server => client
03:13:29.535652 't'
03:13:29.545634 Received DATA (on stdin)
03:13:29.545690 > 1 bytes data, server => client
03:13:29.545715 'e'
03:13:29.555752 Received DATA (on stdin)
03:13:29.555811 > 1 bytes data, server => client
03:13:29.555838 'd'
03:13:29.565845 Received DATA (on stdin)
03:13:29.565905 > 1 bytes data, server => client
03:13:29.565932 '\r'
03:13:29.575938 Received DATA (on stdin)
03:13:29.575998 > 1 bytes data, server => client
03:13:29.576040 '\n'
03:13:29.579416 < 5 bytes data, client => server
03:13:29.579473 'PWD\r\n'
03:13:29.586336 Received DATA (on stdin)
03:13:29.586395 > 1 bytes data, server => client
03:13:29.586422 '2'
03:13:29.596421 Received DATA (on stdin)
03:13:29.596480 > 1 bytes data, server => client
03:13:29.596508 '5'
03:13:29.606513 Received DATA (on stdin)
03:13:29.606572 > 1 bytes data, server => client
03:13:29.606599 '7'
03:13:29.616615 Received DATA (on stdin)
03:13:29.616674 > 1 bytes data, server => client
03:13:29.616715 ' '
03:13:29.626706 Received DATA (on stdin)
03:13:29.626780 > 1 bytes data, server => client
03:13:29.626806 '"'
03:13:29.636785 Received DATA (on stdin)
03:13:29.636828 > 1 bytes data, server => client
03:13:29.636842 '/'
03:13:29.646862 Received DATA (on stdin)
03:13:29.646902 > 1 bytes data, server => client
03:13:29.646916 '"'
03:13:29.656962 Received DATA (on stdin)
03:13:29.657008 > 1 bytes data, server => client
03:13:29.657027 '\r'
03:13:29.667056 Received DATA (on stdin)
03:13:29.667112 > 1 bytes data, server => client
03:13:29.667135 '\n'
03:13:29.681242 < 6 bytes data, client => server
03:13:29.681290 'EPSV\r\n'
03:13:29.684450 Received DATA (on stdin)
03:13:29.684475 > 1 bytes data, server => client
03:13:29.684488 '2'
03:13:29.694553 Received DATA (on stdin)
03:13:29.694612 > 1 bytes data, server => client
03:13:29.694636 '2'
03:13:29.704634 Received DATA (on stdin)
03:13:29.704698 > 1 bytes data, server => client
03:13:29.704724 '9'
03:13:29.714749 Received DATA (on stdin)
03:13:29.714826 > 1 bytes data, server => client
03:13:29.714852 ' '
03:13:29.724843 Received DATA (on stdin)
03:13:29.724909 > 1 bytes data, server => client
03:13:29.724934 'E'
03:13:29.734935 Received DATA (on stdin)
03:13:29.734995 > 1 bytes data, server => client
03:13:29.735021 'n'
03:13:29.745025 Received DATA (on stdin)
03:13:29.745084 > 1 bytes data, server => client
03:13:29.745112 't'
03:13:29.755119 Received DATA (on stdin)
03:13:29.755178 > 1 bytes data, server => client
03:13:29.755205 'e'
03:13:29.765210 Received DATA (on stdin)
03:13:29.765270 > 1 bytes data, server => client
03:13:29.765297 'r'
03:13:29.775303 Received DATA (on stdin)
03:13:29.775363 > 1 bytes data, server => client
03:13:29.775390 'i'
03:13:29.785397 Received DATA (on stdin)
03:13:29.785456 > 1 bytes data, server => client
03:13:29.785483 'n'
03:13:29.795487 Received DATA (on stdin)
03:13:29.795546 > 1 bytes data, server => client
03:13:29.795573 'g'
03:13:29.805549 Received DATA (on stdin)
03:13:29.805607 > 1 bytes data, server => client
03:13:29.805634 ' '
03:13:29.815675 Received DATA (on stdin)
03:13:29.815757 > 1 bytes data, server => client
03:13:29.815783 'P'
03:13:29.825750 Received DATA (on stdin)
03:13:29.825830 > 1 bytes data, server => client
03:13:29.825862 'a'
03:13:29.835884 Received DATA (on stdin)
03:13:29.835959 > 1 bytes data, server => client
03:13:29.835984 's'
03:13:29.845992 Received DATA (on stdin)
03:13:29.846061 > 1 bytes data, server => client
03:13:29.846082 's'
03:13:29.856101 Received DATA (on stdin)
03:13:29.856160 > 1 bytes data, server => client
03:13:29.856186 'i'
03:13:29.866198 Received DATA (on stdin)
03:13:29.866264 > 1 bytes data, server => client
03:13:29.866289 'v'
03:13:29.876283 Received DATA (on stdin)
03:13:29.876343 > 1 bytes data, server => client
03:13:29.876370 'e'
03:13:29.886375 Received DATA (on stdin)
03:13:29.886435 > 1 bytes data, server => client
03:13:29.886462 ' '
03:13:29.896464 Received DATA (on stdin)
03:13:29.896526 > 1 bytes data, server => client
03:13:29.896553 'M'
03:13:29.906546 Received DATA (on stdin)
03:13:29.906606 > 1 bytes data, server => client
03:13:29.906633 'o'
03:13:29.916635 Received DATA (on stdin)
03:13:29.916694 > 1 bytes data, server => client
03:13:29.916721 'd'
03:13:29.926726 Received DATA (on stdin)
03:13:29.926785 > 1 bytes data, server => client
03:13:29.926812 'e'
03:13:29.936819 Received DATA (on stdin)
03:13:29.936878 > 1 bytes data, server => client
03:13:29.936905 ' '
03:13:29.946936 Received DATA (on stdin)
03:13:29.946998 > 1 bytes data, server => client
03:13:29.947025 '('
03:13:29.957030 Received DATA (on stdin)
03:13:29.957094 > 1 bytes data, server => client
03:13:29.957122 '|'
03:13:29.967122 Received DATA (on stdin)
03:13:29.967181 > 1 bytes data, server => client
03:13:29.967209 '|'
03:13:29.977214 Received DATA (on stdin)
03:13:29.977278 > 1 bytes data, server => client
03:13:29.977305 '|'
03:13:29.987342 Received DATA (on stdin)
03:13:29.987403 > 1 bytes data, server => client
03:13:29.987430 '4'
03:13:29.997428 Received DATA (on stdin)
03:13:29.997487 > 1 bytes data, server => client
03:13:29.997514 '0'
03:13:30.007488 Received DATA (on stdin)
03:13:30.007546 > 1 bytes data, server => client
03:13:30.007570 '7'
03:13:30.017601 Received DATA (on stdin)
03:13:30.017662 > 1 bytes data, server => client
03:13:30.017690 '2'
03:13:30.027717 Received DATA (on stdin)
03:13:30.027781 > 1 bytes data, server => client
03:13:30.027808 '1'
03:13:30.037811 Received DATA (on stdin)
03:13:30.037884 > 1 bytes data, server => client
03:13:30.037911 '|'
03:13:30.047904 Received DATA (on stdin)
03:13:30.047967 > 1 bytes data, server => client
03:13:30.047994 ')'
03:13:30.057981 Received DATA (on stdin)
03:13:30.058055 > 1 bytes data, server => client
03:13:30.058091 '\n'
03:13:30.077362 < 8 bytes data, client => server
03:13:30.077390 'TYPE I\r\n'
03:13:30.077523 Received DATA (on stdin)
03:13:30.077548 > 1 bytes data, server => client
03:13:30.077561 '2'
03:13:30.087623 Received DATA (on stdin)
03:13:30.087689 > 1 bytes data, server => client
03:13:30.087715 '0'
03:13:30.097718 Received DATA (on stdin)
03:13:30.097776 > 1 bytes data, server => client
03:13:30.097797 '0'
03:13:30.107820 Received DATA (on stdin)
03:13:30.107875 > 1 bytes data, server => client
03:13:30.107900 ' '
03:13:30.117905 Received DATA (on stdin)
03:13:30.117964 > 1 bytes data, server => client
03:13:30.117991 'O'
03:13:30.127974 Received DATA (on stdin)
03:13:30.128020 > 1 bytes data, server => client
03:13:30.128040 'K'
03:13:30.138061 Received DATA (on stdin)
03:13:30.138117 > 1 bytes data, server => client
03:13:30.138143 '\r'
03:13:30.148132 Received DATA (on stdin)
03:13:30.148210 > 1 bytes data, server => client
03:13:30.148250 '\n'
03:13:30.152367 < 11 bytes data, client => server
03:13:30.152426 'SIZE 1112\r\n'
03:13:30.159141 Received DATA (on stdin)
03:13:30.159200 > 1 bytes data, server => client
03:13:30.159227 '2'
03:13:30.169237 Received DATA (on stdin)
03:13:30.169309 > 1 bytes data, server => client
03:13:30.169335 '1'
03:13:30.179334 Received DATA (on stdin)
03:13:30.179399 > 1 bytes data, server => client
03:13:30.179426 '3'
03:13:30.189427 Received DATA (on stdin)
03:13:30.189485 > 1 bytes data, server => client
03:13:30.189513 ' '
03:13:30.199524 Received DATA (on stdin)
03:13:30.199588 > 1 bytes data, server => client
03:13:30.199615 '3'
03:13:30.209632 Received DATA (on stdin)
03:13:30.209705 > 1 bytes data, server => client
03:13:30.209731 '6'
03:13:30.219721 Received DATA (on stdin)
03:13:30.219780 > 1 bytes data, server => client
03:13:30.219807 '0'
03:13:30.229794 Received DATA (on stdin)
03:13:30.229835 > 1 bytes data, server => client
03:13:30.229855 '0'
03:13:30.239881 Received DATA (on stdin)
03:13:30.239929 > 1 bytes data, server => client
03:13:30.239941 '\r'
03:13:30.249984 Received DATA (on stdin)
03:13:30.250037 > 1 bytes data, server => client
03:13:30.250055 '\n'
03:13:30.253888 < 11 bytes data, client => server
03:13:30.253938 'RETR 1112\r\n'
03:13:30.260725 Received DATA (on stdin)
03:13:30.260760 > 1 bytes data, server => client
03:13:30.260776 '1'
03:13:30.270809 Received DATA (on stdin)
03:13:30.270865 > 1 bytes data, server => client
03:13:30.270875 '5'
03:13:30.280931 Received DATA (on stdin)
03:13:30.281006 > 1 bytes data, server => client
03:13:30.281027 '0'
03:13:30.291021 Received DATA (on stdin)
03:13:30.291080 > 1 bytes data, server => client
03:13:30.291096 ' '
03:13:30.301103 Received DATA (on stdin)
03:13:30.301157 > 1 bytes data, server => client
03:13:30.301169 'B'
03:13:30.311189 Received DATA (on stdin)
03:13:30.311252 > 1 bytes data, server => client
03:13:30.311268 'i'
03:13:30.321282 Received DATA (on stdin)
03:13:30.321340 > 1 bytes data, server => client
03:13:30.321364 'n'
03:13:30.331374 Received DATA (on stdin)
03:13:30.331431 > 1 bytes data, server => client
03:13:30.331454 'a'
03:13:30.341463 Received DATA (on stdin)
03:13:30.341520 > 1 bytes data, server => client
03:13:30.341533 'r'
03:13:30.351535 Received DATA (on stdin)
03:13:30.351570 > 1 bytes data, server => client
03:13:30.351586 'y'
03:13:30.361615 Received DATA (on stdin)
03:13:30.361653 > 1 bytes data, server => client
03:13:30.361671 ' '
03:13:30.371710 Received DATA (on stdin)
03:13:30.371778 > 1 bytes data, server => client
03:13:30.371796 'd'
03:13:30.381826 Received DATA (on stdin)
03:13:30.381907 > 1 bytes data, server => client
03:13:30.381934 'a'
03:13:30.391929 Received DATA (on stdin)
03:13:30.391987 > 1 bytes data, server => client
03:13:30.392020 't'
03:13:30.402017 Received DATA (on stdin)
03:13:30.402077 > 1 bytes data, server => client
03:13:30.402099 'a'
03:13:30.412103 Received DATA (on stdin)
03:13:30.412177 > 1 bytes data, server => client
03:13:30.412194 ' '
03:13:30.422206 Received DATA (on stdin)
03:13:30.422260 > 1 bytes data, server => client
03:13:30.422277 'c'
03:13:30.432261 Received DATA (on stdin)
03:13:30.432333 > 1 bytes data, server => client
03:13:30.432355 'o'
03:13:30.442347 Received DATA (on stdin)
03:13:30.442399 > 1 bytes data, server => client
03:13:30.442409 'n'
03:13:30.452449 Received DATA (on stdin)
03:13:30.452498 > 1 bytes data, server => client
03:13:30.452519 'n'
03:13:30.462529 Received DATA (on stdin)
03:13:30.462579 > 1 bytes data, server => client
03:13:30.462601 'e'
03:13:30.472614 Received DATA (on stdin)
03:13:30.472667 > 1 bytes data, server => client
03:13:30.472677 'c'
03:13:30.482730 Received DATA (on stdin)
03:13:30.482807 > 1 bytes data, server => client
03:13:30.482822 't'
03:13:30.492827 Received DATA (on stdin)
03:13:30.492882 > 1 bytes data, server => client
03:13:30.492902 'i'
03:13:30.502929 Received DATA (on stdin)
03:13:30.502985 > 1 bytes data, server => client
03:13:30.503004 'o'
03:13:30.513029 Received DATA (on stdin)
03:13:30.513084 > 1 bytes data, server => client
03:13:30.513106 'n'
03:13:30.523127 Received DATA (on stdin)
03:13:30.523192 > 1 bytes data, server => client
03:13:30.523215 ' '
03:13:30.533223 Received DATA (on stdin)
03:13:30.533283 > 1 bytes data, server => client
03:13:30.533308 'f'
03:13:30.543329 Received DATA (on stdin)
03:13:30.543407 > 1 bytes data, server => client
03:13:30.543430 'o'
03:13:30.553427 Received DATA (on stdin)
03:13:30.553490 > 1 bytes data, server => client
03:13:30.553514 'r'
03:13:30.563540 Received DATA (on stdin)
03:13:30.563598 > 1 bytes data, server => client
03:13:30.563622 ' '
03:13:30.573663 Received DATA (on stdin)
03:13:30.573735 > 1 bytes data, server => client
03:13:30.573777 '1'
03:13:30.583807 Received DATA (on stdin)
03:13:30.583903 > 1 bytes data, server => client
03:13:30.583931 '1'
03:13:30.593896 Received DATA (on stdin)
03:13:30.593942 > 1 bytes data, server => client
03:13:30.593955 '1'
03:13:30.603983 Received DATA (on stdin)
03:13:30.604075 > 1 bytes data, server => client
03:13:30.604094 '2'
03:13:30.614110 Received DATA (on stdin)
03:13:30.614185 > 1 bytes data, server => client
03:13:30.614206 ' '
03:13:30.624215 Received DATA (on stdin)
03:13:30.624271 > 1 bytes data, server => client
03:13:30.624296 '('
03:13:30.634320 Received DATA (on stdin)
03:13:30.634382 > 1 bytes data, server => client
03:13:30.634406 ')'
03:13:30.644409 Received DATA (on stdin)
03:13:30.644478 > 1 bytes data, server => client
03:13:30.644521 ' '
03:13:30.654553 Received DATA (on stdin)
03:13:30.654643 > 1 bytes data, server => client
03:13:30.654667 '('
03:13:30.664648 Received DATA (on stdin)
03:13:30.664715 > 1 bytes data, server => client
03:13:30.664741 '3'
03:13:30.674746 Received DATA (on stdin)
03:13:30.674808 > 1 bytes data, server => client
03:13:30.674833 '6'
03:13:30.684840 Received DATA (on stdin)
03:13:30.684905 > 1 bytes data, server => client
03:13:30.684931 '0'
03:13:30.694934 Received DATA (on stdin)
03:13:30.694992 > 1 bytes data, server => client
03:13:30.695019 '0'
03:13:30.705019 Received DATA (on stdin)
03:13:30.705078 > 1 bytes data, server => client
03:13:30.705105 ' '
03:13:30.715110 Received DATA (on stdin)
03:13:30.715170 > 1 bytes data, server => client
03:13:30.715195 'b'
03:13:30.725186 Received DATA (on stdin)
03:13:30.725226 > 1 bytes data, server => client
03:13:30.725245 'y'
03:13:30.735271 Received DATA (on stdin)
03:13:30.735348 > 1 bytes data, server => client
03:13:30.735369 't'
03:13:30.745374 Received DATA (on stdin)
03:13:30.745433 > 1 bytes data, server => client
03:13:30.745455 'e'
03:13:30.755466 Received DATA (on stdin)
03:13:30.755526 > 1 bytes data, server => client
03:13:30.755547 's'
03:13:30.765561 Received DATA (on stdin)
03:13:30.765625 > 1 bytes data, server => client
03:13:30.765641 ')'
03:13:30.775654 Received DATA (on stdin)
03:13:30.775717 > 1 bytes data, server => client
03:13:30.775738 '.'
03:13:30.785749 Received DATA (on stdin)
03:13:30.785806 > 1 bytes data, server => client
03:13:30.785830 '\r'
03:13:30.795839 Received DATA (on stdin)
03:13:30.795902 > 1 bytes data, server => client
03:13:30.795926 '\n'
03:13:41.570174 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:13:23.527866 Running IPv4 version
03:13:23.527996 Listening on port 42651
03:13:23.528063 Wrote pid 32502 to ./.ftp_sockdata.pid
03:13:23.528096 Received PING (on stdin)
03:13:23.528253 Received PORT (on stdin)
03:13:23.528874 ====> Client connect
03:13:23.530444 Received DATA (on stdin)
03:13:23.530483 > 17 bytes data, server => client
03:13:23.530505 'WE ROOLZ: 32390\r\n'
03:13:23.530553 Received DISC (on stdin)
03:13:23.530574 ====> Client forcibly disconnected
03:13:23.530612 Received QUIT (on stdin)
03:13:23.530627 quits
03:13:23.530647 ============> sockfilt quits
03:13:29.683985 Running IPv4 version
03:13:29.684112 Listening on port 40721
03:13:29.684153 Wrote pid 32507 to ./.ftp_sockdata.pid
03:13:29.684169 Received PING (on stdin)
03:13:29.684281 Received PORT (on stdin)
03:13:30.071380 ====> Client connect
03:13:30.806047 Received DATA (on stdin)
03:13:30.806096 > 1 bytes data, server => client
03:13:30.806119 'L'
03:13:30.816101 Received DATA (on stdin)
03:13:30.816126 > 1 bytes data, server => client
03:13:30.816136 'o'
03:13:30.826204 Received DATA (on stdin)
03:13:30.826255 > 1 bytes data, server => client
03:13:30.826271 'n'
03:13:30.836303 Received DATA (on stdin)
03:13:30.836365 > 1 bytes data, server => client
03:13:30.836387 'g'
03:13:30.846398 Received DATA (on stdin)
03:13:30.846465 > 1 bytes data, server => client
03:13:30.846485 ' '
03:13:30.856496 Received DATA (on stdin)
03:13:30.856556 > 1 bytes data, server => client
03:13:30.856579 'c'
03:13:30.866598 Received DATA (on stdin)
03:13:30.866666 > 1 bytes data, server => client
03:13:30.866691 'h'
03:13:30.876684 Received DATA (on stdin)
03:13:30.876741 > 1 bytes data, server => client
03:13:30.876753 'u'
03:13:30.886786 Received DATA (on stdin)
03:13:30.886851 > 1 bytes data, server => client
03:13:30.886868 'n'
03:13:30.896887 Received DATA (on stdin)
03:13:30.896938 > 1 bytes data, server => client
03:13:30.896958 'k'
03:13:30.906989 Received DATA (on stdin)
03:13:30.907041 > 1 bytes data, server => client
03:13:30.907063 ' '
03:13:30.917085 Received DATA (on stdin)
03:13:30.917144 > 1 bytes data, server => client
03:13:30.917168 'o'
03:13:30.927164 Received DATA (on stdin)
03:13:30.927216 > 1 bytes data, server => client
03:13:30.927240 'f'
03:13:30.937246 Received DATA (on stdin)
03:13:30.937306 > 1 bytes data, server => client
03:13:30.937331 ' '
03:13:30.947340 Received DATA (on stdin)
03:13:30.947399 > 1 bytes data, server => client
03:13:30.947424 'd'
03:13:30.957435 Received DATA (on stdin)
03:13:30.957494 > 1 bytes data, server => client
03:13:30.957519 'a'
03:13:30.967528 Received DATA (on stdin)
03:13:30.967587 > 1 bytes data, server => client
03:13:30.967611 't'
03:13:30.977615 Received DATA (on stdin)
03:13:30.977674 > 1 bytes data, server => client
03:13:30.977699 'a'
03:13:30.987733 Received DATA (on stdin)
03:13:30.987825 > 1 bytes data, server => client
03:13:30.987850 ' '
03:13:30.997817 Received DATA (on stdin)
03:13:30.997874 > 1 bytes data, server => client
03:13:30.997884 't'
03:13:31.007898 Received DATA (on stdin)
03:13:31.007951 > 1 bytes data, server => client
03:13:31.007962 'h'
03:13:31.017983 Received DATA (on stdin)
03:13:31.018038 > 1 bytes data, server => client
03:13:31.018048 'a'
03:13:31.028076 Received DATA (on stdin)
03:13:31.028136 > 1 bytes data, server => client
03:13:31.028151 't'
03:13:31.038175 Received DATA (on stdin)
03:13:31.038231 > 1 bytes data, server => client
03:13:31.038251 ' '
03:13:31.048270 Received DATA (on stdin)
03:13:31.048323 > 1 bytes data, server => client
03:13:31.048345 'c'
03:13:31.058370 Received DATA (on stdin)
03:13:31.058429 > 1 bytes data, server => client
03:13:31.058454 'o'
03:13:31.068462 Received DATA (on stdin)
03:13:31.068521 > 1 bytes data, server => client
03:13:31.068546 'u'
03:13:31.078557 Received DATA (on stdin)
03:13:31.078616 > 1 bytes data, server => client
03:13:31.078640 'l'
03:13:31.088652 Received DATA (on stdin)
03:13:31.088710 > 1 bytes data, server => client
03:13:31.088735 'd'
03:13:31.098738 Received DATA (on stdin)
03:13:31.098796 > 1 bytes data, server => client
03:13:31.098844 'n'
03:13:31.108831 Received DATA (on stdin)
03:13:31.108889 > 1 bytes data, server => client
03:13:31.108913 '''
03:13:31.118925 Received DATA (on stdin)
03:13:31.118986 > 1 bytes data, server => client
03:13:31.119010 't'
03:13:31.129049 Received DATA (on stdin)
03:13:31.129122 > 1 bytes data, server => client
03:13:31.129148 ' '
03:13:31.139152 Received DATA (on stdin)
03:13:31.139235 > 1 bytes data, server => client
03:13:31.139261 'p'
03:13:31.149245 Received DATA (on stdin)
03:13:31.149306 > 1 bytes data, server => client
03:13:31.149333 'o'
03:13:31.159339 Received DATA (on stdin)
03:13:31.159398 > 1 bytes data, server => client
03:13:31.159426 's'
03:13:31.169432 Received DATA (on stdin)
03:13:31.169491 > 1 bytes data, server => client
03:13:31.169518 's'
03:13:31.179524 Received DATA (on stdin)
03:13:31.179583 > 1 bytes data, server => client
03:13:31.179610 'i'
03:13:31.189618 Received DATA (on stdin)
03:13:31.189677 > 1 bytes data, server => client
03:13:31.189704 'b'
03:13:31.199711 Received DATA (on stdin)
03:13:31.199770 > 1 bytes data, server => client
03:13:31.199798 'l'
03:13:31.209804 Received DATA (on stdin)
03:13:31.209863 > 1 bytes data, server => client
03:13:31.209891 'y'
03:13:31.219896 Received DATA (on stdin)
03:13:31.219955 > 1 bytes data, server => client
03:13:31.219982 ' '
03:13:31.229988 Received DATA (on stdin)
03:13:31.230047 > 1 bytes data, server => client
03:13:31.230074 'b'
03:13:31.240090 Received DATA (on stdin)
03:13:31.240160 > 1 bytes data, server => client
03:13:31.240187 'e'
03:13:31.250195 Received DATA (on stdin)
03:13:31.250262 > 1 bytes data, server => client
03:13:31.250288 ' '
03:13:31.260275 Received DATA (on stdin)
03:13:31.260327 > 1 bytes data, server => client
03:13:31.260345 's'
03:13:31.270366 Received DATA (on stdin)
03:13:31.270431 > 1 bytes data, server => client
03:13:31.270456 'e'
03:13:31.280456 Received DATA (on stdin)
03:13:31.280514 > 1 bytes data, server => client
03:13:31.280541 'n'
03:13:31.290548 Received DATA (on stdin)
03:13:31.290607 > 1 bytes data, server => client
03:13:31.290633 't'
03:13:31.300626 Received DATA (on stdin)
03:13:31.300690 > 1 bytes data, server => client
03:13:31.300716 ' '
03:13:31.310736 Received DATA (on stdin)
03:13:31.310799 > 1 bytes data, server => client
03:13:31.310821 'i'
03:13:31.320835 Received DATA (on stdin)
03:13:31.320892 > 1 bytes data, server => client
03:13:31.320918 'n'
03:13:31.330929 Received DATA (on stdin)
03:13:31.330988 > 1 bytes data, server => client
03:13:31.331015 ' '
03:13:31.341023 Received DATA (on stdin)
03:13:31.341082 > 1 bytes data, server => client
03:13:31.341109 't'
03:13:31.351096 Received DATA (on stdin)
03:13:31.351167 > 1 bytes data, server => client
03:13:31.351200 'h'
03:13:31.361166 Received DATA (on stdin)
03:13:31.361213 > 1 bytes data, server => client
03:13:31.361227 'e'
03:13:31.371237 Received DATA (on stdin)
03:13:31.371261 > 1 bytes data, server => client
03:13:31.371273 ' '
03:13:31.381308 Received DATA (on stdin)
03:13:31.381327 > 1 bytes data, server => client
03:13:31.381337 't'
03:13:31.391386 Received DATA (on stdin)
03:13:31.391407 > 1 bytes data, server => client
03:13:31.391420 'i'
03:13:31.401468 Received DATA (on stdin)
03:13:31.401496 > 1 bytes data, server => client
03:13:31.401512 'm'
03:13:31.411592 Received DATA (on stdin)
03:13:31.411652 > 1 bytes data, server => client
03:13:31.411676 'e'
03:13:31.421689 Received DATA (on stdin)
03:13:31.421754 > 1 bytes data, server => client
03:13:31.421779 ' '
03:13:31.431779 Received DATA (on stdin)
03:13:31.431838 > 1 bytes data, server => client
03:13:31.431866 'a'
03:13:31.441874 Received DATA (on stdin)
03:13:31.441933 > 1 bytes data, server => client
03:13:31.441960 'l'
03:13:31.451968 Received DATA (on stdin)
03:13:31.452042 > 1 bytes data, server => client
03:13:31.452069 'l'
03:13:31.462060 Received DATA (on stdin)
03:13:31.462120 > 1 bytes data, server => client
03:13:31.462147 'o'
03:13:31.472148 Received DATA (on stdin)
03:13:31.472208 > 1 bytes data, server => client
03:13:31.472235 't'
03:13:31.482238 Received DATA (on stdin)
03:13:31.482297 > 1 bytes data, server => client
03:13:31.482324 't'
03:13:31.492325 Received DATA (on stdin)
03:13:31.492384 > 1 bytes data, server => client
03:13:31.492411 'e'
03:13:31.502417 Received DATA (on stdin)
03:13:31.502477 > 1 bytes data, server => client
03:13:31.502504 'd'
03:13:31.512506 Received DATA (on stdin)
03:13:31.512565 > 1 bytes data, server => client
03:13:31.512592 '.'
03:13:31.522607 Received DATA (on stdin)
03:13:31.522671 > 1 bytes data, server => client
03:13:31.522697 '\n'
03:13:31.532737 Received DATA (on stdin)
03:13:31.532820 > 1 bytes data, server => client
03:13:31.532843 'L'
03:13:31.542833 Received DATA (on stdin)
03:13:31.542915 > 1 bytes data, server => client
03:13:31.542942 'o'
03:13:31.552929 Received DATA (on stdin)
03:13:31.552998 > 1 bytes data, server => client
03:13:31.553023 'n'
03:13:31.563032 Received DATA (on stdin)
03:13:31.563101 > 1 bytes data, server => client
03:13:31.563128 'g'
03:13:31.573127 Received DATA (on stdin)
03:13:31.573187 > 1 bytes data, server => client
03:13:31.573214 ' '
03:13:31.583219 Received DATA (on stdin)
03:13:31.583279 > 1 bytes data, server => client
03:13:31.583306 'c'
03:13:31.593326 Received DATA (on stdin)
03:13:31.593404 > 1 bytes data, server => client
03:13:31.593447 'h'
03:13:31.603408 Received DATA (on stdin)
03:13:31.603470 > 1 bytes data, server => client
03:13:31.603495 'u'
03:13:31.613512 Received DATA (on stdin)
03:13:31.613577 > 1 bytes data, server => client
03:13:31.613602 'n'
03:13:31.623608 Received DATA (on stdin)
03:13:31.623667 > 1 bytes data, server => client
03:13:31.623694 'k'
03:13:31.633701 Received DATA (on stdin)
03:13:31.633769 > 1 bytes data, server => client
03:13:31.633797 ' '
03:13:31.643830 Received DATA (on stdin)
03:13:31.643899 > 1 bytes data, server => client
03:13:31.643922 'o'
03:13:31.653928 Received DATA (on stdin)
03:13:31.653986 > 1 bytes data, server => client
03:13:31.654013 'f'
03:13:31.664021 Received DATA (on stdin)
03:13:31.664077 > 1 bytes data, server => client
03:13:31.664103 ' '
03:13:31.674111 Received DATA (on stdin)
03:13:31.674170 > 1 bytes data, server => client
03:13:31.674196 'd'
03:13:31.684197 Received DATA (on stdin)
03:13:31.684255 > 1 bytes data, server => client
03:13:31.684282 'a'
03:13:31.694287 Received DATA (on stdin)
03:13:31.694348 > 1 bytes data, server => client
03:13:31.694375 't'
03:13:31.704351 Received DATA (on stdin)
03:13:31.704417 > 1 bytes data, server => client
03:13:31.704457 'a'
03:13:31.714453 Received DATA (on stdin)
03:13:31.714514 > 1 bytes data, server => client
03:13:31.714541 ' '
03:13:31.724543 Received DATA (on stdin)
03:13:31.724604 > 1 bytes data, server => client
03:13:31.724631 't'
03:13:31.734607 Received DATA (on stdin)
03:13:31.734634 > 1 bytes data, server => client
03:13:31.734647 'h'
03:13:31.744680 Received DATA (on stdin)
03:13:31.744716 > 1 bytes data, server => client
03:13:31.744734 'a'
03:13:31.754778 Received DATA (on stdin)
03:13:31.754828 > 1 bytes data, server => client
03:13:31.754846 't'
03:13:31.764880 Received DATA (on stdin)
03:13:31.764939 > 1 bytes data, server => client
03:13:31.764961 ' '
03:13:31.774982 Received DATA (on stdin)
03:13:31.775038 > 1 bytes data, server => client
03:13:31.775064 'c'
03:13:31.785079 Received DATA (on stdin)
03:13:31.785137 > 1 bytes data, server => client
03:13:31.785164 'o'
03:13:31.795173 Received DATA (on stdin)
03:13:31.795239 > 1 bytes data, server => client
03:13:31.795265 'u'
03:13:31.805245 Received DATA (on stdin)
03:13:31.805305 > 1 bytes data, server => client
03:13:31.805332 'l'
03:13:31.815346 Received DATA (on stdin)
03:13:31.815405 > 1 bytes data, server => client
03:13:31.815432 'd'
03:13:31.825437 Received DATA (on stdin)
03:13:31.825496 > 1 bytes data, server => client
03:13:31.825522 'n'
03:13:31.835531 Received DATA (on stdin)
03:13:31.835589 > 1 bytes data, server => client
03:13:31.835616 '''
03:13:31.845623 Received DATA (on stdin)
03:13:31.845681 > 1 bytes data, server => client
03:13:31.845708 't'
03:13:31.855717 Received DATA (on stdin)
03:13:31.855792 > 1 bytes data, server => client
03:13:31.855820 ' '
03:13:31.865808 Received DATA (on stdin)
03:13:31.865867 > 1 bytes data, server => client
03:13:31.865894 'p'
03:13:31.875900 Received DATA (on stdin)
03:13:31.875961 > 1 bytes data, server => client
03:13:31.875987 'o'
03:13:31.885994 Received DATA (on stdin)
03:13:31.886052 > 1 bytes data, server => client
03:13:31.886079 's'
03:13:31.896066 Received DATA (on stdin)
03:13:31.896127 > 1 bytes data, server => client
03:13:31.896154 's'
03:13:31.906169 Received DATA (on stdin)
03:13:31.906227 > 1 bytes data, server => client
03:13:31.906254 'i'
03:13:31.916255 Received DATA (on stdin)
03:13:31.916313 > 1 bytes data, server => client
03:13:31.916339 'b'
03:13:31.926348 Received DATA (on stdin)
03:13:31.926406 > 1 bytes data, server => client
03:13:31.926433 'l'
03:13:31.936442 Received DATA (on stdin)
03:13:31.936500 > 1 bytes data, server => client
03:13:31.936526 'y'
03:13:31.946533 Received DATA (on stdin)
03:13:31.946591 > 1 bytes data, server => client
03:13:31.946618 ' '
03:13:31.956626 Received DATA (on stdin)
03:13:31.956685 > 1 bytes data, server => client
03:13:31.956712 'b'
03:13:31.966720 Received DATA (on stdin)
03:13:31.966779 > 1 bytes data, server => client
03:13:31.966806 'e'
03:13:31.976784 Received DATA (on stdin)
03:13:31.976807 > 1 bytes data, server => client
03:13:31.976820 ' '
03:13:31.986855 Received DATA (on stdin)
03:13:31.986880 > 1 bytes data, server => client
03:13:31.986893 's'
03:13:31.996923 Received DATA (on stdin)
03:13:31.996949 > 1 bytes data, server => client
03:13:31.996962 'e'
03:13:32.006993 Received DATA (on stdin)
03:13:32.007024 > 1 bytes data, server => client
03:13:32.007037 'n'
03:13:32.017067 Received DATA (on stdin)
03:13:32.017094 > 1 bytes data, server => client
03:13:32.017107 't'
03:13:32.027137 Received DATA (on stdin)
03:13:32.027162 > 1 bytes data, server => client
03:13:32.027175 ' '
03:13:32.037193 Received DATA (on stdin)
03:13:32.037223 > 1 bytes data, server => client
03:13:32.037237 'i'
03:13:32.047278 Received DATA (on stdin)
03:13:32.047306 > 1 bytes data, server => client
03:13:32.047319 'n'
03:13:32.057377 Received DATA (on stdin)
03:13:32.057427 > 1 bytes data, server => client
03:13:32.057445 ' '
03:13:32.067478 Received DATA (on stdin)
03:13:32.067524 > 1 bytes data, server => client
03:13:32.067547 't'
03:13:32.077559 Received DATA (on stdin)
03:13:32.077599 > 1 bytes data, server => client
03:13:32.077619 'h'
03:13:32.087660 Received DATA (on stdin)
03:13:32.087718 > 1 bytes data, server => client
03:13:32.087740 'e'
03:13:32.097762 Received DATA (on stdin)
03:13:32.097826 > 1 bytes data, server => client
03:13:32.097851 ' '
03:13:32.107855 Received DATA (on stdin)
03:13:32.107920 > 1 bytes data, server => client
03:13:32.107946 't'
03:13:32.117947 Received DATA (on stdin)
03:13:32.118006 > 1 bytes data, server => client
03:13:32.118033 'i'
03:13:32.128032 Received DATA (on stdin)
03:13:32.128113 > 1 bytes data, server => client
03:13:32.128138 'm'
03:13:32.138118 Received DATA (on stdin)
03:13:32.138192 > 1 bytes data, server => client
03:13:32.138220 'e'
03:13:32.148220 Received DATA (on stdin)
03:13:32.148278 > 1 bytes data, server => client
03:13:32.148305 ' '
03:13:32.158311 Received DATA (on stdin)
03:13:32.158369 > 1 bytes data, server => client
03:13:32.158396 'a'
03:13:32.168399 Received DATA (on stdin)
03:13:32.168457 > 1 bytes data, server => client
03:13:32.168484 'l'
03:13:32.178491 Received DATA (on stdin)
03:13:32.178549 > 1 bytes data, server => client
03:13:32.178576 'l'
03:13:32.188584 Received DATA (on stdin)
03:13:32.188643 > 1 bytes data, server => client
03:13:32.188669 'o'
03:13:32.198679 Received DATA (on stdin)
03:13:32.198737 > 1 bytes data, server => client
03:13:32.198764 't'
03:13:32.208771 Received DATA (on stdin)
03:13:32.208829 > 1 bytes data, server => client
03:13:32.208856 't'
03:13:32.218863 Received DATA (on stdin)
03:13:32.218922 > 1 bytes data, server => client
03:13:32.218949 'e'
03:13:32.228957 Received DATA (on stdin)
03:13:32.229015 > 1 bytes data, server => client
03:13:32.229058 'd'
03:13:32.239050 Received DATA (on stdin)
03:13:32.239109 > 1 bytes data, server => client
03:13:32.239135 '.'
03:13:32.249144 Received DATA (on stdin)
03:13:32.249202 > 1 bytes data, server => client
03:13:32.249228 '\n'
03:13:32.259263 Received DATA (on stdin)
03:13:32.259322 > 1 bytes data, server => client
03:13:32.259348 'L'
03:13:32.269354 Received DATA (on stdin)
03:13:32.269412 > 1 bytes data, server => client
03:13:32.269439 'o'
03:13:32.279448 Received DATA (on stdin)
03:13:32.279507 > 1 bytes data, server => client
03:13:32.279534 'n'
03:13:32.289542 Received DATA (on stdin)
03:13:32.289601 > 1 bytes data, server => client
03:13:32.289628 'g'
03:13:32.299637 Received DATA (on stdin)
03:13:32.299696 > 1 bytes data, server => client
03:13:32.299722 ' '
03:13:32.309739 Received DATA (on stdin)
03:13:32.309817 > 1 bytes data, server => client
03:13:32.309844 'c'
03:13:32.319855 Received DATA (on stdin)
03:13:32.319929 > 1 bytes data, server => client
03:13:32.319955 'h'
03:13:32.329948 Received DATA (on stdin)
03:13:32.330008 > 1 bytes data, server => client
03:13:32.330035 'u'
03:13:32.340039 Received DATA (on stdin)
03:13:32.340120 > 1 bytes data, server => client
03:13:32.340144 'n'
03:13:32.350150 Received DATA (on stdin)
03:13:32.350209 > 1 bytes data, server => client
03:13:32.350236 'k'
03:13:32.360235 Received DATA (on stdin)
03:13:32.360296 > 1 bytes data, server => client
03:13:32.360323 ' '
03:13:32.370338 Received DATA (on stdin)
03:13:32.370399 > 1 bytes data, server => client
03:13:32.370435 'o'
03:13:32.380427 Received DATA (on stdin)
03:13:32.380487 > 1 bytes data, server => client
03:13:32.380514 'f'
03:13:32.390522 Received DATA (on stdin)
03:13:32.390581 > 1 bytes data, server => client
03:13:32.390608 ' '
03:13:32.400616 Received DATA (on stdin)
03:13:32.400675 > 1 bytes data, server => client
03:13:32.400708 'd'
03:13:32.410700 Received DATA (on stdin)
03:13:32.410775 > 1 bytes data, server => client
03:13:32.410817 'a'
03:13:32.420805 Received DATA (on stdin)
03:13:32.420871 > 1 bytes data, server => client
03:13:32.420913 't'
03:13:32.430899 Received DATA (on stdin)
03:13:32.430969 > 1 bytes data, server => client
03:13:32.431013 'a'
03:13:32.440992 Received DATA (on stdin)
03:13:32.441064 > 1 bytes data, server => client
03:13:32.441103 ' '
03:13:32.451069 Received DATA (on stdin)
03:13:32.451141 > 1 bytes data, server => client
03:13:32.451181 't'
03:13:32.461159 Received DATA (on stdin)
03:13:32.461232 > 1 bytes data, server => client
03:13:32.461263 'h'
03:13:32.471276 Received DATA (on stdin)
03:13:32.471338 > 1 bytes data, server => client
03:13:32.471363 'a'
03:13:32.481383 Received DATA (on stdin)
03:13:32.481455 > 1 bytes data, server => client
03:13:32.481497 't'
03:13:32.491502 Received DATA (on stdin)
03:13:32.491539 > 1 bytes data, server => client
03:13:32.491555 ' '
03:13:32.501626 Received DATA (on stdin)
03:13:32.501713 > 1 bytes data, server => client
03:13:32.501738 'c'
03:13:32.511712 Received DATA (on stdin)
03:13:32.511766 > 1 bytes data, server => client
03:13:32.511784 'o'
03:13:32.521784 Received DATA (on stdin)
03:13:32.521844 > 1 bytes data, server => client
03:13:32.521863 'u'
03:13:32.531901 Received DATA (on stdin)
03:13:32.531956 > 1 bytes data, server => client
03:13:32.531980 'l'
03:13:32.542013 Received DATA (on stdin)
03:13:32.542067 > 1 bytes data, server => client
03:13:32.542092 'd'
03:13:32.552098 Received DATA (on stdin)
03:13:32.552155 > 1 bytes data, server => client
03:13:32.552181 'n'
03:13:32.562192 Received DATA (on stdin)
03:13:32.562251 > 1 bytes data, server => client
03:13:32.562278 '''
03:13:32.572280 Received DATA (on stdin)
03:13:32.572339 > 1 bytes data, server => client
03:13:32.572366 't'
03:13:32.582397 Received DATA (on stdin)
03:13:32.582461 > 1 bytes data, server => client
03:13:32.582487 ' '
03:13:32.592484 Received DATA (on stdin)
03:13:32.592544 > 1 bytes data, server => client
03:13:32.592571 'p'
03:13:32.602576 Received DATA (on stdin)
03:13:32.602636 > 1 bytes data, server => client
03:13:32.602679 'o'
03:13:32.612667 Received DATA (on stdin)
03:13:32.612727 > 1 bytes data, server => client
03:13:32.612754 's'
03:13:32.622759 Received DATA (on stdin)
03:13:32.622818 > 1 bytes data, server => client
03:13:32.622844 's'
03:13:32.632850 Received DATA (on stdin)
03:13:32.632909 > 1 bytes data, server => client
03:13:32.632935 'i'
03:13:32.642948 Received DATA (on stdin)
03:13:32.643016 > 1 bytes data, server => client
03:13:32.643043 'b'
03:13:32.653045 Received DATA (on stdin)
03:13:32.653103 > 1 bytes data, server => client
03:13:32.653130 'l'
03:13:32.663137 Received DATA (on stdin)
03:13:32.663196 > 1 bytes data, server => client
03:13:32.663223 'y'
03:13:32.673230 Received DATA (on stdin)
03:13:32.673288 > 1 bytes data, server => client
03:13:32.673315 ' '
03:13:32.683322 Received DATA (on stdin)
03:13:32.683381 > 1 bytes data, server => client
03:13:32.683408 'b'
03:13:32.693415 Received DATA (on stdin)
03:13:32.693474 > 1 bytes data, server => client
03:13:32.693501 'e'
03:13:32.703507 Received DATA (on stdin)
03:13:32.703566 > 1 bytes data, server => client
03:13:32.703593 ' '
03:13:32.713600 Received DATA (on stdin)
03:13:32.713658 > 1 bytes data, server => client
03:13:32.713685 's'
03:13:32.723696 Received DATA (on stdin)
03:13:32.723769 > 1 bytes data, server => client
03:13:32.723796 'e'
03:13:32.733785 Received DATA (on stdin)
03:13:32.733851 > 1 bytes data, server => client
03:13:32.733889 'n'
03:13:32.743852 Received DATA (on stdin)
03:13:32.743891 > 1 bytes data, server => client
03:13:32.743906 't'
03:13:32.753931 Received DATA (on stdin)
03:13:32.753971 > 1 bytes data, server => client
03:13:32.753985 ' '
03:13:32.764025 Received DATA (on stdin)
03:13:32.764078 > 1 bytes data, server => client
03:13:32.764094 'i'
03:13:32.774133 Received DATA (on stdin)
03:13:32.774187 > 1 bytes data, server => client
03:13:32.774207 'n'
03:13:32.784221 Received DATA (on stdin)
03:13:32.784284 > 1 bytes data, server => client
03:13:32.784309 ' '
03:13:32.794331 Received DATA (on stdin)
03:13:32.794385 > 1 bytes data, server => client
03:13:32.794409 't'
03:13:32.804409 Received DATA (on stdin)
03:13:32.804457 > 1 bytes data, server => client
03:13:32.804489 'h'
03:13:32.814521 Received DATA (on stdin)
03:13:32.814586 > 1 bytes data, server => client
03:13:32.814611 'e'
03:13:32.824619 Received DATA (on stdin)
03:13:32.824677 > 1 bytes data, server => client
03:13:32.824704 ' '
03:13:32.834711 Received DATA (on stdin)
03:13:32.834769 > 1 bytes data, server => client
03:13:32.834796 't'
03:13:32.844801 Received DATA (on stdin)
03:13:32.844859 > 1 bytes data, server => client
03:13:32.844886 'i'
03:13:32.854894 Received DATA (on stdin)
03:13:32.854953 > 1 bytes data, server => client
03:13:32.854980 'm'
03:13:32.864988 Received DATA (on stdin)
03:13:32.865047 > 1 bytes data, server => client
03:13:32.865074 'e'
03:13:32.875088 Received DATA (on stdin)
03:13:32.875156 > 1 bytes data, server => client
03:13:32.875183 ' '
03:13:32.885185 Received DATA (on stdin)
03:13:32.885244 > 1 bytes data, server => client
03:13:32.885270 'a'
03:13:32.895277 Received DATA (on stdin)
03:13:32.895336 > 1 bytes data, server => client
03:13:32.895362 'l'
03:13:32.905371 Received DATA (on stdin)
03:13:32.905430 > 1 bytes data, server => client
03:13:32.905457 'l'
03:13:32.915463 Received DATA (on stdin)
03:13:32.915522 > 1 bytes data, server => client
03:13:32.915549 'o'
03:13:32.925587 Received DATA (on stdin)
03:13:32.925647 > 1 bytes data, server => client
03:13:32.925674 't'
03:13:32.935673 Received DATA (on stdin)
03:13:32.935732 > 1 bytes data, server => client
03:13:32.935759 't'
03:13:32.945764 Received DATA (on stdin)
03:13:32.945825 > 1 bytes data, server => client
03:13:32.945852 'e'
03:13:32.955855 Received DATA (on stdin)
03:13:32.955913 > 1 bytes data, server => client
03:13:32.955941 'd'
03:13:32.965946 Received DATA (on stdin)
03:13:32.966005 > 1 bytes data, server => client
03:13:32.966032 '.'
03:13:32.976032 Received DATA (on stdin)
03:13:32.976090 > 1 bytes data, server => client
03:13:32.976115 '\n'
03:13:32.986168 Received DATA (on stdin)
03:13:32.986227 > 1 bytes data, server => client
03:13:32.986254 'L'
03:13:32.996251 Received DATA (on stdin)
03:13:32.996311 > 1 bytes data, server => client
03:13:32.996338 'o'
03:13:33.006332 Received DATA (on stdin)
03:13:33.006392 > 1 bytes data, server => client
03:13:33.006418 'n'
03:13:33.016444 Received DATA (on stdin)
03:13:33.016508 > 1 bytes data, server => client
03:13:33.016535 'g'
03:13:33.026537 Received DATA (on stdin)
03:13:33.026597 > 1 bytes data, server => client
03:13:33.026624 ' '
03:13:33.036627 Received DATA (on stdin)
03:13:33.036686 > 1 bytes data, server => client
03:13:33.036713 'c'
03:13:33.046720 Received DATA (on stdin)
03:13:33.046780 > 1 bytes data, server => client
03:13:33.046808 'h'
03:13:33.056812 Received DATA (on stdin)
03:13:33.056872 > 1 bytes data, server => client
03:13:33.056899 'u'
03:13:33.066905 Received DATA (on stdin)
03:13:33.066965 > 1 bytes data, server => client
03:13:33.066992 'n'
03:13:33.076998 Received DATA (on stdin)
03:13:33.077058 > 1 bytes data, server => client
03:13:33.077085 'k'
03:13:33.087090 Received DATA (on stdin)
03:13:33.087149 > 1 bytes data, server => client
03:13:33.087177 ' '
03:13:33.097178 Received DATA (on stdin)
03:13:33.097237 > 1 bytes data, server => client
03:13:33.097264 'o'
03:13:33.107268 Received DATA (on stdin)
03:13:33.107327 > 1 bytes data, server => client
03:13:33.107354 'f'
03:13:33.117360 Received DATA (on stdin)
03:13:33.117419 > 1 bytes data, server => client
03:13:33.117446 ' '
03:13:33.127451 Received DATA (on stdin)
03:13:33.127510 > 1 bytes data, server => client
03:13:33.127537 'd'
03:13:33.137542 Received DATA (on stdin)
03:13:33.137601 > 1 bytes data, server => client
03:13:33.137629 'a'
03:13:33.147634 Received DATA (on stdin)
03:13:33.147693 > 1 bytes data, server => client
03:13:33.147720 't'
03:13:33.157726 Received DATA (on stdin)
03:13:33.157784 > 1 bytes data, server => client
03:13:33.157812 'a'
03:13:33.167817 Received DATA (on stdin)
03:13:33.167876 > 1 bytes data, server => client
03:13:33.167903 ' '
03:13:33.177909 Received DATA (on stdin)
03:13:33.177979 > 1 bytes data, server => client
03:13:33.178018 't'
03:13:33.188019 Received DATA (on stdin)
03:13:33.188077 > 1 bytes data, server => client
03:13:33.188103 'h'
03:13:33.198113 Received DATA (on stdin)
03:13:33.198172 > 1 bytes data, server => client
03:13:33.198199 'a'
03:13:33.208196 Received DATA (on stdin)
03:13:33.208255 > 1 bytes data, server => client
03:13:33.208283 't'
03:13:33.218287 Received DATA (on stdin)
03:13:33.218347 > 1 bytes data, server => client
03:13:33.218375 ' '
03:13:33.228381 Received DATA (on stdin)
03:13:33.228441 > 1 bytes data, server => client
03:13:33.228468 'c'
03:13:33.238467 Received DATA (on stdin)
03:13:33.238526 > 1 bytes data, server => client
03:13:33.238553 'o'
03:13:33.248561 Received DATA (on stdin)
03:13:33.248620 > 1 bytes data, server => client
03:13:33.248647 'u'
03:13:33.258652 Received DATA (on stdin)
03:13:33.258711 > 1 bytes data, server => client
03:13:33.258738 'l'
03:13:33.268743 Received DATA (on stdin)
03:13:33.268802 > 1 bytes data, server => client
03:13:33.268829 'd'
03:13:33.278837 Received DATA (on stdin)
03:13:33.278896 > 1 bytes data, server => client
03:13:33.278923 'n'
03:13:33.288931 Received DATA (on stdin)
03:13:33.288990 > 1 bytes data, server => client
03:13:33.289017 '''
03:13:33.299022 Received DATA (on stdin)
03:13:33.299081 > 1 bytes data, server => client
03:13:33.299108 't'
03:13:33.309114 Received DATA (on stdin)
03:13:33.309173 > 1 bytes data, server => client
03:13:33.309200 ' '
03:13:33.319208 Received DATA (on stdin)
03:13:33.319267 > 1 bytes data, server => client
03:13:33.319294 'p'
03:13:33.329299 Received DATA (on stdin)
03:13:33.329358 > 1 bytes data, server => client
03:13:33.329386 'o'
03:13:33.339390 Received DATA (on stdin)
03:13:33.339449 > 1 bytes data, server => client
03:13:33.339476 's'
03:13:33.349481 Received DATA (on stdin)
03:13:33.349540 > 1 bytes data, server => client
03:13:33.349567 's'
03:13:33.359573 Received DATA (on stdin)
03:13:33.359647 > 1 bytes data, server => client
03:13:33.359674 'i'
03:13:33.369667 Received DATA (on stdin)
03:13:33.369728 > 1 bytes data, server => client
03:13:33.369755 'b'
03:13:33.379758 Received DATA (on stdin)
03:13:33.379815 > 1 bytes data, server => client
03:13:33.379840 'l'
03:13:33.389857 Received DATA (on stdin)
03:13:33.389916 > 1 bytes data, server => client
03:13:33.389943 'y'
03:13:33.399950 Received DATA (on stdin)
03:13:33.400023 > 1 bytes data, server => client
03:13:33.400052 ' '
03:13:33.410042 Received DATA (on stdin)
03:13:33.410102 > 1 bytes data, server => client
03:13:33.410129 'b'
03:13:33.420125 Received DATA (on stdin)
03:13:33.420185 > 1 bytes data, server => client
03:13:33.420212 'e'
03:13:33.430216 Received DATA (on stdin)
03:13:33.430275 > 1 bytes data, server => client
03:13:33.430302 ' '
03:13:33.440301 Received DATA (on stdin)
03:13:33.440360 > 1 bytes data, server => client
03:13:33.440387 's'
03:13:33.450394 Received DATA (on stdin)
03:13:33.450454 > 1 bytes data, server => client
03:13:33.450481 'e'
03:13:33.460482 Received DATA (on stdin)
03:13:33.460543 > 1 bytes data, server => client
03:13:33.460570 'n'
03:13:33.470574 Received DATA (on stdin)
03:13:33.470633 > 1 bytes data, server => client
03:13:33.470660 't'
03:13:33.480665 Received DATA (on stdin)
03:13:33.480724 > 1 bytes data, server => client
03:13:33.480752 ' '
03:13:33.490755 Received DATA (on stdin)
03:13:33.490814 > 1 bytes data, server => client
03:13:33.490841 'i'
03:13:33.500847 Received DATA (on stdin)
03:13:33.500907 > 1 bytes data, server => client
03:13:33.500934 'n'
03:13:33.510940 Received DATA (on stdin)
03:13:33.511001 > 1 bytes data, server => client
03:13:33.511028 ' '
03:13:33.521033 Received DATA (on stdin)
03:13:33.521092 > 1 bytes data, server => client
03:13:33.521119 't'
03:13:33.531126 Received DATA (on stdin)
03:13:33.531185 > 1 bytes data, server => client
03:13:33.531212 'h'
03:13:33.541218 Received DATA (on stdin)
03:13:33.541277 > 1 bytes data, server => client
03:13:33.541304 'e'
03:13:33.551285 Received DATA (on stdin)
03:13:33.551339 > 1 bytes data, server => client
03:13:33.551365 ' '
03:13:33.561402 Received DATA (on stdin)
03:13:33.561462 > 1 bytes data, server => client
03:13:33.561489 't'
03:13:33.571492 Received DATA (on stdin)
03:13:33.571551 > 1 bytes data, server => client
03:13:33.571579 'i'
03:13:33.581583 Received DATA (on stdin)
03:13:33.581642 > 1 bytes data, server => client
03:13:33.581670 'm'
03:13:33.591674 Received DATA (on stdin)
03:13:33.591733 > 1 bytes data, server => client
03:13:33.591761 'e'
03:13:33.601768 Received DATA (on stdin)
03:13:33.601827 > 1 bytes data, server => client
03:13:33.601854 ' '
03:13:33.611862 Received DATA (on stdin)
03:13:33.611921 > 1 bytes data, server => client
03:13:33.611949 'a'
03:13:33.621954 Received DATA (on stdin)
03:13:33.622013 > 1 bytes data, server => client
03:13:33.622040 'l'
03:13:33.632041 Received DATA (on stdin)
03:13:33.632097 > 1 bytes data, server => client
03:13:33.632122 'l'
03:13:33.642148 Received DATA (on stdin)
03:13:33.642208 > 1 bytes data, server => client
03:13:33.642235 'o'
03:13:33.652228 Received DATA (on stdin)
03:13:33.652288 > 1 bytes data, server => client
03:13:33.652315 't'
03:13:33.662317 Received DATA (on stdin)
03:13:33.662376 > 1 bytes data, server => client
03:13:33.662404 't'
03:13:33.672407 Received DATA (on stdin)
03:13:33.672466 > 1 bytes data, server => client
03:13:33.672493 'e'
03:13:33.682501 Received DATA (on stdin)
03:13:33.682560 > 1 bytes data, server => client
03:13:33.682587 'd'
03:13:33.692594 Received DATA (on stdin)
03:13:33.692653 > 1 bytes data, server => client
03:13:33.692681 '.'
03:13:33.702686 Received DATA (on stdin)
03:13:33.702745 > 1 bytes data, server => client
03:13:33.702772 '\n'
03:13:33.712804 Received DATA (on stdin)
03:13:33.712863 > 1 bytes data, server => client
03:13:33.712891 'L'
03:13:33.722895 Received DATA (on stdin)
03:13:33.722954 > 1 bytes data, server => client
03:13:33.722982 'o'
03:13:33.732987 Received DATA (on stdin)
03:13:33.733060 > 1 bytes data, server => client
03:13:33.733088 'n'
03:13:33.743079 Received DATA (on stdin)
03:13:33.743146 > 1 bytes data, server => client
03:13:33.743173 'g'
03:13:33.753180 Received DATA (on stdin)
03:13:33.753248 > 1 bytes data, server => client
03:13:33.753275 ' '
03:13:33.763273 Received DATA (on stdin)
03:13:33.763333 > 1 bytes data, server => client
03:13:33.763360 'c'
03:13:33.773347 Received DATA (on stdin)
03:13:33.773417 > 1 bytes data, server => client
03:13:33.773463 'h'
03:13:33.783457 Received DATA (on stdin)
03:13:33.783516 > 1 bytes data, server => client
03:13:33.783543 'u'
03:13:33.793551 Received DATA (on stdin)
03:13:33.793610 > 1 bytes data, server => client
03:13:33.793637 'n'
03:13:33.803645 Received DATA (on stdin)
03:13:33.803704 > 1 bytes data, server => client
03:13:33.803732 'k'
03:13:33.813730 Received DATA (on stdin)
03:13:33.813791 > 1 bytes data, server => client
03:13:33.813819 ' '
03:13:33.823821 Received DATA (on stdin)
03:13:33.823880 > 1 bytes data, server => client
03:13:33.823907 'o'
03:13:33.833913 Received DATA (on stdin)
03:13:33.833972 > 1 bytes data, server => client
03:13:33.834000 'f'
03:13:33.844019 Received DATA (on stdin)
03:13:33.844086 > 1 bytes data, server => client
03:13:33.844127 ' '
03:13:33.854098 Received DATA (on stdin)
03:13:33.854157 > 1 bytes data, server => client
03:13:33.854184 'd'
03:13:33.864183 Received DATA (on stdin)
03:13:33.864242 > 1 bytes data, server => client
03:13:33.864269 'a'
03:13:33.874273 Received DATA (on stdin)
03:13:33.874332 > 1 bytes data, server => client
03:13:33.874359 't'
03:13:33.884361 Received DATA (on stdin)
03:13:33.884420 > 1 bytes data, server => client
03:13:33.884448 'a'
03:13:33.894485 Received DATA (on stdin)
03:13:33.894546 > 1 bytes data, server => client
03:13:33.894573 ' '
03:13:33.904575 Received DATA (on stdin)
03:13:33.904634 > 1 bytes data, server => client
03:13:33.904661 't'
03:13:33.914665 Received DATA (on stdin)
03:13:33.914724 > 1 bytes data, server => client
03:13:33.914751 'h'
03:13:33.924759 Received DATA (on stdin)
03:13:33.924818 > 1 bytes data, server => client
03:13:33.924845 'a'
03:13:33.934853 Received DATA (on stdin)
03:13:33.934911 > 1 bytes data, server => client
03:13:33.934939 't'
03:13:33.944944 Received DATA (on stdin)
03:13:33.945003 > 1 bytes data, server => client
03:13:33.945030 ' '
03:13:33.955038 Received DATA (on stdin)
03:13:33.955097 > 1 bytes data, server => client
03:13:33.955125 'c'
03:13:33.965130 Received DATA (on stdin)
03:13:33.965189 > 1 bytes data, server => client
03:13:33.965216 'o'
03:13:33.975221 Received DATA (on stdin)
03:13:33.975280 > 1 bytes data, server => client
03:13:33.975307 'u'
03:13:33.985315 Received DATA (on stdin)
03:13:33.985375 > 1 bytes data, server => client
03:13:33.985402 'l'
03:13:33.995407 Received DATA (on stdin)
03:13:33.995466 > 1 bytes data, server => client
03:13:33.995493 'd'
03:13:34.005473 Received DATA (on stdin)
03:13:34.005533 > 1 bytes data, server => client
03:13:34.005558 'n'
03:13:34.015585 Received DATA (on stdin)
03:13:34.015645 > 1 bytes data, server => client
03:13:34.015672 '''
03:13:34.025678 Received DATA (on stdin)
03:13:34.025737 > 1 bytes data, server => client
03:13:34.025765 't'
03:13:34.035772 Received DATA (on stdin)
03:13:34.035831 > 1 bytes data, server => client
03:13:34.035858 ' '
03:13:34.045864 Received DATA (on stdin)
03:13:34.045924 > 1 bytes data, server => client
03:13:34.045951 'p'
03:13:34.055952 Received DATA (on stdin)
03:13:34.056027 > 1 bytes data, server => client
03:13:34.056056 'o'
03:13:34.066028 Received DATA (on stdin)
03:13:34.066094 > 1 bytes data, server => client
03:13:34.066132 's'
03:13:34.076141 Received DATA (on stdin)
03:13:34.076200 > 1 bytes data, server => client
03:13:34.076227 's'
03:13:34.086234 Received DATA (on stdin)
03:13:34.086294 > 1 bytes data, server => client
03:13:34.086321 'i'
03:13:34.096322 Received DATA (on stdin)
03:13:34.096381 > 1 bytes data, server => client
03:13:34.096408 'b'
=== File too long: 2470 lines omitted here
03:13:42.199714 Received DATA (on stdin)
03:13:42.199774 > 1 bytes data, server => client
03:13:42.199801 ' '
03:13:42.199819 *** We are disconnected
03:13:42.209807 Received DATA (on stdin)
03:13:42.209867 > 1 bytes data, server => client
03:13:42.209894 'i'
03:13:42.209912 *** We are disconnected
03:13:42.219899 Received DATA (on stdin)
03:13:42.219958 > 1 bytes data, server => client
03:13:42.219985 'n'
03:13:42.220017 *** We are disconnected
03:13:42.229992 Received DATA (on stdin)
03:13:42.230052 > 1 bytes data, server => client
03:13:42.230079 ' '
03:13:42.230097 *** We are disconnected
03:13:42.240087 Received DATA (on stdin)
03:13:42.240146 > 1 bytes data, server => client
03:13:42.240173 't'
03:13:42.240191 *** We are disconnected
03:13:42.250180 Received DATA (on stdin)
03:13:42.250239 > 1 bytes data, server => client
03:13:42.250266 'h'
03:13:42.250285 *** We are disconnected
03:13:42.260267 Received DATA (on stdin)
03:13:42.260326 > 1 bytes data, server => client
03:13:42.260354 'e'
03:13:42.260372 *** We are disconnected
03:13:42.270359 Received DATA (on stdin)
03:13:42.270418 > 1 bytes data, server => client
03:13:42.270445 ' '
03:13:42.270464 *** We are disconnected
03:13:42.280447 Received DATA (on stdin)
03:13:42.280506 > 1 bytes data, server => client
03:13:42.280533 't'
03:13:42.280551 *** We are disconnected
03:13:42.290540 Received DATA (on stdin)
03:13:42.290599 > 1 bytes data, server => client
03:13:42.290627 'i'
03:13:42.290645 *** We are disconnected
03:13:42.300634 Received DATA (on stdin)
03:13:42.300693 > 1 bytes data, server => client
03:13:42.300720 'm'
03:13:42.300738 *** We are disconnected
03:13:42.310725 Received DATA (on stdin)
03:13:42.310784 > 1 bytes data, server => client
03:13:42.310811 'e'
03:13:42.310829 *** We are disconnected
03:13:42.320818 Received DATA (on stdin)
03:13:42.320877 > 1 bytes data, server => client
03:13:42.320905 ' '
03:13:42.320923 *** We are disconnected
03:13:42.330912 Received DATA (on stdin)
03:13:42.330971 > 1 bytes data, server => client
03:13:42.330998 'a'
03:13:42.331017 *** We are disconnected
03:13:42.341007 Received DATA (on stdin)
03:13:42.341074 > 1 bytes data, server => client
03:13:42.341114 'l'
03:13:42.341137 *** We are disconnected
03:13:42.351100 Received DATA (on stdin)
03:13:42.351159 > 1 bytes data, server => client
03:13:42.351186 'l'
03:13:42.351204 *** We are disconnected
03:13:42.361192 Received DATA (on stdin)
03:13:42.361251 > 1 bytes data, server => client
03:13:42.361278 'o'
03:13:42.361296 *** We are disconnected
03:13:42.371286 Received DATA (on stdin)
03:13:42.371345 > 1 bytes data, server => client
03:13:42.371372 't'
03:13:42.371391 *** We are disconnected
03:13:42.381377 Received DATA (on stdin)
03:13:42.381436 > 1 bytes data, server => client
03:13:42.381463 't'
03:13:42.381482 *** We are disconnected
03:13:42.391471 Received DATA (on stdin)
03:13:42.391530 > 1 bytes data, server => client
03:13:42.391557 'e'
03:13:42.391575 *** We are disconnected
03:13:42.401564 Received DATA (on stdin)
03:13:42.401623 > 1 bytes data, server => client
03:13:42.401650 'd'
03:13:42.401668 *** We are disconnected
03:13:42.411658 Received DATA (on stdin)
03:13:42.411717 > 1 bytes data, server => client
03:13:42.411744 '.'
03:13:42.411762 *** We are disconnected
03:13:42.421757 Received DATA (on stdin)
03:13:42.421835 > 1 bytes data, server => client
03:13:42.421858 '\n'
03:13:42.421889 *** We are disconnected
03:13:42.431898 Received DATA (on stdin)
03:13:42.431987 > 1 bytes data, server => client
03:13:42.432025 'L'
03:13:42.432042 *** We are disconnected
03:13:42.441991 Received DATA (on stdin)
03:13:42.442068 > 1 bytes data, server => client
03:13:42.442089 'o'
03:13:42.442103 *** We are disconnected
03:13:42.452067 Received DATA (on stdin)
03:13:42.452117 > 1 bytes data, server => client
03:13:42.452139 'n'
03:13:42.452153 *** We are disconnected
03:13:42.462189 Received DATA (on stdin)
03:13:42.462250 > 1 bytes data, server => client
03:13:42.462273 'g'
03:13:42.462288 *** We are disconnected
03:13:42.472282 Received DATA (on stdin)
03:13:42.472341 > 1 bytes data, server => client
03:13:42.472368 ' '
03:13:42.472387 *** We are disconnected
03:13:42.482374 Received DATA (on stdin)
03:13:42.482433 > 1 bytes data, server => client
03:13:42.482460 'c'
03:13:42.482479 *** We are disconnected
03:13:42.492467 Received DATA (on stdin)
03:13:42.492526 > 1 bytes data, server => client
03:13:42.492553 'h'
03:13:42.492571 *** We are disconnected
03:13:42.502562 Received DATA (on stdin)
03:13:42.502621 > 1 bytes data, server => client
03:13:42.502648 'u'
03:13:42.502666 *** We are disconnected
03:13:42.512651 Received DATA (on stdin)
03:13:42.512710 > 1 bytes data, server => client
03:13:42.512737 'n'
03:13:42.512756 *** We are disconnected
03:13:42.522744 Received DATA (on stdin)
03:13:42.522803 > 1 bytes data, server => client
03:13:42.522830 'k'
03:13:42.522849 *** We are disconnected
03:13:42.532836 Received DATA (on stdin)
03:13:42.532894 > 1 bytes data, server => client
03:13:42.532922 ' '
03:13:42.532940 *** We are disconnected
03:13:42.542929 Received DATA (on stdin)
03:13:42.542988 > 1 bytes data, server => client
03:13:42.543016 'o'
03:13:42.543034 *** We are disconnected
03:13:42.553023 Received DATA (on stdin)
03:13:42.553082 > 1 bytes data, server => client
03:13:42.553109 'f'
03:13:42.553128 *** We are disconnected
03:13:42.563117 Received DATA (on stdin)
03:13:42.563176 > 1 bytes data, server => client
03:13:42.563203 ' '
03:13:42.563221 *** We are disconnected
03:13:42.573210 Received DATA (on stdin)
03:13:42.573269 > 1 bytes data, server => client
03:13:42.573296 'd'
03:13:42.573314 *** We are disconnected
03:13:42.583304 Received DATA (on stdin)
03:13:42.583368 > 1 bytes data, server => client
03:13:42.583409 'a'
03:13:42.583440 *** We are disconnected
03:13:42.593418 Received DATA (on stdin)
03:13:42.593521 > 1 bytes data, server => client
03:13:42.593559 't'
03:13:42.593576 *** We are disconnected
03:13:42.603513 Received DATA (on stdin)
03:13:42.603578 > 1 bytes data, server => client
03:13:42.603588 'a'
03:13:42.603596 *** We are disconnected
03:13:42.613595 Received DATA (on stdin)
03:13:42.613647 > 1 bytes data, server => client
03:13:42.613659 ' '
03:13:42.613666 *** We are disconnected
03:13:42.623693 Received DATA (on stdin)
03:13:42.623738 > 1 bytes data, server => client
03:13:42.623757 't'
03:13:42.623769 *** We are disconnected
03:13:42.633775 Received DATA (on stdin)
03:13:42.633844 > 1 bytes data, server => client
03:13:42.633877 'h'
03:13:42.633899 *** We are disconnected
03:13:42.643850 Received DATA (on stdin)
03:13:42.643914 > 1 bytes data, server => client
03:13:42.643930 'a'
03:13:42.643942 *** We are disconnected
03:13:42.653950 Received DATA (on stdin)
03:13:42.654003 > 1 bytes data, server => client
03:13:42.654015 't'
03:13:42.654022 *** We are disconnected
03:13:42.664021 Received DATA (on stdin)
03:13:42.664074 > 1 bytes data, server => client
03:13:42.664084 ' '
03:13:42.664092 *** We are disconnected
03:13:42.674169 Received DATA (on stdin)
03:13:42.674221 > 1 bytes data, server => client
03:13:42.674238 'c'
03:13:42.674250 *** We are disconnected
03:13:42.684248 Received DATA (on stdin)
03:13:42.684299 > 1 bytes data, server => client
03:13:42.684316 'o'
03:13:42.684327 *** We are disconnected
03:13:42.694352 Received DATA (on stdin)
03:13:42.694411 > 1 bytes data, server => client
03:13:42.694433 'u'
03:13:42.694462 *** We are disconnected
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.01.06 03:13:22 LOG5[32497]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.06 03:13:22 LOG5[32497]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.06 03:13:22 LOG5[32497]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.06 03:13:22 LOG5[32497]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.06 03:13:22 LOG5[32497]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.06 03:13:22 LOG5[32497]: Reading configuration from file /build-29288/tests/ftps_stunnel.conf
2019.01.06 03:13:22 LOG5[32497]: FIPS mode disabled
2019.01.06 03:13:22 LOG5[32497]: Configuration successful
2019.01.06 03:13:23 LOG5[32500]: Service [curltest] accepted connection from 127.0.0.1:40254
2019.01.06 03:13:23 LOG5[32500]: s_connect: connected 127.0.0.1:8992
2019.01.06 03:13:23 LOG5[32500]: Service [curltest] connected remote server from 127.0.0.1:50986
2019.01.06 03:13:23 LOG5[32500]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.01.06 03:13:25 LOG5[32505]: Service [curltest] accepted connection from 127.0.0.1:40260
2019.01.06 03:13:27 LOG5[32505]: s_connect: connected 127.0.0.1:8992
2019.01.06 03:13:27 LOG5[32505]: Service [curltest] connected remote server from 127.0.0.1:50992
2019.01.06 03:13:41 LOG5[32505]: Connection closed: 347 byte(s) sent to SSL, 95 byte(s) sent to socket
2019.01.06 03:13:42 LOG5[32497]: Terminated
=== End of file ftps_stunnel.log
=== Start of file ftps_verify.log
* STATE: INIT => CONNECT handle 0x563c4426c6a8; line 1446 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x563c4426c6a8; line 1498 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x563c4426c6a8; line 1617 (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 0x563c442b2598 (line 3118) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x563c4426c6a8; line 1631 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x563c442b2598 (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 0x563c442b2598 (line 2546) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x563c442b2598 (line 2522) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x563c442b2598 (line 2735) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x563c442b2598 (line 815) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x563c442b2598 (line 2870) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x563c4426c6a8; line 1652 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x563c442b2598 (line 1346) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x563c4426c6a8; line 1701 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||42651|)
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 42651
* FTP 0x563c442b2598 (line 2003) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x563c4426c6a8; line 1785 (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 0x563c442b2598 (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 0x563c442b2598 (line 1769) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x563c442b2598 (line 2255) state change from RETR_SIZE to RETR
{ [5 bytes data]
< 150 Binary junk (17 bytes).
* Maxdownload = -1
* Getting file with size: 17
* FTP 0x563c442b2598 (line 485) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x563c4426c6a8; line 1811 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x563c4426c6a8; line 1838 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x563c4426c6a8; line 1853 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x563c4426c6a8; line 2050 (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
=== 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:02 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0
0 3600 0 21 0 0 3 0 0:20:00 0:00:05 0:19:55 3
3 3600 3 120 0 0 18 0 0:03:20 0:00:06 0:03:14 25
6 3600 6 219 0 0 29 0 0:02:04 0:00:07 0:01:57 43
8 3600 8 318 0 0 37 0 0:01:37 0:00:08 0:01:29 63
11 3600 11 417 0 0 43 0 0:01:23 0:00:09 0:01:14 83
14 3600 14 516 0 0 49 0 0:01:13 0:00:10 0:01:03 99
17 3600 17 615 0 0 53 0 0:01:07 0:00:11 0:00:56 99
19 3600 19 714 0 0 57 0 0:01:03 0:00:12 0:00:51 99
22 3600 22 813 0 0 60 0 0:01:00 0:00:13 0:00:47 99
25 3600 25 912 0 0 62 0 0:00:58 0:00:14 0:00:44 99
28 3600 28 1012 0 0 65 0 0:00:55 0:00:15 0:00:40 99
29 3600 29 1064 0 0 66 0 0:00:54 0:00:16 0:00:38 98
curl: (28) Operation timed out after 16006 milliseconds with 1064 out of 3600 bytes received
=== End of file stderr1112
=== Start of file trace1112
03:13:25.521478 == Info: STATE: INIT => CONNECT handle 0x626e7a8; line 1446 (connection #-5000)
03:13:25.573604 == Info: Added connection 0. The cache now contains 1 members
03:13:25.590568 == Info: Trying 127.0.0.1...
03:13:25.591155 == Info: TCP_NODELAY set
03:13:25.595524 == Info: STATE: CONNECT => WAITCONNECT handle 0x626e7a8; line 1498 (connection #0)
03:13:25.606557 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:13:25.607104 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626e7a8; line 1617 (connection #0)
03:13:25.608247 == Info: Marked for [keep alive]: FTP default
03:13:26.793007 == Info: successfully set certificate verify locations:
03:13:26.793265 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:13:26.871247 => Send SSL data, 5 bytes (0x5)
0000: .....
03:13:26.876523 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:13:26.876582 => Send SSL data, 138 bytes (0x8a)
0000: ........)>...k......p.....v\......M.. ..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:13:26.894061 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:13:26.898498 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:13:26.898555 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....5..Dh.{.=xEc.H.E.....D....|..3 .......bOj?..:.KCvt....|.
0040: ....OG../................
03:13:26.942386 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:26.942817 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:13:26.942872 <= 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:13:27.041425 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:13:27.041687 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:13:27.041742 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A....U..<T..8....$.l.y:K)lJk#.||.....qo.r....%"t.D..."...
0040: H.......|.....[......A.+....[.9.....".....+.S|>......U0#|....WC.
0080: _...k.U..}>.&a...._...C;T.N.....D1s.1.T....i...`............yD{|
00c0: .00....>..?J1.Sp\.g/....+.C2>...+..%....sjjh.=R!3.s.5..?...T>.3.
0100: x...Nnf.s_..Cg..F1[.o,.....[..'KX5f..)..x`....oo.g.=...w.]......
0140: .C..fFieHO..T
03:13:27.111216 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.111525 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:13:27.111583 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:13:27.229514 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:13:27.229740 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:13:27.229795 => Send SSL data, 70 bytes (0x46)
0000: ...BA./.9...|9}......is..g.+G......k.....PQ..T.0F%............A.
0040: . &...
03:13:27.242218 => Send SSL data, 5 bytes (0x5)
0000: .....
03:13:27.242765 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:13:27.242821 => Send SSL data, 1 bytes (0x1)
0000: .
03:13:27.274484 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:13:27.274661 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:13:27.274715 => Send SSL data, 16 bytes (0x10)
0000: ....j....F#...(.
03:13:27.277361 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.278402 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:13:27.278459 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:13:27.280871 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:13:27.286250 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:13:27.286316 <= Recv SSL data, 16 bytes (0x10)
0000: .....Q.:x..h.n..
03:13:27.307867 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:13:27.310028 == Info: Server certificate:
03:13:27.317341 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:13:27.323584 == Info: start date: Aug 31 23:39:18 2018 GMT
03:13:27.324530 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:13:27.325356 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:13:27.326254 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:13:27.327722 == Info: FTP 0x62ed3f8 (line 3118) state change from STOP to WAIT220
03:13:27.334101 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.337651 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.337880 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.338101 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.338317 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.338533 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.338748 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.341765 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626e7a8; line 1631 (connection #0)
03:13:27.348033 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.356897 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.367065 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.377234 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.387398 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.397486 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.407622 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.417746 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.427867 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.437967 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.448090 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.458145 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.468269 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.478316 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.488425 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.498337 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.508345 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.518571 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.528593 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.538699 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.548856 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.558991 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.569149 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.579267 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.589360 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.590309 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:13:27.599890 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.609467 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.619648 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.629511 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.639905 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.649870 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.660013 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.670140 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.680242 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.690352 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.700438 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.710536 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.720622 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.730689 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.740797 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.750890 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.761136 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.771048 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.781183 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.791264 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.801320 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.811520 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.821529 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.831607 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.841701 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.851822 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.861902 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.872028 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.882106 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.892237 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.902285 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.912370 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.912720 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:13:27.922467 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.932571 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.942640 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.952732 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.962823 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.972911 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.983005 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:27.993094 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.003194 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.013314 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.023437 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.033526 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.043614 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.053759 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.063789 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.073877 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.083971 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.094061 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.104156 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.114244 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.124327 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.134473 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.144609 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.154627 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.164671 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.174762 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.184858 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.194946 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.205028 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.215123 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.225215 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.235305 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.235656 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:13:28.245398 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.255471 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.265584 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.275679 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.285779 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.295861 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.305953 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.316066 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.326141 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.336235 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.346363 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.356442 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.366517 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.376615 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.386702 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.396792 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.406882 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.416982 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.427071 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.437161 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.447254 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.457350 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.467439 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.477567 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.487635 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.497730 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.507844 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.517918 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.527997 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.538093 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.548141 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.558278 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.558629 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:13:28.568323 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.578481 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.588582 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.598664 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.608764 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.618838 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.628928 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.639019 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.649106 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.659189 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.669282 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.679375 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.689466 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.699558 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.709667 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.719746 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.729835 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.739908 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.750022 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.760105 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.770200 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.780288 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.790384 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.800530 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.810584 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.820629 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.830743 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.840848 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.850941 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.861030 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.871136 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.881212 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.881562 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:13:28.897426 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:13:28.900015 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:13:28.900800 == Info: FTP 0x62ed3f8 (line 803) state change from WAIT220 to USER
03:13:28.901144 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.940504 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.950013 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.960144 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.970222 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:28.970571 <= Recv header, 8 bytes (0x8)
0000: 331 OK
03:13:28.973615 => Send SSL data, 5 bytes (0x5)
0000: .....
03:13:28.973922 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:13:28.974873 == Info: FTP 0x62ed3f8 (line 2546) state change from USER to PASS
03:13:28.980582 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.024540 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.030984 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.041091 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.051180 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.051530 <= Recv header, 8 bytes (0x8)
0000: 230 OK
03:13:29.053134 => Send SSL data, 5 bytes (0x5)
0000: ....
03:13:29.053438 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:13:29.054265 == Info: FTP 0x62ed3f8 (line 2522) state change from PASS to PBSZ
03:13:29.061555 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.104519 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.112029 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.122109 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.132222 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.142295 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.152384 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.162476 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.172587 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.182660 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.192743 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.202834 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.212919 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.223009 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.233096 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.243145 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.253292 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.263364 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.273458 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.283554 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.293640 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.303732 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.313832 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.314181 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:13:29.315601 => Send SSL data, 5 bytes (0x5)
0000: ....
03:13:29.315898 => Send header, 8 bytes (0x8)
0000: PROT C
03:13:29.316750 == Info: FTP 0x62ed3f8 (line 2735) state change from PBSZ to PROT
03:13:29.324201 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.364368 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.364656 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.374540 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.384633 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.394761 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.404930 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.415042 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.425150 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.435244 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.445328 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.455421 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.465513 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.475605 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.485753 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.495792 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.505883 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.515956 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.526068 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.536185 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.546200 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.556342 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.566440 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.576548 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.576898 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:13:29.579014 => Send SSL data, 5 bytes (0x5)
0000: .....
03:13:29.579319 => Send header, 5 bytes (0x5)
0000: PWD
03:13:29.580157 == Info: FTP 0x62ed3f8 (line 815) state change from PROT to PWD
03:13:29.586912 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.628682 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.637148 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.647179 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.657367 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.667559 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.667829 <= Recv header, 9 bytes (0x9)
0000: 257 "/"
03:13:29.669971 == Info: Entry path is '/'
03:13:29.670406 == Info: FTP 0x62ed3f8 (line 2870) state change from PWD to STOP
03:13:29.670732 == Info: protocol connect phase DONE
03:13:29.671402 == Info: STATE: PROTOCONNECT => DO handle 0x626e7a8; line 1652 (connection #0)
03:13:29.676926 == Info: DO phase starts
03:13:29.680904 => Send SSL data, 5 bytes (0x5)
0000: .....
03:13:29.681154 => Send header, 6 bytes (0x6)
0000: EPSV
03:13:29.681856 == Info: FTP 0x62ed3f8 (line 1346) state change from STOP to PASV
03:13:29.682212 == Info: Connect data stream passively
03:13:29.683780 == Info: ftp_perform ends with SECONDARY: 0
03:13:29.684687 == Info: STATE: DO => DOING handle 0x626e7a8; line 1701 (connection #0)
03:13:29.685507 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.728424 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.735416 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.745555 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.755645 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.765779 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.775894 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.785984 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.796097 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.806145 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.816380 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.826317 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.836334 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.846530 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.856587 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.866742 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.876863 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.886973 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.897068 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.907141 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.917232 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.927370 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.937447 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.947650 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.957647 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.967719 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.977825 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.987957 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:29.998022 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.008099 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.018168 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.028344 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.038467 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.048528 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.058648 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.059017 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||40721|).
03:13:30.070860 == Info: Trying 127.0.0.1...
03:13:30.071030 == Info: TCP_NODELAY set
03:13:30.073280 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 40721
03:13:30.074178 == Info: FTP 0x62ed3f8 (line 2003) state change from PASV to STOP
03:13:30.074694 == Info: DO phase is complete2
03:13:30.074949 == Info: STATE: DOING => DO_MORE handle 0x626e7a8; line 1785 (connection #0)
03:13:30.075632 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:13:30.075846 == Info: DO-MORE connected phase starts
03:13:30.077144 => Send SSL data, 5 bytes (0x5)
0000: ....
03:13:30.077272 => Send header, 8 bytes (0x8)
0000: TYPE I
03:13:30.077755 == Info: FTP 0x62ed3f8 (line 3444) state change from STOP to RETR_TYPE
03:13:30.078143 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.120706 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.128492 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.138647 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.148758 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.149126 <= Recv header, 8 bytes (0x8)
0000: 200 OK
03:13:30.151943 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:13:30.152292 => Send header, 11 bytes (0xb)
0000: SIZE 1112
03:13:30.153262 == Info: FTP 0x62ed3f8 (line 1769) state change from RETR_TYPE to RETR_SIZE
03:13:30.159713 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.204734 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.210262 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.220311 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.230191 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.240243 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.250443 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.250692 <= Recv header, 10 bytes (0xa)
0000: 213 3600
03:13:30.253620 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:13:30.253832 => Send header, 11 bytes (0xb)
0000: RETR 1112
03:13:30.254460 == Info: FTP 0x62ed3f8 (line 2255) state change from RETR_SIZE to RETR
03:13:30.261202 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.304268 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.311708 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.321759 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.331871 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.341873 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.351862 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.361961 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.372206 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.382359 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.392433 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.402515 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.412738 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.422666 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.432818 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.442815 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.452977 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.462969 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.472970 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.483286 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.493281 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.503444 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.513541 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.523782 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.533912 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.544031 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.554113 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.564261 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.574413 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.584590 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.594221 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.604533 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.614585 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.624735 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.634906 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.645134 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.655312 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.665291 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.675356 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.685443 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.695547 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.705635 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.715798 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.725633 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.735905 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.745907 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.756016 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.766104 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.776192 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.786301 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.796436 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:13:30.796768 <= Recv header, 54 bytes (0x36)
0000: 150 Binary data connection for 1112 () (3600 bytes).
03:13:30.798918 == Info: Maxdownload = -1
03:13:30.799418 == Info: Getting file with size: 3600
03:13:30.802721 == Info: FTP 0x62ed3f8 (line 485) state change from RETR to STOP
03:13:30.804231 == Info: STATE: DO_MORE => DO_DONE handle 0x626e7a8; line 1811 (connection #0)
03:13:30.806643 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626e7a8; line 1838 (connection #0)
03:13:30.808298 == Info: STATE: WAITPERFORM => PERFORM handle 0x626e7a8; line 1853 (connection #0)
03:13:30.811535 <= Recv data, 1 bytes (0x1)
0000: L
03:13:30.816852 <= Recv data, 1 bytes (0x1)
0000: o
03:13:30.826434 <= Recv data, 1 bytes (0x1)
0000: n
03:13:30.836582 <= Recv data, 1 bytes (0x1)
0000: g
03:13:30.846730 <= Recv data, 1 bytes (0x1)
0000:
03:13:30.856831 <= Recv data, 1 bytes (0x1)
0000: c
03:13:30.866969 <= Recv data, 1 bytes (0x1)
0000: h
03:13:30.876948 <= Recv data, 1 bytes (0x1)
0000: u
03:13:30.887102 <= Recv data, 1 bytes (0x1)
0000: n
03:13:30.897173 <= Recv data, 1 bytes (0x1)
0000: k
03:13:30.907310 <= Recv data, 1 bytes (0x1)
0000:
03:13:30.917410 <= Recv data, 1 bytes (0x1)
0000: o
03:13:30.927484 <= Recv data, 1 bytes (0x1)
0000: f
03:13:30.937586 <= Recv data, 1 bytes (0x1)
0000:
03:13:30.947688 <= Recv data, 1 bytes (0x1)
0000: d
03:13:30.957777 <= Recv data, 1 bytes (0x1)
0000: a
03:13:30.967885 <= Recv data, 1 bytes (0x1)
0000: t
03:13:30.977978 <= Recv data, 1 bytes (0x1)
0000: a
03:13:30.988171 <= Recv data, 1 bytes (0x1)
0000:
03:13:30.998065 <= Recv data, 1 bytes (0x1)
0000: t
03:13:31.008148 <= Recv data, 1 bytes (0x1)
0000: h
03:13:31.018235 <= Recv data, 1 bytes (0x1)
0000: a
03:13:31.028368 <= Recv data, 1 bytes (0x1)
0000: t
03:13:31.038446 <= Recv data, 1 bytes (0x1)
0000:
03:13:31.048564 <= Recv data, 1 bytes (0x1)
0000: c
03:13:31.058708 <= Recv data, 1 bytes (0x1)
0000: o
03:13:31.068818 <= Recv data, 1 bytes (0x1)
0000: u
03:13:31.078912 <= Recv data, 1 bytes (0x1)
0000: l
03:13:31.089054 <= Recv data, 1 bytes (0x1)
0000: d
03:13:31.099118 <= Recv data, 1 bytes (0x1)
0000: n
03:13:31.109187 <= Recv data, 1 bytes (0x1)
0000: '
03:13:31.119282 <= Recv data, 1 bytes (0x1)
0000: t
03:13:31.129449 <= Recv data, 1 bytes (0x1)
0000:
03:13:31.139579 <= Recv data, 1 bytes (0x1)
0000: p
03:13:31.149609 <= Recv data, 1 bytes (0x1)
0000: o
03:13:31.159708 <= Recv data, 1 bytes (0x1)
0000: s
03:13:31.169792 <= Recv data, 1 bytes (0x1)
0000: s
03:13:31.179884 <= Recv data, 1 bytes (0x1)
0000: i
03:13:31.189976 <= Recv data, 1 bytes (0x1)
0000: b
03:13:31.200084 <= Recv data, 1 bytes (0x1)
0000: l
03:13:31.210165 <= Recv data, 1 bytes (0x1)
0000: y
03:13:31.220273 <= Recv data, 1 bytes (0x1)
0000:
03:13:31.230355 <= Recv data, 1 bytes (0x1)
0000: b
03:13:31.240506 <= Recv data, 1 bytes (0x1)
0000: e
03:13:31.250596 <= Recv data, 1 bytes (0x1)
0000:
03:13:31.260609 <= Recv data, 1 bytes (0x1)
0000: s
03:13:31.270733 <= Recv data, 1 bytes (0x1)
0000: e
03:13:31.280814 <= Recv data, 1 bytes (0x1)
0000: n
03:13:31.290962 <= Recv data, 1 bytes (0x1)
0000: t
03:13:31.300965 <= Recv data, 1 bytes (0x1)
0000:
03:13:31.311116 <= Recv data, 1 bytes (0x1)
0000: i
03:13:31.321176 <= Recv data, 1 bytes (0x1)
0000: n
03:13:31.331297 <= Recv data, 1 bytes (0x1)
0000:
03:13:31.341381 <= Recv data, 1 bytes (0x1)
0000: t
03:13:31.351464 <= Recv data, 1 bytes (0x1)
0000: h
03:13:31.361390 <= Recv data, 1 bytes (0x1)
0000: e
03:13:31.371409 <= Recv data, 1 bytes (0x1)
0000:
03:13:31.381468 <= Recv data, 1 bytes (0x1)
0000: t
03:13:31.391588 <= Recv data, 1 bytes (0x1)
0000: i
03:13:31.401711 <= Recv data, 1 bytes (0x1)
0000: m
03:13:31.411933 <= Recv data, 1 bytes (0x1)
0000: e
03:13:31.422056 <= Recv data, 1 bytes (0x1)
0000:
03:13:31.432157 <= Recv data, 1 bytes (0x1)
0000: a
03:13:31.442237 <= Recv data, 1 bytes (0x1)
0000: l
03:13:31.452341 <= Recv data, 1 bytes (0x1)
0000: l
03:13:31.462422 <= Recv data, 1 bytes (0x1)
0000: o
03:13:31.472529 <= Recv data, 1 bytes (0x1)
0000: t
03:13:31.482603 <= Recv data, 1 bytes (0x1)
0000: t
03:13:31.492683 <= Recv data, 1 bytes (0x1)
0000: e
03:13:31.502775 <= Recv data, 1 bytes (0x1)
0000: d
03:13:31.512870 <= Recv data, 1 bytes (0x1)
0000: .
03:13:31.522975 <= Recv data, 1 bytes (0x1)
0000: .
03:13:31.533133 <= Recv data, 1 bytes (0x1)
0000: L
03:13:31.543261 <= Recv data, 1 bytes (0x1)
0000: o
03:13:31.553274 <= Recv data, 1 bytes (0x1)
0000: n
03:13:31.563390 <= Recv data, 1 bytes (0x1)
0000: g
03:13:31.573489 <= Recv data, 1 bytes (0x1)
0000:
03:13:31.583588 <= Recv data, 1 bytes (0x1)
0000: c
03:13:31.593659 <= Recv data, 1 bytes (0x1)
0000: h
03:13:31.603719 <= Recv data, 1 bytes (0x1)
0000: u
03:13:31.613891 <= Recv data, 1 bytes (0x1)
0000: n
03:13:31.623975 <= Recv data, 1 bytes (0x1)
0000: k
03:13:31.634028 <= Recv data, 1 bytes (0x1)
0000:
03:13:31.644241 <= Recv data, 1 bytes (0x1)
=== File too long: 1766 lines omitted here
0000: '
03:13:40.565620 <= Recv data, 1 bytes (0x1)
0000: t
03:13:40.575727 <= Recv data, 1 bytes (0x1)
0000:
03:13:40.585813 <= Recv data, 1 bytes (0x1)
0000: p
03:13:40.595903 <= Recv data, 1 bytes (0x1)
0000: o
03:13:40.606005 <= Recv data, 1 bytes (0x1)
0000: s
03:13:40.616100 <= Recv data, 1 bytes (0x1)
0000: s
03:13:40.626182 <= Recv data, 1 bytes (0x1)
0000: i
03:13:40.636299 <= Recv data, 1 bytes (0x1)
0000: b
03:13:40.646372 <= Recv data, 1 bytes (0x1)
0000: l
03:13:40.656459 <= Recv data, 1 bytes (0x1)
0000: y
03:13:40.666551 <= Recv data, 1 bytes (0x1)
0000:
03:13:40.676647 <= Recv data, 1 bytes (0x1)
0000: b
03:13:40.686729 <= Recv data, 1 bytes (0x1)
0000: e
03:13:40.696814 <= Recv data, 1 bytes (0x1)
0000:
03:13:40.706908 <= Recv data, 1 bytes (0x1)
0000: s
03:13:40.717045 <= Recv data, 1 bytes (0x1)
0000: e
03:13:40.727094 <= Recv data, 1 bytes (0x1)
0000: n
03:13:40.737187 <= Recv data, 1 bytes (0x1)
0000: t
03:13:40.747286 <= Recv data, 1 bytes (0x1)
0000:
03:13:40.757370 <= Recv data, 1 bytes (0x1)
0000: i
03:13:40.767468 <= Recv data, 1 bytes (0x1)
0000: n
03:13:40.777595 <= Recv data, 1 bytes (0x1)
0000:
03:13:40.787659 <= Recv data, 1 bytes (0x1)
0000: t
03:13:40.797743 <= Recv data, 1 bytes (0x1)
0000: h
03:13:40.807836 <= Recv data, 1 bytes (0x1)
0000: e
03:13:40.817958 <= Recv data, 1 bytes (0x1)
0000:
03:13:40.828081 <= Recv data, 1 bytes (0x1)
0000: t
03:13:40.838119 <= Recv data, 1 bytes (0x1)
0000: i
03:13:40.848247 <= Recv data, 1 bytes (0x1)
0000: m
03:13:40.858321 <= Recv data, 1 bytes (0x1)
0000: e
03:13:40.868436 <= Recv data, 1 bytes (0x1)
0000:
03:13:40.878506 <= Recv data, 1 bytes (0x1)
0000: a
03:13:40.888610 <= Recv data, 1 bytes (0x1)
0000: l
03:13:40.898708 <= Recv data, 1 bytes (0x1)
0000: l
03:13:40.908824 <= Recv data, 1 bytes (0x1)
0000: o
03:13:40.918886 <= Recv data, 1 bytes (0x1)
0000: t
03:13:40.928961 <= Recv data, 1 bytes (0x1)
0000: t
03:13:40.939043 <= Recv data, 1 bytes (0x1)
0000: e
03:13:40.949135 <= Recv data, 1 bytes (0x1)
0000: d
03:13:40.959232 <= Recv data, 1 bytes (0x1)
0000: .
03:13:40.969316 <= Recv data, 1 bytes (0x1)
0000: .
03:13:40.979408 <= Recv data, 1 bytes (0x1)
0000: L
03:13:40.989531 <= Recv data, 1 bytes (0x1)
0000: o
03:13:40.999631 <= Recv data, 1 bytes (0x1)
0000: n
03:13:41.009701 <= Recv data, 1 bytes (0x1)
0000: g
03:13:41.019820 <= Recv data, 1 bytes (0x1)
0000:
03:13:41.029900 <= Recv data, 1 bytes (0x1)
0000: c
03:13:41.039976 <= Recv data, 1 bytes (0x1)
0000: h
03:13:41.050065 <= Recv data, 1 bytes (0x1)
0000: u
03:13:41.059931 <= Recv data, 1 bytes (0x1)
0000: n
03:13:41.070001 <= Recv data, 1 bytes (0x1)
0000: k
03:13:41.080068 <= Recv data, 1 bytes (0x1)
0000:
03:13:41.090226 <= Recv data, 1 bytes (0x1)
0000: o
03:13:41.100355 <= Recv data, 1 bytes (0x1)
0000: f
03:13:41.110490 <= Recv data, 1 bytes (0x1)
0000:
03:13:41.120635 <= Recv data, 1 bytes (0x1)
0000: d
03:13:41.130718 <= Recv data, 1 bytes (0x1)
0000: a
03:13:41.140598 <= Recv data, 1 bytes (0x1)
0000: t
03:13:41.150661 <= Recv data, 1 bytes (0x1)
0000: a
03:13:41.160727 <= Recv data, 1 bytes (0x1)
0000:
03:13:41.170923 <= Recv data, 1 bytes (0x1)
0000: t
03:13:41.181071 <= Recv data, 1 bytes (0x1)
0000: h
03:13:41.191176 <= Recv data, 1 bytes (0x1)
0000: a
03:13:41.201291 <= Recv data, 1 bytes (0x1)
0000: t
03:13:41.211405 <= Recv data, 1 bytes (0x1)
0000:
03:13:41.221491 <= Recv data, 1 bytes (0x1)
0000: c
03:13:41.231578 <= Recv data, 1 bytes (0x1)
0000: o
03:13:41.241702 <= Recv data, 1 bytes (0x1)
0000: u
03:13:41.251753 <= Recv data, 1 bytes (0x1)
0000: l
03:13:41.261841 <= Recv data, 1 bytes (0x1)
0000: d
03:13:41.271930 <= Recv data, 1 bytes (0x1)
0000: n
03:13:41.282065 <= Recv data, 1 bytes (0x1)
0000: '
03:13:41.292134 <= Recv data, 1 bytes (0x1)
0000: t
03:13:41.302207 <= Recv data, 1 bytes (0x1)
0000:
03:13:41.312320 <= Recv data, 1 bytes (0x1)
0000: p
03:13:41.322389 <= Recv data, 1 bytes (0x1)
0000: o
03:13:41.332484 <= Recv data, 1 bytes (0x1)
0000: s
03:13:41.342560 <= Recv data, 1 bytes (0x1)
0000: s
03:13:41.352660 <= Recv data, 1 bytes (0x1)
0000: i
03:13:41.362743 <= Recv data, 1 bytes (0x1)
0000: b
03:13:41.372837 <= Recv data, 1 bytes (0x1)
0000: l
03:13:41.382930 <= Recv data, 1 bytes (0x1)
0000: y
03:13:41.393022 <= Recv data, 1 bytes (0x1)
0000:
03:13:41.403114 <= Recv data, 1 bytes (0x1)
0000: b
03:13:41.413205 <= Recv data, 1 bytes (0x1)
0000: e
03:13:41.423310 <= Recv data, 1 bytes (0x1)
0000:
03:13:41.433392 <= Recv data, 1 bytes (0x1)
0000: s
03:13:41.443480 <= Recv data, 1 bytes (0x1)
0000: e
03:13:41.453576 <= Recv data, 1 bytes (0x1)
0000: n
03:13:41.463667 <= Recv data, 1 bytes (0x1)
0000: t
03:13:41.473761 <= Recv data, 1 bytes (0x1)
0000:
03:13:41.483852 <= Recv data, 1 bytes (0x1)
0000: i
03:13:41.493963 <= Recv data, 1 bytes (0x1)
0000: n
03:13:41.504054 <= Recv data, 1 bytes (0x1)
0000:
03:13:41.514132 <= Recv data, 1 bytes (0x1)
0000: t
03:13:41.524222 <= Recv data, 1 bytes (0x1)
0000: h
03:13:41.534313 <= Recv data, 1 bytes (0x1)
0000: e
03:13:41.546570 == Info: Operation timed out after 16006 milliseconds with 1064 out of 3600 bytes received
03:13:41.547489 == Info: Marked for [closure]: Disconnected with pending data
03:13:41.548128 == Info: multi_done
03:13:41.565737 == Info: Closing connection 0
03:13:41.568326 == Info: The cache now contains 0 members
=== End of file trace1112
=== Start of file valgrind1112
==32504== Invalid read of size 8
==32504== at 0x5E755A5: check_free (dlerror.c:188)
==32504== by 0x5E75AB1: free_key_mem (dlerror.c:221)
==32504== by 0x5E75AB1: __dlerror_main_freeres (dlerror.c:239)
==32504== by 0x56CAF81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32504== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32504== by 0x559BF49: __run_exit_handlers (exit.c:132)
==32504== by 0x559BF79: exit (exit.c:139)
==32504== by 0x55860A1: (below main) (libc-start.c:342)
==32504== Address 0x66ae200 is 0 bytes after a block of size